Fix alpha termios.h NL2, NL3 namespace (bug 21268).
[glibc.git] / ChangeLog
blobb3ca80cc124fd9bf5537d816f04bf68c90777fbb
1 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21268]
4         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
5         if [__USE_MISC]
6         (NL3): Likewise.
8 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
10         [BZ #21275]
11         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
12         __stack to __stackbase.
13         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
14         checks so we can include defined(__ia64__) first.
16 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
18         * sysdeps/unix/sysv/linux/ttyname.h: New file.
19         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
20         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
21         Call is_pty when the link does not exist or does not match, fail
22         with ENODEV when it returns true.
23         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
24         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
25         Call is_pty when the link does not exist or does not match, fail
26         with ENODEV when it returns true.
28 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
30         [BZ #16437]
31         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
32         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
33         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
34         x86_64-x32-linux.
35         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
36         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
37         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
39         [BZ #21261]
40         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
41         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
42         names for all fields.
43         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
44         for jmp_buf field renaming.
45         (_JMPBUF_UNWINDS_ADJ): Likewise.
47         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
48         with allow-header.
50 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
52         * malloc/malloc.c (unlink): Add consistency check between size and
53         next->prev->size, to further harden against 1-byte overflows.
55 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
57         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
58         CPU_FEATURES_CPU_P.
60 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
62         [BZ #21259]
63         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
64         unconditionally, not just for [__USE_MISC].
66         [BZ #17786]
67         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
68         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
69         mips-o32-linux.
71         [BZ #21260]
72         * sysdeps/unix/sysv/linux/alpha/Makefile
73         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
74         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
76         * conform/conformtest.pl ($cross): New variable.
77         (--cross): New command-line option.
78         (runtest): Skip test execution when cross-compiling.
79         * conform/Makefile (conformtest-cross): New variable.
80         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
81         conformtest.pl.
83         * conform/conformtest.pl ($xfail_str): New variable.
84         (--xfail=): New command-line option.
85         (top level): Handle expectations starting xfail[cond]-.
86         * conform/Makefile (conformtest-xfail): New variable.
87         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
88         conformtest.pl.
90 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
92         * conform/conformtest.pl: Use compilation instead of execution
93         tests for testing values of constants and usability in #if.
95 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
97         * math/auto-libm-test-in: Mark some catan and catanh as
98         xfail-rounding:ibm128-libgcc.
99         * math/auto-libm-test-out-catan: Regenerate.
100         * math/auto-libm-test-out-catanh: Likewise.
102 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
104         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
105         (__END_NAMESPACE_STD): Likewise.
106         (__USING_NAMESPACE_STD): Likewise.
107         (__BEGIN_NAMESPACE_C99): Likewise.
108         (__END_NAMESPACE_C99): Likewise.
109         (__USING_NAMESPACE_C99): Likewise.
110         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
111         undefine macro.
112         (_Mdouble_END_NAMESPACE): Likewise.
113         * ctype/ctype.h: Do not handle C++ namespaces.
114         * libio/bits/stdio-ldbl.h: Likewise.
115         * libio/stdio.h: Likewise.
116         * locale/locale.h: Likewise.
117         * math/bits/mathcalls.h: Likewise.
118         * setjmp/setjmp.h: Likewise.
119         * signal/signal.h: Likewise.
120         * stdlib/bits/stdlib-float.h: Likewise.
121         * stdlib/bits/stdlib-ldbl.h: Likewise.
122         * stdlib/stdlib.h: Likewise.
123         * string/string.h: Likewise.
124         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
125         * time/bits/types/clock_t.h: Likewise.
126         * time/bits/types/struct_tm.h: Likewise.
127         * time/bits/types/time_t.h: Likewise.
128         * time/time.h: Likewise.
129         * wcsmbs/bits/wchar-ldbl.h: Likewise.
130         * wcsmbs/uchar.h: Likewise.
131         * wcsmbs/wchar.h: Likewise.
132         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
133         * wctype/wctype.h: Do not handle C++ namespaces.
134         * scripts/begin-end-check.pl: Remove.
135         * Makefile (installed-headers): Likewise.
136         (tests-special): Do not add $(objpfx)begin-end-check.out.
137         ($(objpfx)begin-end-check.out): Remove.
139 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
140             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
142         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
143         (DL_PLATFORM_INIT): New define.
144         (dl_platform_init): New function.
145         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
146         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
147         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
148         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
149         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
151 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
153         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
154         instead of PIC.
156 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
158         [BZ #21094]
159         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
160         24+24+24-bit pi for wider range of values around pi/2.
161         * math/auto-libm-test-in: Add more tests of cos and tan.
162         * math/auto-libm-test-out-cos: Regenerated.
163         * math/auto-libm-test-out-tan: Likewise.
165 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
167         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
168         (RTLD_START): Don't record stack end address in _dl_start_user.
170 2017-03-15  Alexey Neyman  <stilor@att.net>
172         [BZ #21088]
173         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
174         around definitions match those around use.
176 2017-03-15  Alexey Neyman  <stilor@att.net>
178         * configure.ac: Avoid empty subexpression in grep.
179         * configure: Regenerate.
181 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
183         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
184         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
185         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
186         (test_wrp_rv): Fix format.
187         (test_wrp_rv2): New macro.
188         (do_test): Handle mlock return on 64 bits kernels with 32 bits
189         binaries.
191 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
193         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
194         Use a union when storing pointers.
195         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
196         cast result when passing to INIT_VEC_PTRS_LOOP.
197         (VECTOR_WRAPPER_fFF_3): Likewise.
198         (VECTOR_WRAPPER_fFF_4): Likewise.
200 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
202         * include/bits/mathcalls-helper-functions.h: New file.
203         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
204         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
205         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
206         math/bits/mathcalls-helper-functions.h.
207         * math/bits/mathcalls-helper-functions.h: New file.
208         * math/math.h: Include bits/mathcalls-helper-functions.h for
209         float, double, and long double.
211 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
213         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
214         instead of feraiseexcept.
216 2017-03-15  Florian Weimer  <fweimer@redhat.com>
218         [BZ #21243]
219         * support/temp_file.c (support_delete_temp_files): Add comment
220         about ignored errors.
222 2017-03-15  Florian Weimer  <fweimer@redhat.com>
224         [BZ #21244]
225         * support/xclose.c: New file.
226         * support/Makefile (libsupport-routines): Add xclose.
227         * support/xunistd.h (xclose): Declare.
228         * support/resolv_test.c (server_thread_tcp_client)
229         (server_thread_tcp, make_server_sockets, resolv_test_start)
230         (resolv_test_end): Call xclose instead of close.
231         * support/support_enter_network_namespace.c
232         (support_enter_network_namespace): Likewise.
233         * support/support_run_diff.c (write_to_temp_file): Likewise.
235 2017-03-15  Florian Weimer  <fweimer@redhat.com>
237         * support/support_format_dns_packet.c (support_format_dns_packet):
238         Handle CNAME records in the response.  Extract RDATA names from
239         rdata, not the whole packet.  Check AAAA record length.
240         * support/tst-support_format_dns_packet.c: New file.
241         * support/Makefile (tests): Add tst-support_format_dns_packet.
242         (tst-support_format_dns_packet): Link against libresolv.
244 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
246         [BZ #21232]
247         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
248         posix_fadvise64 weak_alias for static build.
250 2017-03-14  Andreas Schwab  <schwab@suse.de>
252         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
253         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
254         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
255         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
256         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
257         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
258         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
259         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
261 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
263         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
264         posix error code.
265         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
267 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
269         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
270         no_isolate usage for SH.
272 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
274         [BZ #15105]
275         [BZ #19463]
276         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
277         * inet/rcmd.c (rcmd_af): Likewise.
278         * inet/rexec.c   (rexec_af): Likewise.
279         * intl/dcigettext.c (_LIBC): Likewise.
280         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
281         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
282         * locale/setlocale.c (setlocale): Likewise.
283         * posix/spawn_faction_addopen.c
284         (posix_spawn_file_actions_addopen): Likewise.
285         * stdlib/putenv.c (putenv): Use __strndup.
286         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
287         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
288         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
289         (__Need_M_And_C) Remove define/undef.
290         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
291         (__malloc_and_calloc_defined): Remove define.
292         * string/bits/string2.h (__strdup): Remove define.
293         (strdup): Likewise.
294         (__strndup): Likewise.
295         (strndup): Likewise.
297 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
299         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
300         macro.
301         (IPV6_ADDR_PREFERENCES): Likewise.
302         (IPV6_MINHOPCOUNT): Likewise.
303         (IPV6_ORIGDSTADDR): Likewise.
304         (IPV6_RECVORIGDSTADDR): Likewise.
305         (IPV6_TRANSPARENT): Likewise.
306         (IPV6_UNICAST_IF): Likewise.
307         (IPV6_RECVFRAGSIZE): Likewise.
309 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
311         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
313 2017-03-12  Alexey Neyman <stilor@att.net>
315         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
316         in R_SH_DIR32 case is always false when inlined from
317         dl-conflict.c. Ifdef out to prevent GCC from insertin an
319 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
321         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
322         (__ASSUME_RECV_SYSCALL): Replace duplicate by
323         __ASSUME_SEND_SYSCALL.
325 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
327         * sunrpc/Makefile: don't build and install rpcsvc header
328         files, rpcgen and librpcsvc.a by default.
330 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
332         * math/auto-libm-test-out-catan: Regenerated.
333         * math/auto-libm-test-out-catanh: Likewise.
334         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
336 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
338         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
339         for long double with corrected test expectations.
341 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
343         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
344         Define.
345         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
346         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
347         * sysdeps/unix/sysv/linux/nios2/sysdep.h
348         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
349         * sysdeps/unix/sysv/linux/tile/sysdep.h
350         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
351         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
352         (__ASSUME_RECV_SYSCALL): Define.
353         * sysdeps/unix/sysv/linux/arm/kernel-features.h
354         (__ASSUME_RECV_SYSCALL): Likewise.
355         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
356         (__ASSUME_RECV_SYSCALL): Likewise.
357         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
358         (__ASSUME_RECV_SYSCALL): Likewise.
359         * sysdeps/unix/sysv/linux/mips/kernel-features.h
360         (__ASSUME_RECV_SYSCALL): Likewise.
361         * sysdeps/unix/sysv/linux/i386/kernel-features.h
362         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
363         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
364         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
365         * sysdeps/unix/sysv/linux/s390/kernel-features.h
366         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
367         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
368         auto-generation list.
369         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
370         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
371         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
372         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
373         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
374         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
375         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
376         __ASSUME_SENDTO_SYSCALL.
377         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
378         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
379         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
381         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
382         auto-generation list.
383         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
384         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
385         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
386         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
387         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
388         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
389         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
390         * sysdeps/unix/sysv/linux/kernel-features.h
391         (__ASSUME_SENDTO_SYSCALL): Define by default.
392         * sysdeps/unix/sysv/linux/i386/kernel-features.h
393         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
394         __NR_sendto.
395         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
396         (__ASSUME_SENDTO_SYSCALL): Likewise.
397         * sysdeps/unix/sysv/linux/s390/kernel-features.h
398         (__ASSUME_SENDTO_SYSCALL): Likewise.
399         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
400         (__ASSUME_SENDTO_SYSCALL): Remove definition.
401         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
402         (__ASSUME_SENDTO_SYSCALL): Likewise.
403         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
404         (__ASSUME_SENDTO_SYSCALL): Likewise.
405         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
407         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
408         auto-generation list.
409         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
410         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
411         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
412         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
413         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
414         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
415         (__ASSUME_RECV_SYSCALL): New define.
416         * sysdeps/unix/sysv/linux/arm/kernel-features.h
417         (__ASSUME_RECV_SYSCALL): Likewise.
418         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
419         (__ASSUME_RECV_SYSCALL): Likewise.
420         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
421         (__ASSUME_RECV_SYSCALL): Likewise.
422         * sysdeps/unix/sysv/linux/mips/kernel-features.h
423         (__ASSUME_RECV_SYSCALL): Likewise.
424         * sysdeps/unix/sysv/linux/i386/kernel-features.h
425         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
426         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
427         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
428         * sysdeps/unix/sysv/linux/s390/kernel-features.h
429         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
430         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
431         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
432         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
433         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
434         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
435         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
437         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
438         auto-generation list.
439         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
440         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
441         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
442         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
443         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
444         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
445         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
446         * sysdeps/unix/sysv/linux/i386/kernel-features.h
447         (__ASSUME_RECVFROM_SYSCALL): Define by default.
448         * sysdeps/unix/sysv/linux/kernel-features.h
449         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
450         __NR_recvfrom.
451         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
452         (__ASSUME_RECVFROM_SYSCALL): Likewise.
453         * sysdeps/unix/sysv/linux/s390/kernel-features.h
454         (__ASSUME_RECVFROM_SYSCALL): Likewise.
455         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
456         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
457         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
458         (__ASSUME_RECVFROM_SYSCALL): Likewise.
459         * sysdeps/unix/sysv/linux/sh/kernel-features.h
460         (__ASSUME_RECVFROM_SYSCALL): Likewise.
461         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
462         (__ASSUME_RECVFROM_SYSCALL): Likewise.
463         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
465         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
466         auto-generation list.
467         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
468         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
469         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
470         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
471         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
472         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
473         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
474         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
475         * sysdeps/unix/sysv/linux/kernel-features.h
476         (__ASSUME_CONNECT_SYSCALL): Define.
477         * sysdeps/unix/sysv/linux/i386/kernel-features.h
478         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
479         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
480         (__ASSUME_CONNECT_SYSCALL): Likewise.
481         * sysdeps/unix/sysv/linux/s390/kernel-features.h
482         (__ASSUME_CONNECT_SYSCALL): Likewise.
483         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
484         (__ASSUME_CONNECT_SYSCALL): Likewise.
486         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
487         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
488         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
489         auto-generation list.
490         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
491         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
492         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
493         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
494         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
495         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
496         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
497         * sysdeps/unix/sysv/linux/i386/kernel-features.h
498         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
499         (__ASSUME_ACCEPT_SYSCALL): Undefine.
500         * sysdeps/unix/sysv/linux/kernel-features.h
501         (__ASSUME_ACCEPT_SYSCALL): New define.
502         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
503         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
504         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
505         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
506         (__ASSUME_ACCEPT_SYSCALL): Define.
507         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
508         (__ASSUME_ACCEPT_SYSCALL): Undefine.
509         * sysdeps/unix/sysv/linux/s390/kernel-features.h
510         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
511         (__ASSUME_ACCEPT_SYSCALL): Undefine.
512         * sysdeps/unix/sysv/linux/sh/kernel-features.h
513         (__ASSUME_ACCEPT_SYSCALL): Undefine.
514         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
515         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
517 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
518             Zack Weinberg  <zackw@panix.com>
520         * posix/test-errno.c: New file.
521         * posix/Makefile (tests): Add test-errno.
522         * sysdeps/unix/sysv/linux/test-errno.c: New file.
523         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
525 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
527         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
529 2017-03-07  Florian Weimer  <fweimer@redhat.com>
531         * time/tzset.c (compute_offset): Open-code min macro.
532         (min, max, sign): Remove.
534 2017-03-07  Florian Weimer  <fweimer@redhat.com>
536         [BZ #15576]
537         Remove TZNAME_MAX limit from sysconf.
538         * include/time.h (__tzname_cur_max, __tzname_max): Remove
539         declaration.
540         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
541         compute_tzname_max.
542         (compute_tzname_max): Remove.
543         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
544         (update_vars): Do not update __tzname_cur_max.
545         (tzset_internal): Remove argument.
546         (__tzset): Adjust call to tzset_internal.
547         (__tz_convert): Likewise.
549         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
550         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
551         * manual/conf.texi (Sysconf Definition): Update comment.
553 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
555         [BZ #21209]
556         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
557         AT_SECURE processes.
558         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
559         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
560         (test_child): Likewise.
561         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
563 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
565         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
567 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
569         * sysdeps/s390/atomic-machine.h
570         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
571         (__arch_compare_and_exchange_val_8_acq,
572         __arch_compare_and_exchange_val_16_acq,
573         __arch_compare_and_exchange_val_32_acq,
574         __arch_compare_and_exchange_val_64_acq):
575         Delete macro.
576         (atomic_compare_and_exchange_val_acq,
577         atomic_compare_and_exchange_val_rel,
578         atomic_compare_and_exchange_bool_acq,
579         catomic_compare_and_exchange_bool_acq,
580         atomic_exchange_acq, atomic_exchange_rel,
581         atomic_exchange_and_add_acq,
582         atomic_exchange_and_add_rel,
583         catomic_exchange_and_add, atomic_or_val,
584         atomic_or, catomic_or, atomic_bit_test_set,
585         atomic_and_val, atomic_and, catomic_and):
586         Define macros with help of C11 atomic builtins.
588 2017-03-03  Justus Winter <justus@gnupg.org>
590         * sysdeps/mach/hurd/ftruncate64.c: New file.
591         * sysdeps/mach/hurd/truncate64.c: Likewise.
593 2017-03-03  Florian Weimer  <fweimer@redhat.com>
595         * time/tzfile.c (NOID): Do not define.
596         * time/tzset.c (NOID): Likewise.
598 2017-03-03  Florian Weimer  <fweimer@redhat.com>
600         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
602 2017-03-02  Florian Weimer  <fweimer@redhat.com>
604         * elf/get-dynamic-info.h: Remove header file inclusion guard.
606 2017-03-02  Florian Weimer  <fweimer@redhat.com>
608         [BZ #21015]
609         * manual/install.texi (Configuring and compiling): Document
610         --enable-bind-now.
611         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
612         (build-shlib-helper): Use $(LDFLAGS-lib.so).
613         (format.lds): Likewise.
614         [bind-now] (LDFLAGS-c.so): Remove.
615         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
616         be R_X86_64_GLOB_DAT.
617         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
618         relocation can be R_386_GLOB_DAT.
619         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
620         relocaiton can be R_ALPHA_GLOB_DAT.
621         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
623 2017-03-01  Zack Weinberg  <zackw@panix.com>
625         * include/libc-pointer-arith.h: New file.  Define
626         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
627         PTR_ALIGN_DOWN here.
628         * include/libc-internal.h: Definitions of above macros
629         moved from here.  Don't include libc-diag.h anymore either.
630         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
631         Don't include libc-internal.h.
633         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
634         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
635         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
636         * string/strcoll_l.c, sysdeps/nacl/brk.c
637         * sysdeps/unix/clock_settime.c
638         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
639         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
640         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
641         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
642         Don't include libc-internal.h.
644         * elf/get-dynamic-info.h, iconv/loop.c
645         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
646         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
647         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
648         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
649         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
650         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
651         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
652         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
653         * sysdeps/ieee754/ldbl-128/k_tanl.c
654         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
655         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
656         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
657         Include libc-diag.h instead of libc-internal.h.
659         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
660         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
661         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
662         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
663         * sysdeps/unix/sysv/linux/spawni.c
664         * sysdeps/x86_64/nptl/tls.h:
665         Include libc-pointer-arith.h instead of libc-internal.h.
667         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
668         * sysdeps/x86_64/atomic-machine.h:
669         Add multiple include guard.
671         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
672         * string/strcasestr.c: No need to include config.h.
673         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
674         sys/auxv.h. Don't include sysdep.h.
675         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
677         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
678         DL_LOOKUP_ADDRESS.
679         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
680         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
681         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
682         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
683         of ARTIFICIAL_LIMIT.
684         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
685         declaration of __clone2.
687 2017-02-28  Florian Weimer  <fweimer@redhat.com>
689         * scripts/backport-support.sh (latest_commit): New file.
691 2017-02-28  Florian Weimer  <fweimer@redhat.com>
693         [BZ #20257]
694         * inet/Makefile (routines): Add deadline.
695         (tests-static): Add tst-deadline.
696         * inet/net-internal.h (struct deadline_current_time)
697         (__deadline_current_time, struct deadline, __deadline_is_infinite)
698         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
699         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
700         * inet/deadline.c: New file.
701         * inet/tst-deadline.c: Likewise.
702         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
703         tst-udp-timeout, tst-udp-garbage.
704         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
705         explicitly.
706         (tst-udp-garbage): Likewise.  Also link against thread library.
707         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
708         struct layout is part of the ABI.
709         (clntudp_call): Rework timeout handling.
710         * sunrpc/tst-udp-garbage.c: New file.
711         * sunrpc/tst-udp-nonblocking.c: Likewise.
712         * sunrpc/tst-udp-timeout.c: Likewise.
714 2017-02-28  Florian Weimer  <fweimer@redhat.com>
716         [BZ #5010]
717         * sunrpc/svc.c (svc_is_mapped): Remove.
718         (svc_unregister): Obtain mapped status while the service is still
719         registered.
720         * sunrpc/Makefile [have-thread-library] (tests): Add
721         tst-svc_register.
722         (tst-svc_register): Link against libc.so explicitly and the thread
723         library.
724         * sunrpc/tst-svc_register.c: New file.
726 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
728         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
729         * sysdeps/pthread/bits/sigthread.h: Likewise.
731 2017-02-27  Florian Weimer  <fweimer@redhat.com>
733         [BZ #21115]
734         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
735         * sunrpc/Makefile (tests): Add tst-udp-error.
736         (tst-udp-error): Link against libc.so explicitly.
737         * sunrpc/tst-udp-error: New file.
739 2017-02-25  Zack Weinberg  <zackw@panix.com>
741         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
742         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
744         * sysdeps/generic/math_ldbl.h
745         * sysdeps/ia64/fpu/math_ldbl.h
746         * sysdeps/ieee754/ldbl-128/math_ldbl.h
747         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
748         * sysdeps/ieee754/ldbl-96/math_ldbl.h
749         * sysdeps/powerpc/fpu/math_ldbl.h
750         * sysdeps/x86_64/fpu/math_ldbl.h:
751         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
752         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
753         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
754         Add copyright notices.
756         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
757         Don't use EXTRACT_WORDS64.
759         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
760         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
761         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
762         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
763         Include math_ldbl.h, not math_private.h.
765 2017-02-25  Zack Weinberg  <zackw@panix.com>
767         * include/libc-diag.h: New file.  Define ignore_value,
768         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
769         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
771         * include/libc-internal.h: Definitions of above macros moved from
772         here.  Include libc-diag.h.  Add copyright notice.
774         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
775         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
776         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
777         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
778         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
779         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
780         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
781         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
782         Include libc-diag.h instead of libc-internal.h.
784         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
785         call to unsetenv (NULL).
786         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
787         call to pthread_mutexattr_destroy (NULL).
789 2017-02-25  Zack Weinberg  <zackw@panix.com>
791         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
792         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
793         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
794         gets was removed from C++ in C++14.
795         * include/stdio.h: Remove redundant declaration of gets.
796         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
797         be declared, since we are testing it.
798         * stdio-common/Makefile (tst-gets.c): Compile with
799         -Wno-deprecated-declarations.
800         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
801         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
802         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
803         Compile with -Wno-deprecated-declarations.
805 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
807         * math/libm-test-support.c (check_ulp): Use LIT() around literal
808         numbers.
810 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
812         * resolv/tst-resolv-qtypes.c (domain):
813         Change type to const pointer to const char.
815 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
817         * math/Makefile (libm-tests-generated): Remove variable.
818         (libm-tests-base-normal): New variable.
819         (libm-tests-base-finite): Likewise.
820         (libm-tests-base-inline): Likewise.
821         (libm-tests-base): Likewise.
822         (libm-tests-normal): Likewise.
823         (libm-tests-finite): Likewise.
824         (libm-tests-inline): Likewise.
825         (libm-tests-vector): Likewise.
826         (libm-tests): Define in terms of these new variables.
827         (libm-tests-for-type): New variable.
828         (libm-tests.o): Move definition.
829         (tests): Move addition of $(libm-tests).
830         (generated): Update for new and removed libm test files.
831         ($(objpfx)libm-test.c): Remove target.
832         ($(objpfx)libm-have-vector-test.h): Likewise.
833         (CFLAGS-test-double-vlen2.c): Remove variable.
834         (CFLAGS-test-double-vlen4.c): Likewise.
835         (CFLAGS-test-double-vlen8.c): Likewise.
836         (CFLAGS-test-float-vlen4.c): Likewise.
837         (CFLAGS-test-float-vlen8.c): Likewise.
838         (CFLAGS-test-float-vlen16.c): Likewise.
839         (CFLAGS-test-float.c): Likewise.
840         (CFLAGS-test-float-finite.c): Likewise.
841         (CFLAGS-libm-test-support-float.c): Likewise.
842         (CFLAGS-test-double.c): Likewise.
843         (CFLAGS-test-double-finite.c): Likewise.
844         (CFLAGS-libm-test-support-double.c): Likewise.
845         (CFLAGS-test-ldouble.c): Likewise.
846         (CFLAGS-test-ldouble-finite.c): Likewise.
847         (CFLAGS-libm-test-support-ldouble.c): Likewise.
848         (libm-test-inline-cflags): New variable.
849         (CFLAGS-test-ifloat.c): Remove variable.
850         (CFLAGS-test-idouble.c): Likewise.
851         (CFLAGS-test-ildouble.c): Likewise.
852         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
853         dependencies.
854         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
855         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
856         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
857         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
858         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
859         Likewise.
860         (dependencies on libm-test-support-*.o): Remove.
861         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
862         rules using iterators.
863         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
864         Likewise.
865         ($(objpfx)libm-test-support-$(o).o): Likewise.
866         ($(addprefix $(objpfx),$(filter-out $(tests-static)
867         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
868         instead.
869         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
870         define rule instead.
871         * math/README.libm-test: Update.
872         * math/libm-test-acos.inc: Include libm-test-driver.c.
873         (do_test): New function.
874         * math/libm-test-acosh.inc: Include libm-test-driver.c.
875         (do_test): New function.
876         * math/libm-test-asin.inc: Include libm-test-driver.c.
877         (do_test): New function.
878         * math/libm-test-asinh.inc: Include libm-test-driver.c.
879         (do_test): New function.
880         * math/libm-test-atan.inc: Include libm-test-driver.c.
881         (do_test): New function.
882         * math/libm-test-atan2.inc: Include libm-test-driver.c.
883         (do_test): New function.
884         * math/libm-test-atanh.inc: Include libm-test-driver.c.
885         (do_test): New function.
886         * math/libm-test-cabs.inc: Include libm-test-driver.c.
887         (do_test): New function.
888         * math/libm-test-cacos.inc: Include libm-test-driver.c.
889         (do_test): New function.
890         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
891         (do_test): New function.
892         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
893         (do_test): New function.
894         * math/libm-test-carg.inc: Include libm-test-driver.c.
895         (do_test): New function.
896         * math/libm-test-casin.inc: Include libm-test-driver.c.
897         (do_test): New function.
898         * math/libm-test-casinh.inc: Include libm-test-driver.c.
899         (do_test): New function.
900         * math/libm-test-catan.inc: Include libm-test-driver.c.
901         (do_test): New function.
902         * math/libm-test-catanh.inc: Include libm-test-driver.c.
903         (do_test): New function.
904         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
905         (do_test): New function.
906         * math/libm-test-ccos.inc: Include libm-test-driver.c.
907         (do_test): New function.
908         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
909         (do_test): New function.
910         * math/libm-test-ceil.inc: Include libm-test-driver.c.
911         (do_test): New function.
912         * math/libm-test-cexp.inc: Include libm-test-driver.c.
913         (do_test): New function.
914         * math/libm-test-cimag.inc: Include libm-test-driver.c.
915         (do_test): New function.
916         * math/libm-test-clog.inc: Include libm-test-driver.c.
917         (do_test): New function.
918         * math/libm-test-clog10.inc: Include libm-test-driver.c.
919         (do_test): New function.
920         * math/libm-test-conj.inc: Include libm-test-driver.c.
921         (do_test): New function.
922         * math/libm-test-copysign.inc: Include libm-test-driver.c.
923         (do_test): New function.
924         * math/libm-test-cos.inc: Include libm-test-driver.c.
925         (do_test): New function.
926         * math/libm-test-cosh.inc: Include libm-test-driver.c.
927         (do_test): New function.
928         * math/libm-test-cpow.inc: Include libm-test-driver.c.
929         (do_test): New function.
930         * math/libm-test-cproj.inc: Include libm-test-driver.c.
931         (do_test): New function.
932         * math/libm-test-creal.inc: Include libm-test-driver.c.
933         (do_test): New function.
934         * math/libm-test-csin.inc: Include libm-test-driver.c.
935         (do_test): New function.
936         * math/libm-test-csinh.inc: Include libm-test-driver.c.
937         (do_test): New function.
938         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
939         (do_test): New function.
940         * math/libm-test-ctan.inc: Include libm-test-driver.c.
941         (do_test): New function.
942         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
943         (do_test): New function.
944         * math/libm-test-erf.inc: Include libm-test-driver.c.
945         (do_test): New function.
946         * math/libm-test-erfc.inc: Include libm-test-driver.c.
947         (do_test): New function.
948         * math/libm-test-exp.inc: Include libm-test-driver.c.
949         (do_test): New function.
950         * math/libm-test-exp10.inc: Include libm-test-driver.c.
951         (do_test): New function.
952         * math/libm-test-exp2.inc: Include libm-test-driver.c.
953         (do_test): New function.
954         * math/libm-test-expm1.inc: Include libm-test-driver.c.
955         (do_test): New function.
956         * math/libm-test-fabs.inc: Include libm-test-driver.c.
957         (do_test): New function.
958         * math/libm-test-fdim.inc: Include libm-test-driver.c.
959         (do_test): New function.
960         * math/libm-test-floor.inc: Include libm-test-driver.c.
961         (do_test): New function.
962         * math/libm-test-fma.inc: Include libm-test-driver.c.
963         (do_test): New function.
964         * math/libm-test-fmax.inc: Include libm-test-driver.c.
965         (do_test): New function.
966         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
967         (do_test): New function.
968         * math/libm-test-fmin.inc: Include libm-test-driver.c.
969         (do_test): New function.
970         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
971         (do_test): New function.
972         * math/libm-test-fmod.inc: Include libm-test-driver.c.
973         (do_test): New function.
974         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
975         (do_test): New function.
976         * math/libm-test-frexp.inc: Include libm-test-driver.c.
977         (do_test): New function.
978         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
979         (do_test): New function.
980         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
981         (do_test): New function.
982         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
983         (do_test): New function.
984         * math/libm-test-hypot.inc: Include libm-test-driver.c.
985         (do_test): New function.
986         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
987         (do_test): New function.
988         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
989         (do_test): New function.
990         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
991         (do_test): New function.
992         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
993         (do_test): New function.
994         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
995         (do_test): New function.
996         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
997         (do_test): New function.
998         * math/libm-test-isinf.inc: Include libm-test-driver.c.
999         (do_test): New function.
1000         * math/libm-test-isless.inc: Include libm-test-driver.c.
1001         (do_test): New function.
1002         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
1003         (do_test): New function.
1004         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
1005         (do_test): New function.
1006         * math/libm-test-isnan.inc: Include libm-test-driver.c.
1007         (do_test): New function.
1008         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
1009         (do_test): New function.
1010         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
1011         (do_test): New function.
1012         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
1013         (do_test): New function.
1014         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
1015         (do_test): New function.
1016         * math/libm-test-iszero.inc: Include libm-test-driver.c.
1017         (do_test): New function.
1018         * math/libm-test-j0.inc: Include libm-test-driver.c.
1019         (do_test): New function.
1020         * math/libm-test-j1.inc: Include libm-test-driver.c.
1021         (do_test): New function.
1022         * math/libm-test-jn.inc: Include libm-test-driver.c.
1023         (do_test): New function.
1024         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
1025         (do_test): New function.
1026         * math/libm-test-llogb.inc: Include libm-test-driver.c.
1027         (do_test): New function.
1028         * math/libm-test-llrint.inc: Include libm-test-driver.c.
1029         (do_test): New function.
1030         * math/libm-test-llround.inc: Include libm-test-driver.c.
1031         (do_test): New function.
1032         * math/libm-test-log.inc: Include libm-test-driver.c.
1033         (do_test): New function.
1034         * math/libm-test-log10.inc: Include libm-test-driver.c.
1035         (do_test): New function.
1036         * math/libm-test-log1p.inc: Include libm-test-driver.c.
1037         (do_test): New function.
1038         * math/libm-test-log2.inc: Include libm-test-driver.c.
1039         (do_test): New function.
1040         * math/libm-test-logb.inc: Include libm-test-driver.c.
1041         (do_test): New function.
1042         * math/libm-test-lrint.inc: Include libm-test-driver.c.
1043         (do_test): New function.
1044         * math/libm-test-lround.inc: Include libm-test-driver.c.
1045         (do_test): New function.
1046         * math/libm-test-modf.inc: Include libm-test-driver.c.
1047         (do_test): New function.
1048         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
1049         (do_test): New function.
1050         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
1051         (do_test): New function.
1052         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
1053         (do_test): New function.
1054         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1055         (do_test): New function.
1056         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1057         (do_test): New function.
1058         * math/libm-test-pow.inc: Include libm-test-driver.c.
1059         (do_test): New function.
1060         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1061         (do_test): New function.
1062         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1063         (do_test): New function.
1064         * math/libm-test-rint.inc: Include libm-test-driver.c.
1065         (do_test): New function.
1066         * math/libm-test-round.inc: Include libm-test-driver.c.
1067         (do_test): New function.
1068         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1069         (do_test): New function.
1070         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1071         (do_test): New function.
1072         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1073         (do_test): New function.
1074         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1075         (do_test): New function.
1076         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1077         (do_test): New function.
1078         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1079         (do_test): New function.
1080         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1081         (do_test): New function.
1082         * math/libm-test-significand.inc: Include libm-test-driver.c.
1083         (do_test): New function.
1084         * math/libm-test-sin.inc: Include libm-test-driver.c.
1085         (do_test): New function.
1086         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1087         (do_test): New function.
1088         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1089         (do_test): New function.
1090         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1091         (do_test): New function.
1092         * math/libm-test-tan.inc: Include libm-test-driver.c.
1093         (do_test): New function.
1094         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1095         (do_test): New function.
1096         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1097         (do_test): New function.
1098         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1099         (do_test): New function.
1100         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1101         (do_test): New function.
1102         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1103         (do_test): New function.
1104         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1105         (do_test): New function.
1106         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1107         (do_test): New function.
1108         * math/libm-test-y0.inc: Include libm-test-driver.c.
1109         (do_test): New function.
1110         * math/libm-test-y1.inc: Include libm-test-driver.c.
1111         (do_test): New function.
1112         * math/libm-test-yn.inc: Include libm-test-driver.c.
1113         (do_test): New function.
1114         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1115         (HAVE_VECTOR): Remove macro.
1116         (START): Do not call HAVE_VECTOR.
1117         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1118         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1119         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1120         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1121         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1122         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1123         * math/test-math-vector.h (FUNC_TEST): New macro.
1124         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1125         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1126         (double-vlen4-funcs): Likewise.
1127         (double-vlen4-avx2-funcs): Likewise.
1128         (double-vlen8-funcs): Likewise.
1129         (float-vlen4-funcs): Likewise.
1130         (float-vlen8-funcs): Likewise.
1131         (float-vlen8-avx2-funcs): Likewise.
1132         (float-vlen16-funcs): Likewise.
1133         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1134         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1135         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1136         macro.
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-double-vlen8.h (TEST_VECTOR_cos):
1143         Likewise.
1144         (TEST_VECTOR_sin): Likewise.
1145         (TEST_VECTOR_sincos): Likewise.
1146         (TEST_VECTOR_log): Likewise.
1147         (TEST_VECTOR_exp): Likewise.
1148         (TEST_VECTOR_pow): Likewise.
1149         * sysdeps/x86_64/fpu/test-float-vlen16.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         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1157         Likewise.
1158         (TEST_VECTOR_sinf): Likewise.
1159         (TEST_VECTOR_sincosf): Likewise.
1160         (TEST_VECTOR_logf): Likewise.
1161         (TEST_VECTOR_expf): Likewise.
1162         (TEST_VECTOR_powf): Likewise.
1163         * math/gen-libm-have-vector-test.sh: Remove file.
1164         * math/libm-test.inc: Likewise.
1165         * math/libm-test-support-double.c: Likewise.
1166         * math/libm-test-support-float.c: Likewise.
1167         * math/libm-test-support-ldouble.c: Likewise.
1168         * math/test-double-finite.c: Likewise.: Likewise.
1169         * math/test-double.c: Likewise.
1170         * math/test-float-finite.c: Likewise.
1171         * math/test-float.c: Likewise.
1172         * math/test-idouble.c: Likewise.
1173         * math/test-ifloat.c: Likewise.
1174         * math/test-ildouble.c: Likewise.
1175         * math/test-ldouble-finite.c: Likewise.
1176         * math/test-ldouble.c: Likewise.
1177         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1178         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1179         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1180         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1181         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1182         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1183         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1184         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1185         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1186         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1188 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1189            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1191         * math/Makefile: Add wrappers to gen-libm-calls.
1192         * math/w_acos_template.c: New file.
1193         * math/w_acosh_template.c: Likewise.
1194         * math/w_asin_template.c: Likewise.
1195         * math/w_atan2_template.c: Likewise.
1196         * math/w_atanh_template.c: Likewise.
1197         * math/w_cosh_template.c: Likewise.
1198         * math/w_exp10_template.c: Likewise.
1199         * math/w_exp2_template.c: Likewise.
1200         * math/w_exp_template.c: Likewise.
1201         * math/w_fmod_template.c: Likewise.
1202         * math/w_hypot_template.c: Likewise.
1203         * math/w_j0_template.c: Likewise.
1204         * math/w_j1_template.c: Likewise.
1205         * math/w_jn_template.c: Likewise.
1206         * math/w_lgamma_r_template.c: Likewise.
1207         * math/w_lgamma_template.c: Likewise.
1208         * math/w_log10_template.c: Likewise.
1209         * math/w_log2_template.c: Likewise.
1210         * math/w_log_template.c: Likewise.
1211         * math/w_pow_template.c: Likewise.
1212         * math/w_remainder_template.c: Likewise.
1213         * math/w_sinh_template.c: Likewise.
1214         * math/w_sqrt_template.c: Likewise.
1215         * math/w_tgamma_template.c: Likewise.: Likewise.
1216         * sysdeps/generic/math-type-macros-double.h
1217         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1218         the new wrappers.
1219         * sysdeps/generic/math-type-macros-float.h: Likewise.
1220         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1222 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1224         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1225         New enum constant and macro.
1227         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1228         kernel version to 4.10.
1230 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1232         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1234 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1238 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1240         * sysdeps/powerpc/tst-set_ppr.c: New file.
1241         Implement test cases for __ppc_set_ppr_* functions.
1242         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1243         in the list of tests.
1245 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1247         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1248         instead of test-skeleton.c.
1249         (do_test): Replaced pthread_create and pthread_join with
1250         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1251         Removed unneeded status variable.
1252         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1253         instead of test-skeleton.c.
1254         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1256 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1258         [BZ #20313]
1259         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1260         201605L, for Unicode 9.
1262 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1264         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1265         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1266         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1267         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1268         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1269         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1271 2017-02-19  Zack Weinberg  <zackw@panix.com>
1273         * rt/tst-mqueue4.c: Include stdint.h.
1275 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1277         * sysdeps/arm/libm-test-ulps: Update.
1278         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1279         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1280         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1282 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1284         [BZ #21029]
1285         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1286         * sysdeps/unix/sysv/linux/i386/Makefile
1287         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1288         (uses-6-syscall-arguments): Remove.
1289         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1290         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1291         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1292         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1293         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1294         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1295         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1296         [$(subdir) = misc] (cflags-pselect.o): Likewise.
1297         [$(subdir) = misc] (cflags-pselect.os): Likewise.
1298         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1299         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1300         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1301         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1302         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1303         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1304         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1305         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1306         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1307         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1308         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1309         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1310         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1311         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1312         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1313         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1314         Likewise.
1315         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1316         Likewise.
1317         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1318         Likewise.
1319         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1320         Likewise.
1321         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
1322         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1323         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1324         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1325         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1326         ebp on inline assembly.
1327         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1328         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1329         Set if CAN_USE_REGISTER_ASM_EBP is set.
1331 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1333         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1334         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1336 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1338         * math/auto-libm-test-in: Add tests of catan and catanh.
1339         * math/auto-libm-test-out-catan: New generated file.
1340         * math/auto-libm-test-out-catanh: Likewise.
1341         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1342         Move tests with finite inputs, except divide-by-zero cases, to
1343         auto-libm-test-in.
1344         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1345         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1346         (libm-test-funcs-noauto): Remove catan and catanh.
1347         * sysdeps/i386/fpu/libm-test-ulps: Update.
1348         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1351         * math/auto-libm-test-in: Add tests of casin and casinh.
1352         * math/auto-libm-test-out-casin: New generated file.
1353         * math/auto-libm-test-out-casinh: Likewise.
1354         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1355         Move tests with finite inputs to auto-libm-test-in.
1356         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1357         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1358         (libm-test-funcs-noauto): Remove casin and casinh.
1359         * sysdeps/i386/fpu/libm-test-ulps: Update.
1360         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1363         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1364         * math/auto-libm-test-out-cacos: New generated file.
1365         * math/auto-libm-test-out-cacosh: Likewise.
1366         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1367         Move tests with finite inputs to auto-libm-test-in.
1368         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1369         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1370         (libm-test-funcs-noauto): Remove cacos and cacosh.
1371         * sysdeps/i386/fpu/libm-test-ulps: Update.
1372         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1375         Revert:
1376         2017-02-16  Zack Weinberg  <zackw@panix.com>
1378         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1379         Don't include init-arch.h.
1380         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1381         Don't include init-arch.h.
1383 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1385         [BZ #21171]
1386         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1387         +Inf and raise divide-by-zero when x is negative.
1388         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1389         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1390         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1391         -Inf and raise divide-by-zero when x = +-0.
1392         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1393         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1394         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1395         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1396         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1397         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1398         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1400 2017-02-16  Zack Weinberg  <zackw@panix.com>
1402         * scripts/build-many-glibcs.py (bot_build_mail): If the
1403         bot_config does not contain all of the necessary email-
1404         related settings, just print a warning and continue.
1406 2017-02-16  Zack Weinberg  <zackw@panix.com>
1408         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1409         * dirent/opendir-tst1.c: Include sys/stat.h.
1410         * dirent/tst-fdopendir.c: Include sys/stat.h.
1411         * dirent/tst-fdopendir2.c: Include stdlib.h.
1412         * dirent/tst-scandir.c: Include stdbool.h.
1413         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1414         * elf/tst-tls15.c: Include stdlib.h.
1415         * elf/tst-tls16.c: Include stdlib.h.
1416         * elf/tst-tls17.c: Include stdlib.h.
1417         * elf/tst-tls18.c: Include stdlib.h.
1418         * iconv/tst-iconv6.c: Include endian.h.
1419         * iconvdata/bug-iconv11.c: Include limits.h.
1420         * io/test-utime.c: Include stdint.h.
1421         * io/tst-faccessat.c: Include sys/stat.h.
1422         * io/tst-fchmodat.c: Include sys/stat.h.
1423         * io/tst-fchownat.c: Include sys/stat.h.
1424         * io/tst-fstatat.c: Include sys/stat.h.
1425         * io/tst-futimesat.c: Include sys/stat.h.
1426         * io/tst-linkat.c: Include sys/stat.h.
1427         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1428         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1429         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1430         * io/tst-openat.c: Include stdbool.h.
1431         * io/tst-readlinkat.c: Include sys/stat.h.
1432         * io/tst-renameat.c: Include sys/stat.h.
1433         * io/tst-symlinkat.c: Include sys/stat.h.
1434         * io/tst-unlinkat.c: Include stdbool.h.
1435         * libio/bug-memstream1.c: Include stdlib.h.
1436         * libio/bug-wmemstream1.c: Include stdlib.h.
1437         * libio/tst-fwrite-error.c: Include stdlib.h.
1438         * libio/tst-memstream1.c: Include stdlib.h.
1439         * libio/tst-memstream2.c: Include stdlib.h.
1440         * libio/tst-memstream3.c: Include stdlib.h.
1441         * malloc/tst-interpose-aux.c: Include stdint.h.
1442         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1443         * nptl/tst-basic7.c: Include limits.h.
1444         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1445         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1446         * nptl/tst-cancel4_1.c: Include stddef.h.
1447         * nptl/tst-cancel4_2.c: Include stddef.h.
1448         * nptl/tst-cond16.c: Include limits.h.
1449         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1450         * nptl/tst-cond18.c: Include limits.h.
1451         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1452         * nptl/tst-cond4.c: Include stdint.h.
1453         * nptl/tst-cond6.c: Include stdint.h.
1454         * nptl/tst-stack2.c: Include limits.h.
1455         * nptl/tst-stackguard1.c: Include stddef.h.
1456         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1457         * nptl/tst-tls4moda.c: Include stddef.h.
1458         Don't include stdio.h, unistd.h, or tls.h.
1459         * nptl/tst-tls4modb.c: Include stddef.h.
1460         Don't include stdio.h, unistd.h, or tls.h.
1461         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1462         * posix/tst-getaddrinfo2.c: Include stdio.h.
1463         * posix/tst-getaddrinfo5.c: Include stdio.h.
1464         * posix/tst-pathconf.c: Include sys/stat.h.
1465         * posix/tst-posix_fadvise-common.c: Include stdint.h.
1466         * posix/tst-preadwrite-common.c: Include sys/stat.h.
1467         * posix/tst-regex.c: Include stdint.h.
1468         Don't include spawn.h or spawn_int.h.
1469         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1470         * posix/tst-vfork3.c: Include sys/stat.h.
1471         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1472         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1473         * resolv/tst-resolv-search.c: Include stdlib.h.
1474         * stdio-common/tst-fmemopen2.c: Include stdint.h.
1475         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1476         * stdlib/test-canon.c: Include sys/stat.h.
1477         * stdlib/tst-tls-atexit.c: Include stdbool.h.
1478         * string/test-memchr.c: Include stdint.h.
1479         * string/tst-cmp.c: Include stdint.h.
1480         * sysdeps/pthread/tst-timer.c: Include stdint.h.
1481         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1482         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1483         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1484         Don't include init-arch.h.
1485         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1486         Don't include init-arch.h.
1487         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1488         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1489         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1490         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1491         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1492         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1493         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1494         * time/clocktest.c: Include stdint.h.
1495         * time/tst-posixtz.c: Include stdint.h.
1496         * timezone/tst-timezone.c: Include stdint.h.
1498 2017-02-16  Zack Weinberg  <zackw@panix.com>
1500         * string/string.h [__USE_MISC]: Include strings.h.
1501         (__bzero, bcmp, bcopy, bzero, index, rindex)
1502         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1503         (ffs, ffsl, ffsll): Don't declare.
1504         * string/strings.h: Do not suppress the file if string.h has
1505         already been included.
1506         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1507         annotations.
1508         (index, rindex): Define inline forwarders even if
1509         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1510         (ffs): Use __attribute_const__.
1511         (ffsl, ffsll): Declare here.
1512         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1513         have now been standardized.
1514         * include/string.h (__bzero): Declare here.
1516         * bits/types.h: Move to posix/bits.
1517         * include/bits/types.h: New wrapper.
1519 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1521         * string/bits/string2.h (strcmp): Remove define.
1522         (__strcmp_cg): Likewise.
1523         (strncmp): Likewise.
1525 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1527         * include/string.h: Add __cplusplus check.
1529 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1531         [BZ #21134]
1532         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1533         "divide by zero" exception when the input is zero.
1534         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1535         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1536         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1537         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1538         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1540 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1542         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1543         and include ...
1544         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1545         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1546         to, and include ...
1547         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1548         file.
1549         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1550         and include ...
1551         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1552         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1553         and include ...
1554         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1555         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1556         and include ...
1557         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1558         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1559         and include ...
1560         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1561         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1562         to, and include ...
1563         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1564         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1565         and include ...
1566         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1568 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1570         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1571         here.
1572         * math/libm-test-support.c (libm_test_init): Do not call
1573         INIT_ARCH_EXT here.
1574         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1575         (main): Call INIT_ARCH_EXT.
1577 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1579         [BZ #21130]
1580         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1581         with the "invalid" exception raised when x is -Inf.
1582         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1584 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1586         * string/bits/string2.h (strchr): Remove define.
1588 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1590         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1591         tst-avx512.
1592         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1593         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1594         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1595         ($(objpfx)tst-sse): New rule.
1596         ($(objpfx)tst-avx): Likewise.
1597         ($(objpfx)tst-avx512): Likewise.
1598         (CFLAGS-tst-avx-aux.c): New.
1599         (CFLAGS-tst-avxmod.c): Likewise.
1600         (CFLAGS-tst-avx512-aux.c): Likewise.
1601         (CFLAGS-tst-avx512mod.c): Likewise.
1602         * sysdeps/x86_64/tst-avx-aux.c: New file.
1603         * sysdeps/x86_64/tst-avx.c: Likewise.
1604         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1605         * sysdeps/x86_64/tst-avx512.c: Likewise.
1606         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1607         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1608         * sysdeps/x86_64/tst-sse.c: Likewise.
1609         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1611 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1613         * math/auto-libm-test-in: Add more tests of csin and csinh.
1614         * math/auto-libm-test-out-csin: Regenerated.
1615         * math/auto-libm-test-out-csinh: Likewise.
1616         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1617         auto-libm-test-in.
1618         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1620 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1622         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1623         libm-compat-calls-auto.
1624         (libm-compat-calls): Likewise.
1625         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1626         w_lgamma_compatF and k_standardF (merged from the items above).
1627         (libm-routines): Use libm-compat-calls, instead of
1628         libm-compat-calls-auto, with type-foreach.
1630 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1632         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1633         macro.
1634         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1635         (CFLAGS-test-ifloat.c): ... this.  Remove
1636         -U__LIBC_INTERNAL_MATH_INLINES.
1637         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1638         (CFLAGS-test-idouble.c): ... this.  Remove
1639         -U__LIBC_INTERNAL_MATH_INLINES.
1640         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1641         (CFLAGS-test-ildouble.c): ... this.  Remove
1642         -U__LIBC_INTERNAL_MATH_INLINES.
1644 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1646         * math/libm-test-support.c: New file.  Content from
1647         math/libm-test-driver.c.
1648         * math/libm-test-support.h: Likewise.
1649         * math/libm-test-support-double.c: New file.
1650         * math/libm-test-support-float.c: Likewise.
1651         * math/libm-test-support-ldouble.c: Likewise.
1652         * math/libm-test-driver.c: Remove main comment and header
1653         includes.  Include libm-test-support.h.
1654         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1655         (flag_test_errno): Remove static.
1656         (flag_test_exceptions): Likewise.
1657         (flag_test_finite): Likewise.
1658         (flag_test_inline): Likewise.
1659         (flag_test_mathvec): Likewise.
1660         (test_msg): Likewise.
1661         (NO_EXCEPTION): Remove.
1662         (INVALID_EXCEPTION): Likewise.
1663         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1664         (OVERFLOW_EXCEPTION): Likewise.
1665         (UNDERFLOW_EXCEPTION): Likewise.
1666         (INEXACT_EXCEPTION): Likewise.
1667         (INVALID_EXCEPTION_OK): Likewise.
1668         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1669         (OVERFLOW_EXCEPTION_OK): Likewise.
1670         (UNDERFLOW_EXCEPTION_OK): Likewise.
1671         (NO_INEXACT_EXCEPTION): Likewise.
1672         (EXCEPTIONS_OK): Likewise.
1673         (IGNORE_ZERO_INF_SIGN): Likewise.
1674         (TEST_NAN_SIGN): Likewise.
1675         (TEST_NAN_PAYLOAD): Likewise.
1676         (NO_TEST_INLINE): Likewise.
1677         (XFAIL_TEST): Likewise.
1678         (ERRNO_UNCHANGED): Likewise.
1679         (ERRNO_EDOM): Likewise.
1680         (ERRNO_ERANGE): Likewise.
1681         (IGNORE_RESULT): Likewise.
1682         (NON_FINITE): Likewise.
1683         (TEST_SNAN): Likewise.
1684         (NO_TEST_MATHVEC): Likewise.
1685         (__CONCATX): Likewise.
1686         (TYPE_MIN): Likewise.
1687         (TYPE_TRUE_MIN): Likewise.
1688         (TYPE_MAX): Likewise.
1689         (MIN_EXP): Likewise.
1690         (MAX_EXP): Likewise.
1691         (MANT_DIG): Likewise.
1692         (FSTR_MAX): Likewise.
1693         (ulp_idx): Likewise.
1694         (qtype_str): Remove static.
1695         (TEST_COND_binary32): Remove.
1696         (TEST_COND_binary64): Likewise.
1697         (TEST_COND_binary128): Likewise.
1698         (TEST_COND_ibm128): Likewise.
1699         (TEST_COND_intel96): Likewise.
1700         (TEST_COND_m68k96): Likewise.
1701         (TEST_COND_ibm128_libgcc): Likewise.
1702         (XFAIL_IBM128_LIBGCC): Likewise.
1703         (PAYLOAD_DIG): Likewise.
1704         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1705         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1706         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1707         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1708         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1709         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1710         (TEST_COND_long32): Likewise.
1711         (TEST_COND_long64): Likewise.
1712         (TEST_COND_before_rounding): Likewise.
1713         (TEST_COND_after_rounding): Likewise.
1714         (ulps_file_name): Likewise.
1715         (ulps_file): Likewise.
1716         (output_ulps): Likewise.
1717         (output_dir): Likewise.
1718         (noErrors): Likewise.
1719         (noTests): Likewise.
1720         (noExcTests): Likewise.
1721         (noErrnoTests): Likewise.
1722         (verbose): Likewise.
1723         (output_max_error): Likewise.
1724         (output_points): Likewise.
1725         (ignore_max_ulp): Likewise.
1726         (max_error): Likewise.
1727         (real_max_error): Likewise.
1728         (imag_max_error): Likewise.
1729         (prev_max_error): Likewise.
1730         (prev_real_max_error): Likewise.
1731         (prev_imag_max_error): Likewise.
1732         (max_valid_error): Likewise.
1733         (TYPE_DECIMAL_DIG): Likewise.
1734         (TYPE_HEX_DIG): Likewise.
1735         (fmt_ftostr): Likewise.
1736         (compare_ulp_data): Likewise.
1737         (find_ulps): Likewise.
1738         (init_max_error): Likewise.
1739         (set_max_error): Likewise.
1740         (print_float): Likewise.
1741         (print_screen): Likewise.
1742         (print_screen_max_error): Likewise.
1743         (update_stats): Likewise.
1744         (print_function_ulps): Likewise.
1745         (print_complex_function_ulps): Likewise.
1746         (fpstack_test): Likewise.
1747         (print_max_error): Likewise.
1748         (print_complex_max_error): Likewise.
1749         (test_single_exception): Likewise.
1750         (test_exceptions): Likewise.
1751         (test_single_errno): Likewise.
1752         (test_errno): Likewise.
1753         (ULPDIFF): Likewise.
1754         (ulp): Likewise.
1755         (check_float_internal): Likewise.
1756         (check_float): Likewise.
1757         (check_complex): Likewise.
1758         (check_int): Likewise.
1759         (check_long): Likewise.
1760         (check_bool): Likewise.
1761         (check_longlong): Likewise.
1762         (check_intmax_t): Likewise.
1763         (check_uintmax_t): Likewise.
1764         (enable_test): Likewise.
1765         (matherr): Likewise.
1766         (initialize): Likewise.
1767         (options): Likewise.
1768         (doc): Remove static.
1769         (argp): Likewise.
1770         (parse_opt): Remove.
1771         (check_ulp): Likewise.
1772         (libm_test_init): Likewise.
1773         (libm_test_finish): Likewise.
1774         * math/Makefile (libm-test-support): New variable.
1775         (test-extras): Add libm-test-support files.
1776         (extra-test-objs): Likewise.
1777         (CFLAGS-libm-test-support-float.c): New variable.
1778         (CFLAGS-libm-test-support-double.c): Likewise.
1779         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1780         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1781         libm-test-support objects.
1783 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1785         * math/Makefile (libm-calls): Move w_exp...
1786         (libm-compat-calls-auto): Here.
1788         * math/w_expl.c: Add suffix "_compat" to filename.
1789         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1790         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1791         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1792         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1793         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1794         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1795         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1796         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1798         * math/w_expl_compat.c: New file, copied from above.
1799         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1800         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1801         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1802         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1803         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1804         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1805         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1806         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1808         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1809         to filename.
1810         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1812         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1813         copied from above and adjusted for the new filenames.
1814         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1816 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1818         * math/Makefile (libm-calls): Move w_lgammaF...
1819         (libm-compat-calls-auto): Here.
1821         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1822         * math/w_lgammaf.c: Likewise.
1823         * math/w_lgammal.c: Likewise.
1825         * math/w_lgamma_compat2.c: New file, copied from above.
1826         * math/w_lgammaf_compat2.c: Likewise.
1827         * math/w_lgammal_compat2.c: Likewise.
1829 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1831         * math/Makefile (libm-calls): Move w_lgammaF_r...
1832         (libm-compat-calls-auto): Here.
1834         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1835         * math/w_lgammaf_r.c: Likewise.
1836         * math/w_lgammal_r.c: Likewise.
1837         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1838         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1839         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1841         * math/w_lgamma_r_compat.c: New file, copied from above.
1842         * math/w_lgammaf_r_compat.c: Likewise.
1843         * math/w_lgammal_r_compat.c: Likewise.
1844         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1845         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1846         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1848         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1849         to filename.
1850         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1852         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1853         copied from above and adjusted for the new filenames.
1854         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1856 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1858         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1859         calculation in SYSCALL_ERROR_HANDLER().
1861 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1863         * manual/contrib.texi: Fix typo.
1865 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1867         [BZ #21109]
1868         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1869         tunable_val_t as argument.
1870         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1871         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1872         argument.
1873         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1875 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1877         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1878         Add PTRACE_EVENT_STOP.
1879         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1880         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1881         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1882         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1883         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1884         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1886 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1888         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1889         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1890         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1891         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1892         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1893         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1894         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1895         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1896         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1897         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1899         [BZ #21112]
1900         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1901         12 bits zero.
1902         (cp_l): Update for new value of cp_h.
1903         * math/auto-libm-test-in: Add another test of pow.
1904         * math/auto-libm-test-out-pow: Regenerated.
1906 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1908         * manual/contrib.texi: Fix typo.
1910 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1912         [BZ #15998]
1913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1914         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1917 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1919         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1920         STRCHR as __strchr_power8.
1921         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1922         strlen as __strlen_power8.
1924 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1926         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1927         unaligned load for shorter strings.
1928         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1930 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1932         * math/libm-test-driver.c (flag_test_errno): New variable.
1933         (flag_test_exceptions): Likewise.
1934         (flag_test_finite): Likewise.
1935         (flag_test_inline): Likewise.
1936         (flag_test_mathvec): Likewise.
1937         (test_msg): Likewise.
1938         (ulp_idx): Likewise.
1939         (qtype_str): Likewise.
1940         (ULP_IDX): Remove macro.
1941         (QTYPE_STR): Likewise.
1942         (find_ulps): Use ulp_idx not ULP_IDX.
1943         (print_function_ulps): Use qtype_str, printed with %s, not
1944         QTYPE_STR, printed with concatentation to format string.
1945         (print_complex_function_ulps): Likewise.
1946         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1947         (test_errno): Use flag_test_errno not TEST_ERRNO.
1948         (enable_test): Use flag_test_inline, flag_test_finite and
1949         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1950         TEST_MATHVEC.
1951         (libm_test_init): New function.  Factored out of main.
1952         (libm_test_finish): Likewise.
1953         (main): Call libm_test_init and libm_test_finish and move most
1954         code to those functions.
1956         * math/libm-test-driver.c (STRX): New macro.
1957         (STR): Likewise.
1958         (STR_FLOAT): Likewise.
1959         (STR_VEC_LEN): Likewise.
1960         (TEST_MSG): Likewise.  Define here instead of expecting to be
1961         defined by including file.
1962         * math/test-double-finite.c (TEST_MSG): Remove macro.
1963         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1964         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1965         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1966         * math/test-double.c (TEST_MSG): Likewise.
1967         * math/test-float-finite.c (TEST_MSG): Likewise.
1968         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1969         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1970         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1971         * math/test-float.c (TEST_MSG): Likewise.
1972         * math/test-idouble.c (TEST_MSG): Likewise.
1973         * math/test-ifloat.c (TEST_MSG): Likewise.
1974         * math/test-ildouble.c (TEST_MSG): Likewise.
1975         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1976         * math/test-ldouble.c (TEST_MSG): Likewise.
1978         * math/libm-test.inc: Move all tests of individual functions to
1979         libm-test-*.inc and #include libm-test-*.c files.
1980         (acos_test_data): Remove.
1981         (acos_test): Likewise.
1982         (acosh_test_data): Likewise.
1983         (acosh_test): Likewise.
1984         (asin_test_data): Likewise.
1985         (asin_test): Likewise.
1986         (asinh_test_data): Likewise.
1987         (asinh_test): Likewise.
1988         (atan_test_data): Likewise.
1989         (atan_test): Likewise.
1990         (atanh_test_data): Likewise.
1991         (atanh_test): Likewise.
1992         (atan2_test_data): Likewise.
1993         (atan2_test): Likewise.
1994         (cabs_test_data): Likewise.
1995         (cabs_test): Likewise.
1996         (cacos_test_data): Likewise.
1997         (cacos_test): Likewise.
1998         (cacosh_test_data): Likewise.
1999         (cacosh_test): Likewise.
2000         (canonicalize_test_data): Likewise.
2001         (canonicalize_test): Likewise.
2002         (carg_test_data): Likewise.
2003         (carg_test): Likewise.
2004         (casin_test_data): Likewise.
2005         (casin_test): Likewise.
2006         (casinh_test_data): Likewise.
2007         (casinh_test): Likewise.
2008         (catan_test_data): Likewise.
2009         (catan_test): Likewise.
2010         (catanh_test_data): Likewise.
2011         (catanh_test): Likewise.
2012         (cbrt_test_data): Likewise.
2013         (cbrt_test): Likewise.
2014         (ccos_test_data): Likewise.
2015         (ccos_test): Likewise.
2016         (ccosh_test_data): Likewise.
2017         (ccosh_test): Likewise.
2018         (ceil_test_data): Likewise.
2019         (ceil_test): Likewise.
2020         (cexp_test_data): Likewise.
2021         (cexp_test): Likewise.
2022         (cimag_test_data): Likewise.
2023         (cimag_test): Likewise.
2024         (clog_test_data): Likewise.
2025         (clog_test): Likewise.
2026         (clog10_test_data): Likewise.
2027         (clog10_test): Likewise.
2028         (conj_test_data): Likewise.
2029         (conj_test): Likewise.
2030         (copysign_test_data): Likewise.
2031         (copysign_test): Likewise.
2032         (cos_test_data): Likewise.
2033         (cos_test): Likewise.
2034         (cosh_test_data): Likewise.
2035         (cosh_test): Likewise.
2036         (cpow_test_data): Likewise.
2037         (cpow_test): Likewise.
2038         (cproj_test_data): Likewise.
2039         (cproj_test): Likewise.
2040         (creal_test_data): Likewise.
2041         (creal_test): Likewise.
2042         (csin_test_data): Likewise.
2043         (csin_test): Likewise.
2044         (csinh_test_data): Likewise.
2045         (csinh_test): Likewise.
2046         (csqrt_test_data): Likewise.
2047         (csqrt_test): Likewise.
2048         (ctan_test_data): Likewise.
2049         (ctan_test): Likewise.
2050         (ctanh_test_data): Likewise.
2051         (ctanh_test): Likewise.
2052         (erf_test_data): Likewise.
2053         (erf_test): Likewise.
2054         (erfc_test_data): Likewise.
2055         (erfc_test): Likewise.
2056         (exp_test_data): Likewise.
2057         (exp_test): Likewise.
2058         (exp10_test_data): Likewise.
2059         (exp10_test): Likewise.
2060         (pow10_test): Likewise.
2061         (exp2_test_data): Likewise.
2062         (exp2_test): Likewise.
2063         (expm1_test_data): Likewise.
2064         (expm1_test): Likewise.
2065         (fabs_test_data): Likewise.
2066         (fabs_test): Likewise.
2067         (fdim_test_data): Likewise.
2068         (fdim_test): Likewise.
2069         (floor_test_data): Likewise.
2070         (floor_test): Likewise.
2071         (fma_test_data): Likewise.
2072         (fma_test): Likewise.
2073         (fmax_test_data): Likewise.
2074         (fmax_test): Likewise.
2075         (fmaxmag_test_data): Likewise.
2076         (fmaxmag_test): Likewise.
2077         (fmin_test_data): Likewise.
2078         (fmin_test): Likewise.
2079         (fminmag_test_data): Likewise.
2080         (fminmag_test): Likewise.
2081         (fmod_test_data): Likewise.
2082         (fmod_test): Likewise.
2083         (fpclassify_test_data): Likewise.
2084         (fpclassify_test): Likewise.
2085         (frexp_test_data): Likewise.
2086         (frexp_test): Likewise.
2087         (fromfp_test_data): Likewise.
2088         (fromfp_test): Likewise.
2089         (fromfpx_test_data): Likewise.
2090         (fromfpx_test): Likewise.
2091         (getpayload_test_data): Likewise.
2092         (getpayload_test): Likewise.
2093         (hypot_test_data): Likewise.
2094         (hypot_test): Likewise.
2095         (ilogb_test_data): Likewise.
2096         (ilogb_test): Likewise.
2097         (iscanonical_test_data): Likewise.
2098         (iscanonical_test): Likewise.
2099         (iseqsig_test_data): Likewise.
2100         (iseqsig_test): Likewise.
2101         (isfinite_test_data): Likewise.
2102         (isfinite_test): Likewise.
2103         (finite_test): Likewise.
2104         (isgreater_test_data): Likewise.
2105         (isgreater_test): Likewise.
2106         (isgreaterequal_test_data): Likewise.
2107         (isgreaterequal_test): Likewise.
2108         (isinf_test_data): Likewise.
2109         (isinf_test): Likewise.
2110         (isless_test_data): Likewise.
2111         (isless_test): Likewise.
2112         (islessequal_test_data): Likewise.
2113         (islessequal_test): Likewise.
2114         (islessgreater_test_data): Likewise.
2115         (islessgreater_test): Likewise.
2116         (isnan_test_data): Likewise.
2117         (isnan_test): Likewise.
2118         (isnormal_test_data): Likewise.
2119         (isnormal_test): Likewise.
2120         (issignaling_test_data): Likewise.
2121         (issignaling_test): Likewise.
2122         (issubnormal_test_data): Likewise.
2123         (issubnormal_test): Likewise.
2124         (isunordered_test_data): Likewise.
2125         (isunordered_test): Likewise.
2126         (iszero_test_data): Likewise.
2127         (iszero_test): Likewise.
2128         (j0_test_data): Likewise.
2129         (j0_test): Likewise.
2130         (j1_test_data): Likewise.
2131         (j1_test): Likewise.
2132         (jn_test_data): Likewise.
2133         (jn_test): Likewise.
2134         (lgamma_test_data): Likewise.
2135         (lgamma_test): Likewise.
2136         (gamma_test): Likewise.
2137         (llogb_test_data): Likewise.
2138         (llogb_test): Likewise.
2139         (lrint_test_data): Likewise.
2140         (lrint_test): Likewise.
2141         (llrint_test_data): Likewise.
2142         (llrint_test): Likewise.
2143         (log_test_data): Likewise.
2144         (log_test): Likewise.
2145         (log10_test_data): Likewise.
2146         (log10_test): Likewise.
2147         (log1p_test_data): Likewise.
2148         (log1p_test): Likewise.
2149         (log2_test_data): Likewise.
2150         (log2_test): Likewise.
2151         (logb_test_data): Likewise.
2152         (logb_test): Likewise.
2153         (lround_test_data): Likewise.
2154         (lround_test): Likewise.
2155         (llround_test_data): Likewise.
2156         (llround_test): Likewise.
2157         (modf_test_data): Likewise.
2158         (modf_test): Likewise.
2159         (nearbyint_test_data): Likewise.
2160         (nearbyint_test): Likewise.
2161         (nextafter_test_data): Likewise.
2162         (nextafter_test): Likewise.
2163         (nextup_test_data): Likewise.
2164         (nextup_test): Likewise.
2165         (nextdown_test_data): Likewise.
2166         (nextdown_test): Likewise.
2167         (nexttoward_test_data): Likewise.
2168         (nexttoward_test): Likewise.
2169         (pow_test_data): Likewise.
2170         (pow_test): Likewise.
2171         (remainder_test_data): Likewise.
2172         (remainder_test): Likewise.
2173         (drem_test): Likewise.
2174         (remquo_test_data): Likewise.
2175         (remquo_test): Likewise.
2176         (rint_test_data): Likewise.
2177         (rint_test): Likewise.
2178         (round_test_data): Likewise.
2179         (round_test): Likewise.
2180         (roundeven_test_data): Likewise.
2181         (roundeven_test): Likewise.
2182         (scalb_test_data): Likewise.
2183         (scalb_test): Likewise.
2184         (scalbn_test_data): Likewise.
2185         (scalbn_test): Likewise.
2186         (ldexp_test): Likewise.
2187         (scalbln_test_data): Likewise.
2188         (scalbln_test): Likewise.
2189         (setpayload_test_data): Likewise.
2190         (setpayload_test): Likewise.
2191         (setpayloadsig_test_data): Likewise.
2192         (setpayloadsig_test): Likewise.
2193         (signbit_test_data): Likewise.
2194         (signbit_test): Likewise.
2195         (sin_test_data): Likewise.
2196         (sin_test): Likewise.
2197         (sincos_test_data): Likewise.
2198         (sincos_test): Likewise.
2199         (sinh_test_data): Likewise.
2200         (sinh_test): Likewise.
2201         (sqrt_test_data): Likewise.
2202         (sqrt_test): Likewise.
2203         (tan_test_data): Likewise.
2204         (tan_test): Likewise.
2205         (tanh_test_data): Likewise.
2206         (tanh_test): Likewise.
2207         (tgamma_test_data): Likewise.
2208         (tgamma_test): Likewise.
2209         (totalorder_test_data): Likewise.
2210         (totalorder_test): Likewise.
2211         (totalordermag_test_data): Likewise.
2212         (totalordermag_test): Likewise.
2213         (trunc_test_data): Likewise.
2214         (trunc_test): Likewise.
2215         (ufromfp_test_data): Likewise.
2216         (ufromfp_test): Likewise.
2217         (ufromfpx_test_data): Likewise.
2218         (ufromfpx_test): Likewise.
2219         (y0_test_data): Likewise.
2220         (y0_test): Likewise.
2221         (y1_test_data): Likewise.
2222         (y1_test): Likewise.
2223         (yn_test_data): Likewise.
2224         (yn_test): Likewise.
2225         (significand_test_data): Likewise.
2226         (significand_test): Likewise.
2227         * math/Makefile (auto-libm-test-out-files): Remove variable.
2228         (libm-test-funcs-noauto): New variable.
2229         (libm-test-funcs-all): Likewise.
2230         (libm-test-c-auto): Likewise.
2231         (libm-test-c-noauto): Likewise.
2232         (libm-tests-generated): Add $(libm-test-c-auto) and
2233         $(libm-test-c-noauto).
2234         (generated): Do not add auto-libm-test-out.
2235         (libm-test-c-auto-obj): New variable.
2236         (libm-test-c-noauto-obj): Likewise.
2237         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2238         ($(libm-test-c-noauto-obj)): New static pattern rule.
2239         ($(libm-test-c-auto-obj)): Likewise.
2240         (libm-test-incs): New variable.
2241         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2242         and pass it to gen-libm-have-vector-test.sh.
2243         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2244         be passed on command line.
2245         * math/libm-test-acos.inc: New file.  Content from
2246         math/libm-test.inc.
2247         * math/libm-test-acosh.inc: Likewise.
2248         * math/libm-test-asin.inc: Likewise.
2249         * math/libm-test-asinh.inc: Likewise.
2250         * math/libm-test-atan.inc: Likewise.
2251         * math/libm-test-atan2.inc: Likewise.
2252         * math/libm-test-atanh.inc: Likewise.
2253         * math/libm-test-cabs.inc: Likewise.
2254         * math/libm-test-cacos.inc: Likewise.
2255         * math/libm-test-cacosh.inc: Likewise.
2256         * math/libm-test-canonicalize.inc: Likewise.
2257         * math/libm-test-carg.inc: Likewise.
2258         * math/libm-test-casin.inc: Likewise.
2259         * math/libm-test-casinh.inc: Likewise.
2260         * math/libm-test-catan.inc: Likewise.
2261         * math/libm-test-catanh.inc: Likewise.
2262         * math/libm-test-cbrt.inc: Likewise.
2263         * math/libm-test-ccos.inc: Likewise.
2264         * math/libm-test-ccosh.inc: Likewise.
2265         * math/libm-test-ceil.inc: Likewise.
2266         * math/libm-test-cexp.inc: Likewise.
2267         * math/libm-test-cimag.inc: Likewise.
2268         * math/libm-test-clog.inc: Likewise.
2269         * math/libm-test-clog10.inc: Likewise.
2270         * math/libm-test-conj.inc: Likewise.
2271         * math/libm-test-copysign.inc: Likewise.
2272         * math/libm-test-cos.inc: Likewise.
2273         * math/libm-test-cosh.inc: Likewise.
2274         * math/libm-test-cpow.inc: Likewise.
2275         * math/libm-test-cproj.inc: Likewise.
2276         * math/libm-test-creal.inc: Likewise.
2277         * math/libm-test-csin.inc: Likewise.
2278         * math/libm-test-csinh.inc: Likewise.
2279         * math/libm-test-csqrt.inc: Likewise.
2280         * math/libm-test-ctan.inc: Likewise.
2281         * math/libm-test-ctanh.inc: Likewise.
2282         * math/libm-test-erf.inc: Likewise.
2283         * math/libm-test-erfc.inc: Likewise.
2284         * math/libm-test-exp.inc: Likewise.
2285         * math/libm-test-exp10.inc: Likewise.
2286         * math/libm-test-exp2.inc: Likewise.
2287         * math/libm-test-expm1.inc: Likewise.
2288         * math/libm-test-fabs.inc: Likewise.
2289         * math/libm-test-fdim.inc: Likewise.
2290         * math/libm-test-floor.inc: Likewise.
2291         * math/libm-test-fma.inc: Likewise.
2292         * math/libm-test-fmax.inc: Likewise.
2293         * math/libm-test-fmaxmag.inc: Likewise.
2294         * math/libm-test-fmin.inc: Likewise.
2295         * math/libm-test-fminmag.inc: Likewise.
2296         * math/libm-test-fmod.inc: Likewise.
2297         * math/libm-test-fpclassify.inc: Likewise.
2298         * math/libm-test-frexp.inc: Likewise.
2299         * math/libm-test-fromfp.inc: Likewise.
2300         * math/libm-test-fromfpx.inc: Likewise.
2301         * math/libm-test-getpayload.inc: Likewise.
2302         * math/libm-test-hypot.inc: Likewise.
2303         * math/libm-test-ilogb.inc: Likewise.
2304         * math/libm-test-iscanonical.inc: Likewise.
2305         * math/libm-test-iseqsig.inc: Likewise.
2306         * math/libm-test-isfinite.inc: Likewise.
2307         * math/libm-test-isgreater.inc: Likewise.
2308         * math/libm-test-isgreaterequal.inc: Likewise.
2309         * math/libm-test-isinf.inc: Likewise.
2310         * math/libm-test-isless.inc: Likewise.
2311         * math/libm-test-islessequal.inc: Likewise.
2312         * math/libm-test-islessgreater.inc: Likewise.
2313         * math/libm-test-isnan.inc: Likewise.
2314         * math/libm-test-isnormal.inc: Likewise.
2315         * math/libm-test-issignaling.inc: Likewise.
2316         * math/libm-test-issubnormal.inc: Likewise.
2317         * math/libm-test-isunordered.inc: Likewise.
2318         * math/libm-test-iszero.inc: Likewise.
2319         * math/libm-test-j0.inc: Likewise.
2320         * math/libm-test-j1.inc: Likewise.
2321         * math/libm-test-jn.inc: Likewise.
2322         * math/libm-test-lgamma.inc: Likewise.
2323         * math/libm-test-llogb.inc: Likewise.
2324         * math/libm-test-llrint.inc: Likewise.
2325         * math/libm-test-llround.inc: Likewise.
2326         * math/libm-test-log.inc: Likewise.
2327         * math/libm-test-log10.inc: Likewise.
2328         * math/libm-test-log1p.inc: Likewise.
2329         * math/libm-test-log2.inc: Likewise.
2330         * math/libm-test-logb.inc: Likewise.
2331         * math/libm-test-lrint.inc: Likewise.
2332         * math/libm-test-lround.inc: Likewise.
2333         * math/libm-test-modf.inc: Likewise.
2334         * math/libm-test-nearbyint.inc: Likewise.
2335         * math/libm-test-nextafter.inc: Likewise.
2336         * math/libm-test-nextdown.inc: Likewise.
2337         * math/libm-test-nexttoward.inc: Likewise.
2338         * math/libm-test-nextup.inc: Likewise.
2339         * math/libm-test-pow.inc: Likewise.
2340         * math/libm-test-remainder.inc: Likewise.
2341         * math/libm-test-remquo.inc: Likewise.
2342         * math/libm-test-rint.inc: Likewise.
2343         * math/libm-test-round.inc: Likewise.
2344         * math/libm-test-roundeven.inc: Likewise.
2345         * math/libm-test-scalb.inc: Likewise.
2346         * math/libm-test-scalbln.inc: Likewise.
2347         * math/libm-test-scalbn.inc: Likewise.
2348         * math/libm-test-setpayload.inc: Likewise.
2349         * math/libm-test-setpayloadsig.inc: Likewise.
2350         * math/libm-test-signbit.inc: Likewise.
2351         * math/libm-test-significand.inc: Likewise.
2352         * math/libm-test-sin.inc: Likewise.
2353         * math/libm-test-sincos.inc: Likewise.
2354         * math/libm-test-sinh.inc: Likewise.
2355         * math/libm-test-sqrt.inc: Likewise.
2356         * math/libm-test-tan.inc: Likewise.
2357         * math/libm-test-tanh.inc: Likewise.
2358         * math/libm-test-tgamma.inc: Likewise.
2359         * math/libm-test-totalorder.inc: Likewise.
2360         * math/libm-test-totalordermag.inc: Likewise.
2361         * math/libm-test-trunc.inc: Likewise.
2362         * math/libm-test-ufromfp.inc: Likewise.
2363         * math/libm-test-ufromfpx.inc: Likewise.
2364         * math/libm-test-y0.inc: Likewise.
2365         * math/libm-test-y1.inc: Likewise.
2366         * math/libm-test-yn.inc: Likewise.
2367         * math/README.libm-test: Update.
2369         * math/gen-auto-libm-tests.c: Update comment about use of program.
2370         (generate_output): Add argument FUNCTION.
2371         (main): Require extra argument.  Pass function name to
2372         generate_output.
2373         * math/Makefile (generated): Add auto-libm-test-out.
2374         (libm-test-funcs-auto): New variable.
2375         (auto-libm-test-out-files): New variable.
2376         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2377         Concatenate those files to form $(objpfx)auto-libm-test-out and
2378         use it as input to gen-libm-test.pl.
2379         * math/README.libm-test: Update.
2380         * math/auto-libm-test-out: Remove.
2381         * math/auto-libm-test-out-acos: New generated file.
2382         * math/auto-libm-test-out-acosh: Likewise.
2383         * math/auto-libm-test-out-asin: Likewise.
2384         * math/auto-libm-test-out-asinh: Likewise.
2385         * math/auto-libm-test-out-atan: Likewise.
2386         * math/auto-libm-test-out-atan2: Likewise.
2387         * math/auto-libm-test-out-atanh: Likewise.
2388         * math/auto-libm-test-out-cabs: Likewise.
2389         * math/auto-libm-test-out-carg: Likewise.
2390         * math/auto-libm-test-out-cbrt: Likewise.
2391         * math/auto-libm-test-out-ccos: Likewise.
2392         * math/auto-libm-test-out-ccosh: Likewise.
2393         * math/auto-libm-test-out-cexp: Likewise.
2394         * math/auto-libm-test-out-clog: Likewise.
2395         * math/auto-libm-test-out-clog10: Likewise.
2396         * math/auto-libm-test-out-cos: Likewise.
2397         * math/auto-libm-test-out-cosh: Likewise.
2398         * math/auto-libm-test-out-cpow: Likewise.
2399         * math/auto-libm-test-out-csin: Likewise.
2400         * math/auto-libm-test-out-csinh: Likewise.
2401         * math/auto-libm-test-out-csqrt: Likewise.
2402         * math/auto-libm-test-out-ctan: Likewise.
2403         * math/auto-libm-test-out-ctanh: Likewise.
2404         * math/auto-libm-test-out-erf: Likewise.
2405         * math/auto-libm-test-out-erfc: Likewise.
2406         * math/auto-libm-test-out-exp: Likewise.
2407         * math/auto-libm-test-out-exp10: Likewise.
2408         * math/auto-libm-test-out-exp2: Likewise.
2409         * math/auto-libm-test-out-expm1: Likewise.
2410         * math/auto-libm-test-out-fma: Likewise.
2411         * math/auto-libm-test-out-hypot: Likewise.
2412         * math/auto-libm-test-out-j0: Likewise.
2413         * math/auto-libm-test-out-j1: Likewise.
2414         * math/auto-libm-test-out-jn: Likewise.
2415         * math/auto-libm-test-out-lgamma: Likewise.
2416         * math/auto-libm-test-out-log: Likewise.
2417         * math/auto-libm-test-out-log10: Likewise.
2418         * math/auto-libm-test-out-log1p: Likewise.
2419         * math/auto-libm-test-out-log2: Likewise.
2420         * math/auto-libm-test-out-pow: Likewise.
2421         * math/auto-libm-test-out-sin: Likewise.
2422         * math/auto-libm-test-out-sincos: Likewise.
2423         * math/auto-libm-test-out-sinh: Likewise.
2424         * math/auto-libm-test-out-sqrt: Likewise.
2425         * math/auto-libm-test-out-tan: Likewise.
2426         * math/auto-libm-test-out-tanh: Likewise.
2427         * math/auto-libm-test-out-tgamma: Likewise.
2428         * math/auto-libm-test-out-y0: Likewise.
2429         * math/auto-libm-test-out-y1: Likewise.
2430         * math/auto-libm-test-out-yn: Likewise.
2432         * math/Makefile (generated): Do not include libm-test.stmp.
2433         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2434         on $(objpfx)libm-test.stmp.
2435         ($(objpfx)libm-test.stmp): Remove rule.
2436         ($(objpfx)libm-test-ulps.h): New rule.
2437         ($(objpfx)libm-test.c): Likewise.
2438         ($(objpfx)libm-have-vector-test.h): Likewise.
2439         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2440         individual generated files, not libm-test.stmp.
2442         * math/gen-libm-test.pl ($output_dir): Remove variable.
2443         ($srcdir): Likewise.
2444         ($opt_a): New variable.
2445         ($opt_c): Likewise.
2446         ($opt_C): Likewise.
2447         ($opt_H): Likewise.
2448         (-n): Make option take argument and use it as NewUlps output.
2449         (-a): New option.  Use its argument for auto-libm-test-out input.
2450         (-c): New option.  Use its argument for libm-test.inc input.
2451         (-C): New option.  Use its argument for libm-test.c output.
2452         (-H): New option.  Use its argument for libm-test-ulps.h output.
2453         (top level): Only process inputs needed to generate outputs
2454         specified by command-line options.  Only generate outputs
2455         specified by command-line options.
2456         * math/README.libm-test: Update example gen-libm-test.pl command.
2457         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2458         commands.
2459         (regen-ulps): Likewise.
2461 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
2463         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2464         * include/string.h (index): Remove define.
2465         (rindex): Likewise.
2466         * misc/getttyent.c (__getttyent): Rename index to strchr.
2467         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2468         * sunrpc/rpc_main.c (mkfile_output): Likewise.
2470 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2472         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
2473         * math/libm-test.inc: Move all contents, other than tests of
2474         individual functions, to libm-test-driver.c.
2475         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2476         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2477         [!FE_UPWARD] (FE_UPWARD): Likewise.
2478         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2479         (NO_EXCEPTION): Likewise.
2480         (INVALID_EXCEPTION): Likewise.
2481         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2482         (OVERFLOW_EXCEPTION): Likewise.
2483         (UNDERFLOW_EXCEPTION): Likewise.
2484         (INEXACT_EXCEPTION): Likewise.
2485         (INVALID_EXCEPTION_OK): Likewise.
2486         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2487         (OVERFLOW_EXCEPTION_OK): Likewise.
2488         (UNDERFLOW_EXCEPTION_OK): Likewise.
2489         (NO_INEXACT_EXCEPTION): Likewise.
2490         (EXCEPTIONS_OK): Likewise.
2491         (IGNORE_ZERO_INF_SIGN): Likewise.
2492         (TEST_NAN_SIGN): Likewise.
2493         (TEST_NAN_PAYLOAD): Likewise.
2494         (NO_TEST_INLINE): Likewise.
2495         (XFAIL_TEST): Likewise.
2496         (ERRNO_UNCHANGED): Likewise.
2497         (ERRNO_EDOM): Likewise.
2498         (ERRNO_ERANGE): Likewise.
2499         (IGNORE_RESULT): Likewise.
2500         (NON_FINITE): Likewise.
2501         (TEST_SNAN): Likewise.
2502         (NO_TEST_MATHVEC): Likewise.
2503         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2504         (__CONCATX): Likewise.
2505         (TYPE_MIN): Likewise.
2506         (TYPE_TRUE_MIN): Likewise.
2507         (TYPE_MAX): Likewise.
2508         (MIN_EXP): Likewise.
2509         (MAX_EXP): Likewise.
2510         (MANT_DIG): Likewise.
2511         (FSTR_MAX): Likewise.
2512         (ULP_IDX): Likewise.
2513         (QTYPE_STR): Likewise.
2514         (TEST_COND_binary32): Likewise.
2515         (TEST_COND_binary64): Likewise.
2516         (TEST_COND_binary128): Likewise.
2517         (TEST_COND_ibm128): Likewise.
2518         (TEST_COND_intel96): Likewise.
2519         (TEST_COND_m68k96): Likewise.
2520         (TEST_COND_ibm128_libgcc): Likewise.
2521         (XFAIL_IBM128_LIBGCC): Likewise.
2522         (PAYLOAD_DIG): Likewise.
2523         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2524         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2525         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2526         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2527         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2528         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2529         (TEST_COND_long32): Likewise.
2530         (TEST_COND_long64): Likewise.
2531         (TEST_COND_before_rounding): Likewise.
2532         (TEST_COND_after_rounding): Likewise.
2533         (lit_pi_3_m_4_d): Likewise.
2534         (lit_pi_3_m_4_ln10_m_d): Likewise.
2535         (lit_pi_2_ln10_m_d): Likewise.
2536         (lit_pi_4_ln10_m_d): Likewise.
2537         (lit_pi_ln10_d): Likewise.
2538         (lit_pi_2_d): Likewise.
2539         (lit_pi_4_d): Likewise.
2540         (lit_pi): Likewise.
2541         (lit_e): Likewise.
2542         (ulps_file_name): Likewise.
2543         (ulps_file): Likewise.
2544         (output_ulps): Likewise.
2545         (output_dir): Likewise.
2546         (noErrors): Likewise.
2547         (noTests): Likewise.
2548         (noExcTests): Likewise.
2549         (noErrnoTests): Likewise.
2550         (verbose): Likewise.
2551         (output_max_error): Likewise.
2552         (output_points): Likewise.
2553         (ignore_max_ulp): Likewise.
2554         (plus_zero): Likewise.
2555         (minus_zero): Likewise.
2556         (plus_infty): Likewise.
2557         (minus_infty): Likewise.
2558         (qnan_value_pl): Likewise.
2559         (qnan_value): Likewise.
2560         (snan_value_pl): Likewise.
2561         (snan_value): Likewise.
2562         (max_value): Likewise.
2563         (min_value): Likewise.
2564         (min_subnorm_value): Likewise.
2565         (snan_value_ld): Likewise.
2566         (max_error): Likewise.
2567         (real_max_error): Likewise.
2568         (imag_max_error): Likewise.
2569         (prev_max_error): Likewise.
2570         (prev_real_max_error): Likewise.
2571         (prev_imag_max_error): Likewise.
2572         (max_valid_error): Likewise.
2573         (TYPE_DECIMAL_DIG): Likewise.
2574         (TYPE_HEX_DIG): Likewise.
2575         (fmt_ftostr): Likewise.
2576         (compare_ulp_data): Likewise.
2577         (find_ulps): Likewise.
2578         (init_max_error): Likewise.
2579         (set_max_error): Likewise.
2580         (print_float): Likewise.
2581         (print_screen): Likewise.
2582         (print_screen_max_error): Likewise.
2583         (update_stats): Likewise.
2584         (print_function_ulps): Likewise.
2585         (print_complex_function_ulps): Likewise.
2586         (fpstack_test): Likewise.
2587         (print_max_error): Likewise.
2588         (print_complex_max_error): Likewise.
2589         (test_single_exception): Likewise.
2590         (test_exceptions): Likewise.
2591         (test_single_errno): Likewise.
2592         (test_errno): Likewise.
2593         (ULPDIFF): Likewise.
2594         (ulp): Likewise.
2595         (check_float_internal): Likewise.
2596         (check_float): Likewise.
2597         (check_complex): Likewise.
2598         (check_int): Likewise.
2599         (check_long): Likewise.
2600         (check_bool): Likewise.
2601         (check_longlong): Likewise.
2602         (check_intmax_t): Likewise.
2603         (check_uintmax_t): Likewise.
2604         (enable_test): Likewise.
2605         (struct test_f_f_data): Likewise.
2606         (struct test_ff_f_data): Likewise.
2607         (struct test_fj_f_data): Likewise.
2608         (struct test_fi_f_data): Likewise.
2609         (struct test_fl_f_data): Likewise.
2610         (struct test_if_f_data): Likewise.
2611         (struct test_fff_f_data): Likewise.
2612         (struct test_fiu_M_data): Likewise.
2613         (struct test_fiu_U_data): Likewise.
2614         (struct test_c_f_data): Likewise.
2615         (struct test_f_f1_data): Likewise.
2616         (struct test_fF_f1_data): Likewise.
2617         (struct test_ffI_f1_data): Likewise.
2618         (struct test_c_c_data): Likewise.
2619         (struct test_cc_c_data): Likewise.
2620         (struct test_f_i_data): Likewise.
2621         (struct test_ff_i_data): Likewise.
2622         (struct test_f_l_data): Likewise.
2623         (struct test_f_L_data): Likewise.
2624         (struct test_fFF_11_data): Likewise.
2625         (struct test_Ff_b1_data): Likewise.
2626         (IF_ROUND_INIT_): Likewise.
2627         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2628         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2629         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2630         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2631         (ROUND_RESTORE_): Likewise.
2632         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2633         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2634         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2635         (ROUND_RESTORE_FE_UPWARD): Likewise.
2636         (RM_): Likewise.
2637         (RM_FE_DOWNWARD): Likewise.
2638         (RM_FE_TONEAREST): Likewise.
2639         (RM_FE_TOWARDZERO): Likewise.
2640         (RM_FE_UPWARD): Likewise.
2641         (COMMON_TEST_SETUP): Likewise.
2642         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2643         (COMMON_TEST_CLEANUP): Likewise.
2644         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2645         (RUN_TEST_f_f): Likewise.
2646         (RUN_TEST_LOOP_f_f): Likewise.
2647         (RUN_TEST_fp_f): Likewise.
2648         (RUN_TEST_LOOP_fp_f): Likewise.
2649         (RUN_TEST_2_f): Likewise.
2650         (RUN_TEST_LOOP_2_f): Likewise.
2651         (RUN_TEST_ff_f): Likewise.
2652         (RUN_TEST_LOOP_ff_f): Likewise.
2653         (RUN_TEST_LOOP_fj_f): Likewise.
2654         (RUN_TEST_fi_f): Likewise.
2655         (RUN_TEST_LOOP_fi_f): Likewise.
2656         (RUN_TEST_fl_f): Likewise.
2657         (RUN_TEST_LOOP_fl_f): Likewise.
2658         (RUN_TEST_if_f): Likewise.
2659         (RUN_TEST_LOOP_if_f): Likewise.
2660         (RUN_TEST_fff_f): Likewise.
2661         (RUN_TEST_LOOP_fff_f): Likewise.
2662         (RUN_TEST_fiu_M): Likewise.
2663         (RUN_TEST_LOOP_fiu_M): Likewise.
2664         (RUN_TEST_fiu_U): Likewise.
2665         (RUN_TEST_LOOP_fiu_U): Likewise.
2666         (RUN_TEST_c_f): Likewise.
2667         (RUN_TEST_LOOP_c_f): Likewise.
2668         (RUN_TEST_f_f1): Likewise.
2669         (RUN_TEST_LOOP_f_f1): Likewise.
2670         (RUN_TEST_fF_f1): Likewise.
2671         (RUN_TEST_LOOP_fF_f1): Likewise.
2672         (RUN_TEST_fI_f1): Likewise.
2673         (RUN_TEST_LOOP_fI_f1): Likewise.
2674         (RUN_TEST_ffI_f1_mod8): Likewise.
2675         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2676         (RUN_TEST_Ff_b1): Likewise.
2677         (RUN_TEST_LOOP_Ff_b1): Likewise.
2678         (RUN_TEST_Ffp_b1): Likewise.
2679         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2680         (RUN_TEST_c_c): Likewise.
2681         (RUN_TEST_LOOP_c_c): Likewise.
2682         (RUN_TEST_cc_c): Likewise.
2683         (RUN_TEST_LOOP_cc_c): Likewise.
2684         (RUN_TEST_f_i): Likewise.
2685         (RUN_TEST_LOOP_f_i): Likewise.
2686         (RUN_TEST_f_i_tg): Likewise.
2687         (RUN_TEST_LOOP_f_i_tg): Likewise.
2688         (RUN_TEST_ff_b): Likewise.
2689         (RUN_TEST_LOOP_ff_b): Likewise.
2690         (RUN_TEST_ff_i_tg): Likewise.
2691         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2692         (RUN_TEST_f_b): Likewise.
2693         (RUN_TEST_LOOP_f_b): Likewise.
2694         (RUN_TEST_f_b_tg): Likewise.
2695         (RUN_TEST_LOOP_f_b_tg): Likewise.
2696         (RUN_TEST_f_l): Likewise.
2697         (RUN_TEST_LOOP_f_l): Likewise.
2698         (RUN_TEST_f_L): Likewise.
2699         (RUN_TEST_LOOP_f_L): Likewise.
2700         (RUN_TEST_fFF_11): Likewise.
2701         (RUN_TEST_LOOP_fFF_11): Likewise.
2702         (VEC_SUFF): Likewise.
2703         (STR_CONCAT): Likewise.
2704         (STR_CON3): Likewise.
2705         (HAVE_VECTOR): Likewise.
2706         (START): Likewise.
2707         (END): Likewise.
2708         (END_COMPLEX): Likewise.
2709         (ALL_RM_TEST): Likewise.
2710         (matherr): Likewise.
2711         (initialize): Likewise.
2712         (options): Likewise.
2713         (doc): Likewise.
2714         (parse_opt): Likewise.
2715         (argp): Likewise.
2716         (check_ulp): Likewise.
2717         (main): Likewise.
2718         (do_test): New function.  Call tests of individual functions
2719         previously called from main.
2721         * math/libm-test.inc: Remove comment listing functions tested and
2722         not tested.
2724 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2726         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2727         (allocate_stack): Remove COLORING_INCREMENT usage.
2728         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2729         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2731 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2733         * manual/libm-err-tab.pl (@all_functions): Change to
2734         %all_functions.  Initialize as empty.
2735         (parse_ulps): Add to %all_functions based on functions found in
2736         ulps files.  Ignore results for non-default rounding modes and
2737         vector functions.
2738         (print_platforms): Use %all_platforms.
2739         * manual/math.texi (Errors in Math Functions): Document omissions
2740         from the table.
2742         * math/Makefile (before-compile): Remove.
2744 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2746         [BZ #21075]
2747         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2748         unused assignment.
2749         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2751 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2753         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2754         Add __glibc_unlikely hint.
2756 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2758         [BZ #16640]
2759         * sysdeps/i386/i686/strtok.S: Remove file.
2760         * sysdeps/i386/i686/strtok_r.S: Likewise.
2761         * sysdeps/i386/strtok.S: Likewise.
2762         * sysdeps/i386/strtok_r.S: Likewise.
2763         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2764         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2765         * sysdeps/x86_64/strtok.S: Likewise.
2766         * sysdeps/x86_64/strtok_r.S: Likewise.
2768         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2769         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2770         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2771         (__ASSUME_FADVISE64_AS_64_64): Define.
2772         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2773         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2774         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2775         __ALIGNMENT_ARG usage.
2776         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2777         __NR_fadvise64_64 if it is not defined.
2779 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2781         * version.h (RELEASE): Set to "development"
2782         (VERSION): Set to 2.25.90.
2783         * NEWS: Add 2.26 section.
2785         * version.h (RELEASE): Set to "stable"
2786         (VERSION): Set to 2.25.
2787         * include/features.h (__GLIBC_MINOR__): Set to 25.
2789         * manual/contrib.texi: Add more contributors from this release
2790         and past releases.
2792         * NEWS (2.25): Add list of bugs fixed.
2794         * NEWS: Add missing news items.
2796 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2798         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2799         parent if child exited in that manner.  Print WEXITSTATUS
2800         instead of the raw status.
2801         (do_test_prep): Rename to do_test.
2802         (do_test): Return the result of run_executable_sgid.
2803         (TEST_FUNCTION_ARGV): Adjust.
2805 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2806             Florian Weimer  <fweimer@redhat.com>
2807             Carlos O'Donell  <carlos@redhat.com>
2809         [BZ #20915]
2810         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2811         Do not initialize DTV.
2812         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2814 2017-02-03  David S. Miller  <davem@davemloft.net>
2816         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2817         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2818         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2819         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2820         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2824         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2825         (libm-sysdep_routines): Update.
2826         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2827         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2831         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2832         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2833         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2834         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2836         Likewise.
2837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2839         Likewise.
2840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2842         Likewise.
2843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2845         Likewise.
2846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2848         (libm-sysdep_routines): Update.
2850 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2852         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2853         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2854         against unrelocated shared library.
2855         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2857 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2859         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2860         * elf/tst-env-setuid-tunables.c
2861         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2862         GLIBC_TUNABLES is removed in a setgid process.
2864         [BZ #21073]
2865         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2866         * elf/dl-tunables.c (tunables_strdup): Remove.
2867         (get_next_env): Also return the previous envp.
2868         (parse_tunables): Erase tunables of category
2869         TUNABLES_SECLEVEL_SXID_ERASE.
2870         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2871         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2872         (__tunables_init)[TUNABLES_FRONTEND ==
2873         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2874         after parsing.
2875         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2876         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2877         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2878         to security_level.
2879         * elf/dl-tunables.list: Add security_level annotations for all
2880         tunables.
2881         * scripts/gen-tunables.awk: Recognize and generate enum values
2882         for security_level.
2883         * elf/tst-env-setuid.c: New test case.
2884         * elf/tst-env-setuid-tunables: new test case.
2885         * elf/Makefile (tests-static): Add them.
2887 2017-02-01  Richard Henderson  <rth@twiddle.net>
2889         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2890         adjusting the byte count.
2892 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2894         * conform/Makefile (linknamespace-libs): Define.
2896         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2897         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2898         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2899         operands.
2901 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2903         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2905 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2907         [BZ #21081]
2908         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2909         (L(stosb)): Add VZEROUPPER before ret.
2911 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2912             Alexey Makhalov <amakhalov@vmware.com>
2913             Florian Weimer <fweimer@redhat.com>
2915         [BZ #20116]
2916         * nptl/pthread_create.c: Document concurrency notes.
2917         Enhance thread creation notes.
2918         (create_thread): Use bool *stopped_start.
2919         (START_THREAD_DEFN): Comment ownership of PD.
2920         (__pthread_create_2_1): Add local bool stopped_start and use
2921         that instead of pd->stopped_start where appropriate.
2922         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2923         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2924         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2925         * nptl/tst-create-detached.c: New file.
2926         * nptl/Makefile (tests): Add tst-create-detached.
2927         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2928         Reference the enhanced thread creation notes.
2929         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2930         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2931         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2932         (__pthread_current_priority): Likewise.
2933         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2934         xpthread_attr_init, xpthread_attr_setdetachstate, and
2935         xpthread_attr_setstacksize.
2936         * support/xpthread_attr_destroy.c: New file.
2937         * support/xpthread_attr_init.c: New file.
2938         * support/xpthread_attr_setdetachstate.c: New file.
2939         * support/xpthread_attr_setstacksize.c: New file.
2940         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2941         xpthread_attr_init, xpthread_attr_setdetachstate, and
2942         xpthread_attr_setstacksize.
2944 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2946         * nptl/Makefile (tests): Add tst-robust-fork.
2947         * nptl/tst-robust-fork.c: New file.
2948         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2949         xpthread_mutex_consistent, xpthread_mutex_destroy,
2950         xpthread_mutex_init, xpthread_mutexattr_destroy,
2951         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2952         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2953         xpthread_mutexattr_settype.
2954         * support/xmmap.c: New file.
2955         * support/xmunmap.c: Likewise.
2956         * support/xpthread_mutex_consistent.c: Likewise.
2957         * support/xpthread_mutex_destroy.c: Likewise.
2958         * support/xpthread_mutex_init.c: Likewise.
2959         * support/xpthread_mutexattr_destroy.c: Likewise.
2960         * support/xpthread_mutexattr_init.c: Likewise.
2961         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2962         * support/xpthread_mutexattr_setpshared.c: Likewise.
2963         * support/xpthread_mutexattr_setrobust.c: Likewise.
2964         * support/xpthread_mutexattr_settype.c: Likewise.
2965         * support/xthread.h (xpthread_mutexattr_destroy)
2966         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2967         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2968         (xpthread_mutexattr_settype, xpthread_mutex_init)
2969         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2970         * support/xunistd.h (xmmap, xmunmap): Likewise.
2972 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2974         * string/Makefile (xtests): Add comment.
2975         (LOCALES): Add en_GB.UTF-8.
2976         (tst-strcoll-overflow.out): Depend on generated locales.
2977         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2978         (SIZE, TIMEOUT): Update comments.
2979         (do_test): Define as static.  Fail test if setlocale fails.
2980         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2981         messages.
2982         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2983         TIMEOUT at 300 seconds should be enough to run this test
2984         successfully.
2986 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2988         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2989         /* FALLTHRU */ comments.
2991 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2993         [BZ #21053]
2994         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2995         constants instead of the old R* ones.
2996         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2997         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2998         (NGREG): ... to this, to fit in with other architectures.
2999         (gpregset_t): Use new NGREG macro.
3000         [__USE_GNU]: Remove condition; all architectures other than tile
3001         are unconditional.
3002         (R*): Rename to REG_R*.
3004 2017-01-20  DJ Delorie  <dj@redhat.com>
3006         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
3007         (tunable_set_val_if_valid_range_signed) ... this, and ...
3008         (tunable_set_val_if_valid_range_unsigned) ... this.
3009         (tunable_initialize): Call the correct one of the above based on type.
3011 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
3013         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
3014         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
3015         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
3016         * sysdeps/microblaze/libm-test-ulps: Likewise.
3017         * sysdeps/sh/libm-test-ulps: Likewise.
3019         * math/README.libm-test: Update list of characters for input and
3020         output types.
3022 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3024         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3025         (__lll_unlock_elision): Fix adapt_count decrement.
3027 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3029         * README.pretty-printers (Known issues): Warn about printers not
3030         always covering everything.
3031         * nptl/nptl-printers.py (MutexPrinter): Change output.
3032         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
3034 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3036         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
3037         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3038         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
3039         (__lll_lock_elision): Do not test futex before starting a
3040         transaction.  Use __glibc_likely instead of __builtin_expect.
3041         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
3042         (__lll_trylock_elision): Do not test futex before starting a
3043         transaction.  Use __glibc_likely instead of __builtin_expect.
3045 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3047         * po/Makefile (update-translations): New target.
3049 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3051         [BZ #21061]
3052         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3054 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3056         * elf/dl-tunables (get_next_env): Always advance envp.
3057         * stdlib/tst-empty-env.c: New test case.
3058         * stdlib/Makefile (tests): Use it.
3060 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3062         [BZ #21047]
3063         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3064         name for instruction.
3065         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3067 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3069         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3070         for make install.
3072 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3074         * po/bg.po: Merge from Translation Project.
3075         * po/fr.po: Likewise.
3076         * po/ko.po: Likewise.
3077         * po/nl.po: Likewise.
3078         * po/sv.po: Likewise.
3080 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3082         * manual/install.texi (Tools for Compilation): Update GCC version
3083         known to work to build glibc.
3084         * INSTALL: Regenerated.
3086 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3088         [BZ #21006]
3089         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3091 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3093         [BZ #21045]
3094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3095         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3096         to __sigprocmask.
3098 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3100         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3101         wrap-around.
3102         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3104         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3106 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3108         * NEWS: Fix typo.
3110 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3112         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3113         barriers and comments.
3114         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3115         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3116         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3118 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3120         [BZ #19402]
3121         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3122         mutexes.
3124 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3126         [BZ #20985]
3127         * nptl/Makefile: Adapt.
3128         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3129         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3130         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3131         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3132         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3133         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3134         lll_robust* functions and adapt.
3135         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3136         * sysdeps/nptl/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         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3140         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3141         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3142         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3143         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3144         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3145         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3146         * nptl/lowlevelrobustlock.c: Remove file.
3147         * nptl/lowlevelrobustlock.sym: Likewise.
3148         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3149         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3151 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3153         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3155 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3157         * po/cs.po: Merge translations from the Translation Project.
3158         * po/de.po: Likewise.
3159         * po/pl.po: Likewise.
3160         * po/ru.po: Likewise.
3161         * po/tr.po: Likewise.
3162         * po/uk.po: Likewise.
3163         * po/vi.po: Likewise.
3164         * po/zh_CN.po: Likewise.
3166 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3168         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3170         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3171         object.
3173 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3175         [BZ #16458]
3176         * bits/uintn-identity.h: New file.
3177         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3178         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3179         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3180         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3181         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3182         * string/endian.h: Include <bits/uintn-identity.h>.
3183         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3184         __uint16_identity.
3185         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3186         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3187         __uint32_identity.
3188         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3189         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3190         __uint64_identity.
3191         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3192         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3193         __uint16_identity.
3194         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3195         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3196         __uint32_identity.
3197         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3198         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3199         __uint64_identity.
3200         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3201         * string/Makefile (headers): Add bits/uintn-identity.h.
3202         (tests): Add test-endian-types.
3203         * string/test-endian-types.c: New file.
3204         * inet/Makefile (tests): Add test-hnto-types.
3205         * inet/test-hnto-types.c: New file.
3207 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3209         * po/be.po: Update from Translation Project.
3210         * po/bg.po: Likewise.
3211         * po/ca.po: Likewise.
3212         * po/cs.po: Likewise.
3213         * po/da.po: Likewise.
3214         * po/de.po: Likewise.
3215         * po/el.po: Likewise.
3216         * po/eo.po: Likewise.
3217         * po/es.po: Likewise.
3218         * po/fi.po: Likewise.
3219         * po/fr.po: Likewise.
3220         * po/gl.po: Likewise.
3221         * po/hr.po: Likewise.
3222         * po/hu.po: Likewise.
3223         * po/ia.po: Likewise.
3224         * po/id.po: Likewise.
3225         * po/it.po: Likewise.
3226         * po/ja.po: Likewise.
3227         * po/ko.po: Likewise.
3228         * po/lt.po: Likewise.
3229         * po/nb.po: Likewise.
3230         * po/nl.po: Likewise.
3231         * po/pl.po: Likewise.
3232         * po/pt_BR.po: Likewise.
3233         * po/ru.po: Likewise.
3234         * po/rw.po: Likewise.
3235         * po/sk.po: Likewise.
3236         * po/sl.po: Likewise.
3237         * po/sv.po: Likewise.
3238         * po/tr.po: Likewise.
3239         * po/uk.po: Likewise.
3240         * po/vi.po: Likewise.
3241         * po/zh_CN.po: Likewise.
3242         * po/zh_TW.po: Likewise.
3244 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3246         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3247         -Wformat-truncation instead of -Wformat-length.
3248         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3249         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3250         GCC 7.
3251         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3252         (do_test): Ignore -Wformat-truncation for GCC 7.
3254         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3255         buffer used to print long int value.
3257         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3258         one byte.  Print it with %ld, cast to long int.
3260 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3262         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3263         (re.fullmatch, subprocess.run): Likewise.
3265 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3267         * po/libc.pot: Regenerate.
3269 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3271         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3272         (min_strlen): Likewise.
3273         (disable_tunable): Likewise.
3274         (maybe_disable_malloc_check): Rename to
3275         maybe_enable_malloc_check.
3276         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3277         if /etc/suid-debug file exists.
3278         (__tunables_init): Update caller.
3279         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3280         secure.
3282 2016-01-10  Torvald Riegel  <triegel@redhat.com>
3284         * nptl/DESIGN-rwlock.txt: Remove.
3285         * nptl/lowlevelrwlock.sym: Remove.
3286         * nptl/Makefile: Add new tests.
3287         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
3288         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3289         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3290         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3291         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3292         PTHREAD_RWLOCK_FUTEX_USED): New.
3293         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3294         implementation.
3295         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3296         (__pthread_rwlock_rdlock): Adapt.
3297         * nptl/pthread_rwlock_timedrdlock.c
3298         (pthread_rwlock_timedrdlock): Adapt.
3299         * nptl/pthread_rwlock_timedwrlock.c
3300         (pthread_rwlock_timedwrlock): Adapt.
3301         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3302         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3303         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3304         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3305         (__pthread_rwlock_wrlock): Adapt.
3306         * nptl/tst-rwlock10.c: Adapt.
3307         * nptl/tst-rwlock11.c: Adapt.
3308         * nptl/tst-rwlock17.c: New file.
3309         * nptl/tst-rwlock18.c: New file.
3310         * nptl/tst-rwlock19.c: New file.
3311         * nptl/tst-rwlock2b.c: New file.
3312         * nptl/tst-rwlock8.c: Adapt.
3313         * nptl/tst-rwlock9.c: Adapt.
3314         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3315         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3316         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3317         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3318         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3319         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3320         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3321         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3322         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3323         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3324         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3325         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3326         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3327         (pthread_rwlock_t): Adapt.
3328         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3329         (pthread_rwlock_t): Adapt.
3330         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3331         * nptl/nptl-printers.py (): Adapt.
3332         * nptl/nptl_lock_constants.pysym: Adapt.
3333         * nptl/test-rwlock-printers.py: Adapt.
3334         * nptl/test-rwlockattr-printers.c: Adapt.
3335         * nptl/test-rwlockattr-printers.py: Adapt.
3337 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3339         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3340         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3341         (fma_test_data): Likewise.
3342         (hypot_test_data): Likewise.
3343         (log1p_test_data): Likewise.
3344         (modf_test_data): Likewise.
3345         (pow_test_data): Likewise.
3346         (remainder_test_data): Likewise.
3347         (remquo_test_data): Likewise.
3348         (scalb_test_data): Likewise.
3349         (scalbn_test_data): Likewise.
3350         (scalbln_test_data): Likewise.
3351         * math/gen-libm-test.pl (parse_args): Transform
3352         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3353         on the rounding mode.
3355 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3357         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3358         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3359         and those that can underflow to zero.
3360         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3361         add others.
3362         * math/auto-libm-test-out: Regenerated.
3364         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3365         supported.
3366         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3367         modes support if not supported.
3369         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3370         Add libc.so PLT entry.
3371         (__tls_get_addr): Make ld.so PLT entry optional.
3373 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3375         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3376         * string/bits/string3.h: ... here.
3378 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3380         [BZ #21028]
3381         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3382         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3383         if EXCEPTION_TESTS returns false.
3385 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3387         [BZ #20558]
3388         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3389         strings_fortified.h.
3390         [__USE_MISC] (bzero): Likewise.
3391         [__USE_MISC] (explicit_bzero): Likewise.
3392         * string/strings.h: Include strings_fortified.h.
3393         * string/Makefile (headers): Add strings_fortified.h.
3394         * string/bits/strings_fortified.h: New file.
3395         * include/bits/strings_fortified.h: Likewise.
3397 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3399         * elf/tst-tls13.c (TIMEOUT): Remove.
3400         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3401         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3402         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3403         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3404         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3406         [BZ #21026]
3407         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3408         (readahead): New syscall entry.
3410 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3412         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3413         around tests of strncat with large sizes.
3415         * malloc/tst-malloc.c: Include <libc-internal.h>.
3416         (do_test): Disable -Walloc-size-larger-than= around tests of
3417         malloc with negative sizes.
3418         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3419         (do_test): Disable -Walloc-size-larger-than= around tests of
3420         malloc and realloc with negative sizes.
3421         * malloc/tst-realloc.c: Include <libc-internal.h>.
3422         (do_test): Disable -Walloc-size-larger-than= around tests of
3423         realloc with negative sizes.
3425         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3426         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3427         allowed to 16 ulps.
3428         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3429         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
3430         * math/auto-libm-test-out: Regenerated.
3432 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3434         * math/Makefile (libm-calls): Move wrappers...
3435         (libm-compat-call-auto): Here.
3436         (libm-routines): Add items in libm-compat-calls-auto.
3437         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3438         the filenames of the wrappers that have been renamed.
3439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3442         * math/w_acos.c: Add _compat suffix to filename.
3443         * math/w_acosf.c: Likewise.
3444         * math/w_acosh.c: Likewise.
3445         * math/w_acoshf.c: Likewise.
3446         * math/w_acoshl.c: Likewise.
3447         * math/w_acosl.c: Likewise.
3448         * math/w_asin.c: Likewise.
3449         * math/w_asinf.c: Likewise.
3450         * math/w_asinl.c: Likewise.
3451         * math/w_atan2.c: Likewise.
3452         * math/w_atan2f.c: Likewise.
3453         * math/w_atan2l.c: Likewise.
3454         * math/w_atanh.c: Likewise.
3455         * math/w_atanhf.c: Likewise.
3456         * math/w_atanhl.c: Likewise.
3457         * math/w_cosh.c: Likewise.
3458         * math/w_coshf.c: Likewise.
3459         * math/w_coshl.c: Likewise.
3460         * math/w_exp10.c: Likewise.
3461         * math/w_exp10f.c: Likewise.
3462         * math/w_exp10l.c: Likewise.
3463         * math/w_exp2.c: Likewise.
3464         * math/w_exp2f.c: Likewise.
3465         * math/w_exp2l.c: Likewise.
3466         * math/w_fmod.c: Likewise.
3467         * math/w_fmodf.c: Likewise.
3468         * math/w_fmodl.c: Likewise.
3469         * math/w_hypot.c: Likewise.
3470         * math/w_hypotf.c: Likewise.
3471         * math/w_hypotl.c: Likewise.
3472         * math/w_j0.c: Likewise.
3473         * math/w_j0f.c: Likewise.
3474         * math/w_j0l.c: Likewise.
3475         * math/w_j1.c: Likewise.
3476         * math/w_j1f.c: Likewise.
3477         * math/w_j1l.c: Likewise.
3478         * math/w_jn.c: Likewise.
3479         * math/w_jnf.c: Likewise.
3480         * math/w_jnl.c: Likewise.
3481         * math/w_log10.c: Likewise.
3482         * math/w_log10f.c: Likewise.
3483         * math/w_log10l.c: Likewise.
3484         * math/w_log2.c: Likewise.
3485         * math/w_log2f.c: Likewise.
3486         * math/w_log2l.c: Likewise.
3487         * math/w_log.c: Likewise.
3488         * math/w_logf.c: Likewise.
3489         * math/w_logl.c: Likewise.
3490         * math/w_pow.c: Likewise.
3491         * math/w_powf.c: Likewise.
3492         * math/w_powl.c: Likewise.
3493         * math/w_remainder.c: Likewise.
3494         * math/w_remainderf.c: Likewise.
3495         * math/w_remainderl.c: Likewise.
3496         * math/w_scalb.c: Likewise.
3497         * math/w_scalbf.c: Likewise.
3498         * math/w_scalbl.c: Likewise.
3499         * math/w_sinh.c: Likewise.
3500         * math/w_sinhf.c: Likewise.
3501         * math/w_sinhl.c: Likewise.
3502         * math/w_sqrt.c: Likewise.
3503         * math/w_sqrtf.c: Likewise.
3504         * math/w_sqrtl.c: Likewise.
3505         * math/w_tgamma.c: Likewise.
3506         * math/w_tgammaf.c: Likewise.
3507         * math/w_tgammal.c: Likewise.
3509         * math/w_acos_compat.c: New file copied from above and
3510         adjusted for new #includes path
3511         * math/w_acosf_compat.c: Likewise.
3512         * math/w_acosh_compat.c: Likewise.
3513         * math/w_acoshf_compat.c: Likewise.
3514         * math/w_acoshl_compat.c: Likewise.
3515         * math/w_acosl_compat.c: Likewise.
3516         * math/w_asin_compat.c: Likewise.
3517         * math/w_asinf_compat.c: Likewise.
3518         * math/w_asinl_compat.c: Likewise.
3519         * math/w_atan2_compat.c: Likewise.
3520         * math/w_atan2f_compat.c: Likewise.
3521         * math/w_atan2l_compat.c: Likewise.
3522         * math/w_atanh_compat.c: Likewise.
3523         * math/w_atanhf_compat.c: Likewise.
3524         * math/w_atanhl_compat.c: Likewise.
3525         * math/w_cosh_compat.c: Likewise.
3526         * math/w_coshf_compat.c: Likewise.
3527         * math/w_coshl_compat.c: Likewise.
3528         * math/w_exp10_compat.c: Likewise.
3529         * math/w_exp10f_compat.c: Likewise.
3530         * math/w_exp10l_compat.c: Likewise.
3531         * math/w_exp2_compat.c: Likewise.
3532         * math/w_exp2f_compat.c: Likewise.
3533         * math/w_exp2l_compat.c: Likewise.
3534         * math/w_fmod_compat.c: Likewise.
3535         * math/w_fmodf_compat.c: Likewise.
3536         * math/w_fmodl_compat.c: Likewise.
3537         * math/w_hypot_compat.c: Likewise.
3538         * math/w_hypotf_compat.c: Likewise.
3539         * math/w_hypotl_compat.c: Likewise.
3540         * math/w_j0_compat.c: Likewise.
3541         * math/w_j0f_compat.c: Likewise.
3542         * math/w_j0l_compat.c: Likewise.
3543         * math/w_j1_compat.c: Likewise.
3544         * math/w_j1f_compat.c: Likewise.
3545         * math/w_j1l_compat.c: Likewise.
3546         * math/w_jn_compat.c: Likewise.
3547         * math/w_jnf_compat.c: Likewise.
3548         * math/w_jnl_compat.c: Likewise.
3549         * math/w_log10_compat.c: Likewise.
3550         * math/w_log10f_compat.c: Likewise.
3551         * math/w_log10l_compat.c: Likewise.
3552         * math/w_log2_compat.c: Likewise.
3553         * math/w_log2f_compat.c: Likewise.
3554         * math/w_log2l_compat.c: Likewise.
3555         * math/w_log_compat.c: Likewise.
3556         * math/w_logf_compat.c: Likewise.
3557         * math/w_logl_compat.c: Likewise.
3558         * math/w_pow_compat.c: Likewise.
3559         * math/w_powf_compat.c: Likewise.
3560         * math/w_powl_compat.c: Likewise.
3561         * math/w_remainder_compat.c: Likewise.
3562         * math/w_remainderf_compat.c: Likewise.
3563         * math/w_remainderl_compat.c: Likewise.
3564         * math/w_scalb_compat.c: Likewise.
3565         * math/w_scalbf_compat.c: Likewise.
3566         * math/w_scalbl_compat.c: Likewise.
3567         * math/w_sinh_compat.c: Likewise.
3568         * math/w_sinhf_compat.c: Likewise.
3569         * math/w_sinhl_compat.c: Likewise.
3570         * math/w_sqrt_compat.c: Likewise.
3571         * math/w_sqrtf_compat.c: Likewise.
3572         * math/w_sqrtl_compat.c: Likewise.
3573         * math/w_tgamma_compat.c: Likewise.
3574         * math/w_tgammaf_compat.c: Likewise.
3575         * math/w_tgammal_compat.c: Likewise.
3577         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3578         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3579         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3580         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3581         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3582         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3583         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3584         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3585         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3586         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3587         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3588         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3589         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3590         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3591         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3592         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3593         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3594         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3595         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3596         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3597         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3598         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3599         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3600         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3601         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3602         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3603         * sysdeps/ia64/fpu/w_log.c: Likewise.
3604         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3605         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3606         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3607         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3608         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3609         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3610         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3611         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3612         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3613         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3614         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3615         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3616         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3617         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3618         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3619         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3620         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3621         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3622         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3623         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3624         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3625         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3626         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3627         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3628         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3629         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3630         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3631         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3632         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3633         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3634         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3635         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3636         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3637         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3638         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3639         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3640         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3641         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3642         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3643         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3644         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3645         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3646         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3647         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3648         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3649         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3650         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3651         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3652         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3653         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3654         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3655         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3656         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3657         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3658         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3659         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3660         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3661         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3662         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3663         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3664         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3665         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3666         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3667         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3668         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3669         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3670         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3671         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3672         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3673         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3674         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3675         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3676         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3678         Likewise.
3679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3680         Likewise.
3681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3683         Likewise.
3684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3685         Likewise.
3686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3687         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3688         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3689         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3690         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3691         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3692         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3697         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3698         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3699         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3700         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3702         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3703         and adjusted for new #includes path
3704         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3705         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3706         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3707         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3708         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3709         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3710         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3711         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3712         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3713         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3714         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3715         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3716         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3717         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3718         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3719         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3720         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3721         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3722         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3723         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3724         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3725         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3726         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3727         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3728         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3729         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3730         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3731         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3732         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3733         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3734         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3735         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3736         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3737         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3738         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3739         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3740         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3741         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3742         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3743         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3744         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3745         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3746         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3747         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3748         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3749         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3750         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3751         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3752         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3753         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3754         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3755         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3756         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3757         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3758         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3759         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3760         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3761         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3762         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3763         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3764         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3765         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3766         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3767         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3768         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3769         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3770         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3771         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3772         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3773         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3774         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3775         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3776         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3777         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3778         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3779         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3780         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3781         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3782         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3783         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3784         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3785         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3786         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3787         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3788         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3789         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3790         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3791         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3792         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3793         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3794         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3795         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3796         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3797         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3798         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3799         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3800         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3801         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3802         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3804         Likewise.
3805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3806         Likewise.
3807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3808         Likewise.
3809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3810         Likewise.
3811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3812         Likewise.
3813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3814         Likewise.
3815         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3816         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3817         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3818         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3819         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3820         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3822         Likewise.
3823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3824         Likewise.
3825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3826         Likewise.
3827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3828         Likewise.
3829         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3830         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3831         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3832         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3834 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3836         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3837         __jmp_buf_internal_tag.
3839         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3840         preserve NaN payload if [__mips_nan2008].
3841         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3843         [BZ #21022]
3844         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3846 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3848         * sysdeps/i386/fpu/libm-test-ulps: Update.
3850 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3852         * sysdeps/ia64/strcat.c: Remove file.
3853         * sysdeps/powerpc/strcat.c: Likewise.
3854         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3855         C implementation.
3856         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3857         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3859 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3860             Steven Munroe  <sjmunroe@us.ibm.com>
3861             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3863         [BZ #20822]
3864         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3865         (__lll_lock_elision): Access adapt_count via C11 atomics.
3866         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3867         (__lll_trylock_elision): Likewise.
3868         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3869         (__lll_unlock_elision):  Update adapt_count variable inside the
3870         critical section using C11 atomics.
3872 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3874         * math/test-fenvinline.c (do_test): Disable tests of raised
3875         exceptions if !EXCEPTION_TESTS (FLOAT).
3877 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3879         [BZ #19390]
3880         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3881         maximum string size.
3882         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3883         in pointer addition.
3884         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3885         Likewise.
3887 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3889         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3890         passed to tst-ldconfig-X.sh.
3892 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3894         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3896 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3898         [BZ #21019]
3899         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3900         New syscall entry.
3901         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3902         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3903         lseek.
3905         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3906         power4 glibc for powerpc-linux-gnu.
3908 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3910         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3911         semctl.
3913 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3915         * math/test-nearbyint-except.c: Include <stdbool.h>.
3916         (any_supported): New variable.
3917         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3918         set any_supported.
3919         (do_test): Return 77 if no floating-point type supported
3920         exceptions.
3922         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3923         condition on [__mips_hard_float].
3925 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3927         [BZ #21014]
3928         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3929         in pointer addition.
3930         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3932 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3934         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3935         new condvar.
3937 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3939         * scripts/build-many-glibcs.py (Context.checkout): Default
3940         binutils version to 2.28 branch.
3942 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3944         * support/support_format_netent.c (support_format_netent): Work
3945         around alpha struct netent definition difference.
3947 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3949         * support/xwrite.c (xwrite): Use %td for pointer difference.
3951 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3953         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3954         have-tunables only.
3955         (tests-static): Add tst-malloc-usable-static-tunables for
3956         have-tunables only.
3958 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3960         * scripts/config.guess: Update to version 2017-01-01.
3961         * scripts/config.sub: Update to version 2017-01-01.
3963         * NEWS: Update copyright dates.
3964         * catgets/gencat.c (print_version): Likewise.
3965         * csu/version.c (banner): Likewise.
3966         * debug/catchsegv.sh: Likewise.
3967         * debug/pcprofiledump.c (print_version): Likewise.
3968         * debug/xtrace.sh (do_version): Likewise.
3969         * elf/ldconfig.c (print_version): Likewise.
3970         * elf/ldd.bash.in: Likewise.
3971         * elf/pldd.c (print_version): Likewise.
3972         * elf/sotruss.sh: Likewise.
3973         * elf/sprof.c (print_version): Likewise.
3974         * iconv/iconv_prog.c (print_version): Likewise.
3975         * iconv/iconvconfig.c (print_version): Likewise.
3976         * locale/programs/locale.c (print_version): Likewise.
3977         * locale/programs/localedef.c (print_version): Likewise.
3978         * login/programs/pt_chown.c (print_version): Likewise.
3979         * malloc/memusage.sh (do_version): Likewise.
3980         * malloc/memusagestat.c (print_version): Likewise.
3981         * malloc/mtrace.pl: Likewise.
3982         * manual/libc.texinfo: Likewise.
3983         * nptl/version.c (banner): Likewise.
3984         * nscd/nscd.c (print_version): Likewise.
3985         * nss/getent.c (print_version): Likewise.
3986         * nss/makedb.c (print_version): Likewise.
3987         * posix/getconf.c (main): Likewise.
3988         * scripts/test-installation.pl: Likewise.
3989         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3991         * All files with FSF copyright notices: Update copyright dates
3992         using scripts/update-copyrights.
3993         * intl/plural.c: Regenerated.
3994         * locale/programs/charmap-kw.h: Likewise.
3995         * locale/programs/locfile-kw.h: Likewise.
3997 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3999         [BZ #20593]
4000         Update DNS RR type definitions.
4001         * scripts/gen-rrtypes.py: New file.
4002         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
4003         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
4004         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
4005         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
4006         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
4007         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
4008         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
4009         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
4010         ns_t_ta, ns_t_dlv.
4011         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
4012         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
4013         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
4014         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
4015         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
4016         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
4017         Define.
4018         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
4019         entry for ns_t_zxfr.
4021 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4023         [BZ #18784]
4024         CVE-2015-5180
4025         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
4026         T_UNSPEC.  Adjust value.
4027         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
4028         * resolv/res_query.c (__libc_res_nquery): Likewise.
4029         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
4030         QTYPEs.
4031         * resolv/tst-resolv-qtypes.c: New file.
4032         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
4033         (tst-resolv-qtypes): Link against libresolv and libpthread.
4035 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4037         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
4039 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4041         * manual/tunables.texi: New chapter.
4042         * manual/Makefile (chapters): Add it.
4043         * manual/probes.texi (@node): Point to the Tunables chapter.
4045         * Makeconfig (have-tunables): Check for non-negative instead
4046         of positive.
4047         * configure.ac: Add 'valstring' as a valid value for
4048         --enable-tunables.
4049         * configure: Regenerate.
4050         * elf/Makefile (have-tunables): Check for non-negative instead
4051         of positive.
4052         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
4053         dl-tunables.c.
4054         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4055         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4056         (tunables_strdup): Likewise.
4057         (disable_tunables): Likewise.
4058         (parse_tunables): Likewise.
4059         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4060         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4061         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4062         (TUNABLES_FRONTEND_yes): New macro, define as
4063         TUNABLES_FRONTEND_valstring by default.
4064         * manual/install.texi: Document new acceptable values for
4065         --enable-tunables.
4066         * INSTALL: Regenerate.
4068         * config.make.in (have-loop-to-function): Define.
4069         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4070         -fno-tree-loop-distribute-patterns.
4071         * elf/dl-tunables.c: Include libc-internals.h.
4072         (GLIBC_TUNABLES): New macro.
4073         (tunables_strdup): New function.
4074         (parse_tunables): New function.
4075         (min_strlen): New function.
4076         (__tunables_init): Use the new functions and macro.
4077         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4078         * malloc/tst-malloc-usable-tunables.c: New test case.
4079         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4080         * malloc/Makefile (tests, tests-static): Add tests.
4082         * manual/install.texi: Add --enable-tunables option.
4083         * INSTALL: Regenerate.
4084         * README.tunables: New file.
4085         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4086         (before-compile): Generate dl-tunable-list.h early.
4087         * config.h.in: Add HAVE_TUNABLES.
4088         * config.make.in: Add have-tunables.
4089         * configure.ac: Add --enable-tunables option.
4090         * configure: Regenerate.
4091         * csu/init-first.c (__libc_init_first): Move
4092         __libc_init_secure earlier...
4093         * csu/init-first.c (LIBC_START_MAIN):... to here.
4094         Include dl-tunables.h, libc-internal.h.
4095         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4096         binaries.
4097         * elf/Makefile (dl-routines): Add dl-tunables.
4098         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4099         namespace.
4100         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4101         only when !HAVE_TUNABLES.
4102         * elf/rtld.c (process_envvars): Likewise.
4103         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4104         (_dl_sysdep_start): Call __tunables_init.
4105         * elf/dl-tunable-types.h: New file.
4106         * elf/dl-tunables.c: New file.
4107         * elf/dl-tunables.h: New file.
4108         * elf/dl-tunables.list: New file.
4109         * malloc/tst-malloc-usable-static.c: New test case.
4110         * malloc/Makefile (tests-static): Add it.
4111         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4112         Define TUNABLE_NAMESPACE.
4113         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4114         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4115         callback functions.
4116         (ptmalloc_init): Set tunable values.
4117         * scripts/gen-tunables.awk: New file.
4118         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4119         (_dl_sysdep_start): Call __tunables_init.
4121 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4123         * resolv/resolv.h (RES_BLAST): Deprecate.
4124         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4125         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4126         to RES_BLAST.
4128 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4130         [BZ #19582]
4131         Deprecate RES_USE_INET6.
4132         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4133         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4134         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4135         RES_USE_INET6.
4136         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4137         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4138         (_nss_nisplus_gethostbyaddr_r): Likewise.
4139         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4140         of res_use_inet6.
4141         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4142         instead of RES_USE_INET6.
4143         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4144         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4145         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4146         Likewise.
4147         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4148         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4149         Likewise.
4150         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4151         (_nss_dns_gethostbyname_r): Likewise.
4152         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4153         alternate RES_USE_INET6 handling.
4154         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4155         instead of RES_USE_INET6.
4156         * resolv/res_init.c (res_setoptions): Likewise.
4157         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4158         * resolv/resolv-internal.h: New file.
4159         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4160         make the deprecation warning non-fatal.
4161         * resolv/README (Using the resolver in multi-threaded code): Drop
4162         reference to RES_USE_INET6.
4163         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4164         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4166 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4168         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4169         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4170         tst-resolv-search.
4171         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4172         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4173         with libresolv and libpthread.
4174         * resolv/tst-bug18665.c: New file.
4175         * resolv/tst-bug18665-tcp: Likewise.
4176         * resolv/tst-res_use_inet6: Likewise.
4177         * resolv/tst-resolv-basic: Likewise.
4178         * resolv/tst-resolv-network: Likewise.
4179         * resolv/tst-resolv-search: Likewise.
4180         * support/Makefile (libsupport-routines): Add check_addrinfo,
4181         check_dns_packet, check_hostent, check_netent, resolv_test,
4182         support_format_address_family, support_format_addrinfo,
4183         support_format_dns_packet, support_format_herrno,
4184         support_format_hostent, support_format_netent, support_run_diff,
4185         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4186         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4187         xstrdup, xwrite.
4188         * support/check_addrinfo.c: New file.
4189         * support/check_dns_packet.c: Likewise.
4190         * support/check_hostent.c: Likewise.
4191         * support/check_netent.c: Likewise.
4192         * support/check_nss.h: Likewise.
4193         * support/format_nss.h: Likewise.
4194         * support/resolv_test.c: Likewise.
4195         * support/resolv_test.h: Likewise.
4196         * support/run_diff.h: Likewise.
4197         * support/support_format_address_family.c: Likewise.
4198         * support/support_format_addrinfo.c: Likewise.
4199         * support/support_format_dns_packet.c: Likewise.
4200         * support/support_format_herrno.c: Likewise.
4201         * support/support_format_hostent.c: Likewise.
4202         * support/support_format_netent.c: Likewise.
4203         * support/support_run_diff.c: Likewise.
4204         * support/xaccept.c: Likewise.
4205         * support/xbind.c: Likewise.
4206         * support/xconnect.c: Likewise.
4207         * support/xfclose.c: Likewise.
4208         * support/xfopen.c: Likewise.
4209         * support/xgetsockname.c: Likewise.
4210         * support/xlisten.c: Likewise.
4211         * support/xmemstream.c: Likewise.
4212         * support/xmemstream.h: Likewise.
4213         * support/xpoll.c: Likewise.
4214         * support/xpthread_once.c: Likewise.
4215         * support/xrecvfrom.c: Likewise.
4216         * support/xsendto.c: Likewise.
4217         * support/xsetsockopt.c: Likewise.
4218         * support/xstdio.h: Likewise.
4219         * support/xstrdup.c: Likewise.
4220         * support/support.h (xstrdup): Declare.
4221         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4222         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4223         * support/xthread.h (xpthread_once): Likwise.
4224         * support/xunistd.h (xwrite): Declare.
4226 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4228         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4229         (test_verbose): Declare.
4230         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4231         * support/support_test_main.c (default_options): Likewise.
4232         (usage, support_test_main): Handle 'v'.
4233         (test_verbose): Define.
4234         * support/tst-support_record_failure.c (do_test): Use
4235         test_verbose.
4236         * support/tst-support_record_failure-2.sh (different_status): Add
4237         --verbose test.
4239 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4241         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4242         test failures are recorded.
4243         * support/check.c (support_print_failure_impl): Call
4244         support_record_failure.
4245         (support_exit_failure_impl): Call support_record_failure if status
4246         indicates failure.
4247         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4248         * support/xasprintf.c (xasprintf): Likewise.
4249         * support/xfork.c (xfork): Likewise.
4250         * support/xpthread_check_return.c (xpthread_check_return):
4251         Likewise.
4252         * support/xsocket.c (xsocket): Likeweise.
4253         * support/xwaitpid.c (xwaitpid): Likewise.
4254         * support/support_record_failure.c (struct test_failures): Adjust
4255         to coding style.
4256         * support/support_test_verify_impl.c (support_test_verify_impl):
4257         Adjust error messages.
4258         * support/tst-support_record_failure-2.sh (different_status):
4259         Adjust error messages.
4261 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4263         * support/namespace.h: New file.
4264         * support/support_become_root.c: Likewise.
4265         * support/support_enter_network_namespace.c: Likewise.
4266         * support/tst-support-namespace.c: Likewise.
4267         * support/xsocket.c: Likewise.
4268         * support/xsocket.h: Likewise.
4269         * support/Makefile (libsupport-routines): Add support_become_root,
4270         support_enter_network_namespace, xsocket.
4271         (tests): Add tst-support-namespace.
4273 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4275         [BZ #17252]
4276         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4277         __USE_GNU.
4279 2016-12-31  Torvald Riegel  <triegel@redhat.com>
4281         [BZ #13165]
4282         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4283         use new algorithm.
4284         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4285         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4286         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4287         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4288         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4289         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4290         __condvar_cleanup_waiting, __condvar_dec_grefs,
4291         __pthread_cond_wait_common): New.
4292         (__condvar_cleanup): Remove.
4293         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4294         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4295         Likewise.
4296         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4297         Likewise.
4298         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4299         * nptl/tst-cond1.c: Add comment.
4300         * nptl/tst-cond20.c (do_test): Adapt.
4301         * nptl/tst-cond22.c (do_test): Likewise.
4302         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4303         structure.
4304         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4305         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4306         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4307         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4308         Likewise.
4309         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4310         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4311         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4312         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4313         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4314         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4315         Likewise.
4316         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4317         Likewise.
4318         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4319         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4320         (COND_CLOCK_BITS): Adapt.
4321         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
4322         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4323         __PTHREAD_COND_SHARED_MASK): New.
4324         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4325         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4326         * nptl/nptl_lock_constants.pysym: Adapt.
4327         * nptl/test-cond-printers.py: Adapt.
4328         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4329         cond_compat_check_and_clear): Adapt.
4330         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4331         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4332         (__pthread_cond_timedwait): ... and move here.
4333         * nptl/DESIGN-condvar.txt: Remove file.
4334         * nptl/lowlevelcond.sym: Likewise.
4335         * nptl/pthread_cond_timedwait.c: Likewise.
4336         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4337         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4338         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4339         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4340         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4341         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4342         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4343         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4344         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4345         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4346         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4347         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4348         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4349         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4350         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4351         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4353 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4355         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4356         (fromfp): New declaration.
4357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4360         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4361         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4362         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4363         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4364         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4365         * math/math.h: Include <bits/types.h>.
4366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4367         constant and macro.
4368         (FP_INT_DOWNWARD): Likewise.
4369         (FP_INT_TOWARDZERO): Likewise.
4370         (FP_INT_TONEARESTFROMZERO): Likewise.
4371         (FP_INT_TONEAREST): Likewise.
4372         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4373         (fromfpf): Likewise.
4374         (fromfpl): Likewise.
4375         (ufromfp): Likewise.
4376         (ufromfpf): Likewise.
4377         (ufromfpl): Likewise.
4378         (fromfpx): Likewise.
4379         (fromfpxf): Likewise.
4380         (fromfpxl): Likewise.
4381         (ufromfpx): Likewise.
4382         (ufromfpxf): Likewise.
4383         (ufromfpxl): Likewise.
4384         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4385         s_fromfpxF and s_ufromfpxF.
4386         * math/gen-fromfp-tests.py: New file.
4387         * math/gen-fromfp-tests-inputs: Likewise.
4388         * math/libm-test.inc: Include <stdint.h>
4389         (check_intmax_t): New function.
4390         (check_uintmax_t): Likewise.
4391         (struct test_fiu_M_data): New type.
4392         (struct test_fiu_U_data): Likewise.
4393         (RUN_TEST_fiu_M): New macro.
4394         (RUN_TEST_LOOP_fiu_M): Likewise.
4395         (RUN_TEST_fiu_U): Likewise.
4396         (RUN_TEST_LOOP_fiu_U): Likewise.
4397         (fromfp_test_data): New array.
4398         (fromfp_test): New function.
4399         (fromfpx_test_data): New array.
4400         (fromfpx_test): New function.
4401         (ufromfp_test_data): New array.
4402         (ufromfp_test): New function.
4403         (ufromfpx_test_data): New array.
4404         (ufromfpx_test): New function.
4405         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4406         ufromfpx_test.
4407         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4408         characters.
4409         * math/test-tgmath-ret.c: Include <stdint.h>.
4410         (rm): New variable.
4411         (width): Likewise.
4412         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4413         called function.
4414         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4415         CHECK_RET_CONST_TYPE.
4416         (CHECK_RET_CONST_DOUBLE): Likewise.
4417         (CHECK_RET_CONST_LDOUBLE): Likewise.
4418         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4419         macros.
4420         (fromfp): New CHECK_RET_CONST call.
4421         (ufromfp): Likewise.
4422         (fromfpx): Likewise.
4423         (ufromfpx): Likewise.
4424         (do_test): Call check_return_fromfp, check_return_ufromfp,
4425         check_return_fromfpx and check_return_ufromfpx.
4426         * math/test-tgmath.c: Include <stdint.h>
4427         (NCALLS): Increase to 138.
4428         (F(compile_test)): Initialize i.  Call fromfp functions.
4429         (F(fromfp)): New function.
4430         (F(fromfpx)): Likewise.
4431         (F(ufromfp)): Likewise.
4432         (F(ufromfpx)): Likewise.
4433         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4434         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4435         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4436         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4437         ufromfpxl.
4438         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4439         ufromfp and ufromfpx.
4440         * math/fromfp.h: New file.
4441         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4442         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4443         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4444         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4445         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4446         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4447         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4448         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4449         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4450         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4451         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4452         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4453         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4455         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4456         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4457         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4458         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4459         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4460         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4461         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4462         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4463         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4464         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4465         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4466         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4467         ufromfp, fromfpx and ufromfpx.
4468         (CFLAGS-nldbl-fromfp.c): New variable.
4469         (CFLAGS-nldbl-fromfpx.c): Likewise.
4470         (CFLAGS-nldbl-ufromfp.c): Likewise.
4471         (CFLAGS-nldbl-ufromfpx.c): Likewise.
4472         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4473         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4474         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4475         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4476         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4477         * sysdeps/nacl/libm.abilist: Update.
4478         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4479         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4480         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4481         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4482         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4483         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4484         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4485         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4486         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4487         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4488         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4489         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4491         Likewise.
4492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4493         Likewise.
4494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4495         Likewise.
4496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4497         Likewise.
4498         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4499         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4500         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4501         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4502         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4503         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4504         Likewise.
4505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4506         Likewise.
4507         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4508         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4509         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4511 2016-12-30  Florian Weimer  <fweimer@redhat.com>
4513         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4514         compat-gethnamaddr.
4515         (CPPFLAGS): Remove.
4516         * resolv/gethnamaddr.c: Rename ...
4517         * resolv/compat-gethnamaddr.c: ... to this file.
4518         (_endhtent): Make static.
4519         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4520         symbol.
4521         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4522         compat symbol.
4523         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4524         symbol.
4525         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4526         Turn into compat symbol.
4527         * include/resolv.h (_endhtent): Remove declaration.
4529 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4531         * bits/types.h (__intmax_t): New typedef.
4532         (__uintmax_t): Likewise.
4533         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4534         (intmax_t): Define using __intmax_t.
4535         (uintmax_t): Define using __uintmax_t.
4537         * support/Makefile (tests-special): Make definition conditional on
4538         [$(run-built-tests) = yes].
4539         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4540         on [$(run-built-tests) = yes].
4542 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4544         * Rules (tests): Add tests-printers-programs to tests to be
4545         built.
4547 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4549         * sysvipc/Makefile (tests): Add test-sysvshm.
4550         * sysvipc/test-sysvshm.c: New file.
4552         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4553         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4554         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4555         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4556         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4557         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4558         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4559         Likewise.
4560         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4561         Likewise.
4562         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4563         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4564         is defined.
4566         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4567         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4568         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4569         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4570         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4571         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4572         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4573         Likewise.
4574         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4575         Likewise.
4576         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4577         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4578         defined.
4580         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4581         oldshmctl.
4582         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4583         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4584         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4585         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4586         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4587         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4588         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4589         Likewise.
4590         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4591         Likewise.
4592         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4593         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4594         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4595         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4596         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4597         implementation.
4598         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4599         if it is defined.
4601         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4602         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4603         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4604         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4605         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4606         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4607         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4608         Likewise.
4609         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4610         Likewise.
4611         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4612         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4613         Define to __NR_osf_shmat.
4614         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4615         defined.
4617         * sysvipc/Makefile (tests): Add test-sysvsem.
4618         * sysvipc/test-sysvsem.c: New file.
4620         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4621         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4622         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4623         Likewise.
4624         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4625         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4626         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4627         Likewise.
4628         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4629         Likewise.
4630         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4631         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4632         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4633         add a comment about s390 syscall difference from default one.
4634         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4635         syscall if it is defined.
4637         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4638         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4639         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4640         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4641         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4642         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4643         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4644         Likewise.
4645         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4646         Likewise.
4647         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4648         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4649         defined.
4651         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4652         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4653         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4654         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4655         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4656         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4657         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4658         Likewise.
4659         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4660         Likewise.
4661         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4662         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4663         if it is defined.
4665         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4666         oldsemctl.
4667         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4668         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4669         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4670         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4671         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4672         implementation.
4673         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4674         syscall if it is defined.
4675         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4676         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4677         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4678         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4679         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4680         Likewise.
4681         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4683         * sysvipc/Makefile (tests): Add test-sysvmsg.
4684         * sysvipc/test-sysvmsg.c: New file.
4685         * support/check.h (FAIL_UNSUPPORTED): New define.
4687         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4688         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4689         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4690         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4691         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4692         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4693         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4694         Likewise.
4695         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4696         Likewise.
4697         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4698         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4699         define.
4701         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4702         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4703         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4704         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4705         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4706         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4707         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4708         Likewise.
4709         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4710         Likewise.
4711         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4712         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4713         if defined.
4715         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4716         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4717         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4718         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4719         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4720         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4721         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4722         Likewise.
4723         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4724         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4725         Likewise.
4726         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4727         if defined.
4728         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4730         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4731         oldmsgctl.
4732         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4733         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4734         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4735         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4736         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4737         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4738         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4739         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4740         Likewise.
4741         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4742         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4743         implementation.
4744         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4745         if defined.
4747         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4748         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4749         definition and define its own.
4750         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4751         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4752         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4753         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4754         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4755         definitions to common header.
4756         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4757         operation from ipc_ops.h.
4759         * sysdeps/unix/sysv/linux/kernel-features.h
4760         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4761         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4762         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4763         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4764         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4765         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4766         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4767         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4768         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4769         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4770         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4771         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4772         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4773         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4774         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4776 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4778         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4779         overflow in pointer addition.
4781 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4783         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4784         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4785         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4786         (strchr): Add __strchr_power8 to list of strchr functions.
4787         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4788         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4789         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4790         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4791         (strchr): Add __strchr_power8 to ifunc list.
4792         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4793         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4794         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4795         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4797 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4799         * support/Makefile (libsupport-routines): Add
4800         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4801         (tests): Add tst-support_record_failure.
4802         (tests-special): tst-support_record_failure-2.
4803         (tst-support_record_failure-2.out): Depend on
4804         tst-support_record_failure-2.sh and tst-support_record_failure.
4805         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4806         (support_test_verify_impl, support_record_failure)
4807         (support_report_failure, support_report_failure_reset): Declare.
4808         * support/support_test_main.c (adjust_exit_status): New function.
4809         (support_test_main): Call it to incorporate record test failures.
4810         * support/support_test_verify_impl.c: New file.
4811         * support/support_record_failure.c: Likewise.
4812         * support/tst-support_record_failure.c: Likewise.
4813         * support/tst-support_record_failure-2.sh: Likewise.
4814         * support/xunistd.h: Likewise.
4815         * support/xfork.c: Likewise.
4816         * support/xwaitpid.c: Likewise.
4818 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4820         * scripts/check-c++-types.sh: Add comments.
4822 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4824         [BZ #19514]
4825         * resolv/res_send.c: Fix typo in comment.
4826         * sysdeps/i386/i386-mcount.S: Likewise.
4827         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4828         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4829         * sysdeps/sparc/sparc-mcount.S: Likewise.
4831 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4833         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4834         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4835         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4836         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4837         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4838         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4839         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4840         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4842 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4844         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4846 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4848         [BZ #17252]
4849         * posix/unistd.h (getentropy): Declare.
4851 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4853         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4854         Remove.
4855         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4856         (cmd): Remove spoof, nospoof, spoofalert.
4857         (parse_line): Ignore spoof-related lines.
4858         (do_init): Do not process RESOLV_SPOOF_CHECK.
4860 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4862         [BZ #20964]
4863         sunrpc: Always obtain AF_INET addresses from NSS.
4864         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4865         * sunrpc/rpc_gethostbyname.c: New file.
4866         * sunrpc/Makefile (routines): Add it.
4867         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4868         * sunrpc/clnt_simp.c (callrpc): Likewise.
4869         * sunrpc/getrpcport.c (getrpcport): Likewise.
4871 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4873         * sunrpc/rpcinfo.c: Remove.
4874         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4876 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4878         [BZ# 19387]
4879         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4880         addition.
4881         * string/test-memchr.c (do_test): Remove alignment limitation.
4882         (test_main): Add test that trigger BZ# 19387.
4884 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4886         [BZ #7065]
4887         Enable stack protectore if requested by ./configure.
4888         * Makeconfig (+stack-protector): New variable.
4889         (+cflags): Use it.
4891 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4893         [BZ #7065]
4894         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4895         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4896         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4897         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4898         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4900 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4902         [BZ #7065]
4903         * login/Makefile (pt_chown-cflags): Remove.
4904         * nscd/Makefile (CFLAGS-nscd): Likewise.
4905         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4907 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4909         [BZ #7065]
4910         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4911         non-libc-linking testcase.
4913 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4914             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4915             Florian Weimer  <fweimer@redhat.com>
4917         [BZ #7065]
4918         PLT avoidance for __stack_chk_fail*.
4919         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4920         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4921         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4922         __stack_chk_fail_local alias.
4923         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4924         (__stack_chk_fail): Turn into hidden reference to
4925         __stack_chk_fail_local.
4927 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4929         [BZ #7065]
4930         * configure.ac: Add check for unsupported stack-protection level.
4931         (libc_cv_predef_stack_protector): Remove.
4932         (no_ssp): New variable.
4933         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4934         (stack_protector): Set to -fno-stack-protector similarly.
4935         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4936         (libc_cv_asm_set_directive): Likewise.
4937         (libc_cv_protected_data): Likewise.
4938         (libc_cv_z_combreloc): Likewise.
4939         (libc_cv_hashstyle): Likewise.
4940         (libc_cv_has_glob_dat): Likewise.
4941         (libc_cv_output_format): Likewise.
4942         (libc_cv_output_format): Likewise.
4943         (libc_cv_ehdr_start): Likewise.
4944         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4945         (LIBC_LINKER_FEATURE): Likewise.
4946         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4948 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4950         [BZ #7065]
4951         * elf/Makefile (dummy-stack-chk-fail): New.
4952         (librtld.map): Use it.
4954 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4956         [BZ #7065]
4957         Compile the dynamic linker without stack protection.
4958         * elf/Makefile (elide-stack-protector): New.
4959         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4960         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4961         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4962         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4964 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4966         [BZ #7065]
4967         * config.make.in (have-ssp, no-stack-protector): New.
4968         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4969         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4970         (CFLAGS-sbrk.op): Likewise.
4971         (CFLAGS-brk.o): Likewise.
4972         (CFLAGS-brk.op): Likewise.
4973         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4974         (CFLAGS-wordcopy.c): Likewise.
4976 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4978         [BZ #7065]
4979         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4980         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4981         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4982         (__ifunc_resolver): Use it.
4983         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4984         inhibit_stack_protector.
4985         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4986         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4987         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4988         (foo_protected_ifunc): Likewise.
4989         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4990         (foo_protected_ifunc): Likewise.
4991         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4992         * sysdeps/nacl/nacl_interface_query.c
4993         (nacl_interface_query_ifunc): Likewise.
4994         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4995         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4996         Likewise.
4997         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4998         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4999         the generated vDSO syscall resolver.
5001 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5002             Florian Weimer  <fweimer@redhat.com>
5004         [BZ #7065]
5005         Initialize the stack guard earlier when linking statically.
5006         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
5007         (__pthread_initialize_minimal): Declare.
5008         * csu/libc-start.c (__pthread_initialize_minimal): Remove
5009         declaration.
5010         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
5011         stack canary and apply_irel initialization up.  Call
5012         __pthread_initialize_minimal only if linked in.
5013         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
5014         constant values.
5015         (__pthread_initialize_minimal): Remove.
5016         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
5017         (__pthread_initialize_minimal_internal): Do not call
5018         __libc_setup_tls.
5020 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
5022         [BZ #7065]
5023         * configure.ac (libc_cv_ssp): Move up.
5024         (libc_cv_ssp_strong): Likewise.
5025         (libc_cv_ssp_all): New.
5026         (stack_protector): Augment, adding -fstack-protector-all.
5027         (no_stack_protector): New.
5028         (STACK_PROTECTOR_LEVEL): New.
5029         (AC_ARG_ENABLE(stack-protector)): New configure flag.
5030         * manual/install.texi (--enable-stack-protector): Document it.
5031         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
5033 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
5035         * README.pretty-printers: Must specify CPPFLAGS-* also.
5036         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
5037         (CPPFLAGS-test-mutex-printers.c): Define.
5038         (CPPFLAGS-test-condattr-printers.c): Define.
5039         (CPPFLAGS-test-cond-printers.c): Define.
5040         (CPPFLAGS-test-rwlockattr-printers.c): Define.
5041         (CPPFLAGS-test-rwlock-printers.c): Define.
5043         * nss/Makefile [ifeq (yes,$(have-thread-library))]
5044         (tests): Add tst-cancel-getpwuid_r.
5045         * nss/tst-cancel-getpwuid_r.c: New file.
5047         [BZ #11941]
5048         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
5049         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
5050         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
5051         tst-nodelete-dlclose.
5052         (modules-names): Add tst-nodelete-dlclose-dso and
5053         tst-nodelete-dlclose-plugin.
5054         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5055         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5056         ($(objpfx)tst-nodelete-dlclose): Define.
5057         ($(objpfx)tst-nodelete-dlclose.out): Define.
5059 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5061         * scripts/test_printers_common.py: Log GDB output in case of
5062         Python detection failure.
5064 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5066         * configure.ac: Check for python3 or python.
5067         * configure: Regenerated.
5068         * config.make.in (PYTHON): New variable.
5069         * benchtests/Makefile: Don't define PYTHON.
5070         (bench): Define target only if PYTHON was defined.
5071         * Rules: Don't define PYTHON.
5072         Define pretty printer targets only if PYTHON was defined.
5073         (tests-printers): Add to tests-unsupported if PYTHON is not
5074         found.
5075         (python-flags, python-invoke): Remove.
5076         (tests-printers-out): Use PYTHON instead of python-invoke.
5078 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5080         [BZ #20978]
5081         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5082         Compare name == NULL, not name != NULL.
5084         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5085         trailing whitespace removed.
5086         * scripts/config.guess: Update to version 2016-10-02.
5087         * scripts/config.sub: Update to version 2016-11-19.
5088         * scripts/install-sh: Update to version 2016-01-11.22.
5089         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5090         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5092 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5094         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5095         (do_one_test) Restore original string so iteration works.
5096         * string/string-inlines.c (do_test): Create better input strings.
5097         (test_main) Reduce number of testruns.
5098         * string/string-inlines.c (__old_strsep_1c): New function.
5099         (__old_strsep_2c): Likewise.
5100         (__old_strsep_3c): Likewise.
5101         * string/strsep.c (__strsep): Remove case of small delim string.
5102         Call strcspn directly rather than strpbrk.
5103         * string/bits/string2.h (__strsep): Remove define.
5104         (__strsep_1c): Remove.
5105         (__strsep_2c): Remove.
5106         (__strsep_3c): Remove.
5107         (strsep): Remove.
5108         * sysdeps/unix/sysv/linux/internal_statvfs.c
5109         (__statvfs_getflags): Rename to __strsep.
5111 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5113         * csu/libc-tls.c (_dl_tls_setup): Remove.
5114         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5115         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5116         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5118 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5120         [BZ #7065]
5121         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5122         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5124 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5125             Florian Weimer  <fweimer@redhat.com>
5127         [BZ #7065]
5128         * csu/Makefile (tests): Empty assignment and document it.
5129         (tests-static): Remove.
5130         * csu/tst-empty.c: Move to...
5131         * misc/tst-empty.c: ... here.  Switch to new test driver.
5132         * csu/tst-atomic.c: Move to...
5133         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5134         * csu/tst-atomic-long.c: Move to...
5135         * misc/tst-atomic-long.c: ... here.
5136         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5137         tst-atomic-long.
5138         (tests-static): Add tst-empty.
5140 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5142         * manual/nss.texi: Change incorrect @vtable to @table.
5143         * manual/arith.texi: Convert @tables of variables to @vtables
5144         and remove unnecessary indexing.
5145         * manual/filesys.texi: Likewise.
5146         * manual/llio.texi: Likewise.
5147         * manual/memory.texi: Likewise.
5148         * manual/process.texi: Likewise.
5149         * manual/resource.texi: Likewise.
5150         * manual/search.texi: Likewise.
5151         * manual/signal.texi: Likewise.
5152         * manual/socket.texi: Likewise.
5153         * manual/stdio.texi: Likewise.
5154         * manual/sysinfo.texi: Likewise.
5155         * manual/syslog.texi: Likewise.
5156         * manual/terminal.texi: Likewise.
5157         * manual/time.texi: Likewise.
5158         * manual/users.texi: Likewise.
5160 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5162         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5163         (roundeven): New declaration.
5164         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5165         macro.
5166         * math/Versions (roundeven): New libm symbol at version
5167         GLIBC_2.25.
5168         (roundevenf): Likewise.
5169         (roundevenl): Likewise.
5170         * math/Makefile (libm-calls): Add s_roundevenF.
5171         * math/libm-test.inc (roundeven_test_data): New array.
5172         (roundeven_test): New function.
5173         (main): Call roundeven_test.
5174         * math/test-tgmath.c (NCALLS): Increase to 134.
5175         (F(compile_test)): Call roundeven.
5176         (F(roundeven)): New function.
5177         * manual/arith.texi (Rounding Functions): Document roundeven,
5178         roundevenf and roundevenl.
5179         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5180         * include/math.h (roundeven): Use libm_hidden_proto.
5181         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5182         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5183         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5184         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5185         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5186         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5187         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5188         roundeven.
5189         (CFLAGS-nldbl-roundeven.c): New variable.
5190         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5191         * sysdeps/nacl/libm.abilist: Update.
5192         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5193         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5194         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5195         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5196         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5197         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5198         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5199         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5200         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5201         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5202         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5203         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5205         Likewise.
5206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5207         Likewise.
5208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5209         Likewise.
5210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5211         Likewise.
5212         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5213         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5214         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5215         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5216         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5217         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5218         Likewise.
5219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5220         Likewise.
5221         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5222         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5223         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5225 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5227         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5228         preprocessor indentation inside #if.
5230 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5232         * math/libm-test.inc (fmt_ftostr): New function.
5233         (print_float, check_float_internal): Replace some uses of
5234         FTOSTR with uses of fmt_ftostr.
5235         (print_max_error, print_complex_max_error, print_function_ulps)
5236         (print_complex_function_ulps): Remove uses of the macros
5237         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5238         * math/test-double.h (FTOSTR): Define to strfromd.
5239         (PRINTF_EXPR): Delete.
5240         (PRINTF_XEXPR): Likewise.
5241         (PRINTF_NEXPR): Likewise.
5242         * math/test-float.h (FTOSTR): Define to strfromf.
5243         (PRINTF_EXPR): Delete.
5244         (PRINTF_XEXPR): Likewise.
5245         (PRINTF_NEXPR): Likewise.
5246         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5247         (PRINTF_EXPR): Delete.
5248         (PRINTF_XEXPR): Likewise.
5249         (PRINTF_NEXPR): Likewise.
5251 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5253         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5254         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5255         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5256         (__lll_lock_elision): Decrement adapt_count while unlocking
5257         instead of before locking.
5258         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5259         (__lll_trylock_elision): Likewise.
5260         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5261         (__lll_unlock_elision): Likewise.
5263 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5265         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5266         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5267         Use __libc_tbegin_retry macro.
5269 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5271         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5272         Add -msoft-float.
5273         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5274         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5275         Use __libc_t* transaction macros instead of __builtin_t*.
5276         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5277         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5279 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5281         * sysdeps/unix/sysv/linux/s390/elision-lock.c
5282         (__lll_lock_elision): Use atomics to load / store adapt_count.
5283         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5284         (__lll_trylock_elision): Likewise.
5286 2016-12-20  Florian Weimer  <fweimer@redhat.com>
5288         Do not require memset elimination in explicit_bzero test.
5289         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5290         (enum test_expectation): Add NO_EXPECTATIONS.
5291         (subtests): NO_EXPECTATIONS for ordinary clear.
5292         (check_test_buffer): Handle NO_EXPECTATIONS.
5293         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5295 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5297         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5298         (fmaxmag): New declaration.
5299         (fminmag): Likewise.
5300         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5301         macro.
5302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5303         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5304         (fmaxmagf): Likewise.
5305         (fmaxmagl): Likewise.
5306         (fminmag): Likewise.
5307         (fminmagf): Likewise.
5308         (fminmagl): Likewise.
5309         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5310         * math/s_fmaxmag_template.c: New file.
5311         * math/s_fminmag_template.c: Likewise.
5312         * math/libm-test.inc (fmaxmag_test_data): New array.
5313         (fmaxmag_test): New function.
5314         (fminmag_test_data): New array.
5315         (fminmag_test): New function.
5316         (main): Call fmaxmag_test and fminmag_test.
5317         * math/test-tgmath.c (NCALLS): Increase to 132.
5318         (F(compile_test)): Call fmaxmag and fminmag.
5319         (F(fminmag)): New function.
5320         (F(fmaxmag)): Likewise.
5321         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
5322         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5323         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5324         fminmag.
5325         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5326         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5327         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5328         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5329         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5330         and fminmag.
5331         (CFLAGS-nldbl-fmaxmag.c): New variable.
5332         (CFLAGS-nldbl-fminmag.c): Likewise.
5333         * sysdeps/nacl/libm.abilist: Update.
5334         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5335         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5336         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5337         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5338         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5339         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5340         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5341         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5342         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5343         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5344         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5345         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5347         Likewise.
5348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5349         Likewise.
5350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5351         Likewise.
5352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5353         Likewise.
5354         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5355         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5356         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5357         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5360         Likewise.
5361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5362         Likewise.
5363         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5364         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5365         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5367 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5369         [BZ #20973]
5370         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5371         wake-up in robust mutexes.
5372         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5374 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5376         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5377         (CFLAGS-bench-fmaxf.c): New rule.
5378         (CFLAGS-bench-fminf.c): Likewise.
5379         * benchtests/fmaxf-inputs: New file.
5380         * benchtests/fminf-inputs: Likewise.
5382         * benchtests/Makefile (bench-math): Add fmin and fmax.
5383         (CFLAGS-bench-fmax.c): New rule.
5384         (CFLAGS-bench-fmin.c): Likewise.
5385         * benchtests/fmax-inputs: New file.
5386         * benchtests/fmin-inputs: Likewise.
5388         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5389         parenthesis.
5390         (CMDLINE_PROCESS): Define using function instead of macro.
5391         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5392         of test-skeleton.
5393         * benchtests/bench-memchr.c: Likewise.
5394         * benchtests/bench-memcmp.c: Likewise.
5395         * benchtests/bench-memcpy-large.c: Likewise.
5396         * benchtests/bench-memcpy.c: Likewise.
5397         * benchtests/bench-memmem.c: Likewise.
5398         * benchtests/bench-memmove-large.c: Likewise.
5399         * benchtests/bench-memmove.c: Likewise.
5400         * benchtests/bench-memset-large.c: Likewise.
5401         * benchtests/bench-memset.c: Likewise.
5402         * benchtests/bench-rawmemchr.c: Likewise.
5403         * benchtests/bench-strcasecmp.c: Likewise.
5404         * benchtests/bench-strcasestr.c: Likewise.
5405         * benchtests/bench-strcat.c: Likewise.
5406         * benchtests/bench-strchr.c: Likewise.
5407         * benchtests/bench-strcmp.c: Likewise.
5408         * benchtests/bench-strcpy.c: Likewise.
5409         * benchtests/bench-strcpy_chk.c: Likewise.
5410         * benchtests/bench-strlen.c: Likewise.
5411         * benchtests/bench-strncasecmp.c: Likewise.
5412         * benchtests/bench-strncmp.c: Likewise.
5413         * benchtests/bench-strncpy.c: Likewise.
5414         * benchtests/bench-strnlen.c: Likewise.
5415         * benchtests/bench-strpbrk.c: Likewise.
5416         * benchtests/bench-strrchr.c: Likewise.
5417         * benchtests/bench-strsep.c: Likewise.
5418         * benchtests/bench-strspn.c: Likewise.
5419         * benchtests/bench-strstr.c: Likewise.
5420         * benchtests/bench-strtok.c: Likewise.
5422 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5424         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5425         stepping identification.
5426         (init_cpu_features): Add handle of Haswell.
5428 2016-11-25  Jim Meyering  <meyering@fb.com>
5430         [BZ #20386]
5431         Let gcc detect assert(a = 1) errors.
5432         * assert/assert.h (assert): Rewrite, retaining the old definintion
5433         when required, but otherwise putting the expression as-is in an "if"
5434         expression (hence, with no added parentheses) within a statement
5435         expression.
5437 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5439         * benchtests/Makefile (binaries-benchset): Depend on libsupport
5440         DSO.
5442 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
5444         * Rules (python-flags, python-invoke): New.
5445         ($(test-printers-out)): Use $(python-flags).
5447 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5449         * manual/arith.texi (Math Error Reporting): Document that sNaN
5450         arguments are not considered domain errors.
5452 2016-12-16  Zack Weinberg <zackw@panix.com>
5453             Florian Weimer <fweimer@redhat.com>
5454             Nick Mathewson <nickm@torproject.org>
5456         * string/explicit_bzero.c: New routine.
5457         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5458         * string/Makefile (routines, strop-tests, tests): Add them.
5459         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5460         * string/string.h [__USE_MISC]: Declare explicit_bzero.
5462         * debug/explicit_bzero_chk.c: New routine.
5463         * debug/Makefile (routines): Add it.
5464         * debug/tst-chk1.c: Test fortification of explicit_bzero.
5465         * string/bits/string3.h: Fortify explicit_bzero.
5467         * manual/string.texi: Document explicit_bzero.
5468         * NEWS: Mention addition of explicit_bzero.
5470         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5471         data before returning, using explicit_bzero.
5472         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5473         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5474         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5476         * include/string.h: Redirect internal uses of explicit_bzero
5477         to __explicit_bzero_chk[_internal].
5478         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5479         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5480         * sysdeps/arm/nacl/libc.abilist
5481         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5482         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5483         * sysdeps/unix/sysv/linux/arm/libc.abilist
5484         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5485         * sysdeps/unix/sysv/linux/i386/libc.abilist
5486         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5487         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5488         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5489         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5490         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5491         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5492         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5493         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5494         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5499         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5500         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5501         * sysdeps/unix/sysv/linux/sh/libc.abilist
5502         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5503         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5504         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5505         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5506         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5507         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5508         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5509         Add entries for explicit_bzero and __explicit_bzero_chk.
5511 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5513         * math/fenv.h
5514         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5515         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5516         * math/test-fe-snans-always-signal.c: New file.
5517         * math/Makefile (tests): Add test-fe-snans-always-signal.
5518         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5519         * manual/arith.texi (Infinity and NaN): Document
5520         FE_SNANS_ALWAYS_SIGNAL.
5522 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5524         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5525         bracket.
5527 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5529         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5530         before calling execv.
5532 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5534         [BZ# 20971]
5535         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5536         overflow in pointer addition.
5537         * string/test-memchr.c (do_test): Add an argument to pass as
5538         the size on memchr.
5539         (test_main): Add check for SIZE_MAX.
5541 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5543         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5544         (libm-calls): Add w_scalblnF.
5545         * math/w_scalbln.c: Remove.
5546         * math/w_scalblnf.c: Likewise.
5547         * math/w_scalblnl.c: Likewise.
5548         * math/w_scalbln_template.c: New file with type-generic
5549         implementation based on math/w_scalbln.c.
5550         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5551         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5553 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5555         [BZ #20947]
5556         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5557         either is a signaling NaN.
5558         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5559         follow fmaxl more closely.
5560         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5561         when either is a signaling NaN.
5562         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5563         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5564         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5565         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5566         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5567         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5568         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5569         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5570         (fmin_test_data): Likewise.
5572 2016-12-15  Andreas Schwab  <schwab@suse.de>
5574         * support/support_test_main.c (support_test_main): Don't shadow
5575         file-local variable test_pid.
5577 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5579         [BZ #20947]
5580         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5581         either is a signaling NaN.
5582         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5584 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5586         [BZ #20947]
5587         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5588         when either is a signaling NaN.
5589         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5591         * bits/long-double.h: New file.
5592         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5593         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5594         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5595         * sysdeps/mips/bits/long-double.h: Likewise.
5596         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5597         * math/Makefile (headers): Add bits/long-double.h.
5598         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5599         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5600         <bits/wordsize.h>.
5601         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5602         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5603         * math/math.h: Do not include <bits/mathdef.h>.
5604         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5605         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5606         inclusion.
5607         * sysdeps/ia64/bits/mathdef.h: Remove file.
5608         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5609         * sysdeps/mips/bits/mathdef.h: Likewise.
5610         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5611         * sysdeps/s390/bits/mathdef.h: Likewise.
5612         * sysdeps/sparc/bits/mathdef.h: Likewise.
5613         * sysdeps/x86/bits/mathdef.h: Likewise.
5614         * sysdeps/s390/s390-32/bits/wordsize.h
5615         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5616         conditional code.
5617         * sysdeps/s390/s390-64/bits/wordsize.h
5618         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5619         Likewise.
5620         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5621         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5622         Likewise.
5623         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5624         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5625         Likewise.
5626         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5627         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5628         Likewise.
5630         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5631         <linux/falloc.h>.
5632         (FALLOC_FL_KEEP_SIZE): Remove.
5633         (FALLOC_FL_PUNCH_HOLE): Likewise.
5634         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5635         (FALLOC_FL_ZERO_RANGE): Likewise.
5637 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5639         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5641 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5643         * sysdeps/unix/sysv/linux/renameat.c: New file.
5644         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5646         * sysdeps/unix/sysv/linux/rename.c: New file.
5647         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5649 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5651         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5652         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5653         * string/strtok_r.c (__strtok_r): Optimize for performance.
5654         * string/string-inlines.c (__old_strtok_r_1c): New function.
5655         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5657 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5659         * math/Makefile (gen-libm-calls): Add w_log1pF.
5660         (libm-calls): Remove w_log1pF.
5661         * math/w_log1p.c: Remove.
5662         * math/w_log1pf.c: Likewise.
5663         * math/w_log1pl.c: Likewise.
5664         * math/w_log1p_template.c: New file with type-generic
5665         implementation based on math/w_log1p.c.
5666         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5667         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5669 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5671         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5673 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5675         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5676         kernel version to 4.9.
5678 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5680         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5681         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5683 2016-12-13  Andreas Schwab  <schwab@suse.de>
5685         * sysdeps/powerpc/dl-procinfo.c: Don't define
5686         _dl_powerpc_platforms.
5687         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5688         constants instead of referencing _dl_powerpc_platforms.
5689         (_dl_platform_string): Remove.
5691 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5693         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5695 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5697         * Rules (binaries-shared-tests, binaries-pie-tests)
5698         (binaries-static-tests): Link with $(link-extra-libs-tests).
5699         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5700         Remove $(link-extra-libs-tests).
5702 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5704         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5705         (sysdep_routines): Add strncmp_power9.
5706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5707         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5708         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5709         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5710         (strncmp): Add __strncmp_power9 to ifunc list.
5711         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5713 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5715         [BZ #17252]
5716         Add getentropy, getrandom.
5717         * stdlib/sys/random.h: New file.
5718         (headers): Add it.
5719         * stdlib/Makefile (routines): Add getentropy, getrandom.
5720         (tests): Add tst-getrandom.
5721         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5722         * stdlib/getentropy.c: New file.
5723         * stdlib/getrandom.c: Likewise.
5724         * stdlib/tst-getrandom.c: Likewise.
5725         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5726         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5727         * manual/crypt.texi (Unpredictable Bytes): New section.
5728         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5729         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5730         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5731         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5732         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5733         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5734         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5735         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5736         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5737         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5738         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5739         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5740         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5741         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5742         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5743         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5745         Likewise.
5746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5747         Likewise.
5748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5750         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5751         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5752         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5753         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5754         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5757         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5758         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5759         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5761 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5763         [BZ #20956]
5764         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5765         as additional compiler barriers.
5766         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5767         (fn2, do_test): Declare with external linkage.
5768         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5769         (do_test): Declare with external linkage.
5770         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5771         (do_test): Declare with external linkage.
5772         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5773         (do_test): Declare with external linkage.
5775 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5777         * support/support_test_main.c (support_test_main): Use correct
5778         timeout.
5780 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5781             Florian Weimer  <fweimer@redhat.com>
5783         [BZ #16421]
5784         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5785         and __u6_addr32 members.
5786         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5787         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5788         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5789         Use __u6_addr32.
5790         * inet/tst-checks.c: Use <support/test-driver.c>
5791         * inet/tst-checks-posix.c: New file.
5792         * inet/Makefile (tests): Add it.
5793         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5795 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5797         New subdirectory support for build and test infrastructure.
5798         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5799         setting install-lib.
5800         * Makeconfig (link-extra-libs-tests): Define.
5801         (+link-pie-tests, +link-static-tests, +link-tests): Use
5802         link-extra-libs-tests.
5803         (rpath-dirs, all-subdirs): Add support.
5804         (built-modules): Add libsupport.
5805         (libsupport): Define.
5806         * support: New directory.
5807         * support/Makefile: New file.
5808         * support/check.c: Likewise.
5809         * support/check.h: Likewise.
5810         * support/delayed_exit.c: Likewise.
5811         * support/ignore_stderr.c: Likewise.
5812         * support/oom_error.c: Likewise.
5813         * support/set_fortify_handler.c: Likewise.
5814         * support/support.h: Likewise.
5815         * support/temp_file-internal.h: Likewise.
5816         * support/temp_file.c: Likewise.
5817         * support/test-driver.c: Likewise.
5818         * support/test-driver.h: Likewise.
5819         * support/test_main.c: Likewise.
5820         * support/write_message.c: Likewise.
5821         * support/xasprintf.c: Likewise.
5822         * support/xcalloc.c: Likewise.
5823         * support/xmalloc.c: Likewise.
5824         * support/xpthread_barrier_destroy.c: Likewise.
5825         * support/xpthread_barrier_init.c: Likewise.
5826         * support/xpthread_barrier_wait.c: Likewise.
5827         * support/xpthread_cancel.c: Likewise.
5828         * support/xpthread_check_return.c: Likewise.
5829         * support/xpthread_cond_wait.c: Likewise.
5830         * support/xpthread_create.c: Likewise.
5831         * support/xpthread_detach.c: Likewise.
5832         * support/xpthread_join.c: Likewise.
5833         * support/xpthread_mutex_lock.c: Likewise.
5834         * support/xpthread_mutex_unlock.c: Likewise.
5835         * support/xpthread_sigmask.c: Likewise.
5836         * support/xpthread_spin_lock.c: Likewise.
5837         * support/xpthread_spin_unlock.c: Likewise.
5838         * support/xrealloc.c: Likewise.
5839         * support/xsignal.h: Likewise.
5840         * support/xthread.h: Likewise.
5841         * support_tempfile.h: Likewise.
5842         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5843         (TEST_DATA_LIMIT): Remove unused macro.
5844         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5845         <support/check.h>.
5846         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5847         (ignore_stderr, set_fortify_handler): Remove.  Now in
5848         <support/support.h>.
5849         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5850         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5851         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5852         (xpthread_join): Remove.  Now in <support/xthread.h>.
5853         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5854         Introduce legacy wrappers.
5855         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5856         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5857         (write_message): Remove.
5858         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5859         test-skeleton.c.
5860         * io/test-open-tmpfile: Likewise.
5861         * io/tst-posix_fallocate-common.c: Likewise.
5862         * libio/tst-fseek.c: Likewise.
5863         * malloc/tst-malloc-backtrace.c: Likewise.
5864         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5865         * malloc/tst-malloc-thread-exit.c: Likewise.
5866         * nptl/tst-cancel7.c: Likewise.
5867         * nptl/tst-cleanup0.c: Likewise.
5868         * posix/tst-posix_fadvise-common.c: Likewise.
5869         * rt/tst-shm.c: Likewise.
5870         * time/bug-getdate1.c: Likewise.
5871         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5872         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5873         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5875 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5877         * Rules [$(run-built-tests) != no] (tests-expected): Add
5878         $(tests-printers).
5879         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5881 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5883         [BZ #20539]
5884         * math/Makefile (install-lib-ldscripts): Add libm.a.
5885         (install_subdir): Remove.
5886         (install-others): Add.
5887         ($(inst_libdir)/libm.a): Add rule for installation as
5888         linker script.
5889         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5891 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5893         * INSTALL: Regenerated.
5894         * Makeconfig: Add comments and whitespace to make the control flow
5895         clearer.
5896         (+link-printers-tests, +link-pie-printers-tests,
5897         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5898         built-rtld-LDFLAGS, link-libc-rpath,
5899         link-libc-tests-after-rpath-link,
5900         link-libc-printers-tests): New.
5901         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5902         link-libc-tests): Use the new variables as required.
5903         * Makerules ($(py-const)): New rule.
5904         generated: Add $(py-const).
5905         * README.pretty-printers: New file.
5906         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5907         (others): Depend on $(py-const).
5908         (tests): Depend on $(tests-printers-programs) or
5909         $(tests-printers-out),
5910         as required.  Pass $(tests-printers) to merge-test-results.sh.
5911         * manual/install.texi: Add requirements for testing the pretty
5912         printers.
5913         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5914         tests-printers, CFLAGS-test-mutexattr-printers.c
5915         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5916         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5917         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5918         * nptl/nptl-printers.py: New file.
5919         * nptl/nptl_lock_constants.pysym: Likewise.
5920         * nptl/test-cond-printers.c: Likewise.
5921         * nptl/test-cond-printers.py: Likewise.
5922         * nptl/test-condattr-printers.c: Likewise.
5923         * nptl/test-condattr-printers.py: Likewise.
5924         * nptl/test-mutex-printers.c: Likewise.
5925         * nptl/test-mutex-printers.py: Likewise.
5926         * nptl/test-mutexattr-printers.c: Likewise.
5927         * nptl/test-mutexattr-printers.py: Likewise.
5928         * nptl/test-rwlock-printers.c: Likewise.
5929         * nptl/test-rwlock-printers.py: Likewise.
5930         * nptl/test-rwlockattr-printers.c: Likewise.
5931         * nptl/test-rwlockattr-printers.py: Likewise.
5932         * scripts/gen-py-const.awk: Likewise.
5933         * scripts/test_printers_common.py: Likewise.
5934         * scripts/test_printers_exceptions.py: Likewise.
5936 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5938         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5939         argument.
5940         (Glibc.build_glibc): Strip installed shared libraries if
5941         requested.
5942         (get_parser): Add --strip option.
5943         (main): Update Context call.
5945 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5946             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5948         [BZ #20847]
5949         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5950         array bounds for else branch.
5951         (__execvpe): Style fixes.
5952         * posix/tst-vfork3.c (run_script): New function.
5953         (create_script): Likewise.
5954         (do_test): Use run_script internal function.
5955         (do_prepare): Use create_script internal function.
5957 2016-12-07  Andreas Schwab  <schwab@suse.de>
5959         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5960         (__elision_available): Don't declare.
5961         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5962         (__elision_available): Don't define.
5963         (elision_init): Don't set __elision_available.
5965 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5967         [BZ #20940]
5968         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5969         return Inf for arguments Inf and sNaN.
5970         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5971         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5972         Likewise.
5973         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5974         Likewise.
5975         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5976         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5977         for arguments Inf and sNaN.  When returning a NaN, compute it by
5978         arithmetic on the arguments.
5979         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5980         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5981         arguments.
5983 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5985         [BZ #20916]
5986         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5987         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5988         to compute result.
5989         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5990         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5992 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5994         * include/atomic.h (__atomic_check_size_ls): New.
5995         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5996         atomic_store_release): Use it.
5997         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5998         (elision_adapt, ELIDE_LOCK): Use atomics.
5999         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
6000         atomics and improve code comments.
6001         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
6002         (__lll_trylock_elision): Likewise.
6004 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6006         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
6007         programs.
6009 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6011         [BZ #20916]
6012         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
6013         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
6014         arguments to compute result.
6015         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
6016         1 for arguments (sNaN, 0) or (1, sNaN).
6017         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
6018         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
6020         [BZ #20919]
6021         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
6022         NaN first argument when raised to power 0.
6023         * math/w_pow.c (__pow): Do not check for NaN or zero results from
6024         raising to power zero.
6025         * math/w_powf.c (__powf): Likewise.
6026         * math/w_powl.c (__powl): Likewise.
6027         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
6028         pow (0, 0) or pow (NaN, 0).
6030 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
6032         [BZ #20918]
6033         * configure.ac: Test for static NSS cryptographic libraries and set
6034         libc_cv_static_nss_crypt.
6035         * configure: Regenerate.
6036         * config.make.in (static-nss-crypt): Define.
6037         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
6038         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
6039         (CFLAGS-tst-linkall-static.c): Define.
6040         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
6041         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
6042         ($(objpfx)tst-linkall-static): Define.
6043         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
6044         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
6046 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6048         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
6049         (one-hundred, tst-tls-many-dynamic-modules): Define.
6050         (modules-names): Add $(tst-tls-many-dynamic-modules).
6051         (tst-tls-manydynamic%mod.os): Build with special preprocessor
6052         macros.
6053         (tst-tls-manydynamic): Link against libdl, libpthread.
6054         (tst-tls-manydynamic.out): The test needs the test modules at run
6055         time.
6056         * elf/tst-tls-manydynamic.c: New file.
6057         * elf/tst-tls-manydynamic.h: Likewise.
6058         * elf/tst-tls-manydynamicmod.c: Likewise.
6060 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6062         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6063         (TLS_DTV_UNALLOCATED): Add.
6064         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6065         offsets.
6067 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6069         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6071 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6073         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6074         Add -fno-optimize-sibling-calls.
6076 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6078         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6079         New declaration.
6080         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6081         macro.
6082         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6083         New macro.
6084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6086         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6087         (llogbf): Likewise.
6088         (llogbl): Likewise.
6089         * math/Makefile (gen-libm-calls): Add w_llogbF.
6090         (tests): Add test-fp-llogb-constants.
6091         * math/w_llogb_template.c: New file.  Based on
6092         math/w_ilogb_template.c.
6093         * math/libm-test.inc (llogb_test_data): New array.
6094         (llogb_test): New function.
6095         (main): Call llogb_test.
6096         * math/test-fp-llogb-constants.c: New file.  Based on
6097         math/test-fp-ilogb-constants.c.
6098         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6099         (do_test): Call check_return_llogb.
6100         * math/test-tgmath.c (NCALLS): Increase to 126.
6101         (F(compile_test)): Call llogb.
6102         (F(llogb)): New function.
6103         * manual/math.texi (Exponents and Logarithms): Document llogb,
6104         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6105         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6106         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6107         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6108         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6109         (CFLAGS-nldbl-llogb.c): New variable.
6110         * sysdeps/nacl/libm.abilist: Update.
6111         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6112         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6113         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6114         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6115         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6116         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6117         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6118         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6119         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6120         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6121         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6122         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6124         Likewise.
6125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6126         Likewise.
6127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6128         Likewise.
6129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6130         Likewise.
6131         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6132         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6133         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6134         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6135         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6137         Likewise.
6138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6139         Likewise.
6140         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6141         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6142         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6144 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6146         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6147         _Float128 instead of long double.
6148         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6150         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6151         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6152         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6153         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6154         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6155         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6156         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6157         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6158         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6159         Likewise.
6161 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6163         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6164         Remove redirection to __strrchr_ppc.
6166 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6168         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6169         (sysdep_routines): Add strcmp_power9.
6170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6171         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6172         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6173         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6174         (strcmp): Add __strcmp_power9 to ifunc list.
6175         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6177 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6179         * bits/fp-logb.h: New file.
6180         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6181         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6182         * sysdeps/x86/bits/fp-logb.h: Likewise.
6183         * math/Makefile (headers): Add bits/fp-logb.h.
6184         * math/math.h: Include <bits/fp-logb.h>.
6185         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6186         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6187         * bits/mathdef.h (FP_ILOGB0): Remove.
6188         (FP_ILOGBNAN): Likewise.
6189         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6190         (FP_ILOGBNAN): Likewise.
6191         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6192         (FP_ILOGBNAN): Likewise.
6193         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6194         (FP_ILOGBNAN): Likewise.
6195         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6196         (FP_ILOGBNAN): Likewise.
6197         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6198         (FP_ILOGBNAN): Likewise.
6199         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6200         (FP_ILOGBNAN): Likewise.
6201         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6202         (FP_ILOGBNAN): Likewise.
6203         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6204         (FP_ILOGBNAN): Likewise.
6205         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6206         (FP_ILOGBNAN): Likewise.
6208         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6209         time module.
6210         (Context.__init__): Initialize self.logsdir_old.
6211         (Context.run_builds): Handle bot action.
6212         (Context.bot_cycle): Copy logs directory before running builds.
6213         (Context.bot_run_self): Take argument for whether to check
6214         subprocess result.  Flush stdout before running subprocess.
6215         (Context.bot): New function.
6216         (get_parser): Allow bot action.
6218 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6220         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6221         Import email.mime.text, email.utils and smtplib modules.
6222         (Context.__init__): Initialize self.bot_config_json.
6223         (Context.run_builds): Handle bot-cycle action.
6224         (Context.load_bot_config_json): New function.
6225         (Context.part_build_old): Likewise.
6226         (Context.bot_cycle): Likewise.
6227         (Context.bot_build_mail): Likewise.
6228         (Context.bot_run_self): Likewise.
6229         (get_parser): Allow bot-cycle action.
6231 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6233         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6234         Remove redirection to __stpcpy_ppc.
6236 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6238         Remove __libc_memalign from ld.so because it is unused.
6239         * elf/dl-minimal.c: Update comment on the malloc implementation.
6240         (malloc): Renamed from __libc_memalign, replacing the original
6241         malloc implementation.  Replace the align parameter with
6242         MALLOC_ALIGNMENT.
6243         * elf/Versions (ld): Update comment and remove __libc_memalign.
6244         * sysdeps/nacl/ld.abilist: Likewise.
6245         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6246         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6247         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6248         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6249         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6250         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6251         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6252         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6253         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6254         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6255         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6256         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6257         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6261         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6262         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6263         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6264         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6265         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6268         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6269         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6270         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6271         * sysdeps/generic/localplt.data (ld.so): Likewise.
6272         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6273         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6274         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6275         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6276         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6277         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6278         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6279         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6280         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6282         (ld.so): Likewise.
6283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6284         (ld.so): Likewise.
6285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6286         Likewise.
6287         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6288         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6289         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6290         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6291         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6293 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6295         [BZ #16628]
6296         Implement _dl_catch_error, _dl_signal_error in libc.so.
6297         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6298         (catch_hook): Define as thread-local or regular variable,
6299         depending on DL_ERROR_BOOTSTRAP.
6300         (CATCH_HOOK): Remove.
6301         (dl_signal_error, _dl_catch_error): Use
6302         catch_hook.  Add hidden definition for libc.
6303         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
6304         for DL_ERROR_BOOTSTRAP only.
6305         * elf/dl-error.c: New file.
6306         * elf/dl-error-minimal.c: Likewise.
6307         * elf/tst-latepthread.c: Likewise.
6308         * elf/tst-latepthreadmod.c: Likewise.
6309         * elf/Makefile (routines): Add dl-error.
6310         (dl-routines): Remove dl-error.
6311         (rtld-routines): Add dl-error-minimal.
6312         [build-shared] (tests): Add tst-latepthread.
6313         (module-names): Add tst-latepthreadmod.
6314         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6315         symbol.
6316         (tst-latepthreadmod.so): Link against libpthread.
6317         (tst-latepthread): Link against libdbl.
6318         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6319         _dl_catch_error.
6320         [ld] (GLIBC_PRIVATE): Likewise.
6321         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
6322         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6323         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6324         directly.
6325         * elf/dl-tsd.c: Remove file.
6326         * elf/rtld.c (_rtld_global_ro): Remove initializers for
6327         _dl_catch_error, _dl_signal_error.
6328         (_dl_initial_error_catch_tsd): Remove definition.
6329         (do_preload): Remove initialization of dl_error_catch_tsd.
6330         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6331         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6332         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6333         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6334         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6335         set dl_error_catch_tsd.
6336         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6337         _dl_error_catch_tsd member.
6338         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6339         members.
6340         (_dl_initial_error_catch_tsd): Remove declaration.
6341         (_dl_dprintf): Provide definition for use outside of ld.so.
6342         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6343         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6344         prototype for libc.
6345         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6346         _dl_catch_error.
6347         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6348         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6349         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6350         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6351         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6352         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6353         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6354         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6355         Likewise.
6356         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6358         (ld.so): Likewise.
6359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6360         (ld.so): Likewise.
6361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6362         Likewise.
6363         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6364         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6365         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6366         Likewise.
6367         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6368         Likewise.
6369         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6371 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6373         [BZ #4099]
6374         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6375         _IO_BUFSIZ (8192).
6377 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6379         * PROJECTS: Remove file.
6381 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6383         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6385 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6386             Steve Ellcey  <sellcey@caviumnetworks.com>
6388         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6389         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6390         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6391         fxstatat.
6392         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6393         lxstat.
6394         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6395         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6396         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6397         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6398         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6399         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6400         __xstat.
6402 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6404         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6405         Define.
6406         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6407         definition.
6409 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6411         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6412         version and turn into strong alias.  Remove compat symbol.
6414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6415         (__longjmp): Remove.
6417 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6419         * bits/fp-fast.h: New file.
6420         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6421         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6422         * math/Makefile (headers): Add bits/fp-fast.h.
6423         * math/math.h: Include <bits/fp-fast.h>.
6424         * bits/mathdef.h (FP_FAST_FMA): Remove.
6425         (FP_FAST_FMAF): Likewise.
6426         (FP_FAST_FMAL): Likewise.
6427         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6428         (FP_FAST_FMAF): Likewise.
6429         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6430         (FP_FAST_FMAF): Likewise.
6431         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6432         (FP_FAST_FMAF): Likewise.
6433         (FP_FAST_FMAL): Likewise.
6434         * sysdeps/arm/bits/mathdef.h: Remove file.
6435         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6436         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6437         * sysdeps/tile/bits/mathdef.h: Likewise.
6439 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6441         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
6442         * math/w_ilogb.c: Remove.
6443         * math/w_ilogbf.c: Likewise.
6444         * math/w_ilogbl.c: Likewise.
6445         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6446         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6447         * math/Makefile (gen-libm-calls): Add w_ilogbF.
6448         (libm-calls): Remove w_ilogbF.
6449         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6450         (LDOUBLE_ilogbl_libm_version): New macro.
6452         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6454         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6455         [!__STRICT_ANSI__ && !__cplusplus].
6457 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6459         [BZ #20750]
6460         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6461         of PIC.
6463 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6464             Yury Norov  <ynorov@caviumnetworks.com>
6465             Steve Ellcey  <sellcey@caviumnetworks.com>
6467         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6468         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6469         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6470         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6471         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6472         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6473         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6474         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6475         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6476         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6477         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6478         to get correct reg name for ILP32.
6479         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6480         (RELA_SIZE): New Macro.
6481         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6482         to support ILP32.
6483         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6484         cast for ILP32 mode.
6485         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6486         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6487         * sysdeps/aarch64/memset.S (__memset): Ditto.
6488         * sysdeps/aarch64/strchr.S (strchr): Ditto.
6489         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6490         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6491         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6492         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6493         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6494         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6495         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6496         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6497         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6498         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6499         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6500         change PTR_MANGLE call to use register numbers instead of names.
6501         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6502         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6503         ILP32 mode, change PTR_MANGLE calls to use register numbers.
6504         * sysdeps/aarch64/start.S (_start): Ditto.
6505         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6506         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6507         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6508         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6509         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6510         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6511         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6512         Make defined values dependent on __ILP32__.
6513         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6514         (sem_t): Change __align type.
6515         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6516         PTR_SIZE): New Macros.
6517         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6518         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6519         Set when in ILP32 mode.
6520         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6521         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6522         Set elf flags for ILP32.
6523         (add_system_dir): Set ILP32 library directories.
6524         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6525         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6526         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6527         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6528         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6529         New Macros.
6530         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6532 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6534         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6535         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6536         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6538 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6540         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6541         <asm/cachectl.h>.
6543 2016-11-27  Zack Weinberg  <zackw@panix.com>
6545         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6546         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6548 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6550         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6551         error_t to fix usage in C++ programs.
6553 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6555         * scripts/build-many-glibcs.py: Import datetime module.
6556         (Context.__init__): Load JSON build state.  Initialize list of
6557         status logs.
6558         (Context.run_builds): Update saved build state.
6559         (Context.add_makefile_cmdlist): Update list of status logs.
6560         (Context.load_build_state_json): New function.
6561         (Context.store_build_state_json): Likewise.
6562         (Context.clear_last_build_state): Likewise.
6563         (Context.update_build_state): Likewise.
6564         (CommandList.status_logs): Likewise.
6566 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6568         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6569         script being executed.
6570         (Context.get_script_text): New function.
6571         (Context.exec_self): Likewise.
6572         (Context.checkout): Re-exec script if changed by checkout process.
6574 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6576         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6577         (setpayloadsig): New declaration.
6578         * math/Versions (setpayloadsig): New libm symbol at version
6579         GLIBC_2.25.
6580         (setpayloadsigf): Likewise.
6581         (setpayloadsigl): Likewise.
6582         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6583         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6584         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6585         (setpayloadsig_test_data): New array.
6586         (setpayloadsig_test): New function.
6587         (main): Call setpayloadsig_test.
6588         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6589         setpayloadsigf and setpayloadsigl.
6590         * manual/libm-err-tab.pl: Update comment on interfaces without
6591         ulps tabulated.
6592         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6593         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6594         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6595         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6596         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6597         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6598         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6599         setpayloadsig.
6600         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6601         * sysdeps/nacl/libm.abilist: Update.
6602         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6603         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6604         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6605         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6606         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6607         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6608         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6609         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6610         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6611         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6612         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6613         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6615         Likewise.
6616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6617         Likewise.
6618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6619         Likewise.
6620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6621         Likewise.
6622         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6623         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6624         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6625         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6626         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6628         Likewise.
6629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6630         Likewise.
6631         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6632         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6633         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6635         * scripts/build-many-glibcs.py: Import json module.
6636         (Context.__init__): Take replace_sources argument.  Load
6637         versions.json.
6638         (Context.load_versions_json): New function.
6639         (Context.store_json): Likewise.
6640         (Context.store_versions_json): Likewise.
6641         (Context.set_component_version): Likewise.
6642         (Context.checkout): Update versions.json.  Check for and handle
6643         changes of version.  Prefer previously explicitly specified
6644         version to default version.
6645         (Context.checkout_vcs): Return a revision identifier.
6646         (Context.git_checkout): Likewise.
6647         (Context.gcc_checkout): Likewise.
6648         (get_parser): Add --replace-sources option.
6649         (main): Pass replace_sources argument to Context call.
6651 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6653         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6654         * nptl/allocatestack.c (allocate_stack): Likewise.
6655         (__reclaim_stacks): Likewise.
6656         (setxid_signal_thread): Obtain pid through syscall.
6657         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6658         (sighandle_setxid): Likewise.
6659         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6660         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6661         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6662         Likewise.
6663         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6664         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6665         comment.
6666         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6667         * nptl/descr.h (struct pthread): Change comment about pid value.
6668         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6669         pid assert.
6670         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6671         Do not set pid value.
6672         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6673         pid cache check.
6674         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6675         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6676         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6677         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6678         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6679         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6680         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6681         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6682         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6683         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6684         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6685         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6686         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6687         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6688         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6689         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6690         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6691         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6692         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6693         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6694         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6695         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6696         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6697         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6698         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6701         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6702         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6703         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6704         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6705         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6706         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6707         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6708         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6709         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6710         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6711         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6712         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6713         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6714         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6715         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6716         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6719         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6720         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6721         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6722         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6723         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6724         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6725         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6726         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6727         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6728         struct access.
6729         (clone_test): Remove function.
6730         (do_test): Rewrite to take in consideration pid is not cached anymore.
6732 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6734         * bits/flt-eval-method.h: New file.
6735         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6736         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6737         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6738         * math/Makefile (headers): Add bits/flt-eval-method.h.
6739         * math/math.h: Include <bits/flt-eval-method.h>.
6740         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6741         [__USE_ISOC99] (double_t): Likewise.
6742         * bits/mathdef.h (float_t): Remove.
6743         (double_t): Likewise.
6744         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6745         (double_t): Likewise.
6746         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6747         (double_t): Likewise.
6748         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6749         (double_t): Likewise.
6750         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6751         (double_t): Likewise.
6752         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6753         (double_t): Likewise.
6754         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6755         (double_t): Likewise.
6756         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6757         (double_t): Likewise.
6758         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6759         (double_t): Likewise.
6760         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6761         (double_t): Likewise.
6762         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6763         (double_t): Likewise.
6764         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6765         (double_t): Likewise.
6766         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6767         (double_t): Likewise.
6768         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6769         (double_t): Likewise.
6771 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6773         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6774         instead of PIC.
6776 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6778         [BZ #20859]
6779         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6780         (-0x7fffffff) instead of 0x80000001.
6781         * math/test-fp-ilogb-constants.c: New file.
6782         * math/Makefile (tests): Add test-fp-ilogb-constants.
6784 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6786         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6787         (_init): Use it in place of hardcoded R_MIPS_JALR.
6788         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6789         (_init): Use it in place of hardcoded R_MIPS_JALR.
6790         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6791         (_init): Use it in place of hardcoded R_MIPS_JALR.
6793 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6795         [BZ #20787]
6796         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6797         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6798         (double_t): Do not define to double if [__x86_64__] when
6799         __FLT_EVAL_METHOD__ is nonzero.
6800         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6801         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6802         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6803         test-flt-eval-method-387 and test-flt-eval-method-sse.
6804         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6805         variable.
6806         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6808 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6810         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6811         use of -fno-isolate-erroneous-paths options for tilepro.
6813 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6815         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6816         structure initialization is no longer needed.
6818 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6820         [BZ #20855]
6821         * bits/mathdef.h (float_t): Define to float.
6822         * math/test-flt-eval-method.c: New file.
6823         * math/Makefile (tests): Add test-flt-eval-method.
6824         (CFLAGS-test-flt-eval-method.c): New variable.
6826 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6828         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6829         and __fstatfs.  Make them aliases of __fstatfs64 if
6830         STATFS_IS_STATFS64 is set to non-zero.
6831         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6832         and __statfs64.
6833         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6834         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6835         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6836         for __statfs and statfs.
6837         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6838         to 0.
6839         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6840         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6841         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6842         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6843         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6844         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6847         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6848         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6849         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6850         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6852 2016-11-22  Andreas Schwab  <schwab@suse.de>
6854         * misc/mkstemp.c: Include <fcntl.h>.
6855         * misc/mkstemps.c: Likewise.
6856         * misc/mkostemp.c: Likewise.
6857         * misc/mkostemps.c: Likewise.
6859 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6861         [BZ #20847]
6862         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6863         array bounds.
6864         (__execvpe): Likewise.
6866 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6868         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6869         -fno-isolate-erroneous-paths options for tilepro.
6871 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6873         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6874         to 0 when in 32 bit mode.
6875         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6876         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6877         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6878         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6880         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6881         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6882         XSTAT_IS_XSTAT64 test.
6883         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6884         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6885         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6886         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6887         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6888         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6889         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6890         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6891         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6892         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6893         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6895 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6897         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6898         (setpayload): New declaration.
6899         * math/Versions (setpayload): New libm symbol at version
6900         GLIBC_2.25.
6901         (setpayloadf): Likewise.
6902         (setpayloadl): Likewise.
6903         * math/Makefile (libm-calls): Add s_setpayloadF.
6904         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6905         test_Ff_b1_data.
6906         (RUN_TEST_Ff_b1): New macro.
6907         (RUN_TEST_LOOP_Ff_b1): Likewise.
6908         (canonicalize_test_data): Update type.
6909         (setpayload_test_data): New array.
6910         (setpayload_test): New function.
6911         (main): Call setpayload_test.
6912         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6913         setpayloadf and setpayloadl.
6914         * manual/libm-err-tab.pl: Update comment on interfaces without
6915         ulps tabulated.
6916         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6917         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6918         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6919         Likewise.
6920         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6921         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6922         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6923         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6924         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6925         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6926         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6927         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6928         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6929         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6930         setpayload.
6931         (CFLAGS-nldbl-setpayload.c): New variable.
6932         * sysdeps/nacl/libm.abilist: Update.
6933         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6934         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6940         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6941         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6942         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6943         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6944         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6946         Likewise.
6947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6948         Likewise.
6949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6950         Likewise.
6951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6952         Likewise.
6953         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6954         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6955         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6956         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6957         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6959         Likewise.
6960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6961         Likewise.
6962         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6963         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6964         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6966 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6968         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6969         * include/unistd.h: Extend comment about __access_noerrno return
6970         semantics.
6971         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6972         (access_common): Correct typo for EACCES.
6974 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6976         * sysdeps/tile/math-tests.h: New file.
6978         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6979         (__old_set_dataplane): Rename from set_dataplane and make a
6980         compatibility symbol.
6981         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6982         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6983         sys/dataplane.h.
6985 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6987         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6988         script quote words in command output to log suitably for input to
6989         the shell.
6991 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6992             Maciej W. Rozycki  <macro@imgtec.com>
6994         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6995         `.Lno_weak_fn' label.
6996         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6997         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6999 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7000             Yury Norov  <ynorov@caviumnetworks.com>
7002         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
7003         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
7004         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7005         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
7006         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7007         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
7008         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7009         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7010         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7011         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
7012         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
7013         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
7014         (sysdep_routines): Remove oldgetrlimit64.
7015         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
7016         (sysdep_routines): Likewise.
7017         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
7018         (sysdep_routines): Likewise.
7019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7020         [$(subdir) = resource] (sysdep_routines): Likewise.
7021         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7022         [$(subdir) = resource] (sysdep_routines): Likewise.
7023         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
7024         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
7025         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
7026         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
7027         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
7028         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
7029         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
7030         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
7031         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
7032         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
7033         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
7034         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
7035         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
7036         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
7037         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
7038         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
7039         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
7040         setrlimit and getrlimit.
7041         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7042         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
7043         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
7044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
7045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
7046         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
7047         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
7048         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
7049         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7050         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
7051         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
7052         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
7053         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7054         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7055         (__old_getrlimit64): Add compatibility symbol.
7056         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7058 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7060         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7061         newly built gmp, mpfr and mpc.
7063         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7065 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7067         * conform/Makefile (linknamespace-libs): Rename to
7068         linknamespace-libs-thr.
7069         (linknamespace-libs-posix): New variable.
7070         (linknamespace-libs-xsi): Likewise.
7071         (linknamespace-libs-XPG3): Include libcrypt.a.
7072         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7073         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7074         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7075         (linknamespace-libs-XOPEN2K): Likewise.
7076         (linknamespace-libs-XOPEN2K8): Likewise.
7077         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7079         [BZ #20829]
7080         * stdio-common/Versions (__snprintf): Add to version
7081         GLIBC_PRIVATE.
7082         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7083         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7084         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7085         of snprintf.
7086         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7088 2016-11-16  Zack Weinberg  <zackw@panix.com>
7090         * string/string.h: Remove obsolete comment stating that
7091         strcoll_l and strxfrm_l have not yet been standardized.
7093 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7095         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7096         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7097         __access_noerrno.
7098         * io/access.c (__access_noerrno): New function.
7099         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7100         (hurd_fail_seterrno): Likewise.
7101         (access_common): Likewise.
7102         (__access_noerrno): Likewise.
7103         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7104         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7105         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7106         macro.
7108 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7110         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7111         Only declare fpregs if [__SH_FPU_ANY__].
7113 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7115         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7116         Make code unconditional.
7117         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7119 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7121         * manual/sysinfo.texi (S_APPEND): Delete.
7122         (S_IMMUTABLE): Likewise.
7124 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7125             Magnus Granberg  <zorry@gentoo.org>
7126             Mike Frysinger  <vapier@gentoo.org>
7128         [BZ #20662]
7129         * configure.ac (libc_cv_predef_stack_protector): Also check for
7130         __stack_chk_fail_local symbols.
7131         * configure: Regenerated.
7133 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7135         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7136         (libc_hidden_def): Remove redefinition.
7137         (__sigsetjmp): Add hidden definition.
7138         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7139         (libc_hidden_def): Remove redefinition.
7140         (__sigsetjmp): Add hidden definition.
7142 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7144         * scripts/build-many-glibcs.py (os.path): Do not import.
7145         (Context): Inherit explicitly from object.  Remove blank line
7146         between class and docstring.
7147         (Config): Likewise.
7148         (Glibc): Likewise.
7149         (Command): Likewise.
7150         (CommandList): Likewise.
7151         (Context.write_files): Store chmod mode in a variable.
7153         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7154         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7155         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7157 2016-11-14  Zack Weinberg  <zackw@panix.com>
7159         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7160         creating or re-creating it.
7162         * string/bits/string2.h: Fix typo in comment.
7164 2016-11-14  Zack Weinberg  <zackw@panix.com>
7166         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7167         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7168         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7169         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7170         of redirected function names.
7172         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7173         as well.  Document that MESSAGE must be a single string literal.
7175 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7177         * scripts/build-many-glibcs.py: New file.
7179         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7180         (do_test): Disable -Wmaybe-uninitialized around uses of
7181         except_mask.
7183         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7185 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7187         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7188         (atomic_store_release): Provide tilepro-specific implementations.
7190 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7192         * math/math.h (__MATH_TG): New macro.
7193         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7194         [__USE_ISOC99] (signbit): Likewise.
7195         [__USE_ISOC99] (isfinite): Likewise.
7196         [__USE_ISOC99] (isnan): Likewise.
7197         [__USE_ISOC99] (isinf): Likewise.
7198         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7199         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7200         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7201         __MATH_TG and __MATH_EVAL_FMT2.
7202         * sysdeps/generic/math_private.h (fabs_tg): Define using
7203         __MATH_TG.
7204         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7205         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7206         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7207         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7208         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7209         macro.
7210         (__iscanonical): Likewise.
7211         (iscanonical): Define using __MATH_TG.
7213 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7215         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7216         guards.
7218         * sysdeps/unix/sysv/linux/access.c: New file.
7219         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7221 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7223         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7224         and __WORDSIZE32_PTRDIFF_LONG.
7226 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7228         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7230 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7232         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7233         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7234         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7235         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7236         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7238         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7239         * sysdeps/unix/sysv/linux/truncate.c: New file.
7240         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7241         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7242         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7243         Remove.
7244         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7245         Likewise.
7247         * posix/tst-truncate-common.c: New file.
7248         * posix/tst-truncate.c: Use tst-truncate-common.c.
7249         * posix/tst-truncate64.c: Likewise and add LFS tests.
7250         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7251         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7252         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7253         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7254         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7256         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7257         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7258         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7259         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7260         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7261         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7262         Remove.
7263         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7264         Likewise.
7266 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7268         [BZ #20790]
7269         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7270         to MAXLINESIZE.
7271         * sunrpc/bug20790.x: New file.
7272         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7273         variable.
7274         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7275         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7277         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7279         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7281         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7282         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
7283         calloc, realloc, free, memalign and __libc_memalign rather than
7284         making them optional.
7286         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7287         for libc.so.
7289 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7291         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7292         ptw-lseek64.
7293         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7294         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
7295         Likewise.
7296         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7297         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7298         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7299         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7300         * sysdeps/unix/sysv/linux/lseek.c: New file.
7301         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7302         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7303         __libc_lseek64 from auto-generation.
7304         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7305         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7307 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7309         * nptl/tst-basic1.c (tf, do_test): Use write_message.
7310         * nptl/tst-cleanup1.c (do_test): Likewise.
7311         * nptl/tst-cleanup3.c (do_test): Likewise.
7312         * nptl/tst-key1.c (do_test): Likewise.
7313         * nptl/tst-key2.c (tf, do_test): Likewise.
7314         * nptl/tst-key3.c (tf, do_test): Likewise.
7315         * nptl/tst-stdio1.c (do_test): Likewise.
7316         * nptl/tst-stdio2.c (do_test): Likewise.
7318         * nptl/tst-kill3.c (handler): Use write_message in place of write.
7319         * nptl/tst-kill6.c (handler): Likewise.
7320         * nptl/tst-tls2.c (CB): Likewise.
7321         * nptl/tst-tls3.c (CB): Likewise.
7323 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
7325         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7327 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
7328             Steve Ellcey  <sellcey@caviumnetworks.com>
7330         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7331           __ASSUME_ST_INO_64_BIT as 0
7332         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7333         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7334           over the code where __ASSUME_ST_INO_64_BIT is used.
7335         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7336         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7337         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7339 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7341         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7342         Document ABI exposure of the __kind offset.
7343         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7344         Mention reason for the __kind offset exposure in the ABI.
7345         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7346         Likewise.
7347         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7348         Likewise.
7349         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7350         Likewise.
7351         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7352         (struct __pthread_mutex_s): Likewise.
7353         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7354         Likewise.
7355         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7356         Likewise.
7357         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7358         Likewise.
7359         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7360         Likewise.
7361         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7362         Likewise.
7363         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7364         Likewise.
7365         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7366         (struct __pthread_mutex_s): Likewise.
7367         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7368         (struct __pthread_mutex_s): Likewise.
7369         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7370         Likewise.
7372 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7374         * test-skeleton.c: Document do_test usage.
7376 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7378         * iconv/gconv.h (__gconv_info): Define __data element using a
7379         zero-length array.
7381 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7383         * math/test-tgmath2.c: Split up test function.
7385 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7387         * Rules (tests-expected): New variable, depending on
7388         $(run-built-tests).
7389         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7390         $(tests).
7392         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7393         $(tests-unsupported).
7395 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7397         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7398         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7400 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7402         [BZ #20768]
7403         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7404         __fegetenv instead of fegetenv.
7406         [BZ #14139]
7407         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7408         (find_files): Obtain platform name from libm-test-ulps-name and
7409         store in %pplatforms.
7410         (canonicalize_platform): Remove.
7411         (print_platforms): Use $pplatforms directly.
7412         (by_platforms): Do not allow for platforms missing from
7413         %pplatforms.
7414         * sysdeps/aarch64/libm-test-ulps-name: New file.
7415         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7416         * sysdeps/arm/libm-test-ulps-name: Likewise.
7417         * sysdeps/generic/libm-test-ulps-name: Likewise.
7418         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7419         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7420         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7421         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7422         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7423         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7424         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7425         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7426         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7427         * sysdeps/nios2/libm-test-ulps-name: Likewise.
7428         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7429         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7430         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7431         * sysdeps/sh/libm-test-ulps-name: Likewise.
7432         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7433         * sysdeps/tile/libm-test-ulps-name: Likewise.
7434         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7436         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7438         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7439         (test-xfail-check-execstack): New variable.
7441         * sysdeps/mips/localplt.data: New file.
7443 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
7444             Steve Ellcey  <sellcey@caviumnetworks.com>
7446         * bits/wordsize.h: Add documentation.
7447         * sysdeps/aarch64/bits/wordsize.h : New file
7448         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7449         definitions.
7450         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7451         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7452         with #if instead of #ifdef.
7453         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7454         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7455         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7456         Add or change defines.
7457         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7458         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7459         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7460         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7461         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7462         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7463         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7464         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7465         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7466         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7467         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7468         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7469         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7470         * sysdeps/x86/bits/wordsize.h: Likewise.
7472 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
7473             Kevin Petit  <kevin.petit@arm.com>
7475         * sysdeps/aarch64/memchr.S (__memchr): New file.
7477 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7479         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7481 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
7483         [BZ #19398]
7484         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7485         $(linknamespace-symlists-tests).
7487 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
7489         * time/tst-strptime2.c: Ignore -Wformat-length warning.
7491 2016-11-02  Florian Weimer  <fweimer@redhat.com>
7492             Carlos O'Donell  <carlos@redhat.com>
7494         [Bug #20729]
7495         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7496         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
7497         for -Os related change.
7499 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
7501         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7503 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
7505         [BZ #19673]
7506         * manual/math.texi (Exponents and Logarithms): Correct description
7507         of clog10.
7509 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
7511         [Bz #20729]
7512         * locale/weight.h: Include libc-internal.h.
7513         * locale/weightwc.h: Likewise.
7514         * nptl/nptl_dbP.h: Likewise.
7516 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7518         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7519         when it is MACH_PORT_NULL.
7521 2016-10-31  Andreas Schwab  <schwab@suse.de>
7523         [BZ #20707]
7524         * posix/glob.c (glob): Initialize pglob before checking for
7525         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7526         valid brace expression despite GLOB_BRACE.
7527         * posix/globtest.sh: Test it.
7529 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7531         [BZ #20729]
7532         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7533         Define.
7534         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7535         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7536         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7537         for seq2.back_us and seq1.back_us only for -Os compiles.
7538         * locale/weightwc.h (findix): Likewise.
7539         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7540         DB_GET_FIELD_ADDRESS only for -Os compiles.
7541         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7542         for slen only for -Os compiles.
7543         * string/strcoll_l.c (get_next_seq): Ignore
7544         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7545         for -Os compiles.
7547         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7548         * include/crypt.h: New file.
7550 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7552         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7553         from test-skeleton.c.
7554         (statclass): Replace calls to write with calls to write_message.
7556 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7558         * math/math.h
7559         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7560         New macro.
7561         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7562         Likewise.
7563         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7564         Likewise.
7565         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7566         SNANL.
7567         * math/test-double.h (snan_value_MACRO): New macro.
7568         * math/test-float.h (snan_value_MACRO): Likewise.
7569         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7570         * math/libm-test.inc (issignaling_test_data): Add tests of
7571         snan_value_MACRO.
7573 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7575         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7576         behavior when eliding a lock not held by the current thread.
7577         * sysdeps/powerpc/nptl/elide.h: Likewise.
7579 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7581         [BZ #20728]
7582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7583         branch to _exit() by a function call.
7585 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7587         * malloc/malloc.c: Update chunk layout comments.
7588         (chunk_main_arena): Update comment.
7590 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7592         * crypt/sha256.c, crypt/sha256-block.c,
7593         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7594         sha256_process_block to __sha256_process_block.
7595         * crypt/sha512.c, crypt/sha512-block.c,
7596         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7597         sha512_process_block to __sha512_process_block.
7599 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7601         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7603         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7605 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7607         [BZ #20019]
7608         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7609         definition in unrelocated shared library.
7610         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7612 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7614         [BZ #20729]
7615         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7616         * sysdeps/unix/sysv/linux/i386/Makefile
7617         (uses-6-syscall-arguments): Define.
7618         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7619         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7620         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7621         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7622         Likewise.
7623         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7624         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7625         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7626         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7627         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7628         (CFLAGS-fallocate64.os): Likewise.
7629         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7630         (CFLAGS-pthread_rwlock_timedrdlock.os)
7631         (CFLAGS-pthread_rwlock_timedwrlock.o)
7632         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7633         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7634         (CFLAGS-sem_timedwait.os): Likewise.
7636 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7638         * elf/tst-linkall-static.c: New file.
7639         * elf/Makefile (tests-static): Add tst-linkall-static.
7640         (tst-linkall-static): Link against static libraries.
7642 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7644         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7645         mmaped chunks.
7647 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7649         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7650         members to mchunk_prev_size, mchunk_size.
7651         (chunk_main_arena): Reverse sense and rename from
7652         chunk_non_main_arena.
7653         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7654         mchunk_size instead of size.
7655         (set_non_main_arena): Define.
7656         (chunksize): Use chunksize_nomask instead of direct member access.
7657         (chunksize_nomask): Define.
7658         (next_chunk): Use chunksize instead of direct member access.
7659         (prev_size, set_prev_size): Define.
7660         (prev_chunk): Use prev_size instead of direct member access.
7661         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7662         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7663         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7664         (mchunk_prev_size, mchunk_size): Poison tokens.
7665         (unlink): Use chunksize_nomask, prev_size accessors.
7666         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7667         (do_check_free_chunk): Use prev_size accessor.
7668         (sysmalloc): Use set_prev_size, set_head accessors.
7669         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7670         (__libc_free): Use chunksize_nomask accessor.
7671         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7672         chunk_main_arena accessors.
7673         (_int_free): Use chunksize_nomask, prev_size accessors.
7674         (malloc_consolidate): Use chunksize, prev_size accessors.
7675         (_int_realloc): Use chunksize_nomask accessor.
7676         (_int_memalign): Use set_prev_size accessor.
7677         (__malloc_info): Use chunksize_nomask accessor.
7678         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7679         accessors.
7680         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7681         (heap_trim): Use chunksize_nomask, prev_size accessors.
7683 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7685         [BZ #19380]
7686         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7687         for inexact results.
7688         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7689         of inexact result where mpfr_subnormalize is the only inexact
7690         step.
7691         * stdlib/tst-strtod-round-data.h: Regenerated.
7692         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7693         Define to 0.
7694         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7696 2016-10-27  David S. Miller  <davem@davemloft.net>
7698         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7700 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7702         * malloc/malloc.c (do_set_mallopt_check): New function.
7703         (do_set_mmap_threshold): Likewise.
7704         (do_set_mmaps_max): Likewise.
7705         (do_set_top_pad): Likewise.
7706         (do_set_perturb_byte): Likewise.
7707         (do_set_trim_threshold): Likewise.
7708         (do_set_arena_max): Likewise.
7709         (do_set_arena_test): Likewise.
7710         (__libc_mallopt): Use them.
7712 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7714         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7715         (canonicalize): New declaration.
7716         * math/Versions (canonicalize): New libm symbol at version
7717         GLIBC_2.25.
7718         (canonicalizef): Likewise.
7719         (canonicalizel): Likewise.
7720         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7721         * math/s_canonicalize_template.c: New file.
7722         * math/libm-test.inc: Update comment on functions tested and
7723         testing of NaN payloads.
7724         (TEST_NAN_PAYLOAD): New macro.
7725         (NO_TEST_INLINE): Update value.
7726         (XFAIL_TEST): Likewise.
7727         (ERRNO_UNCHANGED): Likewise.
7728         (ERRNO_EDOM): Likewise.
7729         (ERRNO_ERANGE): Likewise.
7730         (IGNORE_RESULT): Likewise.
7731         (NON_FINITE): Likewise.
7732         (TEST_SNAN): Likewise.
7733         (NO_TEST_MATHVEC): Likewise.
7734         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7735         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7736         (struct test_Ffp_b1_data): New type.
7737         (RUN_TEST_Ffp_b1): New macro.
7738         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7739         (canonicalize_test_data): New array.
7740         (canonicalize_test): New function.
7741         (main): Call canonicalize_test.
7742         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7743         canonicalizef and canonicalizel.
7744         * manual/libm-err-tab.pl: Update comment on interfaces without
7745         ulps tabulated.
7746         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7747         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7748         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7749         canonicalize.
7750         (CFLAGS-nldbl-canonicalize.c): New variable.
7751         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7752         to ...
7753         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7754         ... here.
7755         (do_test): Also test canonicalizel.
7756         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7757         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7758         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7759         file.
7760         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7761         Use libm_hidden_def.
7762         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7763         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7764         (do_test): Also test canonicalizel.
7765         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7766         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7767         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7768         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7769         libm_hidden_def.
7770         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7771         macro.
7772         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7773         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7774         * sysdeps/nacl/libm.abilist: Update.
7775         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7776         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7777         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7778         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7779         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7780         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7781         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7782         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7783         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7784         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7785         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7786         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7788         Likewise.
7789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7790         Likewise.
7791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7792         Likewise.
7793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7794         Likewise.
7795         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7796         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7797         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7798         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7799         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7801         Likewise.
7802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7803         Likewise.
7804         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7805         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7806         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7808         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7809         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7810         getpayload.
7811         (CFLAGS-nldbl-getpayload.c): New variable.
7813 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7815         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7816         integer from the format string.
7818 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7820         [BZ #19473]
7821         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7822         declarations.
7823         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7824         weak aliases.
7825         * malloc/hooks.c (__malloc_get_state): Remove definition.
7826         (malloc_get_state): New stub implementation as
7827         compatibility symbol.
7828         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7829         compat symbol.
7830         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7831         malloc_set_state.
7832         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7834 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7836         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7837         (names): Turn into concatenation of strings.
7838         (gconv_init): Adapt iteration over names.
7840 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7842         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7843         make const.
7844         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7845         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7846         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7847         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7848         character in sbconv.
7849         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7850         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7851         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7853 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7855         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7857         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7858         (M_TRIM_THRESHOLD): Likewise.
7860         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7861         (M_ARENA_MAX): Likewise.
7862         * malloc/malloc.c: Remove obsolete comment.
7864         * manual/memory.texi: Add environment variable alternatives to
7865         setting mallopt parameters.
7867 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7869         * include/atomic.h
7870         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7871         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7873 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7875         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7876         * stdlib/tst-strfrom.h: New file.
7877         * stdlib/tst-strfrom.c: New file.
7878         * stdlib/tst-strfrom-locale.c: New file.
7880         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7881         * stdlib/bug-strtod2.c: Likewise.
7882         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7883         * stdlib/tst-strtod6.c: Likewise.
7884         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7886 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7888         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7889         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7890         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7891         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7892         * stdlib/stdlib.h (strfromd): New declaration.
7893         (strfromf): Likewise.
7894         (strfroml): Likewise.
7895         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7896         strfrom.
7897         * stdlib/strfromd.c: New file.
7898         * stdlib/strfromf.c: Likewise.
7899         * stdlib/strfroml.c: Likewise.
7900         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7901         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7902         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7903         * sysdeps/arm/nacl/libc.abilist: Update.
7904         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7905         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7906         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7907         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7908         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7909         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7910         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7911         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7912         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7913         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7914         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7915         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7916         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7917         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7922         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7923         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7924         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7925         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7926         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7927         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7928         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7929         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7930         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7931         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7933 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7935         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7936         instead of cmpli.
7937         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7938         instead of cmpli.
7940 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7942         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7943         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7944         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7945         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7946         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7947         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7949 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7951         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7952         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7953         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7954         SYSCALL_LL64_PRW.
7955         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7956         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7957         __ASSUME_PRW_DUMMY_ARG.
7958         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7959         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7960         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7961         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7962         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7963         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7965 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7967         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7969 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7971         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7972         "C++", to override a potential extern "C" directive around the
7973         header file inclusion.
7975 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7977         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7979 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7981         * sysdeps/powerpc/fpu/fenv_private.h:
7982         (_FPU_MASK_ALL): Rename to...
7983         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7984         XE FPSCR bits.
7986         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7988         (_FPU_MASK_ROUNDING): Rename to...
7989         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7990         NI bits.
7992         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7993         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7994         bits and rounding bits.
7996         (__libc_feholdbits_ppc): New inline function to mask, set,
7997         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7998         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7999         (libc_feholdexcept_setround_ppc): Likewise.
8001         (__libc_femergeenv_ppc): New function to dynamically mask both
8002         old and new FP environments and merge.
8003         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
8004         (libc_feresetround_ppc): Likewise.
8005         (libc_feupdateenv_test_ppc): Likewise.
8006         (libc_feupdateenv_ppc): Likewise.
8008         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
8009         of ISA RN bits, and update macro names.
8010         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
8011         effectively the same as the previously mentioned function.
8013         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
8014         usage with fe_resetround_ppc.
8016         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
8017         to be used.
8018         (libc_feholdexcept_setround_ctxf): Likewise.
8019         (libc_feholdexcept_setround_ctxl): Likewise.
8021 2016-10-21  Florian Weimer  <fweimer@redhat.com>
8023         [BZ #20715]
8024         * math/math.h [__cplusplus] (iszero): Define as function template.
8025         * math/Makefile [CXX] (tests): Add test-math-iszero.
8026         (CFLAGS-test-math-iszero.cc): Set.
8027         * math/test-math-iszero.cc: New file.
8029 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
8031         [BZ #20660]
8032         * sysdeps/arm/e_sqrt.c: New file.
8033         * sysdeps/arm/e_sqrtf.c: Likewise.
8035 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
8037         [BZ #20718]
8038         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
8039         not use floating-point comparisons to test sign.
8040         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
8041         Likewise.
8043         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8044         (getpayload): New declaration.
8045         * math/Versions (getpayload): New libm symbol at version
8046         GLIBC_2.25.
8047         (getpayloadf): Likewise.
8048         (getpayloadl): Likewise.
8049         * math/Makefile (libm-calls): Add s_getpayloadF.
8050         * math/libm-test.inc: Include <nan-high-order-bit.h>.
8051         (struct test_f_f_data): Add comment.
8052         (RUN_TEST_fp_f): New macro.
8053         (RUN_TEST_LOOP_fp_f): Likewise.
8054         (getpayload_test_data): New array.
8055         (getpayload_test): New function.
8056         (main): Call getpayload_test.
8057         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8058         descriptor.
8059         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8060         getpayloadf and getpayloadl.
8061         * manual/libm-err-tab.pl: Update comment on interfaces without
8062         ulps tabulated.
8063         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8064         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8065         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8066         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8067         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8068         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8069         * sysdeps/nacl/libm.abilist: Update.
8070         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8071         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8072         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8073         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8074         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8075         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8076         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8077         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8078         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8079         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8080         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8081         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8083         Likewise.
8084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8085         Likewise.
8086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8087         Likewise.
8088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8089         Likewise.
8090         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8091         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8092         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8093         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8094         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8095         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8096         Likewise.
8097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8098         Likewise.
8099         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8100         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8101         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8103 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8105         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8106         tst-fallocate{64}.
8107         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8108         on syscall return.
8110 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8112         [BZ #20689]
8113         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8114         usable.
8116 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8118         * sysdeps/generic/nan-high-order-bit.h: New file.
8119         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8120         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8121         * sysdeps/hppa/math_private.h: Remove file.
8122         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8123         not define here.
8124         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8125         <nan-high-order-bit.h>.
8126         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8127         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8128         <nan-high-order-bit.h>.
8129         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8130         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8131         <nan-high-order-bit.h>.
8132         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8133         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8134         <nan-high-order-bit.h>.
8135         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8136         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8137         <nan-high-order-bit.h>.
8138         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8139         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8140         <nan-high-order-bit.h>.
8141         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8142         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8143         <nan-high-order-bit.h>.
8144         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8145         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8146         <nan-high-order-bit.h>.
8147         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8148         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8149         <nan-high-order-bit.h>.
8150         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8151         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8152         <nan-high-order-bit.h>.
8153         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8154         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8155         <nan-high-order-bit.h>.
8156         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8157         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8158         <nan-high-order-bit.h>.
8159         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8160         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8161         <nan-high-order-bit.h>.
8162         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8163         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8164         <nan-high-order-bit.h>.
8165         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8166         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8167         <nan-high-order-bit.h>.
8168         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8169         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8170         <nan-high-order-bit.h>.
8171         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8172         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8173         <nan-high-order-bit.h>.
8174         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8175         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8176         <nan-high-order-bit.h>.
8177         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8179 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8181         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8183 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8185         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8186         abort-instr.h.
8187         (EFAULT): Remove conditional define.
8188         (ENOSYS): Likewise.
8189         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8190         instead of conditional branch instructions.
8192 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8194         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8195         (totalordermag): New declaration.
8196         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8197         New macro.
8198         * math/Versions (totalordermag): New libm symbol at version
8199         GLIBC_2.25.
8200         (totalordermagf): Likewise.
8201         (totalordermagl): Likewise.
8202         * math/Makefile (libm-calls): Add s_totalordermagF.
8203         * math/libm-test.inc (totalordermag_test_data): New array.
8204         (totalordermag_test): New function.
8205         (main): Call totalordermag_test.
8206         * math/test-tgmath.c (NCALLS): Increase to 125.
8207         (F(compile_test)): Call totalordermag.
8208         (F(totalordermag)): New function.
8209         * manual/arith.texi (FP Comparison Functions): Document
8210         totalordermag, totalordermagf and totalordermagl.
8211         * manual/libm-err-tab.pl: Update comment on interfaces without
8212         ulps tabulated.
8213         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8214         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8215         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8216         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8217         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8218         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8219         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8220         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8221         totalordermag.
8222         (CFLAGS-nldbl-totalordermag.c): New variable.
8223         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8224         (do_test): Also test totalordermagl.
8225         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8226         Likewise.
8227         * sysdeps/nacl/libm.abilist: Update.
8228         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8229         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8230         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8231         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8232         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8233         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8234         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8235         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8236         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8237         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8238         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8239         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8241         Likewise.
8242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8243         Likewise.
8244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8245         Likewise.
8246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8247         Likewise.
8248         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8249         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8250         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8251         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8252         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8254         Likewise.
8255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8256         Likewise.
8257         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8258         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8259         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8261 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8263         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8264         boolean.
8266 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8268         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8269         raising FE_INVALID with feraisexcept in case where part of
8270         argument is infinite, subtract that part of argument from itself.
8271         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8272         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8273         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8275 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8277         * math/libm-test.inc (totalorder_test_data): Add more tests.
8279 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8281         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8282         Undefine weak_alias and add a comment why mips64 require
8283         versioning.
8285 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8287         [BZ #20647]
8288         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8289         maximum CPUID level is less than 2.
8291 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8293         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8294         (totalorder): New declaration.
8295         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8296         New macro.
8297         * math/Versions (totalorder): New libm symbol at version
8298         GLIBC_2.25.
8299         (totalorderf): Likewise.
8300         (totalorderl): Likewise.
8301         * math/Makefile (libm-calls): Add s_totalorderF.
8302         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8303         string.
8304         * math/libm-test.inc (PAYLOAD_DIG): New macro.
8305         (qnan_value_pl): Likewise.
8306         (snan_value_pl): Likewise.
8307         (qnan_value): Define using qnan_value_pl.
8308         (snan_value): Define using snan_value_pl.
8309         (struct test_ff_i_data): Add comment about which tests use this
8310         structure.
8311         (RUN_TEST_ff_b): New macro.
8312         (RUN_TEST_LOOP_ff_b): Likewise.
8313         (totalorder_test_data): New array.
8314         (totalorder_test): New function.
8315         (main): Call totalorder_test.
8316         * math/test-tgmath.c (NCALLS): Increase to 122.
8317         (F(compile_test)): Call totalorder.
8318         (F(totalorder)): New function.
8319         * manual/arith.texi (FP Comparison Functions): Document
8320         totalorder, totalorderf and totalorderl.
8321         * manual/libm-err-tab.pl: Update comment on interfaces without
8322         ulps tabulated.
8323         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8324         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8325         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8326         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8327         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8328         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8329         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8330         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8331         totalorder.
8332         (CFLAGS-nldbl-totalorder.c): New variable.
8333         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8334         file.
8335         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8336         Add test-totalorderl-ldbl-128ibm.
8337         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8338         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8339         test-totalorderl-ldbl-96.
8340         * sysdeps/nacl/libm.abilist: Update.
8341         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8342         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8343         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8344         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8345         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8346         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8347         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8348         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8349         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8350         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8351         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8352         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8354         Likewise.
8355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8356         Likewise.
8357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8358         Likewise.
8359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8360         Likewise.
8361         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8362         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8363         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8364         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8365         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8367         Likewise.
8368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8369         Likewise.
8370         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8371         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8372         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8374 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8376         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8377         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8378         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8379         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8380         remove ENOSYS implementation.
8381         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8382         Consolidate all Linux implementations.
8384 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8386         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8387         * resolv/herror.c (herror): Cast away const-ness.
8388         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8389         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8391 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8393         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8394         instead of M_NAN + M_NAN.
8395         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8397 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8399         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8400         unused variable 'p'.
8402 2016-10-09  Alan Modra  <amodra@gmail.com>
8403             Andreas Schwab  <schwab@linux-m68k.org>
8405         [BZ #20554]
8406         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8407         [PIC && !SHARED]: Set up PIC register for PLT call.
8409 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8411         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8412         conditional on value of [__FLT_EVAL_METHOD__].
8413         * math/test-iseqsig-excess-precision.c: New file.
8414         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8416 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8418         * math/s_iseqsig_template.c: Include math-private.h.
8420         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8421         * posix/tst-posix_fadvise.c: New file.
8422         * posix/tst-posix_fadvise64.c: Likewise.
8423         * posix/tst-posix_fadvise-common.c: Likewise.
8424         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8425         (__ASSUME_FADVISE64_64_6ARG): Define.
8426         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8427         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8428         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8429         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8430         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8431         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8432         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8433         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8434         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8435         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8436         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8437         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8440         Likewise.
8441         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8442         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8443         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8444         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8445         Alias to __posix_fadvise64_l32.
8446         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8447         Add compat definition to posix_fadvise64.
8448         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8449         Add versioned definition to posix_fadvise64.
8450         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8451         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8452         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8453         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8454         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8456         * io/Makefile (tests): Add tst-posix_fallocate and
8457         tst-posix_fallocate64.
8458         * io/tst-posix_fallocate-common.c: New file.
8459         * io/tst-posix_fallocate.c: Likewise.
8460         * io/tst-posix_fallocate64.c: Likewise.
8461         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8462         file.
8463         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8464         Likewise.
8465         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8466         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8467         Likewise.
8468         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8469         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8470         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8471         SYSCALL_LL to pass both offset and len arguments.
8472         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8473         Likewise.
8474         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8475         __libc_pwrite64 alias used by posix_fallocate64.
8477         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8478         tst-fallocate64.
8479         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8480         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8481         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8482         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8483         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8484         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8485         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8486         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8487         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8488         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8489         macro on offset argument.
8490         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8491         SYSCALL_LL64 on offset argument.
8493         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8494         tst-fallocate64.
8495         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8496         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8497         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8498         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8499         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8500         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8501         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8502         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8503         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8504         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8505         macro on offset argument.
8506         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8507         SYSCALL_LL64 on offset argument.
8508         * test-skeleton.c (FAIL_RET): Add macro.
8509         (FAIL_EXIT): Likewise.
8510         (FAIL_EXIT1): Likewise.
8511         (_FAIL): Likewise.
8513 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8515         [BZ #20629]
8516         resolv: Remove RES_USEBSTRING and its implementation.
8517         * resolv/resolv.h (RES_USEBSTRING): Remove.
8518         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8519         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8520         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8521         (labellen): Remove extended label types support.
8522         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8523         * resolv/res_init.c (res_setoptions): Likewise.
8524         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8526 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8528         resolv: Remove RES_NOIP6DOTINT and its implementation.
8529         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8530         (RES_NOIP6DOTINT): Remove.
8531         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8532         handling.
8533         * resolv/res_debug.c (p_option): Likewise.
8534         * resolv/res_init.c (res_setoptions): Likewise.
8535         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8537 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8539         resolv: Deprecate unimplemented flags.
8540         * misc/sys/cdefs.h (__glibc_macro_warning1)
8541         (__glibc_macro_warning): Define.
8542         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8543         (RES_KEEPTSIG): Mark as deprecated.
8544         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8545         RES_NOCHECKNAME, RES_KEEPTSIG.
8546         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8548 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8550         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8551         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8552         Use strong_alias to create symbols for glibc verison 2.19.
8554 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8556         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8558 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8560         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8562 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8564         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8566 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8568         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8569         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8570         in header for using it as type for ifunc function because __GI_* symbols
8571         for ppc32 do not target the ifunc symbols.
8572         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8574 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8576         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8577         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8578         libc_ifunc_hidden_def.
8579         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8580         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8581         Redirect ifunced function in header for using it as type of ifunc'ed
8582         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8583         function for __GI_* symbol.
8584         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8585         * include/libc-symbols.h
8586         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8588 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8590         [BZ #20478]
8591         * sysdeps/s390/multiarch/ifunc-resolve.h
8592         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8593         to create ifunc symbols.
8594         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8595         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8596         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8597         for using it as type for ifunc function.
8598         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8599         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8600         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8601         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8602         * sysdeps/s390/multiarch/strcat.c: Likewise.
8603         * sysdeps/s390/multiarch/strchr.c: Likewise.
8604         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8605         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8606         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8607         * sysdeps/s390/multiarch/strlen.c: Likewise.
8608         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8609         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8610         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8611         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8612         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8613         * sysdeps/s390/multiarch/strspn.c: Likewise.
8614         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8615         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8616         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8617         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8618         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8619         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8620         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8621         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8622         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8623         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8624         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8625         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8627 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8629         * include/libc-symbols.h (__ifunc_resolver):
8630         New macro is used by __ifunc* macros.
8631         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8632         depending on HAVE_GCC_IFUNC.
8633         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8634         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8636         Redirect ifunced function in header for using as type for ifunc function.
8637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8642         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8643         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8644         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8645         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8646         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8647         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8648         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8649         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8650         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8656         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8657         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8658         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8659         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8660         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8661         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8662         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8663         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8664         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8665         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8666         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8667         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8668         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8669         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8671         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8672         instead of libc_ifunc() macro.
8673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8676 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8678         * config.h.in (HAVE_GCC_IFUNC): New undef.
8679         * configure.ac: Add check if gcc supports attribute ifunc feature.
8680         * configure: Regenerated.
8681         * manual/install.texi: Add recommendation for gcc with
8682         indirect-function support.
8683         * INSTALL: Regenerated.
8685 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8687         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8688         macro.
8689         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8690         (__iseqsig): New declaration.
8691         * math/s_iseqsig_template.c: New file.
8692         * math/Versions (__iseqsigf): New libm symbol at version
8693         GLIBC_2.25.
8694         (__iseqsig): Likewise.
8695         (__iseqsigl): Likewise.
8696         * math/libm-test.inc (iseqsig_test_data): New array.
8697         (iseqsig_test): New function.
8698         (main): Call iseqsig_test.
8699         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8700         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8701         * manual/libm-err-tab.pl: Update comment on interfaces without
8702         ulps tabulated.
8703         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8704         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8705         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8706         * sysdeps/nacl/libm.abilist: Update.
8707         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8708         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8709         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8710         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8711         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8712         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8713         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8714         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8715         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8716         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8717         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8718         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8720         Likewise.
8721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8722         Likewise.
8723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8724         Likewise.
8725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8726         Likewise.
8727         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8728         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8729         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8730         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8731         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8733         Likewise.
8734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8735         Likewise.
8736         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8737         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8738         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8740 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8742         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8743         do_sincos_2, sloww, sloww1): Update comments.
8745         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8746         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8748         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8749         K boolean and rename it.
8750         (__sin): Adjust.
8751         (__cos): Adjust.
8753 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8754             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8756         * manual/nss.texi: Fix typos in the manual.
8758 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8760         * manual/contrib.texi: Fix typos in the manual.
8762         * manual/maint.texi: Fix typos in the manual.
8764         * manual/install.texi: Fix typos in the manual.
8765         * INSTALL: Regenerated.
8767         * manual/lang.texi: Fix typos in the manual.
8769         * manual/probes.texi: Fix typos in the manual.
8771         * manual/threads.texi: Fix typos in the manual.
8773         * manual/debug.texi: Fix typos in the manual.
8775         * manual/crypt.texi: Fix typos in the manual.
8777         * manual/conf.texi: Fix typos in the manual.
8779         * manual/sysinfo.texi: Fix typos in the manual.
8781         * manual/users.texi: Fix typos in the manual.
8783         * manual/job.texi: Fix typos in the manual.
8785         * manual/process.texi: Fix typos in the manual.
8787         * manual/argp.texi: Fix typos in the manual.
8788         * manual/getopt.texi: Likewise.
8789         * manual/startup.texi: Likewise.
8791         * manual/signal.texi: Fix typos in the manual.
8793         * manual/setjmp.texi: Fix typos in the manual.
8795         * manual/resource.texi: Fix typos in the manual.
8797         * manual/time.texi: Fix typos in the manual.
8799         * manual/arith.texi: Fix typos in the manual.
8801         * manual/math.texi: Fix typos in the manual.
8803         * manual/syslog.texi: Fix typos in the manual.
8805         * manual/terminal.texi: Fix typos in the manual.
8807         * manual/socket.texi: Fix typos in the manual.
8809         * manual/filesys.texi: Fix typos in the manual.
8811         * manual/llio.texi: Fix typos in the manual.
8813         * manual/stdio.text: Fix typos in the manual.
8815 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8817         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8818         instead of K1.
8820         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8821         SHIFT_QUADRANT and make it bool.
8822         (do_sincos_2): Likewise.
8823         (sloww): Likewise.
8824         (sloww1): Likewise.
8825         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8826         (__cos): Likewise.
8828 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8830         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8832 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8834         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8835         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8836         0x7fffffffL].
8837         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8839 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8841         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8842         inline by __inline__.
8843         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8844         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8845         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8846         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8847         sigset_t from signal.h.
8848         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8849         which is already required.
8851 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8853         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8855 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8857         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8858         (struct tcp_repair_window): New type.
8860 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8862         * libio/tst-memstream3.c: Include string.h.
8864 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8866         [BZ #18241]
8867         [BZ #20181]
8868         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8869         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8870         write position is at the end the buffer.
8871         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8872         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8873         (_IO_str_seekoff): Set correct offset from negative displacement and
8874         set EINVAL for invalid ones.
8875         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8876         buffer length.
8877         (_IO_wstr_switch_to_get_mode): New function.
8878         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8879         set EINVAL for invalid ones.
8880         * libio/tst-memstream3.c: New file.
8881         * libio/tst-wmemstream3.c: Likewise.
8882         * manual/examples/memstrm.c: Remove warning when priting size_t.
8884 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8886         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8887         macro to use __builtin_fma.
8888         * sysdeps/x86_64/fpu/dla.h: Remove file.
8890         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8891         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8892         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8894 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8896         [BZ #20292]
8897         * elf/Makefile (routines): Add dl-addr-obj.
8898         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8899         tst-_dl_addr_inside_object.
8900         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8901         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8902         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8903         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8904         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8905         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8906         * elf/dl-open.c: Likewise.
8907         * elf/dl-addr-obj.c: New file.
8908         * elf/tst-_dl_addr_inside_object.c: New file.
8910 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8912         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8913         <bits/iscanonical.h>.
8914         * bits/iscanonical.h: New file.
8915         * math/s_iscanonicall.c: Likewise.
8916         * math/Versions (__iscanonicall): New libm symbol at version
8917         GLIBC_2.25.
8918         * math/libm-test.inc (iscanonical_test_data): New array.
8919         (iscanonical_test): New function.
8920         (main): Call iscanonical_test.
8921         * math/Makefile (headers): Add bits/iscanonical.h.
8922         (type-ldouble-routines): Add s_iscanonicall.
8923         * manual/arith.texi (Floating Point Classes): Document
8924         iscanonical.
8925         * manual/libm-err-tab.pl: Update comment on interfaces without
8926         ulps tabulated.
8927         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8928         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8929         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8930         Likewise.
8931         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8932         test-iscanonical-ldbl-128ibm.
8933         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8934         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8935         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8936         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8937         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8938         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8939         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8941         Likewise.
8942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8943         Likewise.
8944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8945         Likewise.
8946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8947         Likewise.
8948         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8949         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8951 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8953         * string/bits/string3.h: Remove C++ style comments.
8955 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8957         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8958         instead of ternary condition.
8959         (do_sincos_2): Likewise.
8960         (__sin): Likewise.
8961         (__cos): Likewise.
8962         (slow): Likewise.
8963         (sloww): Likewise.
8964         (sloww1): Likewise.
8965         (bsloww): Likewise.
8966         (bsloww1): Likewise.
8968         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8969         instead of ternary condition.
8970         (do_sin_slow): Likewise.
8971         (do_sincos_1): Likewise.
8972         (do_sincos_2): Likewise.
8973         (__cos): Likewise.
8974         (sloww): Likewise.
8975         (sloww1): Likewise.
8976         (sloww2): Likewise.
8977         (bsloww): Likewise.
8978         (bsloww1): Likewise.
8979         (bsloww2): Likewise.
8981         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8982         check from here...
8983         (slow2): ... and here...
8984         (__sin): ... to here.
8986 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8988         * math/math.h
8989         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8990         Cast argument to its own type.
8991         * math/test-iszero-excess-precision.c: New file.
8992         * math/Makefile (tests): Add test-iszero-excess-precision.
8993         (CFLAGS-test-iszero-excess-precision.c): New variable.
8995 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8997         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8998         field, add err field.
8999         (__spawni_child): Report error through err member instead of pipe.
9000         (__spawnix): Likewise.
9002 2016-09-28  Zack Weinberg  <zackw@panix.com>
9004         * scripts/check-installed-headers.sh: Generalize treatment of
9005         sys/elf.h to all target architectures.
9007         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
9008         deleted typedef ucontext_t.
9010 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9012         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
9013         (__INTERNAL_SYSCALL1): Likewise.
9014         (__INTERNAL_SYSCALL2): Likewise.
9015         (__INTERNAL_SYSCALL3): Likewise.
9016         (__INTERNAL_SYSCALL4): Likewise.
9017         (__INTERNAL_SYSCALL5): Likewise.
9018         (__INTERNAL_SYSCALL6): Likewise.
9019         (__INTERNAL_SYSCALL7): Likewise.
9020         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
9021         (__INTERNAL_SYSCALL_NARGS): Likewise.
9022         (__INTERNAL_SYSCALL_DISP): Likewise.
9023         (INTERNAL_SYSCALL_CALL): Likewise.
9024         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
9025         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
9026         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
9027         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
9028         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
9029         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
9030         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
9031         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
9032         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
9033         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
9034         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
9035         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
9036         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
9038 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
9040         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
9041         macro.
9042         * math/libm-test.inc (iszero_test_data): New array.
9043         (iszero_test): New function.
9044         (main): Call iszero_test.
9045         * manual/arith.texi (Floating Point Classes): Document iszero.
9046         * manual/libm-err-tab.pl: Update comment on interfaces without
9047         ulps tabulated.
9049 2016-09-23  Zack Weinberg  <zackw@panix.com>
9051         * scripts/check-installed-headers.sh: New script.
9052         * Rules: In each directory that defines header files to be installed,
9053         run check-installed-headers.sh on them as a special test.
9054         * Makefile: Likewise for the headers installed at top level.
9056         * include/aliases.h, include/alloca.h, include/argz.h
9057         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9058         * include/elf.h, include/envz.h, include/err.h
9059         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9060         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9061         * include/link.h, include/malloc.h, include/mcheck.h
9062         * include/mntent.h, include/netinet/ether.h
9063         * include/nss.h, include/obstack.h, include/printf.h
9064         * include/pty.h, include/resolv.h, include/rpc/auth.h
9065         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9066         * include/rpc/clnt.h, include/rpc/des_crypt.h
9067         * include/rpc/key_prot.h, include/rpc/netdb.h
9068         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9069         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9070         * include/rpc/rpc_msg.h, include/rpc/svc.h
9071         * include/rpc/svc_auth.h, include/rpc/xdr.h
9072         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9073         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9074         * include/rpcsvc/ypupd.h, include/shadow.h
9075         * include/stdio_ext.h, include/sys/epoll.h
9076         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9077         * include/sys/prctl.h, include/sys/profil.h
9078         * include/sys/statfs.h, include/sys/sysctl.h
9079         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9080         * sysdeps/arm/nacl/include/bits/setjmp.h
9081         * sysdeps/mips/include/sys/asm.h
9082         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9083         * sysdeps/unix/sysv/linux/include/sys/timex.h
9084         * sysdeps/x86/fpu/include/bits/fenv.h:
9085         Add #ifndef _ISOMAC guard around internal declarations.
9086         Add multiple-inclusion guard if not already present.
9088 2016-09-23  Zack Weinberg  <zackw@panix.com>
9090         * sysdeps/generic/sys/ucontext.h
9091         * sysdeps/arm/sys/ucontext.h
9092         * sysdeps/i386/sys/ucontext.h
9093         * sysdeps/m68k/sys/ucontext.h
9094         * sysdeps/mips/sys/ucontext.h
9095         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9096         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9097         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9098         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9099         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9100         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9101         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9102         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9103         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9104         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9105         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9106         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9107         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9108         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9109         Include both bits/sigcontext.h and bits/sigstack.h.
9110         Fix grammar error in comment, if present.
9112         * bits/sigstack.h
9113         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9114         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9115         * sysdeps/unix/sysv/linux/bits/sigstack.h
9116         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9117         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9118         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9119         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9120         * bits/sigcontext.h
9121         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9122         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9123         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9124         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9125         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9126         as well as signal.h, if this was not already allowed.  Request
9127         definition of size_t if necessary.  Minimize semantically-null
9128         differences across files.
9130 2016-09-23  Zack Weinberg  <zackw@panix.com>
9132         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9133         Remove all logic conditional on __need macros.  Move all the
9134         conditionally defined types to their own headers...
9135         * time/bits/types/clock_t.h: Define clock_t here.
9136         * time/bits/types/clockid_t.h: Define clockid_t here.
9137         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9138         * time/bits/types/struct_timespec.h: Define struct timespec here.
9139         * time/bits/types/struct_timeval.h: Define struct timeval here.
9140         * time/bits/types/struct_tm.h: Define struct tm here.
9141         * time/bits/types/time_t.h: Define time_t here.
9142         * time/bits/types/timer_t.h: Define timer_t here.
9143         * time/Makefile: Install the new headers.
9145         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9146         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9147         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9148         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9149         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9150         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9151         * sysdeps/unix/sysv/linux/bits/resource.h
9152         * sysdeps/unix/sysv/linux/bits/timex.h
9153         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9154         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9155         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9156         * sysdeps/unix/sysv/linux/sys/acct.h
9157         * sysdeps/unix/sysv/linux/sys/timerfd.h
9158         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9159         * time/sys/time.h, time/sys/timeb.h
9160         Use the new bits/types headers.
9162         * include/time.h: Remove __need logic.
9163         * include/bits/time.h
9164         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9165         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9166         * include/bits/types/struct_itimerspec.h
9167         * include/bits/types/struct_timespec.h
9168         * include/bits/types/struct_timeval.h
9169         * include/bits/types/struct_tm.h:
9170         New wrapper headers.
9172 2016-09-23  Zack Weinberg  <zackw@panix.com>
9174         * sysdeps/mach/hurd/net/if_ppp.h
9175         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9176         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9177         if __USE_MISC is defined, to ensure struct ifreq is declared.
9179         * inet/netinet/ether.h: Condition all function prototypes
9180         on __USE_MISC, to ensure struct ether_addr is declared.
9182         * socket/bits/types/struct_osockaddr.h: New header.
9183         * include/bits/types/struct_osockaddr.h: New wrapper.
9184         * socket/Makefile: Install the new header.
9185         * socket/sys/socket.h, inet/protocols/talkd.h:
9186         Refer to bits/types/struct_osockaddr.h for the definition of
9187         struct osockaddr.
9189 2016-09-23  Zack Weinberg  <zackw@panix.com>
9191         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9192         * inet/protocols/routed.h, inet/protocols/talkd.h
9193         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9194         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9195         * sysdeps/generic/netinet/if_ether.h
9196         * sysdeps/generic/netinet/in_systm.h
9197         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9198         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9199         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9200         * sysdeps/mach/hurd/net/if_arp.h
9201         * sysdeps/mach/hurd/net/if_ppp.h
9202         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9203         * sysdeps/unix/sysv/linux/bits/in.h
9204         * sysdeps/unix/sysv/linux/net/ethernet.h
9205         * sysdeps/unix/sysv/linux/net/if_arp.h
9206         * sysdeps/unix/sysv/linux/net/if_ppp.h
9207         * sysdeps/unix/sysv/linux/net/if_shaper.h
9208         * sysdeps/unix/sysv/linux/net/route.h
9209         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9210         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9211         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9212         * sysdeps/unix/sysv/linux/netipx/ipx.h
9213         * sysdeps/unix/sysv/linux/sys/acct.h
9214         * include/arpa/nameser.h, include/resolv.h:
9215         Change all uses of u_char to unsigned char,
9216         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9217         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9218         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9219         and u_int64_t and u_quad_t to uint64_t.
9221         * mach/sys/reboot.h: Remove two casts of integer literals
9222         to the types they already have.
9224         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9225         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9226         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9227         from referring to 'unsigned char' to 'uint8_t' for consistency with
9228         the macro definition below.
9230         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9231         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9232         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9233         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9234         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9235         * sysdeps/unix/sysv/linux/sys/acct.h
9236         * include/arpa/nameser.h, include/resolv.h:
9237         Fix indentation disrupted by mechanical edits.
9239         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9240         * sysdeps/generic/netinet/in_systm.h
9241         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9242         * sysdeps/gnu/netinet/udp.h
9243         * sysdeps/unix/sysv/linux/net/ethernet.h
9244         * sysdeps/unix/sysv/linux/net/if_arp.h
9245         * sysdeps/unix/sysv/linux/net/if_ppp.h
9246         * sysdeps/unix/sysv/linux/net/if_shaper.h
9247         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9248         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9249         * sysdeps/unix/sysv/linux/netipx/ipx.h
9250         * sysdeps/unix/sysv/linux/sys/acct.h
9251         Include stdint.h for uintNN_t definitions.
9252         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9254 2016-09-23  Zack Weinberg  <zackw@panix.com>
9256         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9257         * sysdeps/unix/sysv/linux/netrose/rose.h:
9258         Include sys/socket.h and netax25/ax25.h.
9260         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9261         * resolv/arpa/nameser_compat.h:
9262         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9264         * sysdeps/unix/sysv/linux/sys/quota.h:
9265         Use __caddr_t instead of caddr_t.
9266         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9267         Use __clockid_t instead of clockid_t.
9269         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9271         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9272         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9273         expanding it.
9275         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9276         Define __glibc_c99_flexarr_available to 1 when the compiler
9277         supports C99-compatible flexible array members, 0 otherwise.
9278         * sysdeps/unix/sysv/linux/bits/socket.h
9279         * sysdeps/mach/hurd/bits/socket.h
9280         * bits/socket.h: Use __glibc_c99_flexarr_available in
9281         definitions of struct cmsghdr and CMSG_DATA.
9283 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9285         * manual/nss.texi (NSS Modules Interface): Adjust function return
9286         type to enum nss_status.  Document errnop argument.  Clarify
9287         h_errnop semantics.  Fix cross-reference formatting.
9288         (NSS Module Function Internals): Mention that *errnop needs to be
9289         set on failure, but not to zero.
9291 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9293         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9294         (get_random_name): New functions.
9295         (check_wrapper_flags_mode): Use linkat to give the new file a name
9296         determined by get_random_name.
9297         (do_test): Add calls to test open64 and openat64.
9299 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9301         * test-skeleton.c: Remove #include <stdarg.h>.
9303 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
9305         [BZ #19826]
9306         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9307         initialization of static TLS entries.
9308         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9309         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9311 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9313         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9314         _hurd_malloc_fork_prepare.
9315         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9316         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9317         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9318         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9319         (_hurd_fork_child_hook): Drop malloc_fork_child.
9320         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9321         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
9322         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9323         after locking locks (notably hurd_dtable_lock). Call
9324         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9325         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9326         __malloc_fork_unlock_child.
9327         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9329 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
9331         * soft-fp/extendhftf2.c: New.
9332         * soft-fp/fixhfti.c: Likewise.
9333         * soft-fp/fixunshfti.c: Likewise.
9334         * soft-fp/floattihf.c: Likewise.
9335         * soft-fp/floatuntihf.c: Likewise.
9336         * soft-fp/half.h: Likewise.
9337         * soft-fp/trunctfhf2.c: Likewise.
9339 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9341         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9342         macro.
9343         * math/libm-test.inc (issubnormal_test_data): New array.
9344         (issubnormal_test): New function.
9345         * manual/arith.texi (Floating Point Classes): Document
9346         issubnormal.
9347         * manual/libm-err-tab.pl: Update comment on interfaces without
9348         ulps tabulated.
9350         * sysdeps/generic/stdint.h: Define
9351         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9352         <bits/libc-header-start.h> instead of including <features.h>.
9353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9360         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9361         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9362         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9363         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9364         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9365         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9367         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9368         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9369         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9370         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9371         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9372         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9373         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9374         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9375         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9376         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9377         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9378         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9379         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9380         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9381         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9382         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9383         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9384         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9385         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9386         * manual/arith.texi (Integers): Document these macros for types
9387         specified by width properties.
9388         * manual/lang.texi (Width of Type): Document these macros for
9389         other standard typedefs.
9390         * stdlib/tst-width-stdint.c: New file.
9391         * stdlib/Makefile (tests): Add tst-width-stdint.
9393 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9395         [BZ #20016]
9396         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9397         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9398         Move ...
9399         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9400         ... here, as compatibility symbols in a new file.
9401         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9402         * resolv/res_init.c (__res_vinit): Adjust member names.
9403         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9404         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9405         (res_send_rhook): Remove.
9406         (struct __res_state): Rename qhook, rhook members.
9408 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9410         malloc: Use __libc_lock wrappers.
9411         * malloc/arena.c (list_lock, free_list_lock): Define using
9412         __libc_lock_define_initialized.
9413         (arena_lock): Adjust formatting.
9414         * malloc/malloc.c (struct malloc_state): Define mutex using
9415         __libc_lock_define.
9416         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9417         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9418         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9419         (mutex_unlock, mutex_trylock): Remove.
9420         (__pthread_initialize): Remove unused macro.
9421         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9422         (mutex_unlock, mutex_trylock): Remove.
9424 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9426         [BZ #20592]
9427         Remove RR type classification macros.
9428         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9429         (ns_t_udp_p, ns_t_xfr_p): Remove.
9431 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9433         Remove misleading version information.
9434         * resolv/arpa/nameser.h (__NAMESER): Remove.
9435         * resolv/arpa/nameser_compat.h (__BIND): Remove.
9437 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9439         Remove the always-defined BIND_4_COMPAT macro.
9440         * resolv/arpa/nameser.h: Unconditionally include
9441         <arpa/nameser_compat.h>.
9442         (BIND_4_COMPAT): Remove.
9443         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9445 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9447         [BZ #20591]
9448         Remove obsolete DNSSEC support.
9449         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9450         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9451         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9452         (ns_verify_tcp, ns_verify_tcp_init): Remove.
9453         (ns_cert_types): Add comment.
9454         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9455         separately.
9456         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9457         (dst_s_dns_key_id): Remove.
9458         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9459         variables.
9461 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9463         [BZ #20524]
9464         * manual/string.texi (String/Array Comparison): Clarify the
9465         strverscmp behavior.
9467 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9469         * test-skeleton.c (xasprintf): Add function.
9470         * io/tst-open-tmpfile.c: New test.
9471         * io/Makefile (tests): Add it.
9473 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9475         Avoid running $(CXX) during build to obtain header file paths.
9476         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9477         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9478         * Makerules (cstdlib, cmath): Remove variables.  Use
9479         $(c++-cstdlib-header), $(c++-cmath-header) instead.
9480         * configure: Regenerate.
9482 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9484         * Makeconfig (all-object-suffixes): Include .op only if
9485         $(build-profile).
9487 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9489         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9490         conditionals.  Do not define PATH_MAX.
9492 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9494         * posix/Makefile (tests): Add tst-spawn3.
9495         * posix/tst-spawn3.c: New file.
9496         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9497         if it is already opened for open action.
9499         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9500         all signals when executing the clone vfork child.
9501         (SIGALL_SET): Remove macro.
9503         * nptl/Makefile (tests): Add tst-exec5.
9504         * nptl/tst-exec5.c: New file.
9505         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9506         asynchronous cancellation.
9508 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9510         * hurd/exc2signal.c: #include <hurd/signal.h>
9511         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9512         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
9513         accordingly.
9514         * mach/mach_error.c (mach_error): Fix old-style function definition.
9515         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9517 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9519         * math/Makefile (libm-calls): Remove s_nanF.
9520         (gen-libm-calls): Add s_nanF.
9522         * math/s_nan.c: Refactor into ...
9523         * math/s_nan_template.c: New file.
9525         * math/s_nanf.c: Removed.
9526         * math/s_nanl.c: Removed.
9527         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9528         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9530         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9531         (LDOUBLE_nanl_libm_version): New macro.
9533         * sysdeps/generic/math-type-macros-double.h:
9534         (M_STRTO_NAN): New macro.
9535         * sysdeps/generic/math-type-macros-float.h: Likewise.
9536         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9538         * sysdeps/generic/math-type-macros.h: Document
9539         M_STRTO_NAN.
9541 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9543         * math/s_nanf.c: Remove __nanf undef.
9544         * math/s_nan.c: Remove __nan undef.
9545         * math/s_nanl.c: Remove __nanl undef.
9547         * sysdeps/generic/math_private.h (__nan): Remove macro
9548         override.
9549         (__nanf): Likewise.
9550         (__nanl): Likewise.
9552 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9554         * math/Makefile (gen-all-calls): New variable.
9555         (generated): Replace gen-libm-calls with gen-all-calls.
9556         (gen-libm-templates.stmp): Likewise.  Also, ensure
9557         the output directory exists or is created and add
9558         dependency on the Makefile.
9559         (calls): Move s_ldexpF into gen-calls.
9560         (gen-calls): New variable.
9562         * math/s_ldexpf.c: Removed.
9563         * math/s_ldexpl.c: Removed.
9564         * math/s_ldexp.c: Refactored into ...
9565         * math/s_ldexp_template.c: New file.
9567         * sysdeps/generic/math-type-macros-double.h: Remove
9568         redundant fall-through definition of declare_mgen_alias.
9569         (declare_mgen_alias_2): New macro.
9571         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9572         New macro for function aliased to two exported symbols.
9574         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9575         new template file.
9576         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9578 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9580         * Makeconfig (all-object-suffixes): Remove .og.
9581         * Makerules (elide-routines.og): Remove.
9582         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9583         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9584         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9586 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9588         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9589         .os objects.
9591 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9593         [BZ #20615]
9594         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9595         fpu directory by non-fpu.
9596         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9597         on non-fpu directory from a fpu directory.
9599 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9601         * include/limits.h: Define
9602         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9603         <bits/libc-header-start.h> instead of including <features.h>.
9604         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9605         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9606         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9607         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9608         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9609         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9610         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9611         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9612         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9613         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9614         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9615         * manual/lang.texi (Width of Type): Document these macros.
9616         * stdlib/tst-width.c: New file.
9617         * stdlib/Makefile (tests): Add tst-width.
9619 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9621         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9622         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9624 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9626         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9627         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9628         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9630 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9632         [BZ #18243]
9633         * rt/Makefile (test): Add tst-shm-cancel.
9634         * rt/tst-shm-cancel.c: New file.
9635         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9637         [BZ #18243]
9638         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9639         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9640         definition.
9641         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9642         uncontended case.
9643         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9644         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9645         (tf): Fix check for uncontended case.
9646         (do_test): Likewise.
9647         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9648         (tf): Fix check for uncontended case.
9649         (do_test): Likewise.
9650         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9651         (tf): Fix check for uncontended case.
9652         (do_test): Likewise.
9653         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9654         (tf): Fix check for uncontended case.
9655         (do_test): Likewise.
9657         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9658         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9660         [BZ #15765]
9661         * nptl/Makefile (tests): Add tst-sem16.
9662         * nptl/tst-sem16.c: New file.
9663         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9665         * nptl/sem_open.c (sem_open): Init pad value to 0.
9666         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9667         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9669 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9671         [BZ #20611]
9672         * inet/Makefile (routines): Add inet6_scopeid_pton.
9673         (tests): Add tst-inet6_scopeid_pton.
9674         * inet/inet6_scopeid_pton.c: New file.
9675         * inet/net-internal.h: Likewise.
9676         * inet/tst-inet6_scopeid_pton.c: New test.
9677         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9678         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9679         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9681 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9683         Remove support for compiling wrappers with PTW.
9684         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9685         * nptl/Makefile (pthread-compat-wrappers): Define.
9686         (libpthread-routines): Use pthread-compat-wrappers.
9687         * sysdeps/unix/sysv/linux/alpha/Makefile
9688         (libpthread-routines, libpthread-shared-only-routines): Remove
9689         ptw- prefix.
9690         * sysdeps/s390/nptl/Makefile
9691         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9692         * sysdeps/ia64/nptl/Makefile
9693         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9694         * sysdeps/nacl/Makefile (libpthread-routines): Use
9695         pthread-compat-wrappers to filter the routines list instead of the
9696         ptw- prefix.
9698 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9700         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9701         with L() and remove explicit suffix, convert real literals
9702         which can be equivalentally substituted with integers, and
9703         transform -L(x) to L(-x).
9705         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9706         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9707         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9708         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9709         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9710         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9711         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9712         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9713         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9714         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9715         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9716         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9717         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9718         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9719         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9720         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9721         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9722         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9723         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9724         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9725         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9726         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9727         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9728         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9729         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9730         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9731         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9732         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9733         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9734         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9735         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9736         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9737         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9738         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9739         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9740         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9741         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9742         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9743         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9744         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9745         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9746         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9747         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9748         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9749         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9750         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9751         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9752         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9753         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9754         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9756 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9758         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9760 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9762         * malloc/Makefile (tests): Remove individual static test names
9763         and just add all of tests-static.
9765         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9767 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9769         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9770         file.
9772         * sysdeps/sparc/fpu/fegetmode.c: New file.
9773         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9775         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9776         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9778         * sysdeps/s390/fpu/fegetmode.c: New file.
9779         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9781         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9782         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9783         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9784         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9785         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9786         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9788         * sysdeps/mips/fpu/fegetmode.c: New file.
9789         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9791         * sysdeps/m68k/fpu/fegetmode.c: New file.
9792         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9794         * sysdeps/ia64/fpu/fegetmode.c: New file.
9795         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9797         * sysdeps/hppa/fpu/fegetmode.c: New file.
9798         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9800         * sysdeps/arm/fegetmode.c: New file.
9801         * sysdeps/arm/fesetmode.c: Likewise.
9803         * sysdeps/alpha/fpu/fegetmode.c: New file.
9804         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9806         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9807         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9809         * math/fegetmode.c: New file.
9810         * math/fesetmode.c: Likewise.
9811         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9812         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9813         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9814         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9815         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9817         declaration.
9818         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9819         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9820         typedef.
9821         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9822         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9823         (femode_t): New typedef.
9824         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9825         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9826         (femode_t): New typedef.
9827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9828         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9829         (femode_t): New typedef.
9830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9831         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9832         (femode_t): New typedef.
9833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9834         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9835         (femode_t): New typedef.
9836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9837         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9838         (femode_t): New typedef.
9839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9840         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9841         (femode_t): New typedef.
9842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9843         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9844         (femode_t): New typedef.
9845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9846         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9847         (femode_t): New typedef.
9848         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9849         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9850         (femode_t): New typedef.
9851         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9852         declaration.
9853         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9854         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9855         (femode_t): New typedef.
9856         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9857         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9858         (femode_t): New typedef.
9859         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9860         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9861         (femode_t): New typedef.
9862         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9863         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9864         (femode_t): New typedef.
9865         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9866         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9867         (femode_t): New typedef.
9868         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9869         * manual/arith.texi (FE_DFL_MODE): Document macro.
9870         (fegetmode): Document function.
9871         (fesetmode): Likewise.
9872         * math/Versions (fegetmode): New libm symbol at version
9873         GLIBC_2.25.
9874         (fesetmode): Likewise.
9875         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9876         (tests): Add test-femode and test-femode-traps.
9877         * math/test-femode-traps.c: New file.
9878         * math/test-femode.c: Likewise.
9879         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9880         alias for __fe_dfl_env.
9881         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9882         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9883         (__fe_dfl_mode): Likewise.
9884         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9885         version GLIBC_2.25.
9886         * sysdeps/nacl/libm.abilist: Update.
9887         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9888         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9889         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9890         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9891         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9892         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9893         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9894         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9895         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9896         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9897         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9898         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9900         Likewise.
9901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9902         Likewise.
9903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9904         Likewise.
9905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9906         Likewise.
9907         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9908         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9909         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9910         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9911         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9913         Likewise.
9914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9915         Likewise.
9916         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9917         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9918         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9920 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9922         [BZ #20495]
9923         [BZ #20508]
9924         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9925         processors, set Use_dl_runtime_resolve_slow and set
9926         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9927         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9928         New.
9929         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9930         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9931         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9932         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9933         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9934         if Use_dl_runtime_resolve_opt is set.  Use
9935         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9936         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9937         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9938         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9939         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9940         New.
9941         (_dl_runtime_resolve_opt): Likewise.
9942         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9943         defined.
9945 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9947         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9948         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9950 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9952         Convert malloc to __libc_lock.  Automated part, using this Perl
9953         s/// command:
9954           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9955             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9956         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9957         conversion.
9959 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9961         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9962         (linknamespace-symlists-tests): Likewise.
9963         (linknamespace-header-tests): Likewise.
9965 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9967         [BZ #19810]
9968         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9969         * elf/tst-noload.c: New test case.
9970         * elf/Makefile (tests): Add tst-noload.
9972 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9974         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9976         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9977         not any more.
9979         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9981 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9983         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9984         (do_cos_slow): Likewise.
9985         (do_sin): Likewise.
9986         (do_sin_slow): Likewise.
9987         (slow): Likewise.
9988         (slow1): Likewise.
9989         (slow2): Likewise.
9990         (sloww): Likewise.
9991         (sloww1): Likewise.
9992         (sloww2): Likewise.
9993         (bsloww): Likewise.
9994         (bsloww1): Likewise.
9995         (bsloww2): Likewise.
9996         (cslow2): Likewise.
9998         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
10000         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
10001         arguments.  Consolidate input partitioning from callers here.
10002         (do_cos_slow): Likewise.
10003         (do_sin): Likewise.
10004         (do_sin_slow): Likewise.
10005         (do_sincos_1): Remove the no longer necessary input partitioning.
10006         (do_sincos_2): Likewise.
10007         (__sin): Likewise.
10008         (__cos): Likewise.
10009         (slow1): Likewise.
10010         (slow2): Likewise.
10011         (sloww1): Likewise.
10012         (sloww2): Likewise.
10013         (bsloww1): Likewise.
10014         (bsloww2): Likewise.
10015         (cslow2): Likewise.
10017 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10019         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
10020         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
10021         outside of allocated array.
10023 2016-09-02  Florian Weimer  <fweimer@redhat.com>
10025         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
10026         instead of MB_CUR_MAX to avoid variable-length array.
10028 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10030         * math/Makefile (libm-calls): Remove k_rem_pio2F.
10031         (type-double-routines): Add k_rem_pio2.
10032         (type-float-routines): Add k_rem_pio2f.
10034         * sysdeps/generic/math_private.h:
10035         (__kernel_rem_pio2l): Removed.
10037         * math/k_rem_pio2l.c: Removed.
10038         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
10039         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
10040         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
10041         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
10043 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10045         * math/Makefile (gen-libm-calls): Add s_fmin
10046         (libm-calls): Remove above.
10048         * math/s_fmin.c: Refactor into ...
10049         * math/s_fmin_template.c: New file.
10051         * math/s_fminf.c: Removed.
10052         * math/s_fminl.c: Removed.
10053         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10054         (LDOUBLE_fmin_libm_version): New macro.
10056         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10057         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10059 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10061         * math/Makefile: (gen-libm-calls): Add s_fmax.
10062         (libm-calls): Remove above.
10064         * math/s_fmax.c: Refactor into ...
10065         * math/s_fmax_template.c: New file.
10066         * math/s_fmaxf.c: Removed.
10067         * math/s_fmaxl.c: Removed.
10069         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10070         (LDOUBLE_fmaxl_libm_version): New macro.
10072         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10073         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10075         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10076         s_fmin.c to pick the aarch64 version of the file.
10077         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10078         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10080 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10082         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10083         (libm-calls): Remove above.
10085         * math/s_nextdown.c: Refactor into ...
10086         * math/s_nextdown_template.c: New file.
10087         * math/s_nextdownf.c: Removed.
10088         * math/s_nextdownl.c: Removed.
10090         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10092 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10094         * math/Makefile (gen-libm-calls): Add s_fdim.
10095         (libm-calls): Move to above.
10097         * math/s_fdim.c: Renamed and refactored into to ...
10098         * math/s_fdim_template.c: New file.
10099         * math/s_fdiml.c: Removed.
10100         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10101         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10103         * sysdeps/generic/math-type-macros-double.h:
10104         (declare_mgen_alias): Don't declare if already declared.
10105         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10106         Likewise.
10108         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10109         (declare_mgen_alias): Don't declare if already declared.
10110         (M_LIBM_NEED_COMPAT): Likewise.
10111         (declare_mgen_libm_compat): Likewise.
10112         (LDOUBLE_fdiml_libm_version): New macro.
10114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10115         Include math/s_fdim.c now that ldbl-opt version is not needed.
10116         (declare_mgen_alias): New macro to disable aliasing.
10118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10119         (declare_mgen_alias): Likewise.
10120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10121         (declare_mgen_alias): Likewise.
10122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10123         (declare_mgen_alias): Likewise.
10124         (M_LIBM_NEED_COMPAT): Likewise.
10126 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10128         [BZ #20525]
10129         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10130         Include <linux/quota.h>.
10131         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10132         and btodb.
10133         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10134         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10135         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10136         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10137         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10138         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10139         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10140         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10141         types.
10142         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10143         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10145 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10147         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10148         (gammal_positive): Fix spacing.
10149         (__ieee754_gammal_r): Likewise.
10151 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10153         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10154         (_Float128): Define as long double, always.
10155         (L): Apply long double type suffix, always.
10157         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10158         _Float128, excepting comments.
10160         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10162         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10164         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10169         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10171         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10172         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10174         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10175         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10176         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10177         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10178         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10179         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10180         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10181         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10182         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10183         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10184         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10185         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10186         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10187         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10188         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10189         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10190         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10191         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10192         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10193         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10194         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10195         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10196         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10197         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10198         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10199         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10200         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10201         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10202         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10203         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10204         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10205         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10206         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10207         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10208         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10209         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10210         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10211         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10212         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10213         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10214         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10215         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10216         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10217         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10218         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10219         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10220         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10221         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10222         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10223         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10224         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10225         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10226         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10227         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10229         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10230         _Float128, and include math_private.h.
10231         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10233         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10234         long double semantics.
10235         (_Float128): Likewise.
10236         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10237         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10238         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10239         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10241 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10243         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10244         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10245         * sysdeps/s390/configure: Regenerated.
10246         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10247         instruction for raising over-/underflow if z196 zarch is supported
10248         by default.
10249         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10251 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10253         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10254         it point to a dumb buffer for RPC to fill it.
10256 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10258         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10259         instead of if/else.
10260         (do_sin_slow): Likewise.
10261         (do_sincos_1): Use fabs instead of if/else.
10262         (do_sincos_2): Likewise.
10263         (__sin): Likewise.
10264         (__cos): Likewise.
10265         (slow2): Likewise.
10266         (sloww): Likewise.
10267         (sloww1): Likewise.  Drop argument M.
10268         (sloww2): Use fabs instead of if/else.
10269         (bsloww): Likewise.
10270         (bsloww1): Likewise.
10271         (bsloww2): Likewise.
10273         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10274         fall through comment.
10275         (do_sincos_1): Likewise.
10277         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10278         Consolidate switch cases 0 and 2.
10280 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10282         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10283         (libm-calls): Remove the above.
10285         * math/s_cexp_template.c: Update using type-generic macros.
10286         * math/s_clog10_template.c: Likewise.
10287         * math/s_cpow_template.c: Likewise.
10288         * math/s_clog_template.c: Likewise.
10289         * math/s_cproj_template.c: Likewise.
10290         * math/s_csqrt_template.c: Likewise.
10292         * math/s_cexp.c: Removed.
10293         * math/s_cexpf.c: Removed.
10294         * math/s_cexpl.c: Removed.
10295         * math/s_clog10.c: Removed.
10296         * math/s_clog10f.c: Removed.
10297         * math/s_clog10l.c: Removed.
10298         * math/s_cpow.c: Removed.
10299         * math/s_cpowf.c: Removed.
10300         * math/s_cpowl.c: Removed.
10301         * math/s_clog.c: Removed.
10302         * math/s_clogf.c: Removed.
10303         * math/s_clogl.c: Removed.
10304         * math/s_cproj.c: Removed.
10305         * math/s_cprojf.c: Removed.
10306         * math/s_cprojl.c: Removed.
10307         * math/s_csqrt.c: Removed.
10308         * math/s_csqrtf.c: Removed.
10309         * math/s_csqrtl.c: Removed.
10311         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10312         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10313         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10314         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10315         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10316         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10318         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10319         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10320         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10321         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
10322         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10323         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10324         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10325         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10326         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10327         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10328         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10330         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10331         version.
10333         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10334         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10335         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10336         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10338 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10340         * s_cexp_template.c: Copy of s_cexp.c.
10341         * s_clog_template.c: Copy of s_clog.c.
10342         * s_clog10_template.c: Copy of s_clog10.c.
10343         * s_cpow_template.c: Copy of s_cpow.c.
10344         * s_cproj_template.c: Copy of s_cproj.c.
10345         * s_csqrt_template.c: Copy of s_csqrt.c.
10347 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10349         [BZ #20517]
10350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10351         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10352         exported.
10354 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10356         * math/fetestexceptflag.c: New file.
10357         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10358         Stefan Liebler.
10359         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10360         (fetestexceptflag): New function declaration.
10361         * manual/arith.texi (fetestexceptflag): Document function.
10362         * math/Versions (fetestexceptflag): New libm symbol at version
10363         GLIBC_2.25.
10364         * math/Makefile (libm-support): Add fetestexceptflag.
10365         (tests): Add test-fetestexceptflag.
10366         * math/test-fetestexceptflag.c: New file.
10367         * sysdeps/nacl/libm.abilist: Update.
10368         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10369         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10370         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10371         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10372         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10373         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10374         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10375         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10376         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10377         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10378         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10379         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10381         Likewise.
10382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10383         Likewise.
10384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10385         Likewise.
10386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10387         Likewise.
10388         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10389         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10390         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10391         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10392         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10394         Likewise.
10395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10396         Likewise.
10397         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10398         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10399         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10401 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10403         [BZ #20432]
10404         Avoid strong references to malloc-internal symbols when linking
10405         statically, to support statically interposed mallocs.
10406         * include/libc-symbols.h (call_function_static_weak): New macro.
10407         * malloc/Makefile (tests): Add tst-interpose-nothread,
10408         tst-interpose-thread, tst-interpose-static-nothread,
10409         tst-interpose-static-thread.
10410         (tests-static): Add tst-interpose-static-nothread,
10411         tst-interpose-static-thread.
10412         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10413         tst-interpose-aux-thread.o.
10414         (test-extras): Add tst-interpose-aux-nothread,
10415         tst-interpose-aux-thread.
10416         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10417         tst-interpose-aux-nothread.o.
10418         (tst-interpose-thread, tst-interpose-static-thread): Link with
10419         tst-interpose-aux-thread.o and libthread.
10420         * malloc/tst-interpose-aux-nothread.c: New file.
10421         * malloc/tst-interpose-aux-thread.c: Likewise.
10422         * malloc/tst-interpose-aux.c: Likewise.
10423         * malloc/tst-interpose-aux.h: Likewise.
10424         * malloc/tst-interpose-nothread.c: Likewise.
10425         * malloc/tst-interpose-skeleton.c: Likewise.
10426         * malloc/tst-interpose-static-nothread.c: Likewise.
10427         * malloc/tst-interpose-static-thread.c: Likewise.
10428         * malloc/tst-interpose-thread.c: Likewise.
10429         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10430         * sysdeps/mach/hurd/fork.c (__fork): Only call
10431         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10432         __malloc_fork_unlock_child if defined.
10433         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10435 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10437         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10438         timespec C99 designated initialization.
10440 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10442         [BZ #19946]
10443         Avoid expected SIGALRM signals.
10444         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10445         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10446         (xpthread_create, xpthread_detach, xpthread_join)
10447         (delayed_exit_thread, delayed_exit): New functions.
10448         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10449         (tf): Use xpthread_cond_wait.
10450         (do_test): Likewise.  Replace alarm with delayed_exit.
10451         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10452         (do_test): Call delayed_exit.  Report failure.
10453         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10454         (do_test): Call delayed_exit.
10455         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10456         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
10457         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10458         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
10459         error.
10460         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10461         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
10462         error.
10463         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10464         (do_test): Call delayed_exit.
10465         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10466         (do_test): Call delayed_exit.
10467         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10468         (do_test): Call delayed_exit instead of alarm.  Use
10469         xpthread_mutex_lock.
10470         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10471         (do_test): Call delayed_exit instead of alarm.  Use
10472         xpthread_mutex_lock.
10473         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10474         (do_test): Call delayed_exit instead of alarm.
10475         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10476         (do_test): Call delayed_exit instead of alarm.  Use
10477         xpthread_spin_lock.
10478         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10479         (do_test): Call delayed_exit instead of alarm.  Use
10480         xpthread_join.
10482 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10484         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10485         adjust CFA when allocating register save area on re-aligned
10486         stack.
10488 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10490         * string/tst-cmp.c: New test.
10491         * string/Makefile (tests): Add it.
10493 2016-08-25  Mark Wielaard  <mark@klomp.org>
10495         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10496         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
10497         (check_tree_recurse): Use newly defined accessors.
10498         (check_tree): Likewise.
10499         (maybe_split_for_insert): Likewise.
10500         (__tfind): Likewise.
10501         (__tdelete): Likewise.
10502         (trecurse): Likewise.
10503         (tdestroy_recurse): Likewise.
10504         (__tsearch): Likewise. And add asserts for malloc alignment.
10505         (__twalk): Cast root to node in case CHECK_TREE is defined.
10507 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10509         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10511 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10513         * math/Makefile (libm-gen-calls): Add
10514         catan, catanh, ctan, ctanh.
10515         (libm-calls): Remove the above.
10517         * math/s_catan_template.c: Update using type-generic macros.
10518         * math/s_catanh_template.c: Likewise.
10519         * math/s_ctan_template.c: Likewise.
10520         * math/s_ctanh_template.c: Likewise.
10522         * math/s_catanf.c: Removed.
10523         * math/s_catan.c: Removed.
10524         * math/s_catanl.c: Removed.
10525         * math/s_catanhf.c: Removed.
10526         * math/s_catanh.c: Removed.
10527         * math/s_catanhl.c: Removed.
10528         * math/s_ctanf.c: Removed.
10529         * math/s_ctan.c: Removed.
10530         * math/s_ctanl.c: Removed.
10531         * math/s_ctanhf.c: Removed.
10532         * math/s_ctanh.c: Removed.
10533         * math/s_ctanhl.c: Removed.
10535         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10536         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10537         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10538         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10539         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10540         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10542         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10543         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10544         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10545         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10547 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10549         * s_catan_template.c: Copy of s_catan.c.
10550         * s_catanh_template.c: Copy of s_catanh.c.
10551         * s_ctan_template.c: Copy of s_ctan.c.
10552         * s_ctanh_template.c: Copy of s_ctanh.c.
10554 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10556         * math/Makefile (gen-libm-calls): Move
10557         casin, casinh, csin, csinh here.
10558         (libm-calls): Remove the above.
10560         * math/s_casin_template.c: Update using type-generic macros.
10561         * math/s_casinh_template.c: Likewise.
10562         * math/s_csin_template.c: Likewise.
10563         * math/s_csinh_template.c: Likewise.
10564         * math/k_casinh_template.c: Likewise.
10566         * math/s_casinf.c: Removed.
10567         * math/s_casin.c: Removed.
10568         * math/s_casinl.c: Removed.
10569         * math/s_casinh.c: Removed.
10570         * math/s_casinhf.c: Removed.
10571         * math/s_casinhl.c: Removed.
10572         * math/s_csin.c: Removed.
10573         * math/s_csinf.c: Removed.
10574         * math/s_csinl.c: Removed.
10575         * math/s_csinh.c: Removed.
10576         * math/s_csinhf.c: Removed.
10577         * math/s_csinhl.c: Removed.
10578         * math/k_casinh.c: Removed.
10579         * math/k_casinhf.c: Removed.
10580         * math/k_casinhl.c: Removed.
10582         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10583         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10584         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10585         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10587         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10588         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10589         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10590         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10591         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10592         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10593         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10594         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10596         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10597         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10598         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10599         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10601         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10602         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10603         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10604         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10606 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10608         * s_casin_template.c: Copy of s_casin.c.
10609         * s_casinh_template.c: Copy of s_casinh.c.
10610         * s_csin_template.c: Copy of s_csin.c.
10611         * s_csinh_template.c: Copy of s_csinh.c.
10612         * k_casinh_template.c: Copy of k_casinh.c.
10614 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10616         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10618 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10620         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10621         (mul_split) Remove, rename as mul_splitl, remove
10622         redundant float.h include, and include via mul_splitl.h
10624         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10625         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10626         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10627         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10628         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10630         * math/mul_splitl.h: New file.
10632         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10633         Move into mul_split.h, and remove redundant float.h include.
10635         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10636         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10637         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10638         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10640         * math/mul_split.h: New file.
10642 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10644         * math/Makefile (libm-gen-calls): Move
10645         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10646         (libm-calls): Remove above.
10648         * math/s_cacos_template.c: Update using type-generic macros.
10649         * math/s_cacosh_template.c: Likewise.
10650         * math/s_ccos_template.c: Likewise.
10651         * math/s_ccosh_template.c: Likewise.
10653         * math/s_cacosf.c: Removed.
10654         * math/s_cacos.c: Removed.
10655         * math/s_cacosl.c: Removed.
10656         * math/s_cacoshf.c: Removed.
10657         * math/s_cacosh.c: Removed.
10658         * math/s_cacoshl.c: Removed.
10659         * math/s_ccosf.c: Removed.
10660         * math/s_ccos.c: Removed.
10661         * math/s_ccosl.c: Removed.
10662         * math/s_ccoshf.c: Removed.
10663         * math/s_ccosh.c: Removed.
10664         * math/s_ccoshl.c: Removed.
10666         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10667         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10668         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10669         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10670         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10671         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10673         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10674         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10675         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10676         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10678         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10679         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10680         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10681         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10683 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10685         * s_cacos_template.c: Copy of s_cacos.c.
10686         * s_cacosh_template.c: Copy of s_cacosh.c.
10687         * s_ccos_template.c: Copy of s_ccos.c.
10688         * s_ccosh_template.c: Copy of s_ccosh.c.
10690 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10692         * stdlib/tst-strtod-round-skeleton.c:
10693         Refactored from tst-strtod-round.c.
10695         (L_): New macro to apply literal modifier.
10696         (FNPFX): New macro to select str or wcs prefix.
10697         (CHAR): New macro to choose wchar_t or char.
10698         (STRM): New macro to choose printf for tested character type.
10700         (STRTO): New macro to choose appropriate string -> real function.
10701         (FNPFXS): Stringitized version of FNPFX.
10702         (STR): Support for above macro.
10703         (STRX): Likewise.
10705         (TEST): Update with above macros.
10706         (test): Likewise.
10707         (GEN_ONE_TEST): Likewise.
10708         (test_in_one_mode): Likewise.
10710         * stdlib/tst-strtod-round.c: New file.
10711         * wcsmbs/tst-wcstod-round.c: New file.
10713         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10714         (tst-wcstod-round): Add libm depencency for fesetround.
10716 2016-08-19  Zack Weinberg  <zackw@panix.com>
10718         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10720 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10722         [BZ #20477]
10723         * resolv/res_hconf.c (do_init): Use atomic access.
10724         * resolv/res_hconf.h: Add comments.
10725         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10726         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10729 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10731         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10732         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10733         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10734         Likewise.
10736 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10738         [BZ #16907]
10739         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10740         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10741         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10742         (__attribute__): Remove definition.
10744 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10746         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10747         Remove unused sqrtl declaration.
10749 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10751         * math/Makefile: (gen-libm-templates.stmp): New rule.
10752         (libm-calls): Move carg conj cimag and cabs into ...
10753         (gen-libm-calls): New variable.
10754         (generated): Inform Make objects from gen-libm-calls
10755         may be generated.
10757         * sysdeps/generic/math-type-macros.h: New file.
10758         * sysdeps/generic/math-type-macros-float.h: Likewise.
10759         * sysdeps/generic/math-type-macros-double.h: Likewise.
10760         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10761         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10762         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10764         * math/cabs.c: Refactor into
10765         * math/cabs_template.c: new file.
10766         * math/cabsf.c: Removed.
10767         * math/cabsl.c: Removed.
10768         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10769         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10771         * math/carg.c: Refactor into
10772         * math/carg_template.c: new file.
10773         * math/cargf.c: Removed.
10774         * math/cargl.c: Removed.
10775         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10776         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10778         * math/conj.c: Refactor into
10779         * math/conj_template.c: new file.
10780         * math/conjf.c: Removed.
10781         * math/conjl.c: Removed.
10782         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10783         * sysdeps/ieee754/ldbl-opt/conjl.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         * math/cimag.c: Refactor into
10793         * math/cimag_template.c: new file.
10794         * math/cimagf.c: Removed.
10795         * math/cimagl.c: Removed.
10796         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10797         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10799 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10801         Reduce time to expected nptl/tst-once5 failure.
10802         * nptl/tst-once5.cc (TIMEOUT): Define.
10804 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10806         [BZ #20452]
10807         Avoid additional copies of objects in libc.a in static libraries.
10808         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10809         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10810         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10811         rt-sysdep.
10812         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10813         Add nptl-sysdep.
10814         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10815         Add ptw-sysdep.
10816         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10817         rt-sysdep.
10818         * sysdeps/unix/sysv/linux/alpha/Makefile
10819         (libpthread-shared-only-routines): Add ptw-sysdep,
10820         ptw-sigprocmask, ptw-rt_sigaction.
10821         * sysdeps/unix/sysv/linux/ia64/Makefile
10822         (librt-shared-only-routines): Add rt-sysdep.
10823         * sysdeps/unix/sysv/linux/i386/Makefile
10824         (libpthread-shared-only-routines): Add libc-do-syscall.
10825         * sysdeps/unix/sysv/linux/microblaze/Makefile
10826         (libpthread-shared-only-routines): Add sysdep.
10827         * sysdeps/unix/sysv/linux/powerpc/Makefile
10828         (librt-shared-only-routines): Add rt-sysdep.
10829         (libpthread-shared-only-routines): Add sysdep.
10830         * sysdeps/unix/sysv/linux/s390/Makefile
10831         (librt-shared-only-routines): Add rt-sysdep.
10832         * sysdeps/unix/sysv/linux/sparc/Makefile
10833         (librt-shared-only-routines): Add rt-sysdep.
10834         (libpthread-shared-only-routines): Add sysdep.
10835         * sysdeps/unix/sysv/linux/tile/Makefile
10836         (libpthread-shared-only-routines): Likewise.
10838 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10840         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10841         Mask implicit bit out of unpacked value.
10842         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10846         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10848         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10850         * sysdeps/s390/fpu/fesetexcept.c: New file.
10852         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10853         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10854         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10856         * sysdeps/mips/fpu/fesetexcept.c: New file.
10858         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10860         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10862         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10864         * sysdeps/arm/fesetexcept.c: New file.
10866         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10868         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10870         * math/fesetexcept.c: New file.
10871         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10872         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10873         * math/fenv.h: Define
10874         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10875         <bits/libc-header-start.h> instead of including <features.h>.
10876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10877         declaration.
10878         * manual/arith.texi (fesetexcept): Document function.
10879         * math/Versions (fesetexcept): New libm symbol at version
10880         GLIBC_2.25.
10881         * math/Makefile (libm-support): Add fesetexcept.
10882         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10883         * math/test-fesetexcept.c: New file.
10884         * math/test-fesetexcept-traps.c: Likewise.
10885         * sysdeps/nacl/libm.abilist: Update.
10886         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10887         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10888         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10889         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10890         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10891         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10892         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10893         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10894         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10895         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10896         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10897         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10899         Likewise.
10900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10901         Likewise.
10902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10903         Likewise.
10904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10905         Likewise.
10906         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10907         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10908         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10909         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10910         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10912         Likewise.
10913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10914         Likewise.
10915         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10916         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10917         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10919 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10921         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10922         New.
10923         (do_test): Apply default_stack_size_in_mb if not set.
10924         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10926 2016-08-15  Andreas Schwab  <schwab@suse.de>
10928         [BZ #20435]
10929         CVE-2016-6323
10930         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10931         as .cantunwind.
10933 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10935         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10936         comment from fraiseexcpt.c.
10938         * math/test-fexcept.c (feraiseexcept_exact): New function.
10939         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10940         (test_except): Likewise.
10942 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10944         [BZ #20455]
10945         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10946         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10947         to be restored.
10949         * math/test-fexcept-traps.c: New file.
10950         * math/test-fexcept.c: Likewise.
10951         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10952         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10953         macro.
10954         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10955         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10957 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10959         * include/atomic.h (atomic_fetch_and_relaxed,
10960         atomic_fetch_and_release, atomic_fetch_or_release,
10961         atomic_fetch_xor_release): New.
10963 2016-08-06  Christian Seiler  <christian@iwakd.de>
10965         [BZ #20444]
10966         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10967         MACH_PORT_NULL.
10969 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10971         * math/s_fdim.c: Avoid alias renamed.
10972         * math/s_fdimf.c: Likewise.
10973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10974         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10975         Add s_fdimf-vis3, s_fdim-vis3.
10976         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10977         (CFLAGS-s_fdim-vis3.c): Likewise.
10978         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10979         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10981 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10984         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10985         Remove s_fdimf-vis3, s_fdim-vis3.
10986         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10987         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10994         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10995         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10997 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10999         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
11000         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
11001         -Wa,-Av9a -mvis.
11003 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11005         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
11006         LIT() to individual constants in simple expressions
11007         after splitting on spaces.
11008         (_apply_lit): Rename replaced version, and use it to
11009         apply to what appears to be a token.
11011         * math/libm-test.inc: Fix many, many issues with
11012         spacing.
11014 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
11016         * math/math.h: Move comment about <bits/mathdef.h> definitions
11017         above inclusion of <bits/mathdef.h>.  Do not mention
11018         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
11020 2016-08-05  Torvald Riegel  <triegel@redhat.com>
11022         * include/atomic.h (atomic_exchange_relaxed): New.
11024 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
11026         * math/e_scalb.c: Do not include <fenv.h>.
11027         (invalid_fn): Do calculation resulting in NaN instead of raising
11028         FE_INVALID and returning a NaN explicitly.
11029         * math/e_scalbf.c: Do not include <fenv.h>.
11030         (invalid_fn): Do calculation resulting in NaN instead of raising
11031         FE_INVALID and returning a NaN explicitly.
11032         * math/e_scalbl.c: Do not include <fenv.h>.
11033         (invalid_fn): Do calculation resulting in NaN instead of raising
11034         FE_INVALID and returning a NaN explicitly.
11036 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
11038         * po/de.po: Updated from Translation Project.
11039         * po/fi.po: Likewise.
11040         * po/sv.po: Likewise.
11042 2016-08-04  Florian Weimer  <fweimer@redhat.com>
11044         [BZ #20452]
11045         Use sysdep.o from libc.a in static libraries.
11046         * sysdeps/unix/sysv/linux/i386/Makefile
11047         (libpthread-shared-only-routines): Add sysdep.
11048         (librt-shared-only-routines): Likewise.
11050 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11052         * math/tgmath.h (nextdown): Define if
11053         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11054         (nextup): Likewise.
11056         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11057         macro.
11058         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11059         Document.
11060         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11061         Document macro.
11062         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11063         (exp10f): Likewise.
11064         (exp10l): Likewise.
11065         * math/bits/mathcalls.h (exp10): Declare if
11066         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11068         * manual/arith.texi (nextup): Fix typo in last change.
11070 2016-08-03  Zack Weinberg  <zackw@panix.com>
11072         [BZ #19239]
11073         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11074         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11075         define major, minor, and makedev to issue deprecation warnings on use.
11076         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11077         previously-activated deprecation warnings for these macros and prevent
11078         subsequent inclusions of this header from having any effect.
11079         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11080         including <sys/sysmacros.h>, and undefine it again afterward.
11082 2016-08-03  Zack Weinberg  <zackw@panix.com>
11084         * sysdeps/generic/sys/sysmacros.h: Delete file.
11085         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11086         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11087         * bits/sysmacros.h: ... here; this encoding is now the generic
11088         encoding.  Now defines only the following macros:
11089         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11090         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11091         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11093         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11094         bits/sysmacros.h and the above new macros to generate the
11095         public implementations of major, minor, and makedev.
11096         * misc/tst-makedev.c: New test.
11097         * include/sys/sysmacros.h: New wrapper.
11099         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11100         (routines): Add makedev.
11101         (tests): Add tst-makedev.
11102         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11103         gnu_dev_makedev.
11104         * posix/Makefile (headers): Remove sys/sysmacros.h.
11105         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11107         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11108         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11109         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11110         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11111         * sysdeps/unix/sysv/linux/arm/libc.abilist
11112         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11113         * sysdeps/unix/sysv/linux/i386/libc.abilist
11114         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11115         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11116         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11117         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11118         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11119         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11120         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11121         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11122         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11127         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11128         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11129         * sysdeps/unix/sysv/linux/sh/libc.abilist
11130         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11131         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11134         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11135         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11136         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11137         Add GLIBC_2.25.
11139         * include/features.h (__glibc_clang_prereq): New macro.
11140         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11141         (__attribute_deprecated_msg__): New macros.
11143 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11145         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11146         macro.
11147         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11148         * manual/arith.texi (issignaling): Document as ISO from TS
11149         18661-1:2014.
11150         (nextup): Likewise.
11151         (nextupf): Likewise.
11152         (nextupl): Likewise.
11153         (nextdown): Likewise.
11154         (nextdownf): Likewise.
11155         (nextdownl): Likewise.
11156         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11157         macro.
11158         * math/math.h: Define
11159         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11160         <bits/libc-header-start.h> instead of including <features.h>.
11161         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11162         [__USE_GNU].
11163         * math/bits/mathcalls.h (nextdown): Declare if
11164         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11165         (nextup): Likewise.
11166         (__issignaling): Likewise.
11168 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11170         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11171         check, and remove __glibc_likely hint
11172         from FP_INFINITE check.
11173         * s_csinhf.c (__csinhf): Likewise.
11175         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11176         hint from FP_INFINITE check.
11177         * s_csinhl.c (__csinhl): Likewise.
11179 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11181         * math/Makefile (libm-calls): Insert F placeholder into
11182         object names.  Move w_lgamma_compat* routines into
11183         (libm-compat-calls): New variable.
11184         (libm-compat-calls-ldouble-yes): New variable.
11185         (calls): Insert F placeholder.
11186         (generated): Redefine using new type-foreach macro call.
11187         (routines): Likewise.
11189         (types): New variable to hold a list of symbolic names
11190         for each type supported by the target machine.
11191         (libm-routines): Redefine using new types variable.
11192         (type-foreach): macro to replace fooF with the
11193         appropriately suffixed foo for each types.
11195         (type-ldouble-suffix): New variable.
11196         (type-ldouble-routines): Likewise.
11197         (type-ldouble-yes): Likewise.
11198         (type-double-suffix): Likewise.
11199         (type-double-routines): Likewise.
11200         (type-float-suffix): Likewise.
11201         (type-float-routines): Likewise.
11203         (dbl-only-routines): Remove.
11204         (long-c-yes): Likewise.
11205         (long-m-routines): Likewise.
11206         (long-m-support): Likewise.
11207         (long-m-yes): Likewise.
11208         (test-longdouble-yes): Likewise.
11210         (test-float.o): Simplify by increasing the scope of the
11211         recipe which adds libm-test.stmp to the vector types.
11212         (test-ifloat.o): Likewise.
11213         (test-float-finite.o): Likewise.
11214         (test-double.o): Likewise
11215         (test-idouble.o): Likewise.
11216         (test-double-finite.o): Likewise.
11217         (test-ldouble.o): Likewise
11218         (test-ildoubl.o): Likewise.
11219         (test-ldouble-finite.o): Likewise.
11221         (libm-tests): Redefine type tests using foreach and the
11222         list of types in types.
11224         (CPPFLAGS-test-ildoubl.c): Rename to
11225         (CPPFLAGS-test-ildouble.c): New variable
11227         * math/test-ildoubl.c: Rename to
11228         * math/test-ildouble.c: New file.
11230 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11232         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11233         Use fabsl instead of fabs.
11234         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11235         Likewise.
11236         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11237         Add long double suffix to constant to ensure proper
11238         promotion to long double.
11240 2016-08-03  Tom Tromey  <tom@tromey.com>
11242         [BZ #20311]
11243         * nptl_db/Makefile (headers): Add proc_service.h.
11244         * nptl_db/proc_service.h: Add include guard.  Use
11245         __BEGIN/__END_DECLS.
11246         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11247         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11248         arguments.
11251 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11253         [BZ #17730]
11254         Avoid using memalign for TCB allocations.
11255         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11256         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11257         Avoid alignment gap in the TLS_DTV_AT_TP case.
11258         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11259         determine the pointer to free.
11260         * nptl/tst-tls3-malloc.c: New test.
11261         * nptl/Makefile (tests): Add it.
11262         (tst-tls3-malloc): Link with libdl, libpthread.
11263         (LDFLAGS-tst-tls3-malloc): Set.
11264         (tst-tls3-malloc.out): Depend on DSO used in test.
11266 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11268         [BZ #17730]
11269         Avoid using memalign for TLS allocations.
11270         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11271         is_static member with to_free member.
11272         (union dtv): Use struct dtv_pointer.
11273         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11274         dtv_pointer instead of is_static.
11275         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11276         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11277         instead of val.
11278         (allocate_dtv_entry): New function.
11279         (allocate_and_init): Return struct dtv_pointer.  Call
11280         allocate_dtv_entry instead of __libc_memalign.
11281         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11282         instead of val.
11283         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11284         instead of is_static.  Adjust call to allocate_and_init.
11285         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11286         struct dtv_pointer instead of val.
11288 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11290         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11291         (MALLOC_ALIGN_MASK): Move ...
11292         * malloc/malloc-internal.h: ... to here.
11293         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11295 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11297         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11298         (UDP_ENCAP_GTP1U): Likewise.
11300         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11301         (PF_MAX): Update value.
11302         (AF_QIPCRTR): New macro.
11304 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11306         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11307         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11308         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11310         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11311         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11312         s_truncf-vis3, s_trunc-vis3.
11313         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11314         (CFLAGS-s_ceil-vis3.c): Likewise.
11315         (CFLAGS-s_floorf-vis3.c): Likewise.
11316         (CFLAGS-s_floor-vis3.c): Likewise.
11317         (CFLAGS-s_truncf-vis3.c): Likewise.
11318         (CFLAGS-s_trunc-vis3.c): Likewise.
11319         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11320         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11321         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
11322         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11326         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11327         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11328         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11329         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11330         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11332 2016-08-02  David S. Miller  <davem@davemloft.net>
11334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11335         (__nearbyint_vis3): Don't check for sNaN before float register is
11336         loaded with the incoming argument.
11337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11338         (__nearbyintf_vis3): Likewise.
11339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11340         Likewise.
11341         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11342         Likewise.
11344         * string/test-strncmp.c (do_test_limit): Make sure the test data
11345         stream is aligned as required for the type "CHAR".
11346         (do_test): Likewise.
11348 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11350         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11351         by beq instructions jumping to the end of the function.
11352         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11353         clobber list. Use "i" constraint instead of "X".
11354         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11355         of "X".
11357 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11359         * bits/libc-header-start.h: New file.
11360         * Makefile (headers): Add bits/libc-header-start.h.
11361         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11362         (__GLIBC_USE): New macro.
11363         * libio/stdio.h: Define
11364         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11365         <bits/libc-header-start.h> instead of including <features.h>.
11366         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11367         (open_memstream): Likewise.
11368         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11369         (__asprintf): Likewise.
11370         (asprintf): Likewise.
11371         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11372         (getdelim): Likewise.
11373         (getline): Likewise.
11374         * string/string.h: Define
11375         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11376         <bits/libc-header-start.h> instead of including <features.h>.
11377         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11378         (strndup): Likewise.
11379         * wcsmbs/wchar.h: Define
11380         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11381         <bits/libc-header-start.h> instead of including <features.h>.
11382         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11383         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11385 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11387         Support linking against compatibility symbols, for use in tests.
11388         * include/libc-symbols.h (symbol_version_reference): New macro.
11389         (symbol_version): Use it.
11390         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11391         (compat_symbol): Use compat_symbol_reference.
11392         (compat_symbol_1, compat_symbol_2): Remove.
11393         (compat_symbol_reference, compat_symbol_reference_1)
11394         (compat_symbol_reference_2): New macro.  Use
11395         symbol_version_reference.
11397 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11399         [BZ #19469]
11400         * malloc/Makefile (CPPFLAGS): Compile tests with
11401         -DTEST_NO_MALLOPT.
11402         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11404 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11406         [BZ #20033]
11407         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11408         finite version.
11409         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11410         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11411         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11412         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11413         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11414         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11415         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11416         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11417         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11418         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11419         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11420         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11421         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11422         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11423         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11424         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11425         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11426         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11427         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11428         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11429         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11430         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11431         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11432         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11433         in zero power.
11435 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11437         [BZ #20370]
11438         * malloc/arena.c (get_free_list): Update comment.  Assert that
11439         arenas on the free list have no attached threads.
11440         (remove_from_free_list): New function.
11441         (reused_arena): Call it.
11443 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
11445         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11446         when it is a NaN.
11447         [_IEEE_FP_INEXACT] Remove.
11448         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11449         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11450         when it is a NaN.
11451         [_IEEE_FP_INEXACT] Remove.
11452         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11453         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11454         when it is a NaN.
11455         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11456         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11457         when its absolute value is greater than 0x1.0p52.
11458         [_IEEE_FP_INEXACT] Remove.
11459         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11460         when its absolute value is greater than 0x1.0p23.
11461         [_IEEE_FP_INEXACT] Remove.
11463 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
11465         * version.h (RELEASE): Set to "development"
11466         (VERSION): Set to 2.24.90.
11467         * NEWS: Add 2.25 section.
11469         * version.h (RELEASE): Set to "stable"
11470         (VERSION): Set to 2.24.
11471         * include/features.h (__GLIBC_MINOR__): Set to 24.
11473         * NEWS: Add 2.24 fixed bugs.
11474         * po/libc.pot: Regenerate.
11476 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11479         [$(subdir) = math] (libm-sysdep_routines): Remove.
11480         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11481         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11482         s_truncf-vis3, s_trunc-vis3.
11483         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11485         file.
11486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11501         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11514         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11515         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11516         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11517         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11519         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11520         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11521         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11522         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11523         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11524         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11525         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11526         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11527         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11528         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11530 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11532         [BZ #20384]
11533         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11534         test-double-libmvec-sincos-avx-main.o,
11535         test-double-libmvec-sincos-avx2-main.o,
11536         test-double-libmvec-sincos-main.o,
11537         test-float-libmvec-sincosf-avx-main.o,
11538         test-float-libmvec-sincosf-avx2-main.o and
11539         test-float-libmvec-sincosf-main.o.
11540         test-float-libmvec-sincosf-avx512-main.o.
11541         ($(objpfx)test-double-libmvec-sincos): Also link with
11542         $(objpfx)test-double-libmvec-sincos-main.o.
11543         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11544         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11545         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11546         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11547         ($(objpfx)test-float-libmvec-sincosf): Also link with
11548         $(objpfx)test-float-libmvec-sincosf-main.o.
11549         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11550         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11551         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11552         test-double-libmvec-sincos-avx512-main.o and
11553         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11554         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11555         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11556         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11557         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11558         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11559         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11560         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11561         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11562         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11563         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11564         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11565         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11566         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11567         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11568         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11569         -DREQUIRE_AVX2.
11570         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11571         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11572         -DREQUIRE_AVX512F.
11573         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11574         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11575         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11576         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11577         file.
11578         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11579         Likewise.
11580         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11581         Likewise.
11582         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11583         Likewise.
11584         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11585         Likewise.
11586         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11587         Likewise.
11588         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11589         Likewise.
11590         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11591         Likewise.
11593 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11595         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11597 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11599         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11600         and typo in a comment about AT_HWCAP entry.
11602 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11604         * sysdeps/aarch64/libm-test-ulps: Updated.
11606 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11608         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11609         of r13 as it is not restored in mvcle case.
11611 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11613         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11614         Rename "ret" to "__ret".
11615         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11616         inline_syscall5, inline_syscall6): Likewise.
11618 2016-07-19   Will Newton  <will.newton@gmail.com>
11620         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11621         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11622         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11623         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11624         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11626 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11628         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11629         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11630         -mfpmath=387 with $(rtld-CFLAGS).
11631         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11632         $(rtld-CFLAGS).
11634 2016-07-18   Ross Burton  <ross.burton@intel.com>
11635              Khem Raj  <raj.khem@gmail.com>
11637         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11638         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11639         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11640         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11641         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11642         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11643         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11644         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11645         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11646         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11647         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11648         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11649         R_METAG_TLS_DTPOFF): New.
11651 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11652             Matt Clay  <mclay@lycos.com>
11654         [BZ #20357]
11655         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11656         to call __mpsin/__mpcos and to negate values.
11657         * math/auto-libm-test-in: Add test.
11658         * math/auto-libm-test-out: Regenerate.
11660 2016-07-18  Zack Weinberg  <zackw@panix.com>
11662         * grp/Makefile: Don't install the internal header grp-merge.h.
11664 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11666         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11668 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11670         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11672 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11674         [BZ #15368]
11675         * sysdeps/unix/sysv/linux/nptl-signals.h
11676         (__nptl_clear_internal_signals): New function.
11677         (__libc_signal_block_all): Likewise.
11678         (__libc_signal_block_app): Likewise.
11679         (__libc_signal_restore_set): Likewise.
11680         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11681         implementation.
11682         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11683         the cached pid/tid value in pthread structure.
11685 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11687         [BZ #20347]
11688         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11690 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11692         [BZ #20348]
11693         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11694         preadv64, pwrite64 and pwritev64.
11696 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11698         [BZ #20350]
11699         * posix/tst-preadwrite.c: Renamed to ...
11700         * posix/tst-preadwrite-common.c: This.
11701         (PREAD): Removed.
11702         (PWRITE): Likewise.
11703         (STRINGIFY): Likewise.
11704         (STRINGIFY2): Likewise.
11705         (do_prepare): Make it static and remove function arguments.
11706         (do_test): Likewise.
11707         (PREPARE): Updated.
11708         (TEST_FUNCTION): New.
11709         (name): Make it static.
11710         (fd): Likewise.
11711         (do_prepare): Use create_temp_file.
11712         (do_test): Renamed to ...
11713         (do_test_with_offset): This.  Make it static and accept offset.
11714         Properly check return value of PWRITE and PREAD.  Return bytes
11715         read.  Don't close fd nor unlink name.
11716         * posix/tst-preadwrite.c: Rewrite.
11717         * posix/tst-preadwrite64.c: Likewise.
11719 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11721         [BZ #20309]
11722         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11723         -mtls-dialect=gnu2 works.
11724         * configure: Regenerated.
11725         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11726         (tests): Add tst-gnu2-tls1.
11727         (modules-names): Add tst-gnu2-tls1mod.
11728         ($(objpfx)tst-gnu2-tls1): New.
11729         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11730         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11731         * elf/tst-gnu2-tls1.c: New file.
11732         * elf/tst-gnu2-tls1mod.c: Likewise.
11733         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11734         bytes for push in the PLT entry to align the stack.
11736 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11738         [BZ #20349]
11739         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11741 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11743         [BZ #18707]
11744         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11745         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11747 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11749         * sysdeps/unix/sysv/linux/sysdep.h
11750         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11751         guards.
11752         * misc/tst-preadvwritev-common.c: New file.
11753         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11754         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11755         a check for files larger than 2GB.
11757         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11758         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11759         * sysdeps/unix/sysv/linux/pread.c
11760         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11761         __OFF_T_MATCHES_OFF64_T.
11762         * sysdeps/unix/sysv/linux/pread64.c
11763         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11764         * sysdeps/unix/sysv/linux/preadv.c
11765         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11766         * sysdeps/unix/sysv/linux/preadv64.c
11767         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11768         * sysdeps/unix/sysv/linux/pwrite.c
11769         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11770         * sysdeps/unix/sysv/linux/pwrite64.c
11771         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11772         * sysdeps/unix/sysv/linux/pwritev.c
11773         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11774         * sysdeps/unix/sysv/linux/pwritev64.c
11775         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11777 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11779         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11780         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11782 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11784         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11786 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11788         [BZ #20240]
11789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11790         (CFLAGS-s_modf-ppc32.c): New variable.
11791         (CFLAGS-s_modff-ppc32.c): Likewise.
11792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11793         (CFLAGS-s_modf-ppc64.c): Likewise.
11794         (CFLAGS-s_modff-ppc64.c): Likewise.
11796 2016-07-07  Andreas Schwab  <schwab@suse.de>
11798         [BZ #20263]
11799         * nptl/tst-robust10.c: New test.
11800         * nptl/Makefile (tests): Add tst-robust10.
11802 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11804         [BZ #20263]
11805         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11807 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11809         * sysdeps/s390/linkmap.h (struct link_map_machine):
11810         Remove member gotplt and add member jmprel.
11811         * sysdeps/s390/s390-32/dl-machine.h
11812         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11813         instead of gotplt with &got[3].
11814         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11815         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11817 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11819         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11821 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11823         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11824         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11825         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11826         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11827         * libio/vtables.c (_IO_vtable_check)
11828         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11829         * libio/libioP.h (IO_set_accept_foreign_vtables)
11830         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11832 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11834         [BZ #20314]
11835         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11836         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11837         $(common-objpfx)cmath.
11838         ($(common-objpfx)cstdlib): New target.
11839         ($(common-objpfx)cmath): Likewise.
11841 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11843         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11845 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11847         [BZ #20327]
11848         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11849         are not part of the string.
11851 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11853         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11854         * nptl/tst-cancel4-common.h (fifoname): New variable.
11855         (fifofd): Likewise.
11856         (cl_fifo): New function.
11857         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11858         SIGINT.
11859         (tf_open): Add early cancel test.
11861 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11863         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11865 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11867         * sysdeps/generic/ldsodefs.h
11868         (dl_symbol_visibility_binds_local_p): New inline function.
11869         * elf/dl-addr.c (determine_info): Treat hidden and internal
11870         symbols as local.
11871         * elf/dl-lookup.c (do_lookup_x): Likewise.
11872         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11874 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11876         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11877         invalid exception for a sNaN input.
11878         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11879         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11880         (__nearbyint_vis3): Likewise
11881         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11882         (__nearbyintf_vis3): Likewise
11883         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11884         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11885         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11886         Likewise.
11887         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11888         Likewise.
11890 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11892         [BZ #20139]
11893         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11894         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11895         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11896         2.24 or above.
11897         (HAVE_AVX512_ASM_SUPPORT): Removed.
11898         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11899         * sysdeps/x86_64/configure: Regenerated.
11900         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11901         check unconditional.
11902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11903         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11904         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11905         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11906         Likewise.
11907         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11908         Likewise.
11909         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11910         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11911         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11912         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11913         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11914         Likewise.
11915         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11916         Likewise.
11917         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11918         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11919         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11920         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11921         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11922         Likewise.
11923         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11924         Likewise.
11925         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11926         Likewise.
11927         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11928         Likewise.
11929         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11930         Likewise.
11931         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11932         Likewise.
11933         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11934         Likewise.
11935         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11936         Likewise.
11937         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11938         Likewise.
11939         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11940         Likewise.
11941         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11942         Likewise.
11944 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11946         [BZ #20024]
11947         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11948         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11949         of this implementation of vector function.
11950         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11951         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11952         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11953         Likewise.
11954         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11955         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11956         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11957         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11958         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11959         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11960         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11961         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11962         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11963         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11964         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11965         for testing vector sincos with fixed ABI.
11966         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11967         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11968         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11969         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11970         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11971         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11972         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11973         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11974         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11975         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11976         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11977         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11978         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11979         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11980         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11981         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11983 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11985         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11987 2016-06-30  Anton Blanchard  <anton@samba.org>
11989         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11990         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11991         s_sinf-ppc64.
11992         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11994         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11995         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11997 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12000         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
12001         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
12002         e_expf-ppc64.
12003         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
12004         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
12005         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
12006         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
12008 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
12010         [BZ #20277]
12011         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
12012         when SHARED is defined.
12014 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
12016         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
12017         (index_arch_Prefer_ERMS): Likewise.
12018         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
12019         __memcpy_erms for Prefer_ERMS.
12020         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12021         (__memmove_erms): Enabled for libc.a.
12022         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
12023         __memmove_erms or Prefer_ERMS.
12024         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
12025         __mempcpy_erms for Prefer_ERMS.
12026         * sysdeps/x86_64/multiarch/memset.S (memset): Return
12027         __memset_erms for Prefer_ERMS.
12029 2016-06-30  Andreas Schwab  <schwab@suse.de>
12031         [BZ #20262]
12032         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
12033         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
12034         of memory.
12036 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
12038         [BZ #18645]
12039         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
12040         (test-extras): Add tst-cleanupx4aux.
12041         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
12042         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
12043         tst-cleanupx4aux.o.
12044         * nptl/tst-cleanupx4aux.c: New file.
12046 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
12048         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
12050 2016-06-29  Andreas Schwab  <schwab@suse.de>
12052         [BZ #20260]
12053         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12054         address before the beginning of the string as an integer to avoid
12055         array-bounds warning.
12057 2016-06-28  Richard Henderson  <rth@redhat.com>
12059         * elf/elf.h (EM_BPF): New.
12060         (EM_NUM): Update.
12061         (R_BPF_NONE, R_BPF_MAP_FD): New.
12063         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12064         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12065         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12066         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12067         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12068         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12069         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12070         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12071         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12072         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12073         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12074         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12075         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12076         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12077         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12078         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12079         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12080         (EM_NUM): Update.
12082 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12084         [BZ #18960]
12085         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12086         Set _nl_current_LC_CATEGORY_used to two instead of one.
12088 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12090         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12091         (do_test): ... this.
12092         (TEST_FUNCTION): New macro.
12093          Include test-skeleton.c.
12094         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12095         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12097 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12099         [BZ #15479]
12100         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12101         floating-point environment rather than just control word.
12102         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12103         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12104         floating-point environment, with "invalid" exceptions merged in,
12105         rather than just control word.
12106         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12107         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12108         "inexact" exceptions.
12110         [BZ #15479]
12111         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12112         floating-point environment rather than just control word.
12113         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12114         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12115         floating-point environment, with "invalid" exceptions merged in,
12116         rather than just control word.
12117         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12118         * math/libm-test.inc (floor_test_data): Do not allow spurious
12119         "inexact" exceptions.
12121         [BZ #15479]
12122         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12123         floating-point environment rather than just control word.
12124         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12125         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12126         floating-point environment, with "invalid" exceptions merged in,
12127         rather than just control word.
12128         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12129         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12130         "inexact" exceptions.
12132 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12134         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12135         __libc_vfork.
12136         (__vfork) [IS_IN (libc)]: Remove alias.
12137         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12138         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12139         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12141 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12143         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12144         of atomic_compare_and_exchange_bool_rel.
12145         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12146         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12147         catomic_compare_and_exchange_bool_rel): Remove.
12148         * sysdeps/aarch64/atomic-machine.h
12149         (atomic_compare_and_exchange_bool_rel): Likewise.
12150         * sysdeps/alpha/atomic-machine.h
12151         (atomic_compare_and_exchange_bool_rel): Likewise.
12152         * sysdeps/arm/atomic-machine.h
12153         (atomic_compare_and_exchange_bool_rel): Likewise.
12154         * sysdeps/mips/atomic-machine.h
12155         (atomic_compare_and_exchange_bool_rel): Likewise.
12156         * sysdeps/microblaze/atomic-machine.h
12157         ( __arch_compare_and_exchange_bool_8_rel,
12158         __arch_compare_and_exchange_bool_16_rel): Likewise.
12159         * sysdeps/powerpc/atomic-machine.h
12160         ( __arch_compare_and_exchange_bool_8_rel,
12161         __arch_compare_and_exchange_bool_16_rel): Likewise.
12162         * sysdeps/powerpc/powerpc32/atomic-machine.h
12163         ( __arch_compare_and_exchange_bool_32_rel,
12164         __arch_compare_and_exchange_bool_64_rel): Likewise.
12165         * sysdeps/powerpc/powerpc64/atomic-machine.h
12166         ( __arch_compare_and_exchange_bool_32_rel,
12167         __arch_compare_and_exchange_bool_64_rel): Likewise.
12168         * sysdeps/tile/atomic-machine.h
12169         (atomic_compare_and_exchange_bool_rel): Likewise.
12171 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12173         [BZ #20296]
12174         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12175         when either argument is a NaN.
12176         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12177         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12179         * math/libm-test.inc (snan_value_ld): New macro.
12180         (isgreater_test_data): Add sNaN tests.
12181         (isgreaterequal_test_data): Likewise.
12182         (isless_test_data): Likewise.
12183         (islessequal_test_data): Likewise.
12184         (islessgreater_test_data): Likewise.
12185         (isunordered_test_data): Likewise.
12186         (nextafter_test_data): Likewise.
12187         (nexttoward_test_data): Likewise.
12188         (remainder_test_data): Likewise.
12189         (remquo_test_data): Likewise.
12190         (significand_test_data): Likewise.
12191         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12193 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12195         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12196         environment macros are defined.
12197         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12199 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12201         [BZ #20191]
12202         Implement vtable verification in libio.
12203         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12204         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12205         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12206         _IO_new_file_init_internal instead of _IO_file_init.
12207         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12208         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12209         * libio/Makefile (routines): Add vtables.
12210         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12211         (_IO_init): Remove, not for internal use.
12212         (_IO_init_internal): Declare, internal replacement for _IO_init.
12213         (_IO_file_init): Remove, not for internal use.
12214         (_IO_new_file_init): Remove, not for internal use.
12215         (_IO_new_file_init_internal): Declare, internal replacement for
12216         _IO_new_file_init.
12217         (_IO_old_file_init): Remove, not for internal use.
12218         (_IO_old_file_init_internal): Declare, internal replacement for
12219         _IO_old_file_init.
12220         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12221         internal use.
12222         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12223         Declare.
12224         (libio_vtable): New macro.
12225         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12226         functions.
12227         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12228         _IO_new_file_init.
12229         (_IO_new_file_init): New externally visible wrapper which disables
12230         vtable verification.
12231         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12232         Define as vtables.
12233         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12234         (_IO_init): New externally visible wrapper which disables
12235         vtable verification.
12236         * libio/iofdopen.c (_IO_new_fdopen): Call
12237         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12238         comment.
12239         * libio/iofopen.c (__fopen_internal): Call
12240         _IO_new_file_init_internal instead of _IO_file_init.
12241         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12242         Define as vtables.
12243         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12244         _IO_new_file_init_internal instead of _IO_file_init.
12245         * libio/iopopen.c (_IO_new_popen): Likewise.
12246         (_IO_proc_jumps): Define as vtable.
12247         * libio/iovdprintf.c (_IO_vdprintf): Call
12248         _IO_new_file_init_internal instead of _IO_file_init.
12249         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12250         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12251         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12252         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12253         _IO_old_file_init.
12254         (_IO_old_file_init): New externally visible wrapper which disables
12255         vtable verification.
12256         (_IO_old_file_jumps): Define as vtable.
12257         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12258         _IO_old_file_init_internal instead of _IO_old_file_init.
12259         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12260         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12261         (_IO_old_proc_jumps): Define as vtable.
12262         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12263         Define as vtables.
12264         * libio/vtables.c: New file.
12265         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12266         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12267         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12268         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12269         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12270         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12271         instead of _IO_init.
12273 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12275         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12277 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12279         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12280         potentially unused.
12282 2016-06-22  Florian Weimer  <fweimer@redhat.com>
12284         * test-skeleton.c (write_message): New function.
12285         * malloc/tst-mallocfork2.c (write_message): Remove.
12286         * debug/tst-longjmp_chk2.c (write_indented): New function.
12287         (write_message): Remove.
12288         (stackoverflow_handler): Call write_indented.
12290 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
12292         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12293         "inexact" exceptions after fnstenv.
12294         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12295         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12296         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12298 2015-06-22  Zack Weinberg  <zackw@panix.com>
12300         * sysdeps/generic/bits/hwcap.h: Moved to ...
12301         * bits/hwcap.h: Here.
12303 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
12305         * sysdeps/aarch64/memcpy.S (memcpy):
12306         Further tuning for performance.
12308 2016-06-21  Florian Weimer  <fweimer@redhat.com>
12310         [BZ #20284]
12311         * malloc/arena.c (reused_arena): Do not return NULL if we start
12312         out with a non-corrupted arena.
12314 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12316         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12317         * misc/tst-preadvwritev.c: New file.
12318         * misc/tst-preadvwritev64.c: Likewise.
12319         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12320         usage.
12321         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
12322         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12323         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12324         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12326 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
12328         [BZ #19654]
12329         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12330         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12331         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12332         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12333         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12334         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12335         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12336         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12337         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12338         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12339         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12340         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12341         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12342         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12343         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12344         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12345         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12346         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12347         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12348         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12349         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12350         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12351         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12352         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12353         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12354         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12356 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12358         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12359         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12361 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12363         * sysdeps/aarch64/memcpy.S (memcpy):
12364         Rewrite of optimized memcpy and memmove.
12365         * sysdeps/aarch64/memmove.S (memmove): Remove
12366         memmove code (merged into memcpy.S).
12368 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12370         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12371         * sysdeps/generic/dl-dtv.h: New file.
12372         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12373         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12374         (dtv_t): Remove.
12375         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12376         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12377         (dtv_t): Remove.
12378         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12379         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12380         (dtv_t): Remove.
12381         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12382         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12383         (dtv_t): Remove.
12384         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12385         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12386         (dtv_t): Remove.
12387         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12388         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12389         (dtv_t): Remove.
12390         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12391         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12392         (dtv_t): Remove.
12393         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12394         (dtv_t): Remove.
12395         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12396         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12397         (dtv_t): Remove.
12398         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12399         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12400         (dtv_t): Remove.
12401         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12402         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12403         (dtv_t): Remove.
12404         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12405         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12406         (dtv_t): Remove.
12407         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12408         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12409         (dtv_t): Remove.
12410         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12411         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12412         (dtv_t): Remove.
12413         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12414         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12415         (dtv_t): Remove.
12416         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12417         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12418         (dtv_t): Remove.
12420 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12422         Revert symbol poisoning of  __malloc_initialize_hook.
12423         * include/stdc-predef.h (__malloc_initialize_hook): Remove
12424         poisoning.
12425         * malloc/Makefile: Remove un-poisoning.
12426         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12427         instead of old__malloc_initialize_hook.
12428         * malloc/malloc-hooks.h: Likewise.
12429         * malloc/malloc.c: Likewise.
12430         * malloc/mcheck-init.c: Likewise.
12432 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
12434         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12436 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
12438         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12439         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12440         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12441         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12443 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12445         * NEWS: Mention addition of nextup and nextdown.
12446         * manual/arith.texi: Document nextup and nextdown.
12447         * manual/libm-err-tab.pl: Add nextup and nextdown.
12448         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12449         * math/Versions (libm): Add GLIBC_2.24.
12450         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12451         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12452         Add new test.
12453         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12454         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12455         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12456         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12457         (nextup_test_data): Likewise.
12458         (nextdown_test_data): Likewise.
12459         * math/s_nextdown.c: New file.
12460         * math/s_nextdownf.c: Likewise.
12461         * math/s_nextdownl.c: Likewise.
12462         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12463         F(nextup): New function.
12464         F(nextdown): Likewise.
12465         * math/tgmath.h: Add nextup and nextdown.
12466         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12467         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12468         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12469         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12470         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12471         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12472         Add nextup and nextdown.
12473         (CFLAGS-nldbl-nextup.c): New variable.
12474         (CFLAGS-nldbl-nextdown.c): Likewise.
12475         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12476         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12477         * sysdeps/nacl/libm.abilist: Update.
12478         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12480         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12481         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12482         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12483         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12484         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12485         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12486         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12487         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12488         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12489         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12492         Likewise.
12493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12495         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12496         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12497         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12498         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12499         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12500         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12502         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12503         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12504         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12505         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12507 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12509         * manual/pattern.texi: Fix typos & grammar errors.
12511 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12513         * manual/search.texi: Fix typos & grammar errors.
12515 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12517         * manual/message.texi: Fix typos & grammar errors.
12519 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12521         * manual/contrib.texi: Fix spelling typos.
12522         * manual/crypt.texi: Likewise.
12523         * manual/filesys.texi: Likewise.
12524         * manual/locale.texi: Likewise.
12525         * manual/message.texi: Likewise.
12526         * manual/nss.texi: Likewise.
12527         * manual/string.texi: Likewise.
12529 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12531         * manual/locale.texi: Fix typos & grammar errors.
12533 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12535         * manual/charset.texi: Fix typos & grammar errors.
12537 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12539         * manual/string.texi: Fix typos.
12541 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12543         * manual/ctype.texi: Fix typos.
12545 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12547         * manual/memory.texi: Fix various typos & grammar errors.
12549 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12551         [BZ #20255]
12552         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12553         * math/libm-test.inc (fdim_test_data): Add another test.
12555         [BZ #6796]
12556         [BZ #20255]
12557         [BZ #20256]
12558         * math/s_fdim.c: Include <math_private.h>.
12559         (__fdim): Use math_narrow_eval on result.
12560         * math/s_fdimf.c: Include <math_private.h>.
12561         (__fdimf): Use math_narrow_eval on result.
12562         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12563         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12564         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12565         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12566         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12567         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12568         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12569         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12570         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12571         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12572         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12573         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12574         overflow.  Add sNaN tests.
12576         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12577         fpclassify.
12578         * math/s_fdimf.c (__fdimf): Likewise.
12579         * math/s_fdiml.c (__fdiml): Likewise.
12581 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12583         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12584         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12586         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12587         ifunc'ed strcasecmp/strncasecmp.
12588         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12589         [EALIGN]: Removed.
12590         [END]: Likewise.
12591         [__strcasecmp]: Define instead of the above to control symbol name.
12592         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12593         for __strcasecmp_power8.
12594         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12595         for __strncasecmp_power8.
12596         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12597         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12598         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12599         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12600         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12601         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12603 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12605         [BZ #20252]
12606         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12607         arguments when second argument is a NaN.
12608         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12609         qNaN tests.
12611         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12612         (conj_test_data): Likewise.
12613         (copysign_test_data): Likewise.
12614         (creal_test_data): Likewise.
12615         (fma_test_data): Likewise.
12616         (fmod_test_data): Likewise.
12618         [BZ #20250]
12619         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12620         itself.
12621         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12622         zero input to itself.
12623         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12624         Likewise.
12625         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12626         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12627         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12628         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12629         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12631 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12633         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12634         * nptl/tst-cancel4-common.c: New file.
12635         * nptl/tst-cancel4-common.h: Likewise.
12636         * nptl/tst-cancel4.c: Move common definitions to
12637         tst-cancel4-common.{c,h} file.
12638         * nptl/tst-cancel4_1.c: New test.
12639         * nptl/tst-cancel4_2.c: New test.
12641 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12643         [BZ #20248]
12644         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12645         (write_message): New function.
12646         (stackoverflow_handler): Call it instead of printf, to avoid
12647         excessive stack usage by printf.
12648         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12650 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12652         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12653         (prio_inherit_missing): Remove define.
12654         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12655         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12656         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12657         Likewise.
12658         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12659         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12660         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12661         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12662         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12663         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12665 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12667         [BZ #19670]
12668         [BZ #19672]
12670         * io/test-lfs.c (do_prepare): Use xmalloc.
12671         * io/tst-fcntl.c (do_prepare): Likewise.
12672         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12673         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12674         * login/tst-utmp.c (do_prepare): Likewise.
12675         * posix/tst-exec.c (do_prepare): Likewise.
12676         * posix/tst-pathconf.c (prepare): Likewise.
12677         * posix/tst-spawn.c (do_prepare): Likewise.
12678         * posix/tst-truncate.c (do_prepare): Likewise.
12679         * rt/tst-aio.c (do_prepare): Likewise.
12680         * rt/tst-aio64.c (do_prepare): Likewise.
12682 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12684         [BZ #20237]
12685         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12686         (get*ent): Set entidx to NULL during initialization.  If entidx is
12687         NULL, start iteration from the beginning.
12689 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12691         * malloc/malloc.c (musable): Return correct size for dumped fake
12692         mmapped chunk.
12694 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12696         [BZ #20222]
12697         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12698         (_IO_cookie_write): Likewise.
12699         (_IO_cookie_seek): Likewise.
12700         (_IO_cookie_close): Likewise.
12701         (_IO_old_cookie_seek): Likewise.
12702         (set_callbacks): New function.
12703         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12705 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12707         * locale/programs/localedef.c (oldstyle_tables): Remove.
12708         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12710 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12712         [BZ #20240]
12713         * math/Makefile (CFLAGS-s_modf.c): New variable.
12714         (CFLAGS-s_modff.c): Likewise.
12715         (CFLAGS-s_modfl.c): Likewise.
12716         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12718 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12720         [BZ #20215]
12721         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12722         [!__GNUC_PREREQ (3,2)]: Likewise.
12724 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12726         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12727         (msghdr.msg_controllen): Likewise.
12728         (cmsghdr.cmsg_len): Likewise.
12729         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12730         ptw-oldsendmsg.
12731         (CFLAGS-oldrecvmsg.c): Remove rule.
12732         (CFLAGS-oldsendmsg.c): Likewise.
12733         (CFLAGS-recvmsg.c): Add rule.
12734         (CFLAGS-sendmsg.c): Likewise.
12735         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12736         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12737         (CFLAGS-recvmsg.c): Remove rule.
12738         (CFLAGS-sendmsg.c): Likewise.
12739         (CFLAGS-oldrecvmsg.c): Likewise.
12740         (CFLAGS-oldsendmsg.c): Likewise.
12741         (CFLAGS-recvmmsg.c): Likewise.
12742         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12743         to kernel defined interfaces.
12744         (msghdr.msg_controllen): Likewise.
12745         (cmsghdr.cmsg_len): Likewise.
12746         (msghdr.__glibc_reserved1): Remove member.
12747         (msghdr.__glibc_reserved2): Likewise.
12748         (cmsghdr.__glibc_reserved1): Likewise.
12749         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12750         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12751         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12752         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12753         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12754         version.
12755         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12756         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12757         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12758         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12759         Remove recvmsg and sendmsg.
12760         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12761         Likewise.
12762         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12763         Likewise.
12764         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12765         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12766         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12767         Likewise.
12768         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12769         Likewise.
12770         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12771         [libc] (GLIBC_2.24): Likewise.
12772         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12773         Likewise.
12774         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12775         Likewise.
12776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12777         [libc] (GLIBC_2.24): Likewise.
12778         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12779         Likewise.
12780         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12781         Likewise.
12782         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12783         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12784         Likewise.
12785         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12786         Likewise.
12787         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12788         Likewise.
12789         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12790         Likewise.
12791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12792         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12793         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12794         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12795         version for {recv,send,recm,sendm}msg.
12796         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12797         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12798         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12799         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12800         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12801         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12802         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12803         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12804         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12805         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12806         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12807         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12809         Likewise.
12810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12811         Likewise.
12812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12814         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12815         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12816         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12817         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12818         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12819         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12822         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12823         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12824         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12826 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12828         [BZ #19564]
12829         Remove __malloc_initialize_hook from the API.
12830         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12831         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12832         #pragma GCC poison.
12833         * malloc/malloc-hooks.h: New file.
12834         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12835         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12836         (old__malloc_initialize_hook): Rename from
12837         __malloc_initialize_hook to evade poisoning.  Turn into compat
12838         symbol.
12839         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12840         __malloc_initialize_hook.
12841         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12842         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12843         * manual/memory.texi (Hooks for Malloc): Remove
12844         __malloc_initialize_hook.  Adjust hook example.
12846 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12848         [BZ #20235]
12849         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12850         itself.
12851         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12852         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12854         [BZ #20234]
12855         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12856         infinity or NaN input to itself.
12858         [BZ #20233]
12859         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12860         to itself.
12862         [BZ #20232]
12863         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12864         itself.
12866 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12868         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12869         __libc_start_main via GOT.
12871 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12873         * sysdeps/x86_64/memcopy.h: New file.
12874         * sysdeps/x86_64/wordcopy.c: Likewise.
12876 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12878         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12879         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12880         <cstdlib>.
12881         (optimization_barrier): New.
12882         (do_test): Use it.  Call quick_exit in the global namespace.
12883         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12884         instead of <cstdlib>, <thread>.
12885         (optimization_barrier): New.
12886         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12887         Call quick_exit in the global namespace.
12888         (do_test): Call optimization_barrier.  Use pthread_create,
12889         pthread_join instead of std::thread.
12891 2016-06-09  Andreas Schwab  <schwab@suse.de>
12893         [BZ #19755]
12894         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12895         new entries in auto-propagate mode.
12896         * nscd/grpcache.c (cache_addgr): Likewise.
12898 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12900         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12901         New functions.
12902         (add_temp_file): Use them.
12904 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12906         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12908 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12910         [BZ #20229]
12911         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12912         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12913         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12915         [BZ #20228]
12916         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12917         itself.
12918         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12919         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12921         [BZ #20227]
12922         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12923         itself.
12924         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12925         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12926         * math/libm-test.inc (log_test_data): Add sNaN tests.
12928         [BZ #20226]
12929         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12930         itself.
12931         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12932         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12933         (exp10_test_data): Likewise.
12934         (expm1_test_data): Likewise.
12936         [BZ #20225]
12937         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12938         itself.
12939         * math/s_ldexpf.c (__ldexpf): Likewise.
12940         * math/s_ldexpl.c (__ldexpl): Likewise.
12941         * math/w_scalbln.c (__w_scalbln): Likewise.
12942         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12943         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12944         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12945         (scalbln_test_data): Likewise.
12947         [BZ #20224]
12948         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12949         argument to itself.
12950         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12952 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12954         [BZ #19776]
12955         * sysdeps/x86_64/memcpy.S: Make it dummy.
12956         * sysdeps/x86_64/mempcpy.S: Likewise.
12957         * sysdeps/x86_64/memmove.S: New file.
12958         * sysdeps/x86_64/memmove_chk.S: Likewise.
12959         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12960         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12961         * sysdeps/x86_64/memmove.c: Removed.
12962         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12963         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12964         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12965         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12966         Likewise.
12967         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12968         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12970         memcpy-sse2-unaligned, memmove-avx-unaligned,
12971         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12973         (__libc_ifunc_impl_list): Replace
12974         __memmove_chk_avx512_unaligned_2 with
12975         __memmove_chk_avx512_unaligned.  Remove
12976         __memmove_chk_avx_unaligned_2.  Replace
12977         __memmove_chk_sse2_unaligned_2 with
12978         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12979         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12980         with __memmove_avx512_unaligned.  Replace
12981         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12982         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12983         with __memcpy_chk_avx512_unaligned.  Remove
12984         __memcpy_chk_avx_unaligned_2.  Replace
12985         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12986         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12987         Replace __memcpy_avx512_unaligned_2 with
12988         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12989         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12990         with __mempcpy_chk_avx512_unaligned.  Remove
12991         __mempcpy_chk_avx_unaligned_2.  Replace
12992         __mempcpy_chk_sse2_unaligned_2 with
12993         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12994         Replace __mempcpy_avx512_unaligned_2 with
12995         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12996         Replace __mempcpy_sse2_unaligned_2 with
12997         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12998         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12999         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
13000         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
13001         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
13002         (ENTRY): Removed.
13003         (END): Likewise.
13004         (ENTRY_CHK): Likewise.
13005         (libc_hidden_builtin_def): Likewise.
13006         Don't include ../memcpy.S.
13007         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
13008         __memcpy_chk_avx512_unaligned_erms and
13009         __memcpy_chk_avx512_unaligned.  Use
13010         __memcpy_chk_avx_unaligned_erms and
13011         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13012         Default to __memcpy_chk_sse2_unaligned.
13013         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13014         Change function suffix from unaligned_2 to unaligned.
13015         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
13016         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
13017         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
13018         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
13019         (ENTRY): Removed.
13020         (END): Likewise.
13021         (ENTRY_CHK): Likewise.
13022         (libc_hidden_builtin_def): Likewise.
13023         Don't include ../mempcpy.S.
13024         (mempcpy): New.  Add a weak alias.
13025         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
13026         __mempcpy_chk_avx512_unaligned_erms and
13027         __mempcpy_chk_avx512_unaligned.  Use
13028         __mempcpy_chk_avx_unaligned_erms and
13029         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
13030         Default to __mempcpy_chk_sse2_unaligned.
13032 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
13034         [BZ #19881]
13035         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
13036         into ...
13037         * sysdeps/x86_64/memset.S: This.
13038         (__bzero): Removed.
13039         (__memset_tail): Likewise.
13040         (__memset_chk): Likewise.
13041         (memset): Likewise.
13042         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
13043         defined.
13044         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
13045         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
13046         (__memset_zero_constant_len_parameter): Check SHARED instead of
13047         PIC.
13048         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13049         memset-avx2 and memset-sse2-unaligned-erms.
13050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13051         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
13052         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
13053         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13054         (__bzero): Enabled.
13055         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13056         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13057         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13058         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13059         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13060         (memset): Removed.
13061         (__memset_chk): Likewise.
13062         (MEMSET_SYMBOL): New.
13063         (libc_hidden_builtin_def): Replace __memset_sse2 with
13064         __memset_sse2_unaligned.
13065         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13066         __memset_chk_sse2 and __memset_chk_avx2 with
13067         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13068         Use __memset_chk_sse2_unaligned_erms or
13069         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13070         __memset_chk_avx512_unaligned_erms and
13071         __memset_chk_avx512_unaligned.
13073 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13075         * math/gen-auto-libm-test.c (fp_format_desc): remove
13076         suffix member.
13077         (output_generic_value): Remove usage of suffix member,
13078         and the resulting unuse of the fp_format argument.
13079         (output_for_one_input_case): Remove unused fp_format
13080         parameter.
13082         * math/auto-libm-test-out: Regenerate.
13084         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13085         usage with TEST_COND_ibm128.
13086         (TEST_COND_flt_32): Remove.
13087         (TEST_COND_dbl_64): Remove.
13088         (TEST_COND_ldbl_96_intel): Remove.
13089         (TEST_COND_ldbl_96_m68k): Remove.
13090         (TEST_COND_ldbl_128): Remove.
13092 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13094         * auto-libm-test-in:
13095         Replace flt-32 usage with binary32.
13096         Replace dbl-64 usage with binary64.
13097         Replace ldbl-intel-96 usage with intel96.
13098         Replace ldbl-m68k-96 usage with m68k96.
13099         Replace ldbl-128ibm usage with ibm128.
13100         Replace ldbl-128 usage with binary128.
13102         * auto-libm-test-out: Regenerate.
13104 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13106         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13107         (parse_ulps): Dynamically generate type name matching
13108         string from all_floats.
13109         (get_ulps): Generate the ulps as an array instead.
13110         (output_ulps): Dynamically compose the type based
13111         on the number of supported formats, and print
13112         the indices as type specific helper macros.
13114         * math/libm-test.inc: Remove comment about CHOOSE.
13115         (ulp_data): Generate the type in libm-test-ulps.h.
13116         (ULP_IDX): New macro.
13117         (find_ulps): Update usage of max_ulp.
13119         * math/test-double-vlen2.h (CHOOSE): Remove.
13120         * math/test-double-vlen4.h (CHOOSE): Likewise.
13121         * math/test-double-vlen8.h (CHOOSE): Likewise.
13122         * math/test-float.c (CHOOSE): Likewise.
13123         * math/test-float-finite.c (CHOOSE): Likewise.
13124         * math/test-double.c (CHOOSE): Likewise.
13125         * math/test-double-finite.c (CHOOSE): Likewise.
13126         * math/test-idouble.c (CHOOSE): Likewise.
13127         * math/test-ifloat.c (CHOOSE): Likewise.
13128         * math/test-ildoubl.c (CHOOSE): Likewise.
13129         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13130         * math/test-ldouble.c (CHOOSE): Likewise.
13132         * math/test-float.h (TEST_FLOAT): Remove.
13133         * math/test-double.h (TEST_DOUBLE): Likewise.
13134         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13136 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13138         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13139         (parse_args): Strip C suffix from floating point literals
13140         typed with 'f' and wrap them with LIT().
13142         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13143         (test_ff_f_data_nexttoward): Rename to
13144         (test_fj_f_data): New struct.
13145         (nexttoward_test_data): Relabel tests as
13146         TEST_fj_f instead of TEST_ff_f.
13148 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13150         Emacs bug 23726.
13151         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13152         (__libc_realloc): Correct size computation for dumped fake mmapped
13153         chunks.
13155 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13157         [BZ #20219]
13158         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13159         to itself.
13160         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13162         [BZ #20218]
13163         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13164         to itself.
13165         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13167 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13169         [BZ #20195]
13170         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13171         check to ...
13172         (init_cpu_features): Here.
13174 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13176         [BZ #20214]
13177         * sysdeps/unix/sysv/linux/bits/in.h
13178         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13179          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13180         Define to 1.
13181         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13182          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13183         Define to 0.
13184         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13185         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13187 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13189         [BZ #20198]
13190         * stdlib/Makefile (tests): Add tst-quick_exit, and
13191         tst-thread-quick_exit.
13192         [ifeq ($(have-cxx-thread_local),yes)]
13193         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13194         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13195         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13196         (LDLIBS-tst-thread-quick_exit): Likewise.
13197         [ifneq ($(have-cxx-thread_local),yes)]
13198         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13199         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13200         If run_dtors is true call __call_tls_dtors.
13201         (exit): Call __run_exit_handlers with run_dtors set to true.
13202         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13203         definition.
13204         * stdlib/quick_exit.c (quick_exit): Remove function.
13205         (__new_quick_exit): New function.
13206         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13207         function.
13208         * stdlib/tst-quick_exit.cc: New file.
13209         * stdlib/tst-thread-quick_exit.cc: New file.
13210         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13211         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13212         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13213         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13214         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13215         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13216         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13217         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13218         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13219         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13220         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13221         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13222         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13223         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13224         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13225         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13230         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13231         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13232         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13233         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13234         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13235         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13237         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13238         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13239         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13241 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13243         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13244         a typo in comments.
13246 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13248         [BZ #20213]
13249         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13250         argument to itself.
13251         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13253 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13255         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13256         required flags.
13257         (CFLAGS-pwritev64.c): Likewise.
13258         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13260         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13261         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13262         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13263         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13264         syscall from auto-generation.
13265         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13266         [WORDSIZE == 64] (pwritev64): Remove macro.
13267         [!PWRITEV] (PWRITEV): Likewise.
13268         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13269         [!PWRITEV] (PWRITE): Likewise.
13270         [!PWRITEV] (OFF_T): Likewise.
13271         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13272         (LO_HI_LONG): Remove macro.
13273         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13274         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13275         (PWRITEV): Remove macro.
13276         (PWRITEV_REPLACEMENTE): Likewise.
13277         (PWRITE): Likewise.
13278         (OFF_T): Likewise.
13279         (pwritev64): New function.
13280         * nptl/tst-cancel4.c (tf_writev): Add test.
13282         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13283         required flags.
13284         (CFLAGS-preadv64.c): Likewise.
13285         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13286         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13287         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13288         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13289         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13290         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13291         syscall from auto-generation.
13292         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13293         [WORDSIZE == 64] (preadv64): Remove macro.
13294         [!PREADV] (PREADV): Likewise.
13295         [!PREADV] (PREADV_REPLACEMENT): Likewise.
13296         [!PREADV] (PREAD): Likewise.
13297         [!PREADV] (OFF_T): Likewise.
13298         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13299         (LO_HI_LONG): Remove macro.
13300         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13301         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13302         (PREADV): Remove macro.
13303         (PREADV_REPLACEMENTE): Likewise.
13304         (PREAD): Likewise.
13305         (OFF_T): Likewise.
13306         (preadv64): New function.
13307         * nptl/tst-cancel4.c (tf_preadv): Add test.
13309 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13311         [BZ #20212]
13312         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13313         argument to itself.
13314         * math/libm-test.inc (acos_test_data): Add sNaN tests.
13316 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13318         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13319         New symbol defined as libc_hidden_def.
13320         (strcasestr): Became a weak alias to __strcasestr.
13321         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
13322         according to multi-arch support.  Move __stpncpy hidden
13323         definition from here to...
13324         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
13325         symbol stpncpy.
13326         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13327         libc_hidden_builtin_def.
13328         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13329         memset symbol to use when multi-arch support is available.
13331 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13333         * dlfcn/tst-rec-dlopen.c: Include string.h.
13335 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13337         * manual/install.texi: Remove mention of --without-tls
13338         * INSTALL: Regenerate.
13340 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13342         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13343         Remove.
13344         (call_function, interposed_malloc_called): New variables.
13345         (malloc): New function.
13346         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13347         and clear call_function as needed.
13349 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13351         * include/wchar.h (__wmemset): Use __typeof.
13353 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13355         * include/wchar.h (__wmemset): Declare function without typeof.
13357 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13359         [BZ #20205]
13360         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13361         exponent when incrementing negative subnormal with low mantissa
13362         word zero.
13363         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13364         Add another test.
13366 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13368         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13369         __wmemset instead of wmemset.
13371 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13373         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13374         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13375         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13376         __USE_KERNEL_IPV6_DEFS to 0.
13377         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13378         Update comment.
13380 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13382         [BZ #19861]
13383         Do not use IFUNC resolver with potentially unrelocated symbol.
13384         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13385         (DEFINE_FORK): Remove macro and inline definition.
13386         (fork_alias): Renamed from fork_ifunc.
13387         (__fork_alias): Renamed from __fork_ifunc.
13389 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13391         [BZ 19653]
13392         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13393         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13395 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13397         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13398         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13399         i386-linux-gnu).
13400         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13401         Set to no.
13402         * sysdeps/mach/hurd/configure: Refresh.
13404 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13406         [BZ #20178]
13407         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13408         on failure instead of exit.
13410 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13412         [BZ #3629]
13413         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13414         of POSIX.1-2008.
13416 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13418         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13419           Use PLT entry for calling _hurd_self_sigstate.
13421 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13423         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13424         available logical processors with SMT level type sharing L2
13425         cache for Intel processors.
13427 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13429         [BZ #20160]
13430         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13431         argument to itself before returning the result.
13432         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13433         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13434         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13435         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13436         Likewise.
13437         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13438         Likewise.
13439         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13440         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13441         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13442         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13443         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13444         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13446         [BZ #20160]
13447         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13448         argument to itself before returning the result.
13449         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13450         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13451         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13452         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13453         Likewise.
13454         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13455         Likewise.
13456         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13457         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13458         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13459         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13460         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13461         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13463 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13465         * libm-test.inc: Replace usage of M_El with
13466         (lit_e): New macro.
13468 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13470         * libm-test.inc: Replace usage of M_PI_4l with
13471         (lit_pi_4_d): New macro.
13473 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13475         * libm-test.inc: Replace usage of M_PIl with
13476         (lit_pi): New macro.
13478 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13480         * libm-test.inc: Replace usage of M_PI2l with
13481         (lit_pi_2_d): New macro.
13483         * math/test-double.h (LITM): New macro.
13484         * math/test-float.h (LITM): Likewise.
13485         * math/test-ldouble.h (LITM): Likewise.
13487 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13489         * libm-test.inc (M_PI_34l): Rename to
13490         (lit_pi_3_m_4_d): New Macro.
13491         (M_PI_34_LOG10El): Rename to
13492         (lit_pi_3_m_4_ln10_m_d): New Macro.
13493         (M_PI2_LOG10El): Rename to
13494         (lit_pi_2_ln10_m_d):  New Macro.
13495         (M_PI4_LOG10El): Rename to
13496         (lit_pi_4_ln10_m_d):  New Macro.
13497         (M_PI_LOG10El): Rename to
13498         (lit_pi_ln10_d):  New Macro.
13500 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13502         [BZ #20157]
13503         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13504         determine whether to negate low half if [_ARCH_PPCGR], and integer
13505         comparison otherwise.
13506         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13507         determine whether to negate low half.
13509         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13510         (NO_TEST_INLINE_DOUBLE): Likewise.
13511         (TEST_COND_x86_64): Likewise.
13512         (TEST_COND_x86): Likewise.
13513         (M_PI_6l): Likewise.
13515 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13517         * math/libm-test.inc:
13518         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13519         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13520         (TEST_LDOUBLE): Update usage to evaluate as true if
13521         the guarded tests match the property being tested.
13522         (LDBL_MAX_EXP): Change to MAX_EXP.
13523         (LDBL_MIN_EXP): Change to MIN_EXP.
13524         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13525         nexttoward tests.
13527 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13529         * math/libm-test.inc:
13530         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13531         (TYPE_MIN): Likewise.
13532         (TYPE_TRUE_MIN): Likewise.
13533         (TYPE_MAX): Likewise.
13534         (MIN_EXP): Likewise.
13535         (MAX_EXP): Likewise.
13536         (MANT_DIG): Likewise.
13538         (FSTR_MAX): New macro.
13539         (__CONCATX): Likewise.
13540         (QTYPE_STR): Likewise.
13541         (TEST_COND_binary32): Likewise.
13542         (TEST_COND_binary64): Likewise.
13543         (TEST_COND_binary128): Likewise.
13544         (TEST_COND_ibm128): Likewise.
13545         (TEST_COND_intel96): Likewise.
13546         (TEST_COND_m68k96): Likewise.
13548         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13549         (TEST_COND_dbl_64): Likewise.
13550         (TEST_COND_ldbl_96_intel): Likewise.
13551         (TEST_COND_ldbl_96_m68k): Likewise.
13552         (TEST_COND_ldbl_128): Likewise.
13553         (TEST_COND_ldbl_128ibm): Likewise.
13555         (plus_zero): Redefine using LIT macro.
13556         (minus_zero): Likewise.
13557         (plus_infty): Redefine as (INF).
13558         (minux_infty): Redefine as (-INF).
13559         (max_value): Redefine as TYPE_MAX.
13560         (min_value): Redefine as TYPE_MIN.
13561         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13563         (print_float): Refactor to use snprintf to convert FLOAT values
13564         to string. This brings it closer to dropin replacement of strtof
13565         for the TS 18661 defined types.
13566         (update_stats): Likewise.
13567         (print_complex_function_ulps): Likewise.
13568         (print_max_error): Likewise.
13569         (print_complex_max_error): Likewise.
13570         (check_float_internal): Likewise.
13572         * math/test-float.h (PREFIX): New macro.
13573         (LIT): Likewise.
13574         (TYPE_STR): Likewise.
13575         (FTOSTR): Likewise.
13577         * math/test-double.h (PREFIX): New macro.
13578         (LIT): Likewise.
13579         (TYPE_STR): Likewise.
13580         (FTOSTR): Likewise.
13582         * math/test-ldouble.h (PREFIX): New macro.
13583         (LIT): Likewise.
13584         (TYPE_STR): Likewise.
13585         (FTOSTR): Likewise.
13587 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13589         [BZ #20156]
13590         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13591         to itself when zero or not finite.
13592         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13593         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13594         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13595         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13597 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13599         [BZ #20153]
13600         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13601         x * x + x for infinities and NaNs.
13603         [BZ #20151]
13604         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13605         argument to itself before returning result.
13606         (__ieee754_y0l): Likewise.
13607         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13608         (__ieee754_y1l).
13610         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13611         (atan_test_data): Likewise.
13612         (ceil_test_data): Likewise.
13613         (cos_test_data): Likewise.
13614         (cosh_test_data): Likewise.
13615         (erf_test_data): Likewise.
13616         (exp2_test_data): Likewise.
13617         (fabs_test_data): Likewise.
13618         (floor_test_data): Likewise.
13619         (ilogb_test_data): Likewise.
13620         (j0_test_data): Likewise.
13621         (j1_test_data): Likewise.
13622         (jn_test_data): Likewise.
13623         (lgamma_test_data): Likewise.
13624         (lrint_test_data): Likewise.
13625         (llrint_test_data): Likewise.
13626         (logb_test_data): Likewise.
13627         (lround_test_data): Likewise.
13628         (llround_test_data): Likewise.
13629         (nearbyint_test_data): Likewise.
13630         (rint_test_data): Likewise.
13631         (round_test_data): Likewise.
13632         (sin_test_data): Likewise.
13633         (sincos_test_data): Likewise.
13634         (sinh_test_data): Likewise.
13635         (sqrt_test_data): Likewise.
13636         (tan_test_data): Likewise.
13637         (tanh_test_data): Likewise.
13638         (tgamma_test_data): Likewise.
13639         (trunc_test_data): Likewise.
13640         (y0_test_data): Likewise.
13641         (y1_test_data): Likewise.
13642         (yn_test_data): Likewise.
13644         * math/libm-test.inc: Update comment about NaN testing.
13645         (TEST_SNAN): New macro.
13646         (snan_value): Likewise.
13647         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13648         (fpclassify_test_data): Add sNaN tests.
13649         (isfinite_test_data): Likewise.
13650         (isinf_test_data): Likewise.
13651         (isnan_test_data): Likewise.
13652         (isnormal_test_data): Likewise.
13653         (issignaling_test_data): Likewise.
13654         (signbit_test_data): Likewise.
13655         * math/gen-libm-test.pl (%beautify): Add snan_value.
13656         (show_exceptions): Add argument $test_snan.
13657         (parse_args): Handle snan_value as non-finite.  Update call to
13658         show_exceptions.
13659         * math/Makefile (libm-test-no-inline-cflags): Add
13660         -fsignaling-nans.
13662 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13664         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13665         (CFLAGS-oldsendmsg.c): Add rule.
13666         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13667         Correct recvmsg symbol name.
13668         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13669         Likewise.
13671 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13673         * sysdeps/unix/sysv/linux/Makefile
13674         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13675         oldsendmmsg.
13676         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13677         sendmmsg.
13678         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13679         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13680         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13681         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13683         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13684         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13686         Likewise.
13687         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13688         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13689         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13690         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13691         iovlen and controllen fields to adjust to POSIX specification.
13692         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13694         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13695         and change to correct expected type.
13696         (msghdr.msg_controllen): Likewise.
13697         (cmsghdr.cmsg_len): Likewise.
13698         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13699         expected POSIX assumption about the size.
13700         (msghdr.msg_controllen): Likewise.
13701         (msghdr.__glibc_reserved1): Likewise.
13702         (msghdr.__glibc_reserved2): Likewise.
13703         (cmsghdr.cmsg_len): Likewise.
13704         (cmsghdr.__glibc_reserved1): Likewise.
13705         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13706         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13707         (CFLAGS-sendmsg.c): Remove rule.
13708         (CFLAGS-recvmsg.c): Likewise.
13709         (CFLAGS-oldsendmsg.c): Add rule.
13710         (CFLAGS-oldrecvmsg.c): Likewise.
13711         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13712         recvmsg and sendmsg.
13713         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13714         Likewise.
13715         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13716         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13717         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13718         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13719         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13720         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13721         Likewise.
13722         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13723         Likewise.
13724         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13725         Likewise.
13726         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13727         Likewise.
13728         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13729         Likewise.
13730         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13731         Likewise.
13732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13733         (GLIBC_2.24): Likewise.
13734         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13735         Likewise.
13736         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13737         Likewise.
13738         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13739         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13740         Likewise.
13741         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13742         Likewise.
13743         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13744         Likewise.
13745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13746         (GLIBC_2.24): Likewise.
13747         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13748         Likewise.
13749         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13750         Likewise.
13751         * sysdeps/unix/sysv/linux/Makefile
13752         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13753         (CFLAGS-sendmsg.c): Add rule.
13754         (CFLAGS-recvmsg.c): Likewise.
13755         (CFLAGS-oldsendmsg.c): Likewise.
13756         (CFLAGS-oldrecvmsg.c): Likewise.
13757         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13758         initialization.
13759         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13760         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13761         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13762         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13763         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13764         iovlen and controllen fields to adjust to POSIX specification.
13765         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13766         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13767         added recvmsg and sendmsg.
13768         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13769         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13770         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13771         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13772         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13773         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13774         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13775         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13776         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13777         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13778         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13779         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13781         Likewise.
13782         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13784         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13785         Likewise.
13786         Likewise.
13787         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13788         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13789         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13790         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13791         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13792         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13794         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13796         Likewise.
13797         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13798         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13800         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13801         from auto-generation.
13802         (sendmsg): Likewise.
13803         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13804         (sendmsg): Likewise.
13805         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13806         (sendmsg): Likewise.
13807         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13808         (sendmsg): Likewise.
13809         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13810         (sendmsg): Likewise.
13811         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13812         (sendmsg): Likewise.
13813         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13814         Likewise.
13815         (sendmsg): Likewise.
13816         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13817         (sendmsg): Likewise.
13818         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13819         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13820         Remove.
13821         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13822         Likewise.
13823         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13824         Undefine.
13825         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13826         Likewise.
13827         * sysdeps/unix/sysv/linux/kernel-features.h
13828         (__ASSUME_SENDMSG_SYSCALL): Define.
13829         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13830         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13831         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13832         Remove.
13833         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13834         Likewise.
13835         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13836         Undefine.
13837         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13838         Likewise.
13839         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13840         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13841         Remove.
13842         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13843         Likewise.
13844         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13845         Undefine.
13846         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13847         Likewise.
13848         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13849         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13850         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13851         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13852         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13853         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13854         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13855         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13856         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13858 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13860         * stdlib/gen-tst-strtod-round.c: Add backslash to
13861         compile command in comment.
13862         (printfp): Remove the literal suffix, and define an infinite
13863         value as INF to avoid expansion clash with INFINITY.
13864         (round_str): Remove the literal suffix.
13865         (round_for_all): Likewise, remove the now duplicate ldbl-64
13866         entry, and remove some magic constants.
13868         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13869         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13870         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13871         (_CONCAT): New macro.
13872         (CONCAT): Likewise.
13873         (CHOOSE_ld): Likewise.
13874         (CHOOSE_f): Likewise.
13875         (CHOOSE_d): Likewise.
13876         (FTYPE_MEMBER): Likewise.
13877         (BOOL_MEMBER): Likewise.
13878         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13879         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13880         (_XNTRY): Likewise.
13881         (XNTRY): Likewise.
13882         (_ENTRY): Likewise.
13883         (ENTRY): Likewise.
13884         (test_exactness): Generate members via macro.
13885         (test_results): Likewise.
13886         (test): Update members.
13887         (TEST): Redefine using new macros.
13888         (INF): New macro.
13889         (fetestmodes): New structure.
13890         (do_test): Refactor to be type generic.
13891         (test_in_one_mode): Refactor duplicate code into
13892         (GEN_ONE_TEST): New macro.
13894         * stdlib/tst-strtod-round-data.h: Regenerate.
13896         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13897         Extend to pass additional arbitrary parameters to
13898         generators.
13900 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13902         [BZ #15479]
13903         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13904         floating-point state after first floating-point operation on
13905         input.  Restore full floating-point state instead of just rounding
13906         mode.
13907         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13908         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13909         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13910         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13911         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13913         [BZ #15479]
13914         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13915         floating-point state after first floating-point operation on
13916         input.  Restore full floating-point state instead of just rounding
13917         mode.
13918         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13919         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13920         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13921         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13922         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13924 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13926         [BZ #19727]
13927         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13928         valid high surrogate.
13929         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13930         of an utf16 surrogate.
13931         * iconv/gconv_simple.c (BODY): Likewise.
13932         * iconvdata/bug-iconv12.c: New file.
13933         * iconvdata/Makefile (tests): Add bug-iconv12.
13935 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13937         [BZ #19726]
13938         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13939         outptrp in case of an illegal input.
13940         * iconv/tst-iconv6.c: New file.
13941         * iconv/Makefile (tests): Add tst-iconv6.
13943 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13945         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13946         an error in case of a value in range of an utf16 low surrogate.
13948 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13950         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13951         an error in case of a value in range of an utf16 low surrogate.
13953 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13955         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13956         Move to ...
13957         * sysdeps/s390/Makefile: ... here.
13958         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13959         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13960         (BRANCH_ON_COUNT): New define.
13961         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13962         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13963         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13964         run on s390-32, too.
13965         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13966         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13967         run on s390-32, too.
13968         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13969         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13970         run on s390-32, too.
13972 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13974         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13975         etf3eh or new vector loop-variant.
13977 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13979         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13980         etf3eh or new vector loop-variant.
13982 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13984         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13985         or new vector loop-variant.
13987 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13989         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13990         Rename to TR_LOOP and usage of tr instead of troo instruction.
13992 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13994         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13995         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13997 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13999         * sysdeps/s390/multiarch/8bit-generic.c: New File.
14000         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
14001         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
14002         New override define.
14003         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
14005 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14007         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
14008         * sysdeps/s390/configure.ac: Add test for S390 vector register
14009         support in gcc.
14010         * sysdeps/s390/configure: Regenerated.
14012 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
14014         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
14015         Install file from $(objpfx)gconv-modules.
14016         ($(objpfx)gconv-modules): Concatenate architecture specific file
14017         in variable sysdeps-gconv-modules and gconv-modules in src dir.
14018         * sysdeps/s390/gconv-modules: New file.
14019         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
14020         Deleted.
14021         ($(objpfx)gconv-modules-s390): Deleted.
14022         (sysdeps-gconv-modules): New variable.
14024 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14026         [BZ #15479]
14027         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
14028         of immediate operand to rounding instruction.
14029         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
14030         Likewise.
14031         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
14032         Likewise.
14033         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
14034         Likewise.
14036 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14038         * math/libm-test.inc (MIN_EXP): Directly define as
14039         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
14041 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14043         * math/libm-test.inc (MANT_DIG): Directly define as
14044         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
14046 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14048         * stdlib/gen-tst-strtod-round.c (main):
14049           Change usage to more closely match the generated
14050           output.  Add usage and compilation instructions.
14051           (string_to_fp): Add and use FILE* parameter as
14052           output target.
14053           (print_fp): Likewise.
14054           (round_str): Likewise.
14055           (round_for_all): Likewise.
14056         * stdlib/tst-strtod-round.c (tests): Move into
14057         * stdlib/tst-strtod-round-data.h: New file.
14059 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14061         [BZ #15479]
14062         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14063         (__round): Do not force "inexact" exception.
14064         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14065         variable.
14066         (__round): Do not force "inexact" exception.
14067         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14068         (__roundf): Do not force "inexact" exception.
14069         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14070         (__roundl): Do not force "inexact" exception.
14071         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14072         (__roundl): Do not force "inexact" exception.
14073         * math/libm-test.inc (round_test_data): Do not allow spurious
14074         "inexact" exceptions.
14076         [BZ #15479]
14077         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14078         exception in comment.
14079         (huge): Remove variable.
14080         (__floor): Do not force "inexact" exception.
14081         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14082         "inexact" exception in comment.
14083         (huge): Remove variable.
14084         (__floor): Do not force "inexact" exception.
14085         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14086         exception in comment.
14087         (huge): Remove variable.
14088         (__floorf): Do not force "inexact" exception.
14089         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14090         exception in comment.
14091         (huge): Remove variable.
14092         (__floorl): Do not force "inexact" exception.
14094         [BZ #15479]
14095         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14096         exception in comment.
14097         (huge): Remove variable.
14098         (__ceil): Do not force "inexact" exception.
14099         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14100         "inexact" exception in comment.
14101         (huge): Remove variable.
14102         (__ceil): Do not force "inexact" exception.
14103         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14104         (__ceilf): Do not force "inexact" exception.
14105         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14106         exception in comment.
14107         (huge): Remove variable.
14108         (__ceill): Do not force "inexact" exception.
14110 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14112         * config.h.in (BIND_NOW): New.
14113         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14114         * configure: Regenerated.
14115         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14116         indirect branch via the GOT slot.
14118 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14120         [BZ #19765]
14121         * sysdeps/s390/mempcpy.S: New File.
14122         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14124         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14125         Add mempcpy variants.
14126         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14127         (memcpy): Adjust to be usable from mempcpy entry point.
14128         (__memcpy_mvcle): Likewise.
14129         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14130         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14131         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14132         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14133         (__memcpy_z10): Likewise.
14134         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14136 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14138         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14139         Remove __GI_ symbol.
14140         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14141         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14142         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14143         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14144         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14145         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14147 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14149         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14150         Use cghi instead of chi to compare 64bit value.
14152 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14154         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14155         Jump to 1MB check before executing mvc-loop.
14157 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14159         [BZ #6527]
14160         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14161         unconditionally.
14162         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14164 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14166         * stdlib/tst-strtod6.c (do_test): Use new type generic
14167         invocation of the test function.
14168         (test): Refactor into ...
14169         (TEST_STRTOD): New macro base function.
14171 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14173         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14174         (TEST_STRTOD): New macro.
14175         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14177 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14179         * stdlib/tst-strtod6.c (do_test): Use new type generic
14180         invocation of the test function.
14181         (test): Refactor into ...
14182         (TEST_STRTOD): New macro base function.
14184 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14186         CVE-2016-4429
14187         [BZ #20112]
14188         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14189         payload.
14191 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14193         [BZ #20111]
14194         * bits/sockaddr.h (_SS_SIZE): Define.
14195         * bits/socket.h (_SS_SIZE): Remove.
14196         (_SS_PADSIZE): Adjust to account for all padding.
14197         (struct sockaddr_storage): Update comment.  Avoid implicit
14198         padding.
14199         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14200         (_SS_PADSIZE): Adjust to account for all padding.
14201         (struct sockaddr_storage): Update comment.  Avoid implicit
14202         padding.
14203         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14204         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14205         (_SS_PADSIZE): Adjust to account for all padding.
14206         (struct sockaddr_storage): Update comment.  Avoid implicit
14207         padding.
14208         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14209         __SS_SIZE is 126 in this version.
14210         * inet/tst-sockaddr.c: New file.
14211         * inet/Makefile (tests): Add tst-sockaddr.c
14212         (tst-sockaddr.c): Compile with non-strict aliasing.
14214 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14216         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14217         [XPG3 || XPG4].
14218         (NL_ARGMAX): Also expect for [XPG3].
14219         (NL_LANGMAX): Likewise.
14220         (NL_MSGMAX): Likewise.
14221         (NL_NMAX): Likewise.
14222         (NL_SETMAX): Likewise.
14223         (NL_TEXTMAX): Likewise.
14224         (NZERO): Likewise.
14225         (TMP_MAX): Likewise.
14226         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14227         variable.
14229         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14230         (PF_MAX): Update value.
14231         (AF_KCM): New macro.
14232         (SOL_NETBEUI): Likewise.
14233         (SOL_LLC): Likewise.
14234         (SOL_DCCP): Likewise.
14235         (SOL_NETLINK): Likewise.
14236         (SOL_TIPC): Likewise.
14237         (SOL_RXRPC): Likewise.
14238         (SOL_PPPOL2TP): Likewise.
14239         (SOL_BLUETOOTH): Likewise.
14240         (SOL_PNPIPE): Likewise.
14241         (SOL_RDS): Likewise.
14242         (SOL_IUCV): Likewise.
14243         (SOL_CAIF): Likewise.
14244         (SOL_ALG): Likewise.
14245         (SOL_NFC): Likewise.
14246         (SOL_KCM): Likewise.
14247         (MSG_BATCH): New enum value and macro.
14249 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14251         [BZ #18185]
14252         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14253         sharing L2 cache to 2 for Knights Landing.
14255 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14257         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14258         (FTW_DP): Do not expect for [XPG3 || XPG4].
14259         (FTW_SL): Do not expect for [XPG3].
14260         (FTW_SLN): Likewise.
14261         (FTW_PHYS): Likewise.
14262         (FTW_MOUNT): Likewise.
14263         (FTW_DEPTH): Likewise.
14264         (FTW_CHDIR): Likewise.
14265         (nftw): Likewise.
14266         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14267         variable.
14269 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14271         * manual/errno.texi: Fix various typos & grammar errors.
14273 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14275         * manual/intro.texi: Fix duplicated typo.
14277 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14279         [BZ #13304]
14280         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14281         <float.h>, <math_private.h> and <stdlib.h>.
14282         (add_split): New function.
14283         (mul_split): Likewise.
14284         (ext_val): New typedef.
14285         (store_ext_val): New function.
14286         (mul_ext_val): New function.
14287         (compare): New function.
14288         (add_split_ext): New function.
14289         (__fmal): After checking for Inf, NaN and zero, compute result as
14290         an exact sum of scaled double values in round-to-nearest before
14291         adding those up and adjusting for other rounding modes.
14292         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14293         tests of fma.
14294         * math/auto-libm-test-out: Regenerated.
14296 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14298         [BZ #20119]
14299         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14300         processor level type mask for CPUID with EAX == 11.
14302 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14304         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14305         logical threads if the HTT bit is 0.
14306         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14307         (index_cpu_HTT): Likewise.
14308         (reg_HTT): Likewise.
14310 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14312         [BZ #20115]
14313         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14314         Remove alignments on jump targets.
14316 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14318         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14319         (getpwent): Likewise.
14320         (setpwent): Likewise.
14321         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
14322         variable.
14324         * conform/data/search.h-data (insque): Do not expect for [XPG3].
14325         (remque): Likewise.
14326         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14327         variable.
14329 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14331         * math/libm-test.inc: Update comment not to refer to signs of NaNs
14332         not being tested.
14334 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14336         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14337         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14338         call.
14339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14340         (__condvar_cleanup1): Likewise.
14342 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14344         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14345         New
14346         (__pthread_unwind): Renamed to ...
14347         (PTHREAD_UNWIND): This.
14348         (__pthread_enable_asynccancel): Replace
14349         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14351 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14353         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14354         (CLONE_NEWCGROUP): New macro.
14356         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14357         (Q_GETNEXTQUOTA): New macro.
14359 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14361         [BZ #19907]
14362         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14363         buffer updated by the previous run.
14364         * string/test-memcpy.c (do_one_test): Likewise.
14365         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14366         * string/test-memmove.c (do_one_test): Likewise.
14368 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14370         [BZ #20094]
14371         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14372         not [__USE_XOPEN].
14373         (unlockpt): Likewise.
14374         (ptsname): Likewise.
14375         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14376         variable.
14378         [BZ #20076]
14379         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14380         instead of [__USE_UNIX98].
14381         (S_ISSOCK): Likewise.
14382         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14383         variable.
14385         [BZ #20074]
14386         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14387         [__USE_POSIX].
14388         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14389         variable.
14391         [BZ #20051]
14392         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14393         (ttyslot): Do not declare.
14394         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14395         (ttyslot): New prototype.
14396         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14397         variable.
14398         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14400 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14402         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14404 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14406         Fix race condition in tst-mallocfork2, use fewer resources.
14407         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14408         to current process group.
14409         (signal_sender): Yield in the non-sleeping case.
14411 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14413         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14414         (ecvt): Likewise.
14415         (fcvt): Likewise.
14416         (gcvt): Likewise.
14417         (getsubopt): Likewise.
14418         (grantpt): Likewise.
14419         (initstate): Likewise.
14420         (l64a): Likewise.
14421         (mktemp): Likewise.
14422         (mkstemp): Likewise.
14423         (ptsname): Likewise.
14424         (random): Likewise.
14425         (realpath): Likewise.
14426         (setstate): Likewise.
14427         (srandom): Likewise.
14428         (ttyslot): Likewise.
14429         (unlockpt): Likewise.
14430         (valloc): Likewise.
14432         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14433         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14434         variable.
14436 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14438         [BZ #20072]
14439         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14440         init_cpu_features only if SHARED is defined.
14441         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14443 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14445         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14446         non-inclusive caches on Intel processors.
14448 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14450         * malloc/malloc.c (dumped_main_arena_start)
14451         (dumped_main_arena_end): New variables.
14452         (DUMPED_MAIN_ARENA_CHUNK): New macro.
14453         (do_check_chunk): Skip dumped fake mmapped chunks.
14454         (munmap_chunk): Likewise.
14455         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14456         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
14457         mmapped chunks.
14458         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14459         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
14460         and dumped_main_arena_end to cover the dumped heap.
14462 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
14464         * conform/data/time.h-data (getdate_err): Do not expect for
14465         [XPG3].
14466         (getdate): Likewise.
14467         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14468         variable.
14470         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14471         (F_ULOCK): Likewise.
14472         (F_TEST): Likewise.
14473         (F_TLOCK): Likewise.
14474         (useconds_t): Likewise.
14475         (intptr_t): Do not expect for [XPG3] or [XPG4].
14476         (brk): Do not expect for [XPG3]
14477         (fchown): Likewise.
14478         (fchdir): Likewise.
14479         (ftruncate): Likewise.
14480         (getdtablesize): Likewise.
14481         (gethostid): Likewise.
14482         (getpagesize): Likewise.
14483         (getpgid): Likewise.
14484         (getsid): Likewise.
14485         (getwd): Likewise.
14486         (lchown): Likewise.
14487         (lockf): Likewise.
14488         (readlink): Likewise.
14489         (sbrk): Likewise.
14490         (setpgrp): Likewise.
14491         (setregid): Likewise.
14492         (setreuid): Likewise.
14493         (symlink): Likewise.
14494         (sync): Likewise.
14495         (truncate): Likewise.
14496         (ualarm): Likewise.
14497         (usleep): Likewise.
14498         (vfork): Likewise.
14499         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14500         variable.
14502         [BZ #20054]
14503         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14504         not [__USE_UNIX98].
14505         * conform/data/unistd.h-data (gethostname): Do not expect for
14506         [XPG3].
14508         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14509         [!POSIX] (S_IFBLK): Likewise.
14510         [!POSIX] (S_IFCHR): Likewise.
14511         [!POSIX] (S_IFIFO): Likewise.
14512         [!POSIX] (S_IFREG): Likewise.
14513         [!POSIX] (S_IFDIR): Likewise.
14514         [!POSIX] (S_IFLNK): Likewise.
14515         [!POSIX] (S_IFSOCK): Likewise.
14516         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14517         variable.
14518         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14520 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14522         * sysdeps/aarch64/memset.S (__memset):
14523         Rewrite of optimized memset.
14525 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14527         [BZ #19703]
14528         Partially async-signal-safe fork for single-threaded processes.
14529         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14530         variable.  Do not acquire and reset/release malloc and libio locks
14531         in single-threaded processes.
14532         * malloc/tst-mallocfork2.c: New file.
14533         * malloc/Makefile (tests): Add it.
14535 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14537         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14538         argument.  Use scratch buffer instead of extend_alloca.
14539         (gethosts): Use scratch buffer instead of extend_alloca.
14540         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14541         extend_alloca.
14542         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14544 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14546         [BZ #20055]
14547         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14548         instead of [__USE_UNIX98].
14549         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14550         [__USE_UNIX98].
14551         * conform/data/termios.h-data (tcgetsid): Do not expect for
14552         [XPG3].
14553         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14554         variable.
14555         (test-xfail-XPG4/termios.h/conform): Likewise.
14557 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14559         Do not use mcheck in localedef.
14560         * locale/programs/localedef.c (turn_on_mcheck)
14561         (__malloc_initialize_hook): Remove.
14563 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14565         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14566         * sysdeps/s390/s390-64/Makefile: Likewise.
14568 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14570         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14571         Remove ifunc-defines.sym.
14572         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14573         Likewise.
14574         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14575         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14576         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14577         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14578         rtld-global-offsets.sym.
14579         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14580         * sysdeps/x86/cpu-features-offsets.sym: This.
14581         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14582         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14584 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14586         [BZ #20073]
14587         * io/sys/stat.h (fchmod): Declare for
14588         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14589         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14590         variable.
14592         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14593         [XPG3] (S_IFSOCK): Likewise.
14594         [XPG3] (S_ISVTX): Likewise.
14595         [XPG3] (S_ISLNK): Likewise.
14596         [XPG3] (S_ISSOCK): Likewise.
14597         [XPG3] (fchmod): Likewise.
14598         [XPG3] (lstat): Likewise.
14599         [XPG3] (mknod): Likewise.
14601         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14602         [XPG3].  Expect type long and XFAIL for [XPG4].
14603         (st_blocks): Likewise.
14605         [BZ #20044]
14606         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14607         (pthread_atfork): New prototype.
14608         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14609         variable.
14611         [BZ #20043]
14612         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14613         prototype.
14615 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14617         [BZ #20017]
14618         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14619         gmtime.
14621 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14623         [BZ #19994]
14624         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14625         flag in _res.options.
14627 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14629         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14630         [XPG3 || XPG4].
14631         (blksize_t): Likewise.
14632         (clockid_t): Likewise.
14633         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14634         variable.
14635         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14637 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14639         * sysdeps/unix/sysv/linux/s390/init-first.c:
14640         Add VDSO_SYMBOL(getcpu).
14641         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14642         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14643         Add VDSO_SYMBOL(getcpu).
14644         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14645         New define HAVE_GETCPU_VSYSCALL.
14646         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14648 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14650         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14651         instead of <sysdeps/x86_64/cacheinfo.c>.
14652         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14653         * sysdeps/x86/cacheinfo.c: Here.
14655 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14657         * malloc/malloc-internal.h: Adjust header file guard.
14659 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14661         [BZ #19787]
14662         * inet/getnameinfo.c (check_sprintf_result): New function.
14663         (CHECKED_SNPRINTF): New macro.
14664         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14665         to the host buffer.
14666         (gni_host_local): Use checked_copy to copy the host name.
14667         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14668         (gni_serv_local): Use checked_copy to copy the service name.
14669         (getnameinfo): Remove unnecessary truncation of result buffers.
14671 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14673         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14674         in case of inet_ntop failure.
14676 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14678         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14679         avoid long lines.
14680         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14681         variables.
14682         (gni_host_inet, gni_host_local): Add comment.
14683         (gni_host): Add comment.  Use temporary to avoid long lines.
14685 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14687         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14688         registers specifiers where general purpose registers specifiers should
14689         have been used.
14691 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14693         [BZ #19779]
14694         CVE-2016-1234
14695         Avoid copying names of directory entries.
14696         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14697         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14698         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14699         (struct readdir_result): New type.
14700         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14701         (GL_READDIR): New macros.
14702         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14703         (convert_dirent, convert_dirent64): New functions.
14704         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14705         convert_dirent64.  Adjust references to the readdir result.
14706         * sysdeps/unix/sysv/linux/i386/glob64.c:
14707         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14708         * posix/bug-glob2.c (LONG_NAME): Define.
14709         (filesystem): Add LONG_NAME.
14710         (my_DIR): Increase the size of room_for_dirent.
14712 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14714         [BZ #20041]
14715         * misc/sys/select.h (__need_timespec): Only define if
14716         [__USE_XOPEN2K].
14717         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14718         variable.
14719         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14720         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14721         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14723 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14724             Segher Boessenkool  <segher@gcc.gnu.org>
14726         [BZ #20004]
14727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14728         (__novec_swapcontext): Add missing load.
14730 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14732         [BZ #20023]
14733         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14734         <time.h>.
14735         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14736         variable.
14737         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14739 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14742         flags CLONE_VM compare.
14744 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14746         [BZ #20031]
14747         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14748         completely empty.
14750 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14752         [BZ #19573]
14753         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14754         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14755         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14756         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14757         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14758         (hesiod_free_list): Mark as hidden.
14759         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14760         res_set, res_get.
14761         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14762         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14763         (hesiod_init): Remove obsolete res_ninit call.
14764         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14765         (hesiod_bind): Do not call init.
14766         (get_txt_records): Use res_mkquery, res_send instead of
14767         res_nmkquery, res_nsend.
14768         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14769         instead of _nss_hesiod_init.
14770         (_nss_hesiod_initgroups_dyn): Likewise.
14771         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14772         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14773         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14775 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14777         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14778         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14780 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14782         * hesiod/hesiod.h: Remove RCS keyword.
14783         * hesiod/hesiod_p.h: Likewise.
14785         * hesiod/hesiod.c: Likewise.
14787 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14789         [BZ #12450]
14790         * locale/iso-639.def: Add Samogitian/sgs.
14792 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14794         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14796         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14798 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14799             Carlos O'Donell  <carlos@redhat.com>
14801         [BZ #19072]
14802         * grp/Makefile (headers): Add grp-merge.h
14803         (routines): Add grp-merge.
14804         * grp/getgrgid_r.c: Include grp-merge.h.
14805         (DEEPCOPY_FN): Define.
14806         (MERGE_FN): Define.
14807         * grp/getgrname_r.c: Include grp-merge.h.
14808         (DEEPCOPY_FN): Define.
14809         (MERGE_FN): Define.
14810         * grp/grp-merge.c: New file.
14811         * grp/grp-merge.h: New file.
14812         * include/grp-merge.h: New file.
14813         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14814         __copy_grp@GLIBC_PRIVATE.
14815         * manual/nss.texi (Actions in the NSS configuration): Describe
14816         return, continue, and merge.
14817         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14818         (DEEPCOPY_FN): Define.
14819         (MERGE_FN): Define.
14820         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14821         (DEEPCOPY_FN): Define.
14822         (MERGE_FN): Define.
14823         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14824         [!MERGE_FN]: Define __merge_einval.
14825         (CHECK_MERGE): Define.
14826         (REENTRANT_NAME): Process merge if do_merge is true.
14827         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14828         (__nss_getent_r): Likewise.
14829         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14830         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14832 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14834         [BZ #20012]
14835         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14836         length to calculate the buffer to read.
14837         (fmemopen_write): Set the buffer position based on bytes written.
14838         (fmemopen_seek): Return EINVAL for invalid whence modes.
14840         [BZ #19957]
14841         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14842         tst-getpid2.
14843         (test): Add tst-clone2.
14844         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14845         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14846         pid/tid fields for CLONE_VM.
14847         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14848         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14849         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14850         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14851         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14852         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14853         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14854         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14856         Likewise.
14857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14858         Likewise.
14859         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14860         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14861         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14862         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14863         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14864         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14865         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14866         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14868 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14870         [BZ #19642]
14871         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14872         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14873         (gni_serv_local, gni_serv): New functions extracted from
14874         getnameinfo.
14875         (getnameinfo): Call gni_host and gni_serv to perform the
14876         processing.  Always free scratch buffer.
14878 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14880         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14881         remaining bytes in the dest string, with zeros.
14883 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14885         [BZ #20010]
14886         CVE-2016-3706
14887         * sysdeps/posix/getaddrinfo.c
14888         (convert_hostent_to_gaih_addrtuple): New function.
14889         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14890         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14891         AF_INET data.
14893 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14895         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14896         callback function gl_readdir.
14897         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14898         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14899         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14900         memcpy to copy the name.
14901         * manual/pattern.texi (Calling Glob): Document requirements for
14902         implementations of the gl_readdir callback function.
14903         * manual/examples/mkdirent.c: New example.
14904         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14905         per the manual guidance.
14906         * posix/tst-gnuglob.c (my_readdir): Likewise.
14908 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14910         [BZ #20014]
14911         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14912         not [__USE_POSIX].
14913         (getchar_unlocked): Likewise.
14914         (putc_unlocked): Likewise.
14915         (putchar_unlocked): Likewise.
14916         (flockfile): Likewise.
14917         (ftrylockfile): Likewise.
14918         (funlockfile): Likewise.
14919         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14920         variable.
14921         (test-xfail-XPG4/stdio.h/conform): Likewise.
14923         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14924         Expect constant.
14925         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14926         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14927         variable.
14928         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14929         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14931         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14932         [__USE_LARGEFILE64] (off64_t): Likewise.
14933         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14934         variable.
14936 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14938         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14940 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14942         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14943         * resolv/res_init.c: Likewise.
14944         * resolv/res_mkquery.c: Likewise.
14946 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14948         * resolv/res_init.c (isascii): Do not define.  Use definition in
14949         <ctype.h>.
14950         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14951         (LOG_AUTH): Remove.
14952         (SPRINTF): Remove, adjust caller.
14953         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14955 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14957         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14958         SUNSECURITY conditional.
14959         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14961 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14963         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14964         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14965         Remove BSD-related preprocessor conditionals.
14966         * conf/portability.h: Remove.
14968 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14970         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14971         * resolv/res_data.c: Likewise.
14973 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14975         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14976         * resolv/res_data.c: Remove code conditional on ultrix.
14978 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14980         * resolv/res_init.c (RFC1535): Do not define.  Remove
14981         RFC1535 preprocessor conditionals.
14982         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14983         because there configuration options which make the resolver
14984         behavior different.
14986 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14988         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14989         RESOLVSORT preprocessor conditionals.
14990         * resolv/nss_dns/dns-host.c: Likewise.
14991         * resolv/res_init.c: Likewise.
14993 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14995         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14996         is never defined.
14998 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15000         * inet/inet_lnaof.c: Remove SCSS keyword.
15001         * inet/inet_mkadr.c: Likewise.
15002         * inet/inet_net.c: Likewise.
15003         * inet/inet_netof.c: Likewise.
15004         * inet/rcmd.c: Likewise.
15005         * inet/rexec.c: Likewise.
15006         * inet/ruserpass.c: Likewise.
15008 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15010         * resolv/inet_addr.c: Remove _LIBC conditionals.
15011         * resolv/res_data.c: Likewise.
15012         * resolv/res_init.c: Likewise.
15013         * resolv/res_mkquery.c: Likewise.
15014         * resolv/res_libc.c: Update comment.
15015         * resolv/README: Update.
15017 2016-04-28  Florian Weimer  <fweimer@redhat.com>
15019         * resolv/gethnamaddr.c: Remove SCSS keyword.
15020         * resolv/herror.c: Likewise.
15021         * resolv/inet_addr.c: Likewise.
15022         * resolv/inet_net_ntop.c: Likewise.
15023         * resolv/inet_net_pton.c: Likewise.
15024         * resolv/inet_neta.c: Likewise.
15025         * resolv/inet_ntop.c: Likewise.
15026         * resolv/inet_pton.c: Likewise.
15027         * resolv/ns_date.c: Remove RCS keyword.
15028         * resolv/ns_name.c: Likewise.
15029         * resolv/ns_netint.c: Likewise.
15030         * resolv/ns_parse.c: Likewise.
15031         * resolv/ns_print.c: Likewise.
15032         * resolv/ns_samedomain.c: Likewise.
15033         * resolv/ns_ttl.c: Likewise.
15034         * resolv/nsap_addr.c: Likewise.
15035         * resolv/res_comp.c: Remove SCSS and RCS keyword.
15036         * resolv/res_data.c: Remove RCS keyword.
15037         * resolv/res_debug.c: Remove SCSS and RCS keyword.
15038         * resolv/res_init.c: Likewise.
15039         * resolv/res_mkquery.c: Likewise.
15040         * resolv/res_query.c: Likewise.
15041         * resolv/res_send.c: Likewise.
15043 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15045         * conform/data/stdio.h-data (fdopen): Expect also for
15046         [XPG3 || XPG4].
15048         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
15049         (fseeko): Likewise.
15050         (ftello): Likewise.
15051         (ftrylockfile): Likewise.
15052         (funlockfile): Likewise.
15053         (getc_unlocked): Likewise.
15054         (getchar_unlocked): Likewise.
15055         (putc_unlocked): Likewise.
15056         (putchar_unlocked): Likewise.
15058 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15060         [BZ #19868]
15061         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15062         DNS packet syntax checks (which were not needed before).  Skip
15063         over non-PTR records.
15065 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15067         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15068         definition.  Include <stddef.h> instead.
15070 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15072         [BZ #19831]
15073         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15074         function.
15075         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15076         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15078 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15080         [BZ #19862]
15081         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15082         (getanswer_r): Do not call syslog.
15083         (gaih_getanswer_slice): Likewise.
15084         * resolv/gethnamaddr.c (AskedForGot): Remove.
15085         (getanswer): Do not call syslog.
15086         (gethostbyaddr): Likewise.
15088 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15090         * conform/data/signal.h-data (union sigval): Expect also if
15091         [XOPEN2K].
15092         (struct sigevent): Likewise.
15093         (SIGEV_NONE): Likewise.
15094         (SIGEV_SIGNAL): Likewise.
15095         (SIGEV_THREAD): Likewise.
15096         (SIGRTMIN): Likewise.
15097         (SIGRTMAX): Likewise.
15098         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15099         variable.
15100         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15102 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15104         [BZ #19830]
15105         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15106         (gaih_getanswer_slice): Likewise.
15107         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15108         Also check for availability of RR metadata.
15110 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15112         [BZ #19825]
15113         * resolv/res_send.c (send_vc): Remove early *resplen2
15114         initialization.  Set *resplen2 on socket error.  Call
15115         close_and_return_error for other errors.
15117 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15119         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15120         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15121         (SCM_IUCV_TRGCLS): New define.
15123 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15125         [BZ #20005]
15126         * libio/fmemopen.c (fmemopen_write): Update internal position after
15127         write.
15128         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15129         * stdio-common/tst-fmemopen4.c: New file..
15131 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15133         [BZ #19996]
15134         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15135         not [__USE_XOPEN2K].
15136         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15137         variable.
15139         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15140         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15141         variable.
15143         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15144         [__USE_XOPEN2K8].
15145         [__USE_LARGEFILE64] (off64_t): Likewise.
15146         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15147         variable.
15149 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15151         [BZ #19989]
15152         * libio/stdio.h (cuserid): Do not declare if
15153         [__USE_XOPEN2K && !__USE_GNU].
15154         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15155         variable.
15157 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15159         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15160         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15162         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15163         ifunc'ed strcspn.
15164         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15165         [EALIGN]: Removed.
15166         [END]: Likewise
15167         [STRSPN]: Define instead of the above to control symbol name.
15168         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15169         New file.
15170         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15171         Likewise.
15172         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15173         Likewise.
15174         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15175         Likewise.
15176         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15177         [INITIAL_MASK]: New macro.
15178         [STRCSPN]: Likewise.
15179         [UPDATE_MASK]: Likewise.
15180         [USE_AS_STRCSPN]: Likewise.
15182 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15184         [BZ #19931]
15185         * stdio-common/tst-vfprintf-width-prec.c: New file.
15186         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15187         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15188         (generated): Add mtrace-related files.
15189         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15190         (tst-%-mem.out): New pattern rule, replaces
15191         tst-printf-bz18872-mem.out.
15192         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15193         specifier, deallocate any previously allocated work buffer.
15195 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15197         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15198         Add nop before __startcontext, add explaining comments.
15200 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15202         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15203         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15204         completely different API.
15206         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15207         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15208         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15209         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15210         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15211         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15212         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15213         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15214         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15215         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15217 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15219         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15221 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15223         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15224         when it is the default of 0.
15226 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15228         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15229         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15230         (sysdep_routines): Add new strcasestr targets.
15231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15232         (__libc_ifunc_impl_list): Likewise.
15233         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15234         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15235         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15236         * sysdeps/powerpc/powerpc64/power8/Makefile:
15237         New file to add strcasestr-ppc64 to sysdep_routines.
15238         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15239         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15241 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15243         * benchtests/Makefile (wcsmbs-benchset): Include only for
15244         native builds and runs.
15245         (LOCALES): Likewise.
15246         (bench-build): Build timing-type here instead of the bench
15247         target.  Generate locale only for native builds.
15248         * benchtests/README: Add note for cross-building.
15250         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15252         * benchtests/README: Update README to include instructions on
15253         using bench-build.
15255         * Makefile.in (bench-build): New target.
15256         * Rules (PHONY): Add bench-build target.
15257         * benchtests/Makefile (bench): Depend on bench-build.
15258         (bench-build): New target.
15260 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15262         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15263         profil_reply_port.
15264         (profile_waiter): Do not initialize profil_reply_port.
15265         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15266         frequency instead of tick length in us.
15268 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15270         [BZ #18712]
15271         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15272         (__old_mempcpy_small): Likewise.
15273         (__old_strcpy_small): Likewise.
15274         (__old_stpcpy_small): Likewise.
15275         (__old_strpbrk_c2): Fix compat symbol name.
15276         (__old_strpbrk_c3): Likewise.
15277         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15278         (__mempcpy_small): Remove.
15279         (__strcpy_small): Remove.
15280         (__stpcpy_small): Remove.
15282 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
15284         [BZ #19400]
15285         * locale/iso-639.def: Add the Talossan/tzl language.
15287 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15289         [BZ #16983]
15290         * locale/programs/ld-address.c (address_finish): Update postal_fmt
15291         comment.  Add "ln" to strchr check on postal_fmt.
15293 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15295         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15296         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
15297         tel_dom_fmt.
15299 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15301         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15302         (sysdep_routines): Added __strlen_power8.
15303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15304         __strlen_power8 entry.
15305         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15306         Implementation for POWER8.
15307         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15308         for __strlen_power8.
15309         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15310         Implementation for POWER8.
15312 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
15314         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15316 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
15318         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15319         Goldmont and Airmont processors.
15321 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
15323         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15324         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15325         (__STRING2_SMALL_GET32): Remove.
15326         (memset): Remove.
15327         (__memset_1): Remove.
15328         (__memset_gc): Remove.
15329         (__mempcpy): Remove.
15330         (mempcpy): Remove.
15331         (__mempcpy_args): Remove.
15332         (strchr): Remove.
15333         (strcpy): Remove.
15334         (strcpy_args): Remove.
15335         (__stpcpy_args): Remove.
15336         (__strcmp_cc): Remove.
15337         (__strcmp_gc): Remove.
15338         (strstr): Remove.
15340 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15342         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15343         * nis/nis_call.c (nis_server_cache_add): Likewise.
15345 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15347         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15349 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15351         * malloc/arena.c (__malloc_fork_lock_parent)
15352         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15353         internal_function attribute.
15355 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15357         * stdio-common/printf_fp.c (__printf_fp_l):
15358         Rename ___printf_fp_l to __printf_fp_l and
15359         remove strong alias. Use libc_hidden_def instead
15360         of ldbl_hidden_def macro.
15362 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15364         Remove malloc hooks from fork handler.  They are no longer needed
15365         because malloc runs right before fork, and no malloc calls from
15366         other fork handlers are not possible anymore.
15367         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15368         declarations.
15369         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15370         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15371         (atfork_recursive_cntr): Remove.
15372         (__malloc_fork_lock_parent): Do not override malloc hooks and
15373         thread_arena.
15374         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15375         thread_arena.
15376         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15377         thread_arena instead of save_arena.
15379 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15381         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15382         (thread_atfork, thread_atfork_static): Remove.
15383         * sysdeps/mach/hurd/malloc-machine.h:
15384         (thread_atfork, thread_atfork_static): Remove.
15386 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15388         [BZ #19431]
15389         Run the malloc fork handler as late as possible to avoid deadlocks.
15390         * malloc/malloc-internal.h: New file.
15391         * malloc/malloc.c: Include it.
15392         * malloc/arena.c (ATFORK_MEM): Remove.
15393         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15394         Update comment.
15395         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15396         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15397         Remove outdated comment.
15398         (ptmalloc_init): Do not call thread_atfork.  Remove
15399         thread_atfork_static.
15400         * malloc/tst-malloc-fork-deadlock.c: New file.
15401         * Makefile (tests): Add tst-malloc-fork-deadlock.
15402         (tst-malloc-fork-deadlock): Link against libpthread.
15403         * manual/memory.texi (Aligned Memory Blocks): Update safety
15404         annotation comments.
15405         * sysdeps/nptl/fork.c (__libc_fork): Call
15406         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15407         __malloc_fork_unlock_child.
15408         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15410 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15412         [BZ #19613]
15413         Remove union wait.
15414         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15415         (w_stopsig, w_stopval): Remove.
15416         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15417         stat_loc argument.
15418         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15419         (__WAIT_STATUS_DEFN): Remove.
15420         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15421         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15422         (wait, wait3, wait4): Use int * for the stat_loc argument.
15423         * posix/wait.c (__wait): Likewise.
15424         * posix/wait3.c (__wait3): Likewise.
15425         * posix/wait4.c (__wait4): Likewise.
15426         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15427         (__WAIT_STATUS_DEFN): Remove.
15428         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15429         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15430         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15431         argument.
15432         * sysdeps/posix/wait.c (__libc_wait): Likewise.
15433         * sysdeps/posix/wait3.c (__wait3): Likewise.
15434         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15435         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15436         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15437         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15438         stat_loc argument.
15439         * manual/process.texi (BSD Wait Functions): Remove union wait.
15441 2016-04-13  Andreas Schwab  <schwab@suse.de>
15443         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15444         (test-extras): Add tst-tlsalign-vars.
15445         * math/Makefile: Wrap long lines.
15446         (libm-vec-test-wrappers): Define.
15447         (test-extras): Add $(libm-vec-test-wrappers).
15448         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15449         * nss/Makefile (extra-test-objs): Add nss_test1.os.
15450         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15451         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15452         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15453         (extra-test-objs): Add corresponding objects.
15455 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
15457         [BZ #19928]
15458         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15459         New.
15460         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15461         times of shared cache size.
15462         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15463         (VMOVNT): New.
15464         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15465         (VMOVNT): Likewise.
15466         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15467         (VMOVNT): Likewise.
15468         (VMOVU): Changed to movups for smaller code sizes.
15469         (VMOVA): Changed to movaps for smaller code sizes.
15470         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15471         comments.
15472         (PREFETCH): New.
15473         (PREFETCH_SIZE): Likewise.
15474         (PREFETCHED_LOAD_SIZE): Likewise.
15475         (PREFETCH_ONE_SET): Likewise.
15476         Rewrite to use forward and backward loops, which move 4 vector
15477         registers at a time, to support overlapping addresses and use
15478         non temporal store if size is above the threshold and there is
15479         no overlap between destination and source.
15481 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
15483         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15484         Include dl-vdso.
15485         * sysdeps/unix/sysv/linux/mips/Versions: Add
15486         __vdso_clock_gettime.
15487         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15488         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15489         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15490         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15491         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15492         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15493         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15494         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15495         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15497 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15499         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15500         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15501         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15502         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15503         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15504         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15507         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15508         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15509         syscalls generation.
15510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15511         [__NR_pwrite64] (__NR_write): Remove define.
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15513         [__NR_pwrite64] (__NR_write): Remove define.
15514         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15515         Remove define.
15516         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15517         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15518         Remove define.
15519         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15520         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15521         Linux implementation as base.
15522         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15524         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15525         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15526         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15527         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15530         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15531         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15532         syscall generation.
15533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15534         [__NR_pread64] (__NR_pread): Remove define.
15535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15536         [__NR_pread64] (__NR_pread): Likewise.
15537         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15538         define.
15539         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15540         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15541         Remove define.
15542         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15543         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15544         Linux implementation as base.
15545         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15546         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15547         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15549         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15550         definition.
15551         (__ALIGNMENT_COUNT): Likewise.
15552         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15553         (__ALIGNMENT_COUNT): Likewise.
15554         (SYSCALL_LL): New define.
15555         (SYSCALL_LL64): Likewise.
15556         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15557         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15558         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15559         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15561         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15562         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15563         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15564         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15565         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15566         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15568 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15570         [BZ #19865]
15571         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15572         original buffer before retry.
15574 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15576         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15577         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15578         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15579         GLRO(dl_auxv) list.
15580         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15581         including <ldsodefs.h>.
15582         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15584 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15586         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15587         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15588         $(CPPFLAGS).
15590 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15592         [BZ #17950]
15593         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15594         Add -mfpmath=387.
15596 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15598         * sysdeps/i386/configure.ac: Change == to = when calling test.
15599         * sysdeps/x86_64/configure.ac: Likewise.
15600         * sysdeps/i386/configure: Regenerated.
15601         * sysdeps/x86_64/configure: Likewise.
15603 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15605         [BZ #16137]
15606         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15607         * benchtests/bench-strcoll.c (input_files): Likewise.
15608         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15609         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15610         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15612 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15614         [BZ #19929]
15615         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15616         [__USE_XOPEN2K8 && !__USE_GNU].
15617         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15618         variable.
15620         [BZ #19925]
15621         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15622         define if [!__USE_MISC && __USE_XOPEN2K].
15623         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15624         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15625         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15626         Likewise.
15627         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15628         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15629         variable.
15630         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15632 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15634         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15635         (sysdep_routines): Add new strspn targets.
15636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15637         (__libc_ifunc_impl_list): Add strspn.
15638         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15639         New file.
15640         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15641         Likewise.
15642         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15643         Likewise.
15644         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15645         Likewise.
15647 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15649         * misc/hsearch_r.c: Include <limits.h>.
15651 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15653         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15655 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15657         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15658         (MEMCPY_SYMBOL): New.
15659         (MEMPCPY_SYMBOL): Likewise.
15660         (MEMMOVE_CHK_SYMBOL): Likewise.
15661         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15662         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15663         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15664         Provide alias for memcpy in libc.a and ld.so.
15666 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15668         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15669         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15670         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15671         Disabled fro now.
15672         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15673         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15675 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15677         * benchtests/Makefile (string-benchset): Add memcpy-large,
15678         memmove-large and memset-large.
15679         * benchtests/bench-memcpy-large.c: New file.
15680         * benchtests/bench-memmove-large.c: Likewise.
15681         * benchtests/bench-memmove-large.c: Likewise.
15682         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15684 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15686         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15687         32-bit displacement to avoid long nop between instructions.
15689 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15691         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15692         a comment on VMOVU and VMOVA.
15694 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15696         [BZ #19633]
15697         Use specified locale for number formatting in strfmon_l.
15698         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15699         (__nl_lookup_word): New inline functions.
15700         * include/printf.h (__print_fp_l): Declare.
15701         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15702         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15703         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15704         (___printf_fp): New function.
15705         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15706         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15707         * stdlib/tst-strfmon_l.c (do_test): New test.
15708         * stdlib/Makefile (tests): Add kt.
15709         (LOCALES): Build additional locales.
15710         (tst-strfmon_l.out): Require locales.
15712 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15714         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15715         if not in libc.
15716         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15717         Likewise.
15718         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15719         Likewise.
15720         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15721         Likewise.
15723 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15725         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15726         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15727         with unaligned_erms.
15728         (__memmove_erms): Skip if source == destination.
15729         (__memmove_unaligned_erms): Don't check source == destination
15730         first.
15732 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15734         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15735         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15737 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15739         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15740         * string/strspn.c (strspn): Likewise.
15742 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15744         * benchtests/bench-memset.c (do_test): Support 64-byte
15745         alignment.
15746         (test_main): Test 64-byte alignment.
15748 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15750         * benchtests/bench-memmove.c (test_main): Test 64-byte
15751         alignment.
15753 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15755         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15757 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15759         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15760         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15761         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15763         * string/strpbrk.c (strpbrk): Rewrite function.
15764         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15765         (__strpbrk_c2): Likewise.
15766         (__strpbrk_c3): Likewise.
15767         * string/string-inlines.c
15768         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15769         Likewise.
15770         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15771         Likewise.
15773         * string/strspn.c (strcspn): Rewrite function.
15774         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15775         (__strspn_c1): Remove inline function.
15776         (__strspn_c2): Likewise.
15777         (__strspn_c3): Likewise.
15778         * string/string-inlines.c
15779         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15780         compatibility symbol.
15781         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15782         Likewise.
15783         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15784         Likewise.
15785         * string/string-inlines.c: Include generic version.
15787 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15788             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15790         * string/Version (libc): Add GLIBC_2.24.
15791         * string/strcspn.c (strcspn): Rewrite function.
15792         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15793         (__strcspn_c1): Remove inline function.
15794         (__strcspn_c2): Likewise.
15795         (__strcspn_c3): Likewise.
15796         * string/string-inline.c
15797         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15798         compatibility symbol.
15799         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15800         Likewise.
15801         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15802         Likewise.
15803         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15805 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15807         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15808         Use ahi instead of aghi to adjust stack pointer.
15810 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15812         [BZ #19853]
15813         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15814         TEST to take significant digits as second parameter.
15815         [TEST]: Redefine in terms of TEST_N taking 30
15816         significant digits.
15817         (do_test): Add test case to demonstrate precision
15818         failure in the ldbl-128ibm printf.
15819         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15820         (__mpn_extract_long_double): Carry 7 extra intermediate
15821         bits of precision to aide computing difference when
15822         signs differ.
15824 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15826         [BZ #19881]
15827         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15828         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15829         memset-avx512-unaligned-erms.
15830         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15831         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15832         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15833         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15834         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15835         __memset_sse2_unaligned_erms, __memset_erms,
15836         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15837         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15838         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15839         file.
15840         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15841         Likewise.
15842         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15843         Likewise.
15844         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15845         Likewise.
15847 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15849         [BZ #19776]
15850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15851         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15852         memmove-avx512-unaligned-erms.
15853         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15854         (__libc_ifunc_impl_list): Test
15855         __memmove_chk_avx512_unaligned_2,
15856         __memmove_chk_avx512_unaligned_erms,
15857         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15858         __memmove_chk_sse2_unaligned_2,
15859         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15860         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15861         __memmove_avx512_unaligned_erms, __memmove_erms,
15862         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15863         __memcpy_chk_avx512_unaligned_2,
15864         __memcpy_chk_avx512_unaligned_erms,
15865         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15866         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15867         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15868         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15869         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15870         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15871         __mempcpy_chk_avx512_unaligned_erms,
15872         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15873         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15874         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15875         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15876         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15877         __mempcpy_erms.
15878         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15879         file.
15880         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15881         Likewise.
15882         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15883         Likewise.
15884         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15885         Likewise.
15887 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15889         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15890         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15891         (La_s390_64_regs): Likewise.
15892         (La_s390_32_retval): Append vector register lrv_v24.
15893         (La_s390_64_retval): Likeweise.
15894         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15895         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15896         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15897         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15899 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15901         [BZ #19916]
15902         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15903         to create a non-vector/vector version for _dl_runtime_resolve and
15904         _dl_runtime_profile. Move implementation to ...
15905         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15906         (_dl_runtime_resolve) Save and restore fpr/vrs.
15907         (_dl_runtime_profile) Save and restore vrs and fix some issues
15908         if _dl_call_pltexit is called.
15909         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15910         Choose the correct resolver function if running on a machine with vx.
15911         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15912         to create a non-vector/vector version for _dl_runtime_resolve and
15913         _dl_runtime_profile. Move implementation to ...
15914         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15915         (_dl_runtime_resolve) Save and restore fpr/vrs.
15916         (_dl_runtime_profile) Save and restore vrs and fix some issues
15917         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15918         Choose the correct resolver function if running on a machine with vx.
15920 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15922         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15924 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15926         [BZ #19509]
15927         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15928         skip_map != NULL.
15929         * elf/tst-dlsym-error.c: New file.
15930         * elf/Makefile (tests): Add tst-dlsym-error.
15931         (tst-dlsym-error): Link against libdl.
15933 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15935         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15936         (__ASSUME_FUTIMESAT): Remove macro.
15937         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15939 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15941         [BZ #19879]
15942         CVE-2016-3075
15943         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15944         copy name.
15946 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15948         [BZ #19837]
15949         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15950         error if parse_line fails.
15952 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15954         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15955         (index_cpu_ERMS): Likewise.
15956         (reg_ERMS): Likewise.
15958 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15960         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15961         PER_LINUX_FDPIC): Add.
15963 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15965         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15966         memcpy-avx512-no-vzeroupper.
15967         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15968         to ...
15969         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15970         (MEMCPY): Don't define.
15971         (MEMCPY_CHK): Likewise.
15972         (MEMPCPY): Likewise.
15973         (MEMPCPY_CHK): Likewise.
15974         (MEMPCPY_CHK): Renamed to ...
15975         (__mempcpy_chk_avx512_no_vzeroupper): This.
15976         (MEMPCPY_CHK): Renamed to ...
15977         (__mempcpy_chk_avx512_no_vzeroupper): This.
15978         (MEMCPY_CHK): Renamed to ...
15979         (__memmove_chk_avx512_no_vzeroupper): This.
15980         (MEMCPY): Renamed to ...
15981         (__memmove_avx512_no_vzeroupper): This.
15982         (__memcpy_avx512_no_vzeroupper): New alias.
15983         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15985 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15987         [BZ #18858]
15988         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15989         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15990         and mempcpy-avx512-no-vzeroupper.
15991         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15992         New.
15993         (MEMPCPY): Likewise.
15994         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15995         (MEMPCPY_CHK): New.
15996         (MEMPCPY): Likewise.
15997         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15998         (MEMPCPY): Likewise.
15999         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
16000         (MEMPCPY): Likewise.
16001         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
16002         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
16003         Likewise.
16004         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
16005         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
16007 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
16008              Amit Pawar  <Amit.Pawar@amd.com>
16010         [BZ #19583]
16011         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
16012         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
16013         processors.  Set Fast_Copy_Backward for AMD Excavator
16014         processors.
16015         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
16016         New.
16017         (index_arch_Fast_Unaligned_Copy): Likewise.
16018         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
16019         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
16021 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16023         [BZ #19791]
16024         * resolv/res_send.c (close_and_return_error): New function.
16025         (send_dg): Initialize *resplen2 after reopen failure.  Call
16026         close_and_return_error for error returns.  On error paths without
16027         __res_iclose, initialze *resplen2 explicitly.  Update comment for
16028         successful return.
16030 2016-03-25  Florian Weimer  <fweimer@redhat.com>
16032         [BZ# 19860]
16033         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
16034         zero if the compiler does not provide the AVX512F bit.
16036 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
16038         [BZ #19848]
16039         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
16040         from 8 to 4.
16041         (__ieee754_powl): Compare integer exponent against 4 not 8.
16042         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
16043         from 8 to 4.
16044         (__ieee754_powl): Compare integer exponent against 4 not 8.
16045         * math/auto-libm-test-in: Add more tests of pow.
16046         * math/auto-libm-test-out: Regenerated.
16047         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
16048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16050 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16052         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
16053         Make code unconditional.
16054         [!__NR_utimensat]: Remove conditional code.
16055         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16056         Make code unconditional.
16057         [!__NR_utimensat]: Remove conditional code.
16058         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16059         Make code unconditional.
16060         [!__NR_utimensat]: Remove conditional code.
16062 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16064         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16065         Make code unconditional.
16067 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16069         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16070         call-clobbered %eax on retry path.
16071         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16073 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16075         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16076         Don't set %rcx twice before "rep movsb".
16078 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16080         [BZ #19583]
16081         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16082         inline.  Check family before setting family, model and
16083         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16084         bits here.
16085         (init_cpu_features): Replace HAS_CPU_FEATURE and
16086         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16087         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16088         for Intel processors with usable AVX2.  Call get_common_indeces
16089         for other processors with family == NULL.
16090         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16091         (CPU_FEATURES_ARCH_P): Likewise.
16092         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16093         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16095 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16097         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16098         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16099         $(shared-thread-library) instead of hardcoding the path to libpthread.
16101 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16103         * sysdeps/unix/sysv/linux/kernel-features.h
16104         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16105         * sysdeps/unix/sysv/linux/getdents.c
16106         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16107         [!have_no_getdents64_defined]: Likewise.
16108         (__GETDENTS): Remove __have_no_getdents64 conditional.
16110 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16112         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16113         Remove macro.
16114         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16115         <kernel-features.h>.
16116         (signalfd) [__NR_signalfd4]: Make code unconditional.
16117         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16119 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16121         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16122         style.
16124 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16126         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16127         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16128         __pthread_unwind.
16129         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16130         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16131         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16132         (__condvar_cleanup1): Likewise.
16134 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16136         [BZ #19822]
16137         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16138         move it to the final $@ location.
16140 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16142         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16143         access where posix_spawn success and pid argument is null.
16144         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16145         success case.
16147 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16149         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16151         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16153         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16154         and __fcntl.
16155         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16156         __fcntl only.
16157         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16158         adding attribute_hidden to __open and __fcntl.
16160         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16161         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16162         depend on libc-modules.h,
16163         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16165 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16167         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16168         Remove macro.
16169         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16170         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16171         entry.
16173         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16174         Remove macro.
16175         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16176         include <kernel-features.h>.
16177         [!__ASSUME_FALLOCATE]: Remove conditional code.
16178         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16180 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16182         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16183         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16184         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16185         (_ZGVdN4v_cos_avx2): Likewise.
16186         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16187         (_ZGVdN4v_cos): Likewise.
16188         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16189         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16190         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16191         (_ZGVdN4v_exp_avx2): Likewise.
16192         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16193         (_ZGVdN4v_exp): Likewise.
16194         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16195         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16196         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16197         (_ZGVdN4v_log_avx2): Likewise.
16198         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16199         (_ZGVdN4v_log): Likewise.
16200         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16201         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16202         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16203         (_ZGVdN4vv_pow_avx2): Likewise.
16204         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16205         (_ZGVdN4vv_pow): Likewise.
16206         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16207         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16208         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16209         (_ZGVdN4v_sin_avx2): Likewise.
16210         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16211         (_ZGVdN4v_sin): Likewise.
16212         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16213         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16214         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16215         (_ZGVdN4vvv_sincos_avx2): Likewise.
16216         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16217         (_ZGVdN4vvv_sincos): Likewise.
16218         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16219         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16220         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16221         (_ZGVbN4v_cosf_sse4): Likewise.
16222         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16223         (_ZGVdN8v_cosf_avx2): Likewise.
16224         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16225         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16226         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16227         (_ZGVbN4v_expf_sse4): Likewise.
16228         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16229         (_ZGVdN8v_expf_avx2): Likewise.
16230         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16231         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16232         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16233         (_ZGVbN4v_logf_sse4): Likewise.
16234         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16235         (_ZGVdN8v_logf_avx2): Likewise.
16236         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16237         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16238         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16239         (_ZGVbN4vv_powf_sse4): Likewise.
16240         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16241         (_ZGVdN8vv_powf_avx2): Likewise.
16242         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16243         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16244         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16245         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16246         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16247         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16248         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16249         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16250         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16251         (_ZGVbN4v_sinf_sse4): Likewise.
16252         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16253         (_ZGVdN8v_sinf_avx2): Likewise.
16254         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16255         Use JUMPTARGET to call callee.
16256         (WRAPPER_IMPL_SSE2_ff): Likewise.
16257         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16258         (WRAPPER_IMPL_AVX): Likewise.
16259         (WRAPPER_IMPL_AVX_ff): Likewise.
16260         (WRAPPER_IMPL_AVX_fFF): Likewise.
16261         (WRAPPER_IMPL_AVX512): Likewise.
16262         (WRAPPER_IMPL_AVX512_ff): Likewise.
16263         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16264         Likewise.
16265         (WRAPPER_IMPL_SSE2_ff): Likewise.
16266         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16267         (WRAPPER_IMPL_AVX): Likewise.
16268         (WRAPPER_IMPL_AVX_ff): Likewise.
16269         (WRAPPER_IMPL_AVX_fFF): Likewise.
16270         (WRAPPER_IMPL_AVX512): Likewise.
16271         (WRAPPER_IMPL_AVX512_ff): Likewise.
16272         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16274 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16276         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16277         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16278         qualifier.
16279         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16280         internal_function qualifiers.
16282 2016-03-15  Carlos O'Donell <carlos@redhat.com>
16284         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16285         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16286         * math/atest-exp.c (exp_mpn): Mark chk unused.
16287         * math/atest-exp2.c (exp_mpn): Likewise.
16288         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16289         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16291 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
16293         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16294         Remove macro.
16295         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16296         <kernel-features.h>.
16297         [__NR_ppoll]: Make code unconditional.
16298         [!__ASSUME_PPOLL]: Remove conditional code.
16300         * sysdeps/unix/sysv/linux/kernel-features.h
16301         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16302         (__ASSUME_ACCEPT4): Likewise.
16303         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16304         Define.
16305         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16306         Likewise.
16307         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16308         Likewise.
16309         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16310         Likewise.
16311         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16312         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16313         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16314         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16315         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16316         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16317         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16319         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16320         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16321         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16322         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16323         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16324         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16325         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16326         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16327         Likewise.
16328         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16329         Likewise.
16330         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16331         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16332         0x040300].
16333         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16334         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16335         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16336         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16337         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16338         0x030300].
16339         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16340         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16341         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16342         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16343         0x040300].
16344         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16345         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16346         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16347         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16348         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16349         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16350         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16351         0x030300].
16352         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16353         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16354         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16355         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16356         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16357         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16358         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16359         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16360         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16361         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16362         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16363         0x040300].
16364         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16365         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16366         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16367         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16368         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16369         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16370         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16371         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16372         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16373         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16374         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16375         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16376         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16377         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16378         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16379         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16380         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16381         Likewise.
16382         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16383         Likewise.
16385 2016-03-15  Andreas Schwab  <schwab@suse.de>
16387         [BZ #19257]
16388         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16389         statp->_u._ext.nscount as loop count.
16391 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16393         * math/test-signgam-finite-c99.c: Also #undef
16394         __LIBC_INTERNAL_MATH_INLINES.
16395         * math/test-signgam-main.c: Likewise.
16397 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16399         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16400         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16401         (MADV_FREE): Likewise.
16402         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16403         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16404         EPOLLEXCLUSIVE.
16406 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16408         * timezone/README: Remove mention of checktab.awk. Mention wiki
16409         SharedSourceFiles.
16411 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16413         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16414         WUNTRACED.
16416 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16418         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16419         order to match the type of p when calling atomic_exchange_acq().
16421 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16423         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16424         cfi_offset calls.
16425         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16426         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16427         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16428         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16429         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16431 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
16433         * timezone/checktab.awk: Removed.
16435 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
16437         * manual/math.texi (Errors in Math Functions): Document relaxed
16438         accuracy goals for IBM long double.
16439         * math/libm-test.inc (test_exceptions): Always allow spurious
16440         "underflow" and "inexact" exceptions for IBM long double.
16442 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
16444         [BZ #19762]
16445         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16446         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16447         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16448         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16449         (bit_arch_*): This for feature array.
16450         (bit_*): Renamed to ...
16451         (bit_cpu_*): This for cpu array.
16452         (index_*): Renamed to ...
16453         (index_arch_*): This for feature array.
16454         (index_*): Renamed to ...
16455         (index_cpu_*): This for cpu array.
16456         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16457         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16458         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16459         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16460         bit_##name with index_cpu_##name and bit_cpu_##name.
16461         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16462         bit_##name with index_arch_##name and bit_arch_##name.
16464 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
16466         [BZ #19792]
16467         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16468         Terminate FDE before return label.
16470 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
16472         [BZ #19790]
16473         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16474         (rintl): Define as macro.
16475         [USE_AS_NEARBYINTL] (__rintl): Likewise.
16476         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16477         of fesetround.  Ensure results are evaluated before end of scope.
16478         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16479         USE_AS_NEARBYINTL and include s_rintl.c.
16480         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16481         Disable exception traps in new environment.
16482         (libc_feholdsetround_ppc_ctx): Likewise.
16484 2016-03-08  Roland McGrath  <roland@hack.frob.com>
16486         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16487         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16488         (tst_audit10_aux) [__AVX512F__]: ... here.
16490 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
16492         * include/sys/auxv.h: New file.
16494 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16496         [BZ #19759]
16497         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16499 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16501         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16502         operand modifier.
16503         (feclearexcept): Likewise.
16505 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16507         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16508         to reflect the entire 32-bit HWCAP.
16509         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16510         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
16512 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16514         [BZ #19783]
16515         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16516         $(test-via-rtld-prefix).
16517         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16519 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16521         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16522         union wait.  Report any non-zero exit status as error.
16524 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16526         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16527         configured with --enable-hardcoded-path-in-tests.
16529 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16531         [BZ #19677]
16532         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16533         (__ieee754_remainderl): Put zero low parts in canonical form.
16534         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16535         file.  Based on
16536         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16537         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16538         with wrapper round test-fmodrem-ldbl-128ibm.c.
16539         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16540         file.
16541         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16542         Likewise.
16543         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16544         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16546 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16548         [BZ #19610]
16549         * elf/ldconfig.c (opt_link): Update comment.
16550         (options): Update help string for option -X.
16551         (search_dir): Unlink stale symbolic link only if updating symbolic
16552         links.
16553         * elf/tst-ldconfig-X.sh: New file.
16554         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16555         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16557 2016-03-07  Andreas Schwab  <schwab@suse.de>
16559         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16560         needed arguments.
16562 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16564         [BZ #15333]
16565         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16566         to lstat64.
16568 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16570         * libio/filedoalloc.c (isatty): Remove.
16571         (local_isatty): Add comment.  Call __isatty directly.
16572         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16573         * libio/wfiledoalloc.c (isatty): Remove.
16574         (_IO_wfile_doallocate): Update comment.
16576 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16578         [BZ #19269]
16579         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16580         tst-audit4-aux.o.
16581         (tst-audit10): Depend on tst-audit10-aux.o.
16582         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16583         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16584         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16585         instead of inline AVX code.
16586         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16587         instead of inline AVX512 code.
16588         * sysdeps/x86_64/tst-audit4-aux.c: New file
16589         * sysdeps/x86_64/tst-audit10-aux.c: New file
16591         [BZ #19648]
16592         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16594 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16596         [BZ #14750]
16597         [BZ #10354]
16598         [BZ #18433]
16599         * include/sched.h (__clone): Add hidden prototype.
16600         (__clone2): Likewise.
16601         * include/unistd.h (__dup): Likewise.
16602         * posix/Makefile (tests): Add tst-spawn2.
16603         * posix/tst-spawn2.c: New file.
16604         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16605         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16606         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16607         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16608         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16609         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16610         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16611         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16612         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16613         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16614         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16616         Likewise.
16617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16618         Likewise.
16619         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16620         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16621         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16622         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16623         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16624         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16625         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16626         * sysdeps/unix/sysv/linux/nptl-signals.h
16627         (____nptl_is_internal_signal): New function.
16628         * sysdeps/unix/sysv/linux/spawni.c: New file.
16630         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16631         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16632         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16633         * posix/tst-execvp2.c (do_test): Likewise.
16634         * posix/tst-execvp3.c (do_test): Likewise.
16635         * posix/tst-execvp4.c (do_test): Likewise.
16636         * posix/tst-execvpe1.c: New file.
16637         * posix/tst-execvpe2.c: Likewise.
16638         * posix/tst-execvpe3.c: Likewise.
16639         * posix/tst-execvpe4.c: Likewise.
16640         * posix/tst-execvpe5.c: Likewise.
16641         * posix/tst-execvpe6.c: Likewise.
16643         [BZ #19534]
16644         * posix/execl.c (execl): Remove dynamic memory allocation.
16645         * posix/execle.c (execle): Likewise.
16646         * posix/execlp.c (execlp): Likewise.
16648 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16650         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16651         Replace .text with .text.avx512.
16652         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16653         Likewise.
16655 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16657         * sysdeps/generic/libnsl.abilist: New file.
16658         * sysdeps/generic/libutil.abilist: New file.
16660 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16662         [BZ #19762]
16663         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16664         HAS_ARCH_FEATURE with Fast_Rep_String.
16665         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16666         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16667         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16668         Likewise.
16669         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16670         Likewise.
16671         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16672         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16673         Likewise.
16674         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16675         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16676         Likewise.
16678 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16680         [BZ #19745]
16681         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16682         with *%rax in call.
16684 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16686         [BZ #19745]
16687         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16688         with *__libc_start_main@GOTPCREL(%rip) in call.
16690 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16692         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16693         inside conditional for nonempty $(CXX).
16695         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16696         nonempty.
16698         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16699         to test for empty $(CXX) rather than $(CXX) of "no".
16701 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16703         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16705 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16706             H.J. Lu  <hongjiu.lu@intel.com>
16708         [BZ #18880]
16709         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16710         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16711         enable __memcpy_ssse3_back.
16713 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16715         [BZ #19758]
16716         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16717         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16719 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16721         [BZ #19490]
16722         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16723         (__fentry__): Likewise.
16725 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16727         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16728         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16730 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16732         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16733         __mcount_internal directly.
16734         (C_LABEL(__fentry__)): Likewise.
16735         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16736         directly.
16738 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16740         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16741         (__start_context): Call __setcontext directly.
16743 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16745         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16746         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16747         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16748         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16749         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16750         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16751         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16752         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16753         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16754         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16755         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16756         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16757         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16758         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16759         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16760         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16761         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16762         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16763         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16764         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16765         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16766         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16767         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16768         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16769         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16770         Remove conditional code.
16771         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16772         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16773         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16774         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16775         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16776         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16777         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16778         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16779         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16780         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16781         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16782         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16784 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16786         * NEWS (2.23): Fix typo in bug 19048 text.
16788 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16790         [BZ #14259]
16791         * Makeconfig: Rename msgcatdir to localedir.
16792         Rename inst_msgcatdir to inst_localedir.
16793         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16794         * config.make.in: Add localedir.
16795         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16796         (ldd-rewrite): Likewise.
16797         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16798         (install-others): Use inst_localedir.
16799         (CPPFLAGS): Use localedir.
16800         * locale/Makefile (locale-CPPFLAGS): Likewise.
16801         * po/Makefile (mo-installed): Use inst_localedir.
16803         [BZ #19575]
16804         * localedata/charmaps/GB18030: Update comments regarding PAU to
16805         non-PUA mappings.
16807 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16809         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16810         test for header.
16811         * sysdeps/unix/sysv/linux/configure: Regenerated.
16812         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16813         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16814         Remove conditional code.
16815         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16817         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16818         Define to 3.2.0.
16819         (arch_minimum_kernel): Likewise.
16820         * sysdeps/unix/sysv/linux/configure: Regenerated.
16821         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16822         Define to 2.6.32.
16823         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16824         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16825         (arch_minimum_kernel): Define to 2.6.32.
16826         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16827         * README: Document Linux 3.2 requirement.
16828         * manual/install.texi (Linux): Document Linux 3.2 headers
16829         requirement.
16830         * INSTALL: Regenerated.
16832 2016-02-24  Andreas Schwab  <schwab@suse.de>
16834         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16835         if !NO_LONG_DOUBLE.
16837 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16839         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16840         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16842 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16844         [BZ #19512]
16845         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16847 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16849         * posix/tst-dir.c: Include libc-internal.h.
16851 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16853         [BZ #19056]
16854         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16855         * manual/filesys.texi (Reading/Closing Directory): Mention
16856         deprecaion.
16857         * posix/tst-dir.c (main): Disable deprecation warning in test.
16859 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16861         [BZ #19679]
16862         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16863         Renamed to ...
16864         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16865         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16866         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16867         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16868         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16869         * sysdeps/x86_64/dl-trampoline.h
16870         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16871         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16873 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16875         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16877 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16879         * elf/elf.h (R_386_GOT32X): New.
16880         (R_386_NUM): Update.
16881         (R_X86_64_GOTPCRELX: New.
16882         (R_X86_64_REX_GOTPCRELX): New.
16883         (R_X86_64_NUM): Update.
16885 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16887         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16889 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16891         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16892         assign attr->stackaddr to it, and adjust it down when
16893         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16894         [_STACK_GROWS_UP]: Delete assert.
16895         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16896         Implement stack grows up logic.
16897         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16898         stack grows up logic.
16900 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16902         * NEWS: Update with 2.24 template.
16904 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16906         [BZ #19678]
16907         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16908         Ensure +0.0 is returned when taking the next value below the least
16909         positive value.
16911 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16913         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16914         available.  Do not define NO_THREADS.
16915         * malloc/malloc.c: Do not check NO_THREADS.
16916         * malloc/arena.c: Likewise.
16918 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16920         * malloc/malloc.c (__libc_mallinfo): Update comment.
16921         (struct malloc_par): Remove max_total_mem member, it was always 0.
16922         (int_mallinfo): Store 0 into usmblks (no functional change).
16923         * malloc/hooks.c (struct malloc_state): Document that
16924         max_total_mem is always 0.
16925         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16926         always 0.
16927         * manual/memory.texi (Statistics of Malloc): Likewise.
16929 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16931         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16932         * malloc/arena.c (arena_max): Remove.
16933         (heap_trim, _int_new_arena): Do not update arena_max.
16935 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16937         * resolv/res_init.c (res_ninit): Update comment.
16939 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16941         [BZ #19505]
16942         * posix/spawn_int.h: Add headers and include guard.
16943         (__spawn_valid_fd): New function.
16944         * posix/spawn_faction_addopen.c
16945         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16946         * posix/spawn_faction_addclose.c
16947         (posix_spawn_file_actions_addclose): Likewise.
16948         * posix/spawn_faction_adddup2.c
16949         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16950         second file descriptor.
16951         * posix/spawn_valid_fd.c: New file.
16952         * posix/tst-posix_spawn-fd.c: New file.
16953         * posix/Makefile (routines): Add spawn_valid_fd.
16954         (tests): Add tst-posix_spawn-fd.
16956 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16958         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16959         (do_test): Limit the number of arenas, so that we can use fewer
16960         outer threads.  Limit timeout to 3 seconds, in preparation for a
16961         larger TIMEOUT value.
16963 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16965         [BZ #19674]
16966         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16967         sign in overflowing and underflowing results when overflow or
16968         underflow is detected early.  Include sign in result before rather
16969         than after scaling.
16971         [BZ #19603]
16972         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16973         (__ieee754_remainderl): Adjust sign of integer version of low part
16974         when taking absolute value of high part.
16975         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16976         * math/libm-test.inc (remainder_test_data): Add another test.
16977         (remquo_test_data): Likewise.
16979 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16981         [BZ #19602]
16982         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16983         equal high parts and both low parts zero specially.
16984         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16985         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16986         Add test-fmodl-ldbl-128ibm.
16988         [BZ #19595]
16989         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16990         common logic for all cases of shifting subnormal results.  Do not
16991         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16992         exponent to ldbl_insert_mantissa in subnormal case.
16994         [BZ #19594]
16995         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16996         on high and low parts then adjust result and use
16997         ldbl_canonicalize_int if needed.
16999         [BZ #19593]
17000         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
17001         on high part and __floor or __ceil on low part then use
17002         ldbl_canonicalize_int if needed.
17004         [BZ #19592]
17005         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
17006         high and low parts then use ldbl_canonicalize_int if needed.
17008         [BZ #17899]
17009         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
17010         New function.
17011         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
17012         on high and low parts then use ldbl_canonicalize_int if needed.
17014 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17016         * configure: Regenerated.
17018         * po/libc.pot: Regenerated.
17020         * po/be.po: Updated translation.
17021         * po/bg.po: Likewise.
17022         * po/ca.po: Likewise.
17023         * po/cs.po: Likewise.
17024         * po/da.po: Likewise.
17025         * po/el.po: Likewise.
17026         * po/eo.po: Likewise.
17027         * po/es.po: Likewise.
17028         * po/fi.po: Likewise.
17029         * po/fr.po: Likewise.
17030         * po/gl.po: Likewise.
17031         * po/hr.po: Likewise.
17032         * po/hu.po: Likewise.
17033         * po/ia.po: Likewise.
17034         * po/id.po: Likewise.
17035         * po/it.po: Likewise.
17036         * po/ja.po: Likewise.
17037         * po/lt.po: Likewise.
17038         * po/nb.po: Likewise.
17039         * po/nl.po: Likewise.
17040         * po/pt_BR.po: Likewise.
17041         * po/rw.po: Likewise.
17042         * po/sk.po: Likewise.
17043         * po/sl.po: Likewise.
17044         * po/sv.po: Likewise.
17045         * po/tr.po: Likewise.
17046         * po/zh_CN.po: Likewise.
17047         * po/zh_TW.po: Likewise.
17049         * version.h (RELEAES): Set to "development".
17050         (VERSION): Set to 2.23.90.
17052         * version.h (RELEASE): Set to "stable".
17053         (VERSION): Set to 2.23.
17054         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17056         * NEWS: Updated fixed bugs.
17058 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17059             Wilco Dijkstra  <wdijkstr@arm.com>
17061         [BZ #19462]
17062         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17063         (_STRING_INLINE_unaligned): This.
17064         * include/string.h: Include <string_private.h>.
17065         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17066         _STRING_INLINE_unaligned.
17067         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17068         (_STRING_INLINE_unaligned): New.
17069         * sysdeps/aarch64/string_private.h: New file.
17070         * sysdeps/generic/string_private.h: Likewise.
17071         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17072         * sysdeps/s390/string_private.h: Likewise.
17073         * sysdeps/x86/string_private.h: Likewise.
17074         * sysdeps/m68k/m680x0/m68020/bits/string.h
17075         (_STRING_ARCH_unaligned): Renamed to ...
17076         (_STRING_INLINE_unaligned): This.
17077         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17078         to ...
17079         (_STRING_INLINE_unaligned): This.
17080         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17081         to ...
17082         (_STRING_INLINE_unaligned): This.
17083         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17084         to ...
17085         (_STRING_INLINE_unaligned): This.
17087 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17088             H.J. Lu  <hongjiu.lu@intel.com>
17090         [BZ #19590]
17091         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17092         relocation.
17094 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17096         [BZ #18665]
17097         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17098         *herrno_p.
17099         (gaih_getanswer): Document functional behviour. Return tryagain
17100         if any result is tryagain.
17101         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17102         when freed.
17103         * resolv/res_send.c: Add copyright text.
17104         (__libc_res_nsend): Document that MAXPACKET is expected.
17105         (send_vc): Document. Remove buffer reuse.
17106         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17107         size of the buffer. Add Dprint for truncated UDP buffer.
17109 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17111         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17112         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17113         * INSTALL: Regenerate.
17115 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17116             Jonathan Wakely  <jwakely@redhat.com>
17117             Carlos O'Donell  <carlos@redhat.com>
17119         [BZ 19439]
17120         * math/Makefile (tests): Add test-math-isinff.
17121         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17122         * math/bits/mathcalls.h [__USE_MISC]: Use
17123         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17124         functions not in C++11 and which don't conflict e.g. isinff,
17125         isinfl etc.
17126         * math/test-math-isinff.cc: New file.
17128 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17130         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17132 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17134         [BZ #19529]
17135         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17137 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17139         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17141 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17143         [BZ #19550]
17144         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17145         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17146         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17147         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17148         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17149         New syscall entry.
17150         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17151         New syscall entry.
17152         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17153         syscall entry.
17155 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17157         [BZ #18240]
17158         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17159         unsigned int wraparound.
17161 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17163         [BZ #18240]
17164         * misc/bug18240.c: New test.
17165         * misc/Makefile (tests): Add it.
17167 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17168             Joseph Myers  <joseph@codesourcery.com>
17170         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17171         load in branch delay slot when less than a word of input left.
17173 2016-01-27  Andreas Schwab  <schwab@suse.de>
17175         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17176         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17177         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17178         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17180 2016-01-26  David S. Miller  <davem@davemloft.net>
17182         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17184 2016-01-25  David S. Miller  <davem@davemloft.net>
17186         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17187         __sqrtl_finite.
17188         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17189         instead using versioned_symbol.
17190         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17191         of entries.
17193         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17194         __sqrtl_finite to GLIBC_2.23
17196 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17198         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17200 2016-01-25  Andreas Schwab  <schwab@suse.de>
17202         [BZ #17514]
17203         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17204         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17205         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17206         * nptl/tst-mutex-errorcheck.c: New file.
17208 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17210         [BZ #18560]
17211         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17212         (IPCOP_semop): Likewise.
17213         (IPCOP_semget): Likewise.
17214         (IPCOP_semctl): Likewise.
17215         (IPCOP_msgsnd): Likewise.
17216         (IPCOP_msgrcv): Likewise.
17217         (IPCOP_msgget): Likewise.
17218         (IPCOP_msgctl): Likewise.
17219         (IPCOP_shmat): Likewise.
17220         (IPCOP_shmdt): Likewise.
17221         (IPCOP_shmget): Likewise.
17222         (IPCOP_shmctl): Likewise.
17224 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17226         * string/tst-endian.c: Include <libc-internal.h>.
17227         (do_test): Ignore tautological-compare warnings around
17228         "htobeXX (beXXtoh (i)) != i" and
17229         "htoleXX (leXXtoh (i)) != i" if-statements.
17231 2016-01-24  David S. Miller  <davem@davemloft.net>
17233         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17234         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17235         alias.
17236         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17237         __sqrtl_finite.
17239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17241 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17243         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17244         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17245         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17247 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17249         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17250         (thread_func): Use new function to simplify barrier check.
17251         (do_test): Use new function to simplify checking barrier exit
17252         code, and actually join the child thread.
17254 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17256         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17257         semicolon.
17258         (__libc_tend): Likewise.
17259         (__libc_tabort): Likewise.
17261 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17263         * sysdeps/nios2/libm-test-ulps: Update.
17264         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17265         (__gtsf2): Likewise.
17266         (__unorddf2): Likewise.
17267         (__unordsf2): Likewise.
17268         (__ledf2): Likewise.
17270 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17272         * nis/nis_table.c (__follow_path): Disable diagnostic for
17273         uninitialized variable that is a false positive for gcc 4.7.
17274         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17276 2016-01-20  Roland McGrath  <roland@hack.frob.com>
17278         * sysdeps/nacl/lowlevellock-futex.h
17279         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17280         Always evaluate PRIVATE argument.
17282 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
17284         [BZ #19490]
17285         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17286         (pthread_cond_broadcast): Use ENTRY/END
17287         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17288         (pthread_cond_signal): Likewise.
17289         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17290         Likewise.
17291         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17292         Likewise.
17293         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17294         Likewise.
17296 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
17298         * sysdeps/ieee754/dbl-64/s_finite.c
17299         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17300         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17301         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17302         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17303         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17306         (__gtsf2): Add as optional for libc.so.
17307         (__unordsf2): Likewise.
17308         (__signbit): Remove for libc.so.
17309         (__signbitl): Likewise.
17311 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17313         * iconvdata/bug-iconv11.c (test_ibm93x):
17314         Use %zu printf format specifier for size_t argument.
17316 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
17318         * math/gen-libm-test.pl (parse_ulps): Do not reduce
17319         already-recorded ulps.
17320         * sysdeps/arm/libm-test-ulps: Regenerated.
17321         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17322         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17323         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17325 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17326             Paul Pluzhnikov  <ppluzhnikov@google.com>
17328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17329         assembler not supporting AVX-512.
17331 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17333         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17335 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17337         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17338         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17340         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17342         * sysdeps/arm/libm-test-ulps: Regenerated.
17344 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17346         [BZ #19451]
17347         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17349 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17351         [BZ #19486]
17352         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17353         * sysdeps/generic/fix-fp-int-convert-overflow.h
17354         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17355         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17356         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17357         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17358         Likewise.
17359         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17360         Avoid conversions to long int where inexact exceptions
17361         could be raised.
17362         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17363         Likewise.
17364         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17365         Avoid conversions to long long int where inexact exceptions
17366         could be raised.
17367         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17368         Likewise.
17370 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17372         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17373         * configure: Regenerated.
17375 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17377         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17379 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17381         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17382         outside of comment.
17384 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17386         * nptl/tst-barrier1.c: Add description on first line.
17387         * nptl/tst-barrier2.c: Likewise.
17388         * nptl/tst-barrier3.c: Likewise.
17389         * nptl/tst-barrier4.c: Likewise.
17390         * nptl/tst-barrier5.c: Likewise.
17392 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17394         [BZ #18868]
17395         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17397 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17399         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17400         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17401         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17402         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17403         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17404         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17405         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17406         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17407         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17408         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17409         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17411 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17413         [BZ #13065]
17414         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17415         new implementation.
17416         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17417         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17418         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17419         (BARRIER_IN_THRESHOLD): New macro.
17420         * nptl/pthread_barrierattr_setpshared.c
17421         (pthread_barrierattr_setpshared): Clean up.
17422         * nptl/tst-barrier4.c: Correct comment.
17423         * nptl/tst-barrier5.c: New file.
17424         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17425         (gen-as-const-headers): Remove lowlevelbarrier.sym.
17426         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17427         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17428         * nptl/lowlevelbarrier.sym: Remove.
17429         * nptl/DESIGN-barrier.txt: Remove.
17430         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17431         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17432         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17433         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17434         error.
17435         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17436         implementation.
17438 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17440         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17441         (do_child): Mask SIGRTMIN while thr is running.
17443 2016-01-15  Martin Sebor  <msebor@redhat.com>
17445         [BZ #19432]
17446         * iconvdata/Makefile: Add bug-iconv11.
17447         * iconvdata/bug-iconv11.c: New test.
17448         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17449         * iconvdata/ibm933.c: Same.
17450         * iconvdata/ibm935.c: Same.
17451         * iconvdata/ibm937.c: Same.
17452         * iconvdata/ibm939.c: Same.
17454 2016-01-15  Martin Sebor  <msebor@redhat.com>
17456         [BZ #19443]
17457         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17458         [DEBUG] (_ufc_set_bits): Declare used.
17459         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17460         [DEBUG] (print_all): Declare used.
17461         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17462         operands of the ternary ?: expression to target type.
17463         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17464         calling the undeclared abort.
17465         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17467 2016-01-15  Martin Sebor  <msebor@redhat.com>
17469         [BZ #18755]
17470         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17471         warnings.
17472         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17473         (__gai_create_helper_thread): Same.
17474         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17475         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17476         to suppress -Wmaybe-uninitialized warnings.
17478 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
17480         [BZ #19465]
17481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17482         inside if.
17483         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17484         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17485         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17487 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
17489         [BZ #19466]
17490         * time/tst-mktime2.c (time_t_max): Removed.
17491         (time_t_min): Likewise.
17492         (TYPE_SIGNED): New.
17493         (TYPE_MINIMUM): Likewise.
17494         (TYPE_MAXIMUM): Likewise.
17495         (TIME_T_MIN): Likewise.
17496         (TIME_T_MAX): Likewise.
17497         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17498         and TIME_T_MIN.
17499         (do_test): Likewise.
17501 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
17503         [BZ #19467]
17504         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17505         index_Fast_Unaligned_Load flag for Excavator family CPUs.
17507 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
17509         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17511 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
17513         * benchtests/Makefile (PYTHON): Define.
17514         (bench-func): Use $(PYTHON) to run python scripts.
17515         ($(objpfx)bench-%.c): Likewise.
17517 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17519         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17520         leading slash when `file_name' is "/".
17522 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17524         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17525         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17526         Likewise.
17527         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17528         Likewise.
17529         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17530         Likewise.
17531         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17532         enum constant and macro.
17533         (PTRACE_SETSIGMASK): Likewise.
17534         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17535         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17536         (PTRACE_GETSIGMASK): Likewise.
17537         (PTRACE_SETSIGMASK): Likewise.
17538         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17539         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17540         Likewise.
17541         (PTRACE_SETSIGMASK): Likewise.
17542         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17543         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17544         (PTRACE_GETSIGMASK): Likewise.
17545         (PTRACE_SETSIGMASK): Likewise.
17546         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17547         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17548         Likewise.
17549         (PTRACE_SETSIGMASK): Likewise.
17550         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17551         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17552         Likewise.
17553         (PTRACE_SETSIGMASK): Likewise.
17554         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17555         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17556         Likewise.
17557         (PTRACE_SETSIGMASK): Likewise.
17558         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17560 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17561             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17563         [BZ #19439]
17564         * math/bits/mathcalls.h
17565         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17566         prototype.
17567         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17569 2016-01-11  Andreas Schwab  <schwab@suse.de>
17571         [BZ #19253]
17572         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17573         cache when TZDEFRULES was used.
17574         * time/tst-tzname.c: New file.
17575         * time/Makefile (test): Add tst-tzname.
17576         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17577         * timezone/Makefile (test-zones): Add $(posixrules-file).
17578         ($(testdata)/$(posixrules-file)): New rule.
17580 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17582         Fix doc quoting problems with Texinfo 5
17583         Without this change, in the info file output, Texinfo 5 quotes code
17584         in text with undirected single quotes 'like this' and generates
17585         code examples that with many PDF readers cannot be cut out of PDFs
17586         and pasted into code.
17587         * manual/libc.texinfo: Configure the libc manual like the GNU
17588         Emacs manual, by using @documentencoding and setting
17589         txicodequoteundirected and txicodequotebacktick.  This way,
17590         Texinfo 5 quotes code in text with directed single quotes ‘like
17591         this’ and produces examples that can be cut out of PDFs.  This
17592         change causes Texinfo 5 to generate info files that contain UTF-8
17593         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17594         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17596 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17598         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17599         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17600         barriers to their respective compiler built-ins.
17601         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17602         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17603         * sysdeps/powerpc/sysdep.h: Likewise.
17604         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17605         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17606         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17608 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17610         * scripts/config.guess: Revert previous shebang change.
17611         * scripts/config.sub: Likewise.
17612         * scripts/mkinstalldirs: Likewise.
17614 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17616         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17617         PPC_FEATURE2_HAS_IEEE128.
17618         * sysdeps/powerpc/dl-procinfo.c:
17619         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17621 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17623         [BZ #19415]
17624         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17625         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17626         (_dl_lookup_address): Rewrite using function resolver trampoline.
17627         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17628         two bits in address.
17630 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17632         * longlong.h: Change !__SHMEDIA__ to
17633         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17634         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17636 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17637             Joseph Myers  <joseph@codesourcery.com>
17638             Mark Shinwell  <shinwell@codesourcery.com>
17639             Andrew Stubbs  <ams@codesourcery.com>
17640             Rich Felker <dalias@libc.org>
17642         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17644 2016-01-07  Richard Henderson  <rth@redhat.com>
17646         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17648 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17650         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17651         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17652         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17653         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17654         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17656 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17657             Joseph Myers  <joseph@codesourcery.com>
17659         * timezone/private.h: Update from tzcode 2015g.
17660         * timezone/tzfile.h: Likewise.
17661         * timezone/tzselect.ksh: Likewise.
17662         * timezone/zdump.c: Likewise.
17663         * timezone/zic.c: Likewise.
17664         * timezone/ialloc.c: Remove file.
17665         * timezone/scheck.c: Likewise.
17666         * timezone/Makefile (extra-objs): Remove variable.
17667         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17668         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17669         -Wno-maybe-uninitialized.
17670         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17671         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17672         (CFLAGS-ialloc.c): Remove variable.
17673         (CFLAGS-scheck.c): Likewise.
17674         * timezone/README: Update list of files from tzcode.
17676 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17678         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17679         instead of __fxprintf when _LIBC is undefined.
17681 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17683         * catgets/test-gencat.sh: Remove space after shebang.
17684         * conform/GlibcConform.pm: Likewise.
17685         * conform/check-header-lists.sh: Likewise.
17686         * conform/conformtest.pl: Likewise.
17687         * conform/linknamespace.pl: Likewise.
17688         * conform/list-header-symbols.pl: Likewise.
17689         * debug/catchsegv.sh: Likewise.
17690         * elf/genrtldtbl.awk: Likewise.
17691         * elf/tst-pathopt.sh: Likewise.
17692         * elf/tst-rtld-load-self.sh: Likewise.
17693         * grp/tst_fgetgrent.sh: Likewise.
17694         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17695         * iconvdata/gen-8bit-gap.sh: Likewise.
17696         * iconvdata/gen-8bit.sh: Likewise.
17697         * iconvdata/run-iconv-test.sh: Likewise.
17698         * intl/tst-gettext.sh: Likewise.
17699         * intl/tst-gettext2.sh: Likewise.
17700         * intl/tst-gettext4.sh: Likewise.
17701         * intl/tst-gettext6.sh: Likewise.
17702         * intl/tst-translit.sh: Likewise.
17703         * io/ftwtest-sh: Likewise.
17704         * libio/test-freopen.sh: Likewise.
17705         * locale/gen-translit.pl: Likewise.
17706         * malloc/tst-mtrace.sh: Likewise.
17707         * manual/check-safety.sh: Likewise.
17708         * manual/libc-texinfo.sh: Likewise.
17709         * manual/tsort.awk: Likewise.
17710         * manual/xtract-typefun.awk: Likewise.
17711         * nptl/tst-cancel-wrappers.sh: Likewise.
17712         * nptl/tst-tls6.sh: Likewise.
17713         * posix/globtest.sh: Likewise.
17714         * posix/tst-getconf.sh: Likewise.
17715         * posix/wordexp-tst.sh: Likewise.
17716         * scripts/check-c++-types.sh: Likewise.
17717         * scripts/check-local-headers.sh: Likewise.
17718         * scripts/config.guess: Likewise.
17719         * scripts/config.sub: Likewise.
17720         * scripts/cpp: Likewise.
17721         * scripts/cross-test-ssh.sh: Likewise.
17722         * scripts/documented.sh: Likewise.
17723         * scripts/evaluate-test.sh: Likewise.
17724         * scripts/gen-libc-abis: Likewise.
17725         * scripts/gen-sorted.awk: Likewise.
17726         * scripts/list-fixed-bugs.py: Likewise.
17727         * scripts/merge-test-results.sh: Likewise.
17728         * scripts/mkinstalldirs: Likewise.
17729         * scripts/rellns-sh: Likewise.
17730         * scripts/test-installation.pl: Likewise.
17731         * scripts/update-copyrights: Likewise.
17732         * stdio-common/tst-printf.sh: Likewise.
17733         * stdio-common/tst-unbputc.sh: Likewise.
17734         * stdlib/tst-fmtmsg.sh: Likewise.
17735         * stdlib/tst-setcontext3.sh: Likewise.
17736         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17737         * sysdeps/unix/make-syscalls.sh: Likewise.
17739 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17741         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17742         asm stw with atomic_exchange_rel.  Add explanatory comment.
17743         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17744         Likewise.
17746 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17748         [BZ #19122]
17749         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17750         * sysdeps/generic/dl-unistd.h: New file.
17751         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17753 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17755          [BZ #19122]
17756          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17757          * sysdeps/generic/dl-mman.h: New file.
17758          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17760 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17762         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17763         trailing whitespace removed.
17764         * scripts/config.guess: Update to version 2016-01-01.
17765         * scripts/config.sub: Update to version 2016-01-01.
17766         * scripts/move-if-change: Update from gnulib.
17768 2016-01-04  Anton Blanchard  <anton@samba.org>
17770         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17771         for array indices.
17772         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17774 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17776         * NEWS: Update copyright dates.
17777         * catgets/gencat.c (print_version): Likewise.
17778         * csu/version.c (banner): Likewise.
17779         * debug/catchsegv.sh: Likewise.
17780         * debug/pcprofiledump.c (print_version): Likewise.
17781         * debug/xtrace.sh (do_version): Likewise.
17782         * elf/ldconfig.c (print_version): Likewise.
17783         * elf/ldd.bash.in: Likewise.
17784         * elf/pldd.c (print_version): Likewise.
17785         * elf/sotruss.sh: Likewise.
17786         * elf/sprof.c (print_version): Likewise.
17787         * iconv/iconv_prog.c (print_version): Likewise.
17788         * iconv/iconvconfig.c (print_version): Likewise.
17789         * locale/programs/locale.c (print_version): Likewise.
17790         * locale/programs/localedef.c (print_version): Likewise.
17791         * login/programs/pt_chown.c (print_version): Likewise.
17792         * malloc/memusage.sh (do_version): Likewise.
17793         * malloc/memusagestat.c (print_version): Likewise.
17794         * malloc/mtrace.pl: Likewise.
17795         * manual/libc.texinfo: Likewise.
17796         * nptl/version.c (banner): Likewise.
17797         * nscd/nscd.c (print_version): Likewise.
17798         * nss/getent.c (print_version): Likewise.
17799         * nss/makedb.c (print_version): Likewise.
17800         * posix/getconf.c (main): Likewise.
17801         * scripts/test-installation.pl: Likewise.
17802         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17804         * All files with FSF copyright notices: Update copyright dates
17805         using scripts/update-copyrights.
17806         * intl/plural.c: Regenerated.
17807         * locale/programs/charmap-kw.h: Likewise.
17808         * locale/programs/locfile-kw.h: Likewise.
17810 2016-01-02  Helge Deller  <deller@gmx.de>
17812         [BZ #19285]
17813         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17814         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17815         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17816         (MADV_xxK_PAGES): Remove.
17818 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17820         [BZ #15421]
17821         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17822         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17823         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17824         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17826 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17828         [BZ #19408]
17829         * sysdeps/unix/sysv/linux/personality.c: New file.
17830         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17831         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17832         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17833         (sysdep_routines): Add personality.
17834         (tests): Add tst-personality.
17835         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17837         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17838         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17839         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17840         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17841         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17842         Likewise.
17843         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17844         Likewise.
17845         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17846         Likewise.
17847         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17848         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17849         Likewise.
17851 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17853         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17854         (PATH_ARM_SYSTYPE): Remove.
17855         (PATH_CPUINFO): Likewise.
17856         (IO_BASE_FOOTBRIDGE): Likewise.
17857         (IO_SHIFT_FOOTBRIDGE): Likewise.
17858         (struct platform): Likewise.
17859         (init_iosys): Remove compatibility code for 2.4 kernels.
17860         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17862 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17864         * malloc/tst-malloc-thread-fail.c: New file.
17865         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17866         (tst-malloc-thread-fail): Link against libpthread.
17868 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17870         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17871         (get_parser): New function.
17872         (main): New function.
17874 2015-12-29  Rob Wu  <rob@robwu.nl>
17876         [BZ #19369]
17877         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17879 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17881         [BZ #19270]
17882         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17884 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17886         [BZ #15421]
17887         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17889 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17891         [BZ #13690]
17892         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17893         after releasing it.
17894         (__lll_robust_unlock): Likewise.
17895         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17896         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17897         (lll_robust_unlock): Likewise.
17898         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17899         Prevent warnings in callers.
17901 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17903         * malloc/arena.c (list_lock): Update comment.
17905 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17907         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17908         __parse_hwcap_and_convert_at_platform to libc.a.
17910 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17912         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17913         platform and feature support for POWER9.
17914         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17915         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17916         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17917         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17918         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17919         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17920         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17921         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17923 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17925         Harmonize generic stdio-lock support with nptl
17927         This fixes build when _IO_funlockfile is a macro, fixes build where
17928         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17929         stack unwind.
17931         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17932         _IO_release_lock ): Use cleanup attribute on new
17933         _IO_acquire_lock_file variable instead of assuming that
17934         _IO_release_lock will be called.
17935         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17936         _IO_acquire_lock_needs_exceptions_enabled.
17937         (_IO_acquire_lock_clear_flags2): New macro.
17939 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17941         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17943 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17945         [BZ #19182]
17946         * malloc/arena.c (list_lock): Document lock ordering requirements.
17947         (free_list_lock): New lock.
17948         (ptmalloc_lock_all): Comment on free_list_lock.
17949         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17950         (detach_arena): Update comment.  free_list_lock is now needed.
17951         (_int_new_arena): Use free_list_lock around detach_arena call.
17952         Acquire arena lock after list_lock.  Add comment, including FIXME
17953         about incorrect synchronization.
17954         (get_free_list): Switch to free_list_lock.
17955         (reused_arena): Acquire free_list_lock around detach_arena call
17956         and attached threads counter update.  Add two FIXMEs about
17957         incorrect synchronization.
17958         (arena_thread_freeres): Switch to free_list_lock.
17959         * malloc/malloc.c (struct malloc_state): Update comments to
17960         mention free_list_lock.
17962 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17964         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17965         Remove functions.
17966         (sloww, sloww1): Accept argument to offset quadrant.
17967         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17968         quadrant.
17969         (__sin, __cos): Consolidate common code into new functions.
17970         (reduce_sincos_1, do_sincos_1): New functions.
17971         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17973         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17974         code to new functions.
17975         (reduce_sincos_2, do_sincos_2): New functions.
17976         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17978         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17979         common code for sincos.
17980         (__cos) [!IN_SINCOS]: Likewise.
17981         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17982         New function.
17983         (__sincos): Use it.
17985 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17987         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17988         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17989         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17991 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17993         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17995         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17996         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17997         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17998         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17999         index_Prefer_No_VZEROUPPER): New feature.
18000         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
18001         Prefer_No_VZEROUPPER for Knights Landing.
18003 015-12-18  Torvald Riegel  <triegel@redhat.com>
18005         * math/atest-exp2.c (mp_exp_m1): Remove.
18007 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18009         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
18010         syscalls.
18011         (__SYSCALL0): New macro.
18012         (__SYSCALL1): Likewise.
18013         (__SYSCALL2): Likewise.
18014         (__SYSCALL3): Likewise.
18015         (__SYSCALL4): Likewise.
18016         (__SYSCALL5): Likewise.
18017         (__SYSCALL6): Likewise.
18018         (__SYSCALL_CONCAT_X): Likewise.
18019         (__SYSCALL_CONCAT): Likewise.
18020         (__SYSCALL_DIST): Likewise.
18021         (__SYSCALL_CALL): Likewise.
18023 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
18025         [BZ #19363]
18026         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
18028 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18030         [BZ #19375]
18031         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
18032         negative subnormals.
18034 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
18036         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
18037         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
18038         (INTERNAL_SYSCALL_NCS): Use it.
18039         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
18041 2015-12-16  Florian Weimer  <fweimer@redhat.com>
18043         [BZ #19243]
18044         * malloc/arena.c (get_free_list): Remove assert and adjust
18045         reference count handling.  Add comment about reused_arena
18046         interaction.
18047         (reused_arena): Add comments abount get_free_list interaction.
18048         * malloc/tst-malloc-thread-exit.c: New file.
18049         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
18050         (tst-malloc-thread-exit): Link against libpthread.
18052 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18054         [BZ #19367]
18055         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18056         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18057         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18058         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18059         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18061 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18063         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18064         Silvermont optimizations for Knights Landing.
18066 2015-12-15  Andreas Schwab  <schwab@suse.de>
18068         [BZ #17197]
18069         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18070         immediately after emitting SI.
18071         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18072         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18073         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18074         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18075         * iconvdata/bug-iconv10.c: New file.
18076         * iconvdata/Makefile (tests): Add bug-iconv10.
18077         ($(objpfx)bug-iconv10.out): New rule.
18079 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18081         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18082         aliasing violation.
18084 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18086         [BZ #18472]
18087         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18088         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18089         conditionals for them.
18090         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18091         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18092         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18093         sys/kdaemon.h.
18094         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18095         compat-only syscall, obsoleted in glibc 2.23.
18096         (create_module): Likewise.
18097         (get_kernel_syms): Likewise.
18098         (query_module): Likewise.
18099         (uselib): Likewise.
18100         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18102 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18104         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18105         <linux/version.h>.
18106         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18107         conditional code.
18108         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18109         and ioshift_name initialization.
18111 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18113         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18114         Fix indentation.
18116 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18118         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18120 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18122         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18124 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18125             Jakub Wilk  <jwilk@debian.org>
18127         [BZ #19347]
18128         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18129         to change the group of the device to the tty group.
18131 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18133         Split large string section; add truncation advice
18134         * manual/examples/strncat.c: Remove.
18135         This example was misleading, as the code would have undefined
18136         behavior if "hello" was longer than SIZE.  Anyway, the manual
18137         shouldn't encourage strncpy+strncat for this sort of thing.
18138         * manual/string.texi (Copying Strings and Arrays): Split into
18139         three sections Copying Strings and Arrays, Concatenating Strings,
18140         and Truncating Strings, as this section was way too long.  All
18141         cross-referenced changed.  Add advice about string-truncation
18142         functions.  Remove misleading strncat example.
18144 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18146         * manual/nss.texi (NSS Modules Interface): Document
18147         NSS_STATUS_NOTFOUND and SUCCESS.
18149 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18151         [BZ 18568]
18152         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18153         201505L, for Unicode 8.
18155 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18157         * locale/C-translit.h: Regenerate.
18159 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18161         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18162         and U+0153.
18164 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18166         [BZ #19351]
18167         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18168         expanding log(1+z), compare z rather than its square with epsilon
18169         to determine when to avoid evaluating the expansion.
18171         [BZ #19350]
18172         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18173         Increase overflow threshold.
18175         [BZ #19349]
18176         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18177         when small.
18179         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18180         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18181         New macro.
18182         [__LINUX_KERNEL_VERSION >= 0x040300]
18183         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18184         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18185         Likewise.
18186         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18187         Likewise.
18188         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18189         Likewise.
18190         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18191         Likewise.
18192         [__LINUX_KERNEL_VERSION >= 0x040300]
18193         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18194         [__LINUX_KERNEL_VERSION >= 0x040300]
18195         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18196         [__LINUX_KERNEL_VERSION >= 0x040300]
18197         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18198         [__LINUX_KERNEL_VERSION >= 0x040300]
18199         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18200         [__LINUX_KERNEL_VERSION >= 0x040300]
18201         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18202         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18203         Likewise.
18204         [__LINUX_KERNEL_VERSION >= 0x040300]
18205         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18207         Likewise.
18208         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18209         Likewise.
18210         [__LINUX_KERNEL_VERSION >= 0x040300]
18211         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18212         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18213         Likewise.
18214         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18215         Likewise.
18216         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18217         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18218         Likewise.
18219         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18220         Likewise.
18221         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18222         Likewise.
18223         [__LINUX_KERNEL_VERSION >= 0x040300]
18224         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18225         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18226         Likewise.
18227         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18228         Likewise.
18229         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18230         Likewise.
18231         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18232         Likewise.
18233         [__LINUX_KERNEL_VERSION >= 0x040300]
18234         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18235         [__LINUX_KERNEL_VERSION >= 0x040300]
18236         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18237         [__LINUX_KERNEL_VERSION >= 0x040300]
18238         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18239         [__LINUX_KERNEL_VERSION >= 0x040300]
18240         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18241         [__LINUX_KERNEL_VERSION >= 0x040300]
18242         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18243         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18244         Likewise.
18245         [__LINUX_KERNEL_VERSION >= 0x040300]
18246         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18247         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18248         Likewise.
18249         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18250         Likewise.
18251         [__LINUX_KERNEL_VERSION >= 0x040300]
18252         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18253         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18254         Likewise.
18255         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18256         Likewise.
18257         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18258         (__ASSUME_SOCKET_SYSCALL): Likewise.
18259         (__ASSUME_BIND_SYSCALL): Likewise.
18260         (__ASSUME_CONNECT_SYSCALL): Likewise.
18261         (__ASSUME_LISTEN_SYSCALL): Likewise.
18262         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18263         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18264         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18265         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18266         (__ASSUME_SEND_SYSCALL): Likewise.
18267         (__ASSUME_SENDTO_SYSCALL): Likewise.
18268         (__ASSUME_RECV_SYSCALL): Likewise.
18269         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18270         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18271         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18272         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18273         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18274         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18275         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18276         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18277         Likewise.
18278         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18279         Likewise.
18280         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18281         Likewise.
18282         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18283         Likewise.
18284         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18285         Likewise.
18286         [__LINUX_KERNEL_VERSION >= 0x020625]
18287         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18288         [__LINUX_KERNEL_VERSION >= 0x020625]
18289         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18290         [__LINUX_KERNEL_VERSION >= 0x020625]
18291         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18292         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18293         Likewise.
18294         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18295         Likewise.
18296         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18297         Likewise.
18298         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18299         Likewise.
18300         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18301         Likewise.
18302         [__LINUX_KERNEL_VERSION >= 0x020625]
18303         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18304         [__LINUX_KERNEL_VERSION >= 0x020625]
18305         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18306         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18307         Likewise.
18308         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18309         Likewise.
18311 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18313         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18314         record the current if the current ABI and CPU support the FP64
18315         extension.
18316         (has-modd-spreg): Define to record the current if the current ABI and
18317         CPU support 32-bit floating point values in odd FPU registers.
18318         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18319         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18320         $(has-modd-spreg) equals yes.
18321         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
18322         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18323         $(has-modd-spreg) equal yes.
18325 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18327         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18328         basename.
18330 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
18332         * benchtests/Makefile (bench-math): Move ffs and ffsll...
18333         (bench-string): ... here.
18334         (bench): Add bench-string.
18335         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18336         to *-benchset to reflect what they are.
18337         (benchset): Adjust.
18339         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18340         cos-inputs.
18342 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18344         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18345         __attribute__ ((__simd__)) for vector math function declarations.
18347 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18349         Fix typo in strncat, wcsncat manual entries
18350         * manual/string.texi (Copying and Concatenation): Fix typos in
18351         sample implementations of strncat and wcsncat, by having them use
18352         the old value of the destination length, not the new one.
18354 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18356         [BZ #16961]
18357         [BZ #16962]
18358         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18359         string on the stack for strtod.
18360         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18361         a string on the stack for strtof.
18362         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18363         constructing a string on the stack for strtold.
18364         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18365         __strtold_nan to GLIBC_PRIVATE.
18366         * math/test-nan-overflow.c: New file.
18367         * math/test-nan-payload.c: Likewise.
18368         * math/Makefile (tests): Add test-nan-overflow and
18369         test-nan-payload.
18371 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18373         Consistency about byte vs character in string.texi
18374         * manual/string.texi (String and Array Utilities):
18375         Distinguish more carefully among bytes, multibyte characters,
18376         and wide characters.  Use "byte" when talking about C 'char',
18377         to distinguish it more clearly from multibyte characters.
18378         Say "wide character" or "multibyte character" instead of
18379         "character", when a wide or multibyte character is intended.
18380         Similarly for "multibyte string" versus "string".
18381         Define these terms more carefully.
18383 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18385         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18386         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18387         Likewise.
18388         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18389         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18390         * sysdeps/sh/math_private.h: New file.
18391         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18392         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18393         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18394         long double function name.
18395         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18396         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18397         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18398         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18399         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18401         Remove __finitel, __isinfl, and __isnanl.
18402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18403         Likewise.
18404         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18406         Remove __finitel.
18407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18408         Likewise.
18409         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18411 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18413         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18414         installed libmvec_nonshared.a.
18416 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18418         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18419         (sysdep_routines): Likewise.
18420         (sysdep-rtld-routines): Likewise.
18421         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18422         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18423         * sysdeps/powerpc/Versions: Added new
18424         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18425         * sysdeps/powerpc/hwcapinfo.c: New file.
18426         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18427         and parse hwcap, hwcap2 and platform number information.
18428         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
18429         to store HWCAP+HWCAP2 and platform number.
18430         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18431         for HWCAP+HWCAP2 and platform number in the TCB.
18432         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
18433         the HWCAP, HWCAP2 and platform number in the TCB.
18434         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18435         (TLS_INIT_TP): Included calls to add the hwcap and
18436         at_platform values in the TCB in TP initialization.
18437         (TLS_DEFINE_INIT_TP): Likewise.
18438         (THREAD_GET_HWCAP): New macro.
18439         (THREAD_SET_HWCAP): Likewise.
18440         (THREAD_GET_AT_PLATFORM): Likewise.
18441         (THREAD_SET_AT_PLATFORM): Likewise.
18442         * sysdeps/powerpc/powerpc32/dl-machine.h:
18443         (dl_platform_init): New function that calls
18444         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18445         powerpc32.
18446         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18447         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
18448         this functionality, static linking case.
18449         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
18450         linking case.
18451         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18452         __parse_hwcap_and_convert_at_platform for the static linking case.
18453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18454         Included the new __parse_hwcap_and_convert_at_platform symbol in the
18455         ABI list for GLIBC 2.23.
18456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18457         Likewise.
18458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18459         Likewise.
18461 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
18463         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18464         * configure: Regenerate.
18465         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18466         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
18468 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
18470         * iconvdata/ibm930.c: Add comment explaining encoding uses.
18471         * iconvdata/ibm933.c: Likewise.
18472         * iconvdata/ibm935.c: Likewise.
18473         * iconvdata/ibm937.c: Likewise.
18474         * iconvdata/ibm939.c: Likewise.
18476 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18478         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18479         pthread_join.
18480         * nptl/tst-cancel21.c (tf): Likewise.
18482 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18484         [BZ #19313]
18485         * bits/typesizes.h (__CPU_MASK_TYPE): New.
18486         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18487         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18488         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18489         Likewise.
18490         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18491         Likewise.
18492         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18493         Likewise.
18494         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18495         Likewise.
18496         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18497         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18498         unsigned long int with __CPU_MASK_TYPE.
18500 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18502         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18504 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
18506         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18507         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18508         t512.x.
18509         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18511 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
18513         [BZ #19214]
18514         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18515         argument to return extended model.  Update family and model
18516         with extended family and model when family == 0x0f.
18517         (init_cpu_features): Updated.
18519 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18521         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18522         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18524         * sysdeps/mach/hurd/mmap64.c: New file.
18526 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18528         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18529         rights for its main user thread in NEWTASK.
18531 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18533         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18534         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18536 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18538         [BZ #14259]
18539         * Makeconfig: Rename localedir to complocaledir.
18540         Rename inst_localedir to inst_complocaledir.
18541         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18542         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18543         * configure.ac: Use libc_cv_complocaledir.
18544         * configure: Regenerate.
18545         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18546         -DCOMPLOCALEDIR.
18547         * locale/findlocale.c: Use COMPLOCALEDIR.
18548         * locale/loadarchive.c: Likewise.
18549         * locale/programs/locale.c: Likewise.
18550         * locale/programs/localedef.c: Likewise.
18551         * locale/programs/locarchive.c: Likewise.
18552         * localedata/Makefile: Use inst_complocaledir.
18553         * sysdeps/gnu/configure: Regenerate.
18554         * sysdeps/hppa/configure: Regenerate.
18555         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18556         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18558         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18559         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18560         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18561         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18563 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18565         [BZ #19058]
18566         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18567         AS_NEEDED.
18568         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18569         workaround.
18570         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18571         libmvec-static-only-routines): Added new file.
18572         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18574 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18576         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18577         of interrupted RPC instead of restoring it.
18579         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18580         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18581         libc_hidden_def.
18582         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18583         into initialized data instead of common. Define rtld_hidden_data_def.
18584         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18585         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18586         libc_hidden_def.
18587         (if_freenameindex): Add libc_hidden_weak.
18588         (if_nameindex): Add libc_hidden_weak.
18589         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18590         __open64.
18591         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18592         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18593         * sysdeps/mach/nanosleep.c: Include <time.h>
18594         (__nanosleep): Rename to __libc_nanosleep.
18595         (__nanosleep): Add weak_alias.
18596         (nanosleep): Update alias.
18598 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18600         * stdlib/strtod_nan.c: New file.
18601         * stdlib/strtod_nan_double.h: Likewise.
18602         * stdlib/strtod_nan_float.h: Likewise.
18603         * stdlib/strtod_nan_main.c: Likewise.
18604         * stdlib/strtod_nan_narrow.h: Likewise.
18605         * stdlib/strtod_nan_wide.h: Likewise.
18606         * stdlib/strtof_nan.c: Likewise.
18607         * stdlib/strtold_nan.c: Likewise.
18608         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18609         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18610         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18611         * wcsmbs/wcstod_nan.c: Likewise.
18612         * wcsmbs/wcstof_nan.c: Likewise.
18613         * wcsmbs/wcstold_nan.c: Likewise.
18614         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18615         strtold_nan.
18616         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18617         wcstof_nan.
18618         * include/stdlib.h (__strtof_nan): Declare and use
18619         libc_hidden_proto.
18620         (__strtod_nan): Likewise.
18621         (__strtold_nan): Likewise.
18622         (__wcstof_nan): Likewise.
18623         (__wcstod_nan): Likewise.
18624         (__wcstold_nan): Likewise.
18625         * include/wchar.h (____wcstoull_l_internal): Declare.
18626         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18627         (____strtoull_l_internal): Remove declaration.
18628         (STRTOF_NAN): Define macro.
18629         (SET_MANTISSA): Remove macro.
18630         (STRTOULL): Likewise.
18631         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18632         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18633         (STRTOF_NAN): Define macro.
18634         (SET_MANTISSA): Remove macro.
18635         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18636         (SET_MANTISSA): Remove macro.
18637         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18638         macro.
18639         (SET_MANTISSA): Remove macro.
18640         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18641         macro.
18642         (SET_MANTISSA): Remove macro.
18643         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18644         (SET_MANTISSA): Remove macro.
18645         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18646         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18647         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18649         [BZ #19266]
18650         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18651         upper case and lower case letters inside NAN(), not using TOLOWER.
18652         * stdlib/tst-strtod-nan-locale-main.c: New file.
18653         * stdlib/tst-strtod-nan-locale.c: Likewise.
18654         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18655         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18656         Depend on $(gen-locales).
18657         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18658         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18659         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18660         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18661         Depend on $(gen-locales).
18662         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18664 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18666         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18668         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18670         __finitel, __isinfl, and __isnanl.
18671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18672         Likewise.
18673         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18675         __finitel.
18676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18677         Likewise.
18678         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18680 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18682         * malloc/memusage.c (me): Remove redundant getenv call.
18684 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18686         [BZ #19143]
18687         [BZ #19164]
18688         * nptl/check-cpuset.h: Remove.
18689         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18690         Remove CPU set size check.
18691         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18692         Likewise.
18693         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18694         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18695         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18696         (__pthread_setaffinity_new): Remove CPU set size check.
18697         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18698         (__kernel_cpumask_size): Remove.
18699         (__sched_setaffinity_new): Remove CPU set size check.
18700         * manual/threads.texi (Default Thread Attributes): Remove stale
18701         reference to check_cpuset_attr, determine_cpumask_size in comment.
18702         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18703         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18704         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18705         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18706         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18707         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18708         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18709         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18710         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18711         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18712         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18713         skeleton test file.
18714         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18715         tst-affinity-pid.
18717 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18719         * scripts/update-abilist.sh: New file.
18720         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18721         * Makerules (update-all-abi-%, update-all-abi)
18722         (subdir_update-all-abi): New targets.
18723         * elf/Makefile (update-all-abi): New target.
18725 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18727         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18728         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18729         (__libc_lock_define_initialized): Use it.
18730         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18731         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18732         * malloc/malloc.c (main_arena): Likewise.
18733         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18734         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18736 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18738         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18739         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18740         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18741         (PTRACE_O_MASK): Update value.
18742         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18743         New value in enum __ptrace_setoptions.
18744         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18745         (PTRACE_O_MASK): Update value.
18746         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18747         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18748         (PTRACE_O_MASK): Update value.
18749         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18750         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18751         (PTRACE_O_MASK): Update value.
18752         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18753         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18754         (PTRACE_O_MASK): Update value.
18755         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18756         New value in enum __ptrace_setoptions.
18757         (PTRACE_O_MASK): Update value.
18758         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18759         New value in enum __ptrace_setoptions.
18760         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18761         (PTRACE_O_MASK): Update value.
18763         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18764         New macro.
18765         (PACKET_AUXDATA): Likewise.
18766         (PACKET_ORIGDEV): Likewise.
18767         (PACKET_VERSION): Likewise.
18768         (PACKET_HDRLEN): Likewise.
18769         (PACKET_RESERVE): Likewise.
18770         (PACKET_TX_RING): Likewise.
18771         (PACKET_LOSS): Likewise.
18772         (PACKET_VNET_HDR): Likewise.
18773         (PACKET_TX_TIMESTAMP): Likewise.
18774         (PACKET_TIMESTAMP): Likewise.
18775         (PACKET_FANOUT): Likewise.
18776         (PACKET_TX_HAS_OFF): Likewise.
18777         (PACKET_QDISC_BYPASS): Likewise.
18778         (PACKET_ROLLOVER_STATS): Likewise.
18779         (PACKET_FANOUT_DATA): Likewise.
18780         (PACKET_MR_UNICAST): Likewise.
18782         [BZ #19242]
18783         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18784         (TOUPPER): Likewise.
18785         * stdlib/tst-strtol-locale-main.c: New file.
18786         * stdlib/tst-strtol-locale.c: Likewise.
18787         * stdlib/Makefile (tests): Add tst-strtol-locale.
18788         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18789         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18790         Depend on $(gen-locales).
18791         * wcsmbs/tst-wcstol-locale.c: New file.
18792         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18793         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18794         tr_TR.ISO-8859-9.
18795         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18796         Depend on $(gen-locales).
18798 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18800         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18801         __glibc_likely instead of __builtin_expect.  After falling back to
18802         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18803         system interface to register the code pages as occupied.
18805 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18807         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18808         [!ARM_MATH_PRIVATE_H].
18809         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18810         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18811         [!HPPA_MATH_PRIVATE_H].
18812         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18813         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18814         to [!I386_MATH_PRIVATE_H].
18815         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18816         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18817         Change guard to [!M68K_MATH_PRIVATE_H].
18818         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18819         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18820         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18821         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18822         macro.
18823         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18824         [!MIPS_MATH_PRIVATE_H].
18825         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18826         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18827         [!NIO2_MATH_PRIVATE_H].
18828         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18829         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18830         [!TILE_MATH_PRIVATE_H].
18831         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18833         [BZ #15421]
18834         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18835         initialize with 0 and define as weak alias of __signgam.
18836         * include/math.h [!_ISOMAC] (__signgam): Declare.
18837         * math/Makefile (libm-calls): Add w_lgamma_compat.
18838         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18839         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18840         test-signgam-ullong-init.
18841         (tests-static): Add test-signgam-uchar-static,
18842         test-signgam-uchar-init-static, test-signgam-uint-static,
18843         test-signgam-uint-init-static, test-signgam-ullong-static and
18844         test-signgam-ullong-init-static.
18845         (CFLAGS-test-signgam-uchar.c): New variable.
18846         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18847         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18848         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18849         (CFLAGS-test-signgam-uint.c): Likewise.
18850         (CFLAGS-test-signgam-uint-init.c): Likewise.
18851         (CFLAGS-test-signgam-uint-static.c): Likewise.
18852         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18853         (CFLAGS-test-signgam-ullong.c): Likewise.
18854         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18855         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18856         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18857         * math/Versions (libm): Add GLIBC_2.23.
18858         * math/lgamma-compat.h: New file.
18859         * math/test-signgam-main.c: Likewise.
18860         * math/test-signgam-uchar-init-static.c: Likewise.
18861         * math/test-signgam-uchar-init.c: Likewise.
18862         * math/test-signgam-uchar-static.c: Likewise.
18863         * math/test-signgam-uchar.c: Likewise.
18864         * math/test-signgam-uint-init-static.c: Likewise.
18865         * math/test-signgam-uint-init.c: Likewise.
18866         * math/test-signgam-uint-static.c: Likewise.
18867         * math/test-signgam-uint.c: Likewise.
18868         * math/test-signgam-ullong-init-static.c: Likewise.
18869         * math/test-signgam-ullong-init.c: Likewise.
18870         * math/test-signgam-ullong-static.c: Likewise.
18871         * math/test-signgam-ullong.c: Likewise.
18872         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18873         wrapper of w_lgamma_main.c.
18874         * math/w_lgamma_compat.c: New file.
18875         * math/w_lgamma_compatf.c: Likewise.
18876         * math/w_lgamma_compatl.c: Likewise.
18877         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18878         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18879         defining compatibility symbols.
18880         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18881         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18882         wrapper of w_lgammaf_main.c.
18883         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18884         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18885         defining compatibility symbols.
18886         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18887         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18888         wrapper of w_lgammal_main.c.
18889         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18890         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18891         defining compatibility symbols.
18892         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18893         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18894         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18895         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18896         <lgamma-compat.h>.
18897         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18898         (__ieee754_gamma): Define as alias.
18899         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18900         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18901         <lgamma-compat.h>.
18902         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18903         (__ieee754_gammaf): Define as alias.
18904         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18905         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18906         <lgamma-compat.h>.
18907         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18908         (__ieee754_gammal): Define as alias.
18909         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18910         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18911         <math/w_lgamma_compat.c>.
18912         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18913         Define as alias of __lgamma_compat and use in defining lgammal.
18914         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18915         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18916         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18917         (USE_AS_COMPAT): New macro.
18918         (LGAMMA_OLD_VER): Undefine and redefine.
18919         (lgammal): Do not define here.
18920         (gammal): Only define here if [GAMMA_ALIAS].
18921         * conform/linknamespace.pl (@whitelist): Remove signgam.
18922         * sysdeps/nacl/libm.abilist: Update.
18923         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18924         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18925         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18926         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18927         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18928         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18929         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18930         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18931         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18932         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18933         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18934         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18936         Likewise.
18937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18938         Likewise.
18939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18940         Likewise.
18941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18942         Likewise.
18943         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18944         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18945         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18946         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18947         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18949         Likewise.
18950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18951         Likewise.
18952         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18953         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18954         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18956 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18958         [BZ #16364]
18959         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18960         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18962 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18964         * sysdeps/s390/fpu/bits/mathinline.h:
18965         Use __asm__ [__volatile__] instead of asm [volatile].
18966         * sysdeps/s390/abort-instr.h: Likewise.
18967         * sysdeps/s390/atomic-machine.h: Likewise.
18968         * sysdeps/s390/bits/string.h: Likewise.
18969         * sysdeps/s390/dl-tls.h: Likewise.
18970         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18971         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18972         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18973         * sysdeps/s390/fpu/fesetround.c: Likewise.
18974         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18975         * sysdeps/s390/fpu/s_fma.c: Likewise.
18976         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18977         * sysdeps/s390/memusage.h: Likewise.
18978         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18979         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18980         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18981         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18982         * sysdeps/s390/nptl/tls.h: Likewise.
18983         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18984         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18985         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18986         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18987         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18988         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18989         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18990         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18991         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18992         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18993         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18994         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18995         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18996         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18997         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18998         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18999         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
19000         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
19001         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
19002         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19003         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
19004         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19005         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
19007 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19008             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19010         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
19011         Add lwarx hint, and use macro for acquire instruction.
19012         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
19013         Likewise.
19014         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
19015         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
19016         update to use new atomic macros.
19018 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19020         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19021         (__lll_trylock_elision): Fix setting of adapt_count.
19022         * sysdeps/unix/sysv/linux/powerpc/htm.h
19023         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
19024         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
19025         (_ABORT_SYSCALL): Renumber, and clarify definition.
19026         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
19028 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19030         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
19031         after system headers to prevent MIN/MAX redefinition.  Define
19032         HAVE_ALLOCA to preserve builtin alloca usage.
19034 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19036         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
19037         static and don't set or restore rounding.
19038         (__cos)[IN_SINCOS]: Likewise.
19039         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
19040         (__sincos): Set and restore rounding mode.  Remove check for infinite
19041         or NaN input.
19043         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
19045         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
19046         as used.
19048 2015-11-16  Florian Weimer  <fweimer@redhat.com>
19050         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
19052 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19054         * config.make.in (have-glob-dat-reloc): New.
19055         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19056         target supports GLOB_DAT relocaton. AC_SUBST.
19057         * configure: Regenerated.
19058         * elf/Makefile (tests): Add tst-prelink.
19059         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19060         (tst-prelink-ENV): New.
19061         ($(objpfx)tst-prelink-conflict.out): Likewise.
19062         ($(objpfx)tst-prelink-cmp.out): Likewise.
19063         * sysdeps/x86/tst-prelink.c: Moved to ...
19064         * elf/tst-prelink.c: Here.
19065         * sysdeps/x86/tst-prelink.exp: Moved to ...
19066         * elf/tst-prelink.exp: Here.
19067         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19068         (tst-prelink-ENV): Removed.
19069         ($(objpfx)tst-prelink-conflict.out): Likewise.
19070         ($(objpfx)tst-prelink-cmp.out): Likewise.
19071         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19073 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19075         [BZ #14551]
19076         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19077         (__mpn_construct_long_double): If high part overflows to infinity,
19078         set errno and recompute overflowed result of the correct sign.
19079         * sysdeps/ieee754/ldbl-128ibm/Makefile
19080         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19081         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19082         $(libm).
19083         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19085 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19087         [BZ #15479]
19088         [BZ #19238]
19089         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19090         floating-point state after first operation on input.  Restore full
19091         state rather than just rounding mode.
19092         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19093         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19094         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19096         [BZ #19235]
19097         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19098         add 0.5 to integer arguments.
19099         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19100         Likewise.
19101         (.LC2): New object.
19103 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19105         * scripts/pylintrc (reports): Set to no.
19107 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19109         * elf/dl-load.c (open_verify): Take new argument FD.
19110         Skip __open call if passed FD is not -1.
19111         (_dl_map_object, open_path): Update callers.
19112         * elf/dl-sysdep-open.h: New file.
19113         * elf/dl-load.c: Include it.
19114         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19115         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19116         * sysdeps/nacl/dl-sysdep-open.h: New file.
19117         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19118         from libc to rtld.
19120 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19122         [BZ #19228]
19123         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19124         and restore full floating-point state.
19125         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19126         Likewise.
19127         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19128         Likewise.
19129         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19130         Likewise.
19131         * math/test-nearbyint-except-2.c: New file.
19132         * math/Makefile (tests): Add test-nearbyint-except-2.
19134 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19136         [BZ #19178]
19137         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19138         (tst-prelink-ENV): New.
19139         ($(objpfx)tst-prelink-conflict.out): Likewise.
19140         ($(objpfx)tst-prelink-cmp.out): Likewise.
19141         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19142         * sysdeps/x86/tst-prelink.c: New file.
19143         * sysdeps/x86/tst-prelink.exp: Likewise.
19145 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19147         * math/auto-libm-test-in: Add another test of pow.
19148         * math/auto-libm-test-out: Regenerated.
19149         * math/libm-test.inc (pow_test_data): Add another test.
19151 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19153         [BZ #19219]
19154         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19155         weak_alias to nearbyintl.
19157 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19159         * sysdeps/aarch64/bits/string.h: New file.
19160         (_STRING_ARCH_unaligned): Define.
19162 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19164         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19165         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19166         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19167         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19170 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19172         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19173         for original name of the DSO.  Add it to the name list of the DSO
19174         if it is actually given.
19175         (_dl_map_object): Keep track of whether an audit module rewrote
19176         the file name.  If yes, pass the original name to
19177         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19178         debugging is enabled, log the change of the file name.
19179         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19180         _dl_map_object_from_fd.
19181         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19182         * elf/tst-audit11.c: New file
19183         * elf/tst-auditmod11.c: New file.
19184         * elf/tst-audit11mod1.c: New file.
19185         * elf/tst-audit11mod2.c: New file.
19186         * elf/tst-audit11mod2.map: New file.
19187         * elf/tst-audit12.c: New file
19188         * elf/tst-auditmod12.c: New file.
19189         * elf/tst-audit12mod1.c: New file.
19190         * elf/tst-audit12mod2.c: New file.
19191         * elf/tst-audit12mod2.map: New file.
19192         * elf/tst-audit12mod3.c: New file.
19194 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19196         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19197         Don't create weak aliases,
19198         because versioned symbols are created later.
19199         * sysdeps/s390/s390-32/setjmp.S
19200         (setjmp, _setjmp): Remove weak and rename to an unique name
19201         in SHARED case due to existing versioned symbols.
19202         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19203         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19204         (getcontext): Create weak alias only in non SHARED case.
19205         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19207 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19209         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19210         (__ASSUME_*_SYSCALL) Define new macros.
19211         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19212         Remove socketcall syscalls.
19213         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19214         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19215         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19216         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19217         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19218         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19220 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19222         [BZ #12926]
19223         Terminate process on invalid netlink response.
19224         * sysdeps/unix/sysv/linux/netlinkaccess.h
19225         (__netlink_assert_response): Declare.
19226         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19227         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19228         (sysdep_routines): Add netlink_assert_response.
19229         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19230         __netlink_assert_response.
19231         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19232         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19233         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19234         __netlink_assert_response.
19236 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19238         [BZ #19178]
19239         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19240         (RTYPE_CLASS_PLT): Likewise.
19241         (RTYPE_CLASS_COPY): Likewise.
19242         (RTYPE_CLASS_TLS): Likewise.
19243         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19244         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19245         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19246         DL_DEBUG_PRELINK.
19248 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19250         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19251         calls with argument -0.5.
19252         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19254         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19255         (libc_cv_z_nodlopen): Likewise.
19256         (libc_cv_z_initfirst): Likewise.
19257         * configure: Regenerated.
19259 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19261         Simplify abilist format to be line-based.
19262         * scripts/abilist.awk: Collect descriptors in the descs variable.
19263         (emit): Write descs variable and sort it
19264         externally, with sort.
19265         * sysdeps/**/*.abilist: Convert to new format.
19267 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19269         [BZ #11460]
19270         * io/Makefile (routines): Add fts64.
19271         (tests): Add tst-fts and tst-fts-lfs.
19272         (CFLAGS-fts64.c): New.
19273         * io/Versions (GLIBC_2.23): New.
19274         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19275         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19276         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19277         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19278         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19279         (FTSENT64): Likewise.
19280         (fts64_children): Likewise.
19281         (fts64_close): Likewise.
19282         (fts64_open): Likewise.
19283         (fts64_read): Likewise.
19284         (fts64_set): Likewise.
19285         * io/fts64.c: New file.
19286         * io/tst-fts.c: New test.
19287         * io/tst-fts-lfs.c: Likewise.
19288         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19289         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19290         fts64_set.
19291         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19292         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19293         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19294         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19295         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19296         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19297         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19298         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19299         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19300         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19301         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19302         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19303         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19305         Likewise.
19306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19307         Likewise.
19308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19310         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19311         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19312         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19313         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19314         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19317         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19318         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19319         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19320         * sysdeps/wordsize-64/fts.c: New file.
19321         * sysdeps/wordsize-64/fts64.c: Likewise.
19322         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19323         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19324         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19325         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19327 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19329         * math/libm-test.inc (NON_FINITE): New macro.
19330         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19331         * math/gen-libm-test.pl (show_exceptions): Add argument
19332         $non_finite.
19333         (parse_args): Update call to show_exceptions.
19334         * math/test-math-finite.h: New file.
19335         * math/test-math-no-finite.h: Likewise.
19336         * math/test-double-finite.c: Likewise.
19337         * math/test-float-finite.c: Likewise.
19338         * math/test-ldouble-finite.c: Likewise.
19339         * math/test-double.c: Include "test-math-no-finite.h".
19340         * math/test-float.c: Include "test-math-no-finite.h".
19341         * math/test-ldouble.c: Include "test-math-no-finite.h".
19342         * math/test-math-inline.h (TEST_FINITE): New macro.
19343         * math/test-math-vector.h (TEST_FINITE): Likewise.
19344         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19345         (libm-tests): Add test-float-finite and test-double-finite.
19346         ($(objpfx)test-float-finite.o): New dependency on
19347         $(objpfx)libm-test.stmp.
19348         ($(objpfx)test-double-finite.o): Likewise.
19349         ($(objpfx)test-ldouble-finite.o): Likewise.
19350         (libm-test-no-inline-cflags): New variable.
19351         (libm-test-finite-cflags): Likewise.
19352         (CFLAGS-test-float-finite.c): Likewise.
19353         (CFLAGS-test-double-finite.c): Likewise.
19354         (CFLAGS-test-ldouble-finite.c): Likewise.
19355         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19356         (CFLAGS-test-double.c): Likewise.
19357         (CFLAGS-test-ldouble.c): Likewise.
19359 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19361         * io/fcntl.c (__fcntl): Add ... to prototype.
19362         * misc/ioctl.c (__ioctl): Likewise.
19363         * misc/syscall.c (syscall): Likewise.
19365 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19367         * scripts/list-fixed-bugs.py: New file.
19369         [BZ #19213]
19370         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19371         returned for argument 1.
19372         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19373         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19374         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19375         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19376         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19377         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19379         [BZ #19211]
19380         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19381         __USE_XOPEN], not if [!__USE_ISOC99].
19382         (lgammaf): Likewise.
19383         (lgammal): Likewise.
19384         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19385         (gammaf): Likewise.
19386         (gammal): Likewise.
19387         * math/test-signgam-finite-c11.c: New file.
19388         * math/test-signgam-finite-c99.c: Likewise.
19389         * math/test-signgam-finite.c: Likewise.
19390         * math/Makefile (tests): Add test-signgam-finite,
19391         test-signgam-finite-c99 and test-signgam-finite-c11.
19392         (CFLAGS-test-signgam-finite.c): New variable.
19393         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19394         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19396         [BZ #19212]
19397         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19398         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19399         500].
19400         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19401         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19402         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19403         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19404         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19405         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19406         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19407         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19408         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19409         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19411         [BZ #19209]
19412         * math/bits/math-finite.h (ldexp): Remove declaration.
19413         (ldexpf): Likewise.
19414         (ldexpl): Likewise.
19416         [BZ #19205]
19417         * math/bits/math-finite.h (acosf): Condition declaration on
19418         [__USE_ISOC99].
19419         (acosl): Likewise.
19420         (acoshf): Likewise.
19421         (acoshl): Likewise.
19422         (asinf): Likewise.
19423         (asinl): Likewise.
19424         (atan2f): Likewise.
19425         (atan2l): Likewise.
19426         (atanhf): Likewise.
19427         (atanhl): Likewise.
19428         (coshf): Likewise.
19429         (coshl): Likewise.
19430         (expf): Likewise.
19431         (expl): Likewise.
19432         (fmodf): Likewise.
19433         (fmodl): Likewise.
19434         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19435         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19436         (j0l): Likewise.
19437         (y0f): Likewise.
19438         (y0l): Likewise.
19439         (j1f): Likewise.
19440         (j1l): Likewise.
19441         (y1f): Likewise.
19442         (y1l): Likewise.
19443         (jnf): Likewise.
19444         (jnl): Likewise.
19445         (ynf): Likewise.
19446         (ynl): Likewise.
19447         (lgammaf_r): Condition declaration on [__USE_ISOC99].
19448         (lgammal_r): Likewise.
19449         (__lgamma_r_finite): New declaration.
19450         (__lgammaf_r_finite): Likewise.
19451         (__lgammal_r_finite): Likewise.
19452         (lgamma): Use __lgamma_r_finite.
19453         (lgammaf): Condition definition on [__USE_ISOC99].  Use
19454         __lgammaf_r_finite.
19455         (lgammal): Condition definition on [__USE_ISOC99].  Use
19456         __lgammal_r_finite.
19457         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
19458         __lgamma_r_finite.
19459         (gammaf): Condition definition on [__USE_ISOC99].  Use
19460         __lgammaf_r_finite.
19461         (gammal): Condition definition on [__USE_ISOC99].  Use
19462         __lgammal_r_finite.
19463         (logf): Condition declaration on [__USE_ISOC99].
19464         (logl): Likewise.
19465         (log10f): Likewise.
19466         (log10l): Likewise.
19467         (ldexpf): Likewise.
19468         (ldexpl): Likewise.
19469         (powf): Likewise.
19470         (powl): Likewise.
19471         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19472         __USE_ISOC99].
19473         (remainderf): Condition declaration on [__USE_ISOC99].
19474         (remainderl): Likewise.
19475         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19476         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19477         (scalbl): Likewise.
19478         (sinhf): Condition declaration on [__USE_ISOC99].
19479         (sinhl): Likewise.
19480         (sqrtf): Likewise.
19481         (sqrtl): Likewise.
19483 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19485         * sysdeps/arm/atomic-machine.h
19486         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19487         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19488         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19489         Remove conditional code.
19490         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19491         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19492         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19493         Change conditional to [__ASSEMBLER__].
19494         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19495         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19496         [!__ASSEMBLER__].
19497         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19498         code.
19499         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19500         conditional macro definitions.
19501         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19502         (__arch_compare_and_exchange_val_16_acq): Likewise.
19503         (__arch_compare_and_exchange_val_32_acq): Likewise.
19504         (atomic_exchange_and_add): Likewise.
19505         (atomic_add): Likewise.
19506         (atomic_add_negative): Likewise.
19507         (atomic_add_zero): Likewise.
19508         (atomic_bit_set): Likewise.
19509         (atomic_bit_test_set): Likewise.
19510         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19511         code unconditional.
19512         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19514         * math/test-math-errno.h: New file.
19515         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19516         empty.
19517         (TEST_ERRNO): New macro.
19518         (TEST_EXCEPTIONS): Likewise.
19519         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19520         (TEST_EXCEPTIONS): Likewise.
19521         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19522         * math/test-double.c: Include "test-math-errno.h".
19523         * math/test-float.c: Likewise.
19524         * math/test-ldouble.c: Likewise.
19525         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19526         code unconditional.
19527         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19528         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19529         unconditional.
19530         (test_errno): Only run code if TEST_ERRNO.
19531         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19533 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19535         * nptl/tst-once5.cc: Remove attribution.
19537 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19539         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19540         sqrt, tan, tanh, y0, y1 and yn.
19541         * math/auto-libm-test-out: Regenerated.
19542         * math/libm-test.inc (scalb_test_data): Add more tests.
19543         (scalbn_test_data): Likewise.
19544         (scalbln_test_data): Likewise.
19545         (signbit_test_data): Likewise.
19546         (sin_test_data): Likewise.
19547         (sincos_test_data): Likewise.
19548         (sinh_test_data): Likewise.
19549         (sqrt_test_data): Likewise.
19550         (tan_test_data): Likewise.
19551         (tanh_test_data): Likewise.
19552         (tgamma_test_data): Likewise.
19553         (y0_test_data): Likewise.
19554         (y1_test_data): Likewise.
19555         (yn_test_data): Likewise.
19556         (significand_test_data): Likewise.
19557         * sysdeps/i386/fpu/libm-test-ulps: Update.
19559 2015-11-03  David Kastrup  <dak@gnu.org>
19561         [BZ #18604]
19562         * assert/assert.h (assert): Don't macro-expand failed assertion
19563         expression in error message.
19564         * malloc/malloc.c (assert): Likewise.
19566 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19568         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19569         test.
19570         * configure: Regenerated.
19572 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19574         * math/libm-test.inc (modf_test_data): Add more tests.
19575         (nearbyint_test_data): Likewise.
19576         (nextafter_test_data): Likewise.
19577         (nexttoward_test_data): Likewise.
19578         (pow_test_data): Likewise.
19579         (remainder_test_data): Likewise.
19580         (remquo_test_data): Likewise.
19581         (rint_test_data): Likewise.
19583         [BZ #19201]
19584         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19585         Check for zero remainder in case of large exponents and ensure
19586         correct sign of result in that case.
19587         * math/libm-test.inc (remainder_test_data): Add more tests.
19589         [BZ #6799]
19590         * math/s_nextafter.c: Include <errno.h>.
19591         (__nextafter): Set errno on overflow and underflow.
19592         * math/s_nexttowardf.c: Include <errno.h>.
19593         (__nexttowardf): Set errno on overflow and underflow.
19594         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19595         (__nextafterl): Set errno on overflow and underflow.
19596         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19597         (__nexttoward): Set errno on overflow and underflow.
19598         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19599         (__nexttowardf): Set errno on overflow and underflow.
19600         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19601         (__nextafterf): Set errno on overflow and underflow.
19602         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19603         (__nextafterl): Set errno on overflow and underflow.
19604         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19605         (__nexttoward): Set errno on overflow and underflow.
19606         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19607         (__nexttowardf): Set errno on overflow and underflow.
19608         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19609         (__nextafterl): Set errno on overflow and underflow.
19610         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19611         (__nexttoward): Set errno on overflow and underflow.
19612         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19613         (__nexttowardf): Set errno on overflow and underflow.
19614         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19615         (__nexttoward): Set errno on overflow and underflow.
19616         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19617         (__nexttowardf): Set errno on overflow and underflow.
19618         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19619         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19620         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19621         (__nextafterl): Set errno on overflow and underflow.
19622         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19623         setting to be missing on overflow.  Add more tests.
19624         (nexttoward_test_data): Likewise.
19626         * configure.ac (libc_cv_initfini_array): Remove configure test.
19627         * configure: Regenerated.
19629 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19631         [BZ #19189]
19632         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19633         non-finite argument handle arguments with negative sign.
19635         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19636         result from infinite argument.
19637         (j1_test_data): Likewise.
19638         (jn_test_data): Likewise.
19639         (y0_test_data): Likewise.
19640         (y1_test_data): Likewise.
19641         (yn_test_data): Likewise.
19643         [BZ #16171]
19644         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19645         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19646         * math/w_remainderf.c (dremf): Define as weak alias of
19647         __remainderf.
19648         * math/w_remainderl.c (dreml): Define as weak alias of
19649         __remainderl.
19650         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19651         __remainder.
19652         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19653         __remainderf.
19654         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19655         __remainderl.
19656         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19657         weak alias of remainderl.
19658         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19659         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19660         alias of __remainder.
19661         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19662         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19663         strong alias of __remainderl.
19664         (dreml): Use long_double_symbol.
19665         * math/Makefile (libm-calls): Remove w_drem.
19666         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19667         (CFLAGS-nldbl-drem.c): Remove variable.
19668         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19669         * math/w_drem.c: Remove file.
19670         * math/w_dremf.c: Likewise.
19671         * math/w_dreml.c: Likewise.
19672         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19673         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19674         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19676         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19677         * sysdeps/i386/configure: Regenerated.
19678         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19679         * sysdeps/x86_64/configure: Regenerated.
19681         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19682         test.
19683         (libc_cv_visibility_attribute): Likewise.
19684         (libc_cv_protected_data): Test unconditionally.
19685         (libc_cv_broken_visibility_attribute): Remove configure test.
19686         (libc_cv_have_sdata_section): Test unconditionally.
19687         * configure: Regenerated.
19689         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19690         * include/scratch_buffer.h: Include <stddef.h> instead of
19691         <libc-internal.h>.
19692         (struct scratch_buffer): Use max_align_t instead of
19693         libc_max_align_t.
19695 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19697         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19698         instead of extend_alloca.  Change control flow to avoid a goto.
19699         Remove assert which is trivially always true.
19701 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19703         [BZ #16068]
19704         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19705         (FE_ALL_EXCEPT_X86): New macro.
19706         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19707         FE_ALL_EXCEPT.  Ensure precision control is included in
19708         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19709         handle "denormal operand exception" and clear FZ and DAZ bits.
19710         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19711         (FE_ALL_EXCEPT_X86): New macro.
19712         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19713         FE_ALL_EXCEPT.  Ensure precision control is included in
19714         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19715         handle "denormal operand exception" and clear FZ and DAZ bits.
19716         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19717         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19718         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19719         test-fenv-x87 and test-fenv-sse-2.
19720         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19722         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19723         * math/test-double.h (BUILD_COMPLEX): New macro.
19724         * math/test-float.h (BUILD_COMPLEX): Likewise.
19725         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19727         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19728         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19729         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19730         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19731         instead of DBL_DENORM_MIN in comment.
19732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19733         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19734         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19735         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19736         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19737         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19739 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19741         [BZ# 19048]
19742         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19743         attached_threads member.
19744         (main_arena): Initialize attached_threads.
19745         * malloc/arena.c (list_lock): Update comment.
19746         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19747         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19748         (deattach_arena): New function.
19749         (_int_new_arena): Initialize arena reference count and deattach
19750         replaced arena.
19751         (get_free_list, reused_arena): Update reference count and deattach
19752         replaced arena.
19753         (arena_thread_freeres): Update arena reference count and only put
19754         unreferenced arenas on the free list.
19756 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19758         [BZ #19181]
19759         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19760         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19761         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19762         * math/test-fenv-clear-main.c: New file.
19763         * math/test-fenv-clear.c: Likewise.
19764         * math/Makefile (tests): Add test-fenv-clear.
19765         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19766         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19767         test-fenv-clear-sse.
19768         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19770         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19771         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19772         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19774 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19776         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19777         static libc.
19779 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19781         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19782         test.
19783         * sysdeps/i386/configure: Regenerated.
19784         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19785         test.
19786         * sysdeps/x86_64/configure: Regenerated.
19787         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19788         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19789         memset-avx2 unconditionally instead of conditionally on
19790         [$(config-cflags-avx2) = yes].
19791         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19792         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19793         unconditional.
19794         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19795         * sysdeps/x86_64/multiarch/memset_chk.S
19796         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19797         to [IS_IN (libc) && SHARED].
19799 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19801         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19802         configure test.
19803         * sysdeps/arm/configure: Regenerated.
19804         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19805         Define variable if not already defined.
19807         [BZ #17404]
19808         * sysdeps/mips/atomic-machine.h
19809         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19810         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19811         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19813         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19814         unconditional.
19815         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19816         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19817         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19818         unconditional.
19819         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19820         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19821         unconditional.
19822         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19823         * stdlib/setenv.c
19824         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19825         code unconditional.
19826         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19827         Remove conditional code.
19828         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19829         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19830         unconditional.
19831         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19832         code.
19833         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19834         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19835         unconditional.
19836         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19837         code.
19838         * sysdeps/ieee754/ldbl-128/k_tanl.c
19839         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19840         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19841         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19842         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19843         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19844         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19845         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19846         unconditional.
19847         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19848         code.
19849         * sysdeps/ieee754/ldbl-96/k_tanl.c
19850         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19851         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19853         * nptl/tst-initializers1-c11.c: New file.
19854         * nptl/tst-initializers1-gnu11.c: Likewise.
19855         * nptl/Makefile (tests): Add these new tests.
19856         (CFLAGS-tst-initializers1-c11.c): New variable.
19857         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19859         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19860         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19861         instead of -std=gnu99.
19862         * configure.ac (systemtap): Test with -std=gnu11 instead of
19863         -std=gnu99.
19864         * configure: Regenerated.
19865         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19866         in compilation command in comment.
19868         * sysdeps/nptl/configure.ac: Remove file.
19869         * sysdeps/nptl/configure: Remove generated file.
19870         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19871         * configure: Regenerated.
19872         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19873         * config.make.in (have-forced-unwind): Remove variable.
19874         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19875         unconditional.
19876         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19877         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19878         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19879         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19880         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19881         unconditional.
19883 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19885         [BZ #19174]
19886         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19887         .skip_lock_out_of_tbegin_retries.
19888         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19889         (__lll_lock_elision): Likewise, and respect a value of
19890         try_tbegin <= 0.
19892 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19894         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19895         statement.
19897 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19899         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19900         variable.
19901         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19902         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19904         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19905         of -std=c1x -D_ISOC11_SOURCE.
19907         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19908         * configure: Regenerated.
19909         * manual/install.texi (Tools for Compilation): Document
19910         requirement for GCC 4.7 or later.
19911         * INSTALL: Regenerated.
19913 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19915         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19916         on CNT to a conditional jump to 'puntdata'.
19918 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19920         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19921         (libc_cv_gcc_tls_model_attr): Likewise.
19922         * configure: Regenerated.
19924         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19925         * configure: Regenerated.
19926         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19928 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19930         * configure.ac (old_glibc_headers): Remove configure test.
19931         * configure: Regenerated.
19932         * config.make.in (old-glibc-headers): Remove variable.
19933         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19934         (install): Remove dependency on remove-old-headers.
19935         (headers2_0): Remove variable.
19936         (remove-old-headers): Remove rule.
19938         * configure.ac (libc_cv_dot_text): Remove configure test.
19939         (libc_cv_asm_set_directive): Use .text instead of
19940         ${libc_cv_dot_text} in configure test.
19941         * configure: Regenerated.
19943 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19945         [BZ #19168]
19946         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19948 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19950         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19951         not support static linking.
19952         * configure: Regenerate.
19954 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19956         * math/libm-test.inc (check_float_internal): Do not special-case
19957         errors up to 0.5 ulp.
19959         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19960         log2.
19961         * math/auto-libm-test-out: Regenerated.
19962         * math/libm-test.inc (MAX_EXP): New macro.
19963         (ilogb_test_data): Add more tests.
19964         (isfinite_test_data): Likewise.
19965         (isgreater_test_data): Likewise.
19966         (isgreaterequal_test_data): Likewise.
19967         (isinf_test_data): Likewise.
19968         (isless_test_data): Likewise.
19969         (islessequal_test_data): Likewise.
19970         (islessgreater_test_data): Likewise.
19971         (isnan_test_data): Likewise.
19972         (isnormal_test_data): Likewise.
19973         (issignaling_test_data): Likewise.
19974         (isunordered_test_data): Likewise.
19975         (j0_test_data): Likewise.
19976         (j1_test_data): Likewise.
19977         (jn_test_data): Likewise.
19978         (lgamma_test_data): Likewise.
19979         (log_test_data): Likewise.
19980         (log10_test_data): Likewise.
19981         (log1p_test_data): Likewise.
19982         (log2_test_data): Likewise.
19983         (logb_test_data): Likewise.
19984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19986         [BZ #18611]
19987         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19988         avoid excess range and precision on underflow.
19989         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19990         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19991         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19992         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19993         underflow.
19994         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19996         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19997         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19998         * math/auto-libm-test-in: Do not allow missing errno setting for
19999         tests of j1 and jn.
20000         * math/auto-libm-test-out: Regenerated.
20002 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
20004         [BZ #15491]
20005         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
20006         floating-point environment instead of clearing all exceptions.
20007         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
20008         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
20009         merging in "invalid" exceptions from frndint.
20010         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
20011         * math/test-nearbyint-except.c: New file.
20012         * math/Makefile (tests): Add test-nearbyint-except.
20014 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
20016         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
20018         * sysdeps/tile/libm-test-ulps: Regenerated.
20020 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
20023         (__NR_sync_file_range2): Assume it is always defined.
20024         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
20025         (__NR_sync_file_range): Assume it is always defined.
20027 2015-10-22  Andreas Schwab  <schwab@suse.de>
20029         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
20030         INTERNAL_SYSCALL_ERRNO.
20031         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
20032         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
20033         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20034         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
20035         Likewise.
20036         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20038 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20040         * io/tst-fcntl.c (fd): New static variable.
20041         (do_prepare): Open temporary file here....
20042         (do_test): ...not here.
20044         * io/ftwtest-sh: Also trap on exit to remove temporary files.
20046 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20048         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
20049         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20050         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20051         Moved before "#ifdef __ASSEMBLER__".
20053 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20055         [BZ #19156]
20056         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20057         arguments very close to 0.
20059 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20061         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20062         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20064 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20066         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20067         New.  Defined for GCC 5 and above when not compiling for
20068         profiling.
20069         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20071         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20072         Renamed to ...
20073         (CFLAGS-epoll_pwait.o): This.
20074         (CFLAGS-mmap.c): Renamed to ...
20075         (CFLAGS-mmap.o): This.
20076         (CFLAGS-mmap64.c): Renamed to ...
20077         (CFLAGS-mmap64.o): This.
20078         (CFLAGS-epoll_pwait.os): New.
20079         (CFLAGS-mmap.os): Likewise.
20080         (CFLAGS-mmap64.os): Likewise.
20081         (CFLAGS-semtimedop.os): Likewise.
20082         (CFLAGS-semtimedop.c): Renamed to ...
20083         (CFLAGS-semtimedop.o): This.
20085 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20087         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20088         warning message.
20090 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20092         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20093         * Makefile ($(objpfx)c++-types-check.out): Filter out
20094         $(+gccwarn-c) instead of -Wstrict-prototypes.
20096         * io/fts.c (fts_open): Convert to prototype-style function
20097         definition.
20098         * malloc/mcheck.c (mcheck): Likewise.
20099         (mcheck_pedantic): Likewise.
20100         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20101         internal_function.
20102         (re_search_internal): Likewise.
20103         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20104         prototype-style function definition.
20105         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20106         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20107         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20108         (xdr_utmpptr): Likewise.
20109         (xdr_utmparr): Likewise.
20110         (xdr_utmpidle): Likewise.
20111         (xdr_utmpidleptr): Likewise.
20112         (xdr_utmpidlearr): Likewise.
20114         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20115         log, log10 and log2.
20116         * math/auto-libm-test-out: Regenerated.
20117         * math/libm-test.inc (fmod_test_data): Add more tests.
20118         (fpclassify_test_data): Likewise.
20119         (frexp_test_data): Likewise.
20120         (hypot_test_data): Likewise.
20121         (ilogb_test_data): Likewise.
20123 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20125         * debug/fortify_fail.c (__fortify_fail): Convert to
20126         prototype-style function definition.  Use internal_function.
20127         * libio/genops.c (save_for_backup): Convert to prototype-style
20128         function definition.
20129         * libio/wgenops.c (save_for_wbackup): Likewise.
20130         * login/grantpt.c (grantpt): Likewise.
20131         * login/ptsname.c (ptsname): Likewise.
20132         (__ptsname_r): Likewise.
20133         * login/unlockpt.c (unlockpt): Likewise.
20134         * mach/msgserver.c (__mach_msg_server): Likewise.
20135         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20136         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20137         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20138         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20139         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20140         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20141         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20142         Likewise.
20143         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20144         internal_function.
20145         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20146         prototype-style function definition.
20147         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20148         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20149         (__pthread_create_2_0): Likewise.
20150         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20151         * nptl/register-atfork.c (__register_atfork): Likewise.
20152         * posix/glob.c (glob): Likewise.
20153         * posix/regcomp.c (re_comp): Likewise.
20154         * posix/regexec.c (re_exec): Likewise.
20155         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20156         [!__STDC__]: Remove conditional code.
20157         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20158         [!__STDC__]: Remove conditional code.
20159         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20160         [!__STDC__]: Remove conditional code.
20161         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20162         [!__STDC__]: Remove conditional code.
20163         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20164         [!__STDC__]: Remove conditional code.
20165         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20166         [!__STDC__]: Remove conditional code.
20167         * stdlib/mul.c [__STDC__]: Make code unconditional.
20168         [!__STDC__]: Remove conditional code.
20169         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20170         [!__STDC__]: Remove conditional code.
20171         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20172         [!__STDC__]: Remove conditional code.
20173         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20174         function definition.
20175         (STRTOF): Likewise.
20176         * stdlib/strtod_l.c (__STRTOF): Likewise.
20177         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20178         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20179         (__strtol_l): Likewise.
20180         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20181         [!__STDC__]: Remove conditional code.
20182         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20183         definition.
20184         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20185         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20186         type.
20187         (__strcasecmp): Convert to prototype-style function definition.
20188         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20189         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20190         type.
20191         (__strncasecmp): Convert to prototype-style function definition.
20192         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20193         * sunrpc/xdr.c (xdr_union): Likewise.
20194         * sunrpc/xdr_array.c (xdr_array): Likewise.
20195         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20196         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20197         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20198         Likewise.
20199         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20200         Likewise.
20201         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20202         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20203         Likewise.
20204         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20205         (LOCALE_PARAM_PROTO): Likewise.
20206         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20207         argument type.
20208         (ut_argument_spec): Remove macro.
20209         (ut_argument_spec_iso): Rename to ut_argument_spec.
20210         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20211         prototype-style function definition.
20212         (memcpy_uppcase): Likewise.
20213         (__strftime_internal): Likewise.
20214         (my_strftime): Likewise.
20215         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20216         (LOCALE_PARAM_DECL): Likewise.
20217         [_LIBC] (LOCALE_PARAM): Include argument type.
20218         (__strptime_internal): Convert to prototype-style function
20219         definition.
20220         (strptime): Likewise.
20221         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20222         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20223         type.
20224         (__wcscasecmp): Convert to prototype-style function definition.
20225         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20226         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20227         type.
20228         (__wcsncasecmp): Convert to prototype-style function definition.
20230         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20231         function definition.
20232         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20233         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20234         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20235         * elf/dl-minimal.c (_itoa): Likewise.
20236         * hurd/hurdmalloc.c (malloc): Likewise.
20237         (free): Likewise.
20238         (realloc): Likewise.
20239         * inet/inet6_option.c (inet6_option_space): Likewise.
20240         (inet6_option_init): Likewise.
20241         (inet6_option_append): Likewise.
20242         (inet6_option_alloc): Likewise.
20243         (inet6_option_next): Likewise.
20244         (inet6_option_find): Likewise.
20245         * io/ftw.c (FTW_NAME): Likewise.
20246         (NFTW_NAME): Likewise.
20247         (NFTW_NEW_NAME): Likewise.
20248         (NFTW_OLD_NAME): Likewise.
20249         * libio/iofwide.c (_IO_fwide): Likewise.
20250         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20251         (_IO_str_init_static): Likewise.
20252         (_IO_str_init_readonly): Likewise.
20253         (_IO_str_overflow): Likewise.
20254         (_IO_str_underflow): Likewise.
20255         (_IO_str_count): Likewise.
20256         (_IO_str_seekoff): Likewise.
20257         (_IO_str_pbackfail): Likewise.
20258         (_IO_str_finish): Likewise.
20259         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20260         (_IO_wstr_overflow): Likewise.
20261         (_IO_wstr_underflow): Likewise.
20262         (_IO_wstr_count): Likewise.
20263         (_IO_wstr_seekoff): Likewise.
20264         (_IO_wstr_pbackfail): Likewise.
20265         (_IO_wstr_finish): Likewise.
20266         * locale/programs/localedef.c (normalize_codeset): Likewise.
20267         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20268         (add_locales_to_archive): Likewise.
20269         (delete_locales_from_archive): Likewise.
20270         * malloc/malloc.c (__libc_mallinfo): Likewise.
20271         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20272         * misc/tsearch.c (__tfind): Likewise.
20273         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20274         * nptl/pthread_attr_getdetachstate.c
20275         (__pthread_attr_getdetachstate): Likewise.
20276         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20277         Likewise.
20278         * nptl/pthread_attr_getinheritsched.c
20279         (__pthread_attr_getinheritsched): Likewise.
20280         * nptl/pthread_attr_getschedparam.c
20281         (__pthread_attr_getschedparam): Likewise.
20282         * nptl/pthread_attr_getschedpolicy.c
20283         (__pthread_attr_getschedpolicy): Likewise.
20284         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20285         Likewise.
20286         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20287         Likewise.
20288         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20289         Likewise.
20290         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20291         Likewise.
20292         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20293         (__pthread_attr_init_2_0): Likewise.
20294         * nptl/pthread_attr_setdetachstate.c
20295         (__pthread_attr_setdetachstate): Likewise.
20296         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20297         Likewise.
20298         * nptl/pthread_attr_setinheritsched.c
20299         (__pthread_attr_setinheritsched): Likewise.
20300         * nptl/pthread_attr_setschedparam.c
20301         (__pthread_attr_setschedparam): Likewise.
20302         * nptl/pthread_attr_setschedpolicy.c
20303         (__pthread_attr_setschedpolicy): Likewise.
20304         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20305         Likewise.
20306         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20307         Likewise.
20308         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20309         Likewise.
20310         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20311         Likewise.
20312         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20313         Likewise.
20314         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20315         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20316         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20317         use internal_function.
20318         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20319         prototype-style function definition.
20320         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20321         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
20322         internal_function.
20323         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20324         Convert to prototype-style function definition.
20325         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20326         Likewise.
20327         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20328         Likewise.
20329         (__pthread_mutex_unlock): Likewise.
20330         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20331         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20332         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20333         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20334         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20335         * nss/makedb.c (process_input): Likewise.
20336         * posix/fnmatch.c (__strchrnul): Likewise.
20337         (__wcschrnul): Likewise.
20338         (fnmatch): Likewise.
20339         * posix/fnmatch_loop.c (FCT): Likewise.
20340         * posix/glob.c (globfree): Likewise.
20341         (__glob_pattern_type): Likewise.
20342         (__glob_pattern_p): Likewise.
20343         * posix/regcomp.c (re_compile_pattern): Likewise.
20344         (re_set_syntax): Likewise.
20345         (re_compile_fastmap): Likewise.
20346         (regcomp): Likewise.
20347         (regerror): Likewise.
20348         (regfree): Likewise.
20349         * posix/regexec.c (regexec): Likewise.
20350         (re_match): Likewise.
20351         (re_search): Likewise.
20352         (re_match_2): Likewise.
20353         (re_search_2): Likewise.
20354         (re_search_stub): Likewise.  Use internal_function
20355         (re_copy_regs): Likewise.
20356         (re_set_registers): Convert to prototype-style function
20357         definition.
20358         (prune_impossible_nodes): Likewise.  Use internal_function.
20359         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20360         prototype-style function definition.
20361         (inet_net_pton_ipv4): Likewise.
20362         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20363         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20364         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20365         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20366         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20367         Make variadic.
20368         * time/strptime_l.c (localtime_r): Convert to prototype-style
20369         function definition.
20370         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20371         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20372         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20373         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20375         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20376         definition.
20377         (_ufc_doit_r): Likewise.
20378         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20379         (_ufc_output_conversion_r): Likewise.
20380         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20381         * inet/rcmd.c (rcmd_af): Likewise.
20382         (rcmd): Likewise.
20383         (ruserok_af): Likewise.
20384         (ruserok): Likewise.
20385         (ruserok2_sa): Likewise.
20386         (ruserok_sa): Likewise.
20387         (iruserok_af): Likewise.
20388         (iruserok): Likewise.
20389         (__ivaliduser): Likewise.
20390         (__validuser2_sa): Likewise.
20391         * inet/rexec.c (rexec_af): Likewise.
20392         (rexec): Likewise.
20393         * inet/ruserpass.c (ruserpass): Likewise.
20394         * locale/programs/xmalloc.c (xcalloc): Likewise.
20395         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20396         * math/w_drem.c (__drem): Likewise.
20397         * math/w_dremf.c (__dremf): Likewise.
20398         * math/w_dreml.c (__dreml): Likewise.
20399         * misc/daemon.c (daemon): Likewise.
20400         * resolv/res_debug.c (p_fqnname): Likewise.
20401         * stdlib/div.c (div): Likewise.
20402         * string/memcmp.c (memcmp_bytes): Likewise.
20403         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20404         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20406         * crypt/cert.c (main): Convert to prototype-style function
20407         definition.
20408         * io/pipe.c (__pipe): Likewise.
20409         * io/pipe2.c (__pipe2): Likewise.
20410         * misc/futimesat.c (futimesat): Likewise.
20411         * misc/utimes.c (__utimes): Likewise.
20412         * posix/execve.c (__execve): Likewise.
20413         * posix/execvp.c (execvp): Likewise.
20414         * posix/execvpe.c (__execvpe): Likewise.
20415         * posix/fexecve.c (fexecve): Likewise.
20416         * socket/socketpair.c (socketpair): Likewise.
20417         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20418         * stdlib/erand48.c (erand48): Likewise.
20419         * stdlib/erand48_r.c (__erand48_r): Likewise.
20420         * stdlib/jrand48.c (jrand48): Likewise.
20421         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20422         * stdlib/lcong48.c (lcong48): Likewise.
20423         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20424         * stdlib/nrand48.c (nrand48): Likewise.
20425         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20426         * stdlib/seed48.c (seed48): Likewise.
20427         * stdlib/seed48_r.c (__seed48_r): Likewise.
20428         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20429         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20430         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20432 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20434         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20435         * configure: Regenerated.
20436         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20437         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20438         unconditional.
20439         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20440         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20441         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20442         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20443         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20444         unconditional.
20445         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20447         * posix/Makefile (CFLAGS-regex.c): Remove variable.
20448         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20450         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20451         function definition.
20452         * crypt/crypt_util.c (__encrypt_r): Likewise.
20453         * libio/genops.c (_IO_no_init): Likewise.
20454         * libio/iofopncook.c (_IO_fopencookie): Likewise.
20455         (_IO_old_fopencookie): Likewise.
20456         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20457         * libio/iogetline.c (_IO_getline): Likewise.
20458         (_IO_getline_info): Likewise.
20459         * libio/iogetwline.c (_IO_getwline): Likewise.
20460         (_IO_getwline_info): Likewise.
20461         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20462         * libio/vswprintf.c (_IO_vswprintf): Likewise.
20463         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20464         (find_entry): Likewise.
20465         (iterate_table): Likewise.
20466         (lookup): Likewise.
20467         * login/forkpty.c (forkpty): Likewise.
20468         * misc/hsearch_r.c (__hsearch_r): Likewise.
20469         * misc/select.c (__select): Likewise.
20470         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20471         Likewise.
20472         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20473         Likewise.
20474         * nptl/old_pthread_cond_timedwait.c
20475         (__pthread_cond_timedwait_2_0): Likewise.
20476         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20477         * nptl/pthread_barrierattr_getpshared.c
20478         (pthread_barrierattr_getpshared): Likewise.
20479         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20480         Likewise.
20481         * nptl/pthread_mutex_setprioceiling.c
20482         (pthread_mutex_setprioceiling): Likewise.
20483         * nptl/pthread_mutexattr_getprioceiling.c
20484         (pthread_mutexattr_getprioceiling): Likewise.
20485         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20486         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20487         Likewise.
20488         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20489         Likewise.
20490         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20491         Likewise.
20492         * socket/recvfrom.c (__recvfrom): Likewise.
20493         * socket/sendto.c (__sendto): Likewise.
20494         * socket/setsockopt.c (__setsockopt): Likewise.
20495         * stdio-common/_itoa.c (_itoa): Likewise.
20496         * stdio-common/_itowa.c (_itowa): Likewise.
20497         * stdio-common/reg-printf.c (__register_printf_specifier):
20498         Likewise.
20499         (__register_printf_function): Likewise.
20500         * stdio-common/tempname.c (__path_search): Likewise.
20501         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20502         * stdlib/mul_1.c (mpn_mul_1): Likewise.
20503         * stdlib/random_r.c (__initstate_r): Likewise.
20504         * stdlib/setenv.c (__add_to_environ): Likewise.
20505         * stdlib/submul_1.c (mpn_submul_1): Likewise.
20506         * streams/getpmsg.c (getpmsg): Likewise.
20507         * streams/putmsg.c (putmsg): Likewise.
20508         * streams/putpmsg.c (putpmsg): Likewise.
20509         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20510         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20511         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20512         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20513         * sunrpc/pm_getport.c (pmap_getport): Likewise.
20514         * sunrpc/svc_udp.c (cache_get): Likewise.
20515         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20516         * sysdeps/mach/hurd/getcwd.c
20517         (__canonicalize_directory_name_internal): Likewise.
20518         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20519         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20520         * sysdeps/mach/hurd/select.c (__select): Likewise.
20521         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20522         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20523         * sysdeps/sparc/nptl/pthread_barrier_init.c
20524         (__pthread_barrier_init): Likewise.
20525         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20526         (__pthread_cond_timedwait): Likewise.
20527         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20528         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20529         Likewise.
20530         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20531         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20532         Likewise.
20533         * sysvipc/semtimedop.c (semtimedop): Likewise.
20534         * time/setitimer.c (__setitimer): Likewise.
20535         * time/strftime_l.c (emacs_strftime): Likewise.
20537 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20539         * config.make.in (have-ssp): Delete.
20540         (stack-protector): New variable.
20541         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20542         cache test for -fstack-protector-strong.  Export stack_protector to
20543         the best ssp flag.
20544         * configure: Regenerated.
20545         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20546         * nscd/Makefile (CFLAGS-nscd): Likewise.
20547         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20549 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20551         [BZ #19122]
20552         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20553         attribute_hidden.
20555 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20557         [BZ #18743]
20558         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20559         code to...
20560         (ELIDE_LOCK): ...here.
20561         (__get_new_count): New function with part of the code from
20562         __elide_lock that updates the value of adapt_count after a
20563         transaction abort.
20564         (__elided_trylock): Moved this code to...
20565         (ELIDE_TRYLOCK): ...here.
20567 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20569         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20570         * configure: Regenerate.
20571         * INSTALL: Regenerate.
20572         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20573         and tweak grammar.
20575 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20577         * login/programs/pt_chown.c: Include signal.h
20578         (main): Clear any signal mask from the parent process.
20580 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20582         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20583         * configure: Regenerated.
20584         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20585         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20586         $(gnu89-inline-CFLAGS).
20588         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20589         test.
20590         (libc_cv_asm_weakext_directive): Likewise.
20591         * configure: Regenerated.
20592         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20593         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20594         * include/libc-symbols.h
20595         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20596         #error.
20597         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20598         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20600         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20601         prototype-style function definition.
20602         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20603         * sysdeps/i386/ffs.c (__ffs): Likewise.
20604         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20605         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20606         Likewise.
20607         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20608         Likewise.
20609         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20610         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20611         Likewise.
20612         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20613         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20614         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20615         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20616         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20617         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20618         * sysdeps/mach/hurd/access.c (__access): Likewise.
20619         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20620         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20621         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20622         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20623         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20624         (cthread_getspecific): Likewise.
20625         (cthread_setspecific): Likewise.
20626         (__libc_getspecific): Likewise.
20627         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20628         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20629         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20630         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20631         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20632         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20633         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20634         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20635         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20636         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20637         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20638         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20639         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20640         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20641         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20642         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20643         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20644         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20645         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20646         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20647         * sysdeps/mach/hurd/link.c (__link): Likewise.
20648         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20649         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20650         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20651         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20652         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20653         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20654         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20655         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20656         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20657         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20658         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20659         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20660         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20661         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20662         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20663         * sysdeps/mach/hurd/send.c (__send): Likewise.
20664         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20665         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20666         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20667         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20668         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20669         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20670         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20671         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20672         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20673         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20674         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20675         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20676         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20677         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20678         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20679         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20680         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20681         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20682         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20683         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20684         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20685         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20686         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20687         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20688         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20689         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20690         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20691         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20692         * sysdeps/posix/alarm.c (alarm): Likewise.
20693         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20694         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20695         * sysdeps/posix/dup.c (__dup): Likewise.
20696         * sysdeps/posix/dup2.c (__dup2): Likewise.
20697         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20698         (main): Likewise.
20699         * sysdeps/posix/flock.c (__flock): Likewise.
20700         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20701         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20702         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20703         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20704         * sysdeps/posix/isatty.c (__isatty): Likewise.
20705         * sysdeps/posix/killpg.c (killpg): Likewise.
20706         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20707         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20708         * sysdeps/posix/raise.c (raise): Likewise.
20709         * sysdeps/posix/remove.c (remove): Likewise.
20710         * sysdeps/posix/rename.c (rename): Likewise.
20711         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20712         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20713         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20714         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20715         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20716         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20717         * sysdeps/posix/sigset.c (sigset): Likewise.
20718         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20719         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20720         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20721         * sysdeps/posix/time.c (time): Likewise.
20722         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20723         (ttyname): Likewise.
20724         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20725         * sysdeps/posix/utime.c (utime): Likewise.
20726         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20727         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20728         Likewise.
20729         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20730         (pthread_spin_trylock): Likewise.
20731         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20732         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20733         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20734         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20735         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20736         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20737         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20738         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20739         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20740         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20741         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20742         * sysdeps/s390/ffs.c (__ffs): Likewise.
20743         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20744         Likewise.
20745         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20746         Likewise.
20747         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20748         Likewise.
20749         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20750         (pthread_barrier_destroy): Likewise.
20751         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20752         (__pthread_barrier_wait): Likewise.
20753         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20754         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20755         (__pthread_barrier_wait): Likewise.
20756         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20757         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20758         (memcmp_not_common_alignment): Likewise.
20759         (MEMCMP): Likewise.
20760         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20761         (_wordcopy_fwd_dest_aligned): Likewise.
20762         (_wordcopy_bwd_aligned): Likewise.
20763         (_wordcopy_bwd_dest_aligned): Likewise.
20764         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20765         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20766         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20767         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20768         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20769         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20770         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20771         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20772         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20773         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20774         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20775         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20776         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20777         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20778         * sysdeps/unix/stime.c (stime): Likewise.
20779         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20780         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20781         Likewise.  Use internal_function.
20782         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20783         Convert to prototype-style function definition.
20784         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20785         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20786         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20787         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20788         Likewise.  Use internal_function.
20789         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20790         prototype-style function definition
20791         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20792         Likewise.
20793         (__getlogin_r): Likewise.
20794         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20795         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20796         (__pthread_cond_broadcast): Likewise.
20797         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20798         (__pthread_cond_destroy): Likewise.
20799         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20800         (__pthread_cond_init): Likewise.
20801         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20802         (__pthread_cond_signal): Likewise.
20803         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20804         (__pthread_cond_wait): Likewise.
20805         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20806         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20807         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20808         Likewise.
20809         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20810         Likewise.
20811         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20812         Likewise.
20813         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20814         Likewise.
20815         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20817         (__ftruncate64): Likewise.
20818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20819         (truncate64): Likewise.
20820         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20821         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20822         (pthread_getcpuclockid): Likewise.
20823         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20824         Likewise.
20825         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20826         Likewise.
20827         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20828         Likewise.
20829         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20830         Likewise.
20831         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20832         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20833         (__libc_sigaction): Likewise.
20834         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20835         Likewise.
20836         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20837         (__sigprocmask): Likewise.
20838         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20839         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20840         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20841         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20842         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20843         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20844         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20845         Likewise.
20846         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20847         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20848         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20849         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20850         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20851         Likewise.
20852         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20853         (__sigprocmask): Likewise.
20854         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20855         (cfgetispeed): Likewise.
20856         (cfsetospeed): Likewise.
20857         (cfsetispeed): Likewise.
20858         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20859         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20860         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20861         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20862         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20863         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20864         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20865         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20866         Likewise.
20867         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20868         Likewise.
20869         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20870         Likewise.
20871         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20872         Likewise.
20873         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20875 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20877         sunrpc: Rewrite with explicit TLS access using __thread.
20878         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20879         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20880         directly.
20881         (__rpc_thread_variables): Access thread_rpc_vars directly.
20882         Eliminate redundant assignment of the tvp variable.
20884 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20886         malloc: Rewrite with explicit TLS access using __thread.
20887         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20888         (tsd_setspecific, tsd_getspecific): Remove.
20889         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20890         (tsd_setspecific, tsd_getspecific): Likewise.
20891         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20892         (tsd_setspecific, tsd_getspecific): Likewise.
20893         * malloc/arena.c (thread_arena): New TLS variable.
20894         (arena_key): Remove variable.
20895         (arena_get): Use thread_arena.
20896         (arena_lookup): Remove macro.
20897         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20898         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20899         (_int_new_arena, get_free_list, reused_arena)
20900         (arena_thread_freeres): Use thread_arena.
20901         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20902         tsd_getspecific, tsd_setspecific from safety annotations.
20903         (Allocating Cleared Space): Remove arena_lookup from safety
20904         annotations.
20906 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20908         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20909         struct scratch_buffer instead of extend_alloca.
20911 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20913         * sysdeps/unix/sysv/linux/kernel-features.h
20914         (__ASSUME_SOCK_CLOEXEC): Remove.
20915         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20916         (__have_paccept): Remove unused macro.
20917         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20918         * misc/syslog.c (openlog_internal): Remove fallback code for
20919         !__ASSUME_SOCK_CLOEXEC.
20920         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20921         missing SOCK_CLOEXEC.
20922         * nscd/connections.c (have_sock_cloexec): Remove definition.
20923         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20924         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20925         !__ASSUME_SOCK_CLOEXEC.
20926         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20927         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20928         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20929         definition.
20930         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20931         code for !__ASSUME_SOCK_CLOEXEC.
20933 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20935         [BZ #18982]
20936         * manual/stdio.texi (Variable Arguments Output): Add portability
20937         note, explaining that vfprintf clobbers the va_list pointer.
20939 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20941         * math/libm-test.inc (fabs_test_data): Add more tests.
20942         (fdim_test_data): Likewise.
20943         (fma_test_data): Likewise.
20944         (fmax_test_data): Likewise.
20945         (fmin_test_data): Likewise.
20946         (fmod_test_data): Likewise.
20948 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20950         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20951         data.
20953 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20955         * math/libm-test.inc (ceil_test_data): Add more tests and more
20956         expectations for "inexact".
20957         (floor_test_data): Add more tests.
20958         (round_test_data): Likewise.
20959         (trunc_test_data): Likewise.
20961         * crypt/cert.c (good_bye): Convert to prototype-style function
20962         definition.
20963         (get8): Likewise.
20964         (put8): Likewise.
20965         * crypt/crypt-entry.c (crypt): Likewise.
20966         (__fcrypt): Likewise.
20967         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20968         (_ufc_set_bits): Likewise.
20969         (_ufc_clearmem): Likewise.
20970         (__init_des_r): Likewise.
20971         (shuffle_sb): Likewise.
20972         (shuffle_sb): Likewise.
20973         (_ufc_setup_salt_r): Likewise.
20974         (_ufc_mk_keytab_r): Likewise.
20975         (_ufc_dofinalperm_r): Likewise.
20976         (encrypt): Likewise.
20977         (__setkey_r): Likewise.
20978         (setkey): Likewise.
20979         * crypt/md5.c (md5_init_ctx): Likewise.
20980         (md5_read_ctx): Likewise.
20981         (md5_finish_ctx): Likewise.
20982         (md5_stream): Likewise.
20983         (md5_buffer): Likewise.
20984         (md5_process_bytes): Likewise.
20985         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20986         (__sha256_finish_ctx): Likewise.
20987         (__sha256_process_bytes): Likewise.
20988         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20989         (__sha512_finish_ctx): Likewise.
20990         (__sha512_process_bytes): Likewise.
20991         * ctype/isctype.c (__isctype): Likewise.
20992         * debug/backtrace.c (__backtrace): Likewise.
20993         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20994         * debug/fgets_chk.c (__fgets_chk): Likewise.
20995         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20996         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20997         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20998         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20999         * debug/memset_chk.c (__memset_chk): Likewise.
21000         * debug/strcat_chk.c (__strcat_chk): Likewise.
21001         * debug/strncat_chk.c (__strncat_chk): Likewise.
21002         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
21003         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
21004         * dirent/dirfd.c (dirfd): Likewise.
21005         * dirent/getdents.c (__getdirentries): Likewise.
21006         * dirent/getdents64.c (getdirentries64): Likewise.
21007         * dirent/rewinddir.c (__rewinddir): Likewise.
21008         * dirent/seekdir.c (seekdir): Likewise.
21009         * dirent/telldir.c (telldir): Likewise.
21010         * elf/sln.c (makesymlinks): Likewise.
21011         (makesymlink): Likewise.
21012         * gmon/gmon.c (__moncontrol): Likewise.
21013         (__monstartup): Likewise.
21014         (write_hist): Likewise.
21015         (write_call_graph): Likewise.
21016         (write_bb_counts): Likewise.
21017         * grp/setgroups.c (setgroups): Likewise.
21018         * inet/inet_lnaof.c (inet_lnaof): Likewise.
21019         * inet/inet_net.c (inet_network): Likewise.
21020         * inet/inet_netof.c (inet_netof): Likewise.
21021         * inet/rcmd.c (rresvport_af): Likewise.
21022         (rresvport): Likewise.
21023         * io/access.c (__access): Likewise.
21024         * io/chdir.c (__chdir): Likewise.
21025         * io/chmod.c (__chmod): Likewise.
21026         * io/chown.c (__chown): Likewise.
21027         * io/close.c (__close): Likewise.
21028         * io/creat.c (creat): Likewise.
21029         * io/creat64.c (creat64): Likewise.
21030         * io/dup.c (__dup): Likewise.
21031         * io/dup2.c (__dup2): Likewise.
21032         * io/dup3.c (__dup3): Likewise.
21033         * io/euidaccess.c (__euidaccess): Likewise.
21034         * io/faccessat.c (faccessat): Likewise.
21035         * io/fchmod.c (__fchmod): Likewise.
21036         * io/fchmodat.c (fchmodat): Likewise.
21037         * io/fchown.c (__fchown): Likewise.
21038         * io/fchownat.c (fchownat): Likewise.
21039         * io/fcntl.c (__fcntl): Likewise.
21040         * io/flock.c (__flock): Likewise.
21041         * io/fts.c (fts_load): Likewise.
21042         (fts_close): Likewise.
21043         (fts_read): Likewise.
21044         (fts_set): Likewise.
21045         (fts_children): Likewise.
21046         (fts_build): Likewise.
21047         (fts_stat): Likewise.
21048         (fts_sort): Likewise.
21049         (fts_alloc): Likewise.
21050         (fts_lfree): Likewise.
21051         (fts_palloc): Likewise.
21052         (fts_padjust): Likewise.
21053         (fts_maxarglen): Likewise.
21054         (fts_safe_changedir): Likewise.
21055         * io/getwd.c (getwd): Likewise.
21056         * io/isatty.c (__isatty): Likewise.
21057         * io/lchown.c (__lchown): Likewise.
21058         * io/link.c (__link): Likewise.
21059         * io/linkat.c (linkat): Likewise.
21060         * io/lseek.c (__libc_lseek): Likewise.
21061         * io/mkdir.c (__mkdir): Likewise.
21062         * io/mkdirat.c (mkdirat): Likewise.
21063         * io/mkfifo.c (mkfifo): Likewise.
21064         * io/mkfifoat.c (mkfifoat): Likewise.
21065         * io/open.c (__libc_open): Likewise.
21066         * io/open64.c (__libc_open64): Likewise.
21067         * io/readlink.c (__readlink): Likewise.
21068         * io/readlinkat.c (readlinkat): Likewise.
21069         * io/rmdir.c (__rmdir): Likewise.
21070         * io/symlink.c (__symlink): Likewise.
21071         * io/symlinkat.c (symlinkat): Likewise.
21072         * io/ttyname.c (ttyname): Likewise.
21073         * io/ttyname_r.c (__ttyname_r): Likewise.
21074         * io/umask.c (__umask): Likewise.
21075         * io/unlink.c (__unlink): Likewise.
21076         * io/unlinkat.c (unlinkat): Likewise.
21077         * io/utime.c (utime): Likewise.
21078         * libio/clearerr.c (clearerr): Likewise.
21079         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21080         * libio/feof.c (_IO_feof): Likewise.
21081         * libio/feof_u.c (feof_unlocked): Likewise.
21082         * libio/ferror.c (_IO_ferror): Likewise.
21083         * libio/ferror_u.c (ferror_unlocked): Likewise.
21084         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21085         * libio/fileno.c (__fileno): Likewise.
21086         * libio/fputc.c (fputc): Likewise.
21087         * libio/fputc_u.c (fputc_unlocked): Likewise.
21088         * libio/fputwc.c (fputwc): Likewise.
21089         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21090         * libio/freopen.c (freopen): Likewise.
21091         * libio/freopen64.c (freopen64): Likewise.
21092         * libio/fseek.c (fseek): Likewise.
21093         * libio/fseeko.c (fseeko): Likewise.
21094         * libio/fseeko64.c (fseeko64): Likewise.
21095         * libio/ftello.c (__ftello): Likewise.
21096         * libio/ftello64.c (ftello64): Likewise.
21097         * libio/fwide.c (fwide): Likewise.
21098         * libio/genops.c (_IO_un_link): Likewise.
21099         (_IO_link_in): Likewise.
21100         (_IO_least_marker): Likewise.
21101         (_IO_switch_to_main_get_area): Likewise.
21102         (_IO_switch_to_backup_area): Likewise.
21103         (_IO_switch_to_get_mode): Likewise.
21104         (_IO_free_backup_area): Likewise.
21105         (_IO_switch_to_put_mode): Likewise.
21106         (__overflow): Likewise.
21107         (__underflow): Likewise.
21108         (__uflow): Likewise.
21109         (_IO_setb): Likewise.
21110         (_IO_doallocbuf): Likewise.
21111         (_IO_default_underflow): Likewise.
21112         (_IO_default_uflow): Likewise.
21113         (_IO_default_xsputn): Likewise.
21114         (_IO_sgetn): Likewise.
21115         (_IO_default_xsgetn): Likewise.
21116         (_IO_sync): Likewise.
21117         (_IO_default_setbuf): Likewise.
21118         (_IO_default_seekpos): Likewise.
21119         (_IO_default_doallocate): Likewise.
21120         (_IO_init): Likewise.
21121         (_IO_old_init): Likewise.
21122         (_IO_default_sync): Likewise.
21123         (_IO_default_finish): Likewise.
21124         (_IO_default_seekoff): Likewise.
21125         (_IO_sputbackc): Likewise.
21126         (_IO_sungetc): Likewise.
21127         (_IO_set_column): Likewise.
21128         (_IO_set_column): Likewise.
21129         (_IO_adjust_column): Likewise.
21130         (_IO_get_column): Likewise.
21131         (_IO_init_marker): Likewise.
21132         (_IO_remove_marker): Likewise.
21133         (_IO_marker_difference): Likewise.
21134         (_IO_marker_delta): Likewise.
21135         (_IO_seekmark): Likewise.
21136         (_IO_unsave_markers): Likewise.
21137         (_IO_nobackup_pbackfail): Likewise.
21138         (_IO_default_pbackfail): Likewise.
21139         (_IO_default_seek): Likewise.
21140         (_IO_default_stat): Likewise.
21141         (_IO_default_read): Likewise.
21142         (_IO_default_write): Likewise.
21143         (_IO_default_showmanyc): Likewise.
21144         (_IO_default_imbue): Likewise.
21145         (_IO_iter_next): Likewise.
21146         (_IO_iter_file): Likewise.
21147         * libio/getc.c (_IO_getc): Likewise.
21148         * libio/getwc.c (_IO_getwc): Likewise.
21149         * libio/iofclose.c (_IO_new_fclose): Likewise.
21150         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21151         * libio/iofflush.c (_IO_fflush): Likewise.
21152         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21153         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21154         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21155         * libio/iofgets.c (_IO_fgets): Likewise.
21156         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21157         * libio/iofgetws.c (fgetws): Likewise.
21158         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21159         * libio/iofopen64.c (_IO_fopen64): Likewise.
21160         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21161         (_IO_cookie_write): Likewise.
21162         (_IO_cookie_seek): Likewise.
21163         (_IO_cookie_close): Likewise.
21164         (_IO_cookie_seekoff): Likewise.
21165         (_IO_old_cookie_seek): Likewise.
21166         * libio/iofputs.c (_IO_fputs): Likewise.
21167         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21168         * libio/iofputws.c (fputws): Likewise.
21169         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21170         * libio/iofread.c (_IO_fread): Likewise.
21171         * libio/iofread_u.c (__fread_unlocked): Likewise.
21172         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21173         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21174         * libio/ioftell.c (_IO_ftell): Likewise.
21175         * libio/iofwrite.c (_IO_fwrite): Likewise.
21176         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21177         * libio/iogets.c (_IO_gets): Likewise.
21178         * libio/iopadn.c (_IO_padn): Likewise.
21179         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21180         (_IO_new_popen): Likewise.
21181         (_IO_new_proc_close): Likewise.
21182         * libio/ioputs.c (_IO_puts): Likewise.
21183         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21184         (_IO_seekoff): Likewise.
21185         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21186         (_IO_seekpos): Likewise.
21187         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21188         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21189         * libio/ioungetc.c (_IO_ungetc): Likewise.
21190         * libio/ioungetwc.c (ungetwc): Likewise.
21191         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21192         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21193         * libio/iowpadn.c (_IO_wpadn): Likewise.
21194         * libio/libc_fatal.c (__libc_fatal): Likewise.
21195         * libio/memstream.c (__open_memstream): Likewise.
21196         (_IO_mem_sync): Likewise.
21197         (_IO_mem_finish): Likewise.
21198         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21199         (_IO_old_file_close_it): Likewise.
21200         (_IO_old_file_finish): Likewise.
21201         (_IO_old_file_fopen): Likewise.
21202         (_IO_old_file_attach): Likewise.
21203         (_IO_old_file_setbuf): Likewise.
21204         (_IO_old_do_write): Likewise.
21205         (old_do_write): Likewise.
21206         (_IO_old_file_underflow): Likewise.
21207         (_IO_old_file_overflow): Likewise.
21208         (_IO_old_file_sync): Likewise.
21209         (_IO_old_file_seekoff): Likewise.
21210         (_IO_old_file_write): Likewise.
21211         (_IO_old_file_xsputn): Likewise.
21212         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21213         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21214         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21215         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21216         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21217         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21218         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21219         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21220         (_IO_old_popen): Likewise.
21221         (_IO_old_proc_close): Likewise.
21222         * libio/oldpclose.c (__old_pclose): Likewise.
21223         * libio/pclose.c (__new_pclose): Likewise.
21224         * libio/peekc.c (_IO_peekc_locked): Likewise.
21225         * libio/putc.c (_IO_putc): Likewise.
21226         * libio/putc_u.c (putc_unlocked): Likewise.
21227         * libio/putchar.c (putchar): Likewise.
21228         * libio/putchar_u.c (putchar_unlocked): Likewise.
21229         * libio/putwc.c (putwc): Likewise.
21230         * libio/putwc_u.c (putwc_unlocked): Likewise.
21231         * libio/putwchar.c (putwchar): Likewise.
21232         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21233         * libio/rewind.c (rewind): Likewise.
21234         * libio/setbuf.c (setbuf): Likewise.
21235         * libio/setlinebuf.c (setlinebuf): Likewise.
21236         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21237         * libio/vscanf.c (_IO_vscanf): Likewise.
21238         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21239         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21240         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21241         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21242         (_IO_switch_to_main_wget_area): Likewise.
21243         (_IO_switch_to_wbackup_area): Likewise.
21244         (_IO_wsetb): Likewise.
21245         (_IO_wdefault_pbackfail): Likewise.
21246         (_IO_wdefault_finish): Likewise.
21247         (_IO_wdefault_uflow): Likewise.
21248         (__woverflow): Likewise.
21249         (__wuflow): Likewise.
21250         (__wunderflow): Likewise.
21251         (_IO_wdefault_xsputn): Likewise.
21252         (_IO_wdefault_xsgetn): Likewise.
21253         (_IO_wdoallocbuf): Likewise.
21254         (_IO_wdefault_doallocate): Likewise.
21255         (_IO_switch_to_wget_mode): Likewise.
21256         (_IO_free_wbackup_area): Likewise.
21257         (_IO_switch_to_wput_mode): Likewise.
21258         (_IO_sputbackwc): Likewise.
21259         (_IO_sungetwc): Likewise.
21260         (_IO_adjust_wcolumn): Likewise.
21261         (_IO_init_wmarker): Likewise.
21262         (_IO_wmarker_delta): Likewise.
21263         (_IO_seekwmark): Likewise.
21264         (_IO_unsave_wmarkers): Likewise.
21265         * libio/wmemstream.c (open_wmemstream): Likewise.
21266         (_IO_wmem_sync): Likewise.
21267         (_IO_wmem_finish): Likewise.
21268         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21269         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21270         * locale/programs/simple-hash.c (init_hash): Likewise.
21271         (delete_hash): Likewise.
21272         (insert_entry): Likewise.
21273         (set_entry): Likewise.
21274         (next_prime): Likewise.
21275         (is_prime): Likewise.
21276         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21277         (xmalloc): Likewise.
21278         (xrealloc): Likewise.
21279         * locale/programs/xstrdup.c (xstrdup): Likewise.
21280         * localedata/collate-test.c (xstrcoll): Likewise.
21281         * localedata/xfrm-test.c (xstrcmp): Likewise.
21282         * login/getlogin_r.c (__getlogin_r): Likewise.
21283         * login/getpt.c (__posix_openpt): Likewise.
21284         * login/login_tty.c (login_tty): Likewise.
21285         * login/setlogin.c (setlogin): Likewise.
21286         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21287         (mach_msg_destroy_port): Likewise.
21288         (mach_msg_destroy_memory): Likewise.
21289         * malloc/mcheck.c (flood): Likewise.
21290         * misc/acct.c (acct): Likewise.
21291         * misc/brk.c (__brk): Likewise.
21292         * misc/chflags.c (chflags): Likewise.
21293         * misc/chroot.c (chroot): Likewise.
21294         * misc/fchflags.c (fchflags): Likewise.
21295         * misc/fstab.c (getfsspec): Likewise.
21296         (getfsfile): Likewise.
21297         * misc/fsync.c (fsync): Likewise.
21298         * misc/ftruncate.c (__ftruncate): Likewise.
21299         * misc/ftruncate64.c (__ftruncate64): Likewise.
21300         * misc/getdomain.c (getdomainname): Likewise.
21301         (getdomainname): Likewise.
21302         * misc/gethostname.c (__gethostname): Likewise.
21303         * misc/getpass.c (getpass): Likewise.
21304         * misc/getttyent.c (skip): Likewise.
21305         (value): Likewise.
21306         * misc/gtty.c (gtty): Likewise.
21307         * misc/hsearch.c (hsearch): Likewise.
21308         (hcreate): Likewise.
21309         * misc/hsearch_r.c (__hcreate_r): Likewise.
21310         (__hdestroy_r): Likewise.
21311         * misc/ioctl.c (__ioctl): Likewise.
21312         * misc/mkdtemp.c (mkdtemp): Likewise.
21313         * misc/mkostemp.c (mkostemp): Likewise.
21314         * misc/mkostemp64.c (mkostemp64): Likewise.
21315         * misc/mkostemps.c (mkostemps): Likewise.
21316         * misc/mkostemps64.c (mkostemps64): Likewise.
21317         * misc/mkstemp.c (mkstemp): Likewise.
21318         * misc/mkstemp64.c (mkstemp64): Likewise.
21319         * misc/mkstemps.c (mkstemps): Likewise.
21320         * misc/mkstemps64.c (mkstemps64): Likewise.
21321         * misc/mktemp.c (__mktemp): Likewise.
21322         * misc/preadv.c (preadv): Likewise.
21323         * misc/preadv64.c (preadv64): Likewise.
21324         * misc/pwritev.c (pwritev): Likewise.
21325         * misc/pwritev64.c (pwritev64): Likewise.
21326         * misc/readv.c (__readv): Likewise.
21327         * misc/revoke.c (revoke): Likewise.
21328         * misc/setdomain.c (setdomainname): Likewise.
21329         * misc/setegid.c (setegid): Likewise.
21330         * misc/seteuid.c (seteuid): Likewise.
21331         * misc/sethostid.c (sethostid): Likewise.
21332         * misc/sethostname.c (sethostname): Likewise.
21333         * misc/setregid.c (__setregid): Likewise.
21334         * misc/setreuid.c (__setreuid): Likewise.
21335         * misc/sstk.c (sstk): Likewise.
21336         * misc/stty.c (stty): Likewise.
21337         * misc/syscall.c (syscall): Likewise.
21338         * misc/syslog.c (setlogmask): Likewise.
21339         * misc/truncate.c (__truncate): Likewise.
21340         * misc/truncate64.c (truncate64): Likewise.
21341         * misc/ualarm.c (ualarm): Likewise.
21342         * misc/usleep.c (usleep): Likewise.
21343         * misc/ustat.c (ustat): Likewise.
21344         * misc/writev.c (__writev): Likewise.
21345         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21346         * nptl/old_pthread_cond_broadcast.c
21347         (__pthread_cond_broadcast_2_0): Likewise.
21348         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21349         Likewise.
21350         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21351         Likewise.
21352         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21353         Likewise.
21354         * nptl/pt-raise.c (raise): Likewise.
21355         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21356         Likewise.
21357         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21358         * nptl/pthread_barrierattr_destroy.c
21359         (pthread_barrierattr_destroy): Likewise.
21360         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21361         Likewise.
21362         * nptl/pthread_barrierattr_setpshared.c
21363         (pthread_barrierattr_setpshared): Likewise.
21364         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21365         Likewise.
21366         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21367         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21368         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21369         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21370         Likewise.
21371         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21372         Likewise.
21373         * nptl/pthread_condattr_getpshared.c
21374         (pthread_condattr_getpshared): Likewise.
21375         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21376         Likewise.
21377         * nptl/pthread_condattr_setpshared.c
21378         (pthread_condattr_setpshared): Likewise.
21379         * nptl/pthread_detach.c (pthread_detach): Likewise.
21380         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21381         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21382         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21383         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21384         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21385         Likewise.
21386         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21387         Likewise.
21388         * nptl/pthread_mutex_getprioceiling.c
21389         (pthread_mutex_getprioceiling): Likewise.
21390         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21391         Likewise.
21392         * nptl/pthread_mutexattr_getprotocol.c
21393         (pthread_mutexattr_getprotocol): Likewise.
21394         * nptl/pthread_mutexattr_getpshared.c
21395         (pthread_mutexattr_getpshared): Likewise.
21396         * nptl/pthread_mutexattr_getrobust.c
21397         (pthread_mutexattr_getrobust): Likewise.
21398         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21399         Likewise.
21400         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21401         Likewise.
21402         * nptl/pthread_mutexattr_setprioceiling.c
21403         (pthread_mutexattr_setprioceiling): Likewise.
21404         * nptl/pthread_mutexattr_setprotocol.c
21405         (pthread_mutexattr_setprotocol): Likewise.
21406         * nptl/pthread_mutexattr_setpshared.c
21407         (pthread_mutexattr_setpshared): Likewise.
21408         * nptl/pthread_mutexattr_setrobust.c
21409         (pthread_mutexattr_setrobust): Likewise.
21410         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21411         Likewise.
21412         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21413         Likewise.
21414         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21415         Likewise.
21416         * nptl/pthread_rwlockattr_getkind_np.c
21417         (pthread_rwlockattr_getkind_np): Likewise.
21418         * nptl/pthread_rwlockattr_getpshared.c
21419         (pthread_rwlockattr_getpshared): Likewise.
21420         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21421         Likewise.
21422         * nptl/pthread_rwlockattr_setkind_np.c
21423         (pthread_rwlockattr_setkind_np): Likewise.
21424         * nptl/pthread_rwlockattr_setpshared.c
21425         (pthread_rwlockattr_setpshared): Likewise.
21426         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21427         Likewise.
21428         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21429         Likewise.
21430         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21431         Likewise.
21432         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21433         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21434         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21435         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21436         * nptl/sem_close.c (sem_close): Likewise.
21437         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21438         * nptl/sem_init.c (__old_sem_init): Likewise.
21439         * nptl/sigaction.c (__sigaction): Likewise.
21440         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21441         * posix/_exit.c (_exit): Likewise.
21442         * posix/alarm.c (alarm): Likewise.
21443         * posix/confstr.c (confstr): Likewise.
21444         * posix/fpathconf.c (__fpathconf): Likewise.
21445         * posix/getgroups.c (__getgroups): Likewise.
21446         * posix/getpgid.c (__getpgid): Likewise.
21447         * posix/group_member.c (__group_member): Likewise.
21448         * posix/pathconf.c (__pathconf): Likewise.
21449         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21450         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21451         * posix/setgid.c (__setgid): Likewise.
21452         * posix/setpgid.c (__setpgid): Likewise.
21453         * posix/setuid.c (__setuid): Likewise.
21454         * posix/sleep.c (__sleep): Likewise.
21455         * posix/sysconf.c (__sysconf): Likewise.
21456         * posix/times.c (__times): Likewise.
21457         * posix/uname.c (__uname): Likewise.
21458         * posix/waitid.c (__waitid): Likewise.
21459         * pwd/getpw.c (__getpw): Likewise.
21460         * resolv/base64.c (b64_pton): Likewise.
21461         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21462         * resolv/gethnamaddr.c (Dprintf): Likewise.
21463         (gethostbyname): Likewise.
21464         (gethostbyname2): Likewise.
21465         (gethostbyaddr): Likewise.
21466         (_sethtent): Likewise.
21467         (_gethtbyname): Likewise.
21468         (_gethtbyname2): Likewise.
21469         (_gethtbyaddr): Likewise.
21470         (map_v4v6_address): Likewise.
21471         (map_v4v6_hostent): Likewise.
21472         (addrsort): Likewise.
21473         (ht_sethostent): Likewise.
21474         (ht_gethostbyname): Likewise.
21475         (ht_gethostbyaddr): Likewise.
21476         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21477         (inet_net_ntop_ipv4): Likewise.
21478         * resolv/inet_neta.c (inet_neta): Likewise.
21479         * resolv/inet_ntop.c (inet_ntop): Likewise.
21480         (inet_ntop4): Likewise.
21481         (inet_ntop6): Likewise.
21482         * resolv/inet_pton.c (__inet_pton): Likewise.
21483         (inet_pton4): Likewise.
21484         (inet_pton6): Likewise.
21485         * resolv/res_debug.c (loc_aton): Likewise.
21486         (loc_ntoa): Likewise.
21487         * resource/getpriority.c (__getpriority): Likewise.
21488         * resource/getrusage.c (__getrusage): Likewise.
21489         * resource/nice.c (nice): Likewise.
21490         * resource/setpriority.c (__setpriority): Likewise.
21491         * resource/setrlimit64.c (setrlimit64): Likewise.
21492         * resource/vlimit.c (vlimit): Likewise.
21493         * resource/vtimes.c (vtimes): Likewise.
21494         * rt/aio_error.c (aio_error): Likewise.
21495         * rt/aio_return.c (aio_return): Likewise.
21496         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21497         * signal/kill.c (__kill): Likewise.
21498         * signal/killpg.c (killpg): Likewise.
21499         * signal/raise.c (raise): Likewise.
21500         * signal/sigaction.c (__sigaction): Likewise.
21501         * signal/sigaddset.c (sigaddset): Likewise.
21502         * signal/sigaltstack.c (sigaltstack): Likewise.
21503         * signal/sigandset.c (sigandset): Likewise.
21504         * signal/sigblock.c (__sigblock): Likewise.
21505         * signal/sigdelset.c (sigdelset): Likewise.
21506         * signal/sigempty.c (sigemptyset): Likewise.
21507         * signal/sigfillset.c (sigfillset): Likewise.
21508         * signal/sighold.c (sighold): Likewise.
21509         * signal/sigignore.c (sigignore): Likewise.
21510         * signal/sigintr.c (siginterrupt): Likewise.
21511         * signal/sigisempty.c (sigisemptyset): Likewise.
21512         * signal/sigismem.c (sigismember): Likewise.
21513         * signal/signal.c (signal): Likewise.
21514         * signal/sigorset.c (sigorset): Likewise.
21515         * signal/sigpause.c (__sigpause): Likewise.
21516         * signal/sigpending.c (sigpending): Likewise.
21517         * signal/sigprocmask.c (__sigprocmask): Likewise.
21518         * signal/sigrelse.c (sigrelse): Likewise.
21519         * signal/sigreturn.c (__sigreturn): Likewise.
21520         * signal/sigset.c (sigset): Likewise.
21521         * signal/sigsetmask.c (__sigsetmask): Likewise.
21522         * signal/sigstack.c (sigstack): Likewise.
21523         * signal/sigsuspend.c (__sigsuspend): Likewise.
21524         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21525         * signal/sysv_signal.c (__sysv_signal): Likewise.
21526         * socket/accept.c (accept): Likewise.
21527         * socket/accept4.c (__libc_accept4): Likewise.
21528         * socket/bind.c (__bind): Likewise.
21529         * socket/connect.c (__connect): Likewise.
21530         * socket/getpeername.c (getpeername): Likewise.
21531         * socket/getsockname.c (__getsockname): Likewise.
21532         * socket/getsockopt.c (getsockopt): Likewise.
21533         * socket/listen.c (__listen): Likewise.
21534         * socket/recv.c (__recv): Likewise.
21535         * socket/recvmsg.c (__recvmsg): Likewise.
21536         * socket/send.c (__send): Likewise.
21537         * socket/sendmsg.c (__sendmsg): Likewise.
21538         * socket/shutdown.c (shutdown): Likewise.
21539         * socket/sockatmark.c (sockatmark): Likewise.
21540         * socket/socket.c (__socket): Likewise.
21541         * stdio-common/ctermid.c (ctermid): Likewise.
21542         * stdio-common/cuserid.c (cuserid): Likewise.
21543         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21544         * stdio-common/remove.c (remove): Likewise.
21545         * stdio-common/rename.c (rename): Likewise.
21546         * stdio-common/renameat.c (renameat): Likewise.
21547         * stdio-common/tempname.c (__gen_tempname): Likewise.
21548         * stdio-common/xbug.c (InitBuffer): Likewise.
21549         (AppendToBuffer): Likewise.
21550         (ReadFile): Likewise.
21551         * stdlib/a64l.c (a64l): Likewise.
21552         * stdlib/drand48_r.c (drand48_r): Likewise.
21553         * stdlib/getcontext.c (getcontext): Likewise.
21554         * stdlib/getenv.c (getenv): Likewise.
21555         * stdlib/l64a.c (l64a): Likewise.
21556         * stdlib/llabs.c (llabs): Likewise.
21557         * stdlib/lldiv.c (lldiv): Likewise.
21558         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21559         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21560         * stdlib/putenv.c (putenv): Likewise.
21561         * stdlib/random.c (__srandom): Likewise.
21562         (__initstate): Likewise.
21563         (__setstate): Likewise.
21564         * stdlib/random_r.c (__srandom_r): Likewise.
21565         (__setstate_r): Likewise.
21566         (__random_r): Likewise.
21567         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21568         * stdlib/setcontext.c (setcontext): Likewise.
21569         * stdlib/setenv.c (setenv): Likewise.
21570         (unsetenv): Likewise.
21571         * stdlib/srand48.c (srand48): Likewise.
21572         * stdlib/srand48_r.c (__srand48_r): Likewise.
21573         * stdlib/swapcontext.c (swapcontext): Likewise.
21574         * stdlib/system.c (__libc_system): Likewise.
21575         * stdlib/tst-strtod.c (expand): Likewise.
21576         * stdlib/tst-strtol.c (expand): Likewise.
21577         * stdlib/tst-strtoll.c (expand): Likewise.
21578         * streams/fattach.c (fattach): Likewise.
21579         * streams/fdetach.c (fdetach): Likewise.
21580         * streams/getmsg.c (getmsg): Likewise.
21581         * streams/isastream.c (isastream): Likewise.
21582         * string/ffs.c (__ffs): Likewise.
21583         * string/ffsll.c (ffsll): Likewise.
21584         * string/memcmp.c (memcmp_common_alignment): Likewise.
21585         (memcmp_not_common_alignment): Likewise.
21586         (MEMCMP): Likewise.
21587         * string/memcpy.c (memcpy): Likewise.
21588         * string/memmove.c (MEMMOVE): Likewise.
21589         * string/memset.c (memset): Likewise.
21590         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21591         * string/strchrnul.c (STRCHRNUL): Likewise.
21592         * string/strerror.c (strerror): Likewise.
21593         * string/strndup.c (__strndup): Likewise.
21594         * string/strverscmp.c (__strverscmp): Likewise.
21595         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21596         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21597         (clnttcp_freeres): Likewise.
21598         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21599         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21600         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21601         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21602         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21603         (xdr_callhdr): Likewise.
21604         * sunrpc/rpcinfo.c (udpping): Likewise.
21605         (tcpping): Likewise.
21606         (pstatus): Likewise.
21607         (pmapdump): Likewise.
21608         (brdcst): Likewise.
21609         (deletereg): Likewise.
21610         (getprognum): Likewise.
21611         (getvers): Likewise.
21612         (get_inet_address): Likewise.
21613         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21614         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21615         (svcudp_stat): Likewise.
21616         (svcudp_recv): Likewise.
21617         (svcudp_reply): Likewise.
21618         (svcudp_getargs): Likewise.
21619         (svcudp_freeargs): Likewise.
21620         (svcudp_destroy): Likewise.
21621         * sunrpc/xdr.c (xdr_bytes): Likewise.
21622         (xdr_netobj): Likewise.
21623         (xdr_string): Likewise.
21624         (xdr_wrapstring): Likewise.
21625         * sunrpc/xdr_float.c (xdr_float): Likewise.
21626         (xdr_double): Likewise.
21627         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21628         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21629         * sysvipc/ftok.c (ftok): Likewise.
21630         * sysvipc/msgctl.c (msgctl): Likewise.
21631         * sysvipc/msgget.c (msgget): Likewise.
21632         * sysvipc/msgrcv.c (msgrcv): Likewise.
21633         * sysvipc/msgsnd.c (msgsnd): Likewise.
21634         * sysvipc/semget.c (semget): Likewise.
21635         * sysvipc/semop.c (semop): Likewise.
21636         * sysvipc/shmat.c (shmat): Likewise.
21637         * sysvipc/shmctl.c (shmctl): Likewise.
21638         * sysvipc/shmdt.c (shmdt): Likewise.
21639         * sysvipc/shmget.c (shmget): Likewise.
21640         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21641         * termios/speed.c (cfgetospeed): Likewise.
21642         (cfgetispeed): Likewise.
21643         (cfsetospeed): Likewise.
21644         (cfsetispeed): Likewise.
21645         * termios/tcflow.c (tcflow): Likewise.
21646         * termios/tcflush.c (tcflush): Likewise.
21647         * termios/tcgetattr.c (__tcgetattr): Likewise.
21648         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21649         * termios/tcgetsid.c (tcgetsid): Likewise.
21650         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21651         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21652         * time/adjtime.c (__adjtime): Likewise.
21653         * time/dysize.c (dysize): Likewise.
21654         * time/ftime.c (ftime): Likewise.
21655         * time/getitimer.c (__getitimer): Likewise.
21656         * time/gettimeofday.c (__gettimeofday): Likewise.
21657         * time/gmtime.c (__gmtime_r): Likewise.
21658         (gmtime): Likewise.
21659         * time/localtime.c (__localtime_r): Likewise.
21660         (localtime): Likewise.
21661         * time/offtime.c (__offtime): Likewise.
21662         * time/settimeofday.c (__settimeofday): Likewise.
21663         * time/stime.c (stime): Likewise.
21664         * time/strftime_l.c (tm_diff): Likewise.
21665         (iso_week_days): Likewise.
21666         * time/strptime.c (strptime): Likewise.
21667         * time/time.c (time): Likewise.
21668         * time/timespec_get.c (timespec_get): Likewise.
21669         * time/tzset.c (tzset_internal): Likewise.
21670         (compute_change): Likewise.
21671         (__tz_compute): Likewise.
21672         * wcsmbs/btowc.c (__btowc): Likewise.
21673         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21674         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21675         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21676         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21677         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21678         * wcsmbs/wcscat.c (__wcscat): Likewise.
21679         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21680         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21681         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21682         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21683         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21684         * wcsmbs/wcslen.c (__wcslen): Likewise.
21685         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21686         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21687         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21688         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21689         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21690         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21691         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21692         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21693         * wcsmbs/wcstok.c (wcstok): Likewise.
21694         * wcsmbs/wctob.c (wctob): Likewise.
21695         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21696         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21697         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21698         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21699         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21700         * wcsmbs/wmemset.c (__wmemset): Likewise.
21701         * wctype/wcfuncs.c (__towlower): Likewise.
21702         (__towupper): Likewise.
21704         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21705         (lll_unlock_elision): Add adapt_count parameter.
21707 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21709         * sysdeps/nptl/configure.ac: Do not give errors based on the
21710         results of top-level configure tests.
21711         * sysdeps/nptl/configure: Regenerated.
21713         * configure.ac (libc_cv_Bgroup): Remove configure test.
21714         * configure: Regenerated.
21715         * config.make.in (have-Bgroup): Remove variable.
21717         * configure.ac (sizeof_long_double): Remove configure test.
21718         * configure: Regenerated.
21719         * config.make.in (sizeof-long-double): Remove variable.
21721         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21722         * configure: Regenerated.
21723         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21724         variable.
21725         (exceptions): Likewise.
21726         * sysdeps/arm/configure: Regenerated.
21727         * config.make.in (exceptions): Remove variable.
21728         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21729         $(exceptions).
21730         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21731         (CFLAGS-vdprintf_chk.c): Likewise.
21732         (CFLAGS-printf_chk.c): Likewise.
21733         (CFLAGS-fprintf_chk.c): Likewise.
21734         (CFLAGS-vprintf_chk.c): Likewise.
21735         (CFLAGS-vfprintf_chk.c): Likewise.
21736         (CFLAGS-gets_chk.c): Likewise.
21737         (CFLAGS-fgets_chk.c): Likewise.
21738         (CFLAGS-fgets_u_chk.c): Likewise.
21739         (CFLAGS-fread_chk.c): Likewise.
21740         (CFLAGS-fread_u_chk.c): Likewise.
21741         (CFLAGS-wprintf_chk.c): Likewise.
21742         (CFLAGS-fwprintf_chk.c): Likewise.
21743         (CFLAGS-vwprintf_chk.c): Likewise.
21744         (CFLAGS-vfwprintf_chk.c): Likewise.
21745         (CFLAGS-fgetws_chk.c): Likewise.
21746         (CFLAGS-fgetws_u_chk.c): Likewise.
21747         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21748         (CFLAGS-fputc.c): Likewise.
21749         (CFLAGS-fputwc.c): Likewise.
21750         (CFLAGS-freopen64.c): Likewise.
21751         (CFLAGS-freopen.c): Likewise.
21752         (CFLAGS-fseek.c): Likewise.
21753         (CFLAGS-fseeko64.c): Likewise.
21754         (CFLAGS-fseeko.c): Likewise.
21755         (CFLAGS-ftello64.c): Likewise.
21756         (CFLAGS-ftello.c): Likewise.
21757         (CFLAGS-fwide.c): Likewise.
21758         (CFLAGS-genops.c): Likewise.
21759         (CFLAGS-getc.c): Likewise.
21760         (CFLAGS-getchar.c): Likewise.
21761         (CFLAGS-getwc.c): Likewise.
21762         (CFLAGS-getwchar.c): Likewise.
21763         (CFLAGS-iofclose.c): Likewise.
21764         (CFLAGS-iofflush.c): Likewise.
21765         (CFLAGS-iofgetpos64.c): Likewise.
21766         (CFLAGS-iofgetpos.c): Likewise.
21767         (CFLAGS-iofgets.c): Likewise.
21768         (CFLAGS-iofgetws.c): Likewise.
21769         (CFLAGS-iofputs.c): Likewise.
21770         (CFLAGS-iofputws.c): Likewise.
21771         (CFLAGS-iofread.c): Likewise.
21772         (CFLAGS-iofsetpos64.c): Likewise.
21773         (CFLAGS-iofsetpos.c): Likewise.
21774         (CFLAGS-ioftell.c): Likewise.
21775         (CFLAGS-iofwrite.c): Likewise.
21776         (CFLAGS-iogetdelim.c): Likewise.
21777         (CFLAGS-iogetline.c): Likewise.
21778         (CFLAGS-iogets.c): Likewise.
21779         (CFLAGS-iogetwline.c): Likewise.
21780         (CFLAGS-ioputs.c): Likewise.
21781         (CFLAGS-ioseekoff.c): Likewise.
21782         (CFLAGS-ioseekpos.c): Likewise.
21783         (CFLAGS-iosetbuffer.c): Likewise.
21784         (CFLAGS-iosetvbuf.c): Likewise.
21785         (CFLAGS-ioungetc.c): Likewise.
21786         (CFLAGS-ioungetwc.c): Likewise.
21787         (CFLAGS-oldfileops.c): Likewise.
21788         (CFLAGS-oldiofclose.c): Likewise.
21789         (CFLAGS-oldiofgetpos64.c): Likewise.
21790         (CFLAGS-oldiofgetpos.c): Likewise.
21791         (CFLAGS-oldiofsetpos64.c): Likewise.
21792         (CFLAGS-oldiofsetpos.c): Likewise.
21793         (CFLAGS-peekc.c): Likewise.
21794         (CFLAGS-putc.c): Likewise.
21795         (CFLAGS-putchar.c): Likewise.
21796         (CFLAGS-putwc.c): Likewise.
21797         (CFLAGS-putwchar.c): Likewise.
21798         (CFLAGS-rewind.c): Likewise.
21799         (CFLAGS-wfileops.c): Likewise.
21800         (CFLAGS-wgenops.c): Likewise.
21801         (CFLAGS-oldiofopen.c): Likewise.
21802         (CFLAGS-iofopen.c): Likewise.
21803         (CFLAGS-iofopen64.c): Likewise.
21804         (CFLAGS-oldtmpfile.c): Likewise.
21805         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21806         (CFLAGS-fprintf.c): Likewise.
21807         (CFLAGS-printf.c): Likewise.
21808         (CFLAGS-vfwprintf.c): Likewise.
21809         (CFLAGS-vfscanf.c): Likewise.
21810         (CFLAGS-vfwscanf.c): Likewise.
21811         (CFLAGS-fscanf.c): Likewise.
21812         (CFLAGS-scanf.c): Likewise.
21813         (CFLAGS-isoc99_vfscanf.c): Likewise.
21814         (CFLAGS-isoc99_vscanf.c): Likewise.
21815         (CFLAGS-isoc99_fscanf.c): Likewise.
21816         (CFLAGS-isoc99_scanf.c): Likewise.
21817         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21818         (CFLAGS-isoc99_fwscanf.c): Likewise.
21819         (CFLAGS-isoc99_vwscanf.c): Likewise.
21820         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21822         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21823         after mkstemp64.
21824         * login/tst-utmp.c (do_prepare): Likewise.
21825         * rt/tst-aio.c (do_prepare): Likewise.
21826         * rt/tst-aio64.c (do_prepare): Likewise.
21828 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21830         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21831         (__lll_lock_elision): Remove adapt_count decrement...
21832         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21833         (__lll_trylock_elision): Likewise.
21834         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21835         (__lll_unlock_elision): ... to here. And utilize
21836         new adapt_count parameter.
21837         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21838         (__lll_unlock_elision): Update to include adapt_count
21839         parameter.
21840         (lll_unlock_elision): Pass pointer to adapt_count
21841         variable.
21843 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21845         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21846         Add elision adapt_count parameter to list of arguments.
21847         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21848         (lll_unlock_elision): Update with new parameter list
21849         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21850         (lll_unlock_elision): Likewise.
21851         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21852         (lll_unlock_elision): Likewise.
21854 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21856         [BZ #19122]
21857         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21858         attribute_hidden.
21860         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21861         attribute_hidden.
21862         [IS_IN (rtld)] (__strdup): Likewise.
21863         [IS_IN (rtld)] (__strerror_r): Likewise.
21864         [IS_IN (rtld)] (__strsep_g): Likewise.
21865         [IS_IN (rtld)] (memchr): Likewise.
21866         [IS_IN (rtld)] (memcmp): Likewise.
21867         [IS_IN (rtld)] (memcpy): Likewise.
21868         [IS_IN (rtld)] (memmove): Likewise.
21869         [IS_IN (rtld)] (memset): Likewise.
21870         [IS_IN (rtld)] (rawmemchr): Likewise.
21871         [IS_IN (rtld)] (stpcpy): Likewise.
21872         [IS_IN (rtld)] (strchr): Likewise.
21873         [IS_IN (rtld)] (strcmp): Likewise.
21874         [IS_IN (rtld)] (strlen): Likewise.
21875         [IS_IN (rtld)] (strnlen): Likewise.
21876         [IS_IN (rtld)] (strsep): Likewise.
21878         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21879         attribute_hidden.
21880         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21882         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21883         attribute_hidden.
21884         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21886         * include/setjmp.h (__longjmp): Add attribute_hidden.
21887         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21889         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21890         Add attribute_hidden.
21892         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21893         [IS_IN (rtld)] (__open): Likewise.
21894         [IS_IN (rtld)] (__fcntl): Likewise.
21896         * include/dirent.h (__opendirat): Add attribute_hidden.
21897         (__getdents): Likewise.
21898         (__getdents64): Likewise.
21899         (__alloc_dir): Likewise.
21900         [IS_IN (rtld)] (__closedir): Likewise.
21901         [IS_IN (rtld)] (__fdopendir): Likewise.
21902         [IS_IN (rtld)] (__readdir): Likewise.
21903         [IS_IN (rtld)] (__readdir64): Likewise.
21904         [IS_IN (rtld)] (__rewinddir): Likewise.
21906         * include/dlfcn.h (_dl_catch_error): Moved to ...
21907         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21908         attribute_hidden.
21910         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21911         (_itoa_word): Likewise.
21913         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21914         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21915         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21916         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21917         (_dl_higher_prime_number): Likewise.
21918         (_dl_debug_printf_c): Likewise.
21919         (_dl_signal_cerror): Likewise.
21920         (_dl_receive_error): Likewise.
21921         (_dl_reloc_bad_type): Likewise.
21922         (_dl_resolve_conflicts): Likewise.
21923         (_dl_check_all_versions): Likewise.
21924         (_dl_check_map_versions): Likewise.
21925         (_dl_sort_fini): Likewise.
21926         (_dl_debug_initialize): Likewise.
21927         (_dl_init_paths): Likewise.
21928         (_dl_show_auxv): Likewise.
21929         (_dl_next_ld_env_entry): Likewise.
21930         (_dl_important_hwcaps): Likewise.
21931         (_dl_load_cache_lookup): Likewise.
21932         (_dl_update_slotinfo): Likewise.
21933         (_dl_show_scope): Likewise.
21935         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21936         attribute_hidden.
21937         (_wordcopy_fwd_dest_aligned): Likewise.
21938         (_wordcopy_bwd_aligned): Likewise.
21939         (_wordcopy_bwd_dest_aligned): Likewise.
21941         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21942         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21943         Likewise.
21944         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21945         Likewise.
21946         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21948 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21950         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21951         GCC 5 requirement.
21953 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21955         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21956         test.
21957         * sysdeps/i386/configure: Regenerated.
21958         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21959         code unconditional.
21961         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21962         test.
21963         (libc_cv_asm_popsection_directive): Likewise.
21964         * configure: Regenerated.
21965         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21966         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21967         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21968         (__make_section_unallocated): Make definition unconditional.
21969         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21970         Remove conditional definition.
21971         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21972         (__make_section_unallocated): Likewise.
21974         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21975         * configure: Regenerated.
21976         * config.make.in (static-libgcc): Remove variable.
21977         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21978         $(static-libgcc).
21979         (build-module-helper): Likewise.
21981         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21982         * configure: Regenerated.
21984 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21986         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21987         (struct char_buffer): New type.
21988         (char_buffer_start, char_buffer_size, char_buffer_error)
21989         (char_buffer_rewind, char_buffer_add): New functions.
21990         (ADDW): Remove macro, replaced by the char_buffer_add function.
21991         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21992         of extend_alloca.  Make control flow more explicit.
21994 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21996         [BZ #19137]
21997         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21998         Add -fomit-frame-pointer.
21999         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
22001 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22003         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
22004         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
22005         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
22006         only if !__GNUC_PREREQ (5,0).
22007         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
22008         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
22009         (INTERNAL_SYSCALL_NCS): Likewise.
22010         (LOADREGS_0): New macro for GCC 5.
22011         (ASMARGS_0): Likewise.
22012         (LOADREGS_1): Likewise.
22013         (ASMARGS_1): Likewise.
22014         (LOADREGS_2): Likewise.
22015         (ASMARGS_2): Likewise.
22016         (LOADREGS_3): Likewise.
22017         (ASMARGS_3): Likewise.
22018         (LOADREGS_4): Likewise.
22019         (ASMARGS_4): Likewise.
22020         (LOADREGS_5): Likewise.
22021         (ASMARGS_5): Likewise.
22022         (LOADREGS_6): Likewise.
22023         (ASMARGS_6): Likewise.
22025 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
22027         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
22028         -fomit-frame-pointer.
22029         (CFLAGS-mmap64.c): Likewise.
22030         (CFLAGS-semtimedop.c): Likewise.
22031         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
22032         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
22033         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
22034         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
22036 2015-10-15  Florian Weimer  <fweimer@redhat.com>
22038         [BZ #18928]
22039         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
22040         _dl_pointer_guard member.
22041         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
22042         initializer.
22043         (security_init): Always set up pointer guard.
22044         (process_envvars): Do not process LD_POINTER_GUARD.
22046 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
22048         [BZ #19134]
22049         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
22050         (.LC2): Likewise.
22051         (.LC3): Likewise.
22052         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22054 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22056         [BZ #19129]
22057         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22058         r0 and r1.
22060 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22062         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22064 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22066         * include/stap-probe.h: Fix macro definition formatting.
22068 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22070         [BZ #19074]
22071         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22072         load and store num_ifs.
22074 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22076         [BZ #18822]
22077         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22078         (__sched_getaffinity_new): Add libc_hidden_proto and
22079         libc_hidden_def.
22081 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22083         [BZ #19007]
22084         * scripts/localplt.awk: Also allow GOT references.
22085         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22086         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22087         with "+ REL R_386_GLOB_DAT".
22088         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22089         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22091 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22093         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22094         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22095         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22096         Likewise.
22097         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22098         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22099         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22100         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22101         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22102         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22103         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22104         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22105         Likewise.
22106         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22108 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22110         [BZ #19125]
22111         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22112         <math_private.h> and <stdint.h>.
22113         (__llround): Avoid conversions to and from long long int, and
22114         subtractions, where those might raise spurious exceptions.
22115         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22116         <math_private.h> and <stdint.h>.
22117         (__llroundf): Avoid conversions to and from long long int, and
22118         subtractions, where those might raise spurious exceptions.
22120 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22122         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22123         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22124         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22125         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22126         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22127         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22128         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22129         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22130         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22131         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22132         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22133         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22134         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22135         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22136         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22137         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22138         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22139         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22140         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22141         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22142         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22143         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22144         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22145         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22146         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22147         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22148         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22149         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22150         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22151         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22152         (__xstat64_conv): Likewise.
22153         (__xstat32_conv): Likewise.
22155 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22157         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22158         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22159         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22160         <sysdeps/unix/sysv/linux/sysdep.h>.
22161         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22162         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22163         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22164         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22165         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22166         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22167         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22168         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22169         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22172         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22173         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22174         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22175         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22176         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22177         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22178         (sysdep-dl-routines): Add sysdep.
22179         [$(subdir) == nptl] (libpthread-routines): Likewise.
22180         [$(subdir) == rt] (librt-routines): Likewise.
22181         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22182         PIC when branching to SYSCALL_ERROR_LABEL.
22183         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22184         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22185         <sysdeps/unix/sysv/linux/sysdep.h>.
22186         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22187         (SYSCALL_ERROR_ERRNO): Removed.
22188         (SYSCALL_ERROR_HANDLER): Changed to empty.
22189         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22190         (__syscall_error): New prototype.
22191         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22192         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22194 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22196         [BZ #19124]
22197         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22198         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22199         _dl_runtime_resolve_avx.
22200         (_dl_runtime_profile_avx512): Make it a hidden alias of
22201         _dl_runtime_profile_avx.
22203 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22205         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22206         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22207         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22208         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22210         [BZ #16422]
22211         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22212         New configure test.
22213         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22214         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22215         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22216         <math_private.h> and <stdint.h>.
22217         (__llrint): Avoid conversions to long long int where those might
22218         raise spurious exceptions.
22219         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22220         <math_private.h> and <stdint.h>.
22221         (__llrintf): Avoid conversions to long long int where those might
22222         raise spurious exceptions.
22224 2015-10-12  Andreas Schwab  <schwab@suse.de>
22226         [BZ #18969]
22227         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22228         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22229         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22230         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22231         $(gen-locales).
22232         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22233         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22234         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22235         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22236         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22237         $(gen-locales).
22238         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22239         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22240         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22241         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22242         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22243         ($(objpfx)tst-ftell-active-handler.out)
22244         ($(objpfx)tst-ftell-append.out)
22245         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22246         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22247         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22248         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22249         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22250         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22251         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22252         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22253         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22254         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22255         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22256         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22257         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22258         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22259         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22260         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22261         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22262         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22263         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22264         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22265         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22266         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22267         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22268         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22269         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22270         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22271         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22272         $(gen-locales).
22273         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22274         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22275         $(gen-locales).
22276         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
22277         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22278         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22279         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22280         $(gen-locales).
22281         * libio/tst_wprintf2.c (main): Use explicit locale.
22282         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22284 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22286         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22287         __msg_sig_post.
22288         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22290 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22292         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22293         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22295         * sysdeps/arm/libm-test-ulps: Regenerated.
22297         [BZ #15470]
22298         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22300         [BZ #16399]
22301         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22302         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22303         and <fix-fp-int-convert-overflow.h>.
22304         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22305         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22306         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22307         and <fix-fp-int-convert-overflow.h>.
22308         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22309         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22310         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22311         <fix-fp-int-convert-overflow.h>.
22312         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22313         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22314         * sysdeps/ieee754/dbl-64/s_lround.c: Include
22315         <fix-fp-int-convert-overflow.h>.
22316         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22317         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22318         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22319         and <fix-fp-int-convert-overflow.h>.
22320         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22321         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22322         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22323         <limits.h> and <fix-fp-int-convert-overflow.h>.
22324         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22325         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22326         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22327         and <fix-fp-int-convert-overflow.h>.
22328         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22329         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22330         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22331         and <fix-fp-int-convert-overflow.h>.
22332         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22333         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22334         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22336 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22338         [BZ #18589]
22339         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22340         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22341         $(gen-locales).
22343 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22344             Phil Blundell <pb@pbcl.net>
22346         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22347         * nptl/tst-cancel26.c: New file.
22348         * nptl/tst-cancel27.c: Likewise.
22350 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22352         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22353         __ILP32__ isn't defined.
22354         (lrint): Likewise.
22355         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22356         (lrintf): Likewise.
22357         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22358         (lrintl): Likewise.
22359         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22360         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22361         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22363 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22365         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22366         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22368         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22369         file.
22370         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22371         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22373 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22375         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22376         configure test.
22377         * sysdeps/i386/configure: Regenerated.
22378         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22379         configure test.
22380         * sysdeps/x86_64/configure: Regenerated.
22381         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22382         Make code unconditional.
22384         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22385         test.
22386         * sysdeps/i386/configure: Regenerated.
22387         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22388         test.
22389         * sysdeps/x86_64/configure: Regenerated.
22390         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22391         Make code unconditional.
22392         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22393         Likewise.
22394         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22395         Likewise.
22396         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22397         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22398         code unconditional.
22399         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22400         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22401         code unconditional.
22402         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22403         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22404         code unconditional.
22405         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22406         code unconditional.
22407         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22408         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22409         code unconditional.
22410         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22411         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22412         code unconditional.
22413         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22414         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22415         code unconditional.
22416         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22417         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22418         code unconditional.
22419         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22420         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22422         [BZ #19095]
22423         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22424         mantissa to long int before shifting left.
22426 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22428         [BZ #19094]
22429         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22430         <limits.h>.
22431         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22432         when result overflows but exception would not result from cast.
22433         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22434         <limits.h>.
22435         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22436         when result overflows but exception would not result from cast.
22437         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22438         <limits.h>.
22439         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22440         when result overflows but exception would not result from cast.
22441         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22442         <limits.h>.
22443         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22444         when result overflows but exception would not result from cast.
22445         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22446         <limits.h>.
22447         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22448         when result overflows but exception would not result from cast.
22449         * math/libm-test.inc (lrint_test_data): Add more tests.
22450         (llrint_test_data): Likewise.
22452 2015-10-08  Roland McGrath  <roland@hack.frob.com>
22454         [BZ #18872]
22455         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22456         Move out from under [$(run-built-tests) = yes] conditional.
22457         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22458         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22460 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
22462         [BZ #18589]
22463         * string/Makefile (tests): Add bug-strcoll2.
22464         (LOCALES): Add cs_CZ.UTF-8.
22465         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22467         [BZ #18589]
22468         * string/bug-strcoll2.c: New file.
22469         * locale/categories.def: Revert commit
22470         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22471         * locale/langinfo.h: Likewise.
22472         * locale/localeinfo.h: Likewise.
22473         * locale/C-collate.c: Likewise.
22474         * locale/programs/ld-collate.c (collate_output): Likewise.
22475         * string/strcoll_l.c (STRDIFF): Likewise.
22476         (STRCOLL): Likewise.
22477         * wcsmbs/wcscoll_l.c: Likewise.
22479 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22481         * math/libm-test.inc (lround_test_data): Do not expect the absence
22482         of "inexact" for some tests with non-integer arguments.
22483         (llround_test_data): Likewise.
22485         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22486         test.
22487         (libc_cv_cc_sse2avx): Likewise.
22488         * sysdeps/i386/configure: Regenerated.
22489         * sysdeps/i386/i686/multiarch/Makefile
22490         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22491         [$(subdir) = math].
22492         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22493         code unconditional.
22494         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22495         Likewise.
22496         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22497         Likewise.
22498         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22499         Likewise.
22500         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22501         test.
22502         (libc_cv_cc_sse2avx): Likewise.
22503         * sysdeps/x86_64/configure: Regenerated.
22504         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22505         unconditional.
22506         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22507         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22508         unconditional.
22509         (_dl_runtime_profile)
22510         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22511         conditional code.
22512         * sysdeps/x86_64/fpu/multiarch/Makefile
22513         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22514         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22515         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22516         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22517         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22518         * sysdeps/x86_64/fpu/multiarch/e_log.c
22519         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22520         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22521         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22522         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22523         Likewise.
22524         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22525         Likewise.
22526         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22527         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22528         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22529         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22530         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22531         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22532         (HAVE_SSE2AVX_SUPPORT): Likewise.
22534 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22536         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22537         instead of #pragma optimize.
22539 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22541         [BZ #17195]
22542         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22543         as is similarly done in systrim and _int_free already.
22545 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22547         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22549 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22551         [BZ #19088]
22552         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22553         <limits.h>.
22554         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22555         overflows but exception would not result from cast.
22556         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22557         and <limits.h>.
22558         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22559         overflows but exception would not result from cast.
22560         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22561         <limits.h>.
22562         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22563         overflows but exception would not result from cast.
22564         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22565         <limits.h>.
22566         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22567         overflows but exception would not result from cast.
22568         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22569         <limits.h>.
22570         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22571         overflows but exception would not result from cast.
22572         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22573         <limits.h>.
22574         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22575         overflows but exception would not result from cast.
22576         * math/libm-test.inc (lround_test_data): Add more tests.
22577         (llround_test_data): Likewise.
22579 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22581         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22582         (CFLAGS-ialloc.c): Ditto.
22583         (CFLAGS-scheck.c): Ditto.
22585 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22587         [BZ #19086]
22588         * manual/filesys.texi (Storage Allocation): Fix argument order for
22589         posix_fallocate64.
22591 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22593         [BZ #19085]
22594         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22595         exponent below 48 inside case for non-overflowing exponent.
22596         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22598 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22600         * iconvdata/cp737.h (from_idx): Add const.
22601         * iconvdata/cp775.h (from_idx): Likewise.
22603 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22605         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22606         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22607         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22609         [BZ #19079]
22610         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22611         file, conditioned on [!_LP64].
22612         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22613         [!_LP64] (__lround): Do not define as function or alias.
22614         [!_LP64] (lround): Likewise.
22615         [!_LP64] (__lroundl): Likewise.
22616         [!_LP64] (lroundl): Likewise.
22617         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22618         macro.
22619         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22620         Likewise.
22622 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22624         * math/libm-test.inc (lrint_test_data): Add more tests.
22625         (llrint_test_data): Likewise.
22626         (lround_test_data): Likewise.
22627         (llround_test_data): Likewise.
22629         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22630         (llrint_test_data): Add tests used for lrint.
22632         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22633         test.
22634         * sysdeps/i386/configure: Regenerated.
22635         * sysdeps/i386/i686/multiarch/Makefile
22636         [$(config-cflags-sse4) = yes]: Make code unconditional.
22637         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22638         Likewise.
22639         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22640         Likewise.
22641         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22642         test.
22643         * sysdeps/x86_64/configure: Regenerated.
22644         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22645         Make code unconditional.
22646         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22647         Likewise.
22648         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22649         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22651         * scripts/rpm2dynsym.sh: Remove file.
22653 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22655         * configure.ac (libc_cv_cxx_thread_local): Define.
22656         * configure: Regenerate.
22657         * config.make.in (have-cxx-thread_local): Define.
22658         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22659         (LDLIBS-tst-thread_local1): Define.
22660         (tests): Add tst-thread_local1.
22661         [have-cxx-thread_local != yes] (tests-unsupported): Add
22662         tst-thread_local1.
22663         * nptl/tst-thread_local1.cc: New file.
22665 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22667         [BZ #19078]
22668         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22669         (u_thres): Likewise.
22670         (__expl): Determine whether to call __kernel_standard_l based on
22671         value of result, not argument.
22673         * math/libm-test.inc (scalb_test_data): Add more expectations for
22674         the "inexact" exception.
22676         [BZ #19077]
22677         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22678         0.0L for argument 1.0L.
22680         [BZ #19076]
22681         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22682         constant 0.0L when computing infinite result.
22684 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22686         [BZ #10432]
22687         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22688         malloc_usable_size.
22690 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22692         [BZ #19018]
22693         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22694         Mangle function pointer before storing it.
22695         (__call_tls_dtors): Demangle function pointer before calling it.
22697 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22699         [BZ #19012]
22700         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22701         Clean up on failure.
22703 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22705         [BZ #19071]
22706         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22707         long int variable to store possibly incremented high part of
22708         mantissa.
22709         * math/libm-test.inc (lround_test_data): Add tests used for
22710         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22711         for tests requiring 64-bit long.  Do not condition tests on
22712         [TEST_FLOAT] unnecessarily.
22713         (llround_test_data): Add tests used for lround.  Add another
22714         expectation for the "inexact" exception.  Do not condition tests
22715         on [TEST_FLOAT] unnecessarily.
22717         [BZ #887]
22718         [BZ #19049]
22719         [BZ #19050]
22720         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22721         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22722         <fix-int-fp-convert-zero.h>.
22723         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22724         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22725         <fix-int-fp-convert-zero.h>.
22726         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22727         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22728         <fix-int-fp-convert-zero.h>.
22729         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22730         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22731         <fix-int-fp-convert-zero.h>.
22732         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22733         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22734         <fix-int-fp-convert-zero.h>.
22735         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22736         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22737         <fix-int-fp-convert-zero.h>.
22738         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22739         * sysdeps/ieee754/flt-32/s_erff.c: Include
22740         <fix-int-fp-convert-zero.h>.
22741         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22742         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22743         <fix-int-fp-convert-zero.h>.
22744         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22745         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22746         <fix-int-fp-convert-zero.h>.
22747         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22749         <fix-int-fp-convert-zero.h>.
22750         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22751         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22752         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22753         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22754         file.
22755         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22757 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22759         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22761 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22763         [BZ #19059]
22764         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22765         overflowing computation.
22766         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22767         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22768         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22769         Likewise.
22770         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22771         Likewise.
22772         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22773         Likewise.
22774         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22775         Likewise.
22776         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22777         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22778         Likewise.
22779         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22780         Likewise.
22781         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22783         * nss/rewrite_field.c (__nss_rewrite_field): Use
22784         internal_function.
22785         * nss/valid_field.c (__nss_valid_field): Likewise.
22786         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22788 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22790         [BZ #18724]
22791         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22792         (__nss_invalid_field_characters, __nss_valid_field)
22793         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22794         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22795         tst-field.c: New file.
22796         * nss/Makefile (routines): Add valid_field, rewrite_field.
22797         (tests-static): Define unconditionally.
22798         (tests): Include tests-static.
22799         [build-static-nss] (tests-static): Use append.
22800         [build-static-nss] (tests): Remove modification.
22801         * nss/getent.c (print_group): Call putgrent.  Report error.
22802         (print_gshadow): Call putsgent.  Report error.
22803         (print_passwd): Call putpwent.  Report error.
22804         (print_shadow): Call putspent.  Report error.
22805         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22806         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22807         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22808         name, password, directory, shell fields for valid syntax.  Rewrite
22809         GECOS field to match syntax.
22810         * pwd/Makefile (tests): Add tst-putpwent.
22811         * pwd/tst-putpwent.c: New file.
22812         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22813         Check grName, grpasswd, gr_mem fields for valid syntax.
22814         Change loop variable i to size_t.
22815         * grp/Makefile (tests): Add tst-putgrent.
22816         * grp/tst-putgrent.c: New file.
22817         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22818         valid syntax.
22819         * shadow/Makefile (tests): Add tst-putspent.
22820         * shadow/tst-putspent.c: New file.
22821         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22822         sg_mem fields for valid syntax.
22823         * gshadow/Makefile (tests): Add tst-putsgent.
22824         * gshadow/tst-putsgent.c: New file.
22826 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22828         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22829         assembly instructions.
22831 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22833         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22834         prefix from operands.
22836 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22838         [BZ #16347]
22839         [BZ #19046]
22840         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22841         <libc-internal.h>.
22842         (MAXLGM): Do not use diagnostic control macros.
22843         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22844         threshold for ldbl-128ibm.
22845         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22846         instead of multiplying by log then subtracting.
22847         * math/auto-libm-test-in: Add more tests of lgamma.
22848         * math/auto-libm-test-out: Regenerated.
22850         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22851         (TYPE_HEX_DIG): Likewise.
22852         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22853         precisions when printing floating-point numbers.
22854         (check_float_internal): Likewise.
22856 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22858         [BZ #16620]
22859         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22860         of log (10) rounded downward to 48 bits.
22861         (log10_low): Use corresponding low part of log (10).
22863         [BZ #19032]
22864         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22865         compute result as (x - x) / (x - x) not as 0 / 0.
22866         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22867         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22869         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22870         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22871         and expm1.
22872         * math/auto-libm-test-out: Regenerated.
22873         * math/libm-test.inc (acos_test_data): Add more tests.
22874         (asin_test_data): Likewise.
22875         (asinh_test_data): Likewise.
22876         (atan_test_data): Likewise.
22877         (atanh_test_data): Likewise.
22878         (atan2_test_data): Likewise.
22879         (cbrt_test_data): Likewise.
22880         (ceil_test_data): Likewise.
22881         (copysign_test_data): Likewise.
22882         (cos_test_data): Likewise.
22883         (cosh_test_data): Likewise.
22884         (erf_test_data): Likewise.
22885         (erfc_test_data): Likewise.
22886         (exp_test_data): Likewise.
22887         (exp10_test_data): Likewise.
22888         (exp2_test_data): Likewise.
22889         (expm1_test_data): Likewise.
22890         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22892 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22894         [BZ #19006]
22895         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22896         to ...
22897         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22898         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22899         to ...
22900         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22901         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22902         to ...
22903         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22904         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22905         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22906         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22907         to ...
22908         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22909         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22910         Moved to ...
22911         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22912         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22913         Moved to ...
22914         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22915         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22916         to ...
22917         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22918         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22919         Moved to ...
22920         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22921         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22922         to ...
22923         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22924         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22925         Removed.
22926         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22927         Likewise.
22928         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22929         Likewise.
22930         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22931         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22932         Likewise.
22933         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22934         Likewise.
22935         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22936         Likewise.
22937         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22938         Likewise.
22939         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22940         Likewise.
22941         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22942         Likewise.
22943         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22944         Likewise.
22945         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22946         Likewise.
22947         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22948         Likewise.
22949         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22950         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22951         Likewise.
22952         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22953         Likewise.
22954         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22955         Likewise.
22956         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22957         Likewise.
22958         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22959         Likewise.
22960         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22961         Replace ../i486/pthread_cond_timedwait.S with
22962         ../pthread_cond_timedwait.S.
22964 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22966         * math/libm-test.inc (acos_test_data): Refine expectations for
22967         errno and "inexact" exceptions.
22968         (acosh_test_data): Likewise.
22969         (asin_test_data): Likewise.
22970         (asinh_test_data): Likewise.
22971         (atan_test_data): Likewise.
22972         (atanh_test_data): Likewise.
22973         (atan2_test_data): Likewise.
22974         (cbrt_test_data): Likewise.
22975         (ceil_test_data): Likewise.
22976         (copysign_test_data): Likewise.
22977         (cosh_test_data): Likewise.
22978         (erf_test_data): Likewise.
22979         (erfc_test_data): Likewise.
22980         (exp_test_data): Likewise.
22981         (exp10_test_data): Likewise.
22982         (exp2_test_data): Likewise.
22983         (expm1_test_data): Likewise.
22984         (fabs_test_data): Likewise.
22985         (floor_test_data): Likewise.
22986         (fma_test_data): Likewise.
22987         (fmax_test_data): Likewise.
22988         (fmin_test_data): Likewise.
22989         (fmod_test_data): Likewise.
22990         (fpclassify_test_data): Likewise.
22991         (frexp_test_data): Likewise.
22992         (hypot_test_data): Likewise.
22993         (ilogb_test_data): Likewise.
22994         (isgreater_test_data): Likewise.
22995         (isgreaterequal_test_data): Likewise.
22996         (isinf_test_data): Likewise.
22997         (isless_test_data): Likewise.
22998         (islessequal_test_data): Likewise.
22999         (islessgreater_test_data): Likewise.
23000         (isnan_test_data): Likewise.
23001         (isnormal_test_data): Likewise.
23002         (issignaling_test_data): Likewise.
23003         (isunordered_test_data): Likewise.
23004         (j0_test_data): Likewise.
23005         (j1_test_data): Likewise.
23006         (jn_test_data): Likewise.
23007         (lgamma_test_data): Likewise.
23008         (lrint_test_data): Likewise.
23009         (llrint_test_data): Likewise.
23010         (log_test_data): Likewise.
23011         (log10_test_data): Likewise.
23012         (log1p_test_data): Likewise.
23013         (log2_test_data): Likewise.
23014         (logb_test_data): Likewise.
23015         (lround_test_data): Likewise.
23016         (llround_test_data): Likewise.
23017         (modf_test_data): Likewise.
23018         (nearbyint_test_data): Likewise.
23019         (nextafter_test_data): Likewise.
23020         (nexttoward_test_data): Likewise.
23021         (pow_test_data): Likewise.
23022         (remainder_test_data): Likewise.
23023         (remquo_test_data): Likewise.
23024         (rint_test_data): Likewise.
23025         (round_test_data): Likewise.
23026         (signbit_test_data): Likewise.
23027         (sinh_test_data): Likewise.
23028         (sqrt_test_data): Likewise.
23029         (tanh_test_data): Likewise.
23030         (tgamma_test_data): Likewise.
23031         (trunc_test_data): Likewise.
23032         (y0_test_data): Likewise.
23033         (y1_test_data): Likewise.
23034         (yn_test_data): Likewise.
23035         (significand_test_data): Likewise.
23037 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
23039         * manual/filesys.texi (Storage Allocation): Document that
23040         posix_fallocate emulation fails when fd is open with O_WRONLY.
23042 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
23044         [BZ #19016]
23045         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
23046         allow more cases with X^2 + Y^2 >= 0.5.
23047         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
23048         normal element in sum instead of special-casing based on values of
23049         arguments.
23050         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
23051         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
23052         -1 as normal element in sum instead of special-casing based on
23053         values of arguments.
23054         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23055         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23056         (__x2y2m1): Update comment.
23057         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23058         as normal element in sum instead of special-casing based on values
23059         of arguments.
23060         * math/s_clog.c (__clog): Handle more cases using log1p without
23061         hypot.
23062         * math/s_clog10.c (__clog10): Likewise.
23063         * math/s_clog10f.c (__clog10f): Likewise.
23064         * math/s_clog10l.c (__clog10l): Likewise.
23065         * math/s_clogf.c (__clogf): Likewise.
23066         * math/s_clogl.c (__clogl): Likewise.
23067         * math/auto-libm-test-in: Add more tests of clog and clog10.
23068         * math/auto-libm-test-out: Regenerated.
23069         * sysdeps/i386/fpu/libm-test-ulps: Update.
23070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23072 2015-09-28  Martin Sebor  <msebor@redhat.com>
23074         [BZ #18969]
23075         * string/Makefile (LOCALES): Define.
23076         (gen-locales.mk): Include.
23077         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23078         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23079         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23080         on setlocale failure.
23082 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23084         [BZ #18985]
23085         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23086         (__strftime_internal): Likewise.
23087         * time/tst-strftime.c (do_bz18985): New test.
23088         (do_test): Call it.
23090 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23092         [BZ #18956]
23093         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23094         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23095         extracting high part.
23096         * math/auto-libm-test-in: Add another test of pow.
23097         * math/auto-libm-test-out: Regenerated.
23098         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23100 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23102         [BZ #18825]
23103         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23104         New macro.
23105         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23106         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23107         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23108         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23109         DBL_NARROW_EVAL, reloading the PIC register as needed.
23110         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23111         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23112         FLT_NARROW_EVAL.  Use separate return path for case when first
23113         argument is NaN.
23114         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23115         DEFINE_LDBL_MIN.
23116         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23117         PIC register.
23118         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23119         math_check_force_underflow_nonneg.
23120         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23121         underflow for subnormal result.
23122         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23123         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23124         math_check_force_underflow_nonneg.
23125         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23126         math_check_force_underflow.
23127         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23128         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23129         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23130         DEFINE_LDBL_MIN.
23131         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23132         * math/auto-libm-test-in: Add more tests of pow.
23133         * math/auto-libm-test-out: Regenerated.
23135 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23137         * nss/bug17079.c (init_test_items): Add diagnostic for
23138         inconsistent entries.
23139         (test_buffer_size): Skip inconsistent entries.
23141 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23143         [BZ #13304]
23144         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23145         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23146         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23148         [BZ #13304]
23149         * sysdeps/microblaze/s_fma.c: New file.
23150         * sysdeps/microblaze/s_fmaf.c: Likewise.
23151         * sysdeps/microblaze/sfp-machine.h: Likewise.
23153 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23155         [BZ #17250]
23156         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23157         member.
23159 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23161         [BZ #18803]
23162         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23163         (MO): New macro.
23164         (__ieee754_hypot) [PIC]: Load PIC register.
23165         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23166         DBL_NARROW_EVAL.
23167         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23168         math_check_force_underflow_nonneg in case where result might be
23169         tiny.
23170         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23171         Likewise.
23172         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23173         Likewise.
23174         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23175         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23176         * math/auto-libm-test-in: Add more tests of hypot.
23177         * math/auto-libm-test-out: Regenerated.
23179 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23181         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23183 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23185         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23186         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23187         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23188         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23189         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23190         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23191         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23193         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23194         LOAD_PIC_REG.
23196         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23197         (FLT_CHECK_FORCE_UFLOW): Likewise.
23198         (DBL_CHECK_FORCE_UFLOW): Likewise.
23199         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23200         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23201         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23202         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23203         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23204         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23205         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23206         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23207         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23208         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23209         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23210         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23211         (flt_min): Replace with use of DEFINE_FLT_MIN.
23212         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23213         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23214         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23215         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23216         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23217         (flt_min): Replace with use of DEFINE_FLT_MIN.
23218         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23219         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23220         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23221         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23222         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23223         (flt_min): Replace with use of DEFINE_FLT_MIN.
23224         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23225         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23226         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23227         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23228         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23229         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23230         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23231         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23232         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23233         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23234         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23235         (flt_min): Replace with use of DEFINE_FLT_MIN.
23236         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23237         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23238         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23239         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23240         main computation.
23241         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23242         (flt_min): Replace with use of DEFINE_FLT_MIN.
23243         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23244         main computation.
23245         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23246         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23247         (MO): New macro.
23248         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23249         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23250         (flt_min): Replace with use of DEFINE_FLT_MIN.
23251         (MO): New macro.
23252         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23253         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23254         (__log1pl): Use MO.
23256         [BZ #19003]
23257         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23258         $(config-cflags-nofma).
23260 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23262         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23264 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23266         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23267         (TWO127): Likewise.
23269         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23270         (min_of_type): Likewise.
23271         (math_check_force_underflow): Likewise.
23272         (math_check_force_underflow_nonneg): Likewise.
23273         (math_check_force_underflow_complex): Likewise.
23274         * math/e_exp2l.c (__ieee754_exp2l): Use
23275         math_check_force_underflow_nonneg.
23276         * math/k_casinh.c (__kernel_casinh): Likewise.
23277         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23278         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23279         * math/s_catan.c (__catan): Use
23280         math_check_force_underflow_complex.
23281         * math/s_catanf.c (__catanf): Likewise.
23282         * math/s_catanh.c (__catanh): Likewise.
23283         * math/s_catanhf.c (__catanhf): Likewise.
23284         * math/s_catanhl.c (__catanhl): Likewise.
23285         * math/s_catanl.c (__catanl): Likewise.
23286         * math/s_ccosh.c (__ccosh): Likewise.
23287         * math/s_ccoshf.c (__ccoshf): Likewise.
23288         * math/s_ccoshl.c (__ccoshl): Likewise.
23289         * math/s_cexp.c (__cexp): Likewise.
23290         * math/s_cexpf.c (__cexpf): Likewise.
23291         * math/s_cexpl.c (__cexpl): Likewise.
23292         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23293         * math/s_clog10.c (__clog10): Likewise.
23294         * math/s_clog10f.c (__clog10f): Likewise.
23295         * math/s_clog10l.c (__clog10l): Likewise.
23296         * math/s_clogf.c (__clogf): Likewise.
23297         * math/s_clogl.c (__clogl): Likewise.
23298         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23299         * math/s_csinf.c (__csinf): Likewise.
23300         * math/s_csinh.c (__csinh): Likewise.
23301         * math/s_csinhf.c (__csinhf): Likewise.
23302         * math/s_csinhl.c (__csinhl): Likewise.
23303         * math/s_csinl.c (__csinl): Likewise.
23304         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23305         * math/s_csqrtf.c (__csqrtf): Likewise.
23306         * math/s_csqrtl.c (__csqrtl): Likewise.
23307         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23308         * math/s_ctanf.c (__ctanf): Likewise.
23309         * math/s_ctanh.c (__ctanh): Likewise.
23310         * math/s_ctanhf.c (__ctanhf): Likewise.
23311         * math/s_ctanhl.c (__ctanhl): Likewise.
23312         * math/s_ctanl.c (__ctanl): Likewise.
23313         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23314         instead of volatile.
23315         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23316         math_check_force_underflow.
23317         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23318         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23319         volatile when forcing underflow.
23320         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23321         math_check_force_underflow_nonneg.
23322         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23323         Likewise.
23324         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23325         math_check_force_underflow.
23326         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23327         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23328         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23329         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23330         math_check_force_underflow_nonneg.
23331         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23332         math_check_force_underflow.
23333         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23334         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23335         instead of volatile.
23336         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23337         math_check_force_underflow.
23338         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23339         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23340         math_check_force_underflow_nonneg.
23341         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23342         math_check_force_underflow.
23343         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23344         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23345         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23346         math_check_force_underflow_nonneg.
23347         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23348         Likewise.
23349         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23350         math_check_force_underflow.
23351         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23352         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23353         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23354         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23355         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23356         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23357         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23358         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23359         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23360         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23361         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23362         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23363         Likewise.
23364         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23365         math_check_force_underflow_nonneg.
23366         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23367         Likewise.
23368         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23369         math_check_force_underflow.
23370         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23371         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23372         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23373         Likewise.
23374         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23375         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23376         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23377         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23378         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23379         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23381         instead of volatile.
23382         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23383         math_check_force_underflow.
23384         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23385         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23386         math_check_force_underflow.
23387         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23388         Likewise.
23389         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23390         Use math_check_force_underflow_nonneg.
23391         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23392         math_check_force_underflow.
23393         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23394         Likewise.
23395         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23396         Likewise.
23397         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23398         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23399         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23400         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23401         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23402         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23403         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23404         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23405         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23406         math_check_force_underflow_nonneg.
23407         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23408         math_check_force_underflow.
23409         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23410         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23411         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23412         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23413         math_check_force_underflow_nonneg.
23414         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23415         math_check_force_underflow.
23416         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23417         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23418         instead of volatile.
23419         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23420         math_check_force_underflow.
23422         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23423         * stdlib/strtod_l.c: Include <math_private.h>.
23424         (overflow_value): Use math_narrow_eval.
23425         (underflow_value): Likewise.
23426         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23427         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23428         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23429         (__ieee754_gamma_r): Likewise.
23430         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23431         Likewise.
23432         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23433         Likewise.
23434         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23435         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23436         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23437         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23438         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23439         (__ieee754_gammaf_r): Likewise.
23440         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23441         Likewise.
23442         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23443         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23444         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23445         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23446         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23447         volatile.
23448         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23449         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23450         math_narrow_eval.
23451         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23452         Likewise.
23453         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23454         Likewise.
23455         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23456         Likewise.
23457         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23458         volatile.
23459         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23460         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23461         math_narrow_eval.
23462         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23463         Likewise.
23464         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23465         Likewise.
23467 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
23469         * nptl/Versions: Remove ignored symbols.
23471 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23473         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
23474         * nss/Makefile (tests): Update.
23476 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23478         * nss/bug18287.c: New file.
23479         * nss/Makefile (tests): Add bug18287.
23481 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23483         * mach/Versions (__mach_host_self_): Add symbol.
23485 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23487         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23488         vm_page_size.
23490 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23492         Really fix sysdeps/i386/fpu/s_scalbn.S build
23494         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23495         (libc: GLIBC_2_22): Remove unused version set.
23497 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23499         * config.make.in (enable-timezone-tools): New variable.
23500         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23501         (enable_timezone_tools): Export to generated files.
23502         * configure: Regenerate.
23503         * INSTALL: Regenerate.
23504         * manual/install.texi (--disable-timezone-tools): Document new flag.
23505         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23506         ifeq ($(enable-timezone-tools),yes) check.
23508 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23510         * timezone/Makefile: Revert previous change.
23512         [BZ #18980]
23513         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23514         (DEFINE_DBL_MIN): Likewise.
23515         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23516         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23517         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23518         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23519         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23520         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23521         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23522         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23523         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23524         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23525         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23526         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23527         (flt_min): Replace with use of DEFINE_FLT_MIN.
23528         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23529         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23530         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23531         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23532         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23533         (flt_min): Replace with use of DEFINE_FLT_MIN.
23534         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23535         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23536         (flt_min): Replace with use of DEFINE_FLT_MIN.
23537         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23538         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23539         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23540         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23541         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23542         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23543         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23544         (__ieee754_pow): Use DBL_NARROW_EVAL.
23545         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23546         (__ieee754_powf): Use FLT_NARROW_EVAL.
23547         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23548         (__ieee754_expf_sse2): Convert double-precision result to single
23549         precision.
23550         * sysdeps/i386/fpu/libm-test-ulps: Update.
23552 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23554         * timezone/Makefile: Ignore unused variable errors due to private.h
23555         (time_t_min) and (time_t_max).
23556         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23557         Likewise.
23559 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23561         [BZ #18981]
23562         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23563         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23564         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23565         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23566         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23567         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23568         (__scalbn): Use DBL_NARROW_EVAL.
23569         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23570         (__scalbnf): Use FLT_NARROW_EVAL.
23572 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23574         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23575         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23576         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23577         * stdio-common/printf_fp.c (___printf_fp):
23578         Use signbit to get the sign. Use isinf macro to allow inlining.
23579         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23580         * stdio-common/printf_size.c (__printf_size): Likewise.
23582 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23584         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23586 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23588         [BZ #18980]
23589         * sysdeps/generic/math_private.h: Include <float.h>.
23590         (math_narrow_eval): New macro.
23591         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23592         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23593         math_narrow_eval on overflowing return value.
23594         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23595         Likewise.
23596         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23597         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23598         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23599         Likewise.
23600         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23602 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23604         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23605         * math/Makefile: Remove isinf_ns.c.
23606         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23607         * math/multc3.c (__multc3): Likewise.
23608         * math/s_casin.c (__casin): Likewise.
23609         * math/s_casinf.c (__casinf): Likewise.
23610         * math/s_casinl.c (__casinl): Likewise.
23611         * math/s_cproj.c (__cproj): Likewise.
23612         * math/s_cprojf.c (__cprojf): Likewise.
23613         * math/s_cprojl.c (__cprofl): Likewise.
23614         * math/s_ctan.c (__ctan): Likewise.
23615         * math/s_ctanf.c (__ctanf): Likewise.
23616         * math/s_ctanh.c (__ctanh): Likewise.
23617         * math/s_ctanhf.c (__ctanhf): Likewise.
23618         * math/s_ctanhl.c (__ctanhl): Likewise.
23619         * math/s_ctanl.c (__ctanl): Likewise.
23620         * math/w_fmod.c (__fmod): Likewise.
23621         * math/w_fmodf.c (__fmodf): Likewise.
23622         * math/w_fmodl.c (_fmodl): Likewise.
23623         * math/w_remainder.c (__remainder): Likewise.
23624         * math/w_remainderf.c (__remainderf): Likewise.
23625         * math/w_remainderl.c (__remainderl): Likewise.
23626         * math/w_scalb.c (__scalb): Likewise.
23627         * math/w_scalbf.c (__scalbf): Likewise.
23628         * math/w_scalbl.c (__scalbl): Likewise.
23629         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23630         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23631         with isinf.
23632         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23633         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23634         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23635         __isinf_nsf with isinf.
23636         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23637         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23638         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23639         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23640         with isinf.
23641         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23642         __isinf_nsl with isinf.
23643         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23644         with isinf.
23645         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23646         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23647         __isinf_nsl with isinf.
23648         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23649         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23650         with isinf.
23652 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23654         * resolv/base64.c (rcsid): Remove unused static.
23655         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23656         static.  (tqpi1): Likewise.
23657         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23658         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23659         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23660         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23661         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23662         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23663         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23664         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23665         Likewise.
23667 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23669         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23670         <nptl/pthreadP.h>.
23671         (_longjmp_unwind): Use __libc_ptf_call.
23672         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23674 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23676         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23677         * sysdeps/arm/__longjmp.S: Likewise.
23679 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23681         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23682         Use __builtin_signbit.
23683         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23684         Use __builtin_signbitf.
23685         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23686         Use __builtin_signbitl.
23687         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23688         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23690 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23692         [BZ #15367]
23693         [BZ #17441]
23695         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23696         * math/math.h (fpclassify): Use __builtin_fpclassify when
23697         available.  (signbit): Use __builtin_signbit(f/l).
23698         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23699         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23700         (isinf): Use __builtin_isinf_sign.
23702 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23704         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23705         * benchtests/bench-math-inlines.c: New benchmark.
23706         * benchtests/bench-util.h: New file.
23707         * benchtests/bench-util.c: New file.
23708         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23710 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23712         * elf/tst-dlmopen1.c: Define TEST_SO.
23713         (do_test): Use TEST_SO.
23715         * elf/dl-load.c: Include libc-internal.h.
23716         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23718 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23720         [BZ #17887]
23721         * time/strptime_l.c (__strptime_internal): Make %z accept
23722         [+-]HH:MM time zones.
23724 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23726         [BZ #17886]
23727         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23728         valid time zone.
23730 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23732         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23733         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23734         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23735         (__ASSUME_FDATASYNC): Delete.
23737 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23739         * conform/linknamespace.pl: Require weak undefined symbols to be
23740         in the standard namespace.
23741         (%strong_syms): Rename to %seen_syms.
23742         (%strong_seen): Rename to %seen_where.
23744 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23746         [BZ #18970]
23747         * misc/error.c (error): Replace pthread_setcancelstate with
23748         __pthread_setcancelstate.
23749         (error_at_line): Likewise.
23750         * posix/wordexp.c (parse_comm): Likewise.
23751         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23752         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23753         (__pthread_setcancelstate): This.
23754         (pthread_setcancelstate): Add an alias.
23755         * nptl/nptl-init.c (pthread_functions): Replace
23756         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23757         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23758         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23759         hidden_proto.
23760         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23761         it with hidden_def.
23762         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23763         (pthread_setcancelstate): Renamed to ...
23764         (__pthread_setcancelstate): This.
23765         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23766         __libc_ptf_call with __pthread_setcancelstate.
23768 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23769             Andreas Schwab  <schwab@suse.de>
23771         [BZ #17118]
23772         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23773         result when imaginary part of argument is infinite using sine and
23774         cosine.
23775         * math/s_ctanf.c (__ctanf): Likewise.
23776         * math/s_ctanl.c (__ctanl): Likewise.
23777         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23778         of result when real part of argument is infinite using sine and
23779         cosine.
23780         * math/s_ctanhf.c (__ctanhf): Likewise.
23781         * math/s_ctanhl.c (__ctanhl): Likewise.
23782         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23783         (ctanh_test_data): Add more tests of ctanh.
23785 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23787         [BZ #15384]
23788         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23789         bit-mask as in subtraction.
23790         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23791         Likewise.
23792         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23793         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23794         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23796         [BZ #18951]
23797         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23798         underflow exception for small results.
23799         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23800         Likewise.
23801         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23802         Likewise.
23803         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23804         Likewise.
23805         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23806         Likewise.
23807         * math/auto-libm-test-in: Add more tests of tgamma.
23808         * math/auto-libm-test-out: Regenerated.
23810 2015-09-17  Andreas Schwab  <schwab@suse.de>
23812         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23814 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23816         [BZ #18977]
23817         * math/bits/mathcalls.h
23818         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23819         not declare.
23820         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23821         Likewise.
23822         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23823         Likewise.
23824         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23825         Likewise.
23826         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23827         Likewise.
23828         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23829         Likewise.
23830         * conform/data/math.h-data
23831         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23832         function.
23833         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23834         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23835         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23836         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23837         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23838         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23839         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23840         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23841         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23842         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23843         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23845         [BZ #6803]
23846         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23847         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23848         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23849         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23850         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23851         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23852         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23853         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23854         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23855         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23856         Likewise.
23857         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23858         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23859         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23860         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23861         long_double_symbol calls.
23862         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23863         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23864         strong alias of __ldexpl.
23865         (scalbnl): Define using long_double_symbol.
23866         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23867         Remove alias.
23868         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23869         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23870         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23871         (scalbln_test_data): Add more errno expectations.
23873 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23875         Cache the host port like we cache the task port.  This way we do not
23876         need to call the kernel just to get the port.  Furthermore, we no
23877         longer increase the reference count on every invocation of
23878         `mach_host_self'.
23880         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23881         Protect declarations against the macro expansion.
23882         * mach/mach_init.c (__mach_host_self_): New variable.
23883         (mach_init): Initialize `__mach_host_self_'.
23884         * mach/mach_init.h (__mach_host_self_): New declaration.
23885         (__mach_host_self, mach_host_self): New macros.
23886         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23887         Release reference.
23889 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23891         [BZ #4404]
23892         * po/de.po: Update from Translation Project.
23894         [BZ #16415]
23895         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23896         (__expm1l): Remove code to handle positive infinity and overflow.
23897         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23898         variable.
23899         (__expm1l): Remove code to handle positive infinity and overflow.
23901 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23902             Paul Pluzhnikov  <ppluzhnikov@google.com>
23904         [BZ #18872]
23905         * stdio-common/Makefile (tst-printf-bz18872): New test.
23906         (tst-printf-bz18872-mem.out): Likewise.
23907         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23908         * stdio-common/vfprintf.c: Fix memory leaks.
23910 2015-09-16  Andreas Schwab  <schwab@suse.de>
23912         [BZ #17244]
23913         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23914         Remove extra va_start/va_end calls.
23916         [BZ #17243]
23917         * posix/execl.c (execl): Add missing va_end.
23918         * posix/execle.c (execle): Likewise.
23919         * posix/execlp.c (execlp): Likewise.
23921 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23923         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23924         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23926 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23928         [BZ #18967]
23929         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23930         undefine around includes of <bits/mathcalls.h>.
23931         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23932         not declare function.
23933         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23934         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23935         (scalb): Likewise.
23936         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23937         not define macro.
23938         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23939         variable.
23940         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23941         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23942         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23944         [BZ #18857]
23945         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23946         return non-finite argument without doing ordered comparisons on
23947         it.
23949         [BZ #16296]
23950         * math/fenv.h (fegetround): Use __attribute_pure__.
23951         * include/fenv.h (__fegetround): Likewise.
23953         [BZ #18595]
23954         * math/s_ctan.c (__ctan): Force underflow exception for results
23955         whose real or imaginary part has small absolute value.
23956         * math/s_ctanf.c (__ctanf): Likewise.
23957         * math/s_ctanh.c (__ctanh): Likewise.
23958         * math/s_ctanhf.c (__ctanhf): Likewise.
23959         * math/s_ctanhl.c (__ctanhl): Likewise.
23960         * math/s_ctanl.c (__ctanl): Likewise.
23961         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23962         and ctanh.  Add more tests of ctan and ctanh.
23964         [BZ #15918]
23965         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23966         handling of cases where one argument is an infinity.
23968         [BZ #18875]
23969         [BZ #18966]
23970         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23971         (MO): New macro.
23972         (__ieee754_exp10): For small results, force underflow exception
23973         and remove excess range and precision from return value.
23974         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23975         (MO): New macro.
23976         (__ieee754_exp10f): For small results, force underflow exception
23977         and remove excess range and precision from return value.
23978         * math/auto-libm-test-in: Add more tests of exp10.
23979         * math/auto-libm-test-out: Regenerated.
23981 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23983         [BZ #18875]
23984         [BZ #18961]
23985         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23986         (MO): New macro.
23987         (__ieee754_exp): For small results, force underflow exception and
23988         remove excess range and precision from return value.
23989         (__exp_finite): Likewise.
23990         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23991         (MO): New macro.
23992         (__ieee754_expf): For small results, force underflow exception and
23993         remove excess range and precision from return value.
23994         (__expf_finite): Likewise.
23995         * math/auto-libm-test-in: Add more tests of exp.
23996         * math/auto-libm-test-out: Regenerated.
23998         [BZ #16521]
23999         [BZ #18875]
24000         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
24001         small results.
24002         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
24003         (MO): New macro.
24004         (__ieee754_exp2): For small results, force underflow exception and
24005         remove excess range and precision from return value.
24006         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
24007         (MO): New macro.
24008         (__ieee754_exp2f): For small results, force underflow exception
24009         and remove excess range and precision from return value.
24010         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
24011         (MO): New macro.
24012         (__ieee754_exp2l): Force underflow exception for small results.
24013         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
24014         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24015         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
24016         (MO): New macro.
24017         (__ieee754_exp2l): Force underflow exception for small results.
24018         * math/auto-libm-test-in: Add more tests or exp2.
24019         * math/auto-libm-test-out: Regenerated.
24021 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
24023         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
24025         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
24026         /dev/null.
24028 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24030         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24031         io fs process)): Drop spurious backslash.
24033 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24035         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
24036         Use sysinfo system call instead of parsing /proc/meminfo.
24037         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
24038         Likewise.
24040 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
24042         [BZ #16985]
24043         * programs/localedef.c (main): Display argv[remaining] when
24044         output_path is NULL.
24046 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24048         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24049         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
24050         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
24051         tanh.
24052         * math/auto-libm-test-out: Regenerated.
24053         * sysdeps/i386/fpu/libm-test-ulps: Update.
24054         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24055         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24058 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24060         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24061         Use 'override' keyword to freeze the value here, preventing
24062         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24064 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24066         [BZ #14912]
24067         * sysdeps/aarch64/bits/atomic.h: Move to ...
24068         * sysdeps/aarch64/atomic-machine.h: ...here.
24069         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24070         _AARCH64_ATOMIC_MACHINE_H.
24071         * sysdeps/alpha/bits/atomic.h: Move to ...
24072         * sysdeps/alpha/atomic-machine.h: ...here.
24073         * sysdeps/arm/bits/atomic.h: Move to ...
24074         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24075         * bits/atomic.h: Move to ...
24076         * sysdeps/generic/atomic-machine.h: ...here.
24077         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24078         * sysdeps/i386/bits/atomic.h: Move to ...
24079         * sysdeps/i386/atomic-machine.h: ...here.
24080         * sysdeps/ia64/bits/atomic.h: Move to ...
24081         * sysdeps/ia64/atomic-machine.h: ...here.
24082         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24083         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24084         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24085         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24086         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24087         * sysdeps/microblaze/bits/atomic.h: Move to ...
24088         * sysdeps/microblaze/atomic-machine.h: ...here.
24089         * sysdeps/mips/bits/atomic.h: Move to ...
24090         * sysdeps/mips/atomic-machine.h: ...here.
24091         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24092         * sysdeps/powerpc/bits/atomic.h: Move to ...
24093         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24094         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24095         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24096         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24097         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24098         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24099         <atomic-machine.h> instead of <bits/atomic.h>.
24100         * sysdeps/s390/bits/atomic.h: Move to ...
24101         * sysdeps/s390/atomic-machine.h: ...here.
24102         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24103         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24104         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24105         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24106         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24107         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24108         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24109         * sysdeps/tile/bits/atomic.h: Move to ...
24110         * sysdeps/tile/atomic-machine.h: ...here.
24111         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24112         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24113         <sysdeps/tile/atomic-machine.h> instead of
24114         <sysdeps/tile/bits/atomic.h>.
24115         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24116         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24117         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24118         <sysdeps/tile/atomic-machine.h> instead of
24119         <sysdeps/tile/bits/atomic.h>.
24120         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24121         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24122         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24123         <sysdeps/arm/atomic-machine.h> instead of
24124         <sysdeps/arm/bits/atomic.h>.
24125         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24126         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24127         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24128         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24129         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24130         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24131         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24132         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24133         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24134         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24135         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24136         * sysdeps/x86_64/bits/atomic.h: Move to ...
24137         * sysdeps/x86_64/atomic-machine.h: ...here.
24138         * include/atomic.h: Include <atomic-machine.h> instead of
24139         <bits/atomic.h>.
24141         * sysdeps/mips/mips32/libm-test-ulps: Update.
24142         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24144         [BZ #18952]
24145         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24146         not convert non-integer negative arguments to int to determine the
24147         value of signgam.
24148         * math/auto-libm-test-in: Add more tests of lgamma.
24149         * math/auto-libm-test-out: Regenerated.
24151         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24152         cosh, csqrt, erfc, expm1 and lgamma.
24153         * math/auto-libm-test-out: Regenerated.
24154         * sysdeps/i386/fpu/libm-test-ulps: Update.
24155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24157 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24159         [BZ #2542]
24160         [BZ #2543]
24161         [BZ #2558]
24162         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24163         __lgamma_neg for arguments from -28.0 to -2.0.
24164         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24165         __lgamma_negf for arguments from -15.0 to -2.0.
24166         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24167         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24168         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24169         Call __lgamma_negl for arguments from -33.0 to -2.0.
24170         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24171         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24172         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24173         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24174         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24175         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24176         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24177         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24178         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24179         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24180         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24181         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24182         (__lgamma_neg): Likewise.
24183         (__lgamma_negl): Likewise.
24184         (__lgamma_product): Likewise.
24185         (__lgamma_productl): Likewise.
24186         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24187         * math/auto-libm-test-in: Add more tests of lgamma.
24188         * math/auto-libm-test-out: Regenerated.
24189         * sysdeps/i386/fpu/libm-test-ulps: Update.
24190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24192 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24194         [BZ #18675]
24195         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24197 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24199         [BZ #14912]
24200         * bits/libc-lock.h: Move to ...
24201         * sysdeps/generic/libc-lock.h: ...here.
24202         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24203         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24204         * sysdeps/mach/hurd/libc-lock.h: ...here.
24205         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24206         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24207         * sysdeps/mach/bits/libc-lock.h: Move to ...
24208         * sysdeps/mach/libc-lock.h: ...here.
24209         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24210         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24211         * sysdeps/nptl/libc-lock.h: ...here.
24212         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24213         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24214         * sysdeps/nptl/libc-lockP.h: ...here.
24215         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24216         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24217         <bits/libc-lock.h>.
24218         * dirent/scandir-tail.c: Likewise.
24219         * dlfcn/dlerror.c: Likewise.
24220         * elf/dl-close.c: Likewise.
24221         * elf/dl-iteratephdr.c: Likewise.
24222         * elf/dl-lookup.c: Likewise.
24223         * elf/dl-open.c: Likewise.
24224         * elf/dl-support.c: Likewise.
24225         * elf/dl-writev.h: Likewise.
24226         * elf/rtld.c: Likewise.
24227         * grp/fgetgrent.c: Likewise.
24228         * gshadow/fgetsgent.c: Likewise.
24229         * gshadow/sgetsgent.c: Likewise.
24230         * iconv/gconv_conf.c: Likewise.
24231         * iconv/gconv_db.c: Likewise.
24232         * iconv/gconv_dl.c: Likewise.
24233         * iconv/gconv_int.h: Likewise.
24234         * iconv/gconv_trans.c: Likewise.
24235         * include/link.h: Likewise.
24236         * inet/getnameinfo.c: Likewise.
24237         * inet/getnetgrent.c: Likewise.
24238         * inet/getnetgrent_r.c: Likewise.
24239         * intl/bindtextdom.c: Likewise.
24240         * intl/dcigettext.c: Likewise.
24241         * intl/finddomain.c: Likewise.
24242         * intl/gettextP.h: Likewise.
24243         * intl/loadmsgcat.c: Likewise.
24244         * intl/localealias.c: Likewise.
24245         * intl/textdomain.c: Likewise.
24246         * libidn/idn-stub.c: Likewise.
24247         * libio/libioP.h: Likewise.
24248         * locale/duplocale.c: Likewise.
24249         * locale/freelocale.c: Likewise.
24250         * locale/newlocale.c: Likewise.
24251         * locale/setlocale.c: Likewise.
24252         * login/getutent_r.c: Likewise.
24253         * login/getutid_r.c: Likewise.
24254         * login/getutline_r.c: Likewise.
24255         * login/utmp-private.h: Likewise.
24256         * login/utmpname.c: Likewise.
24257         * malloc/mtrace.c: Likewise.
24258         * misc/efgcvt.c: Likewise.
24259         * misc/error.c: Likewise.
24260         * misc/fstab.c: Likewise.
24261         * misc/getpass.c: Likewise.
24262         * misc/mntent.c: Likewise.
24263         * misc/syslog.c: Likewise.
24264         * nis/nis_call.c: Likewise.
24265         * nis/nis_callback.c: Likewise.
24266         * nis/nss-default.c: Likewise.
24267         * nis/nss_compat/compat-grp.c: Likewise.
24268         * nis/nss_compat/compat-initgroups.c: Likewise.
24269         * nis/nss_compat/compat-pwd.c: Likewise.
24270         * nis/nss_compat/compat-spwd.c: Likewise.
24271         * nis/nss_nis/nis-alias.c: Likewise.
24272         * nis/nss_nis/nis-ethers.c: Likewise.
24273         * nis/nss_nis/nis-grp.c: Likewise.
24274         * nis/nss_nis/nis-hosts.c: Likewise.
24275         * nis/nss_nis/nis-network.c: Likewise.
24276         * nis/nss_nis/nis-proto.c: Likewise.
24277         * nis/nss_nis/nis-pwd.c: Likewise.
24278         * nis/nss_nis/nis-rpc.c: Likewise.
24279         * nis/nss_nis/nis-service.c: Likewise.
24280         * nis/nss_nis/nis-spwd.c: Likewise.
24281         * nis/nss_nisplus/nisplus-alias.c: Likewise.
24282         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24283         * nis/nss_nisplus/nisplus-grp.c: Likewise.
24284         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24285         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24286         * nis/nss_nisplus/nisplus-network.c: Likewise.
24287         * nis/nss_nisplus/nisplus-proto.c: Likewise.
24288         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24289         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24290         * nis/nss_nisplus/nisplus-service.c: Likewise.
24291         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24292         * nis/ypclnt.c: Likewise.
24293         * nptl/libc_pthread_init.c: Likewise.
24294         * nss/getXXbyYY.c: Likewise.
24295         * nss/getXXent.c: Likewise.
24296         * nss/getXXent_r.c: Likewise.
24297         * nss/nss_db/db-XXX.c: Likewise.
24298         * nss/nss_db/db-netgrp.c: Likewise.
24299         * nss/nss_db/nss_db.h: Likewise.
24300         * nss/nss_files/files-XXX.c: Likewise.
24301         * nss/nss_files/files-alias.c: Likewise.
24302         * nss/nsswitch.c: Likewise.
24303         * posix/regex_internal.h: Likewise.
24304         * posix/wordexp.c: Likewise.
24305         * pwd/fgetpwent.c: Likewise.
24306         * resolv/res_hconf.c: Likewise.
24307         * resolv/res_libc.c: Likewise.
24308         * shadow/fgetspent.c: Likewise.
24309         * shadow/lckpwdf.c: Likewise.
24310         * shadow/sgetspent.c: Likewise.
24311         * socket/opensock.c: Likewise.
24312         * stdio-common/reg-modifier.c: Likewise.
24313         * stdio-common/reg-printf.c: Likewise.
24314         * stdio-common/reg-type.c: Likewise.
24315         * stdio-common/vfprintf.c: Likewise.
24316         * stdio-common/vfscanf.c: Likewise.
24317         * stdlib/abort.c: Likewise.
24318         * stdlib/cxa_atexit.c: Likewise.
24319         * stdlib/fmtmsg.c: Likewise.
24320         * stdlib/random.c: Likewise.
24321         * stdlib/setenv.c: Likewise.
24322         * string/strsignal.c: Likewise.
24323         * sunrpc/auth_none.c: Likewise.
24324         * sunrpc/bindrsvprt.c: Likewise.
24325         * sunrpc/create_xid.c: Likewise.
24326         * sunrpc/key_call.c: Likewise.
24327         * sunrpc/rpc_thread.c: Likewise.
24328         * sysdeps/arm/backtrace.c: Likewise.
24329         * sysdeps/generic/ldsodefs.h: Likewise.
24330         * sysdeps/generic/stdio-lock.h: Likewise.
24331         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24332         * sysdeps/i386/backtrace.c: Likewise.
24333         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24334         * sysdeps/m68k/backtrace.c: Likewise.
24335         * sysdeps/mach/hurd/cthreads.c: Likewise.
24336         * sysdeps/mach/hurd/dirstream.h: Likewise.
24337         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24338         * sysdeps/nptl/malloc-machine.h: Likewise.
24339         * sysdeps/nptl/stdio-lock.h: Likewise.
24340         * sysdeps/posix/dirstream.h: Likewise.
24341         * sysdeps/posix/getaddrinfo.c: Likewise.
24342         * sysdeps/posix/system.c: Likewise.
24343         * sysdeps/pthread/aio_suspend.c: Likewise.
24344         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24345         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24346         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24347         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24348         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24349         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24350         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24351         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24352         * sysdeps/unix/sysv/linux/system.c: Likewise.
24353         * sysdeps/x86_64/backtrace.c: Likewise.
24354         * time/alt_digit.c: Likewise.
24355         * time/era.c: Likewise.
24356         * time/tzset.c: Likewise.
24357         * wcsmbs/wcsmbsload.c: Likewise.
24358         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24359         instead of <bits/libc-lock.h> in comment.
24361 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24363         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24364         Only use .set mips2 if the current ISA is below mips2.
24365         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24366         Likewise.
24367         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24368         mips32r2 if the current ISA is below mips32r2.
24369         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24370         (TLS_IE): Updated to use the TLD_RDHWR macro.
24371         (TLS_LE): Likewise.
24372         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24373         __ASSEMBLER__ condition.
24375 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24377         Fix parallel build of before-compile targets.
24379         * sysdeps/mach/Makefile ($(patsubst
24380         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24381         mach-before-compile target.
24382         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24383         io fs process)): Move rule to dedicated hurd-before-compile target.
24385 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24387         Fix rules generating headers in hurd/ and mach/ when initial make call
24388         has subdir= explicitly set.
24390         * sysdeps/mach/Makefile ($(patsubst
24391         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24392         calling $(MAKE).
24393         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24394         io fs process)): Force subdir to hurd when calling $(MAKE).
24395         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24396         subdir to mach when calling $(MAKE).
24398 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24400         Check sysheaders when looking for Mach and Hurd headers
24402         * sysdeps/mach/configure.ac: Add sysheaders check.
24403         * sysdeps/mach/configure: Regenerate.
24404         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24405         * sysdeps/mach/hurd/configure: Regenerate.
24407 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24409         [BZ #18921]
24410         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24411         Fix inverted sense of test of 'o_directory_works' value.
24412         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24413         Bernhard Voelker <mail@bernhard-voelker.de>.
24415 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24417         [BZ #14912]
24418         * bits/linkmap.h: Move to ...
24419         * sysdeps/generic/linkmap.h: ...here.
24420         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24421         * sysdeps/aarch64/linkmap.h: ...here.
24422         * sysdeps/arm/bits/linkmap.h: Move to ...
24423         * sysdeps/arm/linkmap.h: ...here.
24424         * sysdeps/hppa/bits/linkmap.h: Move to ...
24425         * sysdeps/hppa/linkmap.h: ...here.
24426         * sysdeps/ia64/bits/linkmap.h: Move to ...
24427         * sysdeps/ia64/linkmap.h: ...here.
24428         * sysdeps/mips/bits/linkmap.h: Move to ...
24429         * sysdeps/mips/linkmap.h: ...here.
24430         * sysdeps/s390/bits/linkmap.h: Move to ...
24431         * sysdeps/s390/linkmap.h: ...here.
24432         * sysdeps/sh/bits/linkmap.h: Move to ...
24433         * sysdeps/sh/linkmap.h: ...here.
24434         * sysdeps/x86/bits/linkmap.h: Move to ...
24435         * sysdeps/x86/linkmap.h: ...here.
24436         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24438 2015-09-04  Andreas Schwab  <schwab@suse.de>
24440         [BZ #18635]
24441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24442         (__makecontext): Terminate FDE before return label.
24443         (__novec_makecontext): Likewise.
24445 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24447         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24448         first member of struct sv in syscall macro.
24450 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24452         [BZ #14912]
24453         * bits/stdio-lock.h: Move to ...
24454         * sysdeps/generic/stdio-lock.h: ...here.
24455         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24456         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24457         * sysdeps/nptl/stdio-lock.h: ...here.
24458         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24459         * include/libio.h: Include <stdio-lock.h> instead of
24460         <bits/stdio-lock.h>.
24461         * sysdeps/nptl/fork.c: Likewise.
24462         * sysdeps/pthread/flockfile.c: Likewise.
24463         * sysdeps/pthread/ftrylockfile.c: Likewise.
24464         * sysdeps/pthread/funlockfile.c: Likewise.
24466         [BZ #14912]
24467         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24468         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24469         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24470         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24471         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24472         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24473         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24475 2015-09-03  Roland McGrath  <roland@hack.frob.com>
24477         * elf/Makefile (test-xfail-tst-protected1a): New variable.
24478         (test-xfail-tst-protected1b): New variable.
24480 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
24482         [BZ #14912]
24483         * bits/libc-tsd.h: Move to ...
24484         * sysdeps/generic/libc-tsd.h: ...here.
24485         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24486         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24487         * sysdeps/mach/hurd/libc-tsd.h: ...here.
24488         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24489         * include/ctype.h: Include <libc-tsd.h> instead of
24490         <bits/libc-tsd.h>.
24491         * include/rpc/rpc.h: Likewise.
24492         * locale/localeinfo.h: Likewise.
24493         * sunrpc/rpc_thread.c: Likewise.
24494         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24495         * sysdeps/nptl/malloc-machine.h: Likewise.
24497         * Makefile (headers): Remove bits/libc-lock.h.
24498         * libio/Makefile (headers): Remove bits/stdio-lock.h.
24500         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24501         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24502         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24503         <bits/stdio-lock.h>.
24504         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24505         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24507 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24509         [BZ #18757]
24510         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24511         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24512         BZ #18757.
24514 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24516         * malloc/mtrace.pl: Filter out NULL entries.
24518 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24520         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24521         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24522         macro.
24524         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24525         (TCP_CC_INFO): Likewise.
24526         (TCP_SAVE_SYN): Likewise.
24527         (TCP_SAVED_SYN): Likewise.
24529 2015-08-31  Brett Neumeier <brett@neumeier.us>
24531         [BZ #18870]
24532         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24534 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24536         [BZ #18873]
24537         Fix broken overflow check in posix_fallocate
24538         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24539         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24540         Fix parenthesization typo.
24542 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24544         [BZ #18887]
24545         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24546         tst-mntent-blank-passno.
24547         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24548         * misc/tst-mntent-blank-corrupt.c: New test.
24549         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24550         * misc/tst-mntent.c (do_test): ... here.
24552 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24554         [BZ #4404]
24555         * po/de.po: Fix SIGALRM typo.
24557 2015-08-28  James Perkins  <james@loowit.net>
24559         * time/tst-strptime2.c (tests): Replace short list of test
24560         strings for strptime %z specifier with code which exhaustively
24561         tests every combination of sign and 0 to 5 digits. Tests for
24562         rejection of invalid strings.
24564 2015-08-28  James Perkins  <james@loowit.net>
24566         [BZ #16141]
24567         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24568         calculation, removing incorrect decimal time rounding, so that
24569         all minute values result in a valid seconds value.
24570         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24571         offset range limits to UTC-99:59 through UTC+99:59 to parse
24572         current and historical use cases.
24573         * time/tst-strptime2.c (tests): Modify and add tests for the
24574         strptime %z input field descriptor, specifically conversion of
24575         minutes to seconds and validating an offset range of -9959 to
24576         +9959.
24578 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24579             Dmitry V. Levin  <ldv@altlinux.org>
24581         [BZ #18877]
24582         * posix/Makefile (tests): Add tst-mmap-offset.
24583         * posix/tst-mmap.c: New file.
24584         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24585         offset calculation for negative values.
24587 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24589         * sysdeps/i386/init-arch.h: New file.
24590         * sysdeps/i386/i586/init-arch.h: Likewise.
24591         * sysdeps/i386/i686/init-arch.h: Likewise.
24592         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24593         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24594         * sysdeps/x86/cpu-features.h (bit_I586): New.
24595         (bit_I686): Likewise.
24596         (bit_CX8): Likewise.
24597         (bit_CMOV): Likewise.
24598         (index_CX8): Likewise.
24599         (index_CMOV): Likewise.
24600         (index_I586): Likewise.
24601         (index_I686): Likewise.
24602         (reg_CX8): Likewise.
24603         (reg_CMOV): Likewise.
24604         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24605         available at compile-time.
24606         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24607         available at compile-time.
24608         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24609         (USE_I686): Likewise.
24611 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24613         * sysdeps/i386/bcopy.S: New file.
24614         * sysdeps/i386/bzero.S: Likewise.
24615         * sysdeps/i386/memcpy.S: Likewise.
24616         * sysdeps/i386/memmove.S: Likewise.
24617         * sysdeps/i386/mempcpy.S: Likewise.
24618         * sysdeps/i386/memset.S: Likewise.
24619         * sysdeps/i386/bzero.c: Removed.
24620         * sysdeps/i386/memset.c: Likewise.
24621         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24622         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24623         * sysdeps/i386/i586/memset_chk.S: Likewise.
24624         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24625         * sysdeps/i386/memcpy_chk.S: Here.
24626         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24627         * sysdeps/i386/memmove_chk.S: Here.
24628         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24629         * sysdeps/i386/mempcpy_chk.S: Likewise.
24630         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24631         * sysdeps/i386/memset_chk.S: Likewise.
24633 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24635         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24636         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24637         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24638         * soft-fp/fmadf4.c: Ditto.
24639         * soft-fp/fmatf4.c: Ditto.
24641 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24643         * sysdeps/i386/i586/Implies: Removed.
24644         * sysdeps/i386/i686/Implies: Likewise.
24646 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24648         * sysdeps/i386/i486/strlen.S: Moved to ...
24649         * sysdeps/i386/strlen.S: Here.
24651 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24653         * sysdeps/i386/i486/strcat.S: Moved to ...
24654         * sysdeps/i386/strcat.S: Here.
24656 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24658         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24659         * sysdeps/i386/pthread_spin_trylock.S: Here.
24660         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24661         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24663 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24665         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24666         * sysdeps/i386/string-inlines.c: Here.
24668 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24670         * sysdeps/i386/i486/htonl.S: Moved ...
24671         * sysdeps/i386/htonl.S: here.
24673 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24675         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24676         * sysdeps/i386/bits/atomic.h: Here.
24678 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24680         * sysdeps/i386/i486/Versions: Removed.
24682 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24684         [BZ #2898]
24685         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24686         Based on patch by Aurelien Jarno.
24688 2015-08-26  Stan Shebs  <stanshebs@google.com>
24690         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24691         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24693 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24695         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24696         * sysdeps/powerpc/dl-procinfo.c:
24697         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24698         feature so it shows when LD_SHOW_AUXV=1.
24700 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24702         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24703         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24704         definition.  ISA 2.07B no longer requires full sync.
24706 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24708         [BZ #18863]
24709         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24710         (si_call_addr): Define.
24711         (si_syscall): Define.
24712         (si_arch): Define.
24714 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24716         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24717         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24718         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24719         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24720         (__memset_zero_constant_len_parameter): New.
24721         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24722         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24723         (__memset_zero_constant_len_parameter): Don't define if
24724         __memset_chk or USE_AS_BZERO are defined.
24726         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24727         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24728         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24730         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24731         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24732         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24733         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24734         comments.
24735         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24736         -mno-mmx for $(all-rtld-routines).
24737         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24738         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24739         i386.
24741 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24743         * sysdeps/generic/unwind.h
24744         (_Unwind_Word): Use __mode__(__unwind_word__)
24745         instead of __mode__(__word__).
24746         (_Unwind_Sword): Likewise.
24748         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24749         (MAX_NEEDED_INPUT): New define.
24750         (MAX_NEEDED_OUTPUT): New define.
24752         * NEWS: New item for IBM z13 string optimizations.
24754         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24755         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24756         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24757         * sysdeps/s390/multiarch/Makefile
24758         (sysdep_routines): Add memrchr functions.
24759         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24760         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24762         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24763         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24764         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24765         * sysdeps/s390/multiarch/Makefile
24766         (sysdep_routines): Add wmemcmp functions.
24767         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24768         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24769         * benchtests/bench-wmemcmp.c: New File.
24770         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24772         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24773         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24774         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24775         * sysdeps/s390/multiarch/Makefile
24776         (sysdep_routines): Add wmemset functions.
24777         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24778         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24779         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24780         * string/test-memset.c: Add wmemset support.
24781         * wcsmbs/test-wmemset.c: New File.
24782         * wcsmbs/Makefile (strop-tests): Add wmemset.
24783         * benchtests/bench-memset.c: Add wmemset support.
24784         * benchtests/bench-wmemset.c: New File.
24785         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24787         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24788         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24789         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24790         * sysdeps/s390/multiarch/Makefile
24791         (sysdep_routines): Add memccpy functions.
24792         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24793         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24794         * string/memccpy.c: Use MEMCCPY if defined.
24796         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24797         * sysdeps/s390/multiarch/memchr.c: Likewise.
24798         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24799         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24800         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24801         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24802         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24803         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24804         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24805         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24806         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24807         and rawmemchr functions.
24808         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24809         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24810         and wmemchr.
24811         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24812         * string/test-memchr.c: Add wmemchr support.
24813         * wcsmbs/test-wmemchr.c: New File.
24814         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24815         * benchtests/bench-memchr.c: Add wmemchr support.
24816         * benchtests/bench-wmemchr.c: New File.
24817         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24819         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24820         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24821         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24822         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24823         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24824         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24825         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24826         wcscspn functions.
24827         * sysdeps/s390/multiarch/ifunc-impl-list.c
24828         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24829         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24830         * string/test-strcspn.c: Add wcscspn support.
24831         * wcsmbs/test-wcscspn.c: New File.
24832         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24833         * benchtests/bench-strcspn.c: Add wcscspn support.
24834         * benchtests/bench-wcscspn.c: New File.
24835         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24837         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24838         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24839         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24840         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24841         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24842         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24843         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24844         wcspbrk functions.
24845         * sysdeps/s390/multiarch/ifunc-impl-list.c
24846         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24847         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24848         * string/test-strpbrk.c: Add wcspbrk support.
24849         * wcsmbs/test-wcspbrk.c: New File.
24850         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24851         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24852         * benchtests/bench-wcspbrk.c: New File.
24853         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24855         * sysdeps/s390/multiarch/strspn-c.c: New File.
24856         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24857         * sysdeps/s390/multiarch/strspn.c: Likewise.
24858         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24859         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24860         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24861         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24862         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24863         wcsspn functions.
24864         * sysdeps/s390/multiarch/ifunc-impl-list.c
24865         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24866         * string/test-strspn.c: Add wcsspn support.
24867         * wcsmbs/test-wcsspn.c: New File.
24868         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24869         * benchtests/bench-strspn.c: Add wcsspn support.
24870         * benchtests/bench-wcsspn.c: New File.
24871         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24873         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24874         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24875         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24876         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24877         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24878         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24879         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24880         wcsrchr functions.
24881         * sysdeps/s390/multiarch/ifunc-impl-list.c
24882         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24883         * benchtests/bench-wcsrchr.c: New File.
24884         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24886         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24887         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24888         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24889         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24890         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24891         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24892         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24893         wcschrnul functions.
24894         * sysdeps/s390/multiarch/ifunc-impl-list.c
24895         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24896         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24897         * string/test-strchr.c: Add wcschrnul support.
24898         * wcsmbs/test-wcschrnul.c: New File.
24899         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24900         * benchtests/bench-strchr.c: Add wcschrnul support.
24901         * benchtests/bench-wcschrnul.c: New File.
24902         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24904         * sysdeps/s390/multiarch/strchr-c.c: New File.
24905         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24906         * sysdeps/s390/multiarch/strchr.c: Likewise.
24907         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24908         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24909         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24910         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24911         wcschr functions.
24912         * sysdeps/s390/multiarch/ifunc-impl-list.c
24913         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24914         * string/strchr.c (STRCHR): Define and use macro.
24915         * benchtests/bench-wcschr.c: New File.
24916         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24918         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24919         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24920         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24921         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24922         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24923         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24924         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24925         wcsncmp functions.
24926         * sysdeps/s390/multiarch/ifunc-impl-list.c
24927         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24928         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24929         * benchtests/bench-strncmp.c: Add wcsncmp support.
24930         * benchtests/bench-wcsncmp.c: New File.
24931         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24933         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24934         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24935         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24936         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24937         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24938         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24939         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24940         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24941         wcscmp functions.
24942         * sysdeps/s390/multiarch/ifunc-impl-list.c
24943         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24944         * string/strcmp.c (STRCMP): Define and use macro.
24945         * benchtests/bench-wcscmp.c: New File.
24946         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24947         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24948         instead of _HAVE_STRING_ARCH_memchr.
24950         * sysdeps/s390/multiarch/strncat-c.c: New File.
24951         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24952         * sysdeps/s390/multiarch/strncat.c: Likewise.
24953         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24954         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24955         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24956         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24957         wcsncat functions.
24958         * sysdeps/s390/multiarch/ifunc-impl-list.c
24959         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24960         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24961         * string/test-strncat.c: Add wcsncat support.
24962         * wcsmbs/test-wcsncat.c: New File.
24963         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24964         * benchtests/bench-strncat.c: Add wcsncat support.
24965         * benchtests/bench-wcsncat.c: New File.
24966         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24968         * sysdeps/s390/multiarch/strcat-c.c: New File.
24969         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24970         * sysdeps/s390/multiarch/strcat.c: Likewise.
24971         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24972         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24973         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24974         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24975         wcscat functions.
24976         * sysdeps/s390/multiarch/ifunc-impl-list.c
24977         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24978         * string/strcat.c (STRCAT): Define and use macro.
24979         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24980         * string/test-strcat.c: Add wcscat support.
24981         * wcsmbs/test-wcscat.c: New File.
24982         * wcsmbs/Makefile (strop-tests): Add wcscat.
24983         * benchtests/bench-strcat.c: Add wcscat support.
24984         * benchtests/bench-wcscat.c: New File.
24985         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24987         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24988         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24989         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24990         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24991         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24992         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24993         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24994         wcpncpy functions.
24995         * sysdeps/s390/multiarch/ifunc-impl-list.c
24996         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24997         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24998         * string/test-stpncpy.c: Add wcpncpy support.
24999         * wcsmbs/test-wcpncpy.c: New File.
25000         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
25001         * benchtests/bench-stpncpy.c: Add wcpncpy support.
25002         * benchtests/bench-wcpncpy.c: New File.
25003         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
25005         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
25006         * sysdeps/s390/multiarch/strncpy.c: Likewise.
25007         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
25008         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
25009         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
25010         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
25011         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
25012         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
25013         wcsncpy functions.
25014         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
25015         * sysdeps/s390/multiarch/ifunc-impl-list.c
25016         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
25017         * string/test-strncpy.c: Add wcsncpy support.
25018         * wcsmbs/test-wcsncpy.c: New File.
25019         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
25020         * benchtests/bench-strncpy.c: Add wcsncpy support.
25021         * benchtests/bench-wcsncpy.c: New File.
25022         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
25024         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
25025         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
25026         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
25027         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
25028         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
25029         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
25030         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
25031         wcpcpy functions.
25032         * string/stpcpy.c: Use STPCPY if defined.
25033         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
25034         * sysdeps/s390/multiarch/ifunc-impl-list.c
25035         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
25036         * string/test-stpcpy.c: Add wcpcpy support.
25037         * wcsmbs/test-wcpcpy.c: New File.
25038         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
25039         * benchtests/bench-stpcpy.c: Add wcpcpy support.
25040         * benchtests/bench-wcpcpy.c: New File.
25041         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
25043         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
25044         * sysdeps/s390/multiarch/strcpy.c: Likewise.
25045         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
25046         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
25047         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
25048         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
25049         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
25050         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
25051         wcscpy functions.
25052         * sysdeps/s390/multiarch/ifunc-impl-list.c
25053         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25054         * benchtests/bench-wcscpy.c: New File.
25055         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25057         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25058         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25059         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25060         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25061         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25062         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25063         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25064         wcsnlen functions.
25065         * sysdeps/s390/multiarch/ifunc-impl-list.c
25066         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25067         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25068         * string/test-strnlen.c: Add wcsnlen support.
25069         * wcsmbs/test-wcsnlen.c: New File.
25070         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25071         * benchtests/bench-strnlen.c: Add wcsnlen support.
25072         * benchtests/bench-wcsnlen.c: New File.
25073         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25075         * sysdeps/s390/multiarch/Makefile: New File.
25076         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25077         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25078         * sysdeps/s390/multiarch/strlen.c: Likewise.
25079         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25080         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25081         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25082         * string/strlen.c (STRLEN): Define and use macro.
25083         * sysdeps/s390/multiarch/ifunc-impl-list.c
25084         (IFUNC_VX_IMPL): New macro function.
25085         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25086         * benchtests/Makefile (wcsmbs-bench): New variable.
25087         (string-bench-all): Added wcsmbs-bench.
25088         * benchtests/bench-wcslen.c: New File.
25090         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25091         s390_vx_libc_ifunc2): New macro function.
25093         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25094         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25095         assembler support.
25096         * sysdeps/s390/configure: Regenerated.
25098         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25099         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25101         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25102         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25103         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25105         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25106         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25107         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25108         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25109         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25110         (memcmp, bcmp): Use __memcmp_default as alias source.
25111         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25112         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25113         Rename to __memcmp_default.
25114         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25115         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25116         (memcpy): Use __memcpy_default as alias source.
25117         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25118         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25119         Rename to __memcpy_default.
25120         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25121         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25122         (memset): Use __memset_default as alias source.
25123         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25124         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25125         Rename to __memset_default.
25126         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25127         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25128         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25129         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25130         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25131         (memcmp, bcmp): Use __memcmp_default as alias source.
25132         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25133         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25134         Rename to __memcmp_default.
25135         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25136         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25137         (memcpy): Use __memcpy_default as alias source.
25138         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25139         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25140         Rename to __memcpy_default.
25141         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25142         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25143         (memset): Use __memset_default as alias source.
25144         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25145         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25146         Rename to __memset_default.
25147         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25148         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25150         [BZ #18610]
25151         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25152         __ieee_instruction_pointer to __unused.
25153         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25154         __ieee_instruction_pointer.
25155         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25156         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25157         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25158         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25159         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25160         Mark dxc-field as reserved.
25162 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25164         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25165         if the weak reference is not null.
25167 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25169         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25171         [BZ #11214]
25172         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25174 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25176         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25177         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25178         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25179         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25180         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25181         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25182         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25183         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25184         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25185         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25186         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25187         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25188         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25189         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25190         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25191         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25192         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25193         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25195 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25197         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25198         register other than r0 for tabort, it has special meaning.
25199         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25200         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25201         transaction before starting syscall.
25203 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25205         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25207 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25209         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25211         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25212         * sysdeps/x86_64/rtld-memset.S: Likewise.
25213         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25214         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25215         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25216         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25218         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25220 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25222         * debug/strcpy_chk.c: Improve performance.
25223         * debug/stpcpy_chk.c: Likewise.
25224         * sysdeps/x86_64/strcpy_chk.S: Remove.
25225         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25227         [BZ #18240]
25228         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25230 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25232         [BZ #15128]
25233         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25234         ifuncmain8.
25235         (modules-names): Add ifuncmod8.
25236         ($(objpfx)ifuncmain8): New rule.
25237         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25238         <cpuid.h>.
25239         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25240         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25241         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25242         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25243         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25244         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25245         * sysdeps/x86_64/ifuncmain8.c: New file.
25246         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25247         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25248         Removed.
25249         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25250         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25251         Change rtld_savespace_sse to __glibc_unused2.
25252         (RTLD_CHECK_FOREIGN_CALL): Removed.
25253         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25254         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25255         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25257 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25259         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25261 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25263         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25264         Unconditionally set __fpcr to avoid uninialized warning.
25265         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25267 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25269         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25270         is corrupt.
25272         * malloc/arena.c (arena_get2): Drop unused argument.
25273         (arena_lock): Adjust.
25274         (arena_get_retry): Likewise.
25276 2015-08-24  Andreas Schwab  <schwab@suse.de>
25278         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25279         Don't define.
25280         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25281         (__ASSUME_IPC64): Don't undef.
25282         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25283         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25284         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25285         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25286         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25287         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25288         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25289         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25290         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25291         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25292         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25293         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25294         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25295         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25296         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25297         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25298         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25299         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25300         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25301         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25302         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25304 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
25306         * manual/Makefile (install): Only build manual when perl is available.
25308 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25310         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25311         '#undef memcpy' by '#undef memchr'.
25313 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25315         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25316         memchr not point to the internal __GI_memchr implementation.
25318 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25320         * timezone/Makefile (CFLAGS-zdump.c): Remove
25321         -Wno-strict-prototypes.
25322         (CFLAGS-zic.c): Likewise.
25323         (CFLAGS-ialloc.c): Likewise.
25324         (CFLAGS-scheck.c): Likewise.
25326         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25327         -Wno-error=undef.
25329 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25331         * i386/i686/multiarch/strcasestr-c.c: Removed.
25332         * x86_64/multiarch/strcasestr.c: Likewise.
25333         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25334         Remove strcasestr.
25336 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25338         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25340         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25341         variables for high and low parts before possibly modifying them.
25343 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25345         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25346         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25347         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25348         of "multiarch/init-arch.h".
25349         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25350         * sysdeps/x86/init-arch.h: This.
25352 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25354         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25355         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25357 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25359         [BZ #17787]
25360         * manual/macros.texi: Add twoexp macro.
25361         * manual/filesys.texi: Fix exponents.
25362         * manual/llio.texi: Likewise.
25363         * manual/stdio.texi: Likewise.
25365 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25367         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25368         incorrect use.
25370 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25372         [BZ #18370]
25373         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25374         whose real or imaginary part has small absolute value.
25375         * math/s_csqrtf.c (__csqrtf): Likewise.
25376         * math/s_csqrtl.c (__csqrtl): Likewise.
25377         * math/auto-libm-test-in: Add more tests of csqrt.
25378         * math/auto-libm-test-out: Regenerated.
25379         * sysdeps/i386/fpu/libm-test-ulps: Update.
25381 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25383         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25384         __ppc_set_ppr_very_low): New functions.
25385         * manual/platform.texi: Add documentation about
25386         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25388 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25390         * string/stpncpy.c (stpncpy): Improve performance using
25391         __strnlen/memcpy/memset.
25393 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25395         [BZ #18796]
25396         * scripts/test-installation.pl: Don't add -lmvec to build options if
25397         libmvec wasn't built.
25399 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25401         [BZ #14341]
25402         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25403         case when there is a gap between DT_REL and DT_JMPREL sections.
25404         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25405         (LDFLAGS-tst-split-dynreloc): New.
25406         (tst-split-dynreloc-ENV): Likewise.
25407         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25408         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25410 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25412         [BZ #18822]
25413         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25414         attribute_hidden.
25415         (__xstat64_conv): Likewise.
25416         (__xstat32_conv): Likewise.
25418 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25420         [BZ #18822]
25421         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25422         Don't load %ebx when calling __setcontext.  Call __setcontext
25423         with HIDDEN_JUMPTARGET.
25424         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25425         libc_hidden_def.
25427 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25429         * sysdeps/i386/i686/Makefile
25430         [$(subdir) == string] (sysdep_routines): Moved to ...
25431         * sysdeps/i386/Makefile: Here.
25432         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25433         * sysdeps/i386/cacheinfo.c: Here.
25434         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25435         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25436         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25437         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25439 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25441         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25442         __i586__ is defined.
25443         (HAS_I686): Defined to 1 if __i686__ is defined.
25445 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25447         * elf/Makefile [$(have-z-execstack) = yes]
25448         (CPPFLAGS-tst-execstack.c): New variable.
25450         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25451         conditional to [defined UTMPX || _HAVE_UT_TYPE].
25452         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25453         UTMPX || _HAVE_UT_TV].
25454         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25455         UTMPX || _HAVE_UT_TV - 0].
25457 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
25459         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25460         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25461         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25463 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25465         * sysdeps/powerpc/dl-procinfo.c:
25466         (_dl_powerpc_cap_flags): Added missing strings for some
25467         hwcap features.
25468         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25470 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25472         Port the 0x7efe...feff pattern to GCC 6.
25473         See Steve Ellcey's bug report in:
25474         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25475         * string/memrchr.c (MEMRCHR):
25476         * string/rawmemchr.c (RAWMEMCHR):
25477         * string/strchr.c (strchr):
25478         * string/strchrnul.c (STRCHRNUL):
25479         Rewrite code to avoid issues with signed shift overflow.
25481 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25483         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25484         whether cpuid is available only if HAS_CPUID is 0.
25485         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25486         (HAS_I586): Likewise.
25487         (HAS_I686): Likewise.
25489 2015-08-18  Zack Weinberg  <zackw@panix.com>
25491         * misc/Versions (libc): Add GLIBC_2.23.
25493 2015-08-18  Alan Modra  <amodra@gmail.com>
25495         [BZ #18421]
25496         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25497         .Lp__global.
25498         (_start): Load %dp via .Lp__global.
25499         [!SHARED]: Use .section .rodata.
25501 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25503         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25504         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25506 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25508         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25509         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25511 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25513         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25514         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25516 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25518         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25519         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25521 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25523         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25524         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25526 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25528         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25529         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25531 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25533         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25535 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25537         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25538         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25539         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25540         (__ASSUME_LWS_CAS): Delete.
25542 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25544         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25545         * sysdeps/hppa/configure: Regenerated.
25546         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25547         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25548         * sysdeps/hppa/nptl/tls.h: Likewise.
25550 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25552         [BZ #18823]
25553         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25554         for scaling up small arguments.
25555         * math/s_csqrtf.c (__csqrtf): Likewise.
25556         * math/s_csqrtl.c (__csqrtl): Likewise.
25557         * math/auto-libm-test-in: Add more tests of csqrt.
25558         * math/auto-libm-test-out: Regenerated.
25560 2015-08-17  Andreas Schwab  <schwab@suse.de>
25562         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25563         version set GLIBC_2.19.
25565 2015-08-16  Zack Weinberg  <zackw@panix.com>
25567         [BZ #18681]
25568         * misc/regexp.h: This interface is no longer supported.
25569         Remove all contents, leaving only an #error directive.
25570         * misc/regexp.c (loc1, loc2, locs, step, advance):
25571         Demote to compatibility symbols.
25573 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25575         [BZ #18084]
25576         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25577         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25578         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25579         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25580         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25581         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25582         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25583         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25584         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25586 2015-08-15  Zack Weinberg  <zackw@panix.com>
25588         [BZ #18795]
25589         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25590         buffer length is known to be too large, not if it's known to be
25591         small enough.
25592         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25593         overflow at runtime, involving a length parameter, twice: once
25594         with a compile-time constant length parameter, once without.
25596 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25598         [BZ #18824]
25599         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25600         scaling x * y up instead of down.
25601         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25602         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25603         * math/auto-libm-test-in: Add more tests of fma.
25604         * math/auto-libm-test-out: Regenerated.
25606 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25608         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25610 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25612         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25613         unnecessary movq.
25614         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25615         Likewise.
25617 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25619         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25620         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25621         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25622         and tgamma.
25623         * math/auto-libm-test-out: Regenerated.
25624         * sysdeps/i386/fpu/libm-test-ulps: Update.
25625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25627         [BZ #16520]
25628         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25629         (__tanh): Force underflow exception for arguments with small
25630         absolute value.
25631         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25632         (__tanhf): Force underflow exception for arguments with small
25633         absolute value.
25634         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25635         (__tanhl): Force underflow exception for arguments with small
25636         absolute value.
25637         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25638         (__tanhl): Force underflow exception for arguments with small
25639         absolute value.
25640         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25641         (__tanhl): Force underflow exception for arguments with small
25642         absolute value.
25643         * math/auto-libm-test-in: Add more tests of tanh.
25644         * math/auto-libm-test-out: Regenerated.
25645         * sysdeps/i386/fpu/libm-test-ulps: Update.
25647 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25649         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25650         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25652 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25654         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25655         <cpuid.h>.
25657 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25659         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25660         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25662 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25664         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25665         Remove $(objpfx)init-arch.o.
25666         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25667         init-arch.
25668         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25669         (INIT_ARCH_EXT): Defined as empty.
25670         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25671         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25672         __init_cpu_features call.  Replace HAS_XXX with
25673         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25674         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25675         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25676         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25677         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25678         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25679         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25680         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25681         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25682         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25683         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25684         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25685         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25686         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25687         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25688         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25689         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25690         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25691         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25692         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25693         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25694         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25695         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25696         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25697         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25698         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25699         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25700         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25701         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25702         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25703         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25704         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25705         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25706         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25707         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25708         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25710 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25712         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25713         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25714         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25715         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25716         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25717         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25718         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25719         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25720         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25721         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25722         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25723         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25724         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25725         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25726         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25727         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25728         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25729         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25730         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25731         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25732         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25733         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25734         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25735         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25736         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25737         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25738         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25739         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25740         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25741         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25742         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25743         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25744         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25745         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25746         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25747         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25748         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25749         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25750         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25751         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25752         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25753         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25754         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25756 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25758         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25759         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25760         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25761         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25762         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25763         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25764         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25765         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25766         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25767         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25768         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25769         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25770         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25771         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25772         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25773         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25774         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25775         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25776         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25777         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25778         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25779         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25780         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25781         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25782         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25783         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25784         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25785         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25786         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25787         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25788         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25789         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25790         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25791         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25792         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25793         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25794         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25795         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25796         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25797         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25798         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25799         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25800         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25802 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25804         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25805         (dl_platform_init): Call init_cpu_features.
25806         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25807         * sysdeps/i386/i686/cacheinfo.c
25808         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25809         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25810         * sysdeps/i386/i686/multiarch/Versions: Removed.
25811         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25812         Removed.
25813         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25814         * sysdeps/unix/sysv/linux/x86/Makefile
25815         (libpthread-sysdep_routines): Remove init-arch.
25816         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25817         <sysdeps/x86_64/dl-procinfo.c> instead of
25818         sysdeps/generic/dl-procinfo.c>.
25819         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25820         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25821         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25822         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25823         [$(subdir) == elf] (tests-static): Add
25824         tst-get-cpu-features-static.
25825         * sysdeps/x86/Versions: New file.
25826         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25827         * sysdeps/x86/cpu-features.c: Likewise.
25828         * sysdeps/x86/cpu-features.h: Likewise.
25829         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25830         * sysdeps/x86/libc-start.c: Likewise.
25831         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25832         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25833         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25834         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25835         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25836         Assume USE_MULTIARCH is defined and don't check it.
25837         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25838         (is_amd): Likewise.
25839         (max_cpuid): Likewise.
25840         (intel_check_word): Likewise.
25841         (__cache_sysconf): Don't call __init_cpu_features.
25842         (__x86_preferred_memory_instruction): Removed.
25843         (init_cacheinfo): Don't call __init_cpu_features. Replace
25844         __cpu_features with GLRO(dl_x86_cpu_features).
25845         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25846         (dl_platform_init): Call init_cpu_features.
25847         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25848         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25849         * sysdeps/x86_64/multiarch/Versions: Removed.
25850         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25851         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25852         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25853         Removed.
25854         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25856 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25858         [BZ #18820]
25859         * libio/Makefile (test-fmemopen-mem): New test.
25860         * libio/test-fmemopen.c (do_bz18820): New test.
25861         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25862         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25864 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25866         [BZ #16734]
25867         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25868         (FREE_BUF): Delete.
25869         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25870         * libio/genops.c (_IO_setb): Use malloc and free directly.
25871         (_IO_default_doallocate, _IO_default_finish): Likewise.
25872         ( _IO_unbuffer_all): Likewise.
25873         ( libc_freeres_fn): Likewise.
25874         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25875         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25876         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25877         (_IO_wdefault_doallocate): Likewise.
25879 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25881         [BZ #18086]
25882         * sysdeps/posix/nice.c (nice): Restore old errno.
25883         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25885 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25889 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25891         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25892         __bcopy and add a weak_alias to bcopy.
25893         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25894         for static build.
25896         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25897         cleanup macro usage.
25898         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25899         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25900         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25901         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25902         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25903         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25904         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25905         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25906         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25907         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25908         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25909         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25910         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25911         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25912         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25913         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25914         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25915         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25916         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25918         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25919         libc_hidden_def.
25920         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25922         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25923         (sysdep_routines): Add strstr-ppc64.
25924         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25926 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25928         [BZ #18778]
25929         * elf/Makefile (tests): Add Add tst-nodelete2.
25930         (modules-names): Add tst-nodelete2mod.
25931         (tst-nodelete2mod.so-no-z-defs): New.
25932         ($(objpfx)tst-nodelete2): Likewise.
25933         ($(objpfx)tst-nodelete2.out): Likewise.
25934         (LDFLAGS-tst-nodelete2): Likewise.
25935         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25936         out of loop through all loaded libraries.
25937         * elf/tst-nodelete2.c: New file.
25938         * elf/tst-nodelete2mod.c: Likewise.
25939         * elf/tst-znodelete-zlib.cc: Delete.
25941 2015-08-11  Andreas Schwab  <schwab@suse.de>
25943         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25944         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25945         (__openat64_nocancel): Likewise.
25947 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25949         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25950         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25951         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25952         * math/auto-libm-test-out: Regenerated.
25953         * sysdeps/i386/fpu/libm-test-ulps: Update.
25954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25956 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25958         [BZ #18790]
25959         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25960         threshold for returning +/- 1.
25961         * math/auto-libm-test-in: Add more tests of tanh.
25962         * math/auto-libm-test-out: Regenerated.
25963         * sysdeps/i386/fpu/libm-test-ulps: Update.
25965 2015-08-10  Andreas Schwab  <schwab@suse.de>
25967         [BZ #18781]
25968         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25969         MORE_OFLAGS to oflag.
25970         * io/test-lfs.c (do_test): Test openat64.
25972 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25974         [BZ #18789]
25975         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25976         smaller threshold for returning the argument.
25977         * math/auto-libm-test-in: Add more tests of sinh.
25978         * math/auto-libm-test-out: Regenerated.
25979         * sysdeps/i386/fpu/libm-test-ulps: Update.
25981 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25983         [BZ #18674]
25984         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25985         break.
25987 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25989         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25990         (generated): Don't add $(addprefix z.,$(tzfiles)).
25992 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25994         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25995         * scripts/sysd-rules.awk: Likewise.
25997 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25999         * iconvdata/tst-tables.sh: Change echo -n to printf.
26000         * nss/db-Makefile: Likewise.
26001         * posix/tst-getconf.sh: Likewise.
26002         * stdio-common/tst-unbputc.sh: Likewise.
26004 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
26006         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
26007         MADV_*_PAGES defines behind this feature check.
26009 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
26011         [BZ #18480]
26012         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
26013         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
26014         Define.
26015         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
26016         LOAD_REGS_5, LOAD_REGS_6): Update.
26017         (INTERNAL_SYSCALL): Update using new LOAD defines.
26018         (INTERNAL_SYSCALL_NCS): Likewise.
26019         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
26021 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26023         [BZ #16734]
26024         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
26026 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26028         [BZ #17905]
26029         * catgets/Makefile (tst-catgets-mem): New test.
26030         * catgets/catgets.c (catopen): Don't use unbounded alloca.
26031         * catgets/open_catalog.c (__open_catalog): Likewise.
26032         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
26034 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
26036         [BZ #18787]
26037         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
26038         clobber registers.
26039         (atomic_compare_and_exchange_val_acq): Use register asms to assign
26040         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
26041         Cast return to __typeof (oldval).
26043 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
26045         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
26046         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
26047         and delete sys/syscall.h include.
26049 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
26051         [BZ #16517]
26052         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
26053         (tan): Force underflow exception for arguments with small absolute
26054         value.
26055         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26056         (__kernel_tanf): Force underflow exception for arguments with
26057         small absolute value.
26058         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26059         (__kernel_tanl): Force underflow exception for arguments with
26060         small absolute value.
26061         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26062         (__kernel_tanl): Force underflow exception for arguments with
26063         small absolute value.
26064         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26065         (__kernel_tanl): Force underflow exception for arguments with
26066         small absolute value.
26067         * math/auto-libm-test-in: Add more tests of tan.
26068         * math/auto-libm-test-out: Regenerated.
26070 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26072         Fix sysdeps/i386/fpu/s_scalbn.S build
26074         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26076 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26078         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26080 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26082         Fix gcrt0.o compilation
26084         When static-start-installed-name is different from
26085         start-installed-name, we must not use the shared objects.
26087         * csu/Makefile
26088         (extra-objs): Add gmon-start.o when building shared library and
26089         $(static-start-installed-name) is different from
26090         $(start-installed-name).
26091         $(objpfx)g$(static-start-installed-name): When building shared
26092         library and $(static-start-installed-name) is different from
26093         $(static-start-installed-name), revert to non-shared rule,
26094         i.e. using $(objpfx)% and gmon-start.o.
26096 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26098         [BZ #16519]
26099         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26100         (__ieee754_sinh): Force underflow exception for arguments with
26101         small absolute value.
26102         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26103         (__ieee754_sinhf): Force underflow exception for arguments with
26104         small absolute value.
26105         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26106         (__ieee754_sinhl): Force underflow exception for arguments with
26107         small absolute value.
26108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26109         (__ieee754_sinhl): Force underflow exception for arguments with
26110         small absolute value.
26111         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26112         (__ieee754_sinhl): Force underflow exception for arguments with
26113         small absolute value.
26114         * math/auto-libm-test-in: Add more tests of sinh.
26115         * math/auto-libm-test-out: Regenerated.
26116         * sysdeps/i386/fpu/libm-test-ulps: Update.
26118 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26120         * libio/oldfileops.c: Include unistd.h.
26122 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26124         * stdlib/isomac.c: Include ctype.h.
26126 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26128         * dirent/tst-seekdir.c (main): Converted to ...
26129         (do_test): ... this.
26130         (TEST_FUNCTION): New macro.
26131         Include test-skeleton.c.
26132         * elf/tst-dlmodcount.c (main): Converted to ...
26133         (do_test): ... this.
26134         (TEST_FUNCTION): New macro.
26135         Include test-skeleton.c.
26136         * elf/tst-order-main.c (main): Converted to ...
26137         (do_test): ... this.
26138         (TEST_FUNCTION): New macro.
26139         Include test-skeleton.c.
26140         * elf/tst-pie2.c (main): Converted to ...
26141         (do_test): ... this.
26142         (TEST_FUNCTION): New macro.
26143         Include test-skeleton.c.
26144         * inet/tst-ether_aton.c (main): Converted to ...
26145         (do_test): ... this.
26146         (TEST_FUNCTION): New macro.
26147         Include test-skeleton.c.
26148         * misc/tst-mntent.c (main): Converted to ...
26149         (do_test): ... this.
26150         (TEST_FUNCTION): New macro.
26151         Include test-skeleton.c.
26152         * misc/tst-tsearch.c (main): Converted to ...
26153         (do_test): ... this.
26154         (TEST_FUNCTION): New macro.
26155         Include test-skeleton.c.
26156         * posix/tst-regexloc.c (main): Converted to ...
26157         (do_test): ... this.
26158         (TEST_FUNCTION): New macro.
26159         Include test-skeleton.c.
26160         * resolv/tst-aton.c (main): Converted to ...
26161         (do_test): ... this.
26162         (TEST_FUNCTION): New macro.
26163         Include test-skeleton.c.
26164         * stdio-common/test-fwrite.c (main): Converted to ...
26165         (do_test): ... this.
26166         (TEST_FUNCTION): New macro.
26167         Include test-skeleton.c.
26168         * stdio-common/tst-ferror.c (main): Converted to ...
26169         (do_test): ... this.
26170         (TEST_FUNCTION): New macro.
26171         Include test-skeleton.c.
26172         * stdio-common/tst-printf.c (main): Converted to ...
26173         (do_test): ... this.
26174         (TEST_FUNCTION): New macro.
26175         Include test-skeleton.c.
26176         * stdio-common/tst-printfsz.c (main): Converted to ...
26177         (do_test): ... this.
26178         (TEST_FUNCTION): New macro.
26179         Include test-skeleton.c.
26180         * stdlib/tst-strtod.c (main): Converted to ...
26181         (do_test): ... this.
26182         (TEST_FUNCTION): New macro.
26183         Include test-skeleton.c.
26184         * string/tst-strlen.c (main): Converted to ...
26185         (do_test): ... this.
26186         (TEST_FUNCTION): New macro.
26187         Include test-skeleton.c.
26188         * string/tst-svc.c (main): Converted to ...
26189         (do_test): ... this.
26190         (TEST_FUNCTION): New macro.
26191         Include test-skeleton.c.
26192         * time/tst-strptime.c (main): Converted to ...
26193         (do_test): ... this.
26194         (TEST_FUNCTION): New macro.
26195         Include test-skeleton.c.
26196         * timezone/tst-timezone.c (main): Converted to ...
26197         (do_test): ... this.
26198         (TEST_FUNCTION): New macro.
26199         Include test-skeleton.c.
26201 2015-08-05  Zack Weinberg  <zackw@panix.com>
26203         * misc/regexp.h: Update comments.
26205 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26207         [BZ #18635]
26208         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26209         before return label.
26211 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26213         [BZ #18661]
26214         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26215         when calling __errno_location.
26216         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26217         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26219 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26221         [BZ #18661]
26222         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26223         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26224         __gettimeofday.
26226 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26228         [BZ #18661]
26229         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26230         (__start_context): Don't use pop to restore %rdi so that stack
26231         is aligned to 16 bytes when calling __setcontext.
26233 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26235         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26236         only for libc.
26237         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26239 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26241         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26242         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26243         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26245 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26247         * string/memccpy.c (memccpy):
26248         Improve performance by using memchr/memcpy/__mempcpy.
26250 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26252         * string/strncpy.c (strncpy):
26253         Improve performance by using __strnlen/memcpy.
26255 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26257         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26258         Optimize to avoid an unnecessary FPCR read.
26260 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26262         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26263         Optimize to reduce FPCR/FPSR accesses.
26265 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26267         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26268         dead->data[category] != NULL.
26270 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26272         [BZ #18647]
26273         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26274         and |x| close to 1, use absolute value of x when computing log.
26275         * math/auto-libm-test-in: Add more tests of pow.
26276         * math/auto-libm-test-out: Regenerated.
26278 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26280         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26281         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26282         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26284 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
26286         [BZ #18525]
26287         * locales/km_KH: Remove timezone definition.
26288         * locales/lo_LA: Likewise.
26289         * locales/my_MM: Likewise.
26290         * locales/nan_TW@latin: Likewise.
26291         * locales/th_TH: Likewise.
26292         * locales/uk_UA: Likewise.
26294 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26296         [BZ #18265]
26297         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26298         (wcsncat): Likewise.
26299         (wcscmp): Likewise.
26300         (wcsncmp): Likewise.
26302 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26304         * test-skeleton.c (usage): New function.
26305         (main): Call usage when opt is '?'.
26307 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26309         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26310         before first use.
26312 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26314         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26315         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
26316         in there too.
26318 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
26320         * version.h (RELEASE): Set to "development".
26321         (VERSION): Set to "2.22.90"
26323         * version.h (RELEASE): Set to "stable".
26324         (VERSION): Set to "2.22"
26325         * include/features.h (__GLIBC_MINOR__): Set to 22.
26327 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
26329         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26330         Restructure macro to avoid "value computed is not used" warning.
26331         (atomic_compare_and_exchange_val_acq): Likewise.
26333 2015-08-04  Andreas Schwab  <schwab@suse.de>
26335         [BZ #18635]
26336         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26337         ret.
26338         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26340 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26342         * po/pl.po: Updated translation.
26343         * po/uk.po: Likewise.
26344         * po/fi.po: Likewise.
26345         * po/ko.po: Likewise.
26346         * po/ru.po: Likewise.
26347         * po/vi.po: Likewise.
26349 2015-07-31  Zack Weinberg  <zackw@panix.com>
26351         [BZ #18681]
26352         * regexp.h: Add unconditional #warning stating that this header
26353         will be removed soon.  Revise banner comment to match.
26354         (compile): Consistently use ERROR instead of RETURN to report
26355         errors (partial fix for bz#18681).
26356         * regexp.c: Don't include regexp.h. Remove some unnecessary
26357         declarations.
26359 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26361         * po/libc.pot: Regenerated.
26363 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26365         [BZ #18740]
26366         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26367         float-vlen4-arch-ext-cflags): Removed.
26368         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26369         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26371 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26373         [BZ #14113]
26374         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26375         aligned to __aligned__.
26376         (pthread_cond_t, pthread_rwlock_t): Likewise.
26378 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26380         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26382 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26384         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26385         (struct sigaction): Change sa_flags from a long to an int, and add
26386         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26388 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26390         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26391         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26392         sysdeps/generic/sysdep.h include.
26393         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26394         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26395         sysdeps/hppa/sysdep.h.
26396         (ENTRY, PSEUDO): Undefine before defining.
26398 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26400         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26401         from scratch to use INTERNAL_SYSCALL.
26403 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26405         [BZ #18078]
26406         * scripts/check-localplt.awk: Support alternate relocations.
26407         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26408         sections.
26409         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26410         malloc entries with + REL R_386_GLOB_DAT.
26411         * sysdeps/x86_64/localplt.data: New file.
26413 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26415         [BZ #18731]
26416         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26417         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26418         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26420 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26422         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26424 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26426         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26427         directly in terms of __sync_fetch_and_add and delete (int) cast.
26429 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26431         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26432         the -D_ASM_IA64_CURRENT_H flag.
26434 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26436         [BZ #18641]
26437         * pwd/pwd.h (putpwent): Delete __nonnull markings.
26439 2015-07-27  Andreas Schwab  <schwab@suse.de>
26441         * conform/conformtest.pl (checknamespace): Filter out string
26442         literals while tokenizing.
26444 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26446         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26447         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26448         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26450 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26452         * nptl/tst-join7mod.c: Add #include <string.h>.
26454 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26456         * sysdeps/nios2/libm-test-ulps: Update.
26458 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26460         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26461         Fix order of arguments to the rt_sigprocmask syscall.
26462         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26463         Likewise.
26465 2015-07-24  Roland McGrath  <roland@hack.frob.com>
26467         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26469 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26471         [BZ #18457]
26472         * nptl/Makefile (tests): New test case tst-join7.
26473         (modules-names): New test case module tst-join7mod.
26474         * nptl/tst-join7.c: New file.
26475         * nptl/tst-join7mod.c: New file.
26476         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26477         all translation units in libc.so, libpthread.so and rtld.
26479 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26483 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26485         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26486         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26487         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26488         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26489         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26490         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26491         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26492         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26493         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26494         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26495         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26496         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26497         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26498         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26499         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26500         implementation.
26502 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26504         [BZ #17711]
26505         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26506         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26507         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26508         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26509         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26510         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26512 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26514         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26515         instead of just saying load lock in the comments.
26517 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26519         * sysdeps/unix/Subdirs: Moved ...
26520         * sysdeps/posix/Subdirs: ... here.
26521         * login/pty.h (struct termios, struct winsize): Add forward decls.
26522         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26523         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26524         * sysdeps/arm/nacl/libc.abilist: Updated.
26525         * sysdeps/nacl/libutil.abilist: New file.
26527         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26528         (SIGWINCH): New macro.
26530         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26531         * sysdeps/arm/nacl/libc.abilist: Add it.
26533 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26535         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26537 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26539         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26540         Swap __glibc_reserved0 and sa_flags order.
26542 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26544         [BZ #18657]
26545         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26546         are pending TLS destructor calls.
26547         * include/link.h (struct link_map): Add concurrency note for
26548         L_TLS_DTOR_COUNT.
26549         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26550         Don't touch the link map flag.  Atomically increment
26551         l_tls_dtor_count.
26552         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26553         Avoid taking the load lock and don't touch the link map flag.
26554         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26555         * stdlib/Makefile (tests): Use it.
26556         * stdlib/tst-tls-atexit.c (do_test): dlopen
26557         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26558         to allow tst-tls-atexit-nodelete test case to use it.
26560 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26562         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26563         to bits/types.h.
26564         (msgqnum_t): New typedef.
26565         (msglen_t): Likewise.
26566         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26567         and msg_qbytes type to msglen_t.
26569 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26571         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26572         pad0 to __glibc_reserved0.
26573         (struct stat64): Likewise.
26575 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26577         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26578         Change sa_flags from a long to an int and add __glibc_reserved0 before
26579         it for padding.
26581 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26583         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26584         anonymous by deleting "siginfo" name.
26586 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26588         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26589         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26590         rather than __nacl_irt_filename.
26591         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26593         * NEWS: New item for arm-nacl port.
26594         * sysdeps/arm/nacl/libc.abilist: New file.
26595         * sysdeps/nacl/ld.abilist: New file.
26596         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26597         * sysdeps/nacl/libanl.abilist: New file.
26598         * sysdeps/nacl/libcrypt.abilist: New file.
26599         * sysdeps/nacl/libdl.abilist: New file.
26600         * sysdeps/nacl/libm.abilist: New file.
26601         * sysdeps/nacl/libpthread.abilist: New file.
26602         * sysdeps/nacl/libresolv.abilist: New file.
26603         * sysdeps/nacl/librt.abilist: New file.
26605 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26607         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26608         __startcontext to initialize the new context.
26609         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26610         up CFI directive to forbid further backtracing.
26612 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26614         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26615         reference.
26616         * charmaps/ANSI_X3.4-1968: Likewise.
26617         * charmaps/BS_4730: Likewise.
26618         * charmaps/BS_VIEWDATA: Likewise.
26619         * charmaps/CP1250: Likewise.
26620         * charmaps/CP1251: Likewise.
26621         * charmaps/CP1252: Likewise.
26622         * charmaps/CP1253: Likewise.
26623         * charmaps/CP1254: Likewise.
26624         * charmaps/CP1255: Likewise.
26625         * charmaps/CP1256: Likewise.
26626         * charmaps/CSN_369103: Likewise.
26627         * charmaps/EBCDIC-DK-NO: Likewise.
26628         * charmaps/GB_1988-80: Likewise.
26629         * charmaps/GREEK-CCITT: Likewise.
26630         * charmaps/GREEK7: Likewise.
26631         * charmaps/INIS-8: Likewise.
26632         * charmaps/ISIRI-3342: Likewise.
26633         * charmaps/ISO_2033-1983: Likewise.
26634         * charmaps/ISO_5427-EXT: Likewise.
26635         * locales/POSIX: Likewise.
26636         * locales/ar_SA: Likewise.
26637         * locales/be_BY: Likewise.
26638         * locales/be_BY@latin: Likewise.
26639         * locales/ca_ES: Likewise.
26640         * locales/cs_CZ: Likewise.
26641         * locales/da_DK: Likewise.
26642         * locales/de_BE: Likewise.
26643         * locales/de_CH: Likewise.
26644         * locales/de_LU: Likewise.
26645         * locales/en_AU: Likewise.
26646         * locales/en_BW: Likewise.
26647         * locales/en_CA: Likewise.
26648         * locales/en_DK: Likewise.
26649         * locales/en_GB: Likewise.
26650         * locales/en_IE: Likewise.
26651         * locales/en_NZ: Likewise.
26652         * locales/en_ZA: Likewise.
26653         * locales/en_ZW: Likewise.
26654         * locales/es_AR: Likewise.
26655         * locales/es_BO: Likewise.
26656         * locales/es_CL: Likewise.
26657         * locales/es_CO: Likewise.
26658         * locales/es_DO: Likewise.
26659         * locales/es_EC: Likewise.
26660         * locales/es_ES: Likewise.
26661         * locales/es_HN: Likewise.
26662         * locales/es_MX: Likewise.
26663         * locales/es_PA: Likewise.
26664         * locales/es_PE: Likewise.
26665         * locales/es_PY: Likewise.
26666         * locales/es_SV: Likewise.
26667         * locales/es_US: Likewise.
26668         * locales/es_UY: Likewise.
26669         * locales/es_VE: Likewise.
26670         * locales/et_EE: Likewise.
26671         * locales/fa_IR: Likewise.
26672         * locales/fo_FO: Likewise.
26673         * locales/fr_CA: Likewise.
26674         * locales/fr_CH: Likewise.
26675         * locales/gv_GB: Likewise.
26676         * locales/he_IL: Likewise.
26677         * locales/hr_HR: Likewise.
26678         * locales/id_ID: Likewise.
26679         * locales/is_IS: Likewise.
26680         * locales/it_CH: Likewise.
26681         * locales/iw_IL: Likewise.
26682         * locales/kl_GL: Likewise.
26683         * locales/ko_KR: Likewise.
26684         * locales/kw_GB: Likewise.
26685         * locales/lg_UG: Likewise.
26686         * locales/lt_LT: Likewise.
26687         * locales/lv_LV: Likewise.
26688         * locales/mi_NZ: Likewise.
26689         * locales/nhn_MX: Likewise.
26690         * locales/nl_BE: Likewise.
26691         * locales/pl_PL: Likewise.
26692         * locales/sk_SK: Likewise.
26693         * locales/sl_SI: Likewise.
26694         * locales/sv_FI: Likewise.
26695         * locales/tl_PH: Likewise.
26696         * locales/tr_TR: Likewise.
26697         * locales/vi_VN: Likewise.
26699 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26701         [BZ #17475]
26702         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26703         of tu_IN and bh_IN.
26705 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26707         [BZ #18694]
26708         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26709         bits/wordsize.h.
26710         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26712 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26714         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26715         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26716         (spawn_thread): New function.
26717         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26718         (do_test): ... here.  Use IS_LOADED to test for its
26719         availability.
26721 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26723         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26725 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26727         [BZ #18696]
26728         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26729         si_addr_bnd.
26730         (si_lower): New.
26731         (si_upper): Likewise.
26733 2015-07-16  David S. Miller  <davem@davemloft.net>
26735         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26737 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26739         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26740         buffer.
26741         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26742         fail output information.
26744 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26747         and strstr-ppc64..
26748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26749         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26750         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26751         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26752         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26754 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26756         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26757         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26758         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26759         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26761 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26763         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26764         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26765         rtld_hidden_proto.
26766         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26768 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26770         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26771         the test can fail.
26773         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26775         [BZ #18676]
26776         * elf/tst-nodelete-opened.c: New test case.
26777         * elf/tst-nodelete-opened-lib.c: New test case module.
26778         * elf/Makefile (tests, modules-names): Use them.
26779         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26780         early.
26782 2015-07-15  David S. Miller  <davem@davemloft.net>
26784         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26785         futex-intenal.h
26786         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26787         * sysdeps/sparc/sparc64/Makefile: Likewise.
26788         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26789         Remove space from macro define.
26790         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26792 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26794         [BZ #17475]
26795         * locale/iso-639.def: Update Bhili and Tulu language codes as
26796         per iso639-3.
26798 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26800         * elf/tst-leaks1.c (main): Converted to ...
26801         (do_test): ... this.
26802         (TEST_FUNCTION): New macro.
26803         Include test-skeleton.c.
26804         * localedata/tst-langinfo.c (main): Converted to ...
26805         (do_test): ... this.
26806         (TEST_FUNCTION): New macro.
26807         Include test-skeleton.c.
26808         * math/test-fpucw.c (main): Converted to ...
26809         (do_test): ... this.
26810         (TEST_FUNCTION): New macro.
26811         Include test-skeleton.c.
26812         * math/test-tgmath.c (main): Converted to ...
26813         (do_test): ... this.
26814         (TEST_FUNCTION): New macro.
26815         Include test-skeleton.c.
26816         * math/test-tgmath2.c (main): Converted to ...
26817         (do_test): ... this.
26818         (TEST_FUNCTION): New macro.
26819         Include test-skeleton.c.
26820         * setjmp/tst-setjmp.c (main): Converted to ...
26821         (do_test): ... this.
26822         (TEST_FUNCTION): New macro.
26823         Include test-skeleton.c.
26824         * stdio-common/tst-sscanf.c (main): Converted to ...
26825         (do_test): ... this.
26826         (TEST_FUNCTION): New macro.
26827         Include test-skeleton.c.
26828         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26829         (do_test): ... this.
26830         (TEST_FUNCTION): New macro.
26831         Include test-skeleton.c.
26833         * elf/tst-audit9.c (main): Converted to ...
26834         (do_test): ... this.
26835         (TEST_FUNCTION): New macro.
26836         Include test-skeleton.c.
26838 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26840         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26842 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26844         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26845         New variable.
26847 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26849         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26851 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26853         * sysdeps/generic/dl-fileid.h: New file.
26854         * sysdeps/posix/dl-fileid.h: New file.
26855         * sysdeps/nacl/dl-fileid.h: New file.
26856         * include/link.h: Include <dl-fileid.h>.
26857         (struct link_map): Replace l_dev and l_ino with l_file_id.
26858         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26859         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26860         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26862 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26864         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26866 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26868         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26869         Add iff $CXX is set.
26870         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26871         Likewise.
26872         (tst-nodelete-zmodiff): Likewise.
26873         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26875 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26877         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26879 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26881         * sysdeps/aarch64/fpu/math_private.h
26882         (define math_opt_barrier): Add AArch64 version.
26883         (math_force_eval): Likewise.
26885 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26887         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26889 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26891         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26892         %ld with %jd and cast to intmax_t.
26893         (do_test_length_zero): Likewise.
26895 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26897         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26899 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26901         * sysdeps/tile/libm-test-ulps: Regenerated.
26903         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26904         Comment out the whole function, not just its body.
26906 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26908         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26909         locks.
26911         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26913 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26915         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26916         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26918 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26920         * sysdeps/nptl/futex-internal.h: New file.
26921         * sysdeps/nacl/futex-internal.h: New file.
26922         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26923         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26924         error checking.
26925         (setxid_unmark_thread): Likewise.
26926         (__nptl_setxid): Likewise.
26927         (__wait_lookup_done): Likewise.
26928         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26929         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26930         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26931         * nptl/pthread_once.c (clear_once_control): Likewise.
26932         (__pthread_once_slow): Likewise.
26933         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26934         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26935         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26936         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26937         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26938         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26939         Likewise.
26940         (__pthread_rwlock_rdlock): Likewise.
26941         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26942         Likewise.
26943         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26944         Likewise.
26945         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26946         Likewise.
26947         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26948         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26949         Likewise.
26950         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26951         __ASSUME_PRIVATE_FUTEX check.
26952         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26953         Check that shared futexes are supported.
26954         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26955         wrappers with error checking.
26956         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26957         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26958         * nptl/pthread_barrierattr_setpshared.c
26959         (pthread_barrierattr_setpshared): Check that shared futexes are
26960         supported.
26961         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26962         Likewise.
26963         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26964         Likewise.
26965         * nptl/sem_init.c (futex_private_if_supported): Remove.
26966         (__new_sem_init): Adapt and check that shared futexes are supported.
26967         * nptl/sem_open.c (sem_open): Likewise.
26968         * nptl/sem_post.c (futex_wake): Remove.
26969         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26970         (do_futex_wait): Use futex wrappers with error checking.
26971         * nptl/sem_wait.c: Include lowlevellock.h.
26972         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26973         Use futex_supports_pshared.
26974         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26975         Use futex wrappers with error checking.
26976         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26977         Likewise.
26978         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26979         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26980         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26981         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26982         (futex_wake): Likewise.
26983         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26984         (do_futex_wait): Use futex wrappers with error checking.
26985         (__new_sem_wait_slow): Update EINTR handling.
26986         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26988 2015-07-09  Martin Sebor  <msebor@redhat.com>
26990         [BZ #18435]
26991         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26992         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26993         * nptl/Makefile (test-xfail-tst-once5): Define.
26995 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26997         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26998         * elf/dl-minimal.c: For readability, reorder some definitions and
26999         introduce more page breaks.  Include <stdio.h>.
27000         (__libc_fatal): New function.
27002         * include/unistd.h: Add rtld_hidden_proto for _exit.
27003         * posix/_exit.c: Add rtld_hidden_def.
27004         * sysdeps/mach/hurd/_exit.c: Likewise.
27005         * sysdeps/nacl/_exit.c: Likewise.
27006         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
27007         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
27009 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
27011         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
27012         bndmov encoding with zero displacement.
27014 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
27015             H.J. Lu  <hongjiu.lu@intel.com>
27017         [BZ #18134]
27018         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
27019         * sysdeps/i386/configure: Regenerated.
27020         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
27021         (_dl_runtime_profile): Save and restore Intel MPX return bound
27022         registers when calling _dl_call_pltexit.  Add
27023         PRESERVE_BND_REGS_PREFIX before return.
27024         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
27025         (LRV_BND1_OFFSET): Likewise.
27026         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
27027         lrv_bnd1.
27028         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
27029         typo in bndmov encoding.
27030         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
27031         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
27032         branch instructions to preserve bounds.
27034 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
27037         [GLIBC_2.22]: Add fmemopen.
27039 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27041         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
27042         returns an error, also try to use host port from __mach_host_self for
27043         the __vm_wire call.
27044         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
27046 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27048         [BZ #18400]
27049         [BZ #18648]
27050         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
27051         Fix pr_uid and pr_gid members.
27052         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
27053         definition to elf_greg_t.
27055 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27057         [BZ #18383]
27058         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27059         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27060         * sysdeps/arm/configure: Regenerated.
27061         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27062         (test-xfail-tst-tlsalign-static): Variable removed.
27064         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27065         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27066         rather than explicit 'ln -s'.
27068         * resolv/rpc/netdb.h: New file.
27069         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27071 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27073         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27074         length buffers.
27075         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27076         test-skeleton.c.
27078         [BZ #6544]
27079         [BZ #11216]
27080         [BZ #12836]
27081         [BZ #13151]
27082         [BZ #13152]
27083         [BZ #14292]
27084         * include/stdio.h (fmemopen): Remove hidden prototype.
27085         (__fmemopen): Add new hidden prototype.
27086         * libio/Makefile: Add oldfmemopen object.
27087         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27088         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27089         compliance.
27090         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27091         symbol compatibility.
27092         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27093         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27094         fmemopen.
27095         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27096         on append and read mode.
27097         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27098         fmemopen.
27099         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27100         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27101         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27102         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27103         Likewise.
27104         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27105         [GLIBC_2.22]: Likewise.
27106         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27107         Likewise.
27108         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27109         Likewise.
27110         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27111         [GLIBC_2.22]: Likewise.
27112         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27113         [GLIBC_2.22]: Likewise.
27114         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27115         [GLIBC_2.22]: Likewise.
27116         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27117         [GLIBC_2.22]: Likewise.
27118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27119         [GLIBC_2.22]: Likewise.
27120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27121         [GLIBC_2.22]: Likewise.
27122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27123         [GLIBC_2.22]: Likewise.
27124         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27125         Likewise.
27126         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27127         Likewise.
27128         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27129         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27130         [GLIBC_2.22]: Likewise.
27131         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27132         [GLIBC_2.22]: Likewise.
27133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27134         [GLIBC_2.22]: Likewise.
27135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27136         [GLIBC_2.22]: Likewise.
27137         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27138         Likewise.
27139         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27140         Likewise.
27141         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27142         Likewise.
27143         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27144         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27146 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27148         [BZ #18643]
27149         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27150         IPV6_PATHMTU, and IPV6_DONTFRAG.
27152 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27154         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27155         and _IO_UNBUFFERED.
27156         * libio/oldfileops.c: Likewise.
27157         * libio/wfileops.c: Likewise.
27159 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27161         * nscd/selinux.c: Delete selinux/flask.h include.
27163 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27165         [BZ #18641]
27166         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27167         (putpwent): Likewise.
27168         (getpwnam): Likewise.
27169         (getpwent_r): Likewise.
27170         (getpwuid_r): Likewise.
27171         (getpwnam_r): Likewise.
27172         (fgetpwent_r): Likewise.
27174 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27176         [BZ #18557]
27177         * inet/rcmd.c (__validuser2_sa): Check user first to
27178         short-circuit host check.
27180 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27181             Mikhail Ilin  <m.ilin@samsung.com>
27183         [BZ #17833]
27184         * elf/Makefile (tests): Add tst-nodelete.
27185         (modules-names): Add tst-nodelete-uniquemod.
27186         (tst-nodelete-uniquemod.so-no-z-defs): New.
27187         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27188         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27189         ($(objpfx)tst-nodelete): Likewise.
27190         ($(objpfx)tst-nodelete.out): Likewise.
27191         (LDFLAGS-tst-nodelete): Likewise.
27192         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27193         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27194         implement forced object deletion.
27195         (_dl_close): Pass false to _dl_close_worker.
27196         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27197         * elf/tst-nodelete.cc: New file.
27198         * elf/tst-nodeletelib.cc: Likewise.
27199         * elf/tst-znodeletelib.cc: Likewise.
27200         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27202 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27204         [BZ #18508]
27205         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27206         Depend on $(libdl).
27207         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27208         is not called infinitely times.
27209         (backtrace_helper): New function.
27210         (trace_arg): New struct.
27211         (st1): Enlarge stack size.
27212         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27213         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27214         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27215         Likewise.
27217 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27219         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27221 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27223         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27224         Include sys/types.h instead of bits/types.h.
27225         Remove inclusion of bits/wordsize.h.
27227 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27229         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27230         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27231         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27232         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27233         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27234         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27236 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27238         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27239         link-defines.sym.
27240         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27241         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27242         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27243         and LR_SIZE.
27244         * sysdeps/i386/link-defines.sym: New file.
27246 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27248         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27249         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27250         ($(objpfx)tst-audit3): New rule.
27251         ($(objpfx)tst-audit3.out): Likewise.
27252         * sysdeps/i386/tst-audit3.c: New file.
27253         * sysdeps/i386/tst-audit3.h: Likewise.
27254         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27255         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27257 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27259         [BZ #18633]
27260         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27261         pointer in C code.
27262         (__strcat_c): Likewise.
27263         (__strcat_g): Likewise.
27265 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27267         [BZ #18592]
27268         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27270 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27272         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27273         New function.  (__ieee754_sqrtf): New function.
27274         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27275         New function.
27276         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27277         New function.
27279 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27281         * sysdeps/ieee754/support.c: Remove unused file.
27283 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27285         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27286         registers instead of d ones so the layout is kernel abi compatible.
27287         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27288         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27289         Likewise.
27291 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27293         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27295 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27297         [BZ #18619]
27298         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27299         and return argument in case of subnormal argument.
27301 2015-07-01  Martin Sebor  <msebor@redhat.com>
27303         [BZ #18435]
27304         * nptl/Makefile: Add tst-once5.cc.
27305         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27306         Remove macro redefinitions.
27307         * nptl/tst-once5.cc: New test.
27309 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27311         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27313         * sysdeps/arm/libm-test-ulps: Regenerated.
27315         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27316         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27318 2015-06-30  Torvald Riegel  <triegel@redhat.com>
27320         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27321         lll_lock_wait_private and lll_futex_wake probes.
27323         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27324         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27325         Likewise.
27326         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27327         atomic_spin_nop.
27328         * sysdeps/x86_64/bits/atomic.h: Likewise.
27329         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27330         to atomic_spin_nop and move ...
27331         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27332         ... here and ...
27333         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27334         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27335         atomic_spin_nop instead of BUSY_WAIT_NOP.
27336         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27337         Likewise.
27338         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27339         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27340         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27341         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27342         instead of atomic_delay.
27344 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27346         [BZ #18613]
27347         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27348         X_ADJ not X when adjusting exponent.
27349         (__ieee754_gamma_r): Do intermediate computations in
27350         round-to-nearest then adjust overflowing and underflowing results
27351         as needed.
27352         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27353         of X_ADJ not X when adjusting exponent.
27354         (__ieee754_gammaf_r): Do intermediate computations in
27355         round-to-nearest then adjust overflowing and underflowing results
27356         as needed.
27357         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27358         log of X_ADJ not X when adjusting exponent.
27359         (__ieee754_gammal_r): Do intermediate computations in
27360         round-to-nearest then adjust overflowing and underflowing results
27361         as needed.  Use 1.0L not 1.0f as numerator of division.
27362         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27363         log of X_ADJ not X when adjusting exponent.
27364         (__ieee754_gammal_r): Do intermediate computations in
27365         round-to-nearest then adjust overflowing and underflowing results
27366         as needed.  Use 1.0L not 1.0f as numerator of division.
27367         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27368         of X_ADJ not X when adjusting exponent.
27369         (__ieee754_gammal_r): Do intermediate computations in
27370         round-to-nearest then adjust overflowing and underflowing results
27371         as needed.  Use 1.0L not 1.0f as numerator of division.
27372         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27373         to auto-libm-test-in.
27374         (tgamma_test): Use ALL_RM_TEST.
27375         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27376         tests of tgamma with spurious-overflow.
27377         * math/auto-libm-test-out: Regenerated.
27378         * math/gen-libm-have-vector-test.sh: Do not check for START.
27379         * sysdeps/i386/fpu/libm-test-ulps: Update.
27380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27382         [BZ #18612]
27383         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27384         arguments, just return 0.5 times the argument, with underflow
27385         forced as needed.
27386         * math/auto-libm-test-in: Add more tests of j1.
27387         * math/auto-libm-test-out: Regenerated.
27389         [BZ #16559]
27390         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27391         (__ieee754_j1): Force underflow exception for small results.
27392         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27393         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27394         (__ieee754_j1f): Force underflow exception for small results.
27395         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27396         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27397         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27398         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27399         (__ieee754_j1l): Force underflow exception for small results.
27400         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27401         * math/auto-libm-test-in: Add more tests of j1 and jn.
27402         * math/auto-libm-test-out: Regenerated.
27404         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27405         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27406         (PF_MPLS): Likewise.
27407         (AF_IB): Likewise.
27408         (AF_MPLS): Likewise.
27409         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27410         value and macro.
27411         (MS_RMT_MASK): Include MS_LAZYTIME.
27413 2015-06-26  Mel Gorman  <mgorman@suse.de>
27415         [BZ #18502]
27416         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27417         already minimal.
27419 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27421         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27422         (DT_MIPS_NUM): Update.
27423         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27424         DT_MIPS_RLD_MAP_REL.
27426 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27428         [BZ #16559]
27429         [BZ #18602]
27430         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27431         round-to-nearest internally then recompute results that
27432         underflowed to zero in the original rounding mode.
27433         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27434         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27435         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27436         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27437         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27438         * sysdeps/i386/fpu/libm-test-ulps: Update.
27439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27441 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27443         * NEWS: Fixed description of link with vector math library.
27445 2015-06-25  Andreas Schwab  <schwab@suse.de>
27447         [BZ #18549]
27448         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27449         * libio/test-fmemopen.c (do_test): Add test for it.
27451 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27453         [BZ #17841]
27454         * Makeconfig (no-pie-ldflag): New.
27455         (+link): Set to $(+link-pie) if default to PIE.
27456         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27457         * config.make.in (build-pie-default): New.
27458         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
27459         is default.  AC_SUBST.
27460         * configure: Regenerated.
27461         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27463 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27465         * nptl/descr.h (struct pthread): Change type of field setxid_futex
27466         to 'unsigned int'.
27468         * resolv/gai_misc.h (struct waitlist): Change type of field
27469         counterp to 'volatile unsigned int *'.
27470         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27471         FUTEXADDR and OLDVAL.
27472         * resolv/getaddrinfo_a.c (getaddrinfo_a):
27473         Give local variable TOTAL type 'volatile unsigned int'.
27474         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27475         * resolv/gai_suspend.c (gai_suspend):
27476         Give local variable CNTR type 'unsigned int'.
27478         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27479         counterp to 'volatile unsigned int *'.
27480         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27481         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27482         (aio_suspend): Give local variable CNTR type 'unsigned int'.
27483         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27484         Give local variable TOTAL type 'volatile unsigned int'.
27485         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27487 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27489         [BZ #18383]
27490         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27491         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
27492         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27493         comment for i386/x86-64.
27494         (test-xfail-tst-tlsalign-extern-static): Removed.
27496 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27498         * math/test-double.h: New file.
27499         * math/test-float.h: Likewise.
27500         * math/test-ldouble.h: Likewise.
27501         * math/test-math-inline.h: Likewise.
27502         * math/test-math-no-inline.h: Likewise.
27503         * math/test-math-scalar.h: Likewise.
27504         * math/test-math-vector.h: Likewise.
27505         * math/test-vec-loop.h: Remove file.  Contents moved into
27506         test-math-vector.h.
27507         * math/libm-test.inc (MATHCONST): Do not document macro.
27508         * math/test-double.c: Include test-double.h, test-math-no-inline.h
27509         and test-math-scalar.h.
27510         (FUNC): Remove macro.
27511         (FUNC_TEST): Likewise.
27512         (FLOAT): Likewise.
27513         (MATHCONST): Likewise.
27514         (PRINTF_EXPR): Likewise.
27515         (PRINTF_XEXPR): Likewise.
27516         (PRINTF_NEXPR): Likewise.
27517         (TEST_DOUBLE): Likewise.
27518         (TEST_MATHVEC): Likewise.
27519         (__NO_MATH_INLINES): Likewise.
27520         * math/test-float.c: Include test-float.h, test-math-no-inline.h
27521         and test-math-scalar.h.
27522         (FUNC): Remove macro.
27523         (FUNC_TEST): Likewise.
27524         (FLOAT): Likewise.
27525         (MATHCONST): Likewise.
27526         (PRINTF_EXPR): Likewise.
27527         (PRINTF_XEXPR): Likewise.
27528         (PRINTF_NEXPR): Likewise.
27529         (TEST_FLOAT): Likewise.
27530         (TEST_MATHVEC): Likewise.
27531         (__NO_MATH_INLINES): Likewise.
27532         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27533         and test-math-scalar.h.
27534         (FUNC): Remove macro.
27535         (FUNC_TEST): Likewise.
27536         (FLOAT): Likewise.
27537         (MATHCONST): Likewise.
27538         (PRINTF_EXPR): Likewise.
27539         (PRINTF_XEXPR): Likewise.
27540         (PRINTF_NEXPR): Likewise.
27541         (TEST_DOUBLE): Likewise.
27542         (TEST_MATHVEC): Likewise.
27543         (TEST_INLINE): Likewise.
27544         (__NO_MATH_INLINES): Likewise.
27545         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27546         test-math-scalar.h.
27547         (FUNC): Remove macro.
27548         (FUNC_TEST): Likewise.
27549         (FLOAT): Likewise.
27550         (MATHCONST): Likewise.
27551         (PRINTF_EXPR): Likewise.
27552         (PRINTF_XEXPR): Likewise.
27553         (PRINTF_NEXPR): Likewise.
27554         (TEST_FLOAT): Likewise.
27555         (TEST_MATHVEC): Likewise.
27556         (TEST_INLINE): Likewise.
27557         (__NO_MATH_INLINES): Likewise.
27558         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27559         and test-math-scalar.h.
27560         (FUNC): Remove macro.
27561         (FUNC_TEST): Likewise.
27562         (FLOAT): Likewise.
27563         (MATHCONST): Likewise.
27564         (PRINTF_EXPR): Likewise.
27565         (PRINTF_XEXPR): Likewise.
27566         (PRINTF_NEXPR): Likewise.
27567         (TEST_LDOUBLE): Likewise.
27568         (TEST_MATHVEC): Likewise.
27569         (TEST_INLINE): Likewise.
27570         (__NO_MATH_INLINES): Likewise.
27571         * math/test-ldouble.c: Include test-ldouble.h,
27572         test-math-no-inline.h and test-math-scalar.h.
27573         (FUNC): Remove macro.
27574         (FUNC_TEST): Likewise.
27575         (FLOAT): Likewise.
27576         (MATHCONST): Likewise.
27577         (PRINTF_EXPR): Likewise.
27578         (PRINTF_XEXPR): Likewise.
27579         (PRINTF_NEXPR): Likewise.
27580         (TEST_LDOUBLE): Likewise.
27581         (TEST_MATHVEC): Likewise.
27582         (__NO_MATH_INLINES): Likewise.
27583         * math/test-double-vlen2.h: Include test-double.h,
27584         test-math-no-inline.h and test-math-vector.h.
27585         (FLOAT): Remove macro.
27586         (FUNC): Likewise.
27587         (MATHCONST): Likewise.
27588         (PRINTF_EXPR): Likewise.
27589         (PRINTF_XEXPR): Likewise.
27590         (PRINTF_NEXPR): Likewise.
27591         (TEST_DOUBLE): Likewise.
27592         (TEST_MATHVEC): Likewise.
27593         (__NO_MATH_INLINES): Likewise.
27594         (CNCT): Likewise.
27595         (CONCAT): Likewise.
27596         (WRAPPER_NAME): Likewise.
27597         (WRAPPER_DECL): Likewise.
27598         (WRAPPER_DECL_ff): Likewise.
27599         (WRAPPER_DECL_fFF): Likewise.
27600         (VECTOR_WRAPPER): Likewise.
27601         (VECTOR_WRAPPER_ff): Likewise.
27602         (VECTOR_WRAPPER_fFF): Likewise.
27603         (VEC_LEN): New macro.
27604         * math/test-double-vlen4.h: Include test-double.h,
27605         test-math-no-inline.h and test-math-vector.h.
27606         (FLOAT): Remove macro.
27607         (FUNC): Likewise.
27608         (MATHCONST): Likewise.
27609         (PRINTF_EXPR): Likewise.
27610         (PRINTF_XEXPR): Likewise.
27611         (PRINTF_NEXPR): Likewise.
27612         (TEST_DOUBLE): Likewise.
27613         (TEST_MATHVEC): Likewise.
27614         (__NO_MATH_INLINES): Likewise.
27615         (CNCT): Likewise.
27616         (CONCAT): Likewise.
27617         (WRAPPER_NAME): Likewise.
27618         (WRAPPER_DECL): Likewise.
27619         (WRAPPER_DECL_ff): Likewise.
27620         (WRAPPER_DECL_fFF): Likewise.
27621         (VECTOR_WRAPPER): Likewise.
27622         (VECTOR_WRAPPER_ff): Likewise.
27623         (VECTOR_WRAPPER_fFF): Likewise.
27624         (VEC_LEN): New macro.
27625         * math/test-double-vlen8.h: Include test-double.h,
27626         test-math-no-inline.h and test-math-vector.h.
27627         (FLOAT): Remove macro.
27628         (FUNC): Likewise.
27629         (MATHCONST): Likewise.
27630         (PRINTF_EXPR): Likewise.
27631         (PRINTF_XEXPR): Likewise.
27632         (PRINTF_NEXPR): Likewise.
27633         (TEST_DOUBLE): Likewise.
27634         (TEST_MATHVEC): Likewise.
27635         (__NO_MATH_INLINES): Likewise.
27636         (CNCT): Likewise.
27637         (CONCAT): Likewise.
27638         (WRAPPER_NAME): Likewise.
27639         (WRAPPER_DECL): Likewise.
27640         (WRAPPER_DECL_ff): Likewise.
27641         (WRAPPER_DECL_fFF): Likewise.
27642         (VECTOR_WRAPPER): Likewise.
27643         (VECTOR_WRAPPER_ff): Likewise.
27644         (VECTOR_WRAPPER_fFF): Likewise.
27645         (VEC_LEN): New macro.
27646         * math/test-float-vlen4.h: Include test-float.h,
27647         test-math-no-inline.h and test-math-vector.h.
27648         (FLOAT): Remove macro.
27649         (FUNC): Likewise.
27650         (MATHCONST): Likewise.
27651         (PRINTF_EXPR): Likewise.
27652         (PRINTF_XEXPR): Likewise.
27653         (PRINTF_NEXPR): Likewise.
27654         (TEST_FLOAT): Likewise.
27655         (TEST_MATHVEC): Likewise.
27656         (__NO_MATH_INLINES): Likewise.
27657         (CNCT): Likewise.
27658         (CONCAT): Likewise.
27659         (WRAPPER_NAME): Likewise.
27660         (WRAPPER_DECL): Likewise.
27661         (WRAPPER_DECL_ff): Likewise.
27662         (WRAPPER_DECL_fFF): Likewise.
27663         (VECTOR_WRAPPER): Likewise.
27664         (VECTOR_WRAPPER_ff): Likewise.
27665         (VECTOR_WRAPPER_fFF): Likewise.
27666         (VEC_LEN): New macro.
27667         * math/test-float-vlen8.h: Include test-float.h,
27668         test-math-no-inline.h and test-math-vector.h.
27669         (FLOAT): Remove macro.
27670         (FUNC): Likewise.
27671         (MATHCONST): Likewise.
27672         (PRINTF_EXPR): Likewise.
27673         (PRINTF_XEXPR): Likewise.
27674         (PRINTF_NEXPR): Likewise.
27675         (TEST_FLOAT): Likewise.
27676         (TEST_MATHVEC): Likewise.
27677         (__NO_MATH_INLINES): Likewise.
27678         (CNCT): Likewise.
27679         (CONCAT): Likewise.
27680         (WRAPPER_NAME): Likewise.
27681         (WRAPPER_DECL): Likewise.
27682         (WRAPPER_DECL_ff): Likewise.
27683         (WRAPPER_DECL_fFF): Likewise.
27684         (VECTOR_WRAPPER): Likewise.
27685         (VECTOR_WRAPPER_ff): Likewise.
27686         (VECTOR_WRAPPER_fFF): Likewise.
27687         (VEC_LEN): New macro.
27688         * math/test-float-vlen16.h: Include test-float.h,
27689         test-math-no-inline.h and test-math-vector.h.
27690         (FLOAT): Remove macro.
27691         (FUNC): Likewise.
27692         (MATHCONST): Likewise.
27693         (PRINTF_EXPR): Likewise.
27694         (PRINTF_XEXPR): Likewise.
27695         (PRINTF_NEXPR): Likewise.
27696         (TEST_FLOAT): Likewise.
27697         (TEST_MATHVEC): Likewise.
27698         (__NO_MATH_INLINES): Likewise.
27699         (CNCT): Likewise.
27700         (CONCAT): Likewise.
27701         (WRAPPER_NAME): Likewise.
27702         (WRAPPER_DECL): Likewise.
27703         (WRAPPER_DECL_ff): Likewise.
27704         (WRAPPER_DECL_fFF): Likewise.
27705         (VECTOR_WRAPPER): Likewise.
27706         (VECTOR_WRAPPER_ff): Likewise.
27707         (VECTOR_WRAPPER_fFF): Likewise.
27708         (VEC_LEN): New macro.
27709         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27710         test-vec-loop.h.
27711         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27712         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27713         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27714         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27715         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27716         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27717         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27719 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27721         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27722         (__getlogin_r): ... this.
27724 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27726         [BZ #18594]
27727         * math/s_ccosh.c (__ccosh): Compare with least normal value
27728         instead of comparing class with FP_SUBNORMAL.
27729         * math/s_ccoshf.c (__ccoshf): Likewise.
27730         * math/s_ccoshl.c (__ccoshl): Likewise.
27731         * math/s_cexp.c (__cexp): Likewise.
27732         * math/s_cexpf.c (__cexpf): Likewise.
27733         * math/s_cexpl.c (__cexpl): Likewise.
27734         * math/s_csin.c (__csin): Likewise.
27735         * math/s_csinf.c (__csinf): Likewise.
27736         * math/s_csinh.c (__csinh): Likewise.
27737         * math/s_csinhf.c (__csinhf): Likewise.
27738         * math/s_csinhl.c (__csinhl): Likewise.
27739         * math/s_csinl.c (__csinl): Likewise.
27740         * math/s_ctan.c (__ctan): Likewise.
27741         * math/s_ctanf.c (__ctanf): Likewise.
27742         * math/s_ctanh.c (__ctanh): Likewise.
27743         * math/s_ctanhf.c (__ctanhf): Likewise.
27744         * math/s_ctanhl.c (__ctanhl): Likewise.
27745         * math/s_ctanl.c (__ctanl): Likewise.
27746         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27747         csin, csinh, ctan and ctanh.
27748         * math/auto-libm-test-out: Regenerated.
27749         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27750         * sysdeps/i386/fpu/libm-test-ulps: Update.
27751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27753 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27755         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27756         return value is wrong, print the expected value too.
27758 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27760         [BZ #18585]
27761         * elf/readlib.c (is_gdb_python_file): New.
27762         (process_file): Don't issue errors on filenames with -gdb.py
27763         suffix.
27765 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27767         * math/auto-libm-test-in: Add more tests of csin and csinh.
27768         * math/auto-libm-test-out: Regenerated.
27769         * math/libm-test.inc (csin_test_data): Remove tests moved to
27770         auto-libm-test-in.
27771         (csinh_test_data): Likewise.
27773         [BZ #18593]
27774         * math/s_csin.c (__csin): Negate before rather than after possibly
27775         overflowing multiplication.
27776         * math/s_csinf.c (__csinf): Likewise.
27777         * math/s_csinh.c (__csinh): Likewise.
27778         * math/s_csinhf.c (__csinhf): Likewise.
27779         * math/s_csinhl.c (__csinhl): Likewise.
27780         * math/s_csinl.c (__csinl): Likewise.
27781         * math/auto-libm-test-in: Add some tests of csin and csinh.
27782         * math/auto-libm-test-out: Regenerated.
27783         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27784         (csinh_test_data): Likewise.
27785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27787         [BZ #18586]
27788         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27789         underflow exception for small results.
27791 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27793         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27794         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27795         variable and included header.
27796         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27797         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27798         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27799         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27800         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27801         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27802         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27803         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27804         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27805         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27806         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27807         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27808         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27809         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27810         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27811         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27813 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27815         [BZ #16526]
27816         [BZ #16538]
27817         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27818         (__sin): Force underflow exception for arguments with small
27819         absolute value.
27820         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27821         (__kernel_sinf): Force underflow exception for arguments with
27822         small absolute value.
27823         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27824         (__kernel_sincosl): Force underflow exception for arguments with
27825         small absolute value.
27826         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27827         (__kernel_sinl): Force underflow exception for arguments with
27828         small absolute value.
27829         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27830         (__kernel_sincosl): Force underflow exception for arguments with
27831         small absolute value.
27832         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27833         (__kernel_sinl): Force underflow exception for arguments with
27834         small absolute value.
27835         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27836         (__kernel_sinl): Force underflow exception for arguments with
27837         small absolute value.
27838         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27839         (__kernel_sinf): Force underflow exception for arguments with
27840         small absolute value.
27841         * math/auto-libm-test-in: Add more tests of sin and sincos.
27842         * math/auto-libm-test-out: Regenerated.
27844         [BZ #18245]
27845         [BZ #18583]
27846         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27847         (__kernel_standard_l): Use feholdexcept and fesetenv around
27848         conversion to double instead of special-casing overflow and
27849         underflow.
27850         * math/libm-test.inc (fmod_test_data): Add more tests.
27851         (remainder_test_data): Likewise.
27852         (sqrt_test_data): Likewise.
27854 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27856         [BZ #17403]
27857         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27858         atomic_read_barrier, atomic_write_barrier): Define.
27859         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27860         atomic_read_barrier, atomic_write_barrier): Define.
27862 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27864         * math/Makefile [$(PERL) != no]
27865         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27866         dependency on libm-test.stmp below the inclusion of Rules.
27868 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27870         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27871         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27872         and included header.
27873         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27874         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27875         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27876         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27877         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27878         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27879         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27880         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27881         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27882         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27883         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27884         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27885         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27886         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27887         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27888         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27889         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27890         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27891         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27893 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27895         [BZ #18371]
27896         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27897         intermediate but not final result might underflow.
27898         * math/s_csqrtf.c (__csqrtf): Likewise.
27899         * math/s_csqrtl.c (__csqrtl): Likewise.
27900         * math/auto-libm-test-in: Add more tests of csqrt.
27901         * math/auto-libm-test-out: Regenerated.
27902         * sysdeps/i386/fpu/libm-test-ulps: Update.
27904         [BZ #18219]
27905         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27906         threshold on absolute value of exponent for which scaling is used.
27907         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27908         * math/auto-libm-test-in: Add more tests of exp2.
27909         * math/auto-libm-test-out: Regenerated.
27911 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27913         [BZ #17977]
27914         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27915         when initializing interface list, based on the bug analysis
27916         and the patch proposed by Eric Newton.
27917         * resolv/tst-res_hconf_reorder.c: New test.
27918         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27919         tst-res_hconf_reorder.
27920         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27921         and $(shared-thread-library).
27922         (tst-res_hconf_reorder-ENV): New variable.
27924         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27925         in comment.
27927 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27929         [BZ #16353]
27930         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27931         (__expm1): Force underflow exception for arguments with small
27932         absolute value.
27933         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27934         (__expm1f): Force underflow exception for arguments with small
27935         absolute value.
27936         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27937         (__expm1): Force underflow exception for arguments with small
27938         absolute value.
27939         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27940         (__expm1f): Force underflow exception for arguments with small
27941         absolute value.
27942         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27943         Check for small arguments before calling __expm1.
27944         * math/auto-libm-test-in: Do not mark underflow exceptions as
27945         possibly missing for bug 16353.
27946         * math/auto-libm-test-out: Regenerated.
27948 2015-06-22  Andreas Schwab  <schwab@suse.de>
27950         [BZ #18513]
27951         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27952         PTR queries.
27954 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27956         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27958         * string/strcoll_l.c: Remove unused struct element idxnow.
27960 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27962         [BZ #18569]
27963         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27964         underflow and return argument in case of subnormal argument.
27965         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27966         Likewise.
27967         * math/auto-libm-test-in: Add more tests of expm1.
27968         * math/auto-libm-test-out: Regenerated.
27970         [BZ #16361]
27971         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27972         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27973         tiny results.
27974         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27975         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27976         tiny results.
27977         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27978         mark underflow exceptions as possibly missing for bug 16361.
27979         * math/auto-libm-test-out: Regenerated.
27981 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27983         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27984         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27985         Remove variable.
27986         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27987         (test-xfail-XOPEN2K8/utmpx.h/conform).
27989         * conform/conformtest.pl ($xerrors): New variable.
27990         (note_error): New function.
27991         (compiletest): New argument $xfail.  Use not_error.
27992         (runtest): Likewise.
27993         (top level): Handle xfail- lines.  Update calls to compiletest and
27994         runtest.  Handle xfail- and optional- in headers listed with
27995         allow-header.
27996         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27997         (O_EXEC): Likewise.
27998         (O_SEARCH): Likewise.
27999         * conform/data/stropts.h-data (ioctl): Likewise.
28000         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
28001         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
28002         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
28003         (msghdr.msg_controllen): Likewise.
28004         (cmsghdr.cmsg_len): Likewise.
28005         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
28006         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
28007         variable.
28008         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
28009         (test-xfail-XPG4/stropts.h/conform): Likewise.
28010         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
28011         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
28012         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
28013         (test-xfail-UNIX98/stropts.h/conform): Likewise.
28014         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
28015         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
28016         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
28017         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
28018         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
28019         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
28020         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
28021         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
28022         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
28023         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
28024         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
28025         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
28026         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
28027         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
28028         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
28030 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
28032         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
28033         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
28034         definitions for proper unfolding of __MATHDECL_VEC.
28036 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28038         * benchtests/bench-strcoll.c:
28039         Include string.h.
28040         (main): Remove unused variable res.
28042 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28044         * timezone/Makefile (%/UTC %/Universal):
28045         Generate test-result files for UTC and Universal.
28047 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
28049         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28051 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
28053         [BZ #16350]
28054         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28055         for arguments with small absolute value.
28056         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28057         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28058         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28059         (__asinh): Force underflow exception for arguments with small
28060         absolute value.
28061         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28062         (__asinhf): Force underflow exception for arguments with small
28063         absolute value.
28064         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28065         (__asinhl): Force underflow exception for arguments with small
28066         absolute value.
28067         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28068         (__asinhl): Force underflow exception for arguments with small
28069         absolute value.
28070         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28071         (__asinhl): Force underflow exception for arguments with small
28072         absolute value.
28073         * math/auto-libm-test-in: Do not mark underflow exceptions as
28074         possibly missing for bug 16350.
28075         * math/auto-libm-test-out: Regenerated.
28077         * include/bits/ipc.h: Remove file.
28078         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28079         variable.
28080         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28081         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28082         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28083         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28084         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28085         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28086         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28087         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28088         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28090         * math/auto-libm-test-in: Remove spurious underflow allowance for
28091         tests of cexp.
28092         * math/auto-libm-test-out: Regenerated.
28094         [BZ #18558]
28095         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28096         unconditional definition.
28097         (MCAST_BLOCK_SOURCE): Likewise.
28098         (MCAST_UNBLOCK_SOURCE): Likewise.
28099         (MCAST_LEAVE_GROUP): Likewise.
28100         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28101         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28102         (MCAST_MSFILTER): Likewise.
28103         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28104         Remove variable.
28105         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28106         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28107         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28108         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28109         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28111 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28113         * NEWS: Mention addition of x86_64 vector sincosf.
28114         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28115         * math/test-float-vlen4.h: Likewise.
28116         * math/test-float-vlen8.h: Likewise.
28117         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28118         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28119         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28120         * sysdeps/x86_64/fpu/Versions: New versions added.
28121         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28122         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28123         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28124         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28125         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28126         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28127         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28128         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28129         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28130         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28131         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28132         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28133         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28134         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28135         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28136         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28137         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28138         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28139         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28140         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28141         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28142         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28143         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28144         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28146         * NEWS: Mention addition of x86_64 vector sincos.
28147         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28148         * math/math.h (__MATHDECL_VEC): New macro.
28149         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28150         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28151         declaration under condition.
28152         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28153         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28154         TEST_VEC_LOOP change.
28155         * math/test-double-vlen4.h: Likewise.
28156         * math/test-double-vlen8.h: Likewise.
28157         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28158         * math/test-float-vlen4.h: Likewise.
28159         * math/test-float-vlen8.h: Likewise.
28160         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28161         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28162         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28163         * sysdeps/x86_64/fpu/Versions: New versions added.
28164         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28165         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28166         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28167         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28168         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28169         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28170         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28171         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28173         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28174         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28175         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28176         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28177         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28178         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28179         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28180         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28181         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28182         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28183         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28184         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28185         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28186         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28187         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28189         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28190         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28191         redirections for powf.
28192         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28193         * sysdeps/x86_64/fpu/Versions: New versions added.
28194         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28195         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28196         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28197         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28198         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28199         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28200         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28201         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28202         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28203         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28204         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28205         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28206         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28207         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28208         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28209         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28210         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28211         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28212         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28213         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28214         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28215         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28216         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28217         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28218         * math/test-float-vlen16.h: Fixed 2 argument macro.
28219         * math/test-float-vlen4.h: Likewise.
28220         * math/test-float-vlen8.h: Likewise.
28221         * NEWS: Mention addition of x86_64 vector powf.
28223 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28225         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28226         and redefine.
28227         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28228         and redefine.
28229         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28230         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28231         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28233         [BZ #18553]
28234         * resource/getpriority.c (getpriority): Rename to __getpriority
28235         and define as weak alias of __getpriority.
28236         * resource/setpriority.c (setpriority): Rename to __setpriority
28237         and define as weak alias of __setpriority.
28238         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28239         __getpriority and define as weak alias of __getpriority.
28240         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28241         __setpriority and define as weak alias of __setpriority.
28242         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28243         strong name.
28244         (setpriority): Use __setpriority as strong name.
28245         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28246         __getpriority and define as weak alias of __getpriority.
28247         * include/sys/resource.h (__getpriority): Declare.  Use
28248         libc_hidden_proto.
28249         (__setpriority): Likewise.
28250         (getpriority): Don't use libc_hidden_proto.
28251         (setpriority): Likewise.
28252         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28253         getpriority.  Call __setpriority instead of setpriority.
28254         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28255         Remove variable.
28257         [BZ #18547]
28258         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28259         as weak alias of __getttynam.  Use prototype function definition.
28260         Call __setttyent, __getttyent and __endttyent instead of
28261         setttyent, getttyent and endttyent.
28262         (getttyent): Rename to __getttyent and define as weak alias of
28263         __getttyent.  Call __setttyent instead of setttyent.  Call
28264         __fgets_unlocked instead of fgets_unlocked.
28265         (setttyent): Rename to __setttyent and define as weak alias of
28266         __setttyent.
28267         (endttyent): Rename to __endttyent and define as weak alias of
28268         __endttyent.
28269         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28270         (__setttyent): Likewise.
28271         (__endttyent): Likewise.
28272         (getttyent): Don't use libc_hidden_proto.
28273         (setttyent): Likewise.
28274         (endttyent): Likewise.
28275         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28276         __endttyent instead of setttyent, getttyent and endttyent.
28277         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28278         Remove variable.
28280         [BZ #18546]
28281         * socket/recv.c (__recv): Use libc_hidden_def.
28282         * socket/socket.c (__socket): Likewise.
28283         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28284         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28285         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28286         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28287         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28288         libc_hidden_def.
28289         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28290         libc_hidden_weak.
28291         * include/sys/socket.h (__socket): Do not use attribute_hidden.
28292         Use libc_hidden_proto.
28293         (__recv): Likewise.
28294         * socket/Versions (libc): Export __recv and __socket at version
28295         GLIBC_PRIVATE.
28296         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28297         instead of recv.
28298         (init_mq_netlink): Call __socket instead of socket.
28299         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28300         Remove variable.
28302         [BZ #18545]
28303         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28304         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
28305         hidden_weak.
28306         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28307         define as alias of __mq_timedsend.  Use hidden_weak.
28308         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28309         __mq_timedsend as strong name.
28310         (mq_timedreceive): Use __mq_timedreceive as strong name.
28311         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
28312         (__mq_timedreceive): Likewise.
28313         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28314         __mq_timedreceive instead of mq_timedreceive.
28315         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28316         instead of mq_timedsend.
28317         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28318         Remove variable.
28320         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28321         hidden_def and hidden_weak instead of libc_hidden_def and
28322         libc_hidden_weak.
28323         (top level): Refer to hidden_def in comment.
28324         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28325         macro.  Use it instead of libc_hidden_def.
28326         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28327         specify __GI_* name explicitly.
28328         (mq_timedreceive): Likewise.
28329         (mq_setattr): Likewise.
28331         [BZ #18544]
28332         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28333         __pthread_barrier_init and define as weak alias of
28334         __pthread_barrier_init.
28335         * sysdeps/sparc/nptl/pthread_barrier_init.c
28336         (pthread_barrier_init): Likewise.
28337         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28338         __pthread_barrier_wait and define as weak alias of
28339         __pthread_barrier_wait.
28340         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28341         (pthread_barrier_wait): Likewise.
28342         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28343         (pthread_barrier_wait): Likewise.
28344         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28345         (pthread_barrier_wait): Likewise.
28346         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28347         (pthread_barrier_wait): Likewise.
28348         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28349         __pthread_barrier_wait at version GLIBC_PRIVATE.
28350         * include/pthread.h (__pthread_barrier_init): Declare.
28351         (__pthread_barrier_wait): Likewise.
28352         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28353         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28354         (helper_thread): Likewise.
28355         (init_mq_netlink): Call __pthread_barrier_init instead of
28356         pthread_barrier_init.
28358         [BZ #18542]
28359         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28360         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28361         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28362         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28363         vswscanf.
28364         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28365         Remove variable.
28367         [BZ #18540]
28368         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28369         strong alias of _IO_fflush.  Use libc_hidden_def.
28370         * libio/iofflush_u.c (fflush_unlocked): Rename to
28371         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28372         Use libc_hidden_weak.
28373         * include/stdio.h (__fflush_unlocked): Declare.  Use
28374         libc_hidden_proto.
28375         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28376         fflush_unlocked.
28377         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28378         Remove variable.
28380         [BZ #18539]
28381         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28382         define as weak alias of __addseverity.
28383         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28384         Remove variable.
28385         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28386         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28387         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28389         [BZ #18536]
28390         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28391         (__tfind): Likewise.
28392         (__tdelete): Likewise.
28393         (__twalk): Likewise.
28394         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28395         __twalk to GLIBC_PRIVATE.
28396         * include/search.h (__tsearch): Use libc_hidden_proto.
28397         (__tfind): Likewise.
28398         (__tdelete): Likewise.
28399         (__twalk): Likewise.
28400         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28401         Call __tdelete instead of tdelete.
28402         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28403         tfind.  Call __tsearch instead of tsearch.
28404         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28405         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28406         Remove variable.
28407         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28409         [BZ #18534]
28410         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28411         (dprintf): Define as a weak alias of __dprintf, not a strong
28412         alias.
28413         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28414         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28415         dprintf.
28416         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28417         Remove variable.
28418         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28419         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28421         [BZ #18533]
28422         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28423         not a strong alias.
28424         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28425         Remove variable.
28427         [BZ #18532]
28428         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28429         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
28430         (in6addr_loopback): Rename to __in6addr_loopback and define as
28431         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
28432         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
28433         libc_hidden_proto.
28434         (__in6addr_any): Likewise.
28435         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28436         in6addr_any.
28437         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28438         variable.
28439         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28441 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
28443         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28444         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28445         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28446         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28447         redirections for pow.
28448         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28449         * sysdeps/x86_64/fpu/Versions: New versions added.
28450         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28451         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28452         build of SSE, AVX2 and AVX512 IFUNC versions.
28453         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28454         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28455         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28456         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28457         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28458         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28459         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28460         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28461         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28462         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28463         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28464         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28465         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28466         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
28467         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28468         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28469         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28470         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28471         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28472         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28473         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28474         * NEWS: Mention addition of x86_64 vector pow.
28476         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28477         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28478         redirections for expf.
28479         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28480         * sysdeps/x86_64/fpu/Versions: New versions added.
28481         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28482         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28483         build of SSE, AVX2 and AVX512 IFUNC versions.
28484         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
28485         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28486         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28487         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28488         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28489         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28490         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28491         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28492         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28493         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28494         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28495         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28496         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
28497         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28498         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28499         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28500         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28501         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28502         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28503         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28504         * NEWS: Mention addition of x86_64 vector expf.
28506         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28507         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
28508         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28509         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28510         redirections for exp.
28511         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28512         * sysdeps/x86_64/fpu/Versions: New versions added.
28513         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28514         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28515         build of SSE, AVX2 and AVX512 IFUNC versions.
28516         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28517         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28518         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28519         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28520         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28521         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28522         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28523         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28524         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28525         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28526         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28527         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28528         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28529         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28530         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28531         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28532         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28533         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28534         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28535         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28536         * NEWS: Mention addition of x86_64 vector exp.
28538         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28539         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28540         redirections for logf.
28541         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28542         * sysdeps/x86_64/fpu/Versions: New versions added.
28543         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28544         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28545         build of SSE, AVX2 and AVX512 IFUNC versions.
28546         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28547         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28548         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28549         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28550         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28551         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28552         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28553         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28554         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28555         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28556         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28557         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28558         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28559         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28560         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28561         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28562         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28563         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28564         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28565         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28566         * NEWS: Mention addition of x86_64 vector logf.
28568         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28569         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28570         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28571         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28572         redirections for log.
28573         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28574         * sysdeps/x86_64/fpu/Versions: New versions added.
28575         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28576         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28577         build of SSE, AVX2 and AVX512 IFUNC versions.
28578         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28579         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28580         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28581         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28582         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28583         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28584         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28585         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28586         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28587         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28588         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28589         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28590         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28591         test.
28592         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28593         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28594         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28595         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28596         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28597         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28598         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28599         * NEWS: Mention addition of x86_64 vector log.
28601 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28603         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28604         cfi_adjust_cfa_offset argument.
28605         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28606         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28608         [BZ #18034]
28609         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28610         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28611         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28612         ordering using ldar.
28613         (_dl_tlsdesc_dynamic): Likewise.
28614         (_dl_tlsdesc_return_lazy): Likewise.
28615         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28616         relaxed atomics instead of volatile and synchronize with release store.
28617         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28618         volatile.
28619         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28621 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28623         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28624         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28625         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28626         * sysdeps/x86_64/fpu/Versions: New versions added.
28627         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28628         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28629         build of SSE, AVX2 and AVX512 IFUNC versions.
28630         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28631         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28632         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28633         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28634         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28635         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28636         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28637         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28638         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28639         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28640         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28641         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28642         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28643         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28644         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28645         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28646         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28647         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28648         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28649         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28650         * NEWS: Mention addition of x86_64 vector sinf.
28652 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28654         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28655         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28656         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28657         Remove variable.
28658         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28659         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28661 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28663         [BZ #18530]
28664         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28665         strong alias of _IO_fputs.  Use libc_hidden_def.
28666         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28667         and define as weak alias of __fputs_unlocked.  Use
28668         libc_hidden_weak.
28669         * include/stdio.h (__fputs_unlocked): Declare.  Use
28670         libc_hidden_proto.
28671         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28672         fputs_unlocked.
28674         [BZ #18529]
28675         * resolv/netdb.h [__USE_POSIX]: Change condition to
28676         [__USE_XOPEN2K].
28677         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28678         not expect.
28679         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28680         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28681         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28682         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28683         [XPG4 || UNIX98] (AI_ALL): Likewise.
28684         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28685         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28686         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28687         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28688         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28689         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28690         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28691         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28692         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28693         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28694         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28695         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28696         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28697         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28698         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28699         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28700         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28701         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28702         [XPG4 || UNIX98] (gai_strerror): Likewise.
28703         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28704         [XPG4 || UNIX98] (getnameinfo): Likewise.
28706         [BZ #18528]
28707         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28708         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28709         __USE_XOPEN2K8].
28710         (getgrent): Likewise.
28711         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28712         expect.
28713         [XPG3 || POSIX2008] (endgrent): Likewise.
28714         [XPG3] (setgrent): Likewise.
28715         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28716         variable.
28717         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28719         [BZ #18527]
28720         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28721         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28722         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28723         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28724         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28725         * include/unistd.h (__getlogin_r): Declare.  Use
28726         libc_hidden_proto.
28727         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28728         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28729         variable.
28730         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28731         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28732         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28734 2015-06-12  Martin Sebor  <msebor@redhat.com>
28736         [BZ #18512]
28737         * Makerules (check-install-supported): New target.
28738         (install): Add check-install-supported as a dependency.
28739         * manual/install.texi (Installing the C Library): Document
28740         that overriding prefix and exec_prefix is not supported.
28741         Mention DESTDIR.
28742         * INSTALL: Regenerate from the above.
28744 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28746         [BZ #18519]
28747         * posix/Versions (libc): Export __libc_pread at version
28748         GLIBC_PRIVATE.
28749         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28750         instead of pread.
28751         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28752         variable.
28754         [BZ #18522]
28755         * misc/efgcvt_r.c
28756         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28757         (cvt_symbol): Use weak_alias instead of strong_alias.
28758         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28759         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28760         Remove variable.
28761         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28762         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28764         [BZ #18520]
28765         * inet/herrno.c (h_errno): Rename to __h_errno.
28766         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28767         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28768         to __h_errno instead of h_errno.
28769         * nptl/herrno.c (h_errno): Rename to __h_errno.
28770         (__h_errno_location): Refer to __h_errno not h_errno.
28771         * resolv/Versions (h_errno): Rename to __h_errno.
28772         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28773         Remove variable.
28774         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28776 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28778         * configure.ac: More strict check for AVX512 assembler support.
28779         * configure: Regenerated.
28781         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28782         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28783         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28784         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28785         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28786         * sysdeps/x86_64/fpu/Versions: New versions added.
28787         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28788         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28789         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28790         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28791         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28792         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28793         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28794         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28795         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28796         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28797         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28798         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28799         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28800         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28801         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28802         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28803         test.
28804         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28805         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28806         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28807         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28808         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28809         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28810         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28811         * NEWS: Mention addition of x86_64 vector sin.
28813 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28815         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28816         comment.
28818 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28820         [BZ #18479]
28821         * nptl/pt-interp.c: New file.
28822         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28823         Add pt-interp.
28824         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28825         $(common-objpfx)runtime-linker.h.
28827 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28829         * Makeconfig (+interp): Remove unused variable.
28830         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28831         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28832         $(elf-objpfx)runtime-linker.h.
28833         ($(elf-objpfx)runtime-linker.h): Rename to
28834         $(common-objpfx)runtime-linker.h and move ...
28835         * Makerules [$(build-shared) = yes]: ... here.
28836         * elf/interp.c: Include <runtime-linker.h> instead of
28837         <elf/runtime-linker.h>.
28839 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28841         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28842         (__gettimeofday_syscall): Remove vsyscall fallback.
28843         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28844         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28845         Add syscall fallback function.
28846         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28847         if vDSO is not present.
28848         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28849         fallback function.
28850         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28851         present.
28852         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28853         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28855 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28857         [BZ #18497]
28858         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28859         of wcscmp.
28860         (wcscmp): Define as weak alias of WCSCMP.
28861         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28862         wcscoll.
28863         (USE_HIDDEN_DEF): Define.
28864         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28865         __wcscoll.  Don't use libc_hidden_weak.
28866         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28867         wcscmp.
28868         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28869         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28870         __GI_wcscmp.
28871         (weak_alias): Undefine and redefine.
28872         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28873         __wcscmp and define as weak alias of __wcscmp.
28874         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28875         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28876         (__wcscoll): Likewise.
28877         (wcscmp): Don't use libc_hidden_proto.
28878         (wcscoll): Likewise.
28879         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28880         wcscoll.
28881         * posix/regexec.c (check_node_accept_bytes): Likewise.
28882         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28883         variable.
28884         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28885         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28887         [BZ #18507]
28888         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28889         __fstatvfs and define as weak alias of __fstatvfs.  Use
28890         libc_hidden_weak.
28891         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28892         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28893         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28894         Define as alias of __fstatvfs, not fstatvfs.
28895         (fstatvfs64): Likewise.
28896         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28897         Define as alias of __statvfs, not statvfs.
28898         (statvfs64): Likewise.
28899         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28900         Remove variable.
28902 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28905         (HAVE_GETCPU_VSYSCALL): Define.
28906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28907         (HAVE_GETCPU_VSYSCALL): Likewise.
28908         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28909         * sysdeps/unix/sysv/linux/sched_getcpu.c
28910         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28911         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28912         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28913         prototype.
28914         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28915         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28916         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28918         Define.
28919         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28920         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28921         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28922         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28924 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28926         * sysdeps/x86_64/fpu/Makefile: New file.
28927         * sysdeps/x86_64/fpu/Versions: New file.
28928         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28929         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28930         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28931         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28932         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28933         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28934         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28935         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28936         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28937         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28938         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28939         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28940         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28941         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28942         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28943         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28944         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28945         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28946         * sysdeps/x86_64/configure: Regenerated.
28947         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28948         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28949         * manual/install.texi (Configuring and compiling): Document
28950         --disable-mathvec.
28951         * INSTALL: Regenerated.
28952         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28954         * math/Makefile: Added rules for vector tests.
28955         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28956         declaration under condition.
28957         * math/test-double-vlen2.h: New file.
28958         * math/test-double-vlen4.h: New file.
28959         * math/test-double-vlen8.h: New file.
28960         * math/test-vec-loop.h: Added initialization macro.
28961         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28962         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28963         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28964         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28965         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28966         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28967         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28968         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28969         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28970         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28971         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28973         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28974         * sysdeps/x86_64/fpu/Versions: New versions added.
28975         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28976         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28977         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28978         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28979         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28980         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28981         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28982         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28983         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28984         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28985         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28986         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28987         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28988         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28989         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28990         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28991         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28992         * NEWS: Mention addition of x86_64 vector cosf.
28994         * math/Makefile: Added CFLAGS for new tests.
28995         * math/test-float-vlen16.h: New file.
28996         * math/test-float-vlen4.h: New file.
28997         * math/test-float-vlen8.h: New file.
28998         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28999         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
29000         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29001         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
29002         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
29003         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
29004         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
29005         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
29006         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
29007         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
29008         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
29010 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
29012         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
29013         * locale/programs/ld-ctype.c: Likewise.
29015 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
29017         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
29018         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
29019         bit_ZMM16_31_state): New macro.
29020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29021         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
29023 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
29025         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
29027 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
29029         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
29031 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
29033         [BZ #18498]
29034         * libio/memstream.c (open_memstream): Rename to __open_memstream
29035         and define as weak alias of __open_memstream.
29036         * include/stdio.h (__open_memstream): Declare.  Use
29037         libc_hidden_proto.
29038         (open_memstream): Don't use libc_hidden_proto.
29039         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
29040         open_memstream.
29041         * posix/getopt.c (_getopt_internal_r): Likewise.
29042         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
29043         variable.
29044         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29045         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29046         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29048         [BZ #18496]
29049         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
29050         instead of wcrtomb.
29052         [BZ #18483]
29053         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29054         [__USE_XOPEN2K8].  Remove redundant #endif.
29055         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29056         Remove redundant #if.
29057         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29058         Remove variable.
29059         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29060         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29062         [BZ #18495]
29063         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29064         (__iswlower): Likewise.
29065         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29066         (__iswlower): Likewise.
29067         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29068         instead of towlower.
29069         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29070         instead of iswlower.  Call __towupper instead of towupper.
29071         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29072         instead of iswalnum.
29074 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29076         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29077         errors to stderr.
29079 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29081         [BZ #15661]
29082         [BZ #17322]
29083         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29084         Check for overflow properly.  Check for O_APPEND.  Ignore large
29085         file system block sizes.  Add comments about problems.
29086         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29087         * manual/filesys.texi (Storage Allocation): New node.
29089 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29091         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29092         cancellable syscalls.
29093         (SYS_ify): Add guard to no redefine it.
29094         (INLINE_SYSCALL): Likewise.
29095         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29096         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29097         SYSCALL_CANCEL instead.
29098         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29099         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29100         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29101         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29102         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29103         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29104         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29105         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29106         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29107         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29108         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29109         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29110         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29111         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29112         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29113         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29114         Likewise.
29115         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29116         (__libc_pread64): Likewise.
29117         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29118         (__libc_preadv): Likewise.
29119         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29120         (__libc_readv64): Likewise.
29121         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29122         (__libc_pwrite): Likewise.
29123         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29124         (__libc_pwrite64): Likewise.
29125         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29126         (__libc_pwritev): Likewise.
29127         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29128         (__libc_pwritev64): Likewise.
29129         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29130         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29131         (sync_file_range): Likewise.
29132         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29133         Likewise.
29134         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29135         Likewise.
29136         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29137         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29138         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29139         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29140         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29141         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29142         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29143         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29145         Likewise.
29146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29147         (__libc_read64): Likewise.
29148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29149         Likewise.
29150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29151         Likewise.
29152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29153         Likewise.
29154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29155         Likewise.
29156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29157         (__libc_pread64): Likewise.
29158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29159         Likewise.
29160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29161         (__libc_pwrite64): Likewise.
29162         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29163         (sync_file_range): Likewise.
29164         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29165         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29166         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29167         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29168         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29169         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29170         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29171         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29172         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29173         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29174         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29175         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29176         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29177         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29178         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29179         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29180         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29181         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29182         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29183         Likewise.
29184         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29185         Likewise.
29186         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29187         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29188         Likewise.
29189         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29190         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29191         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29192         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29193         Likewise.
29194         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29195         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29196         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29197         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29198         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29200 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29202         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29203         Include dl-vdso.
29204         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29205         Use VDSO routines for gettimeofday, clock_gettime if
29206         available.
29207         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29208         Declare VDSO symbols.
29209         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29210         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29211         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29212         * sysdeps/unix/sysv/linux/arm/Versions: Add
29213         __vdso_clock_gettime.
29215 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29217         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29218         be an inline implementation regardless of library is built within.
29219         (open_not_cancel_2): Likewise.
29220         (__read_nocancel): Likewise.
29221         (__write_nocancel): Likewise.
29222         (openat_not_cancel): Likewise.
29223         (openat_not_cancel_3): Likewise.
29224         (openat64_not_cancel): Likewise.
29225         (openat64_not_cancel_3): Likewise.
29226         (__close_nocancel): Likewise.
29227         (pause_not_cancel): Likewise.
29228         (nanosleep_not_cancel): Likewise.
29229         (sigsuspend_not_cancel): Likewise.
29231 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29233         [BZ #14958]
29234         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29235         wake-up.
29236         (__pthread_rwlock_rdlock_slow): Likewise.
29237         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29238         Likewise.
29239         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29240         Likewise.
29241         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29242         * nptl/tst-rwlock16.c: New file.
29243         * nptl/Makefile (tests): Add new test.
29245 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29247         [BZ #18324]
29248         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29249         missing wake-up of readers.
29250         * nptl/tst-rwlock15.c: New file.
29251         * nptl/Makefile (tests): Add new test.
29253 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29255         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29256         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29257         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29258         and __nacl_supply_interface_rtld.
29259         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29260         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29261         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29262         Add __nacl_supply_interface_rtld.
29263         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29265 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29267         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29268         isfinite.
29269         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29270         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29272 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29274         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29275         __signbit* with standard C99 macros.
29276         * math/e_exp10l.c: Likewise.
29277         * math/e_exp2l.c: Likewise.
29278         * math/e_scalb.c: Likewise.
29279         * math/e_scalbf.c: Likewise.
29280         * math/e_scalbl.c: Likewise.
29281         * math/s_ldexp.c: Likewise.
29282         * math/s_ldexpf.c: Likewise.
29283         * math/s_ldexpl.c: Likewise.
29284         * math/w_atan2.c: Likewise.
29285         * math/w_atan2f.c: Likewise.
29286         * math/w_atan2l.c: Likewise.
29287         * math/w_cosh.c: Likewise.
29288         * math/w_coshf.c: Likewise.
29289         * math/w_coshl.c: Likewise.
29290         * math/w_exp10.c: Likewise.
29291         * math/w_exp10f.c: Likewise.
29292         * math/w_exp10l.c: Likewise.
29293         * math/w_exp2.c: Likewise.
29294         * math/w_exp2f.c: Likewise.
29295         * math/w_exp2l.c: Likewise.
29296         * math/w_fmod.c: Likewise.
29297         * math/w_fmodf.c: Likewise.
29298         * math/w_fmodl.c: Likewise.
29299         * math/w_hypot.c: Likewise.
29300         * math/w_hypotf.c: Likewise.
29301         * math/w_hypotl.c: Likewise.
29302         * math/w_jnl.c: Likewise.
29303         * math/w_lgamma.c: Likewise.
29304         * math/w_lgamma_r.c: Likewise.
29305         * math/w_lgammaf.c: Likewise.
29306         * math/w_lgammaf_r.c: Likewise.
29307         * math/w_lgammal.c: Likewise.
29308         * math/w_lgammal_r.c: Likewise.
29309         * math/w_pow.c: Likewise.
29310         * math/w_powf.c: Likewise.
29311         * math/w_powl.c: Likewise.
29312         * math/w_remainder.c: Likewise.
29313         * math/w_remainderf.c: Likewise.
29314         * math/w_remainderl.c: Likewise.
29315         * math/w_scalb.c: Likewise.
29316         * math/w_scalbf.c: Likewise.
29317         * math/w_scalbl.c: Likewise.
29318         * math/w_scalbln.c: Likewise.
29319         * math/w_scalblnf.c: Likewise.
29320         * math/w_scalblnl.c: Likewise.
29321         * math/w_sinh.c: Likewise.
29322         * math/w_sinhf.c: Likewise.
29323         * math/w_sinhl.c: Likewise.
29324         * math/w_tgamma.c: Likewise.
29325         * math/w_tgammaf.c: Likewise.
29326         * math/w_tgammal.c: Likewise.
29327         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29328         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29329         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29330         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29331         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29332         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29333         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29334         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29335         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29336         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29337         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29338         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29339         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29340         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29341         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29342         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29343         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29344         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29345         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29346         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29347         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29348         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29350         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29351         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29352         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29353         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29354         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29355         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29356         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29357         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29358         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29359         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29360         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29361         * stdio-common/printf_fp.c: Likewise.
29362         * stdio-common/printf_fphex.c: Likewise.
29363         * stdio-common/printf_size.c: Likewise.
29365 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29367         [BZ #18470]
29368         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29369         strnlen.
29370         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29371         Remove variable.
29372         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29373         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29374         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29375         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29376         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29377         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29378         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29379         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29380         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29381         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29383         [BZ #18468]
29384         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29385         weak alias of __wmemchr.  Use libc_hidden_weak.
29386         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29387         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29388         instead of wmemchr.
29390 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29392         [BZ #18383]
29393         * elf/tst-tlsalign-extern.c: New file.
29394         * elf/tst-tlsalign-extern-static.c: New file.
29395         * elf/tst-tlsalign-vars.c: New file.
29396         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29397         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29398         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29399         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29400         (test-xfail-tst-tlsalign-extern-static): New variable.
29402 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29404         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29405         Use variable name _sc_err instead of err.
29406         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29407         instead of ret.
29408         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29409         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29410         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29411         (INLINE_SYSCALL): Likewise.
29413         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29414         * include/string.h (__strnlen): Use libc_hidden_proto.
29415         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29416         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29417         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29418         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29419         (libc_hidden_def): Undefine and redefine.
29420         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29421         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29422         __GI_strnlen.
29423         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29424         libc_hidden_def.
29425         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29427         [BZ #18469]
29428         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29429         weak alias of __towlower.  Use libc_hidden_weak.
29430         (towupper): Rename to __towupper and define as weak alias of
29431         __towupper.  Use libc_hidden_weak.
29432         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
29433         (__towupper): Likewise.
29434         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29435         __towlower instead of towlower.
29437 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29439         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29440         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29442 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29444         * sysdeps/aarch64/libm-test-ulps: Update.
29446 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29448         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29449         Define.
29450         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29451         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29452         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29453         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29454         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29455         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29456         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29458 2015-06-01  Martin Sebor  <msebor@redhat.com>
29460         [BZ #18116]
29461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29462         (__setcontext): Use extended four-operand version of mtsf whenever
29463         possible.
29464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29465         (__novec_swapcontext): Likewise.
29467 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29469         * benchtests/scripts/compare_bench.py: New file.
29470         * benchtests/scripts/import_bench.py (mean): New function.
29471         (split_list): Likewise.
29472         (do_for_all_timings): Likewise.
29473         (compress_timings): Likewise.
29475         * benchtests/scripts/import_bench.py: New file.
29476         * benchtests/scripts/validate_benchout.py: Import import_bench
29477         instead of jsonschema.
29478         (validate_bench): Remove function.
29479         (main): Use import_bench.
29481 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
29483         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29484         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29486 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29490 2015-05-28  Roland McGrath  <roland@hack.frob.com>
29492         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29493         set THREAD_SELF->tid to a magic value and futex-wake it.
29494         Pass its address to the thread_exit system call.
29495         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29496         bit is clear.
29497         * sysdeps/nacl/lowlevellock.h: New file.
29498         * sysdeps/nacl/lll_timedwait_tid.c: New file.
29500         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29501         Add TIMEOUT to current time, don't subtract it.
29503 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
29505         [BZ #2981]
29506         [BZ #18422]
29507         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29508         ($(objpfx)tst-audit2.out): Also depend on
29509         $(objpfx)tst-auditmod9b.so.
29510         * elf/tst-audit2.c: Include <dlfcn.h>.
29511         (calloc_called): New.
29512         (calloc): Allow to be called more than once.
29513         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29515 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29517         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29518         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29520 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29522         * stdlib/monetary.h: Fix comment.
29524 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29526         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29527         Avoid using variables in #defines that might cause shadowing.
29528         (INTERNAL_VSYSCALL_CALL): Likewise.
29530 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29532         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29534         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29535         * nptl/lll_timedlock_wait.c: ... to this new file.
29536         * nptl/Makefile (libpthread-routines): Add it.
29537         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29538         * nptl/lll_timedwait_tid.c: ... to this new file.
29539         * nptl/Makefile (libpthread-routines): Add it.
29540         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29541         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29542         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29543         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29544         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29545         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29546         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29547         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29548         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29549         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29551 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29553         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29554         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29555         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29557         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29558         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29559         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29561         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29562         * sysdeps/unix/sysv/linux/tile/sysdep.h
29563         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29564         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29565         using vDSO syscall macro.
29567 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29569         [BZ #17293]
29570         * uk_UA: Fix sorting order for Ukrainian locale
29572 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29574         * stdlib/monetary.h: Fix comment.
29576 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29578         [BZ #18234]
29579         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29580         st_mtim and st_ctim members.
29581         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29582         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29583         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29584         (struct stat64): Likewise.
29585         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29586         (struct stat64): Likewise.
29587         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29588         (struct stat64): Likewise.
29590 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29592         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29593         Define and include sysdep-vdso.h.
29594         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29595         Likewise.
29596         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29597         Likewise.
29598         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29599         Define with VDSO_SYMBOL and use PTR_MANGLE.
29600         (__vdso_clock_gettime): Likewise.
29601         (__vdso_clock_getres): Likewise.
29602         (_libc_vdso_platform_setup): Likewise.
29603         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29604         Likewise.
29605         (_libc_vdso_platform_setup): Likewise.
29606         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29607         Likewise.
29608         (__vdso_clock_gettime): Likewise.
29609         (__vdso_clock_getres): Likewise.
29610         (__vdso_get_tbfreq): Likewise.
29611         (__vdso_getcpu): Likewise.
29612         (__vdso_time): Likewise.
29613         (__vdso_sigtramp_rt64): Likewise.
29614         (__vdso_signtramp32): Likewise.
29615         (__vdso_sigtramp_rt32): Likewise.
29616         (_libc_vdso_platform_setup): Likewise.
29617         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29618         Likewise.
29619         (__vdso_clock_gettime): Likewise.
29620         (__vdso_clock_getres): Likewise.
29621         (_libc_vdso_platform_setup): Likewise.
29622         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29623         Likewise.
29624         (__vdso_clock_gettime): Likewise.
29625         (_libc_vdso_platform_setup): Likewise.
29626         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29627         Likewise.
29628         (__vdso_getcpu): Likewise.
29629         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29630         Use VDSO_SYMBOL macro to define.
29631         (__vdso_clock_gettime): Likewise.
29632         (__vdso_clock_getres): Likewise.
29633         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29634         Likewise.
29635         (__vdso_clock_gettime): Likewise.
29636         (__vdso_clock_getres): Likewise.
29637         (__vdso_get_tbfreq): Likewise.
29638         (__vdso_getcpu): Likewise.
29639         (__vdso_time): Likewise.
29640         (__vdso_sigtramp_rt64): Likewise.
29641         (__vdso_signtramp32): Likewise.
29642         (__vdso_sigtramp_rt32): Likewise.
29643         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29644         Likewise.
29645         (__vdso_clock_gettime): Likewise.
29646         (__vdso_clock_getres): Likewise.
29647         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29648         Likewise.
29649         (__vdso_clock_gettime): Likewise.
29650         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29651         Likewise.
29652         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29653         macro.
29654         (INTERNAL_VSYSCALL): Likewise.
29655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29656         Remove macro.
29657         (INTERNAL_VSYSCALL): Likewise.
29658         (INTERNAL_VSYSCALL_NCS): Likewise.
29659         (INTERNAL_VSYSCALL_CALL): New macro.
29660         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29662         Likewise.
29663         (INTERNAL_VSYSCALL): Likewise.
29664         (INTERNAL_VSYSCALL_NCS): Likewise.
29665         (INTERNAL_VSYSCALL_CALL): New macro.
29666         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29668         (INLINE_VSYSCALL): Remove macro.
29669         (INTERNAL_VSYSCALL): Remove macro.
29670         (INTERNAL_VSYSCALL_NCS): Remove macro.
29671         (INTERNAL_VSYSCALL_CALL): New macro.
29672         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29673         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29674         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29675         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29676         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29678         (INLINE_VSYSCALL): Remove macro.
29679         (INTERNAL_VSYSCALL): Likewise.
29680         (INTERNAL_VSYSCALL_NCS): Likewise.
29681         (INTERNAL_VSYSCALL_CALL): New macro.
29682         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29683         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29684         PTR_DEMANGLE on vDSO pointer.
29685         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29686         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29687         macro.
29688         (INTERNAL_SYSCALL): Likewise.
29689         (INTERNAL_VSYSCALL_NCS): Remove macro.
29690         (INTERNAL_VSYSCALL_CALL): New macro.
29691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29692         Remove macro.
29693         (INTERNAL_VSYSCALL): Likewise.
29694         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29695         sysdep-vdso.h instead of libc-vdso.h.
29696         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29697         definition.
29698         (INLINE_VSYSCALL): Likewise.
29699         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29700         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29701         definition.
29702         (INLINE_VSYSCALL): Likewise.
29703         (INTERNAL_VSYSCALL): Likewise.
29704         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29705         * sysdeps/unix/sysv/linux/timespec_get.c
29706         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29707         (timespec_get): Use ANSI prototype.
29708         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29709         and definition for Linux.
29711 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29713         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29714         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29716 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29718         [BZ #2981]
29719         [BZ #18410]
29720         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29721         for missing DT_PLTRELSZ.
29723 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29725         Remove obsolete aliases that broke 'locale -a'
29726         [BZ #18412]
29727         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29728         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29729         breaking some applications that use 'locale -a' output.
29730         Change the encoding of this file from Latin-1 to ASCII to avoid
29731         other potential problems with people grepping this file.
29733 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29735         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29736         -fasynchronous-unwind-tables.
29737         (CFLAGS-sendto.c): Likewise.
29738         (CFLAGS-sendmsg.c): Likewise.
29739         (CFLAGS-connect.c): Likewise.
29740         (CFLAGS-recvmsg.c): Likewise.
29741         (CFLAGS-recvfrom.c): Likewise.
29742         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29743         (SOCKETCALL): New macro: non-cancellable socketcall.
29744         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29745         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29746         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29747         * sysdeps/unix/sysv/linux/accept.c: New file.
29748         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29749         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29750         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29751         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29752         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29753         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29754         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29755         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29756         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29757         * sysdeps/unix/sysv/linux/send.c: Likewise.
29758         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29759         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29760         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29761         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29762         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29763         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29764         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29765         prototype.
29766         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29767         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29768         instead of __internal_xxx function.
29769         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29770         prototype.
29771         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29772         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29773         instead of __internal_xxx function.
29774         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29775         prototype.
29776         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29777         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29778         instead of __internal_xxx function.
29779         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29780         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29781         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29782         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29783         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29784         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29785         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29786         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29787         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29788         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29789         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29790         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29791         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29792         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29793         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29794         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29795         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29796         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29797         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29798         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29801         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29802         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29803         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29804         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29805         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29806         * sysdeps/unix/sysv/linux/send.S: Likewise.
29807         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29808         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29809         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29810         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29811         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29812         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29813         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29814         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29815         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29816         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29817         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29818         socketcall is implemented in GLIBC.
29820 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29822         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29823         (__fma): Ignore uninitialized warnings around packing.
29824         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29825         (__fmaf): Ignore uninitialized warnings around packing.
29826         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29827         (__fmal): Ignore uninitialized warnings around packing.
29829         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29830         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29831         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29832         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29834         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29835         switch statement into default case.
29836         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29838         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29839         a conditional in forcing "inexact".
29840         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29841         Likewise.
29843 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29845         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29846         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29847         for each INTERNAL_SYSCALL use.
29849 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29851         [BZ #438]
29852         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29853         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29854         variable.
29856         [BZ #18444]
29857         * string/basename.c (basename): Rename to __basename and define as
29858         weak alias of __basename.  Use libc_hidden_weak.
29859         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29860         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29861         __basename instead of basename.
29862         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29863         Remove variable.
29864         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29866 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29868         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29869         (_IO_JUMPS_FILE_plus): New.
29870         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29871         _IO_CAST_FIELD_ACCESS.
29872         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29873         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29874         * libio/freopen.c (freopen): Likewise.
29875         * libio/freopen64.c (freopen64): Likewise.
29876         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29877         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29878         * libio/iofwide.c (_IO_fwide): Likewise.
29879         * libio/memstream.c (open_memstream): Likewise.
29880         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29881         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29882         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29884 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29886         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29887         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29888         NADJ.
29889         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29890         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29891         NADJ.
29892         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29893         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29894         NADJ.
29896         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29897         (p == 4) case.
29899         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29900         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29901         Remove variable.
29902         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29903         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29904         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29906 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29908         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29909         Adjust jump table label generation macros.
29911 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29913         * stdio-common/vfprintf.c (vfprintf): Move local variables
29914         args_malloced, specs, specs_malloced, and the code after
29915         do_positional to the printf_positional function.
29916         (printf_positional): New function.
29918 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29920         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29921         function.
29922         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29923         STEP4_TABLE, process_arg): Move macro definitions
29924         out of the vfprintf function.  (Cosmetic change only.)
29926 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29928         * benchtests/Makefile (stdio-common-bench): Define.
29929         (benchset): Add stdio-common-bench.
29930         * sprintf-inputs: New file.
29931         * sprintf-source.c: New file.
29933 2015-05-21  Andreas Schwab  <schwab@suse.de>
29935         [BZ #13028]
29936         [BZ #17053]
29937         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29938         of struct __res_state.
29939         * resolv/res_send.c (__libc_res_nsend): Likewise.
29940         (get_nsaddr): New function.
29941         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29942         statp directly.
29944 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29946         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29947         -D_POSIX_C_SOURCE=199506L.
29949         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29951         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29952         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29953         Do not mention otherwise.
29954         [POSIX] (_XOPEN_VERSION): Do not expect.
29955         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29956         [POSIX] (_POSIX2_C_BIND): Likewise.
29957         [POSIX] (_POSIX2_VERSION): Likewise.
29958         [POSIX] (_XOPEN_XPG2): Likewise.
29959         [POSIX] (_XOPEN_XPG3): Likewise.
29960         [POSIX] (_XOPEN_XPG4): Likewise.
29961         [POSIX] (_XOPEN_UNIX): Likewise.
29962         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29963         [POSIX] (_POSIX_BARRIERS): Likewise.
29964         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29965         [POSIX] (_POSIX_CPUTIME): Likewise.
29966         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29967         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29968         [POSIX] (_POSIX_SHELL): Likewise.
29969         [POSIX] (_POSIX_SPAWN): Likewise.
29970         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29971         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29972         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29973         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29974         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29975         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29976         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29977         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29978         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29979         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29980         [POSIX] (_POSIX2_PBS): Likewise.
29981         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29982         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29983         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29984         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29985         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29986         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29987         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29988         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29989         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29990         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29991         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29992         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29993         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29994         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29995         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29996         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29997         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29998         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29999         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
30000         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
30001         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
30002         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
30003         [POSIX] (_SC_2_C_BIND): Likewise.
30004         [POSIX] (_SC_2_C_VERSION): Likewise.
30005         [POSIX] (_SC_2_PBS): Likewise.
30006         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
30007         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
30008         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
30009         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
30010         [POSIX] (_SC_2_PBS_TRACK): Likewise.
30011         [POSIX] (_SC_ATEXIT_MAX): Likewise.
30012         [POSIX] (_SC_BARRIERS): Likewise.
30013         [POSIX] (_SC_BASE): Likewise.
30014         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
30015         [POSIX] (_SC_DEVICE_IO): Likewise.
30016         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
30017         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
30018         [POSIX] (_SC_FD_MGMT): Likewise.
30019         [POSIX] (_SC_FIFO): Likewise.
30020         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
30021         [POSIX] (_SC_FILE_LOCKING): Likewise.
30022         [POSIX] (_SC_FILE_SYSTEM): Likewise.
30023         [POSIX] (_SC_IOV_MAX): Likewise.
30024         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
30025         [POSIX] (_SC_NETWORKING): Likewise.
30026         [POSIX] (_SC_PAGE_SIZE): Likewise.
30027         [POSIX] (_SC_PASS_MAX): Likewise.
30028         [POSIX] (_SC_PIPE): Likewise.
30029         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
30030         [POSIX] (_SC_REGEXP): Likewise.
30031         [POSIX] (_SC_SHELL): Likewise.
30032         [POSIX] (_SC_SIGNALS): Likewise.
30033         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
30034         [POSIX] (_SC_SPIN_LOCKS): Likewise.
30035         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
30036         [POSIX] (_SC_USER_GROUPS): Likewise.
30037         [POSIX] (_SC_USER_GROUPS_R): Likewise.
30038         [POSIX] (_SC_STREAMS): Likewise.
30039         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
30040         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
30041         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
30042         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
30043         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
30044         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
30045         [POSIX] (_PC_FILESIZEBITS): Likewise.
30046         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
30047         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
30048         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
30049         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
30050         [POSIX] (uid_t): Likewise.
30051         [POSIX] (gid_t): Likewise.
30052         [POSIX] (off_t): Likewise.
30053         [POSIX] (pid_t): Likewise.
30054         [POSIX] (cuserid): Allow.
30055         (_SC_2_CHAR_TERM): Require constant.
30056         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30057         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30058         variable.
30060 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30062         * sysdeps/nacl/pthread-pids.h: New file.
30063         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30064         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30066         * nptl/pthread-pids.h: New file.
30067         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30068         * nptl/nptl-init.c: Include <pthread-pids.h>.
30069         (__pthread_initialize_minimal_internal):
30070         Call __pthread_initialize_pids instead of set_tid_address syscall.
30072         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30073         * sysdeps/posix/usleep.c: ... here.
30075 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30077         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30078         call_pselect6 object.
30079         [$(subdir) = io]: Remove call_sync_file_range object.
30080         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30081         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30082         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30083         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30085 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30087         * math/s_cproj.c: Add include "math_private.h".
30088         * math/s_cprojf.c: Likewise.
30089         * math/s_cprojl.c: Likewise.
30091 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30093         [BZ #18244]
30094         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30095         high mantissa bit when testing whether P is a NaN.
30096         * math/libm-test.inc (remainder_test_data): Add more tests.
30097         (remquo_test_data): Likewise.
30099         [BZ #18049]
30100         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30101         below -32, return the argument, with underflow if subnormal.
30102         * math/auto-libm-test-in: Add more tests of atanh.
30103         * math/auto-libm-test-out: Regenerated.
30105 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30107         [BZ #18434]
30108         * nptl/tst-sem15.c: New file.
30109         * nptl/Makefile (tests): Add it.
30110         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30111         s/<</>>/ to fix typo in EOVERFLOW check.
30112         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30114 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30116         * manual/strings.texi (envz_remove): Fix typo in safety
30117         annotations.
30119 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30120             Steve Ellcey  <sellcey@imgtec.com>
30122         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30123         in order to avoid strict alias warnings.
30124         (iruserok_af): Ditto for ra.
30126 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30128         [BZ #17581]
30129         * malloc/hooks.c
30130         (magicbyte): Convert to a function and avoid returning 0x01.
30131         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30132         (mem2chunk_check): Fix unsigned comparisons to zero.
30133         Hoist defs of sz and magic.
30135 2015-05-19  Richard Henderson  <rth@redhat.com>
30137         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30139         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30141 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30143         [BZ #16159]
30144         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30145         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30146         (reused_arena): Find a non-corrupt arena.
30147         (heap_trim): Pass arena to unlink.
30148         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30149         malloc_printerr.
30150         (top_check): Likewise.
30151         (free_check): Likewise.
30152         (realloc_check): Likewise.
30153         * malloc/malloc.c (malloc_printerr): Add arena argument.
30154         (unlink): Likewise.
30155         (munmap_chunk): Adjust.
30156         (ARENA_CORRUPTION_BIT): New macro.
30157         (arena_is_corrupt): Likewise.
30158         (set_arena_corrupt): Likewise.
30159         (sysmalloc): Use mmap if there are no usable arenas.
30160         (_int_malloc): Likewise.
30161         (__libc_malloc): Don't fail if arena_get returns NULL.
30162         (_mid_memalign): Likewise.
30163         (__libc_calloc): Likewise.
30164         (__libc_realloc): Adjust for additional argument to
30165         malloc_printerr.
30166         (_int_free): Likewise.
30167         (malloc_consolidate): Likewise.
30168         (_int_realloc): Likewise.
30169         (_int_memalign): Don't touch corrupt arenas.
30170         * malloc/tst-malloc-backtrace.c: New test case.
30172         * Makefile (summarize-tests): Fix return value on success.
30174         * manual/string.texi (Envz Functions): Add envz_remove.
30176 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30178         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30179         (invalid_name): New function, broken out of ...
30180         (__opendirat): ... here.  Call it.
30181         (need_isdir_precheck): New function, broken out of ...
30182         (__opendirat): ... here.  Call it.
30183         Use __fxstatat64, not __xstatat64.
30184         (opendir_oflags): New function, broken out of ...
30185         (__opendirat): ... here.  Call it.
30186         (opendir_tail): New function, broken out of ...
30187         (__opendirat): ... here.  Call it.
30188         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30189         opendir_tail, rather than punting to __opendirat.
30190         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30192 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30194         * .gitignore: Ignore generated *.pyc.
30196 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30198         * include/stdio.h: Define __need_wint_t.
30199         * test-skeleton.c: Avoid `for' loop initial declaration.
30200         * nptl/tst-initializers1.c: Use test-skeleton.c.
30202 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30204         [BZ #18418]
30205         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30207 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30209         [BZ #16352]
30210         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30211         (__ieee754_atanh): Force underflow exception for results with
30212         small absolute value.
30213         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30214         (__ieee754_atanhf): Force underflow exception for results with
30215         small absolute value.
30216         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30217         (__ieee754_atanh): Force underflow exception for results with
30218         small absolute value.
30219         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30220         (__ieee754_atanhf): Force underflow exception for results with
30221         small absolute value.
30222         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30223         (__ieee754_atanhl): Force underflow exception for results with
30224         small absolute value.
30225         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30226         (__ieee754_atanhl): Force underflow exception for results with
30227         small absolute value.
30228         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30229         (__ieee754_atanhl): Force underflow exception for results with
30230         small absolute value.
30231         * math/auto-libm-test-in: Do not allow missing underflow
30232         exceptions from atanh.
30233         * math/auto-libm-test-out: Regenerated.
30235         [BZ #18221]
30236         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30237         2**-28 as threshold for returning x or +/- 1/x.
30238         * math/auto-libm-test-in: Add more tests of tan.
30239         * math/auto-libm-test-out: Regenerated.
30241         [BZ #18220]
30242         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30243         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30244         * math/auto-libm-test-in: Add another test of lgamma.
30245         * math/auto-libm-test-out: Regenerated.
30247 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30249         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30250         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30251         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30252         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30253         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30254         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30255         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30256         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30257         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30258         (log1): Use fabs.  (my_log2): Use fabs.
30259         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30260         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30261         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30262         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30263         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30264         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30265         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30266         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30267         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30268         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30269         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30271 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30273         [BZ #18217]
30274         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30275         as threshold for returning 1 - x.
30276         * math/auto-libm-test-in: Add more tests of erfc.
30277         * math/auto-libm-test-out: Regenerated.
30279 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
30281         [BZ #18196]
30282         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30283         threshold for large arguments.
30284         * math/auto-libm-test-in: Add another test of atan.
30285         * math/auto-libm-test-out: Regenerated.
30287         [BZ #16339]
30288         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30289         (__log1p): Force underflow exception for results with small
30290         absolute value.
30291         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30292         (__log1pf): Force underflow exception for results with small
30293         absolute value.
30294         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30295         (__log1p): Force underflow exception for results with small
30296         absolute value.
30297         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30298         (__log1pf): Force underflow exception for results with small
30299         absolute value.
30300         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30301         (__log1pl): Force underflow exception for results with small
30302         absolute value.
30303         * math/auto-libm-test-in: Do not allow missing underflow
30304         exceptions from log1p.
30305         * math/auto-libm-test-out: Regenerated.
30307 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
30308             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30310         [BZ #16704]
30311         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30313 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
30315         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30316         (libmvec): New variable.
30317         * configure.ac: Added option for mathvec build.
30318         * configure: Regenerated.
30319         * mathvec/Depend: New file.
30320         * mathvec/Makefile: New file.
30321         * shlib-versions: Added libmvec.
30322         * math/Makefile: Added rule for libm.so installation.
30324         * bits/math-vector.h: New file.
30325         * bits/libm-simd-decl-stubs.h: New header.
30326         * math/Makefile (headers): Added new header
30327         libm-simd-decl-stubs.h.
30328         * math/math.h (__MATHCALL_VEC): New macro.
30330         * math/gen-libm-have-vector-test.sh: Script generates series of macros
30331         for conditions in testing functions.
30332         * math/Makefile: Added call of libm-have-vector-test.sh.
30333         * math/libm-test.inc (HAVE_VECTOR): New macros.
30335         * math/libm-test.inc: START refactored.
30336         * math/test-double.c (TEST_MATHVEC): Add define.
30337         * math/test-float.c: Likewise.
30338         * math/test-idouble.c: Likewise.
30339         * math/test-ifloat.c: Likewise.
30340         * math/test-ildoubl.c: Likewise.
30341         * math/test-ldouble.c: Likewise.
30342         * sysdeps/generic/math-tests-arch.h
30343         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30344         architecture check.
30346         * math/test-double.c (FUNC_TEST): New macro.
30347         * math/test-float.c: Likewise.
30348         * math/test-idouble.c: Likewise.
30349         * math/test-ifloat.c: Likewise.
30350         * math/test-ildoubl.c: Likewise.
30351         * math/test-ldouble.c: Likewise.
30352         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30354 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30356         * sysdeps/nacl/fdopendir.c: New file.
30358         * dirent/scandir-tail.c: New file.
30359         * dirent/scandir64-tail.c: New file.
30360         * dirent/Makefile (routines): Add them.
30361         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30362         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30363         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30364         [!SCANDIR] (SCANDIR_TAIL): New macro.
30365         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30366         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30367         (SCANDIRAT): Macro removed.
30368         (SCANDIR_TAIL): New macro.
30369         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30370         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30371         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30372         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30373         (READDIR): Macro removed.
30374         (SCANDIR_TAIL): New macro.
30375         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30376         (SCANDIR_TAIL): New macro.
30378         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30379         * dirent/scandir-cancel.c: ... to this new file.
30380         * dirent/Makefile (routines): Add it.
30381         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30382         * sysdeps/unix/sysv/linux/i386/scandir64.c
30383         (SKIP_SCANDIR_CANCEL): Macro removed.
30384         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30386         * dirent/tst-scandir.c: New file.
30387         * dirent/tst-scandir64.c: New file.
30388         * dirent/Makefile (tests): Add them.
30390 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30392         [BZ #18409]
30393         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30395 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30397         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30398         list.
30400 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30402         * benchtests/bench-strcoll.c: New benchmark.
30403         * benchtests/Makefile: Generate locales and run benchmark.
30404         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30405         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30406         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30407         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30408         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30409         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30410         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30411         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30412         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30413         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30414         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30415         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30416         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30417         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30418         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30419         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30420         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30421         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30422         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30423         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30424         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30425         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30426         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30427         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30429 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
30431         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30432         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30434 2015-05-12  Roland McGrath  <roland@hack.frob.com>
30436         * posix/uname-values.h: New file.
30437         * posix/uname.c: Include that instead of <config-name.h>.
30438         * sysdeps/nacl/uname-values.h: New file.
30439         * sysdeps/arm/nacl/uname-values.h: New file.
30441 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
30443         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30444         splitting into fields.
30446 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
30448         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30449         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30450         * locale/localeinfo.h: Add enum collation_encoding_type.
30451         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30452         * programs/ld-collate.c (collate_output): Add encoding type info.
30453         * string/strcoll_l.c (STRDIFF): New function.
30454         * (STRCOLL): Use STRDIFF to skip over equal prefix.
30455         * wcsmbs/wcscoll_l.c: Define STRDIFF.
30457 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
30459         [BZ #18397]
30460         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30461         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
30462         <fpu_control.h> instead of <math/fpu_control.c>.
30463         * sysdeps/mips/mips32/fpu/Makefile: New file.
30465 2015-05-11  Andreas Schwab  <schwab@suse.de>
30467         [BZ #18007]
30468         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30469         nss_endgrent.
30470         (_nss_compat_endgrent): Call nss_endgrent.
30471         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30472         nss_endpwent.
30473         (_nss_compat_endpwent): Call nss_endpwent.
30474         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30475         needent, call nss_setspent only if non-zero.
30476         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30477         (internal_endspent): Don't call nss_endspent.
30478         (_nss_compat_endspent): Call nss_endspent.
30479         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30480         Remove.  All uses removed.
30481         (internal_setent): Remove parameter stayopen, add parameter
30482         stream.  Use it instead of global variable.
30483         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30484         (internal_endent, internal_getent): Add parameter stream.  Use it
30485         instead of global variable.
30486         (CONCAT(_nss_files_end,ENTNAME))
30487         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30488         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
30489         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
30490         uses removed.
30491         (internal_setent, internal_endent): Add parameter stream.  Use it
30492         instead of global variable.
30493         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30494         stream.
30495         (get_next_alias): Add parameter stream.
30496         (_nss_files_getaliasent_r): Pass global stream.
30497         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
30498         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30499         (_nss_files_gethostbyname4_r): Pass local stream to
30500         internal_setent, internal_getent and internal_endent.  Remove
30501         locking.
30503 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30505         * tst-strfmon1.c (tests): Update expected currency symbol.
30507 2015-05-08  Roland McGrath  <roland@hack.frob.com>
30509         * sysdeps/nacl/gethostname.c: New file.
30511 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
30513         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30514         and sinh.
30515         * math/auto-libm-test-out: Regenerated.
30516         * sysdeps/i386/fpu/libm-test-ulps: Update.
30517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30519 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30521         [BZ #18125]
30522         * stdlib/tst-setcontext3.c: New file.
30523         * stdlib/tst-setcontext3.sh: New file.
30524         * stdlib/Makefile (tests): Add tst-setcontext3.
30525         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30526         to verify test program created output file.
30527         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30528         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30529         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30530         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30532 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30534         [BZ #18383]
30535         * elf/tst-tlsalign.c: New file.
30536         * elf/tst-tlsalign-static.c: New file.
30537         * elf/tst-tlsalign-lib.c: New file.
30538         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30539         (tests-static): Add tst-tlsalign-static.
30540         (modules-names): Add tst-tlsalign-lib.
30541         (test-xfail-tst-tlsalign): New variable.
30542         (test-xfail-tst-tlsalign-static): New variable.
30544         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30545         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30547 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30549         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30550         csqrt, erfc, sin and sincos.
30551         * math/auto-libm-test-out: Regenerated.
30552         * sysdeps/i386/fpu/libm-test-ulps: Update.
30553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30555 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30557         * sysdeps/aarch64/libm-test-ulps: Update.
30559 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30561         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30562         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30563         * math/auto-libm-test-out: Regenerated.
30564         * sysdeps/i386/fpu/libm-test-ulps: Update.
30565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30567 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30569         [BZ #18265]
30570         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30571         (wcsncpy): Likewise.
30573 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30575         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30576         Assume __ASSUME_FALLOCATE is always true.
30577         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30578         (__posix_fallocate64_l64): Likewise.
30579         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30580         (posix_fallocate): Likewise.
30581         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30582         (__posix_fallocate64_l64): Likewise.
30583         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30584         [!__ASSUME_FALLOCATE]: Add comment.
30586 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30588         * sysdeps/unix/sysv/linux/i386/Makefile
30589         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30590         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30591         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30592         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30593         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30594         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30595         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30597 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30599         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30600         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30601         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 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30608         * math/auto-libm-test-in: Add more tests of tgamma.
30609         * math/auto-libm-test-out: Regenerated.
30610         * sysdeps/i386/fpu/libm-test-ulps: Update.
30611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30613         * math/auto-libm-test-in: Add more tests of tanh.
30614         * math/auto-libm-test-out: Regenerated.
30615         * sysdeps/i386/fpu/libm-test-ulps: Update.
30616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30618         * math/auto-libm-test-in: Add more tests of tan.
30619         * math/auto-libm-test-out: Regenerated.
30620         * sysdeps/i386/fpu/libm-test-ulps: Update.
30621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30623         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30624         * math/auto-libm-test-out: Regenerated.
30625         * sysdeps/i386/fpu/libm-test-ulps: Update.
30626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30628         * math/auto-libm-test-in: Add another test of pow.
30629         * math/auto-libm-test-out: Regenerated.
30630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30632         * math/auto-libm-test-in: Add more tests of lgamma.
30633         * math/auto-libm-test-out: Regenerated.
30634         * sysdeps/i386/fpu/libm-test-ulps: Update.
30635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30637         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30638         log1p.
30639         * math/auto-libm-test-out: Regenerated.
30640         * sysdeps/i386/fpu/libm-test-ulps: Update.
30641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30643 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30645         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30646         Elf64_Chdr structs and ELFCOMPRESS constants.
30648 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30650         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30651         expm1.
30652         * math/auto-libm-test-out: Regenerated.
30653         * sysdeps/i386/fpu/libm-test-ulps: Update.
30654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30656         * math/auto-libm-test-in: Add more tests of erf and erfc.
30657         * math/auto-libm-test-out: Regenerated.
30658         * sysdeps/i386/fpu/libm-test-ulps: Update.
30659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30661 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30663         * config.h.in (HAVE_AARCH64_BE): Add.
30665 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30667         * math/auto-libm-test-in: Add more tests of csqrt.
30668         * math/auto-libm-test-out: Regenerated.
30669         * sysdeps/i386/fpu/libm-test-ulps: Update.
30670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30672         * math/auto-libm-test-in: Add more tests of cosh and sinh.
30673         * math/auto-libm-test-out: Regenerated.
30674         * sysdeps/i386/fpu/libm-test-ulps: Update.
30675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30677         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30679 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30681         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30682         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30684         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30685         (euidaccess, eaccess): Define as weak aliases.
30687         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30688         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30689         but __suseconds_t is often 'long int' so some sources assume that
30690         type is being used (e.g. they use %ld to print tv_usec).
30692 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30694         [BZ #18007]
30695         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30696         (CVE-2014-8121)
30697         * nss/tst-nss-getpwent.c: New file.
30698         * nss/Makefile (tests): Add new test.
30700 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30702         [BZ #18346]
30703         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30704         exponents less than 48 as cases where high part of mantissa needs
30705         examining to determine whether argument is integral.
30706         * math/libm-test.inc (round_test_data): Add more tests.
30708 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30710         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30712 2015-04-27  David S. Miller  <davem@davemloft.net>
30714         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30715         __tls_get_addr.
30716         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30718 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30720         [BZ#18333]
30721         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30723 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30725         [BZ#18333]
30726         * time/tzset.c (parse_tzname): Return error on memory allocation
30727         failure.
30728         * test-skeleton.c (struct temp_name_list): Change type of name
30729         member to non-const.
30730         (add_temp_file): Create a copy of the file name.
30731         (delete_temp_files): Deallocate memory.
30732         (create_temp_file): Add comment.
30734 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30736         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30737         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30739 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30741         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30742         * sysdeps/arm/configure: Regenerated.
30744 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30746         [BZ #17715]
30747         * time/tzfile.c (__tzfile_read): Check for large values of
30748         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30749         * time/tzset.c (__tzstring_len): New function, based on the old
30750         __tzstring function.
30751         (__tzstring): Call __tzstring_len.
30752         (parse_tzname): New helper function extracted from
30753         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30754         the input string.
30755         (parse_offset): New helper function extracted from
30756         __tzset_parse_tz.  Replace switch with fallthrough with
30757         initialization before sscanf.
30758         (parse_rule): Likewise.
30759         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30760         new-style function definition.
30761         * timezone/Makefile (tests): Add tst-tzset.
30762         (tst-tzset.out): Dependencies on time zone files.
30763         (tst-tzset-ENV): Set TZDIR.
30764         (testdata/XT%): Copy crafted time zone files.
30765         * timezone/README: Mention crafted time zone files.
30766         * timezone/testdata/XT1, timezone/testdata/XT2,
30767         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30768         files.
30769         * timezone/tst-tzset.c: New test.
30771 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30773         * Makeconfig (+gccwarn): Remove -Winline.
30775 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30777         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30779 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30781         * NEWS: Mention sysconf() cache information support for s390.
30782         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30784 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30786         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30787         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30788         (__nearbyint): Likewise.
30789         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30790         (copysignl): Likewise.
30792 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30794         [BZ #18287]
30795         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30796         based on padding.  (CVE-2015-1781)
30798 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30800         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30801         libc-vdso.h.
30802         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30803         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30804         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30805         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30806         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30807         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30808         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30809         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30810         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30811         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30812         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30813         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30814         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30815         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30816         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30817         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30818         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30819         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30820         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30821         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30822         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30823         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30824         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30826 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30828         * stdlib/setenv.c (__add_to_environ):
30829         Dump core quickly if setenv (..., NULL, ...) is called.
30830         This time, do it the right way, and pacify GCC with a pragma.
30832 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30834         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30835         IMAP->l_prev cannot be null, and #if out the code for the contrary
30836         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30837         believe that NS (&_dl_ns[NSID]) could point outside the array.
30839         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30840         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30841         before using NSID as an index.
30843 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30845         [BZ #17825]
30846         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30847         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30848         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30850 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30852         Add preliminary port to Google Native Client on ARM.
30853         * abi-tags (.*-.*-nacl.*): New entry.
30854         * sysdeps/arm/nacl: New directory.
30855         * sysdeps/nacl: New directory.
30857 2015-04-16  David S. Miller  <davem@davemloft.net>
30859         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30860         lowlevellock-futex.h
30862 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30864         * sysdeps/tile/configure.ac: New file.
30865         * sysdeps/tile/configure: Regenerated.
30867 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30869         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30870         conditionals for weak_alias and libc_hidden_weak.
30871         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30872         libc_hidden_weak and weak_alias.
30873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30874         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30875         and weak_alias for static one.
30877 2015-04-15  David S. Miller  <davem@davemloft.net>
30879         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30881 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30883         [BZ #18206]
30884         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30885           Use signed comparision instead of substraction to avoid
30886           overflow bug.
30887         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30888           Take the sign of ret.
30889         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30890           Do not expect precise return values. Only the sign matters.
30891         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30892         * wcsmbs/test-wcsncmp.c: New File.
30893         * string/test-strncmp.c: Add wcsncmp support.
30895 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30897         [BZ #6792]
30898         * math/w_log1p.c: New file.
30899         * math/w_log1pf.c: Likewise.
30900         * math/w_log1pl.c: Likewise.
30901         * math/Makefile (libm-calls): Add w_log1p.
30902         * math/s_log1pl.c (log1pl): Remove weak_alias.
30903         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30904         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30905         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30906         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30907         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30908         [NO_LONG_DOUBLE] (log1pl): Likewise.
30909         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30910         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30911         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30912         (log1p): Remove long_double_symbol.
30913         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30914         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30915         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30916         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30917         remove weak_alias for corresponding log1p function.
30918         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30919         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30920         * sysdeps/ia64/fpu/w_log1p.c: New file.
30921         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30922         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30923         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30925 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30927         [BZ #18247]
30928         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30929         decimal exponent by 1.
30930         * stdlib/tst-strtod-round-data: Add more tests.
30931         * stdlib/tst-strtod-round.c (tests): Regenerated.
30933 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30935         * math/auto-libm-test-in: Add more tests of clog and clog10.
30936         * math/auto-libm-test-out: Regenerated.
30937         * sysdeps/i386/fpu/libm-test-ulps: Update.
30938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30940 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30942         * Makeconfig (module-cppflags): Exclude all .v.i files.
30943         (skip-module-cppflags): Variable removed.
30945         * configure.ac (libc_config_ok): Initialize before reading
30946         preconfigure scripts, not after.
30947         * configure: Regenerated.
30949         * test-skeleton.c (TIMEOUT): Move #define to top level.
30950         (main): Grok environment variable TEST_DIRECT.  If set, print
30951         test expectation details into that file and then behave as if
30952         given --direct.
30954 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30956         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30957         warning on 32-bit.
30959 2015-04-08  David S. Miller  <davem@davemloft.net>
30961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30963 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30965         * math/auto-libm-test-in: Add more tests of atanh.
30966         * math/auto-libm-test-out: Regenerated.
30967         * sysdeps/i386/fpu/libm-test-ulps: Update.
30968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30970         * math/auto-libm-test-in: Add more tests of atan.
30971         * math/auto-libm-test-out: Regenerated.
30972         * sysdeps/i386/fpu/libm-test-ulps: Update.
30973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30975 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30977         * elf/pldd.c (main): Rewrite to use struct
30978         scratch_buffer instead of extend_alloca.
30979         * elf/pldd-xx.c (find_maps): Likewise.
30980         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30981         <alloca.h>.
30982         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30983         scratch_buffer instead of extend_alloca.
30984         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30985         grp/compat-initgroups.c.
30986         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30987         Rewrite to use struct scratch_buffer instead of extend_alloca.
30988         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30989         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30991 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30993         * math/auto-libm-test-in: Add more tests of cbrt.
30994         * math/auto-libm-test-out: Regenerated.
30995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30997         * math/auto-libm-test-in: Add more tests of cabs.
30998         * math/auto-libm-test-out: Regenerated.
30999         * sysdeps/i386/fpu/libm-test-ulps: Update.
31000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31002         [BZ #18210]
31003         [BZ #18211]
31004         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
31005         (__ieee754_atan2): Set FE_TONEAREST mode for internal
31006         computations.
31007         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
31008         clog10.
31009         * math/auto-libm-test-out: Regenerated.
31010         * sysdeps/i386/fpu/libm-test-ulps: Update.
31011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31013         [BZ #18197]
31014         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
31015         (atan): Set FE_TONEAREST mode for internal computations.
31016         * math/auto-libm-test-in: Add more tests of atan.
31017         * math/auto-libm-test-out: Regenerated.
31019 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
31021         [BZ #17930]
31022         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
31024 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31026         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
31028 2015-04-07  Florian Weimer  <fweimer@redhat.com>
31030         * include/scratch_buffer.h: New file.
31031         * malloc/scratch_buffer_grow.c: Likewise.
31032         * malloc/scratch_buffer_grow_preserve.c: Likewise.
31033         * malloc/scratch_buffer_set_array_size.c: Likewise.
31034         * malloc/tst-scratch_buffer.c: Likewise.
31035         * malloc/Makefile (routines): Add scratch_buffer_grow.
31036         (tests): Add test case.
31037         * malloc/Versions (GLIBC_PRIVATE): Export
31038         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
31039         __libc_scratch_buffer_set_array_size.
31041 2015-04-06  Richard Henderson  <rth@redhat.com>
31043         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
31044         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31046         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
31047         unsigned int before printing.
31049 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31051         [BZ #17596]
31052         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
31053         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31055 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31057         * include/libc-internal.h (libc_max_align_t): Define.
31059 2015-04-02  Andreas Schwab  <schwab@suse.de>
31061         [BZ #16850]
31062         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31064 2015-04-02  Mel Gorman  <mgorman@suse.de>
31066         [BZ #17195]
31067         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31068         as well as the main arena.
31070 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31072         [BZ #18185]
31073         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31074         sharing L2 cache to 2 for Silvermont/Knights Landing.
31076 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31078         [BZ #17711]
31079         * config.make.in (have-protected-data): New.
31080         * configure.ac: Check linker support for protected data symbol.
31081         * configure: Regenerated.
31082         * elf/Makefile (modules-names): Add tst-protected1moda and
31083         tst-protected1modb if $(have-protected-data) is yes.
31084         (tests): Add tst-protected1a and tst-protected1b if
31085         $(have-protected-data) is yes.
31086         ($(objpfx)tst-protected1a): New.
31087         ($(objpfx)tst-protected1b): Likewise.
31088         (tst-protected1modb.so-no-z-defs): Likewise.
31089         * elf/tst-protected1a.c: New file.
31090         * elf/tst-protected1b.c: Likewise.
31091         * elf/tst-protected1mod.h: Likewise.
31092         * elf/tst-protected1moda.c: Likewise.
31093         * elf/tst-protected1modb.c: Likewise.
31095 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31097         [BZ #17711]
31098         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31099         indicates it is called from do_lookup_x on relocation against
31100         protected data, skip the data definion in the executable from
31101         copy reloc.
31102         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31103         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31104         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31105         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31106         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31107         otherwise to 0.
31108         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31109         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31110         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31111         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31112         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31113         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31115 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31117         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31118         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31120 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31122         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31123         THREAD_SETMEM_NC.
31124         * sysdeps/x86_64/nptl/tls.h: Ditto.
31126 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31128         * dlfcn/tststatic.c (main): Converted to ...
31129         (do_test): ... this.
31130         (TEST_FUNCTION): New macro.
31131         Include test-skeleton.c.
31133 2015-03-26  Alan Modra  <amodra@gmail.com>
31135         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31136         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31137         zero for undefined weak.
31138         (elf_machine_plt_conflict): Similarly.
31140 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31142         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31143         atanh.
31144         * math/auto-libm-test-out: Regenerated.
31145         * sysdeps/i386/fpu/libm-test-ulps: Update.
31146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31148         * math/auto-libm-test-in: Add another test of asin.
31149         * math/auto-libm-test-out: Regenerated.
31150         * sysdeps/i386/fpu/libm-test-ulps: Update.
31151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31153         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31154         Remove macro.
31155         (LLL_EBX_REG): Likewise.
31156         (LLL_ENTER_KERNEL): Likewise.
31158         * math/auto-libm-test-in: Add more tests of asin.
31159         * math/auto-libm-test-out: Regenerated.
31160         * sysdeps/i386/fpu/libm-test-ulps: Update.
31161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31163         [BZ #18138]
31164         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31165         libc_do_syscall_args): New structure.
31166         (INTERNAL_SYSCALL_MAIN_0): New macro.
31167         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31168         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31169         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31170         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31171         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31172         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31173         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31174         Replace conditional definitions by conditional definitions of ....
31175         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31176         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31177         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31178         (libpthread-sysdep_routines): Add libc-do-syscall.
31179         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31180         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31181         to __NR_futex not 240.
31183 2015-03-25  Alan Modra  <amodra@gmail.com>
31185         * NEWS: Advertise TLS optimization.
31186         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31187         (DT_PPC_NUM): Increment.
31188         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31189         (CHECK_STATIC_TLS): Use here.
31190         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31191         TLS descriptors.
31192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31193         * sysdeps/powerpc/dl-tls.c: New file.
31194         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31195         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31196         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31197         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31202 2015-03-25  Alan Modra  <amodra@gmail.com>
31204         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31205         for overlapping .opd entries" to "support...".
31206         * sysdeps/powerpc/powerpc64/configure: Regenerate
31208 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31210         * math/auto-libm-test-in: Add more tests of acos.
31211         * math/auto-libm-test-out: Regenerated.
31212         * sysdeps/i386/fpu/libm-test-ulps: Update.
31213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31215         * math/auto-libm-test-in: Add more tests of expm1.
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 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31222         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31223         * math/auto-libm-test-out: Regenerated.
31224         * sysdeps/i386/fpu/libm-test-ulps: Update.
31225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31227         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31230         * math/auto-libm-test-in: Add more tests of log2.
31231         * math/auto-libm-test-out: Regenerated.
31232         * sysdeps/i386/fpu/libm-test-ulps: Update.
31233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31235 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31237         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31238         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31239         _IO_IS_APPENDING bit in READ_WRITE instead.
31241 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31243         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31244         (__determine_cpumask_size): Replace extend_alloca with a
31245         variable-length array.  Do not treat res == 0 as an error.
31247 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31249         [BZ #18100]
31250         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31251         and integer overflow.
31252         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31253         (main): Add integer overflow tests.
31254         * manual/pattern.texi (Calling Wordexp): Document additional use
31255         for WRDE_SYNTAX.
31257 2015-03-23  Alan Modra  <amodra@gmail.com>
31259         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31260         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31261         and false branch of conditional.
31262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31263         Likewise.
31265 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31267         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31268         libc-modules.h
31269         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31270         unused declaration of _hurd_intr_rpc_msg_in_trap.
31271         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31272         defined instead of whether it is non-zero.
31273         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31274         input constraint instead of both input and output constraint.  Use ecx
31275         clobber instead of %ecx.
31276         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31277         mutex_unlock): Use a statement expression instead of an expression list.
31278         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31279         type to vm_size_t instead of vm_address_t.
31280         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31281         defined instead of whether it is non-zero.
31282         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31283         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31284         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31285         comparisons with mapaddr.
31286         * nscd/nscd-client.h: Include <time.h>.
31287         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31288         9th parameter to __vm_region instead of int.
31289         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31290         * scripts/check-local-headers.sh (exclude): Add device/,
31291         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31292         cthreads.h.
31294 2015-03-19  Roland McGrath  <roland@hack.frob.com>
31296         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31297         to account for alignment padding.
31298         * sysdeps/arm/memmove.S: Likewise.
31300 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
31302         * sysdeps/unix/sysv/linux/generic/README: New file.
31304 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
31306         [BZ #18138]
31307         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31308         (futex_abstimed_wait)
31309         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31310         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31311         of lll_futex_timed_wait.
31313 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
31315         [BZ #17542]
31316         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31318 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
31320         [BZ #17090]
31321         [BZ #17620]
31322         [BZ #17621]
31323         [BZ #17628]
31324         * NEWS: Update.
31325         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31326         entries with Static TLS too.  Skip entries past the end of the
31327         allocated DTV, from Alan Modra.
31328         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
31329         Static TLS DTV entry set up from...
31330         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31331         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31332         * nptl/allocatestack.c (init_one_static_tls): ... and here...
31333         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31334         for Static TLS.
31335         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31336         that the slot we find is associated with the given map before
31337         using its generation count.
31338         * nptl_db/db_info.c: Include ldsodefs.h.
31339         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31340         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31341         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31342         (link_map::l_tls_offset): New struct field.
31343         (dtv_t::counter): Likewise.
31344         (rtld_global): New struct.
31345         (_rtld_global): New rtld variable.
31346         (dl_tls_dtv_slotinfo_list): New rtld global field.
31347         (dtv_slotinfo_list): New struct.
31348         (dtv_slotinfo): Likewise.
31349         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31350         (td_lookup): Rename to...
31351         (td_mod_lookup): ... this.  Use new mod parameter instead of
31352         LIBPTHREAD_SO.
31353         * nptl_db/td_thr_tlsbase.c: Include link.h.
31354         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31355         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31356         addresses even if the DTV is out of date or missing them.
31357         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31358         index zero-length arrays.
31359         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31360         (td_lookup): Make it a macro implemented in terms of...
31361         (td_mod_lookup): ... this declaration.
31362         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31363         (DB_MAIN_VARIABLE): Likewise.
31365 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31367         [BZ #18134]
31368         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31370 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31372         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31374 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31376         [BZ #18128]
31377         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31378         (atomic_add, atomic_increment_and_test)
31379         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31381 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31383         * stdlib/setenv.c (__add_to_environ):
31384         Dump core quickly if setenv (..., NULL, ...) is called.
31386 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31388         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31389         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31390         all the necessary asm magic in one place.
31391         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31392         using those.
31394 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31396         [BZ #14906]
31397         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31398         traced file mtime. Use consistent log message.
31399         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31400         (register_traced_file): Call install_watches. Always set mtime.
31401         (invalidate_cache): Iterate over all trace files. Call install_watches.
31402         (inotify_check_files): Don't inline. Handle watching parent
31403         directories and configuration file movement in and out.
31404         (handle_inotify_events): New function.
31405         (main_loop_poll): Call handle_inotify_events.
31406         (main_loop_epoll): Likewise.
31407         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31408         (struct traced_file): Use array of inotify fds. Add parent directory,
31409         and basename.
31410         (struct database_dyn): Remove unused file_mtime.
31411         (init_traced_file): New inline function.
31412         (define_traced_file): New macro.
31413         * nss/nss_db/db-init.c: Use define_traced_file.
31414         (_nss_db_init): Use init_traced_file.
31415         * nss/nss_files/files-init.c: Use define_traced_file.
31416         (_nss_files_init): Use init_traced_file.
31418 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31420         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31421         [_LIBC]: Do not include <stdlib.h>.
31422         [!_LIBC] (abort): Remove declaration.
31423         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31424         _FP_STATIC_ASSERT instead of conditionally calling abort.
31425         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31426         (_FP_EXTEND_CNAN): Likewise.
31427         (FP_TRUNC): Likewise.
31428         (__FP_CLZ): Likewise.
31429         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31431 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
31433         * manual/string.texi (XPG basename): Fix prototype.
31435 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31437         [BZ #18080]
31438         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31439         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31440         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31441         (__setcontext): Likewise.
31442         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31443         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31444         Call rt_sigprocmask syscall one time to set new signal mask
31445         and retrieve the current signal mask instead of two calls.
31446         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31447         (__swapcontext): Likewise.
31448         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31449         * stdlib/tst-setcontext2.c: New file.
31451 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31453         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31455 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
31457         [BZ #18093]
31458         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31459         the wrong size.
31461 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31463         [BZ #18043]
31464         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31466 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31468         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31469         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31470         Remove define.
31471         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31472         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31473         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31474         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31475         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31476         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31477         define.
31478         * nptl_db/td_symbol_list.c (td_lookup): Remove
31479         HAVE_ASM_GLOBAL_DOT_NAME code.
31480         * sysdeps/powerpc/powerpc64/configure.ac: Remove
31481         HAVE_ASM_GLOBAL_DOT_NAME check.
31482         * sysdeps/powerpc/powerpc64/configure: Regenerate.
31483         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31484         (DOT_LABEL): Remove define.
31485         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31486         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31487         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31488         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31489         (__TLS_GET_ADDR): Likewise.
31490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31491         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31493 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
31495         [BZ #18111]
31496         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31497         (_FPU_SETCW): Initialize cw from fpsr before storing.
31498         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31499         (fesetexceptflag): Rewrite using fpu_control.h.
31500         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31502 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
31504         [BZ #18110]
31505         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31506         asms.
31507         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31509 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
31511         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31512         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31513         abort.
31514         (_FP_FMA): Likewise.
31515         (_FP_DIV): Likewise.
31517 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31519         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31520         with 0 in that case.
31521         * Makefile (summarize-tests): New canned sequence, factored out of
31522         commands for targets tests and xtests.  Display summary lines that
31523         don't start with PASS: or XFAIL: rather than ones that do start with
31524         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31525         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31526         do start with ERROR: or FAIL:.
31527         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31528         (except for [$(build-shared) = yes]).
31529         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31530         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31531         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31532         * nptl/Makefile: Revert 2015-03-04 changes.
31533         [$(CXX) empty] (tests-unsupported): New variable.
31534         * debug/Makefile: Likewise.
31536         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31537         gnulib file.  Replace __attribute with __attribute__ throughout.
31539 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31541         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31543 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31545         [BZ #18104]
31546         * math/auto-libm-test-in: Add another test of pow.
31547         * math/auto-libm-test-out: Regenerated.
31549 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31551         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31552         $(config-cflags-nofma).
31554 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31556         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31557         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31558         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31559         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31560         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31561         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31562         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31563         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31564         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31565         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31566         Add comment on closing #endif.
31568 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31570         * posix/wordexp.c (CHAR_IN_SET): New macro.
31571         (parse_param): Use it.
31573 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31575         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31577 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31579         [BZ #18043]
31580         * posix/wordexp.c (parse_param): Fix buffer overflow.
31581         * posix/wordexp-test.c (test_case): Add test case.
31583 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31585         [BZ #18042]
31586         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31587         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31589 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31591         [BZ #18043]
31592         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31593         (do_bz18043): Delete.
31594         (at_page_end): New.
31595         (testit): Refactor to have words at the edge of unreadable page.
31597 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31599         [BZ #16734]
31600         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31601         Cleanup read-only streams as well.
31602         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31604 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31606         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31607         <bits/libc-lockP.h>
31609 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31611         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31612         on [__KERNEL__].
31613         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31614         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31615         * soft-fp/op-common.h (_FP_DECL): Likewise.
31617 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31619         * elf/ifuncdep2.c (global): Replace
31620         __attribute__((visibility("protected"))) with
31621         asm (".protected global").
31622         * elf/ifuncmod1.c (global): Likewise.
31623         * elf/ifuncmod5.c (global): Likewise.
31625 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31627         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31628         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31630 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31632         * manual/install.texi (Configuring and compiling):
31633         Document test-wrapper-env-only.
31634         * INSTALL: Regenerated.
31636 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31638         [BZ #18043]
31639         * posix/wordexp.c (parse_param): Fix buffer overflow.
31640         * posix/wordexp-test.c (do_bz18043): Add test case.
31642 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31644         * time/tst-strptime2.c (do_test): Ensure failing tests are
31645         reported correctly.
31646         * time/tst-strptime3.c (do_test): Likewise.
31648 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31650         Fix aio_error thread-safety.
31651         * sysdeps/pthread/aio_error.c: New file
31652         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31653         synchronization.
31655 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31657         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31658         (group_number, vfprintf): Use it.
31659         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31660         (JUMP, REF): Use it.
31661         (WORK_BUFFER_SIZE): New enum constant.
31662         (process_arg, vfprintf): Use it.
31664 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31666         * manual/errno.texi (Error Messages): Complete example function
31667         by adding missing #define.
31668         (program_invocation_name): Add statement indicating GNU
31669         extension and reference which header file declares the variable.
31670         (program_invocation_short_name): Likewise.
31672 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31674         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31675         compatibility note.
31677 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31679         * Makeconfig (test-wrapper-env-only): New variable.
31680         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31681         then use that with $(test-wrapper-env-only) rather than using
31682         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31684 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31686         [BZ #18082]
31687         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31688         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31689         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31690         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31691         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31692         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31693         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31694         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31695         Likewise.
31696         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31697         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31698         Likewise.
31699         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31700         Likewise.
31701         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31702         Likewise.
31703         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31704         Likewise.
31705         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31706         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31707         Likewise.
31708         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31709         Likewise.
31710         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31711         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31713 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31715         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31716         (ETH_ALEN): New macro.
31717         (struct ether_addr): Use it for length of ether_addr_octet.
31719         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31720         (setdb): Don't call __nss_configure_lookup for "rpc".
31721         (do_test): Don't call test_rpc.
31722         (output_rpcent, test_rpc): Functions moved ...
31723         * sunrpc/test-rpcent.c: ... to this new file.
31724         * sunrpc/Makefile (tests): Add it.
31726         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31727         __xpg_sigpause.
31728         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31729         * nptl/tst-signal6.c: Likewise.
31730         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31731         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31733         * configure.ac (libc_cv_cxx_link_ok): New check.
31734         Reset CXX to empty if it fails to link.
31735         * configure: Regenerated.
31736         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31737         bug-atexit3-lib only if $(CXX) is nonempty.
31738         * nptl/Makefile (tests): Likewise for tst-cancel24.
31739         (tests, tests-static): Likewise for tst-cancel24-static.
31740         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31741         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31742         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31743         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31745 2015-03-04  Andreas Schwab  <schwab@suse.de>
31747         [BZ #17631]
31748         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31749         for non-GCC compilers.
31750         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31751         Likewise.
31753 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31755         [BZ #17776]
31756         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31757         integer before bitwise and assembly operations.
31758         (feclearexcept): Likewise.
31759         * math/test-fenvinline.c: New file.
31760         * math/Makefile: Add test-fenvinline test.
31762 2015-03-03  Alan Modra  <amodra@gmail.com>
31764         [BZ #16512]
31765         * scripts/localplt.awk: Strip off symbol version.
31766         * NEWS: Mention bug fix.
31768 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31770         * sysdeps/pthread/timer_routines.c
31771         (timer_free_list, thread_free_list, thread_active_list): Make static.
31773 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31775         [BZ #17779]
31776         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31777         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31778         Undefine.
31779         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31780         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31781         Likewise.
31782         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31783         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31784         Likewise.
31786 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31788         [BZ #18036]
31789         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31790         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31792 2015-03-02  Andreas Schwab  <schwab@suse.de>
31794         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31795         variable name.
31797 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31799         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31800         Return error status.
31802 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31804         [BZ #15969]
31805         * locale/findlocale.c (_nl_find_locale): Introduce const
31806         version of loc_name and drop unsafe type casts.
31808 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31810         * dlfcn/tststatic2.c (main): Converted to ...
31811         (do_test): ... this.
31812         (TEST_FUNCTION): New macro.
31813         Include test-skeleton.c.
31815 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31817         [BZ #17711]
31818         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31819         (tests-pie): Add vismain.
31820         (CFLAGS-vismain.c): New.
31821         * elf/vismain.c: Add comments for PIE requirement.
31823 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31825         [BZ #18046]
31826         [BZ #18047]
31827         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31828         0x1p-56L as threshold for just returning the argument.
31829         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31830         0x1p-32L as threshold for just returning the argument.
31831         * math/auto-libm-test-in: Add more tests of atanh.
31832         * math/auto-libm-test-out: Regenerated.
31833         * sysdeps/i386/fpu/libm-test-ulps: Update.
31834         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31836 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31838         * string/bcopy.c (bcopy): Call memmove for performance.
31840 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31842         * string/bzero.c (__bzero): Call memset for performance.
31844 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31846         [BZ #18068]
31847         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31848         to 00100000.
31850 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31852         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31854 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31856         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31857         (__kernel_standard): Use CSTR macro when setting exc.name.
31858         * sysdeps/ieee754/Makefile [$(subdir) = math]
31859         (CFLAGS-k_standard.c): Remove variable.
31861         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31862         setting p and q from "else if" to "else".
31863         (qzero): Likewise.
31864         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31865         (qone): Likewise.
31866         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31867         (qzerof): Likewise.
31868         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31869         (qonef): Likewise.
31870         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31871         (qzero): Likewise.
31872         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31873         (qone): Likewise.
31875         [BZ #18038]
31876         [BZ #18039]
31877         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31878         return pi/2 for arguments below 0x1p-113L.
31879         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31880         return pi/2 for arguments below 0x1p-106L.
31881         * math/auto-libm-test-in: Add more tests of acos.
31882         * math/auto-libm-test-out: Regenerated.
31884         [BZ #16351]
31885         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31886         (MO): New macro.
31887         (__ieee754_asin): Force underflow exception for results with small
31888         absolute value.
31889         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31890         (MO): New macro.
31891         (__ieee754_asinf): Force underflow exception for results with
31892         small absolute value.
31893         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31894         (__ieee754_asin): Force underflow exception for results with small
31895         absolute value.
31896         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31897         (__ieee754_asinf): Force underflow exception for results with
31898         small absolute value.
31899         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31900         (__ieee754_asinl): Force underflow exception for results with
31901         small absolute value.
31902         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31903         (__ieee754_asinl): Force underflow exception for results with
31904         small absolute value.
31905         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31906         (__ieee754_asinl): Force underflow exception for results with
31907         small absolute value.
31908         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31909         Include <math.h>.
31910         * math/auto-libm-test-in: Do not mark underflow exceptions as
31911         possibly missing for bug 16351.
31912         * math/auto-libm-test-out: Regenerated.
31914         [BZ #18030]
31915         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31916         of power of 2 down when low part has opposite sign.
31917         * math/libm-test.inc (logb_test_data): Add more tests.
31919 2015-02-26  Andreas Schwab  <schwab@suse.de>
31921         [BZ #18032]
31922         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31923         over collating symbol inside a bracket expression.  Minor cleanup.
31924         * posix/tst-fnmatch3.c (do_test): Add test case.
31926 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31928         [BZ #18029]
31929         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31930         Adjust exponent of power of 2 down when low part has opposite
31931         sign.
31932         * math/libm-test.inc (ilogb_test_data): Add more tests.
31934 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31936         [BZ #15969]
31937         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31938         the previous change.
31940         [BZ #15969]
31941         * locale/findlocale.c (_nl_find_locale): Retry archive search
31942         after alias expansion.
31944 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31946         * iconv/tst-iconv3.c (main): Converted to ...
31947         (do_test): ... this.
31948         (TEST_FUNCTION): New macro.
31949         Include test-skeleton.c.
31951         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31952         (convert): Make function static.
31953         (test_unalign): Likewise.  Add const to argument pointee types.
31954         (main): Replace with static function do_test.
31955         Print "Succeeded." only if RET is zero.
31956         (TEST_FUNCTION): New macro.
31957         Include test-skeleton.c.
31959         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31960         returns a null pointer.
31962 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31964         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31965         to __memcpy_ppc only for static builds.
31967 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31969         [BZ #18020]
31970         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31971         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31972         * math/auto-libm-test-in: Add more tests of asinh.
31973         * math/auto-libm-test-out: Regenerated.
31974         * sysdeps/i386/fpu/libm-test-ulps: Update.
31975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31977 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31979         [BZ #15850]
31980         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31981         and ip6_mtuinfo definitions here.
31982         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31983         in this define too.  Update comment.
31985 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31987         * elf/sprof.c (load_shobj): Tweak error message to match others.
31989 2015-02-24  Kevin Easton  <kevin@guarana.org>
31991         [BZ #16145] (partial fix)
31992         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31993         to reduce lock contention.
31995 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31997         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31998         (struct timex): Update time comment.
31999         (ADJ_SETOFFSET): Define.
32001 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32003         [BZ #18019]
32004         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32005         2**56 not 2**28 as threshold for log (2x) formula.
32006         * math/auto-libm-test-in: Add more tests of acosh.
32007         * math/auto-libm-test-out: Regenerated.
32008         * sysdeps/i386/fpu/libm-test-ulps: Update.
32009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32011 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32013         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
32014         parenthesis around the buf assignment.
32015         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
32017 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
32019         [BZ #16783]
32020         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
32021         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
32022         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
32023         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32024         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
32025         * math/libm-test.inc (scalb_test_data): Add more tests.
32027 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
32029         [BZ #17916]
32030         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
32031         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
32033 2015-02-24  Eric Rannaud  <e@nanocritical.com>
32035         [BZ #17523]
32036         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
32037         * io/bits/fcntl2.h (open): Use it.
32038         (openat): Likewise.
32039         * io/open.c (__libc_open): Likewise.
32040         * io/open64.c (__libc_open64): Likewise.
32041         * io/open64_2.c (__open64_2): Likewise.
32042         * io/open_2.c (__open_2): Likewise.
32043         * io/openat.c (__openat): Likewise.
32044         * io/openat64.c (__openat64): Likewise.
32045         * io/openat64_2.c (__openat64_2): Likewise.
32046         * io/openat_2.c (__openat_2): Likewise.
32047         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
32048         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
32049         * sysdeps/posix/open64.c (__libc_open64): Likewise.
32050         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
32051         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
32052         (__open_nocancel): Likewise.
32053         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32054         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32055         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32057 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32059         [BZ #14841]
32060         * resolv/gethnamaddr.c (getanswer): Skip logging if
32061         RES_USE_DNSSEC is set.
32062         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32064 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32066         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32068 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32070         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32071         201304L, for Unicode 7.
32073 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32075         [BZ #17836]
32076         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32077         shared library.  Add gmon-start.os otherwise.
32078         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32079         $(objpfx)gmon-start.os if builing shared library.
32080         ($(objpfx)g$(static-start-installed-name)): Likewise.
32082 2015-02-23  Andreas Schwab  <schwab@suse.de>
32084         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32086 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32088         [BZ #17269]
32089         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32090         (enlarge_userbuf): Likewise.
32092 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32094         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32095         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32096         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32097         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32099 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32101         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32102         expression inside statement expression.
32104 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32106         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32107         <sysdeps/nptl/lowlevellock.h> and remove macros and
32108         functions that are now defined there.
32109         (SYS_futex): Remove.
32110         (lll_compare_and_swap): Remove.
32111         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32113 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32115         [BZ #17999]
32116         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32117         instead of scandirat.
32118         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32119         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32120         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32121         __scandirat.
32122         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32123         (__scandirat): Declare.  Use libc_hidden_proto.
32124         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32125         Remove variable.
32126         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32128 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32130         [BZ #15319]
32131         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32132         (MO): New macro.
32133         (__ieee754_atan2): For results with small absolute value, force
32134         underflow exception and remove excess range and precision from
32135         return value.
32136         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32137         (MO): New macro.
32138         (__ieee754_atan2f): For results with small absolute value, force
32139         underflow exception and remove excess range and precision from
32140         return value.
32141         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32142         (MO): New macro.
32143         (__atan): For results with small absolute value, force underflow
32144         exception and remove excess range and precision from return value.
32145         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32146         (MO): New macro.
32147         (__atanf): For results with small absolute value, force underflow
32148         exception and remove excess range and precision from return value.
32149         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32150         <math.h>.
32151         (__ieee754_atan2): Force underflow exception for results with
32152         small absolute value.
32153         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32154         <math_private.h>.
32155         (atan): Force underflow exception for results with small absolute
32156         value.
32157         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32158         (__atanf): Force underflow exception for results with small
32159         absolute value.
32160         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32161         <math.h>.
32162         (__atanl): Force underflow exception for results with small
32163         absolute value.
32164         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32165         (__atanl): Force underflow exception for results with small
32166         absolute value.
32167         * sysdeps/x86/fpu/bits/mathinline.h
32168         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32169         (__ieee754_atan2): Only define inline for long double.
32170         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32171         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32172         * math/auto-libm-test-in: Do not mark underflow exceptions as
32173         possibly missing for bug 15319.  Add more tests of atan2.
32174         * math/auto-libm-test-out: Regenerated.
32175         * math/libm-test.inc (casin_test_data): Do not mark underflow
32176         exceptions as possibly missing for bug 15319.
32177         (casinh_test_data): Likewise.
32178         * sysdeps/i386/fpu/libm-test-ulps: Update.
32180 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32182         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32183         * sysdeps/mips/bits/endian.h: Fix comments.
32185 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32187         [BZ #17996]
32188         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32189         (hdestroy_r): Likewise.
32190         (hsearch_r): Likewise.
32191         (__hcreate_r): Declare and use libc_hidden_proto.
32192         (__hdestroy_r): Likewise.
32193         (__hsearch_r): Likewise.
32194         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32195         (hcreate): Call __hcreate_r instead of hcreate_r.
32196         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32197         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32198         as weak alias of __hcreate_r.
32199         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32200         __hdestroy_r.
32201         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32202         __hsearch_r.
32203         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32204         Remove variable.
32205         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32206         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32207         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32208         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32210 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32212         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32213         arena_lock into a single arena_get.
32215 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32217         * dl-reloc.c: Inlucde libc-internal.h.
32218         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32219         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32220         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32221         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32222         (grow_heap): Likewise.
32223         * malloc/malloc.c: Include libc-internal.h.
32224         (do_check_malloc): Call powerof2.
32225         (sysmalloc): Use pagesize. Call ALIGN_UP.
32226         (systrim): Use pagesize.
32227         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32228         (__libc_valloc): Use pagesize.
32229         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32231 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32233         [BZ #17991]
32234         * include/sys/resource.h (__getrlimit64): Declare.  Use
32235         libc_hidden_proto.
32236         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32237         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32238         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32239         getrlimit64.
32240         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32241         __getrlimit64.
32242         [!getrlimit64] (getrlimit64): Define as weak alias of
32243         __getrlimit64.  Use libc_hidden_weak.
32244         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32245         using __getrlimit64 not __new_getrlimit64.
32246         (__GI_getrlimit64): Likewise.
32247         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32248         Likewise.
32249         (__GI_getrlimit64): Likewise.
32250         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32252         (getrlimit): Add __getrlimit64 alias.
32253         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32254         Likewise.
32255         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32256         Remove variable.
32257         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32258         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32260 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32262         * libio/fileops.c: Add missing sys/mman.h
32263         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32265 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32267         * manual/math.texi (Errors in Math Functions): Clarify goals
32268         regarding inexact and underflow exceptions.
32270 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32272         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32273         * sysdeps/mips/memset.S: Ditto.
32275 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32277         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32279 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32281         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32282         (__v1longjmp): Remove versioned symbol.
32283         (__v1siglongjmp): Remove alias and versioned symbol.
32284         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32285         (__v2siglongjmp): Likewise.
32287 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32289         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32291 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
32293         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32295 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32297         [BZ #17987]
32298         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32299         zero result does not depend on the sign resulting from
32300         subtraction.
32301         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32302         Likewise.
32303         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32304         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32305         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32306         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32307         * math/libm-test.inc (remquo_test_data): Add more tests.
32309 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
32311         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32312         Problem reported by J William Piggott.
32314 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32316         [BZ #17978]
32317         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32318         products 4 * y and 2 * y where those would overflow.
32319         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32320         Likewise.
32321         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32322         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32323         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32324         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32325         * math/libm-test.inc (remquo_test_data): Add more tests.
32327         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32329         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32330         [defined _COMPILING_NEWLIB].
32331         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32332         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32334         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32335         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32337 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32339         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32340         acquired.
32342 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32344         [BZ #17792]
32345         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32346         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32347         HOST_STACK_END_ADDR): Likewise.
32349 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32351         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32352         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32353         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32355 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32357         * sysdeps/generic/c++-types.data: New file.
32358         * sysdeps/generic/ld.abilist: New file.
32359         * sysdeps/generic/libBrokenLocale.abilist: New file.
32360         * sysdeps/generic/libanl.abilist: New file.
32361         * sysdeps/generic/libc.abilist: New file.
32362         * sysdeps/generic/libcrypt.abilist: New file.
32363         * sysdeps/generic/libdl.abilist: New file.
32364         * sysdeps/generic/libm.abilist: New file.
32365         * sysdeps/generic/libpthread.abilist: New file.
32366         * sysdeps/generic/libresolv.abilist: New file.
32367         * sysdeps/generic/librt.abilist: New file.
32369 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32371         [BZ #17569]
32372         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32373         Compute absolute value of x as modified by fmod, not original
32374         value of x.
32375         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32376         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32377         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32378         RUN_TEST_ffI_f1_mod8.
32379         (remquo_test_data): Add more tests.
32381 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32383         * sysdeps/init_array/pt-crti.S: New file.
32385 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32387         [BZ #17967]
32388         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32389         __builtin_fmaf instead of relying on contraction of a * b + c.
32391 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32393         [BZ #17969]
32394         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32395         node.
32397 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32399         [BZ #17964]
32400         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32401         __builtin_fma instead of relying on contraction of a * b + c.
32403 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32405         * Makeconfig (ASFLAGS): Add -Werror=undef.
32406         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32407         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32408         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32410         * Makeconfig (after-link): New variable.
32411         (+link-pie, +link-pie-tests): Use it.
32412         (+link-static, +link-static-tests): Likewise.
32413         (+link, +link-tests): Likewise.
32414         * Makerules (build-module, build-module-asneeded): Likewise.
32415         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32416         Likewise.
32417         * elf/Makefile ($(objpfx)ld.so): Likewise.
32419 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32421         [BZ #17965]
32422         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32423         both struct timeval and struct timespec.
32425 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32427         [BZ #16560]
32428         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32429         and redefine.
32430         (__ieee754_exp2l): Do not multiply small fractional parts by
32431         M_LN2l.
32432         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32433         small argument.
32434         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32435         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32436         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32437         * math/auto-libm-test-in: Add more tests of exp2.
32438         * math/auto-libm-test-out: Regenerated.
32440 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32442         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32443         unaligned path.
32445 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32447         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32448         little endian.
32450 2015-02-12  Andreas Schwab  <schwab@suse.de>
32452         [BZ #15790]
32453         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32454         Filter out elision flags from value returned in kind.
32455         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32456         * nptl/tst-pthread-mutexattr.c: New file.
32458 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32460         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32461         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32462         into gnu-gnu, and update comment to refer to abi-tags.
32464 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
32466         [BZ #15467]
32467         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32468         (__sincos): Set errno to EDOM for infinite argument.
32469         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32470         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32471         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32472         (__sincosl): Set errno to EDOM for infinite argument.
32473         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32474         (__sincosl): Set errno to EDOM for infinite argument.
32475         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32476         (__sincosl): Set errno to EDOM for infinite argument.
32477         * math/libm-test.inc (sincos_test_data): Test errno setting.
32479 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
32481         * string/strxfrm_l.c: Remove #define STRCMP.
32482         * string/strcoll_l.c: Remove #define STRLEN.
32483         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32484         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32486 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
32488         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32489         * sysdeps/mips/mips32/sfp-machine.h: ... here.
32490         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32491         * sysdeps/mips/mips64/Makefile: ... here.
32492         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32493         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32494         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32495         * sysdeps/mips/mips64/sfp-machine.h: ... here.
32496         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32497         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32498         * sysdeps/mips/mips64/n64/Implies: Likewise.
32500 2015-02-10  Roland McGrath  <roland@hack.frob.com>
32502         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32503         <sys/time.h>, <string.h>, and <errno.h>.
32504         (dest_offset, dest_address, value, zero): Remove unused variables.
32505         (ldouble): Remove typedef.
32506         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32507         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
32508         1).  Fix code style.
32509         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32510         (check): Function removed.
32511         (CHECK): New macro.
32512         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
32513         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32514         Don't call set_sigaction_FP and remove_sigaction_FP here.
32515         (ldouble_test): Just use 'long double' as macro argument, no need for
32516         the 'ldouble' typedef.
32517         (do_test): Set up SIGFPE handler at start, using plain signal rather
32518         than sigaction.  Fix code style.
32520 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32522         [BZ #17949]
32523         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32524         jump label.
32526 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32528         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32529         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32531         * sysdeps/powerpc/configure.ac: Remove file.
32532         * sysdeps/powerpc/configure: Likewise.
32534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32535         [sysdep_routines]: Remove wordcopy-power6 object.
32536         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32537         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32538         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32539         (__memmove_ppc32): Likewise.
32540         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32541         file.
32542         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32543         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32544         Remove preprocessor.
32546         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32547         [sysdep_routines]: Remove wide chars objects.
32548         [wcsmbs]: New rule for wide char objects.
32550         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32551         Remove wordcopy-power6 obejct.
32552         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32553         Use local call for wordcopy and memcpy symbols.
32554         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32555         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32556         implementation for loader.
32557         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32559         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32560         Remove wordcopy-power7 object.
32561         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32562         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32563         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32564         (_wordcopy_fwd_dest_aligned): Likewise.
32565         (_wordcopy_bwd_aligned): Likewise.
32566         (_wordcopy_bwd_dest_aligned): Likewise.
32568         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32569         Rewrite to call __memmove_ppc instead of include default
32570         implementation.
32572         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32573         Remove wide chars objects.
32574         [wcsmbs]: New rule for wide char objects.
32576 2015-02-09  Andreas Schwab  <schwab@suse.de>
32578         [BZ #17912]
32579         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32580         in terms of __O_DIRECTORY.
32582 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32584         * time/getdate.c: Include <stdbool.h>.
32585         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32586         call PTR_MANGLE.
32587         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32588         PTR_DEMANGLE.
32590 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32592         Add ersatz _Static_assert on older C hosts
32593         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32594         pre-C11 C platform that is not known to support _Static_assert.
32596 2015-02-07  Richard Braun  <rbraun@sceen.net>
32598         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32599         sigstate.
32600         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32602 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32604         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32605         priority against unexistent AIO_PRIO_DELTA_MAX.
32606         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32607         instead of int.
32608         * misc/fchflags.c (fchflags): Likewise.
32609         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32610         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32611         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32612         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32613         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32614         Declare macros.
32615         [__USE_MISC] (chflags, fchflags): Declare functions.
32616         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32617         EINVAL when nfds is greater than FD_SETSIZE.
32618         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32619         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32620         45.
32621         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32622         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32623         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32624         MACH_RCV_TIMED_OUT.
32625         * hurd/hurd/signal.h (_hurd_self_sigstate,
32626         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32627         Explicit casts from void *.
32628         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32629         * abi-tags: Rename gnu-gnu os into gnu.
32631         [BZ #4719]
32632         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32633         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32634         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32635         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32636         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32637         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32639         [BZ #17944]
32640         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32641         duplicates ADDR->sun_path with sockaddr LEN limitation.
32642         * sysdeps/mach/hurd/connect.c: Include <string.h>
32643         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32644         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32645         * sysdeps/mach/hurd/sendto.c: Likewise.
32646         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32647         implementing it by hand.
32649 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32651         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32652         Use sfi_breg on ldr.
32653         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32654         Likewise.
32656         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32657         it's defined.
32658         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32659         Test SIGSETXID only if it's defined.
32661         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32663         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32664         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32666         * nptl/tst-align2.c: Moved ...
32667         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32668         * nptl/Makefile (tests): Remove tst-align2.
32669         * sysdeps/unix/sysv/linux/Makefile
32670         [$(subdir) = nptl] (tests): Add tst-align-clone.
32671         * nptl/tst-getpid1.c: Moved ...
32672         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32673         * nptl/tst-getpid2.c: Moved ...
32674         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32675         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32676         * sysdeps/unix/sysv/linux/Makefile
32677         [$(subdir) = nptl] (tests): ... here.
32678         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32679         * sysdeps/unix/sysv/linux/Makefile
32680         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32682         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32683         Drop trailing \n from perror argument.  Use return rather than exit.
32685         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32686         on [SA_SIGINFO].
32687         * nptl/tst-cancel21.c (do_test): Likewise.
32688         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32689         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32690         [!SA_SIGINFO]: Make it a stub test.
32692         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32693         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32695         * posix/tst-getlogin.c: Move to ...
32696         * login/tst-getlogin.c: ... here.
32697         * posix/Makefile (tests): Move tst-getlogin to ...
32698         * login/Makefile (tests): ... here.
32700         * libio/tst-atime.c (do_test): Move local variables SV and E
32701         inside [ST_NOATIME] conditional.
32703         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32705         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32707         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32708         (wait_code): New function replaces macro.
32709         Call nanosleep rather than syscall.
32711         * nptl/pt-system.c: Rewritten.  Put everything under
32712         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32713         Use IFUNC to redirect when possible.
32715         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32716         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32717         Use IFUNC to redirect when possible.
32719         * nptl/pt-fork.c: Rewritten.  Put everything under
32720         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32721         Use IFUNC to redirect when possible.
32722         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32724         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32725         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32726         unconditionally nowadays.  This included the only reference to
32727         __vdso_clock_gettime that appears outside libc proper.
32728         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32729         Remove version set (containing only __vdso_clock_gettime).
32730         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32731         Add attribute_hidden.
32732         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32733         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32734         libc_hidden_data_def.
32735         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32736         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32738         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32739         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32740         setrpcent, and getrpcport to ...
32741         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32742         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32743         getrpcbynumber_r, and getrpcent_r to ...
32744         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32745         * inet/getrpcbyname.c: Moved ...
32746         * sunrpc/getrpcbyname.c: ... here.
32747         * inet/getrpcbyname_r.c: Moved ...
32748         * sunrpc/getrpcbyname_r.c: ... here.
32749         * inet/getrpcbynumber.c: Moved ...
32750         * sunrpc/getrpcbynumber.c: ... here.
32751         * inet/getrpcbynumber_r.c: Moved ...
32752         * sunrpc/getrpcbynumber_r.c: ... here.
32753         * inet/getrpcent.c: Moved ...
32754         * sunrpc/getrpcent.c: ... here.
32755         * inet/getrpcent_r.c: Moved ...
32756         * sunrpc/getrpcent_r.c: ... here.
32757         * inet/Makefile (routines): Move those to ...
32758         * sunrpc/Makefile (routines): ... here.
32759         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32760         the $(subdirs) list.
32761         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32762         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32763         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32764         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32766         * elf/Makefile (routines): Include $(all-dl-routines), not just
32767         $(dl-routines).
32768         (rtld-routines): Likewise.  Use = rather than :=.
32769         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32770         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32771         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32772         * sysdeps/arm/Makefile: Likewise.
32773         * sysdeps/i386/Makefile: Likewise.
32774         * sysdeps/x86_64/Makefile: Likewise.
32775         * sysdeps/hppa/Makefile [$(subdir) = elf]
32776         (sysdep_routines, sysdep-rtld-routines): Don't add
32777         $(sysdep-dl-routines) to these.
32778         * sysdeps/ia64/Makefile: Likewise.
32779         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32780         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32781         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32782         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32783         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32784         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32785         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32786         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32787         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32788         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32789         these; sysdep-dl-routines alone is enough.
32791 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32793         [BZ #17932]
32794         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32795         where multiplication results in zero and third argument is finite
32796         and nonzero.
32797         * math/auto-libm-test-in: Add more tests of fma.
32798         * math/auto-libm-test-out: Regenerated.
32800         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32801         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32802         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32803         (_FP_CMP_EQ): Likewise.
32804         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32806         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32807         extra argument CHECK_NAN.  Redefine as wrapper around
32808         _FP_EXTEND_CNAN.
32810 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32812         * version.h (RELEASE): Set to "stable".
32813         (VERSION): Set to "2.21"
32814         * include/features.h (__GLIBC_MINOR__): Set to 21.
32816         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32818 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32819             Paul Eggert  <eggert@cs.ucla.edu>
32821         [BZ #16618]
32822         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32823         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32824         size in bytes. Store needed elements in wpmax. Use needed size
32825         in bytes for extend_alloca.
32827 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32829         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32830         binutls 2.25, and texinfo 5.2.
32831         * INSTALL: Regenerate.
32832         * sysdeps/nios2/configure: Regenerate.
32833         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32834         * manual/contrib.texi: Update.
32835         * po/be.po: Update.
32836         * po/bg.po: Update.
32837         * po/ca.po: Update.
32838         * po/cs.po: Update.
32839         * po/da.po: Update.
32840         * po/de.po: Update.
32841         * po/el.po: Update.
32842         * po/eo.po: Update.
32843         * po/es.po: Update.
32844         * po/fi.po: Update.
32845         * po/fr.po: Update.
32846         * po/gl.po: Update.
32847         * po/hr.po: Update.
32848         * po/hu.po: Update.
32849         * po/ia.po: Update.
32850         * po/id.po: Update.
32851         * po/it.po: Update.
32852         * po/ja.po: Update.
32853         * po/ko.po: Update.
32854         * po/lt.po: Update.
32855         * po/nb.po: Update.
32856         * po/nl.po: Update.
32857         * po/pl.po: Update.
32858         * po/pt_BR.po: Update.
32859         * po/ru.po: Update.
32860         * po/rw.po: Update.
32861         * po/sk.po: Update.
32862         * po/sl.po: Update.
32863         * po/sv.po: Update.
32864         * po/tr.po: Update.
32865         * po/uk.po: Update.
32866         * po/vi.po: Update.
32867         * po/zh_CN.po: Update.
32868         * po/zh_TW.po: Update.
32870         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32871         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32872         * sysdeps/hppa/dl-irel.h: Remove #warning.
32873         * sysdeps/hppa/entry.h: Provide prototype for
32874         __canonicalize_funcptr_for_compare and cast argument.
32875         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32876         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32877         * sysdeps/hppa/sotruss-lib.c: New file.
32878         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32879         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32880         (atomic_compare_and_exchange_bool_acq): Likewise.
32881         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32882         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32884         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32885         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32886         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32888 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32890         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32891         called function in non-PIC case.
32893 2015-01-31  David S. Miller  <davem@davemloft.net>
32895         * sysdeps/sparc/sparc32/bits/atomic.h
32896         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32897         unlock not after it.
32898         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32899         volatile register usage warnings from the compiler.
32901         * sysdeps/sparc/nptl/sem_init.c: Delete.
32902         * sysdeps/sparc/nptl/sem_post.c: Delete.
32903         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32904         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32905         * sysdeps/sparc/sparc32/sem_init.c: New file.
32906         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32907         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32908         padding explicitly initialized.
32909         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32910         padding for in-semaphore spinlock.
32911         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32912         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32913         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32914         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32915         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32916         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32917         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32918         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32919         version.
32920         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32921         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32923 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32925         [BZ #17801]
32926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32927         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32928         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32929         New.
32930         (index_AVX_Fast_Unaligned_Load): Likewise.
32931         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32932         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32933         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32934         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32935         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32936         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32937         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32938         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32939         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32941 2015-01-29  Andreas Schwab  <schwab@suse.de>
32943         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32945 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32947         [BZ #17892]
32948         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32950 2015-01-28  Martin Sebor  <msebor@redhat.com>
32952         * math/README.libm-test: Clarify. Add "How to read the test output."
32954 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32956         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32957         Define to 0.
32959 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32961         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32962         (__HAVE_64B_ATOMICS): Define to 0.
32964 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32966         [BZ #17885]
32967         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32968         value to set as new flag.
32970         [BZ #16576]
32971         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32972         and use _ARCH_PPCSQ instead.
32973         (__ieee754_sqrt): Likewise.
32974         (__ieee754_sqrtf): Likewise.
32975         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32976         _ARCH_PPCSQ is defined.
32977         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32978         fsqrt instruction.
32979         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32980         _ARCH_PPCSQ is defined.
32981         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32982         fsqrts instruction.
32983         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32985 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32987         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32988         bug (GCC BZ #64739).
32990 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32992         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32993         Mark _retval as used.
32994         (lll_futex_wake_unlock): Likewise.
32995         (lll_futex_timed_wait_requeue_pi): Likewise.
32997         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32998         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32999         register variables.
33001         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
33002         libm_hidden_def.
33004         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
33005         (__bswap_64): Mark as __always_inline.
33007 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
33009         [BZ #15378]
33010         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
33011         when none of the search directories exist.
33013 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33015         [BZ #17869]
33016         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
33017         power8 in .machine directive.
33019         [BZ #17868]
33020         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
33021         set dependency from opd value.
33023 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33026         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
33027         architecture.
33029 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
33031         [BZ #17870]
33032         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
33033         with uint64_t.
33034         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
33035         (uint64_t) 1.
33036         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
33037         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
33038         Replace 1UL with (uint64_t) 1.
33039         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
33040         int with uint64_t.
33042 2015-01-23  Roland McGrath  <roland@hack.frob.com>
33044         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
33045         (if_freenameindex): Likewise.
33047         * resource/getrlimit64.c: Add missing libc_hidden_def.
33049 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
33051         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
33052         __label__.
33053         (_FP_FMA): Likewise.
33054         (_FP_TO_INT_ROUND): Likewise.
33055         (_FP_FROM_INT): Likewise.
33057 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33059         [BZ #16418]
33060         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33061         Make code racy and cancel safe.
33063 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33065         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33066         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33067         attribution.
33069         * pwd/tst-getpw.c: Rewrite.
33071         [BZ #17702]
33072         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33073         (modules-names): Add moddummy1 and moddummy2.
33074         ($(objpfx)tst-rec-dlopen): Define.
33075         * dlfcn/moddummy1.c: New file.
33076         * dlfcn/moddummy2.c: New file.
33077         * dlfcn/tst-rec-dlopen.c: New file.
33078         * elf/dl-cache.c (_dl_load_cache_lookup):
33079         Return char*. Copy result with alloca/strcpy/strdup.
33080         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33081         returns char*. Free cached. If not saving realname
33082         free cached.
33083         * elf/dl-open.c (dl_open_worker): Do not assert that
33084         _r_debug->r_state is RT_CONSISTENT.
33085         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33086         returns char*.
33088 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33089             Carlos O'Donell  <carlos@redhat.com>
33091         [BZ #12674]
33092         * nptl/sem_waitcommon.c: New file.
33093         * nptl/sem_wait.c: Include sem_waitcommon.c.
33094         (__sem_wait_cleanup, do_futex_wait): Remove.
33095         (__new_sem_wait): Adapt.
33096         (__new_sem_trywait): New function.
33097         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33098         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33099         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33100         (sem_timedwait): Adapt.
33101         * nptl/sem_post.c (__new_sem_post): Adapt.
33102         (futex_wake): New function.
33103         (__old_sem_post): Add release MO fence.
33104         * nptl/sem_open.c (sem_open): Adapt.
33105         * nptl/sem_init.c (__new_sem_init): Adapt.
33106         (futex_private_if_supported): New function.
33107         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33108         (__old_sem_getvalue): Add using previous code.
33109         * sysdeps/nptl/internaltypes.h: Adapt.
33110         * nptl/tst-sem13.c (do_test): Adapt.
33111         * nptl/tst-sem11.c (main): Adapt.
33112         * nptl/sem_trywait.c: Remove.
33113         * nptl/DESIGN-sem.txt: Remove.
33114         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33115         (gen-as-const-headers): Remove structsem.sym.
33116         * nptl/structsem.sym: Remove.
33117         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33118         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33119         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33120         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33121         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33122         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33123         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33124         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33125         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33126         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33127         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33128         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33129         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33130         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33131         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33132         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33133         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33134         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33135         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33136         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33137         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33138         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33140 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33142         * INSTALL: Regenerated.
33144         * po/libc.pot: Regenerated.
33146 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33147             Sandra Loosemore  <sandra@codesourcery.com>
33148             Andrew Jenner  <andrew@codesourcery.com>
33149             Joseph Myers  <joseph@codesourcery.com>
33150             Nathan Sidwell  <nathan@codesourcery.com>
33152         * NEWS: Mention new Nios II port.
33153         * sysdeps/nios2/Implies: New file.
33154         * sysdeps/nios2/Makefile: New file.
33155         * sysdeps/nios2/Subdirs: New file.
33156         * sysdeps/nios2/Versions: New file.
33157         * sysdeps/nios2/__longjmp.S: New file.
33158         * sysdeps/nios2/abort-instr.h: New file.
33159         * sysdeps/nios2/backtrace.c: New file.
33160         * sysdeps/nios2/bits/endian.h: New file.
33161         * sysdeps/nios2/bits/fenv.h: New file.
33162         * sysdeps/nios2/bits/link.h: New file.
33163         * sysdeps/nios2/bits/setjmp.h: New file.
33164         * sysdeps/nios2/bsd-_setjmp.S: New file.
33165         * sysdeps/nios2/bsd-setjmp.S: New file.
33166         * sysdeps/nios2/configure: New generated file.
33167         * sysdeps/nios2/configure.ac: New file.
33168         * sysdeps/nios2/crti.S: New file.
33169         * sysdeps/nios2/crtn.S: New file.
33170         * sysdeps/nios2/dl-init.c: New file.
33171         * sysdeps/nios2/dl-machine.h: New file.
33172         * sysdeps/nios2/dl-sysdep.h: New file.
33173         * sysdeps/nios2/dl-tls.h: New file.
33174         * sysdeps/nios2/dl-trampoline.S: New file.
33175         * sysdeps/nios2/gccframe.h: New file.
33176         * sysdeps/nios2/gmp-mparam.h: New file.
33177         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33178         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33179         * sysdeps/nios2/ldsodefs.h: New file.
33180         * sysdeps/nios2/libc-tls.c: New file.
33181         * sysdeps/nios2/libm-test-ulps: New file.
33182         * sysdeps/nios2/machine-gmon.h: New file.
33183         * sysdeps/nios2/math-tests.h: New file.
33184         * sysdeps/nios2/math_private.h: New file.
33185         * sysdeps/nios2/memusage.h: New file.
33186         * sysdeps/nios2/nptl/Makefile: New file.
33187         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33188         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33189         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33190         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33191         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33192         * sysdeps/nios2/nptl/tls.h: New file.
33193         * sysdeps/nios2/preconfigure: New file.
33194         * sysdeps/nios2/s_fma.c: New file.
33195         * sysdeps/nios2/s_fmaf.c: New file.
33196         * sysdeps/nios2/setjmp.S: New file.
33197         * sysdeps/nios2/sfp-machine.h: New file.
33198         * sysdeps/nios2/sotruss-lib.c: New file.
33199         * sysdeps/nios2/stackguard-macros.h: New file.
33200         * sysdeps/nios2/stackinfo.h: New file.
33201         * sysdeps/nios2/start.S: New file.
33202         * sysdeps/nios2/sysdep.h: New file.
33203         * sysdeps/nios2/tls-macros.h: New file.
33204         * sysdeps/nios2/tst-audit.h: New file.
33205         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33206         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33207         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33208         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33209         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33210         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33211         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33212         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33213         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33214         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33215         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33216         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33217         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33218         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33219         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33220         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33221         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33222         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33223         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33224         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33225         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33226         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33227         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33228         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33229         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33230         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33231         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33232         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33233         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33234         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33235         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33236         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33237         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33238         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33239         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33240         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33241         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33242         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33243         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33244         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33245         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33246         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33247         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33248         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33250 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33252         [BZ #17844]
33253         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33254         (getutent): Use weak_alias in non SHARED case
33255         and default_symbol_version in SHARED case.
33256         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33257         (getutent_r, pututline): Likewise.
33258         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33259         (getutid): Likewise.
33260         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33261         (getutid_r): Likewise.
33262         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33263         (getutline): Likewise.
33264         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33265         (getutline_r): Likewise.
33266         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33267         (updwtmp): Likewise.
33269 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33271         [BZ #17848]
33272         * sysdeps/s390/s390-32/memcmp.S
33273         (memcmp_g5): Rename to __memcmp_g5.
33274         * sysdeps/s390/s390-32/memcpy.S
33275         (memcpy_g5): Rename to __memcpy_g5.
33276         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33277         (memcpy_mvcle) Rename to __memcpy_mvcle.
33278         * sysdeps/s390/s390-32/memset.S
33279         (memset_g5): Rename to __memset_g5.
33280         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33281         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33282         and use prefixed functions.
33283         * sysdeps/s390/s390-32/multiarch/memcmp.S
33284         (memcmp_z196): Rename to __memcmp_z196.
33285         (memcmp_z10): Rename to __memcmp_z10.
33286         (memcmp): Set alias to __memcmp_g5.
33287         (bcmp): Set alias to __memcmp_g5.
33288         * sysdeps/s390/s390-32/multiarch/memcpy.S
33289         (memcpy_z196): Rename to __memcpy_z196.
33290         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33291         (memcpy_z10): Rename to __memcpy_z10.
33292         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33293         (memcpy): Set alias to __memcpy_g5.
33294         * sysdeps/s390/s390-32/multiarch/memset.S
33295         (memset_z196): Rename to __memset_z196.
33296         Jump to __memset_mvcle instead of memset_mvcle.
33297         (memset_z10): Rename to __memset_z10.
33298         Jump to __memset_mvcle instead of memset_mvcle.
33299         (memset_mvcle) Rename to __memset_mvcle.
33300         (memset): Set alias to __memset_g5.
33301         * sysdeps/s390/s390-64/memcmp.S
33302         (memcmp_z900): Rename to __memcmp_z900.
33303         * sysdeps/s390/s390-64/memcpy.S
33304         (memcpy_z900): Rename to __memcpy_z900.
33305         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33306         (memcpy_mvcle) Rename to __memcpy_mvcle.
33307         * sysdeps/s390/s390-64/memset.S
33308         (memset_z900): Rename to __memset_z900.
33309         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33310         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33311         and use prefixed functions.
33312         * sysdeps/s390/s390-64/multiarch/memcmp.S
33313         (memcmp_z196): Rename to __memcmp_z196.
33314         (memcmp_z10): Rename to __memcmp_z10.
33315         (memcmp): Set alias to __memcmp_z900.
33316         (bcmp): Set alias to __memcmp_z900.
33317         * sysdeps/s390/s390-64/multiarch/memcpy.S
33318         (memcpy_z196): Rename to __memcpy_z196.
33319         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33320         (memcpy_z10): Rename to __memcpy_z10.
33321         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33322         (memcpy): Set alias to __memcpy_z900.
33323         * sysdeps/s390/s390-64/multiarch/memset.S
33324         (memset_z196): Rename to __memset_z196.
33325         Jump to __memset_mvcle instead of memset_mvcle.
33326         (memset_z10): Rename to __memset_z10.
33327         Jump to __memset_mvcle instead of memset_mvcle.
33328         (memset_mvcle) Rename to __memset_mvcle.
33329         (memset): Set alias to __memset_z900.
33331 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
33333         [BZ #17748]
33334         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33335         __fesetenv instead of fesetenv.
33337 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33339         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33340         macro.
33342 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33344         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33345         regression on LE.
33347         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33348         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33349         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33350         strncmp-power8 object.
33351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33352         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33353         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33354         * NEWS: Update.
33356 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33357             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33359         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33360         trailing byte check.
33362 2015-01-13  David S. Miller  <davem@davemloft.net>
33364         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33366 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33368         * login/logout.c (logout): Use memset rather than bzero.
33369         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33370         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33371         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33372         (_gethtbyaddr): Likewise.
33373         * locale/programs/simple-hash.c (bcopy): Macro removed.
33375 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33377         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33378         Add strcmp-power8 object.
33379         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33380         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33381         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33382         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33383         __strcmp_power8 implementation.
33384         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33385         * NEWS: Update.
33387         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33388         Add strncpy-power8 and stpncpy-power8 objects.
33389         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33390         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33391         implementations.
33392         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33393         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33394         __stpncpy_power8 implementation.
33395         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33396         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33397         __strncpy_power8 implementation.
33398         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33399         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33400         * NEWS: Update.
33402         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33403         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33404         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33406         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33407         strncat-power8 object.
33408         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33409         __strcat_power8 implementation.
33410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33411         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33412         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33413         optimized strcat for power8.
33415         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33416         strcpy-power8 and stpcpy-power8 objects.
33417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33418         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33419         implementations.
33420         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33421         multiarch stpcpy implementation for POWER8.
33422         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33423         multiarch strcpy implementation for POWER8.
33424         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33425         __strcpy_power8 function.
33426         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33427         stpcpy for POWER8.
33428         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33429         strcpy for POWER8.
33430         * NEWS: Update.
33432 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
33434         [BZ #16009]
33435         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33436         weights and rules. Use do_xfrm_cached if data fits in cache,
33437         do_xfrm otherwise.  Moved former main loop to...
33438         * (do_xfrm_cached): New function.
33439         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33440         find_idx, find_position and stack_push.
33441         * (find_idx): New function.
33442         * (find_position): Likewise.
33443         * localedata/sort-test.sh: Added test run for do_xfrm.
33444         * localedata/xfrm-test.c (main): Added command line option
33445         -nocache to run the test with strings that are too large for
33446         the STRXFRM cache.
33448 2015-01-13  Torvald Riegel  <triegel@redhat.com>
33450         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33451         variable to lll_futex_wake call, not the value itself.
33453 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
33455         [BZ #17803]
33456         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33457         twom64.  Adjust value to 0x1p-64L.
33458         (__scalblnl): Only return standard underflowing result for K <=
33459         -64 not K <= -63; adjust exponent for underflowing result by 64
33460         not 63.
33461         * math/libm-test.inc (scalbn_test_data): Add more tests.
33462         (scalbln_test_data): Likewise.
33464         [BZ #17834]
33465         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33466         0x1p63L.
33467         (__scalblnl): Get new exponent of adjusted subnormal value from ES
33468         not HX.
33469         * math/libm-test.inc (scalbn_test_data): Add more tests.
33470         (scalbln_test_data): Likewise.
33472 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33473             Stefani Seibold  <stefani@seibold.net>
33475         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33476         (sysdep_routines): Add dl-vdso here, ...
33477         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33478         (sysdep_routines): ... not here.
33479         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33480         fallback when vDSO is not presented.
33481         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33482         Define with libc_hidden_proto/libc_hidden_data_def definitions.
33483         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33484         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33485         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33486         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33487         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33488         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33489         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33490         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33491         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
33492         fallback configurable symbol when vDSO is not available.
33493         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33494         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
33495         be able to redefine fallback symbol when vDSO is not available.
33496         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33497         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33499 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33501         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33502         (TLS_INIT_TP): Add tm_capable initialization.
33503         (TLS_DEFINE_INIT_TP): Likewise.
33504         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33505         TCB.
33506         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33507         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33508         calculation.
33509         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33510         transactoion is lock elision is built and TCB tm_capable is set.
33511         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33513         (INTERNAL_SYSCALL_NCS): Likewise.
33514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33515         (INTERNAL_SYSCALL_NCS): Likewise.
33516         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33518         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33519         for powerpc.
33520         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33521         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33522         and remove it for 32 bits case.
33523         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33524         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33525         initialization.
33526         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33527         Disable lock elision with rdlocks if elision is not available.
33529         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33530         (sysdep_routines): Add lock elision objects.
33531         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33532         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33533         [pthread_mutex_t] (__elision): Add field.
33534         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33535         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33536         elision definitions for powerpc.
33537         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33538         implementation of lock elision for powerpc.
33539         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33540         implementation of timed lock elision for powerpc.
33541         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33542         implementation of trylock with lock elision for powerpc.
33543         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33544         implementaion of unlock for lock elision for powerpc.
33545         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33546         automatic enable lock elision for mutexes.
33547         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33548         transaction execution definitions for powerpc.
33549         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33550         definitions.
33551         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33552         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33553         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33554         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33555         * NEWS: Update.
33557 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33559         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33560         for #include of <shm-directory.h>.
33562 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33564         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33565         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33567 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33569         [BZ #17791]
33570         * NEWS: Mention bug fix.
33571         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33572         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33573         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33575 2015-01-09  Torvald Riegel <triegel@redhat.com>
33577         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33579 2015-01-09  Torvald Riegel <triegel@redhat.com>
33581         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33583 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33585         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33586         pointer and cast to uintptr_t.
33588 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33590         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33591         removed.
33592         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33594 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33596         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33597         of 0.
33599 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33601         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33602         <nptl/pthreadP.h> instead.
33603         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33605         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33606         already defined.
33607         [__SIGRTMIN] (init): Function removed.
33608         [__SIGRTMIN] (initialized): Variable removed.
33609         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33610         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33611         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33612         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33613         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33614         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33615         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33616         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33617         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33618         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33619         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33620         * sysdeps/nptl/allocrtsig.c: New file.
33621         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33622         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33623         * sysdeps/generic/testrtsig.h: File removed.
33625         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33626         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33628         * nptl/nptl-init.c (pthread_functions): Conditionalize
33629         .ptr__nptl_setxid initialization on [SIGSETXID].
33631         * sysdeps/nptl/sys/procfs.h: New file.
33632         * nptl_db/Makefile (headers): Add it.
33633         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33635         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33636         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33637         * nptl/pthread_attr_setaffinity.c: Include it.
33638         * nptl/pthread_setattr_default_np.c: Likewise.
33639         * nptl/check-cpuset.h: New file.
33641 2015-01-08  Richard Henderson  <rth@redhat.com>
33643         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33644         (CFLAGS-tst-execstack-prog.c): Likewise.
33645         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33647 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33648             Sandra Loosemore  <sandra@codesourcery.com>
33649             Andrew Jenner  <andrew@codesourcery.com>
33650             Joseph Myers  <joseph@codesourcery.com>
33651             Nathan Sidwell  <nathan@codesourcery.com>
33653         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33654         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33655         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33656         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33657         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33658         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33659         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33660         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33661         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33662         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33663         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33664         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33665         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33666         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33667         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33668         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33669         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33671 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33673         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33674         timespec struct member in syscall macro.
33675         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33676         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33677         first timeval struct member in syscall macro.
33678         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33680 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33682         [BZ #17748]
33683         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33684         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33685         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33686         __feupdateenv and define as weak alias of __feupdateenv.  Use
33687         libm_hidden_weak.
33688         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33689         libm_hidden_def.
33690         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33691         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33692         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33693         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33694         libm_hidden_def.
33695         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33696         __feupdateenv and define as weak alias of __feupdateenv.  Use
33697         libm_hidden_weak.
33698         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33699         libm_hidden_def.
33700         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33701         __feupdateenv and define as weak alias of __feupdateenv.  Use
33702         libm_hidden_weak.
33703         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33704         libm_hidden_def.
33705         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33706         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33707         (__feupdateenv): Likewise.
33708         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33709         __feupdateenv and define as weak alias of __feupdateenv.  Use
33710         libm_hidden_weak.
33711         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33712         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33713         libm_hidden_def.
33714         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33715         function.
33716         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33717         libm_hidden_def.
33718         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33719         __feupdateenv instead of feupdateenv.
33720         (default_libc_feupdateenv_test): Likewise.
33721         (libc_feresetround_ctx): Likewise.
33723 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33725         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33726         prototype.
33728 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33730         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33731         COLL_SYM in a couple of places to avoid uninitialized variable
33732         wanings on tilegx gcc 4.8.2.
33734 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33736         * sysdeps/aarch64/strcpy.S: New file.
33737         * sysdeps/aarch64/stpcpy.S: New file.
33738         * NEWS: Updated.
33740 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33742         * sysdeps/aarch64/strrchr.S: New file.
33743         * NEWS: Updated.
33745 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33747         [BZ #17658]
33748         * stdlib/setenv.c: Fix memory leak when setting large,
33749         duplicate string.
33751 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33753         [BZ #17273]
33754         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33755         and tabs from buffer before parsing fstab entry.
33756         * misc/tst-mntent.c (main): Add test for mount entry with
33757         trailing spaces and tabs.
33759 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33761         [BZ #17748]
33762         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33763         * math/fesetround.c (fesetround): Rename to __fesetround and
33764         define as weak alias of __fesetround.  Use libm_hidden_weak.
33765         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33766         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33767         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33768         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33769         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33770         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33771         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33772         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33773         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33774         __fesetround_inline.
33775         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33776         __fesetround_inline instead of __fesetround.
33777         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33778         __fesetround and define as weak alias of __fesetround.  Use
33779         libm_hidden_weak.  Call __fesetround_inline instead of
33780         __fesetround.
33781         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33782         __fesetround and define as weak alias of __fesetround.  Use
33783         libm_hidden_weak.
33784         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33785         Likewise.
33786         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33787         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33788         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33789         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33790         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33791         __fesetround and define as weak alias of __fesetround.  Use
33792         libm_hidden_weak.
33793         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33794         __fesetround instead of fesetround.
33795         (default_libc_feholdexcept_setround): Likewise.
33796         (libc_feholdsetround_ctx): Likewise.
33797         (libc_feholdsetround_noex_ctx): Likewise.
33799         [BZ #17748]
33800         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33801         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33802         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33803         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33804         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33805         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33806         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33807         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33808         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33809         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33810         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33811         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33812         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33813         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33814         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33815         libm_hidden_def.
33816         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33817         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33818         Likewise.
33819         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33820         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33821         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33822         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33823         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33824         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33825         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33826         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33827         __fesetenv instead of fesetenv.
33828         (libc_feresetround_noex_ctx): Likewise.
33829         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33830         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33831         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33832         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33833         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33834         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33835         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33836         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33837         (__feupdateenv): Likewise.
33838         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33839         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33840         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33841         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33843 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33845         [BZ #17806]
33846         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33847         addresses have been freed.
33849 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33851         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33852         and nservall.
33854 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33856         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33857         Clean up check_pf allocation pattern. addresses
33859 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33861         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33862         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33863         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33864         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33865         * nptl/pthread_join.c (pthread_join): Likewise.
33866         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33867         * sysdeps/posix/waitid.c (__waitid): Likewise.
33868         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33869         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33870         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33871         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33872         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33873         Likewise.
33874         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33875         (__libc_pread64): Likewise.
33876         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33877         (__libc_pwrite): Likewise.
33878         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33879         (__libc_pwrite64): Likewsie.
33880         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33881         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33882         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33883         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33884         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33885         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33886         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33888         Likewise.
33889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33890         (__libc_pread64): Likewise.
33891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33892         Likewise.
33893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33894         (__libc_pwrite64): Likewise.
33895         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33896         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33897         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33898         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33899         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33900         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33901         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33902         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33903         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33904         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33905         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33906         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33907         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33908         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33909         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33910         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33911         Likewise.
33913 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33915         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33916         (CFLAGS-test-double.c): Likewise.
33917         (CFLAGS-test-ldouble.c): Likewise.
33918         (CPPFLAGS-test-ifloat.c): Likewise.
33919         (CPPFLAGS-test-idouble.c): Likewise.
33920         (CPPFLAGS-test-ildoubl.c): Likewise.
33921         (CFLAGS-test-test-fenv.c): Remove variable.
33922         (CFLAGS-test-misc.c): Likewise.
33924 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33926         [BZ #17797]
33927         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33928         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33929         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33930         CLOCKS_PER_SEC == 1000000.
33931         * time/clocktest.c (main): Replace %ld with %jd and cast to
33932         intmax_t.
33934 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33936         * sysdeps/generic/unwind-resume.h: New file.
33937         * sysdeps/gnu/unwind-resume.c: Include it.
33938         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33939         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33940         argument list.
33941         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33942         global rather than static.
33943         (_Unwind_Resume): Update user.
33944         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33945         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33946         rather than static.  Add __attribute__ ((cold)).
33947         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33948         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33949         * sysdeps/arm/arm-unwind-resume.S: New file.
33950         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33951         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33952         * sysdeps/arm/Makefile [$(subdir) = csu]
33953         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33954         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33955         Add rt-arm-unwind-resume.
33956         [$(subdir) = nptl]
33957         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33958         Add pt-arm-unwind-resume.
33959         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33960         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33962 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33964         [BZ #17748]
33965         * include/fenv.h (__feholdexcept): Declare.  Use
33966         libm_hidden_proto.
33967         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33968         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33969         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33970         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33971         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33972         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33973         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33974         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33975         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33976         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33977         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33978         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33979         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33980         (feholdexcept): Likewise.
33981         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33982         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33983         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33984         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33985         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33986         __feholdexcept instead of feholdexcept.
33987         (default_libc_feholdexcept_setround): Likewise.
33989 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33991         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33992         to avoid using stl/str to align destination.
33994 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33996         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33998 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34000         [BZ #17796]
34001         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
34002         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
34003         Define as weak alias not strong alias.
34005 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
34007         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
34008         bltzal with addiupc.
34009         (RTLD_START): Ditto.
34011 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
34013         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
34014         for __vdso_* functions in declarations.
34015         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
34016         definitions.
34017         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
34018         INTERNAL_VSYSCALL): Use struct return types to check for error.
34020         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
34021         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
34022         function with cast from llround().
34023         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
34024         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
34025         Define.
34027 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
34029         [BZ #17793]
34030         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
34031         Define as weak alias not strong alias.
34033         [BZ #17635]
34034         * ctype/ctype-c99.c: New file.  isblank implementation moved from
34035         ...
34036         * ctype/ctype-extn.c: ... here.
34037         (__isblank_l): Move to ...
34038         * ctype/ctype-c99_l.c: ... here.  New file.
34039         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
34040         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
34041         Remove variable.
34042         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34043         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34044         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34045         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34046         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34048         [BZ #17777]
34049         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
34050         (posix_fadvise64): Define as weak alias not strong alias.
34051         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34052         (posix_fallocate64): Likewise.
34053         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34054         Remove variable.
34055         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34056         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34057         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34058         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34059         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34061 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34063         [BZ #16191]
34064         * NEWS: Mention bug fix.
34065         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34066         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34067         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34068         (HOST_STACK_END_ADDR): Likewise.
34070 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34072         [BZ #17748]
34073         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34074         * math/fegetround.c (fegetround): Rename to __fegetround and
34075         define as weak alias of __fegetround.  Use libm_hidden_weak.
34076         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34077         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34078         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34079         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34080         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34081         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34082         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34083         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34084         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34085         Undefine after rather than before function definition; use
34086         parentheses around function name in definition.
34087         (__fegetround): Also undefine macro after function definition.
34088         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34089         __fegetround and define as weak alias of __fegetround.  Use
34090         libm_hidden_weak.  Do not undefine as macro.
34091         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34092         Likewise.
34093         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34094         __fegetround and define as weak alias of __fegetround.  Use
34095         libm_hidden_weak.
34096         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34097         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34098         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34099         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34100         __fegetround and define as weak alias of __fegetround.  Use
34101         libm_hidden_weak.
34102         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34103         __fegetround instead of fegetround.
34105         [BZ #17782]
34106         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34107         Condition macro definition on [__USE_MISC].
34109         [BZ #17781]
34110         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34111         (struct sigaction): Change type of sa_flags field to int.
34113         [BZ #17780]
34114         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34115         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34116         __glibc_reserved0.
34118         * nptl/version.c (banner): Use single year in copyright notice.
34120         * NEWS: Update copyright dates.
34121         * catgets/gencat.c (print_version): Likewise.
34122         * csu/version.c (banner): Likewise.
34123         * debug/catchsegv.sh: Likewise.
34124         * debug/pcprofiledump.c (print_version): Likewise.
34125         * debug/xtrace.sh (do_version): Likewise.
34126         * elf/ldconfig.c (print_version): Likewise.
34127         * elf/ldd.bash.in: Likewise.
34128         * elf/pldd.c (print_version): Likewise.
34129         * elf/sotruss.sh: Likewise.
34130         * elf/sprof.c (print_version): Likewise.
34131         * iconv/iconv_prog.c (print_version): Likewise.
34132         * iconv/iconvconfig.c (print_version): Likewise.
34133         * locale/programs/locale.c (print_version): Likewise.
34134         * locale/programs/localedef.c (print_version): Likewise.
34135         * login/programs/pt_chown.c (print_version): Likewise.
34136         * malloc/memusage.sh (do_version): Likewise.
34137         * malloc/memusagestat.c (print_version): Likewise.
34138         * malloc/mtrace.pl: Likewise.
34139         * manual/libc.texinfo: Likewise.
34140         * nptl/version.c (banner): Likewise.
34141         * nscd/nscd.c (print_version): Likewise.
34142         * nss/getent.c (print_version): Likewise.
34143         * nss/makedb.c (print_version): Likewise.
34144         * posix/getconf.c (main): Likewise.
34145         * scripts/test-installation.pl: Likewise.
34146         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34148 2015-01-02  Will Newton  <will.newton@linaro.org>
34150         * sysdeps/arm/armv7/configure: Removed.
34151         * sysdeps/arm/armv7/configure.ac: Likewise.
34153 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34155         * All files with FSF copyright notices: Update copyright dates
34156         using scripts/update-copyrights.
34157         * intl/plural.c: Regenerated.
34158         * locale/programs/charmap-kw.h: Likewise.
34159         * locale/programs/locfile-kw.h: Likewise.
34161 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34163         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34165 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34167         [BZ #17748]
34168         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34169         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34170         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34171         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34172         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34173         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34174         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34175         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34176         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34177         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34178         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34179         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34180         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34181         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34182         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34183         libm_hidden_def.
34184         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34185         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34186         Likewise.
34187         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34188         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34189         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34190         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34191         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34192         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34193         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34194         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34195         __fegetenv instead of fegetenv.
34196         (libc_feholdsetround_noex_ctx): Likewise.
34198 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34200         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34201         (Elf_MIPS_ABIFlags_v0): New structure.
34202         (EF_MIPS_FP64): Define.
34203         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34204         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34205         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34206         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34207         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34208         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34209         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34210         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34211         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34212         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34213         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34214         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34215         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34216         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34217         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34218         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34219         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34220         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34221         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34222         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34223         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34224         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34225         field.
34226         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34227         EF_MIPS_FP64.
34228         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34229         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34230         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34231         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34232         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34233         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34234         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34235         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34236         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34237         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34238         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34239         record the current FP ABI extension.
34240         (mips-mode-switch): Define to show if kernel headers support mode
34241         switching.
34242         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34243         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34244         supported SYSV ABI version to 3.
34245         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34246         feature.
34248 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34249             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34251         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34252         path.
34253         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34255 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34257         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34258         __fegetround and redefine to call __fegetround.  Remove condition
34259         on [!__NO_MATH_INLINES].
34260         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34261         function.
34262         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34263         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34264         Remove macro.
34265         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34266         instead of <fenv_libc.h>.
34267         (__llrintl): Call fegetround instead of __fegetround.
34268         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34269         instead of <fenv_libc.h>.
34270         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34271         (__lrintl): Call fegetround instead of __fegetround.
34272         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34273         instead of <fenv_libc.h>.
34274         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34275         (__rintl): Call fegetround instead of __fegetround.
34277 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34279         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34280         arrays.
34282 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34284         [BZ #17775]
34285         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34286         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34287         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34289 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34291         * sysdeps/i386/tls-macros.h: Include <features.h>.
34292         (TLS_LE): Use non-PIC version for GCC >= 5.0.
34293         (TLS_IE): Likewise.
34294         (TLS_LD): Likewise.
34295         (TLS_GD): Likewise.
34296         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34297         define for GCC >= 5.0.
34299 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
34301         * math/test-fenv.c (test_single_exception, set_single_exc,
34302         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34303         feexcp_mask_test, feenable_test, fe_single_test): Add
34304         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34305         case where they are not used.
34306         * math/libm-test.inc: Likewise.
34307         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34308         unused in the absence of FP rounding/exception support.
34309         * stdio-common/tst-printf-round.c: Likewise.
34310         * stdlib/tst-strtod-round.c: Likewise.
34311         * stdlib/tst-strtod-underflow.c: Likewise.
34313 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
34315         [BZ #17723]
34316         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34317         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34318         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34319         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34320         libm_hidden_weak.
34321         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
34322         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34323         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34324         libm_hidden_def.
34325         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34326         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34327         libm_hidden_weak.
34328         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34329         Likewise.
34330         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34331         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34332         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34333         libm_hidden_weak.
34334         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34335         libm_hidden_def.
34336         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34337         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34338         (__feraiseexcept): Likewise.
34339         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34340         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34341         libm_hidden_weak.
34342         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34343         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34344         libm_hidden_def.
34345         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34346         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34347         Use libm_hidden_def.
34348         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34349         libm_hidden_def.
34350         (feraiseexcept): Define as weak not strong alias.  Use
34351         libm_hidden_weak.
34352         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34353         New inline function.  Factored out of ...
34354         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34355         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34356         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34357         feraiseexcept.
34358         * math/w_acos.c (__acos): Likewise.
34359         * math/w_asin.c (__asin): Likewise.
34360         * math/w_ilogb.c (__ilogb): Likewise.
34361         * math/w_j0.c (y0): Likewise.
34362         * math/w_j1.c (y1): Likewise.
34363         * math/w_jn.c (yn): Likewise.
34364         * math/w_log.c (__log): Likewise.
34365         * math/w_log10.c (__log10): Likewise.
34366         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34367         * sysdeps/aarch64/fpu/math_private.h
34368         (libc_feupdateenv_test_aarch64): Likewise.
34369         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34370         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34371         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34372         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34373         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34374         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34375         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34376         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34377         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34378         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34380 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34382         [BZ #17732]
34383         * io/test-utime.c (main): Replace %ld with %jd and cast to
34384         intmax_t.
34385         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34386         * nptl/tst-mutex5.c: Include <stdint.h>.
34387         (do_test): Replace %ld with %jd and cast to intmax_t.
34388         * posix/tst-regex.c (run_test): Likewise.
34389         (run_test_backwards): Likewise.
34390         * rt/tst-clock.c: Include <stdint.h>.
34391         (clock_test): Replace %ld with %jd and cast to intmax_t.
34392         * rt/tst-cpuclock1.c: Include <stdint.h>.
34393         (do_test): Replace %lu with %ju and cast to uintmax_t.
34394         * rt/tst-cpuclock2.c: Include <stdint.h>.
34395         (do_test): Replace %lu with %ju and cast to uintmax_t.
34396         * rt/tst-mqueue1.c: Include <stdint.h>.
34397         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34398         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34399         intmax_t.
34400         * rt/tst-mqueue4.c (do_test): Likewise.
34401         * rt/tst-timer4.c: Include <stdint.h>.
34402         (check_ts): Replace %ld with %jd and cast to intmax_t.
34403         (do_test): Likewise.
34404         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34405         and cast to intmax_t.
34406         * sysdeps/pthread/tst-timer.c (main): Likewise.
34407         * time/clocktest.c (main): Likewise.
34408         * time/tst-posixtz.c (do_test): Likewise.
34409         * timezone/tst-timezone.c (main): Likewise.
34411 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34412             H.J. Lu  <hongjiu.lu@intel.com>
34414         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34415         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34416         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34417         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34418         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34419         version if bit_Fast_Unaligned_Load is set.
34420         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34421         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34422         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34423         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34424         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34425         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34427         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34428         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34429         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34430         to 4.
34431         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34432         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34433         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34434         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34436 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
34438         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34439         instead of #if to avoid a Wundef warning.
34440         * stdlib/tst-limits.c (do_test): Likewise.
34442         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34443         parallel other exception macros.
34444         (fegetenv): Convert from macro to extern inline so that it applies
34445         retroactively to inline functions already seen by the compiler.
34446         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34448         * posix/Makefile (before-compile): Use $(objpfx) for
34449         posix-conf-vars-def.h.
34451 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34453         * posix/getconf.c (main): Use size_t for type of I.
34454         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34455         NSPEC.
34457         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34458         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34459         * posix/posix-envs.def: Likewise.
34460         * sysdeps/posix/sysconf.c: Likewise.
34461         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34462         (specs): Remove array.
34463         * scripts/gen-posix-conf-vars.awk: Support generation of specs
34464         array.
34466         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34467         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34468         (__sysconf): Use CONF_IS_* macros.
34470         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34471         ($(objpfx)posix-conf-vars-def.h): New target.
34472         * posix/posix-conf-vars.list: New file.
34473         * posix/posix-conf-vars.h: New file.
34474         * posix/confstr.c: Include posix-conf-vars.h.
34475         (confstr): Use CONF_IS_* macros.
34476         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
34477         CONF_IS_* macros.
34478         * scripts/gen-posix-conf-vars.awk: New file.
34480 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
34482         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34483         fegetround): Add no-op macros to avoid linknamespace issues.
34485         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34486         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34488         * sysdeps/unix/sysv/linux/tile/sysdep.h
34489         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34490         assembly-specific section to avoid a redefinition warning.
34492         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34493         long before casting to pointer to avoid a cast warning.
34495 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
34497         * sysdeps/tile/tilegx/Implies: New file.
34499 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
34501         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34503 2014-12-23  Florian Weimer  <fweimer@redhat.com>
34505         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34507 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34509         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34510         not define.
34511         * sysdeps/unix/sysv/linux/utimes.c: Do not include
34512         <kernel-features.h>.
34513         (__utimes) [__NR_utimes]: Make code unconditional.
34514         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34515         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34516         (__ASSUME_UTIMES): Do not undefine.
34517         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34518         (__ASSUME_UTIMES): Likewise.
34519         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34520         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34521         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34522         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34524 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34526         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34528 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34530         [BZ #17747]
34531         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34532         alias to weak alias for j0l, y0l.
34533         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34534         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34536         [BZ #17746]
34537         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34538         conversion.
34540 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34542         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34543         to zero if not already defined.
34545 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34547         [BZ #17724]
34548         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34549         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34550         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34551         (char *) casts added.
34552         * sysdeps/ieee754/k_standardf.c: New file.
34553         * sysdeps/ieee754/k_standardl.c: Likewise.
34554         * math/Makefile (libm-support): Remove k_standard.
34555         (libm-calls): Add k_standard.
34557 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34559         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34560         Optimize to avoid an unnecessary FPCR read.
34562 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34564         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34565         Optimize to reduce FPCR/FPSR accesses.
34567 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34569         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34570         Call libc_fetestexcept_aarch64.
34572 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34574         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34575         Call libc_fesetround_aarch64.
34577 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34579         [BZ #17733]
34580         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34581         (__bind): Do not define as weak alias.
34582         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34583         define.
34584         (__getsockname): Do not define as weak alias.
34586 2014-12-22  Will Newton  <will.newton@linaro.org>
34588         * manual/install.texi: Document that we require bison 2.7
34589         or above.
34590         * INSTALL: Regenerate.
34591         * configure.ac: Use AC_CHECK_PROG_VER instead of
34592         AC_PATH_PROG when checking for bison and check for
34593         version 2.7 or above.
34594         * configure: Regenerate.
34596 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34598         [BZ #17745]
34599         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34600         * sysdeps/tile/ffsll.c (ffsll): To here.
34602         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34604 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34606         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34607         if not defined.
34608         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34609         definition.
34610         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34611         hidden ___tls_get_addr.
34612         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34613         hidden __tls_get_addr.
34614         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34615         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34616         Likewise.
34618 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34620         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34621         _dl_init call.
34623 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34625         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34626         from "call _dl_init@PLT".
34627         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34629 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34631         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34632         guarantees.
34634 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34636         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34638 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34640         [BZ #17744]
34641         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34642         strnlen.
34644 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34646         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34647         of multu on MIPSr6.
34648         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34649         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34650         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34651         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34652         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34654 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34656         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34657         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34658         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34659         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34660         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34661         mips32r6/mips64r6.
34662         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34664 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34666         * string/strncat.c (STRNCAT): Simplify implementation.
34668 2014-12-19  David S. Miller  <davem@davemloft.net>
34670         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34671         access the quad as both a long double and as a series of 4 words.
34673         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34674         link_map->l_info array access.
34676 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34678         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34680         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34681         * math/atest-exp2.c (TIMEOUT): Likewise.
34682         * math/atest-sincos.c (TIMEOUT): Likewise.
34684 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34686         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34687         -Wno-error with -fno-builtin-lround.
34689 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34691         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34692         Contains futex constants and functions moved over from ...
34693         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34694         <lowlevellock-futex.h>.
34695         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34696         (lll_timedwait_tid): Add comments and parentheses around macro
34697         arguments.
34699 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34701         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34702         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34703         (__lll_private_flag): Remove.
34704         (lll_futex_wait): Likewise.
34705         (lll_futex_timed_wait): Likewise.
34706         (lll_futex_wake): Likewise.
34707         (lll_futex_requeue): Likewise.
34708         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34709         (__lll_timedwait_tid): Spell out argument names.
34710         (lll_timedwait_tid): Add comments and parentheses around macro
34711         arguments.
34712         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34713         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34715 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34717         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34718         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34719         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34720         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34721         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34722         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34723         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34724         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34725         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34726         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34727         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34728         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34729         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34730         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34731         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34732         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34733         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34734         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34735         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34737 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34739         * sysdeps/x86_64/x32/Makefile: New file.
34741 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34743         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34744         1L with (mp_limb_t) 1.
34746 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34748         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34749         * nptl/libc_pthread_init.c: ... here.
34750         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34751         * nptl/register-atfork.c: ... here.
34753         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34754         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34755         Use assert_perror to check its return value.
34756         (__gai_create_helper_thread): Likewise.
34758         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34760         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34762 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34764         [BZ #17725]
34765         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34766         __profil_counter.
34767         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34768         Likewise.
34769         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34770         Likewise.
34771         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34772         Likewise.
34773         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34774         (profil_counter): Likewise.
34775         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34776         (profil_counter): Likewise.
34777         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34778         Likewise.
34779         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34780         Likewise.
34781         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34782         (profil_counter): Likewise.
34783         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34784         Likewise.
34785         [!__profil_counter] (profil_counter): Define as weak alias of
34786         __profil_counter.
34787         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34788         (profil_counter): Rename to __profil_counter.
34789         [!__profil_counter] (profil_counter): Define as weak alias of
34790         __profil_counter.
34791         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34792         (profil_counter): Rename to __profil_counter.
34793         [!__profil_counter] (profil_counter): Define as weak alias of
34794         __profil_counter.
34795         * sysdeps/posix/profil.c: Update comment referring to
34796         profil_counter.
34797         (__profil): Use __profil_counter instead of profil_counter.
34798         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34799         __profil_counter.  Use __profil_counter_ushort and
34800         __profil_counter_uint in definitions.
34801         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34802         instead of profil_counter_uint and profil_counter_ushort.
34804         [BZ #17722]
34805         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34806         define as weak alias of __inet_makeaddr.
34807         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34808         as weak alias of __inet_addr.
34809         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34810         as weak alias of __inet_pton.  Use libc_hidden_weak.
34811         * include/arpa/inet.h (__inet_pton): Declare.  Use
34812         libc_hidden_proto.
34813         (inet_makeaddr): Don't use libc_hidden_proto.
34814         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34815         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34816         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34817         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34818         Remove variable.
34819         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34820         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34822 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34824         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34826 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34828         * stdio-common/bug-vfprintf-nargs.c (do_test):
34829         Cast value to intptr_t to avoid format warning
34830         for usage with PRIdPTR printing macro.
34832 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34834         * libio/tst-widetext.c (do_test):
34835         Use format type %td instead of %Zd for ptrdiff_t
34836         in order to avoid format warning.
34838 2014-12-17  Andreas Schwab  <schwab@suse.de>
34840         * nscd/mem.c (gc): Add size_t cast to match printf format.
34842 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34844         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34845         (init): Apply PTR_MANGLE to pointers before storing them.
34846         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34847         before using them.
34849 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34851         [BZ #17719]
34852         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34853         define as weak alias of __memrchr.
34854         (__memrchr): Do not define as strong alias of memrchr.
34855         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34856         Remove variable.
34857         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34858         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34859         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34861         [BZ #17717]
34862         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34863         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34864         (if_indextoname): Rename to __if_indextoname and define as weak
34865         alias of __if_indextoname.  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         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34871         __if_nametoindex and define as weak alias of __if_nametoindex.
34872         Use libc_hidden_weak.
34873         (if_freenameindex): Rename to __if_freenameindex and define as
34874         weak alias of __if_freenameindex.
34875         (if_nameindex): Rename to __if_nameindex and define as weak alias
34876         of __if_nameindex.
34877         (if_indextoname): Rename to __if_indextoname and define as weak
34878         alias of __if_indextoname.  Use libc_hidden_weak.
34879         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34880         __if_nametoindex and define as weak alias of __if_nametoindex.
34881         Use libc_hidden_weak.
34882         (if_freenameindex): Rename to __if_freenameindex and define as
34883         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34884         (if_nameindex_netlink): Use __if_freenameindex instead of
34885         if_freenameindex.
34886         (if_nameindex): Rename to __if_nameindex and define as weak alias
34887         of __if_nameindex.  Use libc_hidden_weak.
34888         (if_indextoname): Rename to __if_indextoname and define as weak
34889         alias of __if_indextoname.  Use libc_hidden_weak.
34890         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34891         libc_hidden_proto.
34892         [!_ISOMAC] (__if_freenameindex): Likewise.
34893         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34894         if_nametoindex.
34895         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34896         variable.
34897         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34898         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34899         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34900         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34901         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34902         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34903         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34905         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34906         Remove variable.
34907         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34908         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34910 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34912         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34913         subscript above bounds'
34915         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34916         bounds.
34918 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34920         * libio/tst-fopenloc.c: Use test-skeleton.c.
34922         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34923         (entry): Rename to ITEM.
34924         (do_test, comp): Adjust.
34926         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34928 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34930         * string/tester.c: Include <libc-internal.h>.
34931         (test_memset): Ignore -Wmemset-transposed-args.
34933 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34935         * misc/tst-mntent2.c (do_test): Fix warning.
34937 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34939         * elf/tst-unique4lib.cc(a): Mark as used.
34941 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34943         [BZ #17630]
34944         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34945         names.
34947 2014-12-16  Allan McRae  <allan@archlinux.org>
34949         * stdio-common/Makefile (tests): Re-add bug26.
34951 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34953         [BZ #17657]
34954         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34955         static array.
34957 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34959         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34960         (__lll_lock_wait): Likewise.
34961         (__lll_timedlock_wait): Likewise.
34962         (__lll_timedwait_tid): Likewise.
34963         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34964         (__lll_robust_timedlock_wait): Likewise.
34965         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34966         (lll_cond_trylock): Likewise.
34967         (__lll_lock): Likewise.
34968         (__lll_robust_lock): Likewise.
34969         (__lll_cond_lock): Likewise.
34970         (lll_robust_cond_lock): Likewise.
34971         (__lll_timedlock): Likewise.
34972         (__lll_robust_timedlock): Likewise.
34973         (__lll_unlock): Likewise.
34974         (__lll_robust_unlock): Likewise.
34975         (lll_wait_tid): Likewise.
34976         (lll_timedwait_tid): Likewise.
34978 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34980         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34982 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34984         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34986 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34988         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34989         * stdio-common/tst-sprintf.c: Likewise.
34991 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34993         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34995 2014-12-15  Jeff Law  <law@redhat.com>
34997         [BZ #16617]
34998         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34999         on the heap.  (CVE-2012-3406)
35000         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
35001         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
35002         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
35004 2014-12-15  Will Newton  <will.newton@linaro.org>
35006         * manual/install.texi: Bump required version of texinfo
35007         to 4.7 from 4.5.
35008         * INSTALL: Regenerated.
35009         * configure.ac: Check for makeinfo version 4.7 and above.
35010         * configure: Regenerated.
35012 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35014         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
35015         PREFIX, string constant to insert between directory and name.
35016         * sysdeps/posix/shm_open.c: Update caller.
35017         * sysdeps/posix/shm_unlink.c: Likewise.
35018         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
35019         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
35020         (SEM_SHM_PREFIX): New macro.
35021         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
35022         [$(have-thread-library) = no].
35023         * nptl/Makefile (libpthread-routines): Add shm-directory.
35024         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
35025         * sysdeps/nptl/shm-directory.h: New file.
35026         * sysdeps/posix/shm-directory.c
35027         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
35028         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
35029         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
35030         INTERNAL_SYSCALL.
35031         (__where_is_shmfs): Function removed.
35032         (mountpoint, defaultmount, defaultdir, __namedsem_once):
35033         Variables removed.
35034         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
35035         Use SHM_GET_NAME.
35036         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
35038         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
35039         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
35040         unconditional for use inside libpthread.
35041         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
35043 2014-12-12  Roland McGrath  <roland@hack.frob.com>
35045         * nptl/pthread_getaffinity.c: New file.
35046         * nptl/pthread_setaffinity.c: New file.
35047         * nptl/pthread_getname.c: New file.
35048         * nptl/pthread_setname.c: New file.
35050         * nptl/pthread_create.c (START_THREAD_DEFN)
35051         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
35053 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35054             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35056         * resolv/res_send.c (send_vc): Disable warning resplen may
35057         be used uninitialized.
35059 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35061         * nptl/tst-mutex6.c
35062         (ATTR_NULL): New define checks ATTR against NULL.
35063         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35064         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35066 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35068         [BZ #17581]
35069         * malloc/hooks.c
35070         (mem2mem_check): Revert my previous change.
35071         (malloc_check_get_size): Revert my previous change.
35072         (mem2chunk_check): Revert my previous change.
35074 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35076         * sysdeps/posix/shm-directory.c: New file.
35077         * sysdeps/posix/shm-directory.h: New file.
35078         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35079         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35080         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35081         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35082         Transmute EPERM to EACCES.
35083         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35084         from ...
35085         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35086         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35088 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35090         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35091         pointer and cast to uintptr_t.
35092         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35093         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35094         Add cast to avoid warning.
35095         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35097 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35099         * nptl/semaphore.h: Move to ...
35100         * sysdeps/pthread/semaphore.h: ... here.
35101         * Makefile (installed-headers): Change nptl/semaphore.h to
35102         sysdeps/pthread/semaphore.h.
35104 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35106         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35107         generated error format strings.
35109         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35110         -Wformat-extra-args warnings for scanf formats.
35111         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35112         test of zero-length format (duh).
35113         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35114         corner-case scanf format test.
35115         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35116         generated fprintf format string.
35117         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35118         corner-case sprintf format tests.
35119         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35120         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35121         -Wformat-extra-args warnings throughout.
35122         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35123         (CFLAGS-scanf4.c): Likewise.
35124         (CFLAGS-scanf7.c): Likewise.
35125         (CFLAGS-tst-sprintf.c): Likewise.
35126         (CFLAGS-tst-printf.c): Likewise.
35127         (CFLAGS-tst-printfsz.c): Likewise.
35129 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35131         * include/cpio.h: New file.
35132         * include/fmtmsg.h: Likewise.
35134         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35135         corresponding format argument to size_t.
35136         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35137         arguments.
35138         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35139         corresponding format argument to size_t.
35140         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35141         arguments.
35142         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35143         corresponding format argument to size_t.
35144         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35145         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35146         (CFLAGS-tst-mbswcs2.c): Likewise.
35147         (CFLAGS-tst-mbswcs3.c): Likewise.
35148         (CFLAGS-tst-mbswcs4.c): Likewise.
35149         (CFLAGS-tst-mbswcs5.c): Likewise.
35150         (CFLAGS-tst-trans.c): Likewise.
35152 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35154         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35155         rather than assuming they won't contain any '%'s.
35157 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35159         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35160         inhibit_loop_to_libcall to avoid recursive calls.
35161         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35162         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35164 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35166         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35167         prototype.
35169 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35171         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35172         integer value instead of boolean.
35174 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35176         * malloc/malloc.c: Fix powerof2 check.
35178 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35180         * locale/programs/locfile.h (maybe_swap_uint32):
35181         Remove inline and add unused attribute.
35183 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35185         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35186         Truncating assembler expression to a .long expression.
35188 2014-12-11  Andreas Schwab  <schwab@suse.de>
35190         * elf/rtld.c (struct map_args): Constify str member.
35191         (do_preload): Constify fname argument.
35193 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35195         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35196         constants definition.
35198 2014-12-11  Andreas Schwab  <schwab@suse.de>
35200         [BZ #16657]
35201         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35202         FORCE_ELISION instead of DO_ELISION.
35203         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35204         Remove.
35205         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35206         Likewise.
35208         * iconvdata/gconv-modules: Remove duplicate entry.
35210 2014-12-11  Will Newton  <will.newton@linaro.org>
35212         Merge gettext 0.19.3 into intl/.
35214         This involves a number of cosmetic changes to comments
35215         and ANSI function definitions and prototypes throughout
35216         all the files. The gettext copyright header is used but
35217         with the date ranges taken from the glibc copy.
35219         * NEWS: Add gettext merge to 2.21.
35220         * intl/bindtextdom.c: Switch to gettext copyright.
35221         Use ANSI definitions and prototypes.
35222         Use gl_* locking primitives rather than __libc_* ones.
35223         Use __builtin_expect rather than __glibc_likely/unlikely.
35224         * intl/dcgettext.c: Switch to gettext copyright.
35225         Use ANSI definitions and prototypes.
35226         * intl/dcigettext.c: Switch to gettext copyright.
35227         Use ANSI definitions and prototypes.
35228         (INTDIV0_RAISES_SIGFPE): New define.
35229         Use gl_* locking primitives rather than __libc_* ones.
35230         Include eval-plural.h instead of plural-eval.c.
35231         Use __builtin_expect rather than __glibc_likely/unlikely.
35232         * intl/dcngettext.c: Switch to gettext copyright.
35233         Use ANSI definitions and prototypes.
35234         * intl/dgettext.c: Likewise.
35235         * intl/dngettext.c: Likewise.
35236         * intl/plural-eval.c: Renamed to...
35237         * intl/eval-plural.h: ...this.
35238         * intl/explodename.c: Switch to gettext copyright.
35239         Use ANSI definitions and prototypes.
35240         (_nl_explode_name): Use strchr instead of __rawmemchr.
35241         * intl/finddomain.c: Switch to gettext copyright.
35242         Use ANSI definitions and prototypes.
35243         Use gl_* locking primitives rather than __libc_* ones.
35244         (_nl_find_domain): Use malloc rather than alloca for
35245         allocation of temporary locale name.
35246         * intl/gettext.c: Switch to gettext copyright.
35247         Use ANSI definitions and prototypes.
35248         * intl/gettextP.h: Switch to gettext copyright.
35249         Use ANSI definitions and prototypes.
35250         Use gl_* locking primitives rather than __libc_* ones.
35251         * intl/gmo.h: Switch to gettext copyright.
35252         (struct sysdep_string): Move struct segment_pair outside of
35253         struct definition.
35254         * intl/hash-string.c: Use ANSI definitions and prototypes.
35255         * intl/hash-string.h: Switch to gettext copyright.
35256         Use ANSI definitions and prototypes.
35257         * intl/l10nflist.c: Switch to gettext copyright.
35258         Use ANSI definitions and prototypes.
35259         (_nl_normalize_codeset): Avoid integer overflow.
35260         * intl/loadinfo.h: Switch to gettext copyright.
35261         Use ANSI definitions and prototypes.
35262         (LIBINTL_DLL_EXPORTED): New define.
35263         (PATH_SEPARATOR): New define.
35264         * intl/loadmsgcat.c: Switch to gettext copyright.
35265         * intl/localealias.c: Switch to gettext copyright.
35266         Use ANSI definitions and prototypes.
35267         (_nl_expand_alias): Use PATH_SEPARATOR.
35268         * intl/ngettext.c: Switch to gettext copyright.
35269         Use ANSI definitions and prototypes.
35270         * intl/plural-exp.c: Likewise.
35271         * intl/plural-exp.h: Switch to gettext copyright.
35272         Use ANSI definitions and prototypes.
35273         (struct expression): Move definition of enum operator outside
35274         of struct definition.
35275         * intl/plural.c: Regenerate.
35276         * intl/plural.y: Switch to gettext copyright.
35277         Use ANSI definitions and prototypes.
35278         Port to bison 3.0.
35279         * intl/textdomain.c: Switch to gettext copyright.
35280         Use ANSI definitions and prototypes.
35281         Use gl_* locking primitives rather than __libc_* ones.
35283 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
35285         * debug/warning-nop.c: Add used atrribute.
35287 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35289         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35291         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35292         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35293         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35295 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35296             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35298         [BZ #17634]
35299         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35300         Undefine after defining function.  Define as weak alias of
35301         __wcschr.  Use libc_hidden_weak.
35302         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
35303         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35304         (libc_hidden_def): Also define __GI___wcschr alias.
35305         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35306         __wcschr and define as weak alias of __wcschr.
35307         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35308         __wcschr.
35309         [!WCSCHR] (DEFAULT_WCSCHR): Define.
35310         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35311         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
35312         libc_hidden_weak.  Do not use libc_hidden_def.
35313         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35314         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35315         __GI___wcschr alias.
35316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35317         [IS_IN (libc)] (wcschr): Define as macro expanding to
35318         __redirect_wcschr.
35319         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35320         [IS_IN (libc)] (__wcschr_power6): Likewise.
35321         [IS_IN (libc)] (__wcschr_power7): Likewise.
35322         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
35323         instead of wcschr.
35324         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35325         __libc_wcschr.
35326         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35327         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35328         __wcschr and define as weak alias of __wcschr.  Use
35329         libc_hidden_builtin_def.
35330         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35331         as weak alias of __wcschr.  Use libc_hidden_weak.
35332         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35333         wcschr.
35334         * time/era.c (_nl_init_era_entries): Likewise.
35335         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35336         variable.
35337         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35338         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35340 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35342         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35343         format for long int variable.
35345 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35347         [BZ #10672]
35348         * manual/search.texi: (Array Sort Function): Remove claim how to make
35349         qsort stable.
35351 2014-12-10  Andreas Schwab  <schwab@suse.de>
35353         [BZ #12847]
35354         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35355         user-controlled locks.
35357 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35359         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35360         register.
35362 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35364         * configure.ac (--disable-werror): New configure option.
35365         (enable_werror): New AC_SUBST.
35366         * configure: Regenerated.
35367         * config.make.in (enable-werror): New variable.
35368         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35369         -Wno-error=undef.
35370         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35371         * manual/install.texi (Configuring and compiling): Document
35372         --disable-werror.
35373         * INSTALL: Regenerated.
35374         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35375         (CFLAGS-tst-chk2.c): Likewise.
35376         (CFLAGS-tst-chk3.c): Likewise.
35377         (CFLAGS-tst-chk4.cc): Likewise.
35378         (CFLAGS-tst-chk5.cc): Likewise.
35379         (CFLAGS-tst-chk6.cc): Likewise.
35380         (CFLAGS-tst-lfschk1.c): Likewise.
35381         (CFLAGS-tst-lfschk2.c): Likewise.
35382         (CFLAGS-tst-lfschk3.c): Likewise.
35383         (CFLAGS-tst-lfschk4.cc): Likewise.
35384         (CFLAGS-tst-lfschk5.cc): Likewise.
35385         (CFLAGS-tst-lfschk6.cc): Likewise.
35387         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35388         (main): Disable -Wdeprecated-declarations around calls to
35389         register_printf_function.
35391         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35392         (do_test): Disable -Wdiv-by-zero around some calls to
35393         fwrite_unlocked and fread_unlocked.
35395         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35396         (DIAG_POP_NEEDS_COMMENT): Likewise.
35397         (_DIAG_STR1): Likewise.
35398         (_DIAG_STR): Likewise.
35399         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35400         * stdio-common/bug21.c: Include <libc-internal.h>.
35401         (do_test): Disable -Wformat around call to sscanf.
35402         * stdio-common/scanf14.c: Include <libc-internal.h>.
35403         (main): Disable -Wformat around some calls to scanf functions.
35405 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35407         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35409 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35411         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35412         stack variable alignment.
35414 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35416         [BZ #17682]
35417         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35418         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35419         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35420         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35421         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35422         __getrlimit instead of getrlimit.
35423         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35424         __gettimeofday instead of gettimeofday.
35425         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35426         Likewise.
35427         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35428         Likewise.
35429         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35430         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35431         Remove variable.
35432         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35433         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35435 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35437         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35438         for wide-character tests.
35440 2014-12-04  Roland McGrath  <roland@hack.frob.com>
35442         * io/openat64.c: #include <libc-internal.h>
35443         (__openat64): Prototypify.  Use ignore_value on MODE.
35444         * io/openat.c: Likewise.
35445         * misc/reboot.c: #include <libc-internal.h>
35446         (reboot): Prototypify.  Use ignore_value on HOWTO.
35447         * misc/ptrace.c: #include <libc-internal.h>
35448         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
35450 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
35452         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35453         XPG4, UNIX98 and XOPEN2K.
35454         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35455         Remove variable.
35456         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35458 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35460         * libio/fileops.c: Use ISO C style for function definitions.
35461         * libio/iofopen.c: Likewise.
35462         * libio/wfileops.c: Likewise.
35464         [BZ #17653]
35465         * libio/fileops.c (_IO_new_file_underflow): Unset cached
35466         offset on EOF.
35467         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35468         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35469         (fgets_func): Function pointer to fgets and fgetws.
35470         (do_ftell_test): Add test to verify ftell value after read
35471         EOF.
35472         (do_test): Set fgets_func.
35474         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35475         O_TRUNC flag for w and w+ modes.
35476         (do_rewind_test): Likewise.
35477         (do_ftell_test): Likewise.
35478         (do_write_test): Likewise.
35480         [BZ #17647]
35481         * libio/fileops.c (do_ftell): Seek only when there are
35482         unflushed writes.
35483         * libio/wfileops.c (do_ftell_wide): Likewise.
35484         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35485         test case.
35486         (do_one_test): Call it.
35488 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
35490         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35491         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35492         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35493         Remove variable.
35494         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35495         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35496         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35498 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35500         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35501         Remove variable.
35502         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35504         [BZ #17668]
35505         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35506         as weak alias of __getifaddrs.  Use libc_hidden_weak.
35507         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35508         __freeifaddrs.  Use libc_hidden_weak.
35509         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35510         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
35511         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35512         __freeifaddrs.  Use libc_hidden_weak.
35513         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35514         __getifaddrs and define as weak alias of __getifaddrs.  Use
35515         libc_hidden_weak.
35516         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35517         __freeifaddrs.  Use libc_hidden_weak.
35518         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35519         Remove variable.
35520         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35521         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35523 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35525         [BZ #17601]
35526         * sysdeps/mips/start.S (__start): Use indirect jump to call
35527         __libc_start_main.
35529 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35531         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35533         * nptl/tst-mutex1.c: Include <stdbool.h>.
35534         [!ATTR] (ATTR_NULL): New macro.
35535         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35536         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35537         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35539         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35540         to char *.
35542         [BZ #17665]
35543         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35544         Change conditional to [__USE_MISC].
35546         [BZ #17664]
35547         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35548         fgets_unlocked.
35549         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35550         __fgets_unlocked.
35551         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35552         fgets_unlocked.
35553         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35554         Remove variable.
35555         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35556         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35557         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35558         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35559         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35560         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35561         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35562         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35563         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35565         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35567 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35569         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35570         Remove strpbrk objects.
35571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35572         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35573         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35574         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35575         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35576         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35578         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35579         Remove strcspn objects.
35580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35581         (__libc_ifunc_impl_list): Remove strcspn implementation.
35582         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35583         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35584         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35585         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35587         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35588         Remove strspn objetcs.
35589         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35590         (__libc_ifunc_impl_list): Remove strspn implementation.
35591         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35592         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35593         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35594         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35596 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35598         [BZ #17581]
35599         * malloc/hooks.c
35600         (mem2mem_check): Add a terminator to the chain of checking blocks.
35601         (malloc_check_get_size): Use it here.
35602         (mem2chunk_check): Ditto.
35604 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35606         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35607         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35609 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35611         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35613         * nptl/nptl-init.c: Include libc-internal.h.
35614         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35616         * elf/ldconfig.c (search_dir): Expand comment.
35618 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35620         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35621         variable.
35622         (linknamespace-symlist-stdlibs-tests): Likewise.
35623         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35624         instead of $(objpfx)symlist-stdlibs.
35625         (linknamespace-libs-isoc): New variable.
35626         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35627         (linknamespace-libs-ISO): New variable.
35628         (linknamespace-libs-ISO99): Likewise.
35629         (linknamespace-libs-ISO11): Likewise.
35630         (linknamespace-libs-XPG3): Likewise.
35631         (linknamespace-libs-XPG4): Likewise.
35632         (linknamespace-libs-POSIX): Likewise.
35633         (linknamespace-libs-UNIX98): Likewise.
35634         (linknamespace-libs-XOPEN2K): Likewise.
35635         (linknamespace-libs-POSIX2008): Likewise.
35636         (linknamespace-libs-XOPEN2K8): Likewise.
35637         ($(objpfx)symlist-stdlibs): Replace by
35638         $(linknamespace-symlist-stdlibs-tests).  Use
35639         $(linknamespace-libs-$*) as set of libraries.
35640         ($(linknamespace-header-tests)): Update dependencies.  Use
35641         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35642         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35643         * conform/linknamespace.pl: Remove comment about considering
35644         definitions of symbols from irrelevant libraries.
35646 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35648         [BZ #13862]
35649         * elf/dl-tls.c: Include <atomic.h>.
35650         (oom): Remove #ifdef SHARED/#endif.
35651         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35652         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35653         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35654         big enough.
35655         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35656         * nptl/Makefile (tests): Add tst-stack4.
35657         (modules-names): Add tst-stack4mod.
35658         ($(objpfx)tst-stack4): New.
35659         (tst-stack4mod.sos): Likewise.
35660         ($(objpfx)tst-stack4.out): Likewise.
35661         ($(tst-stack4mod.sos)): Likewise.
35662         (clean): Likewise.
35663         * nptl/tst-stack4.c: New file.
35664         * nptl/tst-stack4mod.c: Likewise.
35666 2014-11-27  J. Brown  <jb999@gmx.de>
35668         * sysdeps/x86/bits/string.h: Add recent CPUs.
35670 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35672         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35673         sigblock.
35675         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35676         feof.
35678         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35679         variable.
35681 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35683         * nscd/connections.c: Include libc-internal.h because of macro
35684         usage ignore_value.
35686 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35688         * string/bits/string3.h (__warn_memset_zero_len): Don't
35689         declare for gcc newer than 5.0.
35690         (memset): Don't test for zero-length __LEN for gcc newer than
35691         5.0.
35693 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35695         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35696         size_t for %zu format.
35698         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35699         difference, not %ju.
35701 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35703         * include/libc-internal.h (ignore_value): New macro.
35704         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35705         with ignore_value.
35707         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35708         definition.
35710         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35711         pthread_cleanup_push to void *.
35713         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35714         Undefine.
35716         [BZ #16619]
35717         [BZ #16740]
35718         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35719         instead of 1L << 52.
35721         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35722         * libio/bug-rewind2.c (do_test): Likewise.
35724         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35725         * debug/test-strcpy_chk-ifunc.c: Likewise.
35726         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35727         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35728         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35729         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35730         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35731         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35732         * Rules [$(multi-arch) = no] (tests): Do not filter out
35733         $(tests-ifunc).
35734         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35735         * debug/Makefile (tests-ifunc): Remove variable.
35736         (tests): Do not add $(tests-ifunc).
35737         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35738         (tests): Do not add $(tests-ifunc).
35739         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35740         [TEST_IFUNC]: Remove conditionals.
35741         * string/test-string.h (TEST_IFUNC): Remove macro.
35742         [TEST_IFUNC]: Remove conditionals.
35744         * string/test-strchr.c [!WIDE] (L): New macro.
35745         [WIDE] (L): Likewise.
35746         (check1): Use CHAR instead of char.  Use L on string and character
35747         constants.
35749 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35751         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35752         tests.
35753         * sysdeps/powerpc/bits/atomic.h
35754         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35755         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35756         (atomic_exchange_and_add_acq): Likewise.
35757         (atomic_exchange_and_add_rel): Likewise.
35758         * sysdeps/powerpc/powerpc32/bits/atomic.h
35759         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35760         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35761         * sysdeps/powerpc/powerpc64/bits/atomic.h
35762         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35763         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35765 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35767         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35768         Change synchronization of __sched_fifo_min_prio and
35769         __sched_fifo_max_prio.
35770         * nptl/pthread_mutexattr_getprioceiling.c
35771         (pthread_mutexattr_getprioceiling): Likewise.
35772         * nptl/pthread_mutexattr_setprioceiling.c
35773         (pthread_mutexattr_setprioceiling): Likewise.
35774         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35775         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35776         Likewise.
35778 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35780         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35781         void.
35783 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35785         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35786         third argument const.
35788 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35790         fnmatch: work around GCC compiler warning bug with uninit var
35791         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35792         This works around a bug with x86-64 GCC 4.9.2 and earlier
35793         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35794         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35795         used uninitialized in this function [-Wmaybe-uninitialized]".
35797 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35799         * posix/bug-regex31.c (main): Return RES not 0.
35801 2014-11-25  Anton Blanchard <anton@samba.org>
35803         * sysdeps/powerpc/bits/atomic.h
35804         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35806 2014-11-24  Sterling Augustine  <saugustine@google.com>
35808         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35810 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35812         [BZ #17608]
35813         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35815 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35817         [BZ #17633]
35818         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35819         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35820         variable.
35821         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35822         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35824 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35826         * string/strncpy.c (strncpy): Improve performance by using memset.
35828 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35830         * string/strcpy.c (strcpy):
35831         Improve performance by using strlen and memcpy.
35833 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35835         * string/strcoll_l.c (get_next_seq): __always_inline.
35836         * string/strcoll_l.c (do_compare): __always_inline.
35838 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35840         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35841         defined.
35842         * include/mqueue.h: Likewise.
35843         * include/stdlib.h: Likewise.
35845         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35846         (get_null_defines): Adjust.
35847         * sunrpc/Makefile: Adjust comment.
35848         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35849         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35850         (CFLAGS-interp.c): Likewise.
35851         (CFLAGS-ldconfig.c): Likewise.
35852         (CPPFLAGS-.os): Likewise.
35853         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35854         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35855         * extra-modules.mk (extra-modules.mk): Likewise.
35856         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35857         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35858         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35859         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35860         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35861         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35862         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35863         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35864         * iconvdata/Makefile (CPPFLAGS): Likewise.
35865         (cpp-srcs-left): Add libof for all iconvdata routines.
35866         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35867         * include/assert.h: Likewise.
35868         * include/ctype.h: Likewise.
35869         * include/errno.h: Likewise.
35870         * include/libc-symbols.h: Likewise.
35871         * include/math.h: Likewise.
35872         * include/netdb.h: Likewise.
35873         * include/resolv.h: Likewise.
35874         * include/stdio.h: Likewise.
35875         * include/stdlib.h: Likewise.
35876         * include/string.h: Likewise.
35877         * include/sys/stat.h: Likewise.
35878         * include/wctype.h: Likewise.
35879         * intl/l10nflist.c: Likewise.
35880         * libidn/idn-stub.c: Likewise.
35881         * libio/libioP.h: Likewise.
35882         * nptl/libc_multiple_threads.c: Likewise.
35883         * nptl/pthreadP.h: Likewise.
35884         * posix/regex_internal.h: Likewise.
35885         * resolv/res_hconf.c: Likewise.
35886         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35887         * sysdeps/arm/memmove.S: Likewise.
35888         * sysdeps/arm/sysdep.h: Likewise.
35889         * sysdeps/generic/_itoa.h: Likewise.
35890         * sysdeps/generic/symbol-hacks.h: Likewise.
35891         * sysdeps/gnu/errlist.awk: Likewise.
35892         * sysdeps/gnu/errlist.c: Likewise.
35893         * sysdeps/i386/i586/memcpy.S: Likewise.
35894         * sysdeps/i386/i586/memset.S: Likewise.
35895         * sysdeps/i386/i686/memcpy.S: Likewise.
35896         * sysdeps/i386/i686/memmove.S: Likewise.
35897         * sysdeps/i386/i686/mempcpy.S: Likewise.
35898         * sysdeps/i386/i686/memset.S: Likewise.
35899         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35900         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35901         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35902         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35903         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35904         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35905         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35906         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35907         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35908         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35909         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35910         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35911         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35912         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35913         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35914         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35915         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35916         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35917         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35918         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35919         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35920         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35921         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35922         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35923         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35924         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35925         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35926         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35927         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35928         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35929         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35930         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35931         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35932         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35933         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35934         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35935         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35936         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35937         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35938         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35939         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35940         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35941         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35942         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35943         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35944         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35945         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35946         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35947         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35948         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35949         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35950         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35951         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35952         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35953         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35954         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35955         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35956         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35957         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35958         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35959         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35960         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35961         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35962         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35963         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35964         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35965         * sysdeps/posix/closedir.c: Likewise.
35966         * sysdeps/posix/opendir.c: Likewise.
35967         * sysdeps/posix/readdir.c: Likewise.
35968         * sysdeps/posix/rewinddir.c: Likewise.
35969         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35970         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35971         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35972         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35973         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35974         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35975         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35976         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35977         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35978         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35979         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35980         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35981         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35982         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35983         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35984         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35985         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35986         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35987         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35988         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35989         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35990         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35991         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35992         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35993         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35994         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35995         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35996         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35997         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35998         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
36000         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
36001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
36002         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
36003         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
36004         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
36005         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
36006         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
36007         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
36008         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
36009         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
36010         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
36011         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
36012         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
36013         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
36014         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
36015         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
36016         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
36017         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
36018         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
36019         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
36020         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
36021         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
36022         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
36023         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
36024         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
36025         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
36026         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
36027         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
36028         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
36029         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
36030         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
36031         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
36032         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
36033         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
36034         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
36035         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
36036         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
36037         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
36038         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
36039         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
36040         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
36041         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
36042         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
36043         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
36044         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
36045         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
36046         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
36047         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
36048         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
36049         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
36050         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
36051         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
36052         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
36053         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36055         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36056         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36057         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36058         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36059         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36060         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36061         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36062         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36063         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36064         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36065         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36066         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36067         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36068         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36069         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36070         * sysdeps/unix/alpha/sysdep.S: Likewise.
36071         * sysdeps/unix/alpha/sysdep.h: Likewise.
36072         * sysdeps/unix/make-syscalls.sh: Likewise.
36073         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36074         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36075         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36076         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36077         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36078         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36079         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36080         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36081         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36082         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36083         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36084         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36085         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36086         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36087         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36088         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36089         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36090         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36091         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36092         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36093         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36094         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36095         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36096         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36097         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36098         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36099         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36102         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36103         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36104         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36105         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36106         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36107         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36108         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36109         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36110         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36111         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36112         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36113         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36114         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36115         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36116         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36117         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36118         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36119         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36120         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36121         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36122         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36123         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36124         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36125         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36126         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36127         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36128         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36129         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36130         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36131         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36132         * sysdeps/x86_64/memcpy.S: Likewise.
36133         * sysdeps/x86_64/memmove.c: Likewise.
36134         * sysdeps/x86_64/memset.S: Likewise.
36135         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36136         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36137         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36138         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36139         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36140         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36141         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36142         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36143         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36144         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36145         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36146         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36147         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36148         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36149         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36150         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36151         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36152         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36153         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36154         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36155         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36156         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36157         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36158         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36159         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36160         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36161         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36162         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36163         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36164         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36165         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36166         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36167         * sysdeps/x86_64/strcmp.S: Likewise.
36169         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36171         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36172         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36173         * elf/rtld-Rules: Likewise.
36174         * elf/setup-vdso.h: Likewise.
36175         * include/assert.h: Likewise.
36176         * include/bits/stdlib-float.h: Likewise.
36177         * include/errno.h: Likewise.
36178         * include/sys/stat.h: Likewise.
36179         * include/unistd.h: Likewise.
36180         * sysdeps/aarch64/setjmp.S: Likewise.
36181         * sysdeps/alpha/setjmp.S: Likewise.
36182         * sysdeps/arm/__longjmp.S: Likewise.
36183         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36184         * sysdeps/arm/setjmp.S: Likewise.
36185         * sysdeps/arm/sysdep.h: Likewise.
36186         * sysdeps/generic/_itoa.h: Likewise.
36187         * sysdeps/generic/dl-sysdep.h: Likewise.
36188         * sysdeps/generic/ldsodefs.h: Likewise.
36189         * sysdeps/i386/dl-tls.h: Likewise.
36190         * sysdeps/i386/setjmp.S: Likewise.
36191         * sysdeps/m68k/setjmp.c: Likewise.
36192         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36193         * sysdeps/mach/hurd/opendir.c: Likewise.
36194         * sysdeps/posix/getcwd.c: Likewise.
36195         * sysdeps/posix/opendir.c: Likewise.
36196         * sysdeps/posix/profil.c: Likewise.
36197         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36198         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36199         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36200         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36201         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36202         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36203         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36204         * sysdeps/s390/dl-tls.h: Likewise.
36205         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36206         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36207         * sysdeps/sh/sh3/setjmp.S: Likewise.
36208         * sysdeps/sh/sh4/setjmp.S: Likewise.
36209         * sysdeps/unix/alpha/sysdep.h: Likewise.
36210         * sysdeps/unix/arm/sysdep.S: Likewise.
36211         * sysdeps/unix/i386/sysdep.S: Likewise.
36212         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36213         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36214         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36215         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36216         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36217         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36218         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36219         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36220         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36221         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36222         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36223         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36224         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36227         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36228         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36229         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36230         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36231         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36232         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36233         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36234         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36235         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36236         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36237         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36239         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36240         * sysdeps/x86_64/setjmp.S: Likewise.
36242         * include/math.h: Use IS_IN instead of IS_IN_libm.
36243         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36244         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36245         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36246         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36247         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36248         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36249         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36250         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36251         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36252         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36253         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36254         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36255         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36256         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36257         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36258         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36259         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36260         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36261         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36262         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36263         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36264         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36265         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36266         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36267         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36268         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36269         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36270         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36271         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36272         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36273         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36274         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36275         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36277         Likewise.
36278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36279         Likewise.
36280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36281         Likewise.
36282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36283         Likewise.
36284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36285         Likewise.
36286         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36287         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36288         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36289         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36290         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36291         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36297         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36298         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36299         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36300         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36301         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36302         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36303         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36304         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36305         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36306         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36307         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36308         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36309         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36310         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36312         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36314         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36315         * nptl/pthreadP.h: Likewise.
36316         * nptl_db/structs.def: Likewise.
36317         * sysdeps/arm/sysdep.h: Likewise.
36318         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36319         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36320         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36321         * sysdeps/unix/alpha/sysdep.h: Likewise.
36322         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36323         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36324         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36325         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36326         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36327         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36328         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36329         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36330         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36331         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36332         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36333         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36334         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36335         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36338         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36339         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36340         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36341         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36342         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36343         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36344         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36345         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36346         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36347         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36349         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36350         * nptl/pthreadP.h: Likewise.
36351         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36352         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36353         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36354         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36355         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36356         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36357         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36358         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36359         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36360         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36361         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36362         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36364         Likewise.
36365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36366         Likewise.
36367         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36368         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36369         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36370         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36371         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36372         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36373         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36374         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36376         * dlfcn/dladdr.c: Use IS_IN.
36377         * dlfcn/dladdr1.c: Likewise.
36378         * dlfcn/dlclose.c: Likewise.
36379         * dlfcn/dlerror.c: Likewise.
36380         * dlfcn/dlinfo.c: Likewise.
36381         * dlfcn/dlmopen.c: Likewise.
36382         * dlfcn/dlopen.c: Likewise.
36383         * dlfcn/dlsym.c: Likewise.
36384         * dlfcn/dlvsym.c: Likewise.
36386         * include/ifaddrs.h: Use IS_IN.
36387         * inet/check_pf.c: Likewise.
36388         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36389         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36391         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36392         IS_IN_ldconfig.
36393         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36394         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36396         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36397         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36398         IS_IN (libc).
36400         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36402         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36403         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36404         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36405         * include/libc-symbols.h (IS_IN_LIB): New macro.
36406         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36407         * include/netdb.h: Likewise.
36408         * include/stap-probe.h: Remove all uses of IN_LIB.
36410         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36411         instead of IN_MODULE.
36412         * include/libc-symbols.h (IN_MODULE): Define using
36413         MODULE_NAME.
36414         (PASTE_NAME, PASTE_NAME1): New macros.
36415         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36416         of IN_LIB.
36417         (STAP_PROBE_ASM): Likewise.
36419 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36421         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36422         __mach_init in dlopened libc.
36424 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
36426         * sysdeps/arm/preconfigure.ac: Delete EABI check.
36427         * sysdeps/arm/preconfigure: Regenerate.
36429 2014-11-21  Roland McGrath  <roland@hack.frob.com>
36431         * nptl/pthread_create.c (__pthread_create_2_1): Set
36432         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36433         when copying values from IATTR into PD.
36435 2014-11-21  Will Newton  <will.newton@linaro.org>
36436             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
36438         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36439         Refactor inline-asm.  Also add comment.
36441         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36442         ElfW macro instead of hardcoded Elf64 types.
36443         (la_aarch64_gnu_pltenter): Likewise.
36444         * sysdeps/aarch64/dl-machine.h
36445         (elf_machine_runtime_setup): Use ElfW(Addr).
36447         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36448         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36449         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36450         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36451         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36452         (R_AARCH64_TLS_DTPMOD64): Rename to ..
36453         (R_AARCH64_TLS_DTPMOD): This.
36454         (R_AARCH64_TLS_DTPREL64): Rename to ...
36455         (R_AARCH64_TLS_DTPREL): This.
36456         (R_AARCH64_TLS_TPREL64): Rename to ...
36457         (R_AARCH64_TLS_TPREL): This.
36458         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36459         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36460         R_AARCH64_TLS_TPREL64.
36461         (elf_machine_rela): Likewise.
36463 2014-11-21  Torvald Riegel  <triegel@redhat.com>
36465         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36466         by setting it to 0.  64b atomics are not supported currently.
36468 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36470         [BZ #16469]
36471         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36472         search domain names.
36474 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36476         [BZ #16469]
36477         * NEWS: Update.
36478         * resolv/res_query.c (__libc_res_nquerydomain): Retain
36479         trailing dot.
36480         * posix/tst-getaddrinfo5.c: New.
36481         * posix/Makefile (tests): Add it.
36483 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36485         [BZ #14498]
36486         * NEWS: Fixed.
36487         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36488         after parsing line but before break_if_match.
36489         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36490         if there is a protocol mismatch.
36492 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36494         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36495         because the potential race is on the user-supplied stream.
36497 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36499         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36500         string literal if not passed a buffer.
36501         * manual/job.texi (ctermid): Update reasoning, note deviation
36502         from posix, suggest mtasurace when not passed a buffer, for
36503         future non-preliminary safety notes.
36505 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36507         * manual/users.texi (cuserid): Fix MT-Safety note for the case
36508         of not passing it a buffer.
36509         Reported by Peng Haitao.
36511 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36513         * manual/Makefile ($(objpfx)stamp-summary): Require
36514         check-safety.sh to pass.
36515         * manual/check-safety.sh: Wish for verification that every
36516         @deftypefn and @deftypefun is followed by a @safety remark.
36518 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36520         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36522         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36523         PTHREAD_CANCEL_ASYNCHRONOUS.
36524         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36525         send SIGCANCEL.
36527         * nptl/default-sched.h: New file.
36528         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36529         * nptl/pthread_create.c: Include it.
36530         (__pthread_create_2_1): Use collect_default_sched instead of making
36531         Linux syscalls here directly.
36533 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36535         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36536         __pthread_once): Use C11 atomics.
36538 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36540         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36542 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36544         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36545         atomic_thread_fence_acquire, atomic_thread_fence_release,
36546         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36547         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36548         atomic_compare_exchange_weak_relaxed,
36549         atomic_compare_exchange_weak_acquire,
36550         atomic_compare_exchange_weak_release,
36551         atomic_exchange_acquire, atomic_exchange_release,
36552         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36553         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36554         atomic_fetch_and_acquire,
36555         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36557 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36559         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36560         USE_ATOMIC_COMPILER_BUILTINS): Define.
36561         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36562         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36563         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36564         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36565         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36566         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36567         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36568         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36569         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36570         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36571         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36572         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36573         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36574         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36575         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36576         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36577         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36578         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36579         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36580         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36581         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36582         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36583         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36584         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36585         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36586         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36587         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36588         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36589         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36590         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36591         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36592         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36593         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36594         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36595         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36596         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36597         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36598         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36599         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36600         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36602 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36604         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36605         the sched_priority value here.  It was already checked when the user
36606         called pthread_attr_setschedparam.
36608         * nptl/tst-bad-schedattr.c: New file.
36609         * nptl/Makefile (tests): Add it.
36611 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36612             Florian Weimer  <fweimer@redhat.com>
36613             Joseph Myers  <joseph@codesourcery.com>
36614             Adam Conrad  <adconrad@0c3.net>
36615             Andreas Schwab  <schwab@suse.de>
36616             Brooks  <bmoses@google.com>
36618         [BZ #17625]
36619         * wordexp-test.c (__dso_handle): Add prototype.
36620         (__register_atfork): Likewise.
36621         (__app_register_atfork): New function.
36622         (registered_forks): New global.
36623         (register_fork): New function.
36624         (test_case): Add 3 new tests for WRDE_CMDSUB.
36625         (main): Call __app_register_atfork.
36626         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36627         fork count is non-zero fail the test.
36628         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36629         is set.
36630         (parse_dollars): Remove check for WRDE_NOCMD.
36631         (parse_dquote): Likewise.
36633 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36635         * Makeconfig (built-modules): List non-library modules to be
36636         built.
36637         (module-cppflags): Include libc-modules.h for
36638         everything except shlib-versions.v.i.
36639         (CPPFLAGS): Use it.
36640         (before-compile): Add libc-modules.h.
36641         ($(common-objpfx)libc-modules.h,
36642         $(common-objpfx)libc-modules.stmp): New targets.
36643         (common-generated): Add libc-modules.h and libc-modules.stmp.
36644         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36645         * include/libc-symbols.h: Don't include libc-modules.h.
36646         * include/libc-modules.h: Remove file.
36647         * scripts/gen-libc-modules.awk: New script to generate
36648         libc-modules.h.
36649         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36650         Depend on libc-modules.stmp.
36652         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36654         * Makeconfig (in-module): Get value of libof set for the
36655         translation unit.
36656         (CPPFLAGS): Use $(in-module).
36657         * Makerules: Don't suffix routine names for nonlib.
36658         * include/libc-modules.h: New file.
36659         * include/libc-symbols.h: Include libc-modules.h
36660         (IS_IN): New macro to replace IS_IN_* macros.
36661         * elf/Makefile: Set libof-* for each routine.
36662         * elf/rtld-Rules: Likewise.
36663         * extra-modules.mk: Likewise.
36664         * iconv/Makefile: Likewise.
36665         * iconvdata/Makefile: Likewise.
36666         * locale/Makefile: Likewise.
36667         * malloc/Makefile: Likewise.
36668         * nss/Makefile: Likewise.
36669         * sysdeps/gnu/Makefile: Likewise.
36670         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36671         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36672         * sysdeps/s390/s390-64/Makefile: Likewise.
36673         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36674         CPPFLAGS for nscd instead of nonlib.
36676 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36678         * nptl/createthread.c: New file.
36680         * nptl/createthread.c: Moved ...
36681         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36683         * nptl/createthread.c: Add proper top-line comment.
36684         (do_clone): Folded into ...
36685         (create_thread): ... here.  Take new arguments STOPPED_START and
36686         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36687         increment __nptl_threads, do event-reporting logic, do
36688         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36689         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36690         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36691         just send SIGCANCEL.
36692         * nptl/pthread_create.c: Forward-declare create_thread before
36693         including createthread.c.
36694         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36695         declaration, and new macro START_THREAD_SELF to replace argument.
36696         Remove return statement.
36697         (report_thread_creation): New function.
36698         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36699         synchronization logic, and __nptl_nthreads increment here, around
36700         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36701         PD->parent_cancelhandling here, before create_thread.  When
36702         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36703         __deallocate_stack, and ENOMEM translation here.
36705 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36707         [BZ #17616]
36708         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36709         (mptwo): Rename to __mptwo.
36710         (__inv): Use __mptwo instead of mptwo.
36711         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36712         (mptwo): Rename to __mptwo.
36713         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36714         of mpone and __mptwo instead of mptwo.
36715         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36716         instead of mpone.
36717         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36718         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36719         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36720         of mpone and __mptwo instead of mptwo.
36721         (__mpranred): Use __mpone instead of mpone.
36722         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36723         variable.
36724         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36725         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36726         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36727         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36728         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36729         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36730         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36731         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36732         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36733         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36734         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36735         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36736         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36737         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36738         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36739         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36740         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36741         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36742         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36744 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36746         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36747         replace BSD Handler xref with BSD Signal Handling.
36749 2014-11-17  Richard Henderson  <rth@redhat.com>
36751         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36752         (_FP_PACK_RAW_2): Remove.
36753         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36754         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36755         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36756         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36757         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36758         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36759         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36760         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36761         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36762         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36763         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36764         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36765         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36766         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36767         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36768         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36770 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36772         * signal/signal.h [__USE_MISC]
36773         (struct sigvec): Remove type.
36774         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36775         (sigvec): Remove declaration.
36776         * sysdeps/posix/sigvec.c: Moved ...
36777         * signal/sigvec.c: ... here, replacing old file.
36778         (struct sigvec): New type, copied from old signal.h definition.
36779         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36780         (__sigvec): Convert definition to prototype.
36781         (sigvec): Replace weak_alias with compat_symbol.
36782         * signal/Versions (libc: GLIBC_2.21): New version set.
36783         * include/signal.h: Remove __sigvec declaration.
36784         * sysdeps/unix/bsd/sigvec.c: Remove file.
36785         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36786         * manual/signal.texi (BSD Handler): Remove subsection.
36787         Move siginterrupt up to ...
36788         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36789         (Blocking in BSD): Fold subsection into its parent.
36790         * NEWS: Mention sigvec removal.
36792 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36794         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36795         (DLA_FMS): Make definition conditional only on [__FMA4__].
36796         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36797         definition.
36799         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36800         Make definition conditional only on [PROF].
36801         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36802         definition.
36803         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36804         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36806         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36807         !__GNUC__].
36808         * include/signal.h (__sigpause): Move declaration above call to
36809         libc_hidden_proto.
36810         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36811         variable.
36812         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36813         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36815 2014-11-14  David S. Miller  <davem@davemloft.net>
36817         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36818         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36820 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36822         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36823         * configure: Regenerated.
36824         * manual/install.texi (Tools for Compilation): Document a
36825         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36826         compiler verified to work.
36827         * INSTALL: Regenerated.
36829         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36830         redeclare with asm name.
36831         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36832         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36833         including <string.h>.
36834         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36835         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36836         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36837         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36838         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36839         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36840         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36842 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36844         * stdlib/strtol.c (__strtol): Use prototype definition.
36846         [BZ #17594]
36847         * stdlib/strtol.c (SYM__): New macro.
36848         (SYM__1): Likewise.
36849         (__strtol): Likewise.
36850         (strtol): Rename to __strtol and define as weak alias of
36851         __strtol.  Use libc_hidden_weak.
36853 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36855         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36856         Use numbered labels in inline assembly.
36858 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36860         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36861         Add setjmp LIBC_PROBE.
36862         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36863         Likewise.
36864         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36865         Add longjmp, longjmp_target LIBC_PROBE.
36866         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36867         Likewise.
36869 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36871         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36872         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36873         to get rid of unused variable warning.
36875 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36877         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36878         Check for unwind_backtrace ==  NULL only in SHARED case.
36879         (__backchain_backtrace): Compile only in SHARED case.
36880         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36881         Likewise.
36882         (__backchain_backtrace): Declare as static.
36884 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36886         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36887         (__libc_multiple_threads_ptr): Variable moved ...
36888         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36890 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36892         * conform/GlibcConform.pm: New file.
36893         * conform/conformtest.pl: Use GlibcConform module.
36894         * conform/linknamespace.pl: New file.
36895         * conform/list-header-symbols.pl: Likewise.
36896         * conform/Makefile (linknamespace-symlists-base): New variable.
36897         (linknamespace-symlists-tests): Likewise.
36898         (linknamespace-header-base): Likewise.
36899         (linknamespace-header-tests): Likewise.
36900         (tests-special): Add new tests.
36901         ($(linknamespace-symlists-tests)): New rule.
36902         (linknamespace-libs): New variable.
36903         ($(objpfx)symlist-stdlibs): New rule.
36904         ($(linknamespace-header-tests)): Likewise.
36905         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36906         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36907         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36908         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36909         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36910         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36911         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36912         (test-xfail-ISO/math.h/linknamespace): Likewise.
36913         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36914         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36915         (test-xfail-ISO/time.h/linknamespace): Likewise.
36916         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36917         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36918         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36919         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36920         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36921         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36922         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36923         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36924         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36925         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36926         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36927         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36928         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36929         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36930         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36931         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36932         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36933         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36934         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36935         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36936         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36937         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36938         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36939         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36940         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36941         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36942         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36943         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36944         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36945         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36946         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36947         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36948         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36949         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36950         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36951         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36952         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36953         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36954         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36955         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36956         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36957         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36958         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36959         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36960         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36961         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36962         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36963         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36964         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36965         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36966         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36967         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36968         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36969         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36970         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36971         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36972         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36973         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36974         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36975         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36976         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36977         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36978         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36979         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36980         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36981         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36982         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36983         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36984         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36985         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36986         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36987         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36988         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36989         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36990         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36991         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36992         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36993         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36994         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36995         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36996         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36997         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36998         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36999         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37000         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37001         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
37002         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
37003         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
37004         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
37005         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
37006         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
37007         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
37008         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37009         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37010         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
37011         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
37012         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
37013         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
37014         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
37015         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37016         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37017         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
37018         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
37019         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
37020         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37021         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
37022         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
37023         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37024         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
37025         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
37026         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
37027         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
37028         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
37029         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
37030         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
37031         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
37032         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37033         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
37034         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37035         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37036         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
37037         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
37038         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37039         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37040         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
37041         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37042         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
37043         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37044         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
37045         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
37046         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
37047         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
37048         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
37049         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
37050         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
37051         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
37052         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37053         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37054         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37055         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37056         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37057         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37058         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37059         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37060         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37061         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37062         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37063         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37064         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37065         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37067         [BZ #17589]
37068         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37069         of fgets_unlocked.
37071         [BZ #17585]
37072         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37073         (memmem): Rename to __memmem and define as weak alias of
37074         __memmem.  Use libc_hidden_weak.
37075         (__memmem): Use libc_hidden_def.
37076         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37077         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37078         memmem.
37080         [BZ #17582]
37081         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37082         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37083         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37084         and define as weak alias of __fgets_unlocked.  Use
37085         libc_hidden_weak.
37086         (__fgets_unlocked): Use libc_hidden_def.
37087         * include/stdio.h (__fgets_unlocked): Declare.  Use
37088         libc_hidden_proto.
37089         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37090         __fgets_unlocked instead of fgets_unlocked.
37091         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37092         (GET_NPROCS_CONF_PARSER): Likewise.
37093         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37094         (GET_NPROCS_CONF_PARSER): Likewise.
37096         [BZ #17574]
37097         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37098         weak alias of __wmemset.  Use libc_hidden_weak.
37099         (__wmemset): Use libc_hidden_def.
37100         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37101         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37102         of wmemset.
37104         [BZ #17573]
37105         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37106         with asm name __mempcpy.
37107         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37109         [BZ #17572]
37110         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37111         and define as weak alias of __rawmemchr.
37112         (__rawmemchr): Do not define as strong alias of rawmemchr.
37114         [BZ #17571]
37115         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37116         alias of __qsort_r.
37117         (qsort): Call __qsort_r instead of qsort_r.
37118         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37119         (__qsort_r): Declare.  Call libc_hidden_proto.
37120         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37121         instead of qsort_r.
37122         * nscd/gai.c (__qsort_r): Define to qsort_r.
37123         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37124         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37125         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37127         [BZ #17570]
37128         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37129         define as weak alias of __malloc_info.
37131         [BZ #17584]
37132         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37133         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37134         (__rewinddir): Use libc_hidden_def.
37135         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37136         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37137         (__rewinddir): Use libc_hidden_def.
37138         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37139         weak alias of __rewinddir.  Don't use libc_hidden_def.
37140         (__rewinddir): Use libc_hidden_def.
37141         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37142         (__rewinddir): Use libc_hidden_proto.
37143         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37144         rewinddir.
37145         (__getcwd): Use __rewinddir instead of rewinddir.
37147         [BZ #17583]
37148         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37149         alias of __fileno.  Use libc_hidden_weak.
37150         (__fileno): Use libc_hidden_def.
37151         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37152         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37153         alias of __ftello.
37154         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37155         __ftello.
37156         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37157         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37158         libc_hidden_def.
37159         (fread_unlocked): Don't use libc_hidden_ver.
37160         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37161         and define as weak alias of __fread_unlocked.  Don't use
37162         libc_hidden_def.
37163         (__fread_unlocked): Use libc_hidden_def.
37164         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37165         (ftello): Don't use libc_hidden_proto.
37166         (__ftello): Declare.  Use libc_hidden_proto.
37167         (fread_unlocked): Don't use libc_hidden_proto.
37168         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37169         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37170         and __ftello instead of fileno, fread_unlocked and ftello.
37172 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37174         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37175         GOT12.
37176         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37177         Likewise.
37178         (_dl_start_user): Likewise.
37179         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37181 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37182             Siddhesh Poyarekar  <siddhesh@redhat.com>
37184         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37185         Move argv and envp down instead of moving argc up.
37186         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37188 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37190         [BZ #17506]
37191         * test-skeleton.c (main): Return successful if one of
37192         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37193         * string/tst-strcoll-overflow.c: Define expected status.
37195 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37197         [BZ #17475]
37198         * locale/iso-639.def: Define Bhili and Tulu language codes.
37200 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37202         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37204 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37206         [BZ #17555]
37207         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37209 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37211         * configure.ac: Updated check of minimal required version to
37212         2.22.
37213         * manual/install.texi (Tools for Compilation): Updated version
37214         number.
37215         * configure: Regenerated.
37216         * INSTALL: Likewise.
37218 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37220         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37221         __tls_get_addr.
37223 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37225         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37226         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37227         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37228         libc_hidden_weak.
37229         (waitpid): Define as alias of __waitpid.
37230         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37231         __waitpid.
37232         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37233         libc_hidden_weak.
37234         (waitpid): Define as alias of __waitpid.
37235         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37236         __libc_waitpid alias.
37237         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37238         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37239         Likewise.
37240         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37241         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37242         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37243         alias.
37244         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37245         __waitpid.
37246         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37247         libc_hidden_weak.
37248         (waitpid): Define as alias of __waitpid.
37250 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37252         * manual/llio.texi: Add comment that write safety has been
37253         fixed in Linux.
37255         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37256         (localplt-build-dso): Add elf/ld.so.
37257         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37258         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37259         and free for ld.so.
37260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37261         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37263         Likewise.
37264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37265         Likewise.
37266         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37267         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37268         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37269         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37270         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37271         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37272         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37273         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37274         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37275         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37276         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37278 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
37280         [BZ #14132]
37281         * include/libc-symbols.h (INTUSE): Remove macro.
37282         (INTDEF): Likewise.
37283         (INTVARDEF): Likewise.
37284         (_INTVARDEF): Likewise.
37285         (INTDEF2): Likewise.
37286         (INTVARDEF2): Likewise.
37287         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37288         rtld_hidden_def instead of INTVARDEF.
37289         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37290         (_dl_starting_up_internal): Remove declaration.
37291         (_dl_starting_up): Use rtld_hidden_proto.
37292         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37293         declaration.
37294         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37295         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37296         _dl_starting_up.
37297         * elf/dl-writev.h (_dl_writev): Likewise.
37298         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37299         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37300         _dl_starting_up_internal.
37302 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37304         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37305         test-skeleton.c.
37307 2014-11-05  Will Newton  <will.newton@linaro.org>
37309         * benchtests/Makefile: (bench-malloc): Add malloc thread
37310         scalability benchmark.
37311         * benchtests/bench-malloc-threads.c: New file.
37313 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
37315         * sysdeps/aarch64/strchrnul.S: New file.
37317 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37319         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37320         definition.
37321         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37322         Likewise.
37323         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37324         Likewise.
37325         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37326         Likewise.
37327         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37328         Likewise.
37329         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37330         Likewise.
37332 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
37334         * catgets/test-gencat.c: Use test-skeleton.c.
37335         * catgets/tst-catgets.c: Likewise.
37336         * csu/tst-empty.c: Likewise.
37337         * elf/tst-audit2.c: Likewise.
37338         * elf/tst-global1.c: Likewise.
37339         * elf/tst-pathopt.c: Likewise.
37340         * elf/tst-piemod1.c: Likewise.
37341         * elf/tst-tls10.c: Likewise.
37342         * elf/tst-tls11.c: Likewise.
37343         * elf/tst-tls12.c: Likewise.
37344         * gnulib/tst-gcc.c: Likewise.
37345         * iconvdata/tst-e2big.c: Likewise.
37346         * iconvdata/tst-loading.c: Likewise.
37347         * iconv/tst-iconv1.c: Likewise.
37348         * iconv/tst-iconv2.c: Likewise.
37349         * inet/test-inet6_opt.c: Likewise.
37350         * inet/tst-gethnm.c: Likewise.
37351         * inet/tst-network.c: Likewise.
37352         * inet/tst-ntoa.c: Likewise.
37353         * intl/tst-codeset.c: Likewise.
37354         * intl/tst-gettext2.c: Likewise.
37355         * intl/tst-gettext3.c: Likewise.
37356         * intl/tst-ngettext.c: Likewise.
37357         * intl/tst-translit.c: Likewise.
37358         * io/test-stat.c: Likewise.
37359         * libio/test-fmemopen.c: Likewise.
37360         * libio/tst-freopen.c: Likewise.
37361         * libio/tst-sscanf.c: Likewise.
37362         * libio/tst-ungetwc1.c: Likewise.
37363         * libio/tst-ungetwc2.c: Likewise.
37364         * libio/tst-widetext.c: Likewise.
37365         * localedata/tst-ctype.c: Likewise.
37366         * localedata/tst-digits.c: Likewise.
37367         * localedata/tst-leaks.c: Likewise.
37368         * localedata/tst-mbswcs1.c: Likewise.
37369         * localedata/tst-mbswcs2.c: Likewise.
37370         * localedata/tst-mbswcs3.c: Likewise.
37371         * localedata/tst-mbswcs4.c: Likewise.
37372         * localedata/tst-mbswcs5.c: Likewise.
37373         * localedata/tst-setlocale.c: Likewise.
37374         * localedata/tst-trans.c: Likewise.
37375         * localedata/tst-wctype.c: Likewise.
37376         * localedata/tst-xlocale1.c: Likewise.
37377         * login/tst-grantpt.c: Likewise.
37378         * malloc/tst-calloc.c: Likewise.
37379         * malloc/tst-malloc.c: Likewise.
37380         * malloc/tst-mallocstate.c: Likewise.
37381         * malloc/tst-mcheck.c: Likewise.
37382         * malloc/tst-mtrace.c: Likewise.
37383         * malloc/tst-obstack.c: Likewise.
37384         * math/atest-exp2.c: Likewise.
37385         * math/atest-exp.c: Likewise.
37386         * math/atest-sincos.c: Likewise.
37387         * math/test-matherr.c: Likewise.
37388         * math/test-misc.c: Likewise.
37389         * math/test-powl.c: Likewise.
37390         * math/tst-definitions.c: Likewise.
37391         * misc/tst-dirname.c: Likewise.
37392         * misc/tst-efgcvt.c: Likewise.
37393         * misc/tst-fdset.c: Likewise.
37394         * misc/tst-hsearch.c: Likewise.
37395         * misc/tst-mntent2.c: Likewise.
37396         * nptl/tst-sem7.c: Likewise.
37397         * nptl/tst-sem8.c: Likewise.
37398         * nptl/tst-sem9.c: Likewise.
37399         * nss/test-netdb.c: Likewise.
37400         * posix/tst-fnmatch.c: Likewise.
37401         * posix/tst-getlogin.c: Likewise.
37402         * posix/tst-gnuglob.c: Likewise.
37403         * posix/tst-mmap.c: Likewise.
37404         * pwd/tst-getpw.c: Likewise.
37405         * resolv/tst-inet_ntop.c: Likewise.
37406         * rt/tst-timer.c: Likewise.
37407         * stdio-common/test-fseek.c: Likewise.
37408         * stdio-common/test-popen.c: Likewise.
37409         * stdio-common/test-vfprintf.c: Likewise.
37410         * stdio-common/tst-cookie.c: Likewise.
37411         * stdio-common/tst-fileno.c: Likewise.
37412         * stdio-common/tst-gets.c: Likewise.
37413         * stdio-common/tst-obprintf.c: Likewise.
37414         * stdio-common/tst-perror.c: Likewise.
37415         * stdio-common/tst-sprintf2.c: Likewise.
37416         * stdio-common/tst-sprintf3.c: Likewise.
37417         * stdio-common/tst-sprintf.c: Likewise.
37418         * stdio-common/tst-swprintf.c: Likewise.
37419         * stdio-common/tst-tmpnam.c: Likewise.
37420         * stdio-common/tst-unbputc.c: Likewise.
37421         * stdio-common/tst-wc-printf.c: Likewise.
37422         * stdlib/tst-environ.c: Likewise.
37423         * stdlib/tst-fmtmsg.c: Likewise.
37424         * stdlib/tst-limits.c: Likewise.
37425         * stdlib/tst-rand48-2.c: Likewise.
37426         * stdlib/tst-rand48.c: Likewise.
37427         * stdlib/tst-random2.c: Likewise.
37428         * stdlib/tst-random.c: Likewise.
37429         * stdlib/tst-strtol.c: Likewise.
37430         * stdlib/tst-strtoll.c: Likewise.
37431         * stdlib/tst-tls-atexit.c: Likewise.
37432         * stdlib/tst-xpg-basename.c: Likewise.
37433         * string/test-ffs.c: Likewise.
37434         * string/tst-bswap.c: Likewise.
37435         * string/tst-inlcall.c: Likewise.
37436         * string/tst-strtok.c: Likewise.
37437         * string/tst-strxfrm.c: Likewise.
37438         * sysdeps/x86_64/tst-audit10.c: Likewise.
37439         * sysdeps/x86_64/tst-audit3.c: Likewise.
37440         * sysdeps/x86_64/tst-audit4.c: Likewise.
37441         * sysdeps/x86_64/tst-audit5.c: Likewise.
37442         * time/tst-ftime_l.c: Likewise.
37443         * time/tst-getdate.c: Likewise.
37444         * time/tst-mktime3.c: Likewise.
37445         * time/tst-mktime.c: Likewise.
37446         * time/tst-posixtz.c: Likewise.
37447         * time/tst-strptime2.c: Likewise.
37448         * time/tst-strptime3.c: Likewise.
37449         * wcsmbs/tst-btowc.c: Likewise.
37450         * wcsmbs/tst-mbrtowc.c: Likewise.
37451         * wcsmbs/tst-mbsrtowcs.c: Likewise.
37452         * wcsmbs/tst-wchar-h.c: Likewise.
37453         * wcsmbs/tst-wcpncpy.c: Likewise.
37454         * wcsmbs/tst-wcrtomb.c: Likewise.
37455         * wcsmbs/tst-wcsnlen.c: Likewise.
37456         * wcsmbs/tst-wcstof.c: Likewise.
37458 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
37460         [BZ #14132]
37461         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37462         INTDEF.
37463         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37464         declaration.
37465         (_dl_mcount): Use rtld_hidden_proto.
37466         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37467         _dl_mcount.
37468         * elf/rtld.c (_rtld_global_ro): Likewise.
37470         [BZ #14132]
37471         * elf/dl-init.c (_dl_init): Don't use INTDEF.
37472         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37473         of _dl_init_internal.
37474         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37475         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37476         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37477         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37478         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37479         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37480         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37481         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37482         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37483         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37484         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37485         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37486         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37487         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37488         * sysdeps/tile/dl-start.S (_start): Likewise.
37489         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37490         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37492         [BZ #14132]
37493         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37494         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37495         (rtld_progname): Make macro definition unconditional.
37496         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37497         INTDEF.
37498         (dlmopen_doit): Do not use INTUSE with _dl_argv.
37499         (dl_main): Likewise.
37500         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37501         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37502         instead of _dl_argv_internal.
37503         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37504         __GI__dl_argv instead of INTUSE(_dl_argv).
37505         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37506         __GI__dl_argv instead of _dl_argv_internal.
37508         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37509         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37510         macro.
37511         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37512         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37513         New macro.
37514         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37515         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37516         macro.
37517         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37518         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37520 2014-11-04  Andreas Schwab  <schwab@suse.de>
37522         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37524 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37526         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37527         mtvsrd instruction in binary form.
37529 2014-11-03  Andreas Schwab  <schwab@suse.de>
37531         [BZ #17522]
37532         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37533         for less than MB_LEN_MAX use a local buffer of that size.
37534         * libio/tst-fputws.c: New file.
37535         * libio/Makefile (tests): Add tst-fputws.
37537 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37539         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37540         the size of the fpu_fr.fpu_dregs[] array.
37542 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37544         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37545         (__nanosleep): Do not define as alias.
37546         (nanosleep): Define as alias of __nanosleep.
37547         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37548         __libc_nanosleep name.
37550 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37552         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37553         install.texi in comment.
37555 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37557         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37558         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37559         ... add here and use lwsync or sync ...
37560         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37561         ... and add here using lwsync.
37563 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37565         * elf/dl-machine-reject-phdr.h: New file.
37566         * elf/dl-load.c: #include that.
37567         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37568         if that returned true.
37570 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37572         [BZ #17496]
37573         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37574         gen-as-const-headers chunk.  Add a big scare comment after the last
37575         safe place to touch before-compile.
37577 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37579         * manual/install.texi (Tools for Compilation): Update autoconf
37580         version requirements.
37581         * INSTALL: Regenerated.
37583         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37584         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37585         (__libc_pselect): Likewise.
37587         [BZ #14138]
37588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37593 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37595         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37596         correct barrier instruction.
37597         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37598         Likewise.
37599         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37600         Likewise.
37602 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37604         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37605         after defining inlines.  Instead, just use parens to defeat macro
37606         expansion of __isctype in its declaration.
37608 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37610         * include/sys/uio.h (__libc_readv): Remove declaration.
37611         (__libc_writev): Likewise.
37612         * misc/readv.c (__libc_readv): Rename to __readv.
37613         (__readv): Do not define as alias.
37614         (readv): Define as alias of __readv.
37615         * misc/writev.c (__libc_writev): Rename to __writev.
37616         (__writev): Do not define as alias.
37617         (writev): Define as alias of __writev.
37618         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37619         (__readv): Do not define as alias.
37620         (readv): Define unconditionally as alias of __readv.
37621         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37622         (__writev): Do not define as alias.
37623         (writev): Define unconditionally as alias of __writev.
37624         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37625         name.
37626         (writev): Do not define __libc_writev name.
37628 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37630         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37631         (convert_charseq): New function, broken out of ...
37632         (use_from_charmap): ... here.  Call it.
37633         (use_to_charmap): Use convert_charseq and free instead of duplicating
37634         its code with a variable-length stack struct.
37636 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37638         * include/fcntl.h (__libc_creat): Remove declaration.
37639         * io/creat.c (__libc_creat): Rename to creat.
37640         (creat): Do not define as alias.
37641         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37642         of creat instead of __libc_creat.
37643         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37644         to creat.
37645         (creat): Do not define as alias.
37646         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37647         __libc_creat.
37648         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37649         __libc_creat name.
37650         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37651         Likewise.
37653 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37655         * manual/llio.texi: Add comments discussing why write() may be
37656         considered MT-unsafe on Linux.
37658 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37660         * dl-load.c (local_strdup): Remove.
37661         (expand_dynamic_string_token): Use __strdup.
37662         (decompose_rpath): Likewise.
37663         (_dl_map_object): Likewise.
37665 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37667         [BZ #14132]
37668         * sysdeps/generic/unwind-dw2-fde.c
37669         (__register_frame_info_bases_internal): Do not declare.
37670         (__register_frame_info_table_bases_internal): Likewise.
37671         (__deregister_frame_info_bases_internal): Likewise.
37672         (__register_frame_info_bases): Declare and use hidden_proto before
37673         definition.  Use hidden_def instead of INTDEF.
37674         (__register_frame_info_table_bases): Likewise.
37675         (__deregister_frame_info_bases): Likewise.
37676         (__register_frame_info): Do not use INTUSE.
37677         (__register_frame): Likewise.
37678         (__register_frame_info_table): Likewise.
37679         (__register_frame_table): Likewise.
37680         (__deregister_frame_info): Likewise.
37681         (__deregister_frame): Likewise.
37683 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37685         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37686         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37687         not undefine.
37688         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37689         Likewise.
37690         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37691         Likewise.
37693 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37695         [BZ #14138]
37696         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37697         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37698         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37699         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37700         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37701         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37702         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37703         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37704         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37705         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37706         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37707         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37708         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37709         syscall.
37710         (setfsuid): Likewise.
37711         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37712         (setfsuid): Likewise.
37713         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37714         (setfsuid): Likewise.
37715         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37716         Likewise.
37717         (setfsuid): Likewise.
37718         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37719         (setfsuid): Likewise.
37720         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37721         Likewise.
37722         (setfsuid): Likewise.
37724 2014-10-27  Andreas Schwab  <schwab@suse.de>
37726         [BZ #17501]
37727         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37728         check for Slow_SSE4_2 feature bit.
37729         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37730         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37731         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37732         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37734 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37736         * configure.ac: Validate compiler version with a empirical test of
37737         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37738         $CC -v output.
37739         * configure: Regenerated.
37741         * inet/htons.c (htons): Prototypify.
37742         * inet/htonl.c (htonl): Likewise.
37744 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37746         * string/strncat.c (strncat): Improve performance by using strlen.
37748 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37750         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37752 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37754         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37755         Call libc_fetestexcept_aarch64.
37757 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37759         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37760         Call libc_feholdexcept_aarch64.
37762 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37764         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37765         Call get_rounding_mode.
37767 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37769         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37770         Simplify logic.
37772 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37774         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37775         Simplify logic.
37777 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37779         [BZ #14138]
37780         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37781         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37782         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37783         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37784         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37785         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37786         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37787         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37788         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37789         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37790         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37791         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37792         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37793         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37794         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37795         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37796         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37797         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37798         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37799         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37800         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37801         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37802         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37803         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37804         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37805         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37806         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37807         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37808         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37809         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37810         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37811         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37812         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37813         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37814         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37815         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37816         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37817         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37818         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37819         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37820         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37821         syscall.
37822         (geteuid): Likewise.
37823         (getgid): Likewise.
37824         (getuid): Likewise.
37825         (getresgid): Likewise.
37826         (getresuid): Likewise.
37827         (getgroups): Likewise.
37828         * sysdeps/unix/sysv/linux/i386/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/m68k/syscalls.list (getegid): Likewise.
37836         (geteuid): Likewise.
37837         (getgid): Likewise.
37838         (getuid): Likewise.
37839         (getresgid): Likewise.
37840         (getresuid): Likewise.
37841         (getgroups): Likewise.
37842         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37843         Likewise.
37844         (geteuid): Likewise.
37845         (getgid): Likewise.
37846         (getuid): Likewise.
37847         (getresgid): Likewise.
37848         (getresuid): Likewise.
37849         (getgroups): Likewise.
37850         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37851         (geteuid): Likewise.
37852         (getgid): Likewise.
37853         (getuid): Likewise.
37854         (getresgid): Likewise.
37855         (getresuid): Likewise.
37856         (getgroups): Likewise.
37857         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37858         Likewise.
37859         (geteuid): Likewise.
37860         (getgid): Likewise.
37861         (getuid): Likewise.
37862         (getgroups): Likewise.
37864         [BZ #14138]
37865         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37866         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37867         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37868         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37869         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37870         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37871         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37872         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37873         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37874         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37875         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37876         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37877         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37878         __chown.
37879         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37880         (lchown): Likewise.
37881         (fchown): Likewise.
37882         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37883         Likewise.
37884         (lchown): Likewise.
37885         (fchown): Likewise.
37886         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37887         (lchown): Likewise.
37888         (fchown): Likewise.
37889         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37890         Likewise.
37891         (lchown): Likewise.
37892         (fchown): Likewise.
37894 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37896         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37897         Simplify logic.
37899 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37901         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37902         Cleanup logic.
37904 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37906         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37907         Remove unused include.
37909 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37911         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37912         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37913         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37914         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37916 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37917             Helge Deller <deller@gmx.de>
37919         [BZ #17508]
37920         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37921         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37922         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37924 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37926         [BZ #14132]
37927         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37928         Remove macro definition.
37929         (__ashrdi3_v_glibc20): Likewise.
37930         (__lshrdi3_v_glibc20): Likewise.
37931         (__cmpdi2_v_glibc20): Likewise.
37932         (__ucmpdi2_v_glibc20): Likewise.
37933         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37934         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37935         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37936         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37937         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37938         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37940 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37942         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37943         old GNU extension [0] syntax.
37944         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37945         alloca rather than an array member with variable length.
37946         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37947         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37948         (parse_opt): ... here.  Likewise use alloca there.
37949         Validate the -i argument before checking for rootness.
37950         (send_shutdown): New function, broken out of ...
37951         (parse_opt): ... here.
37953 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37955         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37956         macro to get at the _rt_local_ro field.
37957         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37958         ([PIC] case) or _dl_hwcap ([!PIC] case).
37959         * sysdeps/arm/setjmp.S: Likewise.
37961         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37962         * sysdeps/arm/configure.ac: New check to define it.
37963         * sysdeps/arm/configure: Regenerated.
37964         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37965         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37966         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37967         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37968         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37969         Use move/movt pair instead of a load.
37970         (LDST_GLOBAL): Macro removed.
37971         (LDR_GLOBAL): New macro replaces it.
37972         (LDR_HIDDEN): New macro.
37973         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37974         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37976         * setjmp/tst-setjmp-static.c: New file.
37977         * setjmp/Makefile (tests): Add it.
37978         (tests-static): New variable.
37980 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37982         [BZ #17485]
37983         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37985 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37987         [BZ #14132]
37988         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37990 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37992         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37994 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37996         * io/fts.c (dirent_not_directory): New function.
37997         (fts_build): Call it.
37999 2014-10-20  Roland McGrath  <roland@hack.frob.com>
38001         * nptl/version.c (__nptl_main): Use normal __write rather than
38002         INTERNAL_SYSCALL.
38003         (banner): Update copyright years.
38005         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
38006         gettimeofday.
38007         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
38008         * nptl/pthread_cond_timedwait.c: Likewise.
38009         * nptl/pthread_mutex_timedlock.c: Likewise.
38010         * nptl/sem_timedwait.c: Likewise.
38012         * sysdeps/nptl/bits/libc-lock.h
38013         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38014         (__libc_lock_init_recursive): Return void, not 0.
38015         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
38016         (__libc_rwlock_init): Likewise.
38017         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
38019 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38021         [BZ #15215]
38022         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
38023         (__pthread_once_slow): ... here.
38024         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
38025         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
38027 2014-10-20  Torvald Riegel  <triegel@redhat.com>
38029         [BZ #15215]
38030         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
38031         __PTHREAD_ONCE_FORK_GEN_INCR): New.
38032         * sysdeps/nptl/fork.c (__libc_fork): Use them.
38033         * nptl/pthread_once.c (__pthread_once): Likewise.
38034         Update comments.
38036 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
38038         [BZ #14138]
38039         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
38040         name.
38041         (writev): Use __libc_writev as strong name.
38042         * sysdeps/unix/sysv/linux/readv.c: Remove file.
38043         * sysdeps/unix/sysv/linux/writev.c: Likewise.
38045 2014-10-17  Roland McGrath  <roland@hack.frob.com>
38047         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
38049         * sysdeps/i386/nptl/tls.h
38050         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
38051         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
38052         New macros.
38053         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38054         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38055         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38056         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38057         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38058         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38060         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38061         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38062         on [__NR_futex].
38063         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38064         broken out of ...
38065         (__pthread_mutex_init): ... here.  Call it.
38066         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38067         Conditionalize PI cases on [__NR_futex].
38068         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38069         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38070         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38072         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38073         conditional on [SIGSETXID].
38074         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38075         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38076         is defined.  Likewise for SIGSETXID.
38077         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38078         Conditionalize definitions on [SIGSETXID].
38079         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38080         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38081         unblocking on [SIGCANCEL].
38083         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38084         [__NR_set_robust_list].
38086 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38088         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38089         (do_compare): Likewise.
38091 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38093         [BZ #15884]
38094         * string/strcoll_l.c: Don't include stdio.h.
38095         (coll_seq): Remove members idxarr and rulearr.
38096         (get_next_seq_cached): Remove function.
38097         (get_next_seq): Likewise.
38098         (get_next_seq_nocache): Rename to get_next_seq.
38099         (do_compare): Remove function.
38100         (do_compare_nocache): Rename to do_compare.
38101         (STRCOLL): Remove weight and rules cache.
38103 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38105         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38106         * sysdeps/arm/sfp-machine.h: ... to here.
38107         * sysdeps/arm/Implies: Remove arm/soft-fp.
38109 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38111         * conform/data/sys/utsname.h-data (*_t): Allow.
38112         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38113         [POSIX] (WEXITED): Do not expect constant.
38114         [POSIX] (WSTOPPED): Likewise.
38115         [POSIX] (WNOHANG): Likewise.
38116         [POSIX] (WNOWAIT): Likewise.
38117         [POSIX] (siginfo_t): Do not expect type or elements.
38118         [POSIX] (pid_t): Do not expect type.
38119         [POSIX] (signal.h): Do not allow header.
38120         [POSIX] (sys/resource.h): Likewise.
38121         [POSIX] (si_*): Do not allow pattern.
38122         [POSIX] (W*): Likewise.
38123         [POSIX] (P_*): Likewise.
38124         [POSIX] (BUS_*): Likewise.
38125         [POSIX] (CLD_*): Likewise.
38126         [POSIX] (FPE_*): Likewise.
38127         [POSIX] (ILL_*): Likewise.
38128         [POSIX] (POLL_*): Likewise.
38129         [POSIX] (SEGV_*): Likewise.
38130         [POSIX] (SI_*): Likewise.
38131         [POSIX] (TRAP_*): Likewise.
38132         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38133         variable.
38135 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38137         [BZ #12926]
38138         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38139         infinite loop when __recvmsg returns 0.
38141 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38143         * CANCEL-FCT-WAIVE: Remove file.
38144         * CANCEL-FILE-WAIVE: Likewise.
38146         [BZ #14132]
38147         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38148         instead of INTVARDEF.
38149         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38150         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38151         rtld_hidden_data_def instead of INTVARDEF.
38152         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38153         * elf/dl-deps.c (expand_dst): Likewise.
38154         * elf/dl-load.c (_dl_dst_count): Likewise.
38155         (_dl_dst_substitute): Likewise.
38156         (decompose_rpath): Likewise.
38157         (_dl_init_paths): Likewise.
38158         (open_path): Likewise.
38159         (_dl_map_object): Likewise.
38160         * elf/rtld.c (dl_main): Likewise.
38161         (process_dl_audit): Likewise.
38162         (process_envvars): Likewise.
38163         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38164         Remove declaration.
38165         (__libc_enable_secure): Use rtld_hidden_proto.
38167 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38169         * elf/dl-load.c
38170         (add_path): New function broken out of _dl_rtld_di_serinfo.
38171         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38173 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38175         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38176         parentheses around macro arguments.
38177         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38178         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38179         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38180         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38181         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38182         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38183         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38184         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38185         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38186         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38187         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38188         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38189         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38190         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38191         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38192         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38193         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38194         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38195         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38196         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38197         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38198         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38199         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38200         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38202         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38203         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38204         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38206         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38207         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38208         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38209         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38210         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38211         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38212         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38213         Likewise.
38214         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38216         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38217         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38218         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38220         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38221         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38222         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38223         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38224         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38225         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38226         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38227         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38228         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38230         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38231         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38232         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38233         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38234         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38235         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38236         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38237         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38238         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38239         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38240         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38241         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38242         (_FP_FRAC_SRS_1): Likewise.
38243         (_FP_FRAC_CLZ_1): Likewise.
38244         (_FP_MUL_MEAT_1_imm): Likewise.
38245         (_FP_MUL_MEAT_1_wide): Likewise.
38246         (_FP_MUL_MEAT_1_hard): Likewise.
38247         (_FP_SQRT_MEAT_1): Likewise.
38248         (_FP_FRAC_ASSEMBLE_1): Likewise.
38249         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38250         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38251         (__FP_CLZ_2): Likewise.
38252         (_FP_MUL_MEAT_2_wide): Likewise.
38253         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38254         (_FP_MUL_MEAT_2_gmp): Likewise.
38255         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38256         (_FP_SQRT_MEAT_2): Likewise.
38257         (_FP_FRAC_ASSEMBLE_2): Likewise.
38258         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38259         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38260         (_FP_FRAC_CLZ_4): Likewise.
38261         (_FP_MUL_MEAT_4_wide): Likewise.
38262         (_FP_MUL_MEAT_4_gmp): Likewise.
38263         (_FP_SQRT_MEAT_4): Likewise.
38264         (_FP_FRAC_ASSEMBLE_4): Likewise.
38265         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38266         * soft-fp/op-common.h (_FP_CMP): Likewise.
38267         (_FP_CMP_EQ): Likewise.
38268         (_FP_CMP_UNORD): Likewise.
38269         (_FP_TO_INT): Likewise.
38270         (_FP_FROM_INT): Likewise.
38271         [!__FP_CLZ] (__FP_CLZ): Likewise.
38272         (_FP_DIV_HELP_imm): Likewise.
38273         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38274         Likewise.
38275         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38276         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38277         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38278         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38279         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38280         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38281         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38282         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38283         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38284         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38285         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38286         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38287         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38288         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38289         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38290         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38291         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38292         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38293         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38294         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38295         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38296         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38297         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38298         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38299         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38300         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38301         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38302         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38303         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38304         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38305         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38306         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38307         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38308         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38309         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38310         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38311         (FP_UNPACK_RAW_SP): Likewise.
38312         (FP_PACK_RAW_S): Likewise.
38313         (FP_PACK_RAW_SP): Likewise.
38314         (FP_UNPACK_S): Likewise.
38315         (FP_UNPACK_SP): Likewise.
38316         (FP_UNPACK_SEMIRAW_S): Likewise.
38317         (FP_UNPACK_SEMIRAW_SP): Likewise.
38318         (FP_PACK_S): Likewise.
38319         (FP_PACK_SP): Likewise.
38320         (FP_PACK_SEMIRAW_S): Likewise.
38321         (FP_PACK_SEMIRAW_SP): Likewise.
38322         (_FP_SQRT_MEAT_S): Likewise.
38323         (FP_CMP_S): Likewise.
38324         (FP_CMP_EQ_S): Likewise.
38325         (FP_CMP_UNORD_S): Likewise.
38326         (FP_TO_INT_S): Likewise.
38327         (FP_FROM_INT_S): Likewise.
38329         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38331         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38332         (FP_EX_INVALID_IMZ): Likewise.
38333         (FP_EX_INVALID_IMZ_FMA): Likewise.
38334         (FP_EX_INVALID_ISI): Likewise.
38335         (FP_EX_INVALID_ZDZ): Likewise.
38336         (FP_EX_INVALID_IDI): Likewise.
38337         (FP_EX_INVALID_SQRT): Likewise.
38338         (FP_EX_INVALID_CVI): Likewise.
38339         (FP_EX_INVALID_VC): Likewise.
38340         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38341         "invalid" exceptions.
38342         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38343         (_FP_ADD_INTERNAL): Likewise.
38344         (_FP_MUL): Likewise.
38345         (_FP_FMA): Likewise.
38346         (_FP_DIV): Likewise.
38347         (_FP_CMP_CHECK_NAN): Likewise.
38348         (_FP_SQRT): Likewise.
38349         (_FP_TO_INT): Likewise.
38350         (FP_EXTEND): Likewise.
38352 2014-10-09  Allan McRae  <allan@archlinux.org>
38354         * po/fr.po: Update French translation from translation project.
38356 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38358         [BZ #14132]
38359         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38360         of INTDEF.
38361         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38362         (__cxa_atexit): Use libc_hidden_proto.
38363         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38365         [BZ #14132]
38366         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38367         declaration.
38368         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38369         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38370         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38371         [!_ISOMAC] (__iswctype_internal): Likewise.
38372         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38373         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38374         alias.
38375         (fcntl): Remove __fcntl_internal alias.
38376         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38377         __connect_internal alias.
38378         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38379         Likewise.
38381         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38382         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38383         FP_DENORM_ZERO.
38384         (_FP_CHECK_FLUSH_ZERO): New macro.
38385         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38386         (_FP_CMP): Likewise.
38387         (_FP_CMP_EQ): Likewise.
38388         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38389         FP_DENORM_ZERO.
38390         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38391         (FP_TRUNC): Likewise.
38393         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38394         treated as invalid conversion, not as normal exponent.
38396         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38397         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38398         (_FP_CMP_EQ): Likewise.
38399         (_FP_CMP_UNORD): Likewise.
38400         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38401         (FP_CMP_EQ_D): Likewise.
38402         (FP_CMP_UNORD_D): Likewise.
38403         * soft-fp/extended.h (FP_CMP_E): Likewise.
38404         (FP_CMP_EQ_E): Likewise.
38405         (FP_CMP_UNORD_E): Likewise.
38406         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38407         (FP_CMP_EQ_Q): Likewise.
38408         (FP_CMP_UNORD_Q): Likewise.
38409         * soft-fp/single.h (FP_CMP_S): Likewise.
38410         (FP_CMP_EQ_S): Likewise.
38411         (FP_CMP_UNORD_S): Likewise.
38412         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38413         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38414         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38415         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38416         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38417         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38418         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38419         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38420         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38421         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38422         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38423         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38424         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38425         to FP_CMP_Q.
38426         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38427         FP_CMP_Q.
38428         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38429         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38430         FP_CMP_EQ_Q.
38431         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38432         FP_CMP_Q.
38433         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38434         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38435         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38436         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38437         FP_CMP_EQ_Q.
38438         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38439         FP_CMP_Q.
38440         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38441         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38442         FP_CMP_EQ_Q.
38443         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38444         FP_CMP_Q.
38445         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38446         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38447         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38448         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38449         FP_CMP_EQ_Q.
38451         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38452         a subnormal result, set the underflow exception if trapping on
38453         underflow is enabled.
38454         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38455         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38456         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38457         redefine to 0.
38458         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38459         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38460         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38461         * soft-fp/extendxftf2.c (__extendxftf2): Use
38462         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38464         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38465         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38466         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38467         FP_HANDLE_EXCEPTIONS.
38468         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38469         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38470         FP_HANDLE_EXCEPTIONS.
38471         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38472         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38473         FP_HANDLE_EXCEPTIONS.
38474         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38475         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38476         FP_HANDLE_EXCEPTIONS.
38478 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
38480         [BZ #14132]
38481         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38482         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38483         use INTUSE.
38484         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38485         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38486         Remove alias.
38487         (__adjtimex): Define using libc_hidden_ver.
38488         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38489         Remove declaration.
38490         (ntp_gettime): Call __adjtimex directly.
38491         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38492         Remove declaration.
38493         (ntp_gettimex): Call __adjtimex directly.
38494         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38495         __adjtimex_internal alias.
38497 2014-10-08  Roland McGrath  <roland@hack.frob.com>
38499         [BZ #17460]
38500         * nscd/nscd.c (more_help): Rewrite list of tables collection
38501         using xstrdup and asprintf.
38503         * nscd/nscd_conf.c: Remove local xstrdup declaration.
38505 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38506             Roland McGrath  <roland@hack.frob.com>
38508         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38509         (do_lookup_unique): ... local function 'enter' here; update callers.
38511 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
38513         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38514         compat_symbol calls on [SHARED].
38515         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38516         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38517         Remove.
38518         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38519         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38520         (oldsetrlimit): Remove.
38521         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38523         (lchown): New syscall entry.
38524         (oldsetrlimit): Remove.
38525         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38526         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38527         (oldsetrlimit): Remove.
38528         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38530         [BZ #14138]
38531         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38532         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38533         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38534         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38535         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38536         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38537         (fchown): Likewise.
38538         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38539         (fchown): Likewise.
38540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38541         Likewise.
38543 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38545         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38546         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38547         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38548         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38549         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38550         Likewise.
38551         (__old_sem_post): Likewise.
38553 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38555         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38556         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38557         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38558         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38559         Use INLINE_VSYSCALL macro.
38560         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38561         __vdso_clock_gettime.
38562         * sysdeps/unix/sysv/linux/tile/init-first.c
38563         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38564         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38565         __vdso_clock_gettime.
38567         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38568         to set up frame more cleanly.
38570         * sysdeps/tile/memcmp.c: New file.
38572         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38574         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38575         * sysdeps/tile/tilegx/strcasestr.c: New file.
38576         * sysdeps/tile/tilegx/strnlen.c: New file.
38577         * sysdeps/tile/tilegx/strstr.c: New file.
38579         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38581 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38583         * nptl/tst-setuid3.c: Write errors to stdout.
38585 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38587         * elf/dl-deps.c
38588         (preload): New functions broken out of _dl_map_object_deps.
38589         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38591 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38593         [BZ #14138]
38594         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38595         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38597 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38599         * sysdeps/mips/strcmp.S: New.
38601 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38603         [BZ #14138]
38604         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38605         (linkat): Likewise.
38606         (mkdirat): Likewise.
38607         (readlinkat): Likewise.
38608         (renameat): Likewise.
38609         (symlinkat): Likewise.
38610         (unlinkat): Likewise.
38611         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38612         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38613         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38614         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38615         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38616         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38617         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38619 2014-09-30  Will Newton  <will.newton@linaro.org>
38621         * math/math.h: Define long double math functions if
38622         _LIBC_TEST is defined.
38623         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38625         * localedata/Makefile: Move assignment to tests-special
38626         into an ifdef testing run-built-tests.
38627         * timezone/Makefile: Likewise.
38629 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38631         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38632         with $(BASH) not $(SHELL).
38634 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38635             Matthew LeGendre  <legendre1@llnl.gov>
38637         [BZ #17411]
38638         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38639         l_reloc_result.
38641 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38643         * stdio-common/printf_fp.c
38644         (hack_digit): New function, broken out of ...
38645         (__printf_fp): ... local function here.  Update call sites.
38646         hack_digit now takes an additional parameter that is a pointer
38647         to a struct of the referenced locals.  Those locals moved inside
38648         the struct and references updated.
38650 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38652         * aclocal.m4: Require autoconf 2.69.
38653         * configure: Regenerated.
38654         * sysdeps/aarch64/configure: Likewise.
38655         * sysdeps/alpha/configure: Likewise.
38656         * sysdeps/arm/armv7/configure: Likewise.
38657         * sysdeps/arm/configure: Likewise.
38658         * sysdeps/ia64/configure: Likewise.
38659         * sysdeps/mach/configure: Likewise.
38660         * sysdeps/mips/configure: Likewise.
38661         * sysdeps/s390/configure: Likewise.
38662         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38665         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38666         file.
38667         * sysdeps/ia64/configure.ac: Likewise.
38669 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38672         specify symbol version for ld.so.  Do not include entry for
38673         libpthread.
38674         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38675         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38676         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38678         [BZ #14171]
38679         * Makeconfig [$(build-shared) = yes]
38680         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38681         makefiles.
38682         [$(build-shared) = yes && $(soversions.mk-done) = t]
38683         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38684         [$(build-shared) = yes && $(soversions.mk-done) = t]
38685         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38686         to Makerules.
38687         [$(build-shared) = yes && $(soversions.mk-done) = t]
38688         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38689         here.
38690         [$(build-shared) = yes && $(soversions.mk-done) = t]
38691         (common-generated): Don't append gnu/lib-names.h and
38692         gnu/lib-names.stmp here.
38693         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38694         (lib-names-h-abi): New variable.
38695         [$(build-shared) = yes && $(soversions.mk-done) = t]
38696         (lib-names-stmp-abi): Likewise.
38697         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38698         abi-variants] (before-compile): Append
38699         $(common-objpfx)$(lib-names-h-abi).
38700         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38701         abi-variants] (common-generated): Append gnu/lib-names.h.
38702         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38703         abi-variants] (install-others-nosubdir): Depend on
38704         $(inst_includedir)/$(lib-names-h-abi).
38705         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38706         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38707         [$(build-shared) = yes && $(soversions.mk-done) = t]
38708         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38709         [$(build-shared) = yes && $(soversions.mk-done) = t]
38710         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38711         [$(build-shared) = yes && $(soversions.mk-done) = t]
38712         (common-generated): Append $(lib-names-h-abi) and
38713         $(lib-names-stmp-abi).
38714         * scripts/lib-names.awk: Do not handle multi being set.
38715         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38716         Remove variable.
38717         (abi-lp64_be-ld-soname): Likewise.
38718         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38719         Likewise.
38720         (abi-hard-ld-soname): Likewise.
38721         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38722         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38723         Remove variable.
38724         (abi-o32_hard-ld-soname): Likewise.
38725         (abi-o32_soft_2008-ld-soname): Likewise.
38726         (abi-o32_hard_2008-ld-soname): Likewise.
38727         (abi-n32_soft-ld-soname): Likewise.
38728         (abi-n32_hard-ld-soname): Likewise.
38729         (abi-n32_soft_2008-ld-soname): Likewise.
38730         (abi-n32_hard_2008-ld-soname): Likewise.
38731         (abi-n64_soft-ld-soname): Likewise.
38732         (abi-n64_hard-ld-soname): Likewise.
38733         (abi-n64_soft_2008-ld-soname): Likewise.
38734         (abi-n64_hard_2008-ld-soname): Likewise.
38735         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38736         Likewise.
38737         (abi-64-v2-ld-soname): Likewise.
38738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38739         ld.so entries.
38740         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38741         variable.
38742         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38743         entry.
38744         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38745         variable.
38746         (abi-64-ld-soname): Likewise.
38747         (abi-x32-ld-soname): Likewise.
38748         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38749         entry.
38750         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38752 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38754         [BZ #14138]
38755         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38756         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38757         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38758         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38759         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38760         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38761         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38762         syscall entry for GLIBC_2.2 symbol version.
38763         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38764         Likewise.
38765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38766         (setrlimit): Likewise.
38767         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38768         Likewise.
38770 2014-09-23  Will Newton  <will.newton@linaro.org>
38772         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38773         _LINUX_ARM_SYSDEP_H include guard too.
38774         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38775         define.
38777 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38779         * sysdeps/unix/sysv/linux/eventfd.c:
38780         Make first argument unsigned.
38781         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38782         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38784 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38786         [BZ #16852]
38787         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38788         * socket/sys/socket.h: Likewise.
38789         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38791 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38793         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38795 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38797         * time/tst-ftime.c: New test.
38798         * time/Makefile (tests): Add tst-ftime.
38800 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38802         * soft-fp/extended.h: Fix comment formatting.
38803         * soft-fp/op-1.h: Likewise.
38804         * soft-fp/op-2.h: Likewise.
38805         * soft-fp/op-4.h: Likewise.
38806         * soft-fp/op-8.h: Likewise.
38807         * soft-fp/op-common.h: Likewise.
38808         * soft-fp/soft-fp.h: Likewise.
38810         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38812 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38814         [BZ #6652]
38815         * Makeconfig (soversions-default-setname): Remove variable.
38816         ($(common-objpfx)soversions.i): Don't pass default_setname to
38817         soversions.awk.
38818         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38819         oldest_abi to abi-versions.awk.
38820         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38821         * config.make.in (oldest-abi): Remove variable.
38822         * configure.ac (--enable-oldest-abi): Remove configure option.
38823         * configure: Regenerated.
38824         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38825         text.
38826         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38827         * scripts/soversions.awk: Do not handle default_setname variable.
38828         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38829         variable.
38830         * sysdeps/mach/hurd/configure: Regenerated.
38831         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38832         variable.
38833         * sysdeps/unix/sysv/linux/configure: Regenerated.
38835 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38837         * elf/Makefile (CFLAGS-interp.c): Remove.
38838         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38839         path string.
38840         * elf/interp.c: Include generated runtime-linker.h
38842         * Makerules (lib%.so): Don't include $(+interp) in
38843         prerequisites.
38844         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38845         * dlfcn/eval.c: Remove file.
38847         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38848         macros.
38850         [BZ #17266]
38851         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38852         4.2 and newer.
38854         [BZ #17370]
38855         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38857 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38858             Jakub Jelinek  <jakub@redhat.com>
38860         [BZ #17266]
38861         * libio/stdio.h: Check definition of __fortify_function
38862         instead of __extern_always_inline to include bits/stdio2.h.
38863         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38864         check if __extern_always_inline is defined.
38865         [__USE_MISC || __USE_XOPEN]: Likewise.
38866         [__USE_ISOC99] Likewise.
38867         * misc/sys/cdefs.h (__fortify_function): Define only if
38868         __extern_always_inline is defined.
38869         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38870         __extern_always_inline and __extern_inline only for g++-4.3
38871         and newer or a compatible gcc.
38873 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38875         [BZ #17371]
38876         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38877         last change to handle zero prefix length.
38879 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38881         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38882         _SC_REGEX_VERSION.
38884         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38885         _POSIX_RAW_SOCKETS.
38887 2014-09-13  Allan McRae  <allan@archlinux.org>
38889         * po/ru.po: Update Russian translation from translation project.
38891 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38893         * locale/programs/locale.c (show_locale_vars): Inline local function
38894         into its sole call site.  Clean up some style nits.
38895         (print_item): New function, broken out of ...
38896         (show_info): ... local function here.  Clean up style nits.
38898         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38899         out of ...
38900         (set_class_defaults): ... local function set_default here.
38901         Define set_default as a macro locally to pass constant parameters.
38902         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38903         rather than a shared local.
38905         * stdlib/rpmatch.c (try): New function, broken out of ...
38906         (rpmatch): ... local function here.  Also, prototypify definition.
38908 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38910         * scripts/soversions.awk: Do not handle configuration names.
38911         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38912         vendor and os variables to soversions.awk.
38913         * configure.ac: Do not modify gnu-* host_os.
38914         * configure: Regenerated
38915         * shlib-versions: Remove first column with configuration names.
38916         * nptl/shlib-versions: Likewise.
38917         * nptl_db/shlib-versions: Likewise.
38918         * sysdeps/hppa/shlib-versions: Likewise.
38919         * sysdeps/m68k/shlib-versions: Likewise.
38920         * sysdeps/mach/hurd/shlib-versions: Likewise.
38921         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38922         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38923         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38924         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38925         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38926         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38927         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38928         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38930         Likewise.
38931         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38932         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38933         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38934         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38935         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38936         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38937         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38938         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38941         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38943         Regenerated.
38944         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38946         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38948         * shlib-versions: Remove OS-specific entries.  Moved to files in
38949         sysdeps.
38950         * sysdeps/mach/hurd/shlib-versions: New file.
38951         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38953         * nptl/shlib-versions: Remove architecture-specific entries.
38954         Moved to files in sysdeps.
38955         * shlib-versions: Likewise.
38956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38957         file.
38958         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38959         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38960         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38961         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38963         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38964         (UDP_NO_CHECK6_RX): Likewise.
38966 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38968         * sysdeps/posix/sysconf.c (__sysconf): Spell
38969         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38971 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38973         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38974         loading.
38975         * iconv/Versions (__gconv_transliterate): Export for use from
38976         gconv modules.
38977         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38978         (struct __gconv_trans_data, __gconv_trans_fct,
38979         __gconv_trans_context_fct, __gconv_trans_query_fct,
38980         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38981         definitions.
38982         (struct __gconv_step_data): Remove __trans member.
38983         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38984         longer hidden.  Remove unused trans_data argument.
38985         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38986         (__gconv_translit_find): Remove declaration.
38987         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38988         prototype.
38989         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38990         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38991         trans_data argument.  Add hidden definition.
38992         (__gconv_translit_find): Remove.
38993         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38994         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38995         * iconv/skeleton.c: Remove transliteration initialization.
38996         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38997         __gconv_step_data initialization.
38998         * libio/iofwide.c (__libio_translit_): Remove.
38999         (_IO_fwide): Adjust struct __gconv_step_data initialization.
39000         * wcsmbs/btowc.c (__btowc): Likewise.
39001         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39002         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39003         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
39004         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
39005         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
39006         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
39007         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
39008         * wcsmbs/wctob.c (wctob): Likewise.
39010 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
39012         [BZ #16194]
39013         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
39014         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
39015         register usage.
39016         * sysdeps/x86/Makefile: Adjust.
39018 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39019             Roland McGrath  <roland@hack.frob.com>
39021         * locale/weight.h: Add include guard.
39022         (findidx): Make static rather than auto; take new parameters
39023         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
39024         * locale/weightwc.h: Likewise.
39025         * posix/fnmatch_loop.c
39026         (FCT): Change type of EXTRA from int32_t to wint_t.
39027         Don't include either header inside the function.
39028         Call FINDIDX rather than findidx, and pass new arguments.
39029         #undef FINDIDX at the end of the file.
39030         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
39031         FINDIDX before including fnmatch_loop.c for the non-wide version.
39032         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
39033         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
39034         for the wide version.
39035         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
39036         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
39037         Pass new arguments to findidx.
39038         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
39039         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
39040         Don't #include it inside the function.  Pass new arguments to findidx.
39041         * posix/regex_internal.h
39042         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
39043         (re_string_elem_size_at): Don't #include it inside the function.
39044         Pass new arguments to findidx.
39045         * string/strcoll_l.c: #include WEIGHT_H at top level.
39046         (get_next_seq): Don't #include it inside the function.
39047         Pass new arguments to findidx.
39048         (get_next_seq_nocache): Likewise.
39049         * string/strxfrm_l.c: #include WEIGHT_H at top level.
39050         (STRXFRM): Don't #include it inside the function.
39051         Pass new arguments to findidx.
39053 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39055         [BZ #17344]
39056         * malloc/malloc.c (unlink): Turn asserts into a call to
39057         malloc_printerr.
39059 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39061         [BZ #17370]
39062         * libio/wfileops (do_ftell_wide): Free OUT.
39064 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39066         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39068 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39070         [BZ #17363]
39071         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39072         group if the current group is empty.
39074 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39076         * benchtests/bench-memset.c (test_main): Add more test from size
39077         from 32 to 512 bytes.
39078         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39079         Add POWER8 memset object.
39080         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39081         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39082         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39083         implementation.
39084         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39085         Likewise.
39086         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39087         multiarch POWER8 memset optimization.
39088         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39089         POWER8 memset optimization.
39091         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39092         Remove bzero multiarch objects.
39093         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39094         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39095         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39096         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39097         Remove define.
39098         [__bzero]: Redefine to specific name.
39099         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39100         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39101         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39102         define.
39103         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39104         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39106 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39108         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39109         warnings into errors.
39111         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39112         __cxa_thread_atexit_impl prototype.
39114 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39116         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39117         Fix capitalization of error message.
39119 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39121         * sysdeps/mips/preconfigure: Modify ABI tests.
39123 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39125         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39127 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39128             Carlos O'Donell  <carlos@systemhalted.org>
39130         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39131         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39132         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39133         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39134         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39135         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39136         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39137         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39138         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39139         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39140         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39141         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39142         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39143         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39144         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39145         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39146         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39147         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39148         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39149         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39150         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39151         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39152         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39153         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39154         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39155         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39156         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39157         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39158         Deconditionalize the code that was previously under [RESET_PID].
39159         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39160         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39161         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39162         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39163         include sysdep.h.
39165 2014-09-08  Allan McRae  <allan@archlinux.org>
39167         * version.h (RELEASE): Set to "development".
39168         (VERSION): Set to "2.20.90"
39170 2014-09-07  Allan McRae  <allan@archlinux.org
39172         * version.h (RELEASE): Set to "stable".
39173         (VERSION): Set to "2.20"
39174         * include/features.h (__GLIBC_MINOR__): Set to 20.
39176         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39177         Liebler.
39179         * po/ko.po: Update Korean translation from translation project.
39181 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39183         [BZ #17354]
39184         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39185         macro for handling signed relocations.
39187 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39189         [BZ #17325]
39190         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39191         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39192         assert.
39193         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39194         * iconvdata/ibm935.c (BODY): Likewise.
39195         * iconvdata/ibm937.c (BODY): Likewise.
39196         * iconvdata/ibm939.c (BODY): Likewise.
39197         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39198         assert.
39199         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39200         script.
39201         * iconvdata/run-iconv-test.sh: New test loop for checking for
39202         decoder crashers.
39204 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39206         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39207         libm_hidden_ver.
39209 2014-09-01  Allan McRae  <allan@archlinux.org>
39211         * po/eo.po: Update Esperanto translation from translation project.
39213         * po/ca.po: Update Catalan translation from translation project.
39215 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39217         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39218         __proc_dostop call.
39220 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39222         [BZ #17319]
39223         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39224         to call set_thread_area instead of hand written asm.
39225         (__NR_set_thread_area): Removed define.
39226         (TLS_FLAG_WRITABLE): Likewise.
39227         (__ASSUME_SET_THREAD_AREA): Remove check.
39228         (TLS_EBX_ARG): Remove define.
39229         (TLS_LOAD_EBX): Likewise.
39231 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39233         Simplify atomicity of socket creation in bind.
39235         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39236         looking up the name after linking the file.
39238 2014-08-27  Allan McRae  <allan@archlinux.org>
39240         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39242 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39244         [BZ #17187]
39245         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39246         trans_compare, open_translit, __gconv_translit_find):
39247         Remove module loading code.
39249 2014-08-26  Allan McRae  <allan@archlinux.org>
39251         * po/vi.po: Update Vietnamese translation from translation project.
39253         * po/uk.po: Update Ukrainian translation from translation project.
39255         * po/fr.po: Update French translation from translation project.
39257         * po/ru.po: Update Russian translation from translation project.
39259         * po/pl.po: Update Polish translation from translation project.
39261         * po/cs.po: Update Czech translation from translation project.
39263         * po/de.po: Update German translation from translation project.
39265         * po/bg.po: Update Bulgarian translation from translation project.
39267         * po/sv.po: Update Sweedish translation from translation project.
39269         * po/nl.po: Update Dutch translation from translation project.
39271         * po/es.po: Update Spanish translation from translation project.
39273 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39275         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39277         * catgets/Makefile (CPPFLAGS-gencat): Remove.
39278         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39279         (CPPFLAGS-iconvconfig): Likewise.
39280         * timezone/Makefile (CPPFLAGS-zic): Likewise.
39282         * include/libc-symbols.h: Remove unnecessary check for
39283         NOT_IN_libc.
39284         * nptl/pthreadP.h: Likewise.
39285         * sysdeps/aarch64/setjmp.S: Likewise.
39286         * sysdeps/alpha/setjmp.S: Likewise.
39287         * sysdeps/arm/sysdep.h: Likewise.
39288         * sysdeps/i386/setjmp.S: Likewise.
39289         * sysdeps/m68k/setjmp.c: Likewise.
39290         * sysdeps/posix/getcwd.c: Likewise.
39291         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39292         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39293         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39294         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39295         * sysdeps/sh/sh3/setjmp.S: Likewise.
39296         * sysdeps/sh/sh4/setjmp.S: Likewise.
39297         * sysdeps/unix/alpha/sysdep.h: Likewise.
39298         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39299         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39300         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39301         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39306         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39308         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39309         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39311         * sysdeps/x86_64/setjmp.S: Likewise.
39313 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
39315         [BZ #17263]
39316         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39317         <stdint.h>.
39318         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39319         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39321 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39323         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39325         [BZ #17262]
39326         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39327         and __x86_64__ when disabling x87 inline functions.
39329 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39331         [BZ #17259]
39332         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39333         asm statement with __cpuid_count.
39335 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39337         * configure.ac: Change __ehdr_start code to dereference the struct.
39338         Run readelf on the output to look for relocations.
39339         * configure: Regenerated.
39341 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39343         [BZ #17261]
39344         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39345         value to 0.
39346         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39348 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39350         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39352 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39354         [BZ #16892]
39355         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39356         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39358 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39360         * malloc/malloc.c: Fix typo in comment.
39362 2014-08-09  Allan McRae  <allan@archlinux.org>
39364         * Regenerate libc.po.
39366 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39368         * intl/tst-gettext2.sh: Check every lang file for creation.
39370 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39372         * sysdeps/aarch64/fpu/math_private.h
39373         (libc_feholdsetround_noex_aarch64_ctx): New function.
39375 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39377         * sysdeps/arm/armv6/strcpy.S (strcpy):
39378         Fix performance issue in misaligned cases.
39380 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39382         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39383         Move definition from termios.h.
39384         (struct termio): Likewise.
39385         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39386         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39387         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39388         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39389         Likewise.
39390         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39391         Move definition to ioctl-types.h
39392         (struct termio): Likewise.
39393         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39394         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39395         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39396         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39397         Likewise.
39399 2014-08-05  Richard Henderson  <rth@redhat.com>
39401         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39402         exceptions.
39403         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39404         Add fraiseexcpt.
39405         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39406         Use __feraiseexcept.
39407         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39408         Protect libm symbols with IS_IN_libm.
39410         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39412 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39414         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39416 2014-08-04  Will Newton  <will.newton@linaro.org>
39418         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39419         file.
39421 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39423         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39424         variants for each function.
39426 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39428         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39429         appended ...
39430         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39431         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39432         appended ...
39433         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39434         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39435         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39436         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39437         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39438         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39439         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39440         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39441         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39442         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39443         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39444         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39445         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39446         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39447         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39448         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39449         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39450         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39451         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39452         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39453         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39454         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39455         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39456         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39457         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39458         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39459         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39460         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39461         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39462         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39463         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39464         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39465         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39466         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39467         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39468         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39469         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39470         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39471         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39472         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39473         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39474         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39475         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39476         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39477         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39478         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39479         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39480         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39481         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39482         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39483         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39484         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39485         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39486         Update #include.
39487         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39488         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39490 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39492         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39493         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39494         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39495         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39496         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39497         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39499 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39501         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39502         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39503         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39504         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39506 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39508         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39509         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39510         (__libc_vfork): Define function under this name.
39511         (__vfork): Define as an alias.
39512         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39513         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39515 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39517         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39518         that was previously under [RESET_PID].
39519         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39521 2014-08-04  Andreas Schwab  <schwab@suse.de>
39523         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39525 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39527         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39528         (main): Likewise.
39530 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39532         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39534 2014-08-01  Richard Henderon  <rth@redhat.com>
39536         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39537         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39538         typo in exact zero test.
39539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39540         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39541         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39543 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39545         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39546         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39547         * sysdeps/arm/sysdep.h: ... here.
39548         [!__ASSEMBLER__]: Include <stdint.h>.
39550 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39552         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39553         (HAVE_WCTYPE_H): Likewise.
39554         (HAVE_ISWCTYPE): Likewise.
39555         (ENABLE_NLS): Likewise.
39556         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39557         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39559         * posix/regex_internal.c: Check if DEBUG is defined and is
39560         set.
39562         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39563         (HAVE_MBSRTOWCS): Likewise.
39564         * posix/fnmatch.c: Include string.h unconditionally.
39566 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39568         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39569         reversal.
39571 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39573         * sysdeps/generic/safe-fatal.h: New file.
39574         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39575         * nptl/forward.c: Include it.
39576         (__pthread_unwind): Use __safe_fatal as default action, rather
39577         than a bogus use of INTERNAL_SYSCALL that could never work.
39579         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39580         * configure.ac (libc_cv_builtin_trap): New test.
39581         * configure: Regenerated.
39582         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39583         (ABORT_INSTRUCTION): Define using __builtin_trap.
39585         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39586         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39587         * sysdeps/nptl/nptl-signals.h: New file.
39588         * nptl/pthreadP.h: Include <nptl-signals.h>.
39590 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39592         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39593         (ONE_DIRECTION): Define.
39594         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39595         (ONE_DIRECTION): Define.
39596         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39597         (ONE_DIRECTION): Define.
39599 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39601         * sysdeps/s390/Makefile: Delete file.
39602         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39603         * sysdeps/s390/__longjmp.c: Delete file.
39604         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39605         Remove fields __flags and __reserved.
39606         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39607         and add versioning.
39608         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39609         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39610         * sysdeps/s390/rtld-setjmp.S: Likewise.
39611         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39612         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39613         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39614         * sysdeps/s390/s390-32/setjmp.S: ... here.
39615         Add versioning.
39616         (__sigsetjmp): Remove setting __flags field.
39617         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39618         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39619         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39620         * sysdeps/s390/s390-64/setjmp.S: ... here.
39621         Add versioning.
39622         (__sigsetjmp): Remove setting __flags field.
39623         * sysdeps/s390/setjmp.S: Delete file.
39624         * sysdeps/s390/sigjmp.c: Likewise.
39625         * sysdeps/s390/v1-longjmp.c: Likewise.
39626         * sysdeps/s390/v1-setjmp.h: Likewise.
39627         * sysdeps/s390/v1-sigjmp.c: Likewise.
39628         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39629         Remove v1-longjmp_chk.
39630         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39631         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39632         Include debug/longjmp_chk.c and add versioning.
39633         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39634         Include nptl/pt-longjmp.c and add versioning.
39635         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39636         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39637         Include __longjmp.c.
39638         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39639         Move to ...
39640         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39641         (__getcontext): Remove setting __flags field.
39642         Add versioning.
39643         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39644         Don't restore upper high grps.
39645         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39646         Likewise.
39647         (__swapcontext): Remove setting uc_flags field.
39648         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39649         Delete file.
39650         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39651         Include __longjmp.c.
39652         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39653         Move to ...
39654         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39655         (__getcontext): Remove setting __flags field.
39656         Add versioning.
39657         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39658         (__swapcontext): Remove setting uc_flags field.
39659         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39660         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39661         Remove fields uc_high_gprs and __reserved.
39662         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39663         New file with reverted content.
39664         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39665         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39666         Regenerated.
39667         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39668         Regenerated.
39670 2014-07-31  Andreas Schwab  <schwab@suse.de>
39672         * config.h.in (HAVE_IFUNC): Define to 0.
39673         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39674         definedness.
39676 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39679         memmove-avx-unaligned, memcpy-avx-unaligned and
39680         mempcpy-avx-unaligned.
39681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39682         Add tests for AVX memcpy functions.
39683         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39684         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39685         memcpy_chk.
39686         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39687         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39688         memmove_chk.
39689         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39690         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39691         mempcpy_chk.
39692         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39693         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39694         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39696 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39698         [BZ #17213]
39699         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39700         powerpc64le.
39702 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39704         [BZ #16839]
39705         * manual/llio.texi: Add section about open file description locks.
39706         * manual/examples/ofdlocks.c: Example of open file description
39707         lock usage.
39708         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39709         F_OFD_SETLK, and F_OFD_SETLKW.
39711 2014-07-23  Allan McRae  <allan@archlinux.org>
39713         * po/es.po: Update Spanish translation from translation project.
39715 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39717         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39719 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39721         [BZ #17078]
39722         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39723         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39724         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39726 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39728         [BZ #17088]
39729         * math/fesetenv.c (__fesetenv)
39730         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39731         * math/feupdateenv.c (__feupdateenv)
39732         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39734         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39735         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39736         (__ASSUME_SOCKETCALL): Do not define.
39738         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39739         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39740         (__ASSUME_SOCKETCALL): Do not define.
39741         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39742         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39743         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39744         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39745         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39746         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39747         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39748         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39750         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39751         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39752         (__ASSUME_SOCKETCALL): Do not define.
39753         (__ASSUME_IPC64): Define unconditionally.
39754         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39755         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39756         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39757         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39758         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39759         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39760         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39761         Likewise.
39763         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39764         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39765         (__ASSUME_SOCKETCALL): Do not define.
39766         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39767         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39768         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39769         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39770         (__ASSUME_REQUEUE_PI): Define unconditionally.
39771         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39772         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39773         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39774         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39775         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39776         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39778         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39779         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39780         (__ASSUME_SOCKETCALL): Do not define.
39781         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39782         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39783         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39784         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39785         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39786         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39788         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39789         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39790         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39791         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39792         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39793         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39794         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39795         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39796         (__ASSUME_GETCPU_SYSCALL): Likewise.
39798         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39799         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39800         cases for individual architectures.
39801         * sysdeps/gnu/configure: Regenerated.
39802         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39803         LIBC_SLIBDIR_RTLDDIR.
39804         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39805         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39806         LIBC_SLIBDIR_RTLDDIR.
39807         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39809         LIBC_SLIBDIR_RTLDDIR.
39810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39811         Regenerated.
39812         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39813         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39814         file.
39815         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39816         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39817         file.
39818         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39819         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39820         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39821         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39823         * sysdeps/aarch64/shlib-versions: Move to ...
39824         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39825         * sysdeps/alpha/shlib-versions: Move to ...
39826         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39827         * sysdeps/arm/shlib-versions: Move to ...
39828         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39829         * sysdeps/hppa/shlib-versions: Move all contents except for
39830         libgcc_s entry to ...
39831         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39832         entry from ...
39833         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39834         * sysdeps/ia64/shlib-versions: Move to ...
39835         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39836         entry from ...
39837         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39838         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39839         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39840         * sysdeps/microblaze/shlib-versions: Move to ...
39841         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39842         * sysdeps/mips/shlib-versions: Move to ...
39843         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39844         entry from ...
39845         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39846         * sysdeps/tile/shlib-versions: Move to ...
39847         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39848         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39849         from ...
39850         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39851         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39852         entry from ...
39853         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39855 2014-07-17  Will Newton  <will.newton@linaro.org>
39857         * sysdeps/arm/bits/atomic.h
39858         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39859         (__arch_compare_and_exchange_bool_16_int): Likewise.
39860         (__arch_compare_and_exchange_bool_64_int): Likewise.
39862         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39863         into an #else block.
39865 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39867         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39868         just Linux configurations.  Test empirically that the compiler sets
39869         __ARM_EABI__, rather than using the tuple to decide.
39870         * sysdeps/arm/preconfigure: Regenerated.
39871         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39872         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39873         contents appended ...
39874         * sysdeps/arm/configure.ac: ... here.
39875         * sysdeps/arm/configure: Regenerated.
39877 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39879         * nptl/pthread_kill.c: New file.
39880         * nptl/pthread_sigmask.c: New file.
39881         * nptl/pthread_sigqueue.c: New file.
39883         * sysdeps/nptl/lowlevellock.h: New file.
39884         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39885         * sysdeps/nptl/lowlevellock-futex.h: New file.
39887         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39888         Remove dead declarations.
39890 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39892         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39893         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39894         config-cflags-avx2.
39895         * sysdeps/x86_64/configure.ac: Likewise.
39896         * sysdeps/i386/configure: Regenerated.
39897         * sysdeps/x86_64/configure: Likewise.
39898         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39899         memset-avx2 only if config-cflags-avx2 is yes.
39900         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39901         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39902         defined.
39903         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39904         only if HAVE_AVX2_SUPPORT is defined.
39905         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39907 2014-07-14  Alan Modra  <amodra@gmail.com>
39909         [BZ #17153]
39910         * elf/elf.h (DT_PPC64_NUM): Correct value.
39911         * NEWS: Add to fixed bug list.
39913 2014-07-13  Jim Meyering  <meyering@fb.com>
39915         [BZ 17150]
39916         regex: don't deref NULL upon heap allocation failure
39917         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39918         failure in one more place.
39919         To trigger the segfault, configure grep -with-included-regex,
39920         build it, and run these commands:
39921         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39923 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39925         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39927 2014-07-11  Richard Henderson  <rth@redhat.com>
39929         * sysdeps/aarch64/libm-test-ulps: Update.
39931 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39933         [BZ #17135]
39934         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39935         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39936         (__nptl_setxid): Initialize error member.  Call
39937         __nptl_setxid_error.
39938         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39939         * nptl/descr.h (struct xid_command): Add error member.
39940         * nptl/tst-setuid3.c: New file.
39941         * nptl/Makefile (tests): Add it.
39943 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39945         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39946         New define.
39947         (__lll_trylock): Use __lll_base_trylock.
39948         (__lll_cond_trylock): Likewise.
39950 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39952         * nptl/pthread_create.c (start_thread): Use atomic_or and
39953         lll_futex_wake directly rather than lll_robust_dead.
39954         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39955         (lll_robust_dead): Macro removed.
39956         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
39957         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39958         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39959         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39960         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39961         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39962         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39963         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39964         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39965         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39966         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39967         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39968         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39969         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39970         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39972         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39973         Use atomic_compare_and_exchange_val_acq directly rather than
39974         lll_robust_trylock.
39975         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39976         (__lll_robust_trylock, lll_robust_trylock): Removed.
39977         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39978         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39979         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39980         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39981         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39982         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39983         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39984         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39985         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39986         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39987         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39988         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39989         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39990         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39992 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39994         * manual/locale.texi (Locale Names): New section documenting
39995         locale name syntax.  Adjust menu and node chaining accordingly.
39996         (Choosing Locale): Reference Locale Names, Locale Categories.
39997         Mention setting LC_ALL=C.  Reflect that name syntax is now
39998         documented.
39999         (Locale Categories): New section title.  Reference Locale Names.
40000         LC_ALL is an environment variable, but not a category.
40001         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
40002         description, now in Locale Name.  Reference that section.  Locale
40003         name syntax is now documented.
40005 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40007         [BZ #17137]
40008         * locale/findlocale.c (name_present, valid_locale_name): New
40009         functions.
40010         (_nl_find_locale): Use the loc_name variable to store name
40011         candidates.  Call name_present and valid_locale_name to check and
40012         validate locale names.  Return an error if the locale is invalid.
40014 2014-07-02  Florian Weimer  <fweimer@redhat.com>
40016         * locale/setlocale.c (setlocale): Use strdup for allocating
40017         composite name copy.
40019 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40021         Sync up with gnulib.
40022         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
40023         [!_LIBC && ENABLE_NLS]: Include gettext.h.
40024         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
40025         and _GL_ARG_NONNULL.
40026         [USE_UNLOCKED_IO]: Include unlocked-io.h.
40027         [!_LIBC]: Include code for Windows and Cygwin.
40028         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
40029         Include prototype for int strerror_r.
40030         [!_LIBC] (is_open): New function.
40031         (flush_stdout): New function.
40032         (print_errno_message): Use it.
40033         (error): Likewise.
40034         (error_at_line): Likewise.
40035         (error_tail) Add function attribute macros.  Use
40036         __builtin_expect.
40038         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
40040         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
40042         * io/ftw.c: Include sys/param.h unconditionally.
40044         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
40046         [BZ #17125]
40047         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
40048         libc_freeres_ptr.
40049         (freecache): New function to free CACHE on exit.
40051         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
40052         initialization.
40054 2014-07-09  David S. Miller  <davem@davemloft.net>
40056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40058         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40059         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40060         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40061         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40062         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40063         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40064         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40065         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40066         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40067         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40068         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40069         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40070         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40072 2014-07-09  Andreas Schwab  <schwab@suse.de>
40074         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40075         output.
40076         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40077         (do_test): Likewise.
40079         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40081 2014-07-09  Will Newton  <will.newton@linaro.org>
40083         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40084         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40085         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40086         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40087         * sysdeps/hppa/start.S (_start): Likewise.
40089 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40091         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40093         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40094         defined.
40096 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40098         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40099         after checking that it is non-NULL.
40101         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40103 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40105         * sysdeps/powerpc/memmove.c: Remove file.
40106         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40107         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40108         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40109         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40110         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40111         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40112         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40113         string memmove instead of removed powerpc one.
40115         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40116         [weak_alias]: Fix compiler warning due trailing data.
40117         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40118         [weak_alias]: Likewise.
40119         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40120         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40122         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40123         (__libc_ifunc_impl_list): Add memmove functions.
40125 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40127         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40128         Remove code.
40129         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40130         Likewise.
40131         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40132         Likewise.
40133         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40134         Likewise.
40135         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40136         Likewise.
40137         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40138         Likewise.
40139         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40140         Likewise.
40141         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40142         Likewise.
40143         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40144         Likewise.
40145         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40146         Likewise.
40147         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40148         Likewise.
40149         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40150         Likewise.
40151         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40152         Likewise.
40153         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40154         Likewise.
40155         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40156         Likewise.
40157         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40158         Likewise.
40159         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40160         Likewise.
40162 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40164         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40165         to avoid alignment traps in non-cacheable memory.
40166         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40168         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40169         multiarch objects.
40170         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40171         file: multiarch power7 memmove.
40172         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40173         multiarch default memmove.
40174         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40175         multiarch memove for powerpc32/power4.
40177         * string/bcopy.c: Use full path to include memmove.c.
40178         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40179         multiarch objects.
40180         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40181         bcopy for powerpc64.
40182         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40183         bcopy for powerpc64.
40184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40185         and memmove implementations.
40186         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40187         optimized multiarch memmove for POWER7/powerpc64.
40188         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40189         default multiarch memmove for powerpc64.
40190         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40191         multiarch for powerpc64.
40192         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40193         for POWER7/powerpc64.
40194         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40195         memmove for POWER7/powerpc64.
40197         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40198         glibc default one.
40200         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40201         __ELF_NATIVE_CLASS equal to 64.
40203 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40205         * sysdeps/nptl/lowlevellock.h: File removed.
40207         * NEWS: NPTL is no longer an add-on!
40208         * nptl/internaltypes.h: Moved ...
40209         * sysdeps/nptl/internaltypes.h: ... here.
40210         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40211         * sysdeps/nptl/fork.c: Likewise.
40212         * sysdeps/nptl/gai_misc.h: Likewise.
40213         * sysdeps/nptl/librt-cancellation.c: Likewise.
40214         * sysdeps/nptl/jmp-unwind.c: Likewise.
40215         * sysdeps/nptl/setxid.h: Likewise.
40216         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40217         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40218         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40219         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40220         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40221         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40222         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40223         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40224         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40225         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40226         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40227         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40228         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40229         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40230         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40231         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40232         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40233         * nptl/Makeconfig: Moved ...
40234         * sysdeps/nptl/Makeconfig: ... here.
40235         * nptl/configure: File removed.
40236         * nptl/ANNOUNCE: File removed.
40237         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40238         * sysdeps/unix/sysv/linux/configure: Regenerated.
40240         * nptl/Makefile (routines): Add libc_pthread_init,
40241         libc_multiple_threads, register-atfork and unregister-atfork.
40242         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40243         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40244         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40245         pthread-pi-defines.sym, structsem.sym.
40246         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40247         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40248         [$(subdir) = nptl] (tests): Add tst-setgetname.
40249         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40250         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40251         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40252         [!LIBC_SIGACTION]: Remove aliases.
40253         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40254         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40255         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40256         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40257         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40258         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40259         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40260         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40261         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40262         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40263         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40264         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40265         __libc_allocate_rtsig_private.
40266         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40267         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40268         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40269         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40270         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40271         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40272         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40273         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40274         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40275         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40276         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40277         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40278         * nptl/internaltypes.h: ... here.
40279         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40280         * sysdeps/nptl/jmp-unwind.c: ... here.
40281         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40282         * nptl/libc-lowlevellock.c: ... here.
40283         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40284         * nptl/libc_multiple_threads.c: ... here.
40285         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40286         * nptl/libc_pthread_init.c: ... here.
40287         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40288         * nptl/lowlevelbarrier.sym: ... here.
40289         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40290         * nptl/lowlevelcond.sym: ... here.
40291         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40292         * nptl/lowlevellock.c: ... here.
40293         * nptl/lowlevellock.h: Moved ...
40294         * sysdeps/nptl/lowlevellock.h: ... here.
40295         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40296         * nptl/lowlevelrobustlock.c: ... here.
40297         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40298         * nptl/lowlevelrobustlock.sym: ... here.
40299         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40300         * nptl/lowlevelrwlock.sym: ... here.
40301         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40302         * nptl/pt-fork.c: ... here.
40303         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40304         * nptl/pthread-pi-defines.sym: ... here.
40305         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40306         * nptl/pthread_attr_getaffinity.c: ... here.
40307         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40308         * nptl/pthread_attr_setaffinity.c: ... here.
40309         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40310         * nptl/pthread_mutex_cond_lock.c: ... here.
40311         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40312         Update #include.
40313         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40314         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40315         * nptl/pthread_once.c: ... here, replacing old file.
40316         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40317         * nptl/pthread_yield.c: ... here.
40318         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40319         * nptl/register-atfork.c: ... here.
40320         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40321         * nptl/sem_post.c: ... here.
40322         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40323         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40324         * nptl/sem_timedwait.c: ... here.
40325         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40326         * nptl/sem_trywait.c: ... here.
40327         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40328         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40329         * nptl/sem_wait.c: ... here.
40330         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40331         * nptl/structsem.sym: ... here.
40332         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40333         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40334         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40335         * nptl/unregister-atfork.c: ... here.
40336         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40337         * nptl/unwindbuf.sym: ... here.
40338         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40339         * sysdeps/nptl/fork.c: ... here.
40340         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40341         * sysdeps/nptl/fork.h: ... here.
40342         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40343         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40344         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40345         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40346         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40347         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40348         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40349         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40350         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40351         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40352         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40353         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40354         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40355         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40356         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40357         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40358         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40359         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40360         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40361         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40362         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40363         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40364         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40365         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40366         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40367         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40368         * sysdeps/unix/sysv/linux/raise.c: ... here.
40369         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40370         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40371         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40372         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40373         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40374         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40375         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40376         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40377         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40378         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40379         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40380         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40381         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40382         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40383         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40385 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40387         * sysdeps/generic/memcopy.h: Add comment for
40388         MEMCPY_OK_FOR_FWD_MEMMOVE.
40390 2014-07-04  Will Newton  <will.newton@linaro.org>
40392         * string/memchr.c: Merge from gnulib.
40393         [_LIBC]: Remove conditionals.
40394         (__ptr_t): Remove define.
40395         (LONG_MAX_32_BITS): Likewise.
40396         (LONG_MAX): Likewise.
40397         (MEMCHR): Use ANSI prototype and optimize algorithm.
40399         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40401 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40403         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40404         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40406         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40407         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40408         in a bare environment with no <stdlib.h> installed.
40409         * sysdeps/nptl/configure: Regenerated.
40411         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40413         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40414         AC_EGREP_CPP for kernel header checks, so they only succeed if
40415         including <linux/version.h> actually works right.
40416         * sysdeps/unix/sysv/linux/configure: Regenerated.
40418         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40419         value so it's not diagnosed as unused.
40421         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40422         thing) with "ifeq ($(subdir),rt)".
40424 2014-07-03  Richard Henderson  <rth@redhat.com>
40426         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40427         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40428         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40430         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40431         (math_force_eval): New.
40433         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40434         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40436         * sysdeps/alpha/fpu/s_round.c: Remove file.
40437         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40439         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40440         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40441         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40442         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40443         (_dl_start, print_statistics): Likewise.
40444         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40445         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40447         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40448         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40449         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40450         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40451         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40452         (HP_SMALL_TIMING_AVAIL): Define.
40453         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40454         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40455         (HP_SMALL_TIMING_AVAIL): Define.
40456         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40457         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40459         * sysdeps/aarch64/hp-timing.h: New file.
40461         * sysdeps/generic/hp-timing.h: Remove dead comment.
40462         * sysdeps/generic/hp-timing-common.h: New file.
40463         * sysdeps/alpha/hp-timing.h: Include it.
40464         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40465         * sysdeps/i386/i686/hp-timing.h: Likewise.
40466         * sysdeps/ia64/hp-timing.h: Likewise.
40467         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40468         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40469         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40470         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40471         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40472         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40473         (hp_timing_t): New.
40475         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40476         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40477         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40478         * elf/rtld.c (_dl_start_final): Likewise.
40479         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40480         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40481         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40482         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40483         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40484         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40485         (HP_TIMING_DIFF_INIT): Remove.
40486         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40487         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40488         (HP_TIMING_DIFF_INIT): Remove.
40489         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40490         * sysdeps/i386/i686/hp-timing.c: Remove file.
40491         * sysdeps/x86_64/hp-timing.c: Remove file.
40492         * sysdeps/ia64/hp-timing.c: Remove file.
40493         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40494         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40495         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40496         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40498         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40499         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40500         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40501         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40502         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40503         (HP_TIMING_ACCUM): Remove.
40504         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40505         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40506         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40508         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40509         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40510         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40511         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40512         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40513         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40514         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40515         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40517         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40519 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40521         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40523 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40525         Sync up with gettext.
40526         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40527         [_MSC_VER]: Include malloc.h
40528         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40529         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40530         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40531         TEMP_FAILURE_RETRY.  Cast return of alloca.
40532         [!_LIBC] Call gl_rwlock_init.
40533         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40535 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40537         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40538         before checking its value.
40540 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40542         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40544         * debug/memcpy_chk.c: Don't include pagecopy.h.
40545         * debug/mempcpy_chk.c: Likewise.
40546         * string/memcpy.c: Likewise.
40547         * string/memmove.c: Likewise.
40548         * sysdeps/powerpc/memmove.c: Likewise.
40549         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40550         definition of PAGE_COPY_FWD_MAYBE here...
40551         * sysdeps/generic/pagecopy.h: ... from here.
40552         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40554 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40555             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40557         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40558         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40559         optimizations.
40560         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40561         (__libc_ifunc_impl_list): Likewise.
40562         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40563         multiarch strcat for PPC64.
40564         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40565         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40567 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40569         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40571 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40573         * intl/loadmsgcat.c: Remove declaration of
40574         get_sysdep_segment_value.
40575         (get_sysdep_segment_value): Use ISO C style.
40576         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40577         semicolon.  Fix typo and formatting in comment.
40578         (_nl_unload_domain): Use ISO C style.
40580         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40582 2014-07-02  Will Newton  <will.newton@linaro.org>
40584         * malloc/obstack.c: Merge from gnulib master.
40585         [HAVE_CONFIG_H]: Remove conditional code.
40586         [!_LIBC]: Include config.h.
40587         [!ELIDE_CODE]: Don't include inttypes.h, include
40588         stdint.h unconditionally.
40589         (print_and_abort): Mark as _Noreturn.
40590         (_obstack_allocated_p): Mark as __attribute_pure__.
40591         (obstack_free): Rename to __obstack_free.
40592         [!__attribute__]: Remove conditional code.
40593         * malloc/obstack.h: Merge from gnulib master.
40594         [__cplusplus]: Move conditional down.
40595         [!__attribute_pure__]: Define __attribute_pure__ here
40596         if it is not already defined.
40597         (_obstack_memory_used): Mark as __attribute_pure__.
40598         [!__obstack_free]: Define as obstack_free.
40599         [__GNUC__]: Remove check for ancient NeXT gcc.
40601 2014-07-02  Will Newton  <will.newton@linaro.org>
40602             Paul Eggert  <eggert@cs.ucla.edu>
40604         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40606 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40608         * resolv/gethnamaddr.c: Add comment warning that the file is
40609         not maintained.
40611 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40613         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40614         entries.
40616         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40617         entry for aio_cancel and aio_cancel64.
40618         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40619         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40620         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40621         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40622         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40623         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40624         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40625         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40626         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40627         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40628         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40629         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40630         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40632 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40634         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40635         * nptl/pthread_mutex_lock.c: Likewise.
40636         * nptl/pthread_mutex_timedlock.c: Likewise.
40637         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40639 2014-07-01  Richard henderson  <rth@redhat.com>
40641         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40642         (__isnan, __isnanl): Remove.
40643         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40645         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40647 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40649         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40651 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40653         * resolv/nss_dns/dns-host.c (getanswer_r)
40654         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40656 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40658         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40659         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40660         undefine.
40661         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40662         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40664 2014-07-01  Roland McGrath <roland@hack.frob.com>
40666         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40667         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40669         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40670         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40672         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40673         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40674         ... here.
40675         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40676         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40678         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40679         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40680         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40681         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40683         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40684         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40685         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40686         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40687         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40688         Moved ...
40689         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40690         ... here.
40691         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40692         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40693         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40694         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40695         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40696         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40697         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40698         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40699         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40700         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40701         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40702         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40703         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40704         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40705         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40706         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40707         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40708         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40709         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40710         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40711         ... here.
40712         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40713         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40714         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40715         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40716         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40717         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40718         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40719         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40721 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40723         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40724         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40725         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40726         Add sysdep.
40728 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40732 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40734         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40735         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40737         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40739         * sysdeps/arm/libm-test-ulps: Regenerated.
40741 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40742             Roland McGrath <roland@hack.frob.com>
40744         * test-skeleton.c (signal_handler): Kill the whole process group
40745         before killing the child individually.
40746         (main): Report any failure on `setpgid'.
40748 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40750         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40751         from _TLS_H to _ARM_NPTL_TLS_H.
40752         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40753         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40755 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40757         [BZ #16539]
40758         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40759         (__expm1l): Return argument unchanged when small but not
40760         subnormal.
40762         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40763         include macro name.
40764         (_FP_UNPACK_RAW_1_P): Likewise.
40765         (_FP_PACK_RAW_1): Likewise.
40766         (_FP_PACK_RAW_1_P): Likewise.
40767         (_FP_MUL_MEAT_1_wide): Likewise.
40768         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40769         (_FP_MUL_MEAT_1_hard): Likewise.
40770         (_FP_DIV_MEAT_1_imm): Likewise.
40771         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40772         (_FP_DIV_MEAT_1_udiv): Likewise.
40773         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40774         (_FP_UNPACK_RAW_2): Likewise.
40775         (_FP_UNPACK_RAW_2_P): Likewise.
40776         (_FP_PACK_RAW_2): Likewise.
40777         (_FP_PACK_RAW_2_P): Likewise.
40778         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40779         (_FP_MUL_MEAT_2_wide): Likewise.
40780         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40781         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40782         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40783         (_FP_MUL_MEAT_2_gmp): Likewise.
40784         (_FP_DIV_MEAT_2_udiv): Likewise.
40785         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40786         (_FP_FRAC_SRL_4): Likewise.
40787         (_FP_FRAC_SRST_4): Likewise.
40788         (_FP_FRAC_SRS_4): Likewise.
40789         (_FP_UNPACK_RAW_4): Likewise.
40790         (_FP_UNPACK_RAW_4_P): Likewise.
40791         (_FP_PACK_RAW_4): Likewise.
40792         (_FP_PACK_RAW_4_P): Likewise.
40793         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40794         (_FP_MUL_MEAT_4_wide): Likewise.
40795         (_FP_MUL_MEAT_4_gmp): Likewise.
40796         (umul_ppppmnnn): Likewise.
40797         (_FP_DIV_MEAT_4_udiv): Likewise.
40798         (__FP_FRAC_ADD_4): Likewise.
40799         (__FP_FRAC_SUB_3): Likewise.
40800         (__FP_FRAC_SUB_4): Likewise.
40801         (__FP_FRAC_DEC_3): Likewise.
40802         (__FP_FRAC_DEC_4): Likewise.
40803         (__FP_FRAC_ADDI_4): Likewise.
40804         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40805         (_FP_FRAC_SRL_8): Likewise.
40806         (_FP_FRAC_SRS_8): Likewise.
40808         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40809         include macro name.
40810         (FP_UNPACK_RAW_EP): Likewise.
40811         (FP_PACK_RAW_E): Likewise.
40812         (FP_PACK_RAW_EP): Likewise.
40813         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40814         (_FP_ISSIGNAN): Likewise.
40815         (_FP_ADD_INTERNAL): Likewise.
40816         (_FP_FMA): Likewise.
40817         (_FP_CMP): Likewise.
40818         (_FP_SQRT): Likewise.
40819         (_FP_TO_INT): Likewise.
40820         (_FP_FROM_INT): Likewise.
40821         (FP_EXTEND): Likewise.
40822         (_FP_DIV_MEAT_N_loop): Likewise.
40824 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40826         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40827         throughout.
40829 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40831         [BZ #17097]
40832         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40833         result with correct sign in case of exponents that produce
40834         overflow except for X very close to 1.
40836 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40838         mktime: merge #if/#ifdef usage from glibc
40839         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40840         as that works with both Glibc's and Gnulib's style.
40841         See thread starting at Siddhesh Poyarekar's bug report at:
40842         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40844 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40846         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40847         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40848         * sysdeps/tile/tilegx/memmove.c: Remove file.
40850 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40852         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40853         abi-name definition.
40854         * scripts/soversions.awk: Do not handle or generate ABI lines.
40855         * shlib-versions: Remove ABI entries.
40856         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40857         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40859 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40861         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40862         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40863         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40864         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40865         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40866         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40867         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40868         Moved ...
40869         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40870         ... here.
40871         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40872         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40873         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40874         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40876         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40878         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40880         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40882         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40883         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40884         Moved ...
40885         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40886         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40887         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40888         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40889         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40890         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40891         Moved ...
40892         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40893         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40894         Moved ...
40895         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40896         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40897         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40898         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40899         Moved ...
40900         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40901         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40902         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40903         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40904         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40905         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40906         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40907         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40908         Moved ...
40909         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40910         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40911         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40912         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40913         Moved ...
40914         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40915         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40916         Moved ...
40917         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40919         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40921         Moved ...
40922         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40923         ... here.
40924         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40925         Identical file removed.
40926         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40927         Moved ...
40928         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40930         Identical file removed.
40931         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40932         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40933         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40934         Moved ...
40935         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40936         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40937         Identical file removed.
40938         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40939         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40941         Identical file removed.
40942         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40943         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40944         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40945         Identical file removed.
40946         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40947         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40948         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40949         Identical file removed.
40950         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40951         Moved ...
40952         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40953         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40954         Identical file removed.
40955         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40956         Moved ...
40957         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40958         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40959         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40960         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40961         Identical file removed.
40962         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40963         Moved ...
40964         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40965         ... here.
40966         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40967         Identical file removed.
40968         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40969         Moved ...
40970         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40971         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40972         Identical file removed.
40973         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40974         Moved ...
40975         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40976         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40977         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40978         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40979         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40980         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40981         Moved ...
40982         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40983         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40984         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40986         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40987         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40988         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40989         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40990         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40992 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40994         [BZ #17092]
40995         * nscd/nscd.c (monitor_child): Return exit status of child
40996         instead of return value from wait syscall.
40998 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
41000         * configure.ac (libc_commonpagesize): Remove variable.
41001         (libc_relro_required): Likewise.
41002         (libc_cv_z_relro): Remove configure test.
41003         * configure: Regenerated.
41004         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
41005         variable.
41006         (libc_relro_required): Likewise.
41007         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
41008         (libc_relro_required): Likewise.
41009         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
41010         (libc_relro_required): Likewise.
41011         * sysdeps/arm/preconfigure: Regenerated.
41012         * sysdeps/ia64/preconfigure: Remove file.
41013         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
41014         variable.
41015         (libc_relro_required): Likewise.
41017         [BZ #16561]
41018         [BZ #16562]
41019         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
41020         (__ieee754_yn): Set FE_TONEAREST mode internally and then
41021         recompute overflowing results in original rounding mode.
41022         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
41023         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41024         recompute overflowing results in original rounding mode.
41025         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
41026         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41027         recompute overflowing results in original rounding mode.
41028         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
41029         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41030         recompute overflowing results in original rounding mode.
41031         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
41032         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
41033         recompute overflowing results in original rounding mode.
41034         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
41035         (libc_feholdsetround_ctx): New macro.
41036         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
41037         * sysdeps/i386/fpu/libm-test-ulps: Update.
41038         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
41040 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41042         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
41043         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
41044         corresponding .cpsetup call.
41046 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41048         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
41049         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
41050         * sysdeps/arm/Makefile [$(subdir) = csu]
41051         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
41052         (static-only-routines): Add aeabi_read_tp here.
41053         (shared-only-routines): Add libc-aeabi_read_tp here.
41054         (CFLAGS-libc-start.c): Add -fexceptions here.
41055         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41056         (sysdep_routines, static-only-routines, shared-only-routines):
41057         Don't add to these here.
41058         (CFLAGS-libc-start.c): Likewise.
41060         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41061         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41062         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41063         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41064         * sysdeps/arm/Makefile [$(subdir) = rt]
41065         (librt-sysdep_routines, librt-shared-only-routines):
41066         Append rt-aeabi_unwind_cpp_pr1 here.
41067         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41068         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41069         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41070         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41071         Append nptl-aeabi_unwind_cpp_pr1 here.
41072         (tests): Filter out tst-cleanupx4 here.
41073         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41074         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41075         Don't do those here.
41077 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41079         * scripts/list-sources.sh: Do not handle ports specially.
41081 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41083         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41084         * sysdeps/arm/feupdateenv.c: Likewise.
41086         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41088 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41090         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41091         trailing whitespace removed.
41092         * scripts/config.guess: Update to version 2014-03-23.
41093         * scripts/config.sub: Update to version 2014-05-01
41094         * scripts/install-sh: Update to version 2013-12-25.23.
41095         * scripts/move-if-change: Update from gnulib.
41097 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41099         * debug/memmove_chk.c: Remove pagecopy.h include.
41101 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41103         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41104         identical to gnulib mktime.
41106 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41108         * configure.ac: Do not test for machine being rs6000.  Do not test
41109         for powerpc*-*soft.
41110         * configure: Regenerated.
41112         [BZ #11505]
41113         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41114         test.
41115         * configure: Regenerated.
41116         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41117         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41118         Remove configure test.
41119         * sysdeps/arm/configure: Regenerated.
41120         * sysdeps/nptl/configure.ac: Do not check
41121         libc_cv_asm_cfi_directives.
41122         * sysdeps/nptl/configure: Regenerated.
41123         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41124         * sysdeps/x86_64/nptl/configure: Remove generated file.
41125         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41126         unconditional.
41127         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41129 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41131         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41132         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41133         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41134         it is defined.
41136         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41137         instead of whether it is defined.
41138         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41139         * sysdeps/hppa/dl-machine.h: Likewise.
41140         * sysdeps/ia64/dl-machine.h: Likewise.
41141         * sysdeps/m68k/dl-machine.h: Likewise.
41142         * sysdeps/microblaze/dl-machine.h: Likewise.
41143         * sysdeps/mips/dl-machine.: Likewise.
41144         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41145         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41146         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41147         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41148         * sysdeps/sh/dl-machine.h: Likewise.
41149         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41150         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41151         * sysdeps/tile/dl-machine.h: Likewise.
41152         * sysdeps/x86_64/dl-machine.h: Likewise.
41154         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41155         code.
41156         (verify_persistent_db): Likewise.
41158 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41160         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41161         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41163         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41165         Moved ...
41166         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41167         ... here.
41168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41169         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41171         Identical file removed.
41172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41173         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41175         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41177         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41179         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41181         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41183         Moved ...
41184         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41186         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41188         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41190         Moved ...
41191         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41193         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41195         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41197         Identical file removed.
41198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41199         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41201         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41202         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41203         Moved ...
41204         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41205         ... here.
41206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41207         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41208         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41209         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41211         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41213         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41215         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41217         Moved ...
41218         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41220         Moved ...
41221         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41223         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41225         Moved ...
41226         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41228         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41230         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41231         folded into ...
41232         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41233         * sysdeps/unix/sysv/linux/s390/Versions
41234         (libpthread: GLIBC_2.19): New version set.
41235         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41236         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41237         (librt: GLIBC_2.3.3): New version set.
41238         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41239         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41240         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41241         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41242         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41243         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41244         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41245         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41246         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41247         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41248         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41249         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41250         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41251         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41252         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41253         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41254         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41255         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41256         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41257         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41258         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41259         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41260         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41261         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41262         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41263         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41264         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41265         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41266         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41267         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41268         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41269         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41270         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41271         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41273         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41274         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41275         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41276         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41277         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41278         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41279         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41280         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41281         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41282         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41284         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41285         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41286         (__libc_vfork): Define the function under this name.
41287         [!NOT_IN_libc] (__vfork): Make this an alias.
41288         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41290         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41291         (__libc_vfork): Define the function under this name.
41292         [!NOT_IN_libc] (__vfork): Make this an alias.
41293         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41294         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41295         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41296         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41297         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41298         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41300         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41301         code that was previously under [RESET_PID].
41302         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41303         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41304         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41306         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41307         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41308         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41309         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41310         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41311         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41312         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41313         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41314         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41315         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41316         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41317         Moved ...
41318         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41319         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41320         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41321         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41322         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41323         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41324         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41325         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41326         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41327         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41328         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41329         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41330         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41331         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41332         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41333         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41334         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41335         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41336         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41337         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41338         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41339         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41340         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41341         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41342         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41343         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41344         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41345         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41346         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41348 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41350         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41351         that was previously under [RESET_PID].
41352         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41354 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41356         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41357         not undefine and redefine.
41358         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41359         [O_CLOEXEC]: Make code unconditional.
41360         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41361         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41362         <kernel-features.h>.
41363         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41364         conditional variable definition.
41365         (shm_open) [O_CLOEXEC]: Make code unconditional.
41366         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41367         code.
41369         * configure.ac (USE_REGPARMS): Don't define here.
41370         * configure: Regenerated.
41371         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41372         * sysdeps/i386/configure: Regenerated.
41374         * nptl/createthread.c: Don't include kernel-features.h.
41375         * nptl/pthread_cancel.c: Likewise.
41376         * nptl/pthread_condattr_setclock.c: Likewise.
41377         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41378         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41379         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41380         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41381         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41382         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41383         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41384         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41385         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41386         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41387         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41388         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41389         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41390         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41391         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41392         * nscd/gai.c: Likewise.
41393         * nss/nss_db/db-open.c: Likewise.
41394         * sysdeps/generic/ldsodefs.h: Likewise.
41395         * sysdeps/sh/nptl/tls.h: Likewise.
41396         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41397         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41398         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41399         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41400         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41401         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41402         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41403         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41404         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41405         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41406         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41407         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41408         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41409         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41410         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41411         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41412         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41413         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41414         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41415         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41416         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41417         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41418         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41419         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41420         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41421         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41422         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41423         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41424         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41425         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41426         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41427         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41428         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41429         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41430         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41431         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41432         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41433         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41434         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41435         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41436         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41437         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41438         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41439         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41440         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41441         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41442         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41443         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41444         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41445         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41446         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41447         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41448         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41449         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41450         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41451         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41452         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41453         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41476         * sysdeps/unix/sysv/linux/pread.c: Likewise.
41477         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41478         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41479         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41480         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41481         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41482         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41483         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41484         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41485         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41486         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41487         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41488         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41489         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41490         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41491         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41492         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41493         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41494         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41495         * sysdeps/unix/sysv/linux/system.c: Likewise.
41496         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41497         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41498         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41499         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41500         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41501         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41502         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41504         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41505         * configure: Regenerated.
41506         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41508         * configure.ac (base_machine): Do not set specially for particular
41509         machines here.
41510         * configure: Regenerated.
41511         * sysdeps/powerpc/preconfigure: Move machine and base_machine
41512         settings from configure.ac.
41513         * sysdeps/i386/preconfigure: New file.
41514         * sysdeps/s390/preconfigure: Likewise.
41515         * sysdeps/sh/preconfigure: Likewise.
41516         * sysdeps/sparc/preconfigure: Likewise.
41518 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41520         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41521         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41522         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41523         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41524         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41525         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41526         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41527         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41528         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41529         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41530         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41531         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41532         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41533         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41534         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41535         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41537         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41538         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41540         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41541         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41542         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41543         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41544         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41545         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41546         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41547         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41548         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41549         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41550         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41551         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41552         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41553         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41554         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41555         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41556         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41557         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41558         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41559         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41560         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41561         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41562         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41563         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41564         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41565         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41566         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41567         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41568         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41569         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41570         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41571         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41572         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41573         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41574         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41575         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41576         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41577         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41579         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41580         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41582         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41584         Moved ...
41585         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41586         ... here.
41587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41588         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41589         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41590         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41591         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41592         Moved ...
41593         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41595         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41597         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41598         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41599         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41600         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41601         Moved ...
41602         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41604         Moved ...
41605         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41607         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41609         Moved ...
41610         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41612         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41614         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41615         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41616         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41617         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41618         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41619         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41620         Moved ...
41621         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41622         ... here.
41623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41624         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41625         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41626         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41627         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41628         Moved ...
41629         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41631         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41633         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41635         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41637         Moved ...
41638         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41640         Moved ...
41641         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41643         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41645         Moved ...
41646         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41648         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41650         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41652 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41654         * timezone/checktab.awk: Update from tzcode 2014e.
41655         * timezone/private.h: Likewise.
41656         * timezone/tzfile.h: Likewise.
41657         * timezone/zdump.c: Likewise.
41658         * timezone/zic.c: Likewise.
41660         * sysdeps/unix/sysv/linux/kernel-features.h
41661         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41662         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41663         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41664         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41665         Remove conditional code.
41667 2014-06-25  Will Newton  <will.newton@linaro.org>
41669         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41670         (_dl_arm_cap_flags): Add HWCAP2 values.
41671         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41672         (_DL_HWCAP_COUNT): Increase to 37.
41673         (_DL_HWCAP_LAST): New define.
41674         (_DL_HWCAP2_LAST): New define.
41675         (_dl_procinfo): Add support for printing
41676         AT_HWCAP2 entries.
41677         (_dl_string_hwcap): Use _dl_hwcap_string.
41679 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41683 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41685         * README: Do not mention ports directory.
41687         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41688         Remove macro.
41689         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41690         <kernel-features.h>.
41691         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41692         conditional variable definition.
41693         (__futimes): Update comment.
41694         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41695         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41697         [BZ #16560]
41698         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41699         arguments close to 0.
41700         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41701         Likewise.
41702         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41703         Likewise.
41704         * math/auto-libm-test-in: Add more tests of exp10.
41705         * math/auto-libm-test-out: Regenerated.
41706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41708         * sysdeps/unix/sysv/linux/kernel-features.h
41709         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41710         * sysdeps/unix/sysv/linux/readv.c: Do not include
41711         <kernel-features.h>.
41712         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41713         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41714         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41715         unconditional.
41716         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41717         conditional code.
41718         * sysdeps/unix/sysv/linux/writev.c: Do not include
41719         <kernel-features.h>.
41720         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41721         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41722         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41723         unconditional.
41724         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41725         conditional code.
41727 2014-06-25  Will Newton  <will.newton@linaro.org>
41729         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41730         comment changes throughout the file.  Remove checks
41731         for HAVE_*_H definitions that are not required.
41732         (__gen_tempname): Call abort if an unknown kind value is
41733         passed.
41735 2014-06-25  Andreas Schwab  <schwab@suse.de>
41737         [BZ #17086]
41738         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41739         scalbln, scalblnf, scalblnl in libc.
41741 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41743         [BZ #17086]
41744         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41745         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41746         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41748 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41750         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41751         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41752         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41753         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41754         Update #include.
41755         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41756         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41757         Update #include.
41758         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41759         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41760         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41761         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41762         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41763         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41764         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41765         * sysdeps/x86/bits/semaphore.h: ... here.
41766         * sysdeps/x86/nptl/elide.h: Moved ...
41767         * sysdeps/x86/elide.h: ... here.
41768         * sysdeps/x86_64/nptl/Implies: File removed.
41769         * sysdeps/i386/nptl/Implies: File removed.
41771 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41773         [BZ #16539]
41774         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41775         return the argument for normal arguments with exponent below -64.
41776         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41777         Likewise.
41778         * math/auto-libm-test-in: Add another test of expm1.
41779         * math/auto-libm-test-out: Regenerated.
41781         [BZ #16287]
41782         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41783         calling __erfcl for arguments at least 16.
41784         * math/auto-libm-test-in: Add more tests of erf.
41785         * math/auto-libm-test-out: Regenerated.
41787         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41788         individual architectures.
41789         * sysdeps/unix/sysv/linux/configure: Regenerated.
41790         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41791         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41792         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41793         (ldd_rewrite_script): Define variable.
41794         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41796         file.
41797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41798         generated file.
41799         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41800         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41801         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41802         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41803         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41804         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41805         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41806         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41808 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41810         [BZ #17084]
41811         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41812         Rename member __data.d to __data.__elision_data.
41814 2014-06-24  Wilco  <wdijkstr@arm.com>
41816         * NEWS: Add 16918 to fixed bug list.
41818 2014-06-24  Wilco  <wdijkstr@arm.com>
41820         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41822 2014-06-24  Wilco  <wdijkstr@arm.com>
41824         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41825         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41826         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41827         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41828         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41829         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41830         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41831         Use _FPU_MASK_RM.
41833 2014-06-24  Wilco  <wdijkstr@arm.com>
41835         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41837 2014-06-24  Wilco  <wdijkstr@arm.com>
41839         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41840         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41841         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41842         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41844 2014-06-24  Wilco  <wdijkstr@arm.com>
41846         [BZ #16918]
41847         * sysdeps/arm/feupdateenv.c (feupdateenv):
41848         Rewrite to reduce FPSCR accesses and fix return value.
41850 2014-06-24  Wilco  <wdijkstr@arm.com>
41852         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41853         Optimize to avoid unnecessary FPSCR writes.
41854         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41855         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41856         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41857         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41859 2014-06-24  Wilco  <wdijkstr@arm.com>
41861         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41862         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41863         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41864         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41865         Call libc_fetestexcept_vfp.
41866         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41867         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41868         __SOFTFP__ ifdef so that they can be built for softfp.
41870 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41872         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41873         argument type signed char.
41875         * Makerules (check-abi): Dump diff of symlist if the test
41876         fails.
41878 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41880         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41881         using abort.
41883         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41884         Remove unused variable ST.
41886 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41888         [BZ #16354]
41889         [BZ #17061]
41890         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41891         small arguments before calling __expm1.
41892         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41893         small arguments before calling __expm1f.
41894         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41895         small arguments before calling __expm1l.
41896         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41897         Likewise.
41898         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41899         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41900         spurious underflow for some cosh tests.
41901         * math/auto-libm-test-out: Regenerated.
41902         * sysdeps/i386/fpu/libm-test-ulps: Update.
41904         [BZ #17050]
41905         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41906         (__ieee754_y1): Set errno if return value overflows.
41907         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41908         (__ieee754_y1f): Set errno if return value overflows.
41909         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41910         (__ieee754_y1l): Set errno if return value overflows.
41911         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41912         (__ieee754_y1l): Set errno if return value overflows.
41913         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41914         * math/auto-libm-test-out: Regenerated.
41916         * math/gen-auto-libm-tests.c: Document use of
41917         ignore-zero-inf-sign.
41918         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41919         (input_flags): Add ignore-zero-inf-sign.
41920         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41921         * math/gen-libm-test.pl (generate_testfile): Handle
41922         ignore-zero-inf-sign.
41923         * math/auto-libm-test-in: Mark some cpow tests with
41924         ignore-zero-inf-sign and some with xfail-rounding.
41925         * math/auto-libm-test-out: Regenerated.
41926         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41927         * sysdeps/i386/fpu/libm-test-ulps: Update.
41928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41930         [BZ #16315]
41931         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41932         overflowing or underflowing operations take place with sign of
41933         result.
41934         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41935         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41936         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41937         (__ieee754_pow): Recompute overflowing and underflowing results in
41938         original rounding mode.
41939         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41940         (__powl_helper): Allow negative argument X and scale negated value
41941         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41942         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41943         overflowing or underflowing operations take place with sign of
41944         result.
41945         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41946         Include <math.h>.
41947         * math/auto-libm-test-in: Add more tests of pow.
41948         * math/auto-libm-test-out: Regenerated.
41949         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41950         (pow_tonearest_test_data): Remove.
41951         (pow_test_tonearest): Likewise.
41952         (pow_towardzero_test_data): Likewise.
41953         (pow_test_towardzero): Likewise.
41954         (pow_downward_test_data): Likewise.
41955         (pow_test_downward): Likewise.
41956         (pow_upward_test_data): Likewise.
41957         (pow_test_upward): Likewise.
41958         (main): Don't call removed functions.
41959         * sysdeps/i386/fpu/libm-test-ulps: Update.
41960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41962 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41965         Moved ...
41966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41968         Moved ...
41969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41971         Moved ...
41972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41974         Moved ...
41975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41977         File removed.
41978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41979         File removed.
41980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41981         File removed.
41982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41983         File removed.
41984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41985         File removed.
41986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41987         File removed.
41988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41989         File removed.
41990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41991         File removed.
41992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41993         File removed.
41994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41995         File removed.
41996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41997         File removed.
41998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41999         File removed.
42000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
42001         Moved ...
42002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
42003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
42004         Moved ...
42005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
42006         ... here.
42007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
42008         Moved ...
42009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
42010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
42011         Moved ...
42012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
42013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
42014         Moved ...
42015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
42016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
42017         Moved ...
42018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
42019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
42020         Moved ...
42021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
42022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
42023         Moved ...
42024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
42025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
42026         Moved ...
42027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
42028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
42029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
42030         ... here.
42031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
42032         Moved ...
42033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
42034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
42035         Moved ...
42036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
42037         ... here.
42038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
42039         Moved ...
42040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
42041         ... here.
42042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42043         Moved ...
42044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
42045         ... here.
42046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42047         Moved ...
42048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
42049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
42050         Moved ...
42051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
42052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
42053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42055         Moved ...
42056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42057         ... here.
42058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42059         Moved ...
42060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42061         ... here.
42062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42063         Moved ...
42064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42066         Moved ...
42067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42069         Moved ...
42070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42072         Moved ...
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42075         Moved ...
42076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42077         ... here.
42078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42079         Moved ...
42080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42082         Moved ...
42083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42085         Moved ...
42086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42088         Moved ...
42089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42093         Moved ...
42094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42096         Moved ...
42097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42099         Moved ...
42100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42101         ... here.
42102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42103         Moved ...
42104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42105         ... here.
42106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42107         Moved ...
42108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42109         ... here.
42110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42111         Moved ...
42112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42114         Moved ...
42115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42117         Moved ...
42118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42120         Moved ...
42121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42122         ... here.
42123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42124         Moved ...
42125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42126         ... here.
42127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42128         Moved ...
42129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42130         ... here.
42131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42132         Moved ...
42133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42135         Moved ...
42136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42138 2014-06-23  Will Newton  <will.newton@linaro.org>
42139             Wilco  <wdijkstr@arm.com>
42141         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42142         implementation.  Include get-rounding-mode.h.
42143         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42144         [!libc_feholdsetround_noex_ctx]: Define
42145         libc_feholdsetround_noex_ctx.
42146         [!libc_feholdsetround_noexf_ctx]: Define
42147         libc_feholdsetround_noexf_ctx.
42148         [!libc_feholdsetround_noexl_ctx]: Define
42149         libc_feholdsetround_noexl_ctx.
42150         (libc_feholdsetround_ctx): New function.
42151         (libc_feresetround_ctx): New function.
42152         (libc_feholdsetround_noex_ctx): New function.
42153         (libc_feresetround_noex_ctx): New function.
42155 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42157         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42158         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42159         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42160         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42161         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42162         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42164         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42165         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42166         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42167         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42168         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42169         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42170         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42171         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42172         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42173         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42174         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42175         Moved ...
42176         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42177         ... here.
42178         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42179         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42180         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42181         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42182         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42183         Moved ...
42184         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42185         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42186         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42187         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42188         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42189         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42190         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42191         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42192         Moved ...
42193         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42195         Moved ...
42196         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42197         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42198         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42199         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42200         Moved ...
42201         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42202         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42203         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42204         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42205         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42206         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42207         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42208         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42209         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42211         Moved ...
42212         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42213         ... here.
42214         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42215         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42216         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42217         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42218         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42219         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42220         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42221         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42222         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42223         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42224         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42225         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42226         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42227         Moved ...
42228         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42229         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42230         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42231         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42232         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42233         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42234         Moved ...
42235         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42237         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42238         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42239         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42241         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42242         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42243         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42244         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42245         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42246         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42247         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42248         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42249         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42250         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42251         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42252         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42253         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42254         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42255         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42256         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42257         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42258         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42259         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42260         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42261         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42262         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42263         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42264         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42265         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42266         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42267         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42268         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42270 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42272         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42273         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42274         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42275         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42276         (IPV6_PMTUDISC_INTERFACE): Likewise.
42277         (IPV6_PMTUDISC_OMIT): Likewise.
42279 2014-06-23  Andreas Schwab  <schwab@suse.de>
42281         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42282         Remove unused errout label.
42284 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42286         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42287         macro: hardware supports Vector Crypto instructions.
42289 2014-06-23  Will Newton  <will.newton@linaro.org>
42291         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42292         rather than __builtin_expect.
42294         * elf/dl-lookup.c (undefined_msg): Remove variable.
42295         (_dl_lookup_symbol_x): Replace undefined_msg with string
42296         literal.
42298         * elf/dl-lookup.c (do_lookup_unique): New function.
42299         (do_lookup_x): Move STB_GNU_UNIQUE handling code
42300         to a separate function.
42302 2014-06-23  Andreas Schwab  <schwab@suse.de>
42304         [BZ #17079]
42305         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42306         before reading the next line.
42308 2014-06-23  Will Newton  <will.newton@linaro.org>
42310         * test-skeleton.c (signal_handler): Use printf and %m
42311         rather than perror.  Use printf rather than fprintf to
42312         stderr.  Use puts rather than fputs to stderr.
42313         (main): Likewise.
42315 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
42317         * nscd/nscd.c (thread_info_t): Remove typedef.
42318         (thread_info): Remove variable.
42320 2014-06-21  Allan McRae  <allan@archlinux.org>
42322         * NEWS: Mention CVE-2014-4043.
42324 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42326         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42327         * nptl/smp.h: ... here.
42329         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42331         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42332         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42333         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42334         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42336         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42337         * nptl/stack-aliasing.h: New file.
42338         * sysdeps/i386/i686/stack-aliasing.h: New file.
42339         * sysdeps/i386/i686/nptl/Makefile: File removed.
42340         * sysdeps/x86_64/stack-aliasing.h: New file.
42341         * sysdeps/x86_64/nptl/Makefile
42342         (CFLAGS-pthread_create.c): Variable removed.
42344         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42345         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42346         old file.
42347         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42348         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42349         old file.
42351 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42353         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42354         (__ASSUME_SIGFRAME_V2): Remove macro.
42355         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42356         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42357         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42358         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42359         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42360         Declare as function.  Remove conditional macro definitions.
42361         (__default_rt_sa_restorer): Likewise.
42362         (__default_sa_restorer_v1): Remove declaration.
42363         (__default_sa_restorer_v2): Likewise.
42364         (__default_rt_sa_restorer_v1): Likewise.
42365         (__default_rt_sa_restorer_v2): Likewise.
42366         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42367         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42368         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42370 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42372         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42373         (libpthread-routines): Add sysdep.
42374         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42375         * sysdeps/unix/sysv/linux/sparc/Versions
42376         (libpthread: GLIBC_2.3.3): New version set.
42377         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42378         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42379         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42380         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42381         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42382         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42383         Moved ...
42384         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42385         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42386         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42387         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42388         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42389         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42390         * sysdeps/sparc/nptl/sem_init.c: ... here.
42391         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42392         * sysdeps/sparc/nptl/sem_post.c: ... here.
42393         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42394         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42395         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42396         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42397         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42398         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42399         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42400         (libpthread-routines): Add cpu_relax.
42401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42402         File removed.
42403         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42404         (librt: GLIBC_2.3.3): New version set.
42405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42406         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42407         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42408         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42410         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42411         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42412         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42413         Moved ...
42414         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42415         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42416         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42418         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42419         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42420         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42422         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42424         Moved ...
42425         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42426         Update #include.
42427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42428         Moved ...
42429         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42430         Update #include.
42431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42432         Moved ...
42433         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42434         Update #include.
42435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42436         Moved ...
42437         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42438         Update #include.
42439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42440         Moved ...
42441         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42442         Update #include.
42443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42444         Moved ...
42445         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42446         Update #include.
42447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42448         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42449         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42450         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42454         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42456         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42457         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42458         Moved ...
42459         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42461         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42463         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42465 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42467         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42468         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42469         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42470         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42471         * nscd/nscd.c: Likewise.
42472         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42473         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42474         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42475         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42477         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42478         <kernel-features.h>.
42479         (init_mq_netlink): Remove conditional have_sock_cloexec
42480         definitions.  Remove code conditional on have_sock_cloexec < 0.
42481         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42482         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42483         * sysdeps/unix/sysv/linux/opensock.c: Do not include
42484         <kernel-features.h>.
42485         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42486         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42488 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42491         Add tests for memset_chk and memset.
42493         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42494         with AVX2_Usable.
42496 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42498         [BZ #16046]
42499         * elf/tst-dl-iter-static.c: New file.
42500         * elf/Makefile (tests-static): Add tst-dl-iter-static.
42502         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42503         error.
42505 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42507         * sysdeps/unix/sysv/linux/kernel-features.h
42508         (__ASSUME_F_GETOWN_EX): Remove macro.
42509         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42510         <kernel-features.h>.
42511         (miss_F_GETOWN_EX): Remove variable or macro.
42512         (do_fcntl): Do not check miss_F_GETOWN_EX.
42513         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42515         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42516         Remove macro.
42517         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42518         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42519         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42521         * sysdeps/unix/sysv/linux/kernel-features.h
42522         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42523         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42524         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42525         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42527 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42529         [BZ #17075]
42530         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42531         Fix calculation of the symbol's value.
42532         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42533         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42534         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42535         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42536         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42537         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42538         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42539         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42540         (modules-names): Add `tst-armtlsdescmod',
42541         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42542         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42543         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42544         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42545         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42546         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42547         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42548         ($(objpfx)tst-armtlsdescloc): New dependency.
42549         ($(objpfx)tst-armtlsdescextnow): Likewise.
42550         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42551         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42552         TLS scheme support.
42553         * sysdeps/arm/configure: Regenerate.
42555 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42557         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42558         (__atfct_seterrno_2): Likewise.
42559         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42560         <kernel-features.h>.
42561         (__ASSUME_ATFCTS): Do not undefine and redefine.
42562         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42563         (__have_atfcts): Remove conditional definition.
42564         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42565         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42566         unreachable if [__ASSUME_ATFCTS].
42567         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42568         not undefine and redefine.
42569         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42570         <kernel-features.h>.
42571         (faccessat) [__NR_faccessat]: Make code unconditional.
42572         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42573         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42574         <kernel-features.h>.
42575         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42576         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42577         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42578         <kernel-features.h>.
42579         (fchownat) [__NR_fchownat]: Make code unconditional.
42580         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42581         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42582         <kernel-features.h>.
42583         (futimesat) [__NR_futimesat]: Make code unconditional.
42584         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42585         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42586         <kernel-features.h>.
42587         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42588         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42589         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42590         <kernel-features.h>.
42591         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42592         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42593         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42594         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42595         <kernel-features.h>.
42596         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42597         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42598         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42599         <kernel-features.h>.
42600         (linkat) [__NR_linkat]: Make code unconditional.
42601         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42602         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42603         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42604         <kernel-features.h>.
42605         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42606         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42607         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42608         <kernel-features.h>.
42609         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42610         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42611         * sysdeps/unix/sysv/linux/openat.c: Do not include
42612         <kernel-features.h>.
42613         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42614         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42615         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42616         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42617         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42618         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42619         <kernel-features.h>.
42620         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42621         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42622         result of INLINE_SYSCALL directly, not via int variable.
42623         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42624         <kernel-features.h>.
42625         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42626         (renameat) [__NR_renameat]: Make code unconditional.
42627         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42628         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42629         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42630         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42631         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42632         (__ASSUME_ATFCTS): Do not undefine and redefine.
42633         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42634         <kernel-features.h>.
42635         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42636         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42637         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42638         <kernel-features.h>.
42639         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42640         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42641         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42642         (__ASSUME_ATFCTS): Do not undefine and redefine.
42643         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42644         <kernel-features.h>.
42645         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42646         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42647         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42648         <kernel-features.h>.
42649         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42650         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42652 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42654         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42656 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42658         [BZ #17069]
42659         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42660         constructed tree before returning error.
42661         * posix/bug-regexp36.c: Expand test case.
42663 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42665         [BZ #6803]
42666         * math/libm-test.inc (scalbln_test_date):
42667         Add errno expectations.
42668         * math/w_scalblnf.c: New File.
42669         Add wrapper which checks for setting errno to ERANGE.
42670         Add weak_alias for corresponding scalbln function.
42671         * math/w_scalbln.c: Likewise.
42672         * math/w_scalblnl.c: Likewise.
42673         * math/Makefile (libm-calls): Add w_scalbln.
42674         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42675         Remove weak_alias for corresponding scalbln function.
42676         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42677         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42678         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42679         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42680         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42681         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42682         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42683         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42684         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42685         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42686         Remove long_double_symbol for scalblnl function in libm, libc.
42687         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42688         Add wrapper which checks for setting errno to ERANGE.
42689         Add long_double_symbol for scalblnl function in libm, libc.
42690         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42691         Remove long_double_symbol for scalblnl in libm.
42692         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42693         Add wrapper which checks for setting errno to ERANGE.
42694         Add long_double_symbol for scalblnl function in libm.
42695         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42696         Do not use wrapper because of own implementation.
42698 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42700         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42701         3 bytes for __pad1 for x32.
42702         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42704 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42705             H.J. Lu  <hongjiu.lu@intel.com>
42707         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42708         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42709         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42710         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42711         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42713 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42715         [BZ #17069]
42716         * posix/regcomp.c (parse_expression): Deallocate partially
42717         constructed tree before returning error.
42718         * posix/Makefile.c (tests): Add bug-regex36.
42719         (generated): Add bug-regex36.mtrace.
42720         (tests-special): Add $(objpfx)bug-regex36-mem.out
42721         (bug-regex36-ENV): New variable.
42722         ($(objpfx)bug-regex36-mem.out): New rule.
42723         * posix/bug-regex36.c: New file.
42725 2014-06-19  Will Newton  <will.newton@linaro.org>
42727         * malloc/malloc.c (systrim): If extra is zero then return
42728         early.
42730 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42732         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42734 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42736         * sysdeps/aarch64/strchr.S: New file.
42738 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42740         [BZ #17022]
42741         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42742         from arguments -2 or below.
42743         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42744         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42746 2014-06-18  Andreas Schwab  <schwab@suse.de>
42748         [BZ #17062]
42749         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42750         of a bracket expr not to run off the end of the string.
42751         * posix/Makefile (tests): Add tst-fnmatch3.
42752         * posix/tst-fnmatch3.c: New file.
42754 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42756         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42757         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42758         [$(cross-compiling) = no]: Likewise.
42759         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42760         [$(cross-compiling) = no]: Likewise.
42762 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42764         [BZ #17031]
42765         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42766         double, adjusted for any remainder from the high double.
42767         * math/libm-test.inc (nearbyint): Add tests.
42768         (rint): Likewise.
42770 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42772         * nptl/sysdeps/powerpc/Makefile: Moved ...
42773         * sysdeps/powerpc/nptl/Makefile: ... here.
42774         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42775         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42776         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42777         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42778         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42779         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42780         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42781         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42782         * nptl/sysdeps/powerpc/tls.h: Moved ...
42783         * sysdeps/powerpc/nptl/tls.h: ... here.
42785 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42787         [BZ #16681]
42788         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42789         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42790         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42791         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42792         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42793         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42794         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42795         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42796         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42798 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42800         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42802 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42804         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42805         defined operator.
42807         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42808         $TIMEOUTFACTOR.
42810 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42812         [BZ #17058]
42813         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42814         non-executed part of the test.
42816 2014-06-16  Andreas Schwab  <schwab@suse.de>
42818         * string/bits/string2.h (strdup, strndup): Update feature guard.
42820 2014-06-14  David S. Miller  <davem@davemloft.net>
42822         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42824 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42826         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42827         that was previously under [RESET_PID].
42828         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42830         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42831         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42832         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42833         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42834         (__libc_vfork): New strong alias.
42835         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42837 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42839         * sysdeps/generic/elide.h: New file.
42841 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42843         * Makefile (installed-headers): Adjust path of pthread.h header.
42845 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42847         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42848         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42849         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42850         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42852         * nptl/sysdeps/s390/Makefile: Moved ...
42853         * sysdeps/s390/nptl/Makefile: ... here.
42854         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42855         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42856         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42857         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42858         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42859         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42860         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42861         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42862         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42863         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42864         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42865         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42866         * nptl/sysdeps/s390/tls.h: Moved ...
42867         * sysdeps/s390/nptl/tls.h: ... here.
42869         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42870         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42872 2014-06-13  David S. Miller  <davem@davemloft.net>
42874         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42875         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42876         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42877         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42878         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42879         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42880         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42881         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42882         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42883         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42884         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42885         Remove RESET_PID cpp guards.
42886         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42887         Remove RESET_PID cpp guards.
42888         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42890 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42892         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42893         __sp to uintptr_t.
42895 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42897         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42898         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42899         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42900         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42901         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42902         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42903         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42904         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42905         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42906         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42907         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42908         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42909         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42910         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42911         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42912         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42913         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42914         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42915         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42916         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42918         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42919         (pthread_rwlock_rdlock): Add elision.
42920         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42921         (pthread_rwlock_wrlock): Add elision.
42922         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42923         (pthread_rwlock_trywrlock): Add elision.
42924         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42925         (pthread_rwlock_tryrdlock): Add elision.
42926         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42927         (pthread_rwlock_tryrdlock): Add elision unlock.
42928         * nptl/sysdeps/pthread/pthread.h:
42929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42930         (PTHREAD_RWLOCK_INITIALIZER,
42931         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42932         Handle new elision field.
42933         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42934         * sysdeps/arm/nptl/bits/pthreadtypes.h
42935         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42936         * sysdeps/sh/nptl/bits/pthreadtypes.h
42937         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42938         * sysdeps/tile/nptl/bits/pthreadtypes.h
42939         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42940         * sysdeps/a/nptl/bits/pthreadtypes.h
42941         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42942         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42943         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42944         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42945         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42946         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42947         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42948         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42949         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42950         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42952         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42953         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42954         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42956         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42958         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42959         (elision_init): Set try_xbegin to zero when no RTM.
42960         * sysdeps/x86/nptl/bits/pthreadtypes.h
42961         (pthread_rwlock_t): Change __pad1 to __rwelision.
42962         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42964 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42966         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42967         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42968         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42969         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42971 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42973         [BZ #16996]
42974         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42975         that the cached result has been set before returning it.
42977 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42979         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42980         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42981         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42982         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42983         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42984         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42986         * nptl/sysdeps/sparc/Makefile: Moved ...
42987         * sysdeps/sparc/nptl/Makefile: ... here.
42988         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42989         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42990         * nptl/sysdeps/sparc/tls.h: Moved ...
42991         * sysdeps/sparc/nptl/tls.h: ... here.
42992         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42993         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42994         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42995         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42996         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42997         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42998         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42999         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
43000         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
43001         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
43002         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
43003         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
43004         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
43005         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
43006         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
43007         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
43008         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
43009         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
43010         Update #include.
43011         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
43012         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
43013         Update #include.
43014         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
43015         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
43016         Update #include.
43017         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
43018         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
43019         Update #include.
43021         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43023         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
43024         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
43026         * sysdeps/pthread/posix-timer.h: Include <list.h>.
43027         (struct list_links): Type removed.
43028         (struct thread_node, struct timer_node): Replace struct list_links
43029         with struct list_head.
43030         (list_unlink_ip): Likewise.
43031         * sysdeps/pthread/timer_routines.c
43032         (timer_free_list, thread_free_list, thread_active_list): Likewise.
43033         (list_append, list_insbefore): Likewise.
43034         (list_init): Function removed.
43035         (thread_init, init_module): Use INIT_LIST_HEAD instead.
43036         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
43037         * sysdeps/pthread/Makefile: ... here, new file.
43039         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
43040         * sysdeps/nptl/Implies: ... here.
43041         * sysdeps/unix/sysv/linux/Implies: Add nptl.
43042         * nptl/sysdeps/pthread/list.h: Moved ...
43043         * include/list.h: ... here.
43044         * nptl/sysdeps/pthread/createthread.c: Moved ...
43045         * nptl/createthread.c: ... here.
43046         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
43047         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
43048         * nptl/pt-longjmp.c: ... here.
43049         * nptl/sysdeps/pthread/Makefile: Moved ...
43050         * sysdeps/nptl/Makefile: ... here.
43051         * nptl/sysdeps/pthread/Subdirs: Moved ...
43052         * sysdeps/nptl/Subdirs: ... here.
43053         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43054         * sysdeps/nptl/aio_misc.h: ... here.
43055         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43056         * sysdeps/nptl/bits/libc-lock.h: ... here.
43057         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43058         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43059         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43060         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43061         * nptl/sysdeps/pthread/configure: Moved ...
43062         * sysdeps/nptl/configure: ... here.
43063         * nptl/sysdeps/pthread/configure.ac: Moved ...
43064         * sysdeps/nptl/configure.ac: ... here.
43065         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43066         * sysdeps/nptl/gai_misc.h: ... here.
43067         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43068         * sysdeps/nptl/librt-cancellation.c: ... here.
43069         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43070         * sysdeps/nptl/malloc-machine.h: ... here.
43071         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43072         * sysdeps/nptl/pthread-functions.h: ... here.
43073         * nptl/sysdeps/pthread/pthread.h: Moved ...
43074         * sysdeps/nptl/pthread.h: ... here.
43075         * nptl/sysdeps/pthread/setxid.h: Moved ...
43076         * sysdeps/nptl/setxid.h: ... here.
43077         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43078         * sysdeps/nptl/sigfillset.c: ... here.
43079         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43080         * sysdeps/nptl/tcb-offsets.h: ... here.
43081         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43082         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43083         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43084         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43085         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43086         * sysdeps/pthread/allocalim.h: ... here.
43087         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43088         * sysdeps/pthread/bits/sigthread.h: ... here.
43089         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43090         * sysdeps/pthread/flockfile.c: ... here.
43091         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43092         * sysdeps/pthread/ftrylockfile.c: ... here.
43093         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43094         * sysdeps/pthread/funlockfile.c: ... here.
43095         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43096         * sysdeps/pthread/posix-timer.h: ... here.
43097         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43098         * sysdeps/pthread/timer_create.c: ... here.
43099         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43100         * sysdeps/pthread/timer_delete.c: ... here.
43101         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43102         * sysdeps/pthread/timer_getoverr.c: ... here.
43103         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43104         * sysdeps/pthread/timer_gettime.c: ... here.
43105         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43106         * sysdeps/pthread/timer_routines.c: ... here.
43107         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43108         * sysdeps/pthread/timer_settime.c: ... here.
43109         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43110         * sysdeps/pthread/tst-timer.c: ... here.
43111         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43112         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43114         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43115         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43117         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43118         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43119         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43120         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43121         Update #include target.
43122         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43123         * sysdeps/i386/i686/nptl/Makefile: ... here.
43124         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43125         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43126         Update #include target.
43127         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43128         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43129         * nptl/sysdeps/i386/Makefile: Moved ...
43130         * sysdeps/i386/nptl/Makefile: ... here.
43131         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43132         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43133         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43134         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43135         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43136         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43137         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43138         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43139         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43140         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43141         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43142         * nptl/sysdeps/i386/tls.h: Moved ...
43143         * sysdeps/i386/nptl/tls.h: ... here.
43145         * sysdeps/sh/Makefile [$(subdir) = csu]
43146         (gen-as-const-headers): Add tcb-offsets.sym.
43147         * nptl/sysdeps/sh/Makefile: File removed.
43148         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43149         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43150         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43151         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43152         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43153         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43154         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43155         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43156         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43157         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43158         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43159         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43160         * nptl/sysdeps/sh/tls.h: Moved ...
43161         * sysdeps/sh/nptl/tls.h: ... here.
43162         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43163         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43164         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43165         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43166         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43167         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43168         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43169         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43170         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43171         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43172         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43173         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43174         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43175         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43176         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43177         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43178         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43179         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43180         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43181         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43182         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43183         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43184         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43185         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43186         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43187         Moved ...
43188         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43189         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43190         Moved ...
43191         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43192         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43193         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43194         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43195         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43196         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43197         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43198         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43199         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43200         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43201         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43202         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43203         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43204         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43205         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43206         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43207         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43208         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43209         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43211 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43213         * posix/spawn_faction_addopen.c: Include string.h.
43215 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43217         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43218         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43219         * nptl/sysdeps/x86_64/Makefile: Moved ...
43220         * sysdeps/x86_64/nptl/Makefile: ... here.
43221         * nptl/sysdeps/x86_64/configure: Moved ...
43222         * sysdeps/x86_64/nptl/configure: ... here.
43223         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43224         * sysdeps/x86_64/nptl/configure.ac: ... here.
43225         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43226         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43227         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43228         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43229         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43230         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43231         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43232         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43233         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43234         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43235         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43236         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43237         * nptl/sysdeps/x86_64/tls.h: Moved ...
43238         * sysdeps/x86_64/nptl/tls.h: ... here.
43239         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43240         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43241         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43242         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43244         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43246 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43250 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43252         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43253         type.
43254         [POSIX] (off_t): Likewise.
43255         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43256         [POSIX] (S_ISBLK): Require macro.
43257         [POSIX] (S_ISCHR): Likewise.
43258         [POSIX] (S_ISDIR): Likewise.
43259         [POSIX] (S_ISFIFO): Likewise.
43260         [POSIX] (S_ISREG): Likewise.
43261         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43262         optional-macro.
43263         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43264         type.
43265         [POSIX] (time_t): Likewise.
43266         [POSIX] (timer_t): Likewise.
43268 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43270         [BZ #17048]
43271         * posix/spawn_int.h (struct __spawn_action): Make the path string
43272         non-const to support deallocation.
43273         * posix/spawn_faction_addopen.c
43274         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43275         * posix/spawn_faction_destroy.c
43276         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
43277         path in all spawn_do_open actions.
43278         * posix/tst-spawn.c (do_test): Exercise the copy operation in
43279         posix_spawn_file_actions_addopen.
43281 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
43283         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43284         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43285         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43286         conditional code always true.
43287         (__libc_vfork): New alias.
43289 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43291         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43292         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43294         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43296         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43297         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43299         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43300         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43302         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43303         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43305 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43307         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43308         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43309         multiarch strcmp for PPC64.
43310         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43311         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43312         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43313         multiarch optimizations.
43314         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43315         (__libc_ifunc_impl_list): Likewise.
43317 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43319         * benchtests/scripts/validate_benchout.py: New script.
43320         * benchtests/Makefile (bench-func): Call it.
43321         * benchtests/scripts/benchout.schema.json: New file.
43323 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
43325         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43326         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43327         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43328         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43329         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43330         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43331         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43332         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43333         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43334         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43335         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43336         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43337         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43338         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43339         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43340         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43342         Moved ...
43343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43344         ... here.
43345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43346         Moved ...
43347         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43349         Moved ...
43350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43351         ... here.
43352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43353         Moved ...
43354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43355         ... here.
43356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43357         Moved ...
43358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43360         Moved ...
43361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43362         ... here.
43363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43364         Moved ...
43365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43366         ... here.
43367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43368         Moved ...
43369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43371         Moved ...
43372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43373         ... here.
43374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43375         Moved ...
43376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43377         ... here.
43378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43379         Moved ...
43380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43381         ... here.
43382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43383         Moved ...
43384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43386         Moved ...
43387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43388         ... here.
43389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43390         Moved ...
43391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43392         ... here.
43393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43394         Moved ...
43395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43396         ... here.
43397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43398         Moved ...
43399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43401         Moved ...
43402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43403         ... here.
43404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43405         Moved ...
43406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43407         ... here.
43408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43409         Moved ...
43410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43412         Moved ...
43413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43414         ... here.
43415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43416         Moved ...
43417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43419         Moved ...
43420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43422         Moved ...
43423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43424         ... here.
43425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43426         Moved ...
43427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43428         ... here.
43429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43430         Moved ...
43431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43432         ... here.
43433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43434         Moved ...
43435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43437         Moved ...
43438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43439         ... here.
43440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43441         Moved ...
43442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43443         ... here.
43444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43445         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43447         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43448         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43449         Moved ...
43450         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43451         ... here.
43452         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43453         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43454         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43455         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43456         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43457         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43458         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43459         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43461         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43462         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43463         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43464         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43465         Moved ...
43466         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43467         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43468         Moved ...
43469         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43471         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43473         Moved ...
43474         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43475         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43476         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43477         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43478         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43479         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43480         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43482 2014-06-10  Wilco  <wdijkstr@arm.com>
43484         * math/test-fenv-return.c: New file.
43485         * math/Makefile: Add new test test-fenv-return.
43487 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
43489         [BZ #17042]
43490         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43491         when x - 1 is zero.
43492         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43493         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43494         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43495         0.0L for an argument of 1.0L.
43496         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43497         Likewise.
43498         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43499         value when x - 1 is zero.
43500         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43501         * sysdeps/i386/fpu/libm-test-ulps: Update.
43502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43504 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
43506         [BZ #15119]
43507         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43509 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43511         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43512         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43514 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43516         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43517         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43519         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43520         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43522         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43523         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43525         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43526         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43528         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43529         if not already defined.
43530         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43531         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43532         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43533         (TLS_INIT_TP): Use it.
43534         (TLS_DEFINE_INIT_TP): New macro.
43535         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43537 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43539         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43540         constant.
43541         [POSIX] (IXANY): Likewise.
43542         [POSIX] (OLCUC): Likewise.
43543         [POSIX || POSIX2008] (CBAUD): Do not allow.
43544         [POSIX || POSIX2008] (DEFECHO): Likewise.
43545         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43546         [POSIX || POSIX2008] (ECHOKE): Likewise.
43547         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43548         [POSIX || POSIX2008] (EXTA): Likewise.
43549         [POSIX || POSIX2008] (EXTB): Likewise.
43550         [POSIX || POSIX2008] (FLUSHO): Likewise.
43551         [POSIX || POSIX2008] (LOBLK): Likewise.
43552         [POSIX || POSIX2008] (PENDIN): Likewise.
43553         [POSIX || POSIX2008] (SWTCH): Likewise.
43554         [POSIX || POSIX2008] (VDISCARD): Likewise.
43555         [POSIX || POSIX2008] (VDSUSP): Likewise.
43556         [POSIX || POSIX2008] (VLNEXT): Likewise.
43557         [POSIX || POSIX2008] (VREPRINT): Likewise.
43558         [POSIX || POSIX2008] (VSTATUS): Likewise.
43559         [POSIX || POSIX2008] (VWERASE): Likewise.
43560         (B*): Change to B[0123456789]*.
43561         * conform/data/time.h-data [POSIX || UNIX98]
43562         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43563         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43564         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43565         [POSIX] (tm_*): Do not allow.
43567 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43569         * Makefile (install): Don't set LANGUAGE.
43570         * Makefile.in (install): Likewise.
43571         * assert/Makefile (test-assert-ENV): Remove variable.
43572         (test-assert-perr-ENV): Likewise.
43573         * elf/Makefile (neededtest4-ENV): Likewise.
43574         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43575         [$(cross-compiling) = no]: Don't set LANGUAGE.
43576         * io/ftwtest-sh (LANG): Remove variable.
43577         * libio/Makefile (tst-widetext-ENV): Likewise.
43578         * manual/install.texi (Running make install): Don't refer to
43579         environment settings for make install.
43580         * INSTALL: Regenerated.
43581         * nptl/tst-tls6.sh: Don't set LANG.
43582         * posix/globtest.sh (LANG): Remove variable.
43583         * string/Makefile (tester-ENV): Likewise.
43584         (inl-tester-ENV): Likewise.
43585         (noinl-tester-ENV): Likewise.
43586         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43587         [$(cross-compiling) = no]: Don't set LANGUAGE.
43588         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43589         without explicit environment settings.
43591 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43593         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43594         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43595         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43596         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43598 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43600         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43601         other files in the crypt directory.
43602         * crypt/crypt.c: Remove duplicate includes.
43603         * crypt/crypt-entry.c: Likewise.
43604         * crypt/crypt_util.c: Likewise.
43606 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43608         * Makeconfig (run-program-env): New variable.
43609         (run-program-prefix-before-env): Likewise.
43610         (run-program-prefix-after-env): Likewise.
43611         (run-program-prefix): Define in terms of new variables.
43612         (built-program-cmd-before-env): New variable.
43613         (built-program-cmd-after-env): Likewise.
43614         (built-program-cmd): Define in terms of new variables.
43615         (test-program-prefix-before-env): New variable.
43616         (test-program-prefix-after-env): Likewise.
43617         (test-program-prefix): Define in terms of new variables.
43618         (test-program-cmd-before-env): New variable.
43619         (test-program-cmd-after-env): Likewise.
43620         (test-program-cmd): Define in terms of new variables.
43621         * Rules (make-test-out): Use $(run-program-env).
43622         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43623         (help): Do not mention environment variables.  Mention
43624         --timeoutfactor option.
43625         (timeoutfactor): New variable.
43626         (blacklist_exports): Remove function.
43627         (exports): Remove variable.
43628         (command): Do not include ${exports}.
43629         * manual/install.texi (Configuring and compiling): Do not mention
43630         test wrappers preserving environment variables.  Mention that last
43631         assignment to a variable must take precedence.
43632         * INSTALL: Regenerated.
43633         * benchtests/Makefile (run-bench): Use $(run-program-env).
43634         * catgets/Makefile ($(objpfx)test1.cat): Use
43635         $(built-program-cmd-before-env), $(run-program-env) and
43636         $(built-program-cmd-after-env).
43637         ($(objpfx)test2.cat): Do not specify environment variables
43638         explicitly.
43639         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43640         $(run-program-env) and $(built-program-cmd-after-env).
43641         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43642         $(run-program-env) and $(test-program-cmd-after-env).
43643         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43644         explicitly.
43645         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43646         run_program_env and test_program_cmd_after_env arguments.
43647         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43648         * elf/tst-pathopt.sh: Use run_program_env argument.
43649         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43650         $(test-wrapper-env) and $(run-program-env).
43651         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43652         run_program_env arguments.
43653         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43654         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43655         $(test-program-prefix-before-env), $(run-program-env) and
43656         $(test-program-prefix-after-env).
43657         ($(objpfx)tst-gettext2.out): Likewise.
43658         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43659         run_program_env and test_program_prefix_after_env arguments.
43660         * intl/tst-gettext2.sh: Likewise.
43661         * intl/tst-gettext4.sh: Do not set environment variables
43662         explicitly.
43663         * intl/tst-gettext6.sh: Likewise.
43664         * intl/tst-translit.sh: Likewise.
43665         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43666         $(test-program-prefix-before-env), $(run-program-env) and
43667         $(test-program-prefix-after-env).
43668         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43669         run_program_env and test_program_prefix_after_env arguments.
43670         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43671         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43672         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43673         explicitly with each use of ${test_wrapper_env}.
43674         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43675         $(test-program-prefix-before-env), $(run-program-env) and
43676         $(test-program-prefix-after-env).
43677         * posix/tst-getconf.sh: Do not set environment variables
43678         explicitly.
43679         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43680         run_program_env and test_program_prefix_after_env arguments.
43681         * stdio-common/tst-printf.sh: Do not set environment variables
43682         explicitly.
43683         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43684         $(test-program-prefix-before-env), $(run-program-env) and
43685         $(test-program-prefix-after-env).
43686         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43687         run_program_env and test_program_prefix_after_env arguments.
43688         Split $test calls into $test_pre and $test.
43689         * timezone/Makefile (build-testdata): Use
43690         $(built-program-cmd-before-env), $(run-program-env) and
43691         $(built-program-cmd-after-env).
43693 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43695         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43696         strlen for non SHARED builds.
43698 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43700         * nptl/allocatestack.c (check_list): Inlined function...
43701         (__reclaim_stacks): ... here.
43703 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43705         [BZ #15698]
43706         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43707         memory overrun.
43709 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43711         * Rules (make-test-out): Include
43712         LOCPATH=$(common-objpfx)localedata in default environment.
43713         * debug/Makefile (tst-chk1-ENV): Remove variable.
43714         (tst-chk2-ENV): Likewise.
43715         (tst-chk3-ENV): Likewise.
43716         (tst-chk4-ENV): Likewise.
43717         (tst-chk5-ENV): Likewise.
43718         (tst-chk6-ENV): Likewise.
43719         (tst-lfschk1-ENV): Likewise.
43720         (tst-lfschk2-ENV): Likewise.
43721         (tst-lfschk3-ENV): Likewise.
43722         (tst-lfschk4-ENV): Likewise.
43723         (tst-lfschk5-ENV): Likewise.
43724         (tst-lfschk6-ENV): Likewise.
43725         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43726         (tst-iconv7-ENV): Likewise.
43727         * intl/Makefile (LOCPATH-ENV): Likewise.
43728         (tst-codeset-ENV): Likewise.
43729         (tst-gettext3-ENV): Likewise.
43730         (tst-gettext5-ENV): Likewise.
43731         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43732         (tst-fopenloc-ENV): Likewise.
43733         (tst-fgetws-ENV): Remove variable.
43734         (tst-ungetwc1-ENV): Likewise.
43735         (tst-ungetwc2-ENV): Likewise.
43736         (bug-ungetwc2-ENV): Likewise.
43737         (tst-swscanf-ENV): Likewise.
43738         (bug-ftell-ENV): Likewise.
43739         (tst-fgetwc-ENV): Likewise.
43740         (tst-fseek-ENV): Likewise.
43741         (tst-ftell-partial-wide-ENV): Likewise.
43742         (tst-ftell-active-handler-ENV): Likewise.
43743         (tst-ftell-append-ENV): Likewise.
43744         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43745         (tst-regexloc-ENV): Likewise.
43746         (bug-regex1-ENV): Likewise.
43747         (tst-regex-ENV): Likewise.
43748         (tst-regex2-ENV): Likewise.
43749         (bug-regex5-ENV): Likewise.
43750         (bug-regex6-ENV): Likewise.
43751         (bug-regex17-ENV): Likewise.
43752         (bug-regex18-ENV): Likewise.
43753         (bug-regex19-ENV): Likewise.
43754         (bug-regex20-ENV): Likewise.
43755         (bug-regex22-ENV): Likewise.
43756         (bug-regex23-ENV): Likewise.
43757         (bug-regex25-ENV): Likewise.
43758         (bug-regex26-ENV): Likewise.
43759         (bug-regex30-ENV): Likewise.
43760         (bug-regex32-ENV): Likewise.
43761         (bug-regex33-ENV): Likewise.
43762         (bug-regex34-ENV): Likewise.
43763         (bug-regex35-ENV): Likewise.
43764         (tst-rxspencer-ENV): Likewise.
43765         (tst-rxspencer-no-utf8-ENV): Likewise.
43766         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43767         (tst-sscanf-ENV): Likewise.
43768         (tst-swprintf-ENV): Likewise.
43769         (tst-swscanf-ENV): Likewise.
43770         (test-vfprintf-ENV): Likewise.
43771         (scanf13-ENV): Likewise.
43772         (bug14-ENV): Likewise.
43773         (tst-grouping-ENV): Likewise.
43774         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43775         (tst-strtod3-ENV): Likewise.
43776         (tst-strtod4-ENV): Likewise.
43777         (tst-strtod5-ENV): Likewise.
43778         (testmb2-ENV): Likewise./
43779         * string/Makefile (tst-strxfrm-ENV): Likewise.
43780         (tst-strxfrm2-ENV): Likewise.
43781         (bug-strcoll1-ENV): Likewise.
43782         (test-strcasecmp-ENV): Likewise.
43783         (test-strncasecmp-ENV): Likewise.
43784         * time/Makefile (tst-strptime-ENV): Likewise.
43785         (tst-ftime_l-ENV): Likewise.
43786         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43787         (tst-mbrtowc-ENV): Likewise.
43788         (tst-wcrtomb-ENV): Likewise.
43789         (tst-mbrtowc2-ENV): Likewise.
43790         (tst-c16c32-1-ENV): Likewise.
43791         (tst-mbsnrtowcs-ENV): Likewise.
43793 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43795         * manual/resource.texi (How to get information about the memory
43796         subsystem?): Fix typo.
43797         Reported by Peon de la Parra Ivan <peon@keba.com>
43799 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43801         [BZ #16882]
43802         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43803         (pthread_spin_lock): Branch out of spin loop to proper location.
43804         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43805         (pthread_spin_lock): Likewise.
43807         * nptl/tst-spin4.c: New test.
43808         * nptl/Makefile (tests): Add tst-spin4.
43810 2014-06-03  Andreas Schwab  <schwab@suse.de>
43812         [BZ #15946]
43813         * resolv/res_send.c (send_dg): Reload file descriptor after
43814         calling reopen.
43816 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43818         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43820 2014-06-03  Richard Henderson  <rth@redhat.com>
43822         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43823         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43824         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43825         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43826         in the SAVE_PID block.
43827         (__libc_vfork): New alias.
43828         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43830         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43831         child in registers, not on the stack.  Remove RESET_PID conditionals.
43832         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43834 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43836         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43838 2014-06-03  Wilco  <wdijkstr@arm.com>
43840         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43841         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43842         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43843         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43844         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43845         Likewise.
43847 2014-06-03  Wilco  <wdijkstr@arm.com>
43849         * sysdeps/aarch64/fpu/math_private.h
43850         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43851         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43852         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43853         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43854         Fix declarations.
43856 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43858         * crypt/crypt-private.h: Include ufc-crypt.h.
43859         (__b64_from_24bit): Declare extern.
43860         * crypt/crypt_util.c(__b64_from_24bit): New function.
43861         (b64t): New static const variable.
43862         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43863         (b64t): Remove variable.
43864         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43865         * crypt/sha256-crypt.c: Include crypt-private.h.
43866         (b64t): Remove variable.
43867         (__sha256_crypt_r): Remove b64_from_24bit and replace
43868         with __b64_from_24bit.
43869         * crypt/sha512-crypt.c: Likewise.
43871 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43873         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43874         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43875         Label the code __libc_vfork rather than __vfork.
43876         [!NOT_IN_libc] (vfork): Define as weak alias.
43877         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43878         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43879         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43881 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43883         * malloc/malloc.c (malloc_info): Fix format specifier for
43884         n_mmaps.
43886 2014-06-02  Wilco  <wdijkstr@arm.com>
43888         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43889         FPCR write.
43891 2014-06-02  Wilco  <wdijkstr@arm.com>
43893         [BZ #17009]
43894         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43895         Rewrite to reduce FPCR/FPSR accesses.
43897 2014-06-01  David S. Miller  <davem@davemloft.net>
43899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43901 2014-05-31  David S. Miller  <davem@davemloft.net>
43903         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43904         to occur in round to nearest mode when |x| >= 2.0
43906 2014-05-30  Richard Henderson  <rth@twiddle.net>
43908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43909         (PSEUDO_RET_NOERRNO): Remove.
43910         (ret): Don't redefine.
43911         (ret_NOERRNO): Define in terms of ret.
43912         (ret_ERRVAL): Likewise.
43914         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43915         use of PSEUDO_RET; perform the error check directly.
43917 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43919         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43920         with __int128_t.
43922 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43924         * malloc/malloc (malloc_info): Fix formatting.
43926 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43927             Roland McGrath  <roland@hack.frob.com>
43929         * malloc/malloc (malloc_info): Also print mmapped statistics.
43931 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43933         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43934         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43936 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43938         * malloc/malloc.c (malloc_info): Inline mi_arena.
43940 2014-05-29  Richard Henderson  <rth@twiddle.net>
43942         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43943         Remove comma before expanding ASM_ARGS_##nr.
43944         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43945         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43946         of ASM_ARGS_##nr.
43947         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43948         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43949         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43950         (ASM_ARGS_1): Add leading comma.
43952         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43953         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43954         to __errno_location.
43955         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43956         Remove the expected plt for __errno_location.
43958         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43959         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43960         call to __read_tp.
43962         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43963         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43964         it and break it down.
43965         (DOCARGS_0, DOCARGS_1): Do nothing.
43966         (DOCARGS_2): Update to store into the new stack frame.
43967         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43968         (UNDOCARGS_1): Update to restore from the new stack frame.
43969         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43970         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43972         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43973         (SINGLE_THREAD_P): New parameter for result regno.
43974         (PSEUDO): Update to match; use cbz instead of beq.
43976         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43977         Use ENTRY to define the _nocancel entry point.  Share the syscall
43978         and syscall error check paths with the cancel path.
43979         (PSEUDO_END): New.
43981         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43982         whitespace; tabs before and after asm mnemonics.
43984 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43986         [BZ #15132]
43987         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43988         Call fstat64 or stat64 internally, depending on arguments passed.
43989         Replace stat buffer argument with file descriptor argument.
43990         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43991         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43992         Pass fd to __internal_statvfs instead of calling fstat64.
43993         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43994         Pass fd to __internal_statvfs64 instead of calling fstat64.
43995         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43996         Pass -1 to __internal_statvfs instead of calling stat64.
43997         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43998         Pass -1 to __internal_statvfs64 instead of calling stat64.
44000 2014-05-28  Roland McGrath  <roland@hack.frob.com>
44002         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
44003         that was previously under [RESET_PID].
44004         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
44006         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
44007         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
44009 2014-05-27  Roland McGrath  <roland@hack.frob.com>
44011         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
44013         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
44014         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
44016 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
44018         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
44020 2014-05-27  Andreas Schwab  <schwab@suse.de>
44022         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
44023         TLS_INIT_TP macro.
44024         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
44025         * elf/rtld.c (init_tls, dl_main): Likewise.
44026         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
44027         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
44028         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
44029         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
44030         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
44031         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
44032         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
44033         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
44034         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
44035         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
44036         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
44037         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
44038         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
44039         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
44040         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
44041         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
44042         * sysdeps/generic/tls.h: Update description.
44044 2014-05-27  Will Newton  <will.newton@linaro.org>
44046         [BZ #16990]
44047         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
44048         and restore r2 rather than just restoring.
44050 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44052         [BZ #16724]
44053         * libio/tst-ftell-append.c: New test case.
44054         * libio/Makefile (tests): Add test case.
44055         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44056         append mode.
44057         * libio/wfileops.c (do_ftell_wide): Likewise.
44059 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44063         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44064         ...
44065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44067         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44068         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44069         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44070         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44071         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44072         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44073         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44074         Moved ...
44075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44076         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44077         Moved ...
44078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44079         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44080         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44081         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44082         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44083         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44084         ...
44085         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44086         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44087         Moved ...
44088         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44089         here.
44090         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44091         ...
44092         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44093         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44094         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44096         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44097         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44098         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44099         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44101         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44102         merge into ...
44103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44104         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44105         ...
44106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44108         ...
44109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44110         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44111         Moved ...
44112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44113         here.
44114         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44115         Moved ...
44116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44118         Moved ...
44119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44122         conditional [RESET_PID].
44123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44124         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44125         removed.
44126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44127         removed.
44129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44130         <tcb-offsets.h>.
44131         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44132         (__libc_vfork): New strong alias.
44133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44134         removed.
44135         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44136         Removed.
44138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44139         <tcb-offsets.h>.
44140         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44141         (__libc_vfork): New strong alias.
44142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44143         removed.
44144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44145         removed.
44147 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44149         * malloc/malloc.c (mi_arena): New function.
44150         (malloc_info): Remove nested function mi_arena. Call non-nosted
44151         function mi_arena.
44153 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44155         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44156         by insrwi.
44157         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44158         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44159         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44160         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44161         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44162         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44163         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44165 2014-05-26  Andreas Schwab  <schwab@suse.de>
44167         [BZ #16984]
44168         * locale/programs/repertoire.c (repertoire_read): Add slash
44169         between I18NPATH element and file name.
44170         * locale/programs/locfile.c (locfile_read): Likewise.
44172 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44174         * nptl/pthread_mutexattr_settype.c
44175         (__pthread_mutexattr_settype):
44176         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44178 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44180         * nptl/tst-mutex5 (do_test):
44181         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44183 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44185         * benchtests/README: Document 'init' directive.
44186         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44187         BENCH_INIT.
44188         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44189         (parse_file): Recognize 'init' directive.
44191 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44193         [BZ #16796]
44194         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44195         alignment of struct pthread.
44197 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44199         [BZ #16878]
44200         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44201         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44202         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44203         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44205 2014-05-25  Richard Henderson  <rth@twiddle.net>
44207         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44208         (SINGLE_THREAD_P_PIC): Remove.
44209         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44210         (SINGLE_THREAD_P_PIC): Remove.
44212         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44213         branch to syscall error ...
44214         (PSEUDO): ... here.
44215         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44216         from __local_syscall_error to .Lsyscall_error.
44217         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44218         (SYSCALL_ERROR): Update label name.
44220         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44221         Do not use DOARGS/UNDOARGS.
44222         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44223         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44224         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44225         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44226         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44228         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44229         block comment.
44231         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44232         define if !NOT_IN_libc.
44233         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44234         define with non-default symbol versions.
44236 2014-05-23  Richard Henderson  <rth@twiddle.net>
44238         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44239         (vfork, __vfork): Define via compat_symbol.
44241         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44242         [!HAVE_IFUNC] (vfork_compat): Remove.
44243         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44245 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44247         [BZ #16978]
44248         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44249         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44250         variable.
44252 2014-05-23  Richard Henderson  <rth@twiddle.net>
44254         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44255         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44256         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44257         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44259         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44260         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44261         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44262         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44263         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44264         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44265         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44266         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44267         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44268         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44269         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44270         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44271         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44272         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44273         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44274         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44275         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44276         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44277         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44278         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44279         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44280         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44281         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44282         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44283         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44284         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44285         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44286         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44287         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44288         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44289         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44290         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44291         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44292         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44293         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44294         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44295         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44296         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44297         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44298         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44299         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44300         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44301         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44302         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44303         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44304         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44305         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44306         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44307         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44308         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44309         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44310         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44311         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44312         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44313         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44314         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44316         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44317         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44318         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
44319         before exiting on error.
44320         (__libc_vfork): New strong alias.
44321         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
44322         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44324         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44325         that was previously under [RESET_PID].
44326         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44328         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44330 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44332         [BZ #16977]
44333         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44334         value when x - 1 is zero.
44335         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44336         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44337         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44338         0.0L for an argument of 1.0L.
44339         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44340         Likewise.
44341         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44342         value when x - 1 is zero.
44343         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44344         * sysdeps/i386/fpu/libm-test-ulps: Update.
44345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44347 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44349         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44350         alphasort and versionsort.
44352 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44354         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44355         macro.
44356         [copysignf]: Likewise.
44358 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44360         * crypt/md5-crypt.c: Fix formatting.
44362 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44364         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44365         (b64_from_24bit): New function.
44367 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44369         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44370         libc_hidden_builtin_def to ifunc.
44371         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44372         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44374 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44376         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44377         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44379 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44381         * nscd/Depend (linuxthreads): Remove.
44382         (nptl): Add.
44383         * resolv/Depend (linuxthreads): Remove.
44384         * rt/Depend (linuxthreads): Remove.
44386         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44387         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44388         $(common-objpfx)elf/.
44389         (link-libc-before-gnulib): Likewise.
44390         (elfobjdir): Remove variable.
44391         * Makefile (install): Use $(elf-objpfx) instead of
44392         $(common-objpfx)elf/.
44393         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44394         $(elfobjdir)/.
44395         (link-libc-deps): Likewise.
44396         ($(common-objpfx)libc.so): Likewise.
44397         ($(common-objpfx)linkobj/libc.so): Likewise.
44398         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44399         instead of $(common-objpfx)elf/.
44400         (symbolic-link-list): Likewise.
44401         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44402         [$(cross-compiling) = no]: Likewise.
44403         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44404         $(elfobjdir)/.
44405         (static-gnulib-arch): Likewise.
44406         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44407         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44408         $(common-objpfx)elf/.
44410 2014-05-21  Richard Henderson  <rth@redhat.com>
44412         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44413         (SINGLE_THREAD_P): Use the correct width load.  Fold
44414         into the ldr offset.
44416         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44417         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44419 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44421         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44422         (libgcc_s_resume): Use __attribute_used__.
44423         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44424         Likewise.
44426 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44428         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44429         optimization when used with float constants.
44431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44433 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
44435         [BZ #16915]
44436         * locale/nl_langinfo_l.c: Make direct reference to every
44437         _nl_current_CATEGORY symbol.
44438         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44439         (tests-static): Add tst-langinfo-static.
44440         (tests-special): Add tst-langinfo-static.out.
44441         ($(objpfx)tst-langinfo.out): Redirect output.
44442         ($(objpfx)tst-langinfo-static.out): New.
44443         * localedata/tst-langinfo.sh: Send output to stdout.
44444         * localedata/tst-langinfo-static.c: New file.
44446         [BZ #16965]
44447         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44448         when the shift amount is modulo the limb size.
44450 2014-05-20  Richard Henderson  <rth@redhat.com>
44452         [BZ #16967]
44453         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44454         Change type of sa_flags from unsigned int to int.
44456         [BZ #16966]
44457         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44459         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44461 2014-05-20  Will Newton  <will.newton@linaro.org>
44463         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44464         Test the return value of the system call in the nocancel case.
44466 2014-05-20  Will Newton  <will.newton@linaro.org>
44467             Yvan Roux  <yvan.roux@linaro.org>
44469         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44470         #include of asm/ptrace.h.
44471         (PTRACE_GET_THREAD_AREA): Remove #undef.
44472         (PTRACE_GETHBPREGS): Likewise.
44473         (PTRACE_SETHBPREGS): Likewise.
44474         (struct user_regs_struct): New structure.
44475         (struct user_fpsimd_struct): New structure.
44476         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44477         #include of asm/ptrace.h and second #include of sys/user.h.
44478         (PTRACE_GET_THREAD_AREA): Remove #undef.
44479         (PTRACE_GETHBPREGS): Likewise.
44480         (PTRACE_SETHBPREGS): Likewise.
44481         (ELF_NGREG): Use new struct user_regs_struct.
44482         (elf_fpregset_t): Use new struct user_fpsimd_struct.
44484 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44486         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44489 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
44491         [BZ #16958]
44492         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44493         membar to avoid block loads/stores to overlap previous stores.
44495 2014-05-17  Richard Henderson  <rth@redhat.com>
44497         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44498         Create the __##syscall_name##_nocancel entry point.
44499         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44500         Remove; let the sysdep-cancel.h code create it.
44502 2014-05-17  David S. Miller  <davem@davemloft.net>
44504         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44505         Protect with __USE_GNU.
44506         (TIOCSET_TEMPT): Likewise.
44507         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44508         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44509         these are already provided in bits/ioctl-types.h
44511 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44513         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44514         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44516         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44517         Use wait4 regardless of [__NR_waitpid].
44519 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44521         PR libgcc/60166
44522         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44523         (_FP_NANSIGN_Q): Set the quiet bit.
44525 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44527         * benchtests/Makefile
44528         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44529         not $(common-objpfx)math/libm.so.
44530         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44531         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44532         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44533         $(common-objpfx)dlfcn/libdl.so.
44534         ($(objpfx)tst-audit8): Depend on $(libm), not
44535         $(common-objpfx)math/libm.so.
44536         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44537         not $(common-objpfx)dlfcn/libdl.so.
44538         * math/Makefile
44539         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44540         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44541         [$(build-shared) = yes].
44542         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44543         $(common-objpfx)nptl/libpthread.so.
44544         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44545         $(common-objpfx)math/libm.so$(libm.so-version) or
44546         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44547         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44548         $(common-objpfx)dlfcn/libdl.so.
44549         * setjmp/Makefile (link-libm): Remove variable.
44550         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44551         * stdio-common/Makefile (link-libm): Remove variable.
44552         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44553         * stdlib/Makefile (link-libm): Remove variable.
44554         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44555         ($(objpfx)tst-strtod-round): Likewise.
44556         ($(objpfx)tst-tininess): Likewise.
44557         ($(objpfx)tst-strtod-underflow): Likewise.
44558         ($(objpfx)tst-strtod6): Likewise.
44559         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44560         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44561         $(common-objpfx)dlfcn/libdl.so.
44563 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44565         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44566         BSD terminal modes definitions.
44568 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44570         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44571         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44573         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44574         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44575         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44576         Don't do #include_next.
44577         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44578         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44579         Don't do #include_next.
44580         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44581         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44582         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44583         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44585 2014-05-16  Allan McRae  <allan@archlinux.org>
44587         * po/sv.po: Update Swedish translation from translation project.
44589         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44590         in sed expression.
44592 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44594         [BZ #16917]
44595         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44596         errno if the TIOCGPTN ioctl fails with an error different than
44597         EINVAL.
44598         * login/tst-ptsname.c: New file.
44599         * login/Makefile (tests): Add tst-ptsname.
44601         [BZ #16943]
44602         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44603         and prlimit64.
44605 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44607         [BZ #16849]
44608         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44609         herrno to return EAI_AGAIN.
44611 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44613         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44614         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44615         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44616         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44617         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44618         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44619         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44620         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44621         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44622         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44623         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44624         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44625         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44626         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44627         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44628         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44629         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44630         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44631         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44632         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44633         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44634         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44635         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44636         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44637         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44638         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44639         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44640         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44641         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44642         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44644         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44645         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44646         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44648         Moved ...
44649         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44651         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44652         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44653         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44655         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44657         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44658         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44659         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44661         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44663         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44664         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44665         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44667         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44669         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44671         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44672         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44673         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44675         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44677         Moved ...
44678         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44680         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44682         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44684         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44686         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44688         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44690         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44691         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44692         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44693         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44694         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44696         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44698         Moved ...
44699         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44700         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44701         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44703         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44704         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44705         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44706         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44707         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44708         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44709         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44710         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44711         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44712         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44713         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44714         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44715         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44716         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44717         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44718         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44719         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44720         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44721         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44722         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44723         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44724         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44725         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44726         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44727         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44728         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44729         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44730         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44731         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44732         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44733         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44735         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44736         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44738         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44739         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44740         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44741         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44742         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44743         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44744         Moved ...
44745         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44746         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44747         Moved ...
44748         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44749         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44750         Moved ...
44751         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44752         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44753         Moved ...
44754         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44755         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44756         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44757         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44758         Moved ...
44759         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44760         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44761         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44763         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44764         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44765         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44766         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44767         Moved ...
44768         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44769         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44770         Moved ...
44771         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44772         ... here.
44773         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44774         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44775         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44776         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44777         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44778         Moved ...
44779         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44780         ... here.
44781         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44782         Moved ...
44783         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44784         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44785         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44786         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44787         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44788         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44789         Moved ...
44790         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44791         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44792         Moved ...
44793         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44794         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44795         Moved ...
44796         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44797         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44798         Moved ...
44799         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44800         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44801         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44802         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44803         Moved ...
44804         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44805         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44806         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44808         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44809         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44810         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44811         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44812         Moved ...
44813         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44814         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44815         Moved ...
44816         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44817         ... here.
44818         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44819         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44820         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44821         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44822         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44823         Moved ...
44824         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44825         ... here.
44826         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44827         Moved ...
44828         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44829         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44830         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44831         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44832         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44833         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44834         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44835         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44836         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44837         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44838         Moved ...
44839         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44840         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44841         Moved ...
44842         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44843         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44844         Moved ...
44845         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44846         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44847         Moved ...
44848         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44849         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44850         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44851         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44852         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44853         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44854         Moved ...
44855         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44856         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44857         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44858         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44859         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44860         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44861         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44862         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44863         Moved ...
44864         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44865         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44866         Moved ...
44867         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44868         ... here.
44869         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44870         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44871         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44872         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44873         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44874         Moved ...
44875         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44876         ... here.
44877         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44878         Moved ...
44879         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44880         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44881         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44882         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44883         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44884         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44885         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44886         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44887         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44888         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44889         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44891         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44892         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44894         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44895         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44897         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44898         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44899         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44900         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44901         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44902         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44903         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44904         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44905         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44906         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44907         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44908         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44909         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44910         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44911         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44913         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44915         Moved ...
44916         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44917         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44918         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44919         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44920         Moved ...
44921         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44922         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44923         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44924         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44925         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44926         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44927         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44928         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44929         Moved ...
44930         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44931         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44932         Moved ...
44933         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44934         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44935         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44936         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44937         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44938         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44939         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44940         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44941         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44942         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44943         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44944         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44945         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44946         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44947         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44948         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44949         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44951         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44952         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44953         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44954         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44955         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44957         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44958         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44959         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44960         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44961         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44962         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44963         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44964         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44965         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44966         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44968         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44969         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44971         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44972         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44973         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44974         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44975         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44976         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44977         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44978         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44979         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44980         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44981         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44982         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44983         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44984         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44985         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44986         Update #include.
44987         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44988         Likewise.
44989         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44990         Likewise.
44991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44992         Likewise.
44993         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44994         Likewise.
44995         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44996         Likewise.
44997         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44998         Likewise.
44999         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
45000         Likewise.
45001         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
45002         Likewise.
45003         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
45004         Likewise.
45005         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
45006         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
45007         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
45008         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
45009         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
45010         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
45011         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
45012         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
45013         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
45014         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
45015         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
45016         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
45017         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
45018         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
45019         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
45021         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
45022         that was previously under [RESET_PID].
45023         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
45024         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
45025         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
45027         * sysdeps/i386/nptl/Implies: New file.
45028         * sysdeps/x86_64/nptl/Implies: New file.
45029         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
45030         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
45031         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
45032         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
45034         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
45035         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45036         (__libc_vfork): New strong alias.
45037         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
45038         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
45040         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
45041         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45042         (__libc_vfork): New strong alias.
45043         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
45044         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
45046         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
45047         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45048         (__libc_vfork): New strong alias.
45049         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
45050         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
45051         * nptl/pt-vfork.c: New file.
45052         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
45053         (libpthread: GLIBC_2.20): New version set (empty).
45055 2014-05-14  Will Newton  <will.newton@linaro.org>
45057         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45058         rather than #if.
45060 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45062         [BZ #16564]
45063         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45064         arguments with exponent 65 or above.
45065         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45066         arguments 0x1p113L or above.
45067         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45068         to arguments 0x1p107L or above.
45069         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45070         positive arguments with exponent 65 or above.
45071         * math/auto-libm-test-in: Add more tests of log1p.
45072         * math/auto-libm-test-out: Regenerated.
45074         [BZ #16928]
45075         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45076         non-finite arguments is +0.
45077         * math/s_cacosf.c (__cacosf): Likewise.
45078         * math/s_cacosl.c (__cacosl): Likewise.
45079         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45080         * sysdeps/i386/fpu/libm-test-ulps: Update.
45081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45083         [BZ #16927]
45084         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45085         value.
45086         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45087         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45088         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45089         for explicit high bit of mantissa when testing for argument equal
45090         to 1.
45091         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45092         * sysdeps/i386/fpu/libm-test-ulps: Update.
45093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45095         [BZ #16516]
45096         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45097         (__erf): Scale by 16 instead of 8 in potentially underflowing
45098         case.  Ensure exception if result actually underflows.
45099         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45100         (__erff): Scale by 16 instead of 8 in potentially underflowing
45101         case.  Ensure exception if result actually underflows.
45102         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45103         (efx8): Remove variable.
45104         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45105         case.  Ensure exception if result actually underflows.
45106         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45107         (efx8): Remove variable.
45108         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45109         case.  Ensure exception if result actually underflows.
45110         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45111         (efx8): Remove variable.
45112         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45113         case.  Ensure exception if result actually underflows.
45114         * math/auto-libm-test-in: Add more tests of erf.
45115         * math/auto-libm-test-out: Regenerated.
45117 2014-05-14  Andreas Schwab  <schwab@suse.de>
45119         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45120         Remove code conditionalized on USE___THREAD.
45122         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45123         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45124         not definedness.
45126 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45128         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45129         Define unconditionally.
45130         (__ASSUME_O_CLOEXEC): Likewise.
45131         (__ASSUME_SOCK_CLOEXEC): Likewise.
45132         (__ASSUME_IN_NONBLOCK): Likewise.
45133         (__ASSUME_PIPE2): Likewise.
45134         (__ASSUME_EVENTFD2): Likewise.
45135         (__ASSUME_SIGNALFD4): Likewise.
45136         (__ASSUME_DUP3): Likewise.
45137         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45138         (__ASSUME_DUP3): Do not define.
45139         (__ASSUME_EVENTFD2): Likewise.
45140         (__ASSUME_IN_NONBLOCK): Likewise.
45141         (__ASSUME_O_CLOEXEC): Likewise.
45142         (__ASSUME_PIPE2): Likewise.
45143         (__ASSUME_SIGNALFD4): Likewise.
45144         (__ASSUME_SOCK_CLOEXEC): Likewise.
45145         (__ASSUME_UTIMES): Undefine.
45146         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45147         (__ASSUME_UTIMES): Do not define.
45148         (__ASSUME_O_CLOEXEC): Likewise.
45149         (__ASSUME_SOCK_CLOEXEC): Likewise.
45150         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45151         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45152         0x020621].
45153         (__ASSUME_PIPE2): Likewise.
45154         (__ASSUME_EVENTFD2): Likewise.
45155         (__ASSUME_SIGNALFD4): Likewise.
45156         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45157         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45158         Do not define.
45159         (__ASSUME_EVENTFD2): Likewise.
45160         (__ASSUME_SIGNALFD4): Likewise.
45161         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45162         (__ASSUME_32BITUIDS): Likewise.
45163         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45164         (__ASSUME_IPC64): Likewise.
45165         (__ASSUME_ST_INO_64_BIT): Likewise.
45166         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45167         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45168         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45169         (__ASSUME_UTIMES): Do not define.
45170         (__ASSUME_PSELECT): Likewise.
45171         (__ASSUME_PPOLL): Likewise.
45172         (__ASSUME_O_CLOEXEC): Likewise.
45173         (__ASSUME_SOCK_CLOEXEC): Likewise.
45174         (__ASSUME_IN_NONBLOCK): Likewise.
45175         (__ASSUME_PIPE2): Likewise.
45176         (__ASSUME_EVENTFD2): Likewise.
45177         (__ASSUME_SIGNALFD4): Likewise.
45178         (__ASSUME_DUP3): Likewise.
45179         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45180         (__ASSUME_UTIMES): Likewise.
45181         (__ASSUME_O_CLOEXEC): Likewise.
45182         (__ASSUME_SOCK_CLOEXEC): Likewise.
45183         (__ASSUME_IN_NONBLOCK): Likewise.
45184         (__ASSUME_PIPE2): Likewise.
45185         (__ASSUME_EVENTFD2): Likewise.
45186         (__ASSUME_SIGNALFD4): Likewise.
45187         (__ASSUME_DUP3): Likewise.
45188         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45189         (__ASSUME_UTIMES): Likewise.
45190         (__ASSUME_O_CLOEXEC): Likewise.
45191         (__ASSUME_SOCK_CLOEXEC): Likewise.
45192         (__ASSUME_IN_NONBLOCK): Likewise.
45193         (__ASSUME_PIPE2): Likewise.
45194         (__ASSUME_EVENTFD2): Likewise.
45195         (__ASSUME_SIGNALFD4): Likewise.
45196         (__ASSUME_DUP3): Likewise.
45197         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45198         Likewise.
45199         (__ASSUME_UTIMES): Likewise.
45200         (__ASSUME_EVENTFD2): Likewise.
45201         (__ASSUME_SIGNALFD4): Likewise.
45202         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45203         (__ASSUME_O_CLOEXEC): Likewise.
45204         (__ASSUME_SOCK_CLOEXEC): Likewise.
45205         (__ASSUME_IN_NONBLOCK): Likewise.
45206         (__ASSUME_PIPE2): Likewise.
45207         (__ASSUME_EVENTFD2): Likewise.
45208         (__ASSUME_SIGNALFD4): Likewise.
45209         (__ASSUME_DUP3): Likewise.
45210         (__ASSUME_UTIMES): Undefine.
45212         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45213         feclearexcept.  Remove symbol versioning code.
45214         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45215         symbol versioning code.
45216         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45217         symbol versioning code.
45218         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45219         feupdateenv.  Remove symbol versioning code.
45220         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45221         fegetexceptflag.  Remove symbol versioning code.
45222         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45223         fesetexceptflag.  Remove symbol versioning code.
45224         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45225         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45226         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45227         (__posix_fadvise64_l32): Remove prototype.
45228         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45229         code.
45231 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45233         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45234         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45235         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45236         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45238 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45240         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45241         current working directory
45243 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45245         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45246         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45247         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45248         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45249         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45250         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45251         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45252         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45253         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45254         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45255         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45256         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45257         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45258         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45259         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45260         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45261         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45262         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45263         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45264         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45265         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45266         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45267         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45268         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45269         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45270         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45271         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45272         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45273         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45274         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45275         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45276         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45277         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45278         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45279         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45280         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45281         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45282         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45283         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45284         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45285         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45286         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45288         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45289         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45291         * sysdeps/unix/sysv/linux/arm/Makefile
45292         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45293         Add rt-aeabi_unwind_cpp_pr1.
45294         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45295         Add nptl-aeabi_unwind_cpp_pr1.
45296         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45297         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45298         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45299         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45300         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45301         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45303         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45304         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45305         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45306         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45308         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45309         Deconditionalize the code that was previously under [RESET_PID].
45310         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45312         * sysdeps/generic/exit-thread.h: New file.
45313         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45314         * include/unistd.h (__exit_thread): Remove declaration.
45315         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45316         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45317         * csu/libc-start.c: Include <exit-thread.h>.
45318         (LIBC_START_MAIN): Pass no argument to __exit_thread.
45319         * nptl/pthread_create.c: Include <exit-thread.h>.
45320         (start_thread): Call __exit_thread in place of __exit_thread_inline.
45321         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
45322         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45323         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45324         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45325         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45326         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45327         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45328         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45329         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45330         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45331         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45332         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45333         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45334         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45335         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45336         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45338 2014-05-13  Andreas Schwab  <schwab@suse.de>
45340         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45342 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45344         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45345         (__ASSUME_UTIMES): Do not condition on kernel version.
45346         (__ASSUME_PSELECT): Define unconditionally.
45347         (__ASSUME_PPOLL): Likewise.
45348         (__ASSUME_ATFCTS): Likewise.
45349         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45350         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45351         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45352         (__ASSUME_UTIMENSAT): Define unconditionally.
45353         (__ASSUME_PRIVATE_FUTEX): Likewise.
45354         (__ASSUME_FALLOCATE): Likewise.
45355         (__ASSUME_O_CLOEXEC): Likewise.
45356         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45357         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45358         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45359         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45360         (__ASSUME_IN_NONBLOCK): Likewise.
45361         (__ASSUME_PIPE2): Likewise.
45362         (__ASSUME_EVENTFD2): Likewise.
45363         (__ASSUME_SIGNALFD4): Likewise.
45364         (__ASSUME_DUP3): Likewise.
45365         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45366         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45367         (__ASSUME_AT_RANDOM): Likewise.
45368         (__ASSUME_PREADV): Likewise.
45369         (__ASSUME_PWRITEV): Likewise.
45370         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45371         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45372         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45373         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45374         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45375         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45376         (__ASSUME_O_CLOEXEC): Define unconditionally.
45377         (__ASSUME_PSELECT): Do not undefine conditionally.
45378         (__ASSUME_PPOLL): Likewise.
45379         (__ASSUME_ATFCTS): Likewise.
45380         (__ASSUME_SET_ROBUST_LIST): Likewise.
45381         (__ASSUME_UTIMENSAT): Likewise.
45382         (__ASSUME_FDATASYNC): Define unconditionally.
45383         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45384         (__ASSUME_SIGFRAME_V2): Likewise.
45385         )__ASSUME_EVENTFD2): Likewise.
45386         (__ASSUME_SIGNALFD4): Likewise.
45387         (__ASSUME_PSELECT): Do not undefine conditionally.
45388         (__ASSUME_PPOLL): Likewise.
45389         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45390         (__ASSUME_PSELECT): Define unconditionally.
45391         (__ASSUME_PPOLL): Likewise.
45392         (__ASSUME_O_CLOEXEC): Likewise.
45393         (__ASSUME_SOCK_CLOEXEC): Likewise.
45394         (__ASSUME_IN_NONBLOCK): Likewise.
45395         (__ASSUME_PIPE2): Likewise.
45396         (__ASSUME_EVENTFD2): Likewise.
45397         (__ASSUME_SIGNALFD4): Likewise.
45398         (__ASSUME_DUP3): Likewise.
45399         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45400         (__ASSUME_O_CLOEXEC): Likewise.
45401         (__ASSUME_SOCK_CLOEXEC): Likewise.
45402         (__ASSUME_IN_NONBLOCK): Likewise.
45403         (__ASSUME_PIPE2): Likewise.
45404         (__ASSUME_EVENTFD2): Likewise.
45405         (__ASSUME_SIGNALFD4): Likewise.
45406         (__ASSUME_DUP3): Likewise.
45407         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45408         (__ASSUME_EVENTFD2): Likewise.
45409         (__ASSUME_SIGNALFD4): Likewise.
45410         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45412 2014-05-12  Andreas Schwab  <schwab@suse.de>
45414         [BZ #16932]
45415         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45416         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45417         than maximum RPC packet size.
45418         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45419         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45420         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45421         (_nss_nis_getservbyport_r): Likewise.
45423 2014-05-12  Will Newton  <will.newton@linaro.org>
45425         * malloc/Makefile (tests): Add tst-mallopt.
45426         * malloc/tst-mallopt.c: New file.
45428 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45430         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45431         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45433 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45435         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45436         (tst-tlsmod6.so): Likewise.
45438 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45440         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45442 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
45444         [BZ #16064]
45445         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45446         and <dl-procinfo.h>.
45447         (__fegetenv): Save SSE state in envp->__eip if supported.
45448         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45449         envp->__eip if supported.
45450         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45451         and <dl-procinfo.h>.
45452         (__fesetenv): Always set __eip, __cs_selector, __opcode,
45453         __data_offset and __data_selector in environment to 0.  Set SSE
45454         state if supported.
45455         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45456         test-fenv-sse.
45457         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45458         -mfpmath=sse.
45459         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45461 2014-05-09  Will Newton  <will.newton@linaro.org>
45463         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45464         and libc_relro_required for ARM.
45465         * sysdeps/arm/preconfigure: Regenerate.
45467 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
45468             Stefan Liebler  <stli@linux.vnet.ibm.com>
45470         * config.make.in (enable-lock-elision): New Makefile variable.
45471         * configure.ac: Likewise.
45472         * configure: Regenerate.
45473         * sysdeps/s390/configure.ac:
45474         Add check for gcc transactions support.
45475         * sysdeps/s390/configure: Regenerate.
45476         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45477         Build elision files if enabled.
45478         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45479         Add lock elision support for s390.
45480         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45481         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45482         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45483         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45484         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45485         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45486         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45487         Likewise.
45488         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45489         Likewise.
45490         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45491         Likewise.
45492         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45493         Likewise.
45494         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45495         (__lll_timedlock_elision, __lll_lock_elision)
45496         (__lll_unlock_elision, __lll_trylock_elision)
45497         (lll_timedlock_elision, lll_lock_elision)
45498         (lll_unlock_elision, lll_trylock_elision): Add.
45499         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45500         (pthread_mutex_t): Add lock elision support for s390.
45502 2014-05-14  Wilco  <wdijkstr@arm.com>
45504         * sysdeps/arm/fclrexcpt.c: Cleanup.
45505         * sysdeps/arm/fedisblxcpt.c: Cleanup.
45506         * sysdeps/arm/feenablxcpt.c: Cleanup.
45507         * sysdeps/arm/fegetenv.c: Cleanup.
45508         * sysdeps/arm/fegetexcept.c: Cleanup.
45509         * sysdeps/arm/fegetround.c: Cleanup.
45510         * sysdeps/arm/feholdexcpt.c: Cleanup.
45511         * sysdeps/arm/fesetenv.c: Cleanup.
45512         * sysdeps/arm/fesetround.c: Cleanup.
45513         * sysdeps/arm/feupdateenv.c: Cleanup.
45514         * sysdeps/arm/fgetexcptflg.c: Cleanup.
45515         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45516         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45517         * sysdeps/arm/ftestexcept.c: Cleanup.
45518         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45519         * sysdeps/arm/setfpucw.c: Cleanup.
45521 2014-05-09  Will Newton  <will.newton@linaro.org>
45523         * sysdeps/arm/armv7/strcmp.S: New file.
45524         * NEWS: Mention addition of ARMv7 optimized strcmp.
45526 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45528         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45529         look for %.ac rather than %.in.
45531         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45532         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45533         * sysdeps/mach/hurd/configure: Regenerated.
45534         * sysdeps/unix/sysv/linux/configure: Regenerated.
45536         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45538 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45540         [BZ# 16922]
45541         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45542         (LONG_SUB): Ditto.
45543         (PTR_SUB): Ditto.
45545 2014-05-07  Andreas Schwab  <schwab@suse.de>
45547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45548         when skipping over non-matching result from nscd.
45550 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45552         [BZ #16876]
45553         * nptl/sockperf.c (client): Check socket return value.
45555         [BZ #16877]
45556         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45557         nscd security class.
45559 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45561         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45562         * sysdeps/arm/unwind.h: ... here.
45564 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45566         [BZ# 16916]
45567         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45568         Define.
45570 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45572         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45573         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45574         multiarch strncpy for PPC64.
45575         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45576         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45577         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45578         multiarch optimizations.
45579         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45580         (__libc_ifunc_impl_list): Likewise.
45581         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45582         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45583         multiarch stpncpy for PPC64.
45584         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45585         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45587 2014-05-06  Andreas Schwab  <schwab@suse.de>
45589         [BZ #16912]
45590         * gmon/mcount.c (_MCOUNT_DECL): Use
45591         atomic_compare_and_exchange_bool_acq instead of
45592         catomic_compare_and_exchange_bool_acq.
45594 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45596         * elf/Makefile (others, install-bin): Remove pldd.
45597         (pldd-modules): Variable removed.
45598         ($(objpfx)pldd): Target removed.
45599         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45600         (others, install-bin): Append pldd here.
45601         ($(objpfx)pldd): New target.
45603         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45604         to 0, so the first #if test emitted later doesn't see it undefined.
45605         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45606         * sysdeps/gnu/errlist.c: Regenerated.
45608 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45610         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45611         [libc_hidden_builtin_def]: Define to empty value.
45612         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45613         [libc_hidden_builtin_def]: Likewise.
45614         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45615         [libc_hidden_builtin_def]: Likewise.
45616         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45617         [libc_hidden_builtin_def]: Likewise.
45618         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45619         __redirect_memcpy and define ifunc as default hidden symbol.
45620         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45621         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45623 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45625         * locale/iso-4217.def: Reintroduce XDR currency.
45627 2014-05-04  Allan McRae  <allan@archlinux.org>
45629         * po/eo.po: Update Esperanto translation from translation project.
45631 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45633         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45634         and FEATURE_INDEX_MAX to 1.
45635         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45637 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45639         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45640         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45641         * iconvdata/big5.c (ONE_DIRECTION): Define.
45642         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45643         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45644         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45645         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45646         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45647         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45648         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45649         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45650         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45651         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45652         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45653         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45654         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45655         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45656         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45657         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45658         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45659         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45660         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45661         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45662         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45663         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45664         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45665         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45666         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45667         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45668         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45669         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45670         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45671         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45672         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45673         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45674         * iconvdata/johab.c (ONE_DIRECTION): Define.
45675         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45676         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45677         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45678         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45679         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45680         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45681         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45682         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45683         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45684         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45686 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45688         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45689         (_IO_JUMPS_OFFSET): Define to 0.
45691         * nptl/sysdeps/pthread/bits/libc-lock.h
45692         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45693         (__libc_lock_define_initialized_recursive): Always define using
45694         initializer.  Modern compilers treat uninitialized (implicit zero) and
45695         explicit zero initializers the same (i.e. put the datum in bss).
45697 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45699         * nscd/nscd-client.h: Include <string.h>.
45701 2014-05-01  David S. Miller  <davem@davemloft.net>
45703         [BZ #16885]
45704         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45705         multiple zero bytes exist at the end of a string.
45706         Reported by Aurelien Jarno <aurelien@aurel32.net>
45708         * string/test-strcmp.c (check): Add explicit test for situations where
45709         there are multiple zero bytes after the first.
45711 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45713         [BZ #16890]
45714         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45715         when compiling wprintf.
45716         * stdio-common/tstdiomisc.c (t3): New function.
45717         (main): Call it.
45719 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45721         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45722         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45723         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45724         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45726 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45728         * stdlib/longlong.h: Updated from GCC.
45730 2014-05-01  Will Newton  <will.newton@linaro.org>
45731             Bernard Ogden  <bernie.ogden@linaro.org>
45733         * NEWS: Update fixed bug list.
45735         [BZ #15119]
45736         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45738 2014-04-30  David S. Miller  <davem@davemloft.net>
45740         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45741         (libc_feholdexcept_setround_sparc_ctx): New function.
45742         (libc_fesetenv_sparc_ctx): Likewise.
45743         (libc_feupdateenv_sparc_ctx): Likewise.
45744         (libc_feholdsetround_sparc_ctx): Likewise.
45745         (libc_feholdexcept_setround_ctx): Define.
45746         (libc_feholdexcept_setroundf_ctx): Likewise.
45747         (libc_feholdexcept_setroundl_ctx): Likewise.
45748         (libc_fesetenv_ctx): Likewise.
45749         (libc_fesetenvf_ctx): Likewise.
45750         (libc_fesetenvl_ctx): Likewise.
45751         (libc_feupdateenv_ctx): Likewise.
45752         (libc_feupdateenvf_ctx): Likewise.
45753         (libc_feupdateenvl_ctx): Likewise.
45754         (libc_feresetround_ctx): Likewise.
45755         (libc_feresetroundf_ctx): Likewise.
45756         (libc_feresetroundl_ctx): Likewise.
45757         (libc_feholdsetround_ctx): Likewise.
45758         (libc_feholdsetroundf_ctx): Likewise.
45759         (libc_feholdsetroundl_ctx): Likewise.
45761         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45762         with __USE_GNU instead of XOPEN cpp guards.
45764         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45765         0.
45767         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45768         with XOPEN cpp guards.
45770 2014-04-30  Julian Brown  <julian@codesourcery.com>
45772         [BZ #16888]
45773         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45774         handling.
45776 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45778         [BZ #9894]
45779         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45780         Change to 2.6.32.
45781         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45782         * sysdeps/unix/sysv/linux/configure: Regenerated.
45783         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45784         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45785         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45786         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45787         * README: Update reference to required Linux kernel version.
45788         * manual/install.texi (Linux): Update reference to required Linux
45789         kernel headers version.
45790         * INSTALL: Regenerated.
45792         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45793         header inclusion.
45794         [POSIX] (limits.h): Likewise.
45795         [POSIX] (math.h): Likewise.
45796         [POSIX] (sys/wait.h): Likewise.
45797         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45798         function.
45799         [POSIX] (stddef.h): Do not allow header inclusion.
45801 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45803         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45805 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45807         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45808         Return immediately after lll_futex_wake.
45810 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45812         [BZ #16791]
45813         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45814         structure.
45815         (datahead_init_pos): Call datahead_init_common early.
45816         (datahead_init_neg): Likewise.
45818         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45819         datahead_init_neg): New functions.
45820         * nscd/aicache.c (addhstaiX): Use them.
45821         * nscd/grpcache.c (cache_addgr): Likewise.
45822         * nscd/hstcache.c (cache_addhst): Likewise.
45823         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45824         * nscd/netgroupcache.c (do_notfound): Likewise.
45825         (addgetnetgrentX): Likewise.
45826         (addinnetgrX): Likewise.
45827         * nscd/pwdcache.c (cache_addpw): Likewise.
45828         * nscd/servicescache.c (cache_addserv): Likewise.
45830 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45831             Atsushi Onoe  <atsushi@onoe.org>
45833         [BZ #14308]
45834         [BZ #12994]
45835         [BZ #13651]
45836         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45837         one response is valid.
45838         * resolv/res_send.c (send_dg): Check for validity of other
45839         response if the current response is a referral.
45841 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45843         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45845 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45847         [BZ #16823]
45848         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45849         Always divide by positive zero when computing -Inf result.
45850         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45851         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45853 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45855         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45856         FPSCR if value do not change.
45857         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45858         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45859         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45860         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45861         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45862         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45863         function.
45865 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45867         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45868         * sysdeps/unix/sysv/linux/hppa: Move directory from
45869         ports/systeps/unix/sysv/linux/hppa.
45870         * README: Update listing for hppa-*-linux-gnu.
45872 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45874         [BZ #16754]
45875         * manual/stdio.texi (Hook functions): Fix types of stream hook
45876         functions.
45877         [BZ #16854]
45878         * socket/sys/socket.h: Fix typo in comment.
45880 2014-04-28  Wilco  <wdijkstr@arm.com>
45882         * sysdeps/arm/fenv_private.h: New file.
45883         * sysdeps/arm/math_private.h: New file.
45884         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45886 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45888         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45889         with __int128_t.
45890         (La_x86_64_retval): Likewise.
45892 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45894         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45895         fpsr if value didn't change.
45896         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45897         to fpcr if value didn't change.
45898         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45899         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45900         fpsr or fpcr if value didn't change.
45901         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45902         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45903         fpcr if value didn't change.
45904         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45905         to fpsr if value didn't change.
45907 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45909         * nptl/tst-sem3.c: Use test-skeleton.c
45910         (main): Rename to do_test.  Use return instead of
45911         exit.
45912         * nptl/tst-sem4.c: Use test-skeleton.c
45913         (main): Rename to do_test.
45915 2014-04-22  David S. Miller  <davem@davemloft.net>
45917         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45918         (struct sigaction): New struct member __glibc_reserved0, change
45919         type of sa_flags to int.
45921 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45923         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45924         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45926 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45928         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45929         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45931 2014-04-22  Will Newton  <will.newton@linaro.org>
45932             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45934         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45935         (__longjmp): Add longjmp and longjmp_target SystemTap
45936         probes.
45937         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45938         (__sigsetjmp): Add setjmp SystemTap probe.
45940 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45942         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45943         match manual order.
45945 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45947         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45949         * sysdeps/powerpc/fpu/fenv_private.h
45950         (libc_feholdexcept_setroundl_ctx): Define to
45951         libc_feholdexcept_setround_ppc_ctx.
45952         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45953         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45954         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45955         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45957 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45959         * sysdeps/aarch64/math-tests.h: New file.
45961 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45963         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45964         New.
45965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45966         Check and set bit_AVX2_Usable.
45967         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45968         macro.
45969         (bit_AVX2): Likewise.
45970         (index_AVX2_Usable): Likewise.
45971         (CPUID_AVX2): Likewise.
45972         (HAS_AVX2): Likewise.
45974 2014-04-17  Will Newton  <will.newton@linaro.org>
45976         * manual/setjmp.texi (System V contexts): Add note that
45977         calling setcontext on a context created by a call to a
45978         signal handler is undefined.  Update text to note that
45979         setcontext from a signal handler is possible but not
45980         recommended.
45982         [BZ #16629]
45983         * stdlib/tst-setcontext.c: Include signal.h.
45984         (main): Check that the signal stack before and
45985         after swapcontext is the same.
45987         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45988         Re-implement to restore registers in user code and avoid
45989         rt_sigreturn system call.
45991 2014-04-17  Wilco  <wdijkstr@arm.com>
45993         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45994         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45995         * math/test-fenv.c: Skip exception trap tests on targets which only
45996         support non-stop mode.
45998 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45999             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46001         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
46002         (libc_feholdsetround_aarch64_ctx)
46003         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
46004         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
46005         (libc_feresetround_ctx, libc_feresetroundf_ctx)
46006         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
46007         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
46008         (libc_feresetround_noexl_ctx): Define.
46010 2014-04-16  Richard Henderson  <rth@redhat.com>
46012         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
46014         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
46015         unwind tables.
46017         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
46018         const from the non-libc, non-ldso copy.
46020         * sysdeps/alpha/libm-test-ulps: Regenerate.
46022 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
46023             Wilco Dijkstra  <wilco.dijkstra@arm.com>
46025         * sysdeps/aarch64/fpu/math_private.h: New file.
46027 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46029         * sysdeps/aarch64/libm-test-ulps: Regenerate.
46031 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
46033         [BZ #16275]
46034         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
46035         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
46036         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
46037         Intel MPX bound registers before _dl_profile_fixup.
46038         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
46039         registers after _dl_profile_fixup.  Save and restore bound
46040         registers bnd0/bnd1 when calling _dl_call_pltexit.
46041         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
46042         (LR_BND_OFFSET): Likewise.
46043         (LRV_BND0_OFFSET): Likewise.
46044         (LRV_BND1_OFFSET): Likewise.
46046 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46048         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
46049         to...
46050         * sysdeps/mach/hurd/i386/tls.h: ... here.
46051         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
46052         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
46053         fields.
46055 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46057         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46059 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46061         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46063 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46065         [BZ #14770]
46066         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46067         * sysdeps/s390/configure: Regenerate.
46069         [BZ #16824]
46070         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46071         Set round-to-nearest internally to reduce error accumulation.
46073 2014-04-16  Alan Modra  <amodra@gmail.com>
46075         [BZ #16740]
46076         [BZ #16619]
46077         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46078         * math/libm-test.inc (frexp_test_data): Add tests.
46079         * NEWS: Update fixed bug list.
46081 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46083         * benchtests/Makefile: Depend on libraries in build directory.
46084         (bench-math): Separate out math tests.
46085         (bench-pthread): Separate out pthread tests.
46086         (bench): Include math and pthread tests.
46088 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46090         [BZ #16831]
46091         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46092         _dl_debug_initialize.
46094         * configure.ac: Remove SELinux header check.
46095         * configure: Regenerate.
46096         * nscd/selinux.c (perms): Array of const char* to permission names.
46097         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46098         default policy. Call string_to_security_class and string_to_av_perm to
46099         translate strings. Enforce default policy and call avs_has_perm with
46100         results of translated strings.
46102 2014-04-13  David S. Miller  <davem@davemloft.net>
46104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46106 2014-04-12  Allan McRae  <allan@archlinux.org>
46108         [BZ #16838]
46109         * manual/string.texi (Collation Functions): Fix qsort argument
46110         order in example.
46111         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46113 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46115         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46116         Make the test a no-op if there are no exceptions defined.
46118 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46120         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46121         enable-hardcoded-path-in-tests
46123 2014-04-11  Will Newton  <will.newton@linaro.org>
46125         * benchtests/Makefile (extra-objs): Add json-lib.o.
46126         (bench-func): Tidy up JSON output.
46127         * benchtests/bench-skeleton.c: Include json-lib.h.
46128         (main): Use JSON library functions to do output of
46129         benchmark results.
46130         * benchtests/bench-timing-type.c (main): Output the
46131         timing type simply, leaving formatting to the user.
46132         * benchtests/json-lib.c: New file.
46133         * benchtests/json-lib.h: Likewise.
46135 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46137         [BZ #15215]
46138         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46139         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46140         memory barriers.  Add comments.
46141         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46142         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46143         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46144         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46145         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46146         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46148 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46150         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46151         * sysdeps/s390/s390-64/configure.ac: ... this ...
46152         * sysdeps/s390/configure.ac: ... to here.
46153         * sysdeps/s390/s390-32/configure: Delete file.
46154         * sysdeps/s390/s390-64/configure: Delete file.
46155         * sysdeps/s390/configure: Regenerate.
46157 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46159         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46161 2014-04-11  Will Newton  <will.newton@linaro.org>
46163         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46164         to zero if it is not defined elsewhere.  (mtrim): Test
46165         the value of MALLOC_DEBUG with #if rather than #ifdef.
46167 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46169         * benchtests/pthread_once-inputs: New file.
46170         * benchtests/pthread_once-source.c: New file.
46171         * benchtests/README: Update documentation.
46173 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46174             H.J. Lu  <hongjiu.lu@intel.com>
46176         [BZ #16275]
46177         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46178         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46179         * sysdeps/x86_64/configure: Regenerated.
46180         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46181         macro.
46182         (REGISTER_SAVE_RAX): Likewise.
46183         (REGISTER_SAVE_RCX): Likewise.
46184         (REGISTER_SAVE_RDX): Likewise.
46185         (REGISTER_SAVE_RSI): Likewise.
46186         (REGISTER_SAVE_RDI): Likewise.
46187         (REGISTER_SAVE_R8): Likewise.
46188         (REGISTER_SAVE_R9): Likewise.
46189         (REGISTER_SAVE_BND0): Likewise.
46190         (REGISTER_SAVE_BND1): Likewise.
46191         (REGISTER_SAVE_BND2): Likewise.
46192         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46193         bound registers when calling _dl_fixup.
46195 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46197         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46198         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46199         of its definition.
46200         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46201         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46202         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46203         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46204         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46205         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46206         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46208 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46210         [BZ #15514]
46211         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46212         pathconf(_PC_NAME_MAX).
46214 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46216         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46217         Remove macro usage.
46218         (__PTHREAD_SPINS): Move definition to ...
46219         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46220         (__PTHREAD_SPINS): ... here.
46221         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46222         (__PTHREAD_SPIN): Likewise.
46223         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46224         (__PTHREAD_SPIN): Likewise.
46225         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46226         (__PTHREAD_SPIN): Likewise.
46227         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46228         (__PTHREAD_SPIN): Likewise.
46229         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46230         (__PTHREAD_SPIN): Likewise.
46231         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46232         (__PTHREAD_SPIN): Likewise.
46233         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46234         (__PTHREAD_SPIN): Likewise.
46235         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46236         (__PTHREAD_SPIN): Likewise.
46237         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46238         (__PTHREAD_SPIN): Likewise.
46239         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46240         (__PTHREAD_SPIN): Likewise.
46241         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46242         (__PTHREAD_SPIN): Likewise.
46243         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46244         (__PTHREAD_SPIN): Likewise.
46246         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46247         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46248         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46249         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46250         imply folder.
46251         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46252         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46253         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46254         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46255         correct imply path.
46256         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46257         strlen symbol for non multi-arch builds.
46258         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46259         missing hidden_def and weak_alias.
46261 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46263         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46265 2014-04-07  Will Newton  <will.newton@linaro.org>
46267         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46268         and contents.  [!_LIBC] Remove #ifndef and contents.
46269         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46270         * string/memccpy.c (__memccpy): Use ANSI prototype.
46271         * string/memfrob.c (memfrob): Likewise.
46272         * string/strcoll.c (STRCOLL): Likewise.
46273         * string/strlen.c (strlen): Likewise.
46274         * string/strtok.c (STRTOK): Likewise.
46275         * string/strcat.c: Remove unused #include of memcopy.h.
46276         (strcat): Use ANSI prototype.
46277         * string/strchr.c: Remove unused #include of memcopy.h.
46278         (strchr): Use ANSI prototype.
46279         * string/strcmp.c: Remove unused #include of memcopy.h.
46280         (strcmp): Use ANSI prototype.
46281         * string/strcpy.c: Remove unused #include of memcopy.h.
46282         (strcpy): Use ANSI prototype.
46284 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46286         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46287         * config.make.in (config-extra-cppflags): Set it from
46288         libc_extra_cppflags.
46289         * configure.ac (libc_extra_cflags): Make it accumulate over
46290         configure fragments.
46291         (libc_extra_cppflags): New flag.
46292         * configure. Regenerate.
46293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46294         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46295         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46298         [BZ #16815]
46299         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46300         result for FE_DOWNWARD rounding mode.
46301         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46302         Likewise.
46303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46305 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
46307         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46308         in function argument name.
46310 2014-04-03  David Svoboda  <svoboda@cert.org>
46312         [BZ #5666]
46313         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46314         explicitly.
46316 2014-04-03  Roland McGrath  <roland@hack.frob.com>
46318         * elf/dl-unmap-segments.h: New file.
46319         * sysdeps/generic/ldsodefs.h
46320         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46321         * elf/dl-close.c: Include <dl-unmap-segments.h>.
46322         * elf/dl-fptr.c: Likewise.
46323         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46324         * sysdeps/aarch64/tlsdesc.c: Likewise.
46325         * sysdeps/arm/tlsdesc.c: Likewise.
46326         * sysdeps/i386/tlsdesc.c: Likewise.
46327         * sysdeps/tile/dl-runtime.c: Likewise.
46328         * sysdeps/x86_64/tlsdesc.c: Likewise.
46329         * elf/dl-load.h: New file.
46330         * elf/dl-load.c: Include it.
46331         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46332         Macros moved to dl-load.h.
46333         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46334         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46335         Use _dl_unmap_segments in place of __munmap.
46336         Break out segment-mapping loop into ...
46337         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46339 2014-04-03  Will Newton  <will.newton@linaro.org>
46341         * elf/dl-lookup.c (do_lookup_x): Remove comment
46342         referring to nested function and move variable
46343         declarations down to before first use.
46345 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46347         [BZ #16799]
46348         [BZ #16800]
46349         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46350         with 0 numerator.
46351         * math/s_catanf.c (__catanf): Likewise.
46352         * math/s_catanh.c (__catanh): Likewise.
46353         * math/s_catanhf.c (__catanhf): Likewise.
46354         * math/s_catanhl.c (__catanhl): Likewise.
46355         * math/s_catanl.c (__catanl): Likewise.
46356         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46357         by positive zero when computing -Inf result.
46358         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46359         (catanh_test): Likewise.
46360         * sysdeps/i386/fpu/libm-test-ulps: Update.
46361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46363         [BZ #16789]
46364         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46365         instead of using underflowing value in computing result.
46366         * math/s_clog10.c (__clog10): Likewise.
46367         * math/s_clog10f.c (__clog10f): Likewise.
46368         * math/s_clog10l.c (__clog10l): Likewise.
46369         * math/s_clogf.c (__clogf): Likewise.
46370         * math/s_clogl.c (__clogl): Likewise.
46371         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46372         (clog10_test): Likewise.
46373         * sysdeps/i386/fpu/libm-test-ulps: Update.
46374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46376 2014-04-02  Alan Modra  <amodra@gmail.com>
46378         [BZ #16739]
46379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46380         output when value is near a power of two.  Use int64_t for lx and
46381         remove casts.  Use decimal rather than hex exponent constants.
46382         Don't use long double multiplication when double will suffice.
46383         * math/libm-test.inc (nextafter_test_data): Add tests.
46384         * NEWS: Add 16739 and 16786 to bug list.
46386         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46388         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46390 2014-04-01  Will Newton  <will.newton@linaro.org>
46392         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46393         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46395 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46397         [BZ #13347]
46398         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46399         * nptl/tst-setuid2.c: New file.
46400         * nptl/Makefile (xtests): Add tst-setuid2.
46402 2014-04-01  Alan Modra  <amodra@gmail.com>
46404         [BZ #16786]
46405         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46407 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46409         [BZ #6803]
46410         [BZ #6804]
46411         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46412         set errno as appropriate.
46413         * math/w_scalbf.c (__scalbf): Likewise.
46414         * math/w_scalbl.c (__scalbl): Likewise.
46415         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46416         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46417         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46418         Add more NaN tests.
46420         [BZ #16349]
46421         * math/w_atan2.c: Include <errno.h>.
46422         (__atan2): Set errno for result underflowing to zero.
46423         * math/w_atan2f.c: Include <errno.h>.
46424         (__atan2f): Set errno for result underflowing to zero.
46425         * math/w_atan2l.c: Include <errno.h>.
46426         (__atan2l): Set errno for result underflowing to zero.
46427         * math/auto-libm-test-in: Don't allow missing errno for some atan2
46428         tests.
46429         * math/auto-libm-test-out: Regenerated.
46431 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46433         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46434         Encode instruction correctly in little endian.
46435         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46436         Likewise.
46437         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46438         Likewise.
46439         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46440         Likewise.
46441         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46442         Likewise.
46444 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46446         [BZ #9894]
46447         * sysdeps/unix/sysv/linux/kernel-features.h
46448         [__sparc__ && !__arch64__ && !__sparc_v9__]
46449         (__ASSUME_SET_ROBUST_LIST): Do not define.
46450         [__sparc__ && !__arch64__ && !__sparc_v9__]
46451         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46452         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46453         Likewise.
46454         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46455         (__ASSUME_FUTEX_LOCK_PI): Undefine.
46456         (__ASSUME_REQUEUE_PI): Likewise.
46457         (__ASSUME_SET_ROBUST_LIST): Likewise.
46458         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46459         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46460         Undefine.
46461         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46462         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46463         Likewise.
46464         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46465         Likewise.
46466         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46467         Likewise.
46468         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46469         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46470         Undefine.
46471         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46472         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46473         Likewise.
46475         [BZ #16648]
46476         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46477         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46478         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46480 2014-03-31  Will Newton  <will.newton@linaro.org>
46482         * benchtests/Makefile (bench): Add ffs and ffsll to list
46483         of tests.
46484         * benchtests/ffs-inputs: New file.
46485         * benchtests/ffsll-inputs: Likewise.
46487 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
46489         [BZ #16770]
46490         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46491         too large before casting to int.
46492         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46493         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46494         * math/libm-test.inc (scalb_test_data): Add more tests.
46496 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46498         * benchtests/Makefile (DETAILED_OPT): New make option.
46499         (bench-func): Run benchmark program with -d if DETAILED_OPT is
46500         set.
46501         * benchtests/bench-skeleton.c: Include stdbool.h.
46502         (main): Store and print timings per input.
46503         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46504         member to each argument value.
46505         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46506         (_print_arg_data): Initialize per-input timing to 0.
46508         * benchtests/Makefile (timing-type): New binary.
46509         (bench-clean): Also remove bench-timing-type.
46510         (bench): New target for timing-type.
46511         (bench-func): Print output in JSON format.
46512         * benchtests/bench-skeleton.c (main): Print output in JSON
46513         format.
46514         * benchtests/bench-timing-type.c: New file.
46515         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46516         (TIMING_PRINT_STATS): Remove.
46517         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46518         name separately.
46520         * benchtests/bench-modf.c: Remove.
46521         * benchtests/modf-inputs: New inputs file.
46523 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46525         [BZ #16362]
46526         * math/s_clog10.c (M_PI_LOG10E): New macro.
46527         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46528         imaginary parts are 0.
46529         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46530         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46531         imaginary parts are 0.
46532         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46533         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46534         imaginary parts are 0.
46535         * math/libm-test.inc (clog10_test_data): Update expected results
46536         for when real and imaginary parts are 0.
46538 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46540         * elf/dl-load.c: Finish conversion of __builtin_expect into
46541         __glibc_{un}likely.
46543 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46545         [BZ #16348]
46546         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46547         1+x for argument with exponent below -67.
46548         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46549         Likewise.
46550         * math/auto-libm-test-in: Add more tests of exp.
46551         * math/auto-libm-test-out: Regenerated.
46553 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46555         [BZ #16759]
46556         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46557         (nscd_getnetgrent): Use it.
46559         [BZ #16760]
46560         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46561         of stpcpy.
46563 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46565         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46566         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46567         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46568         (lll_robust_unlock): Remove out of line section. Use cfi
46569         intrinsics.
46570         (LLL_STUB_UNWIND_INFO*): Remove.
46571         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46572         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46573         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46574         (lll_robust_unlock): Remove out of line section. Use cfi
46575         intrinsics.
46576         (LLL_STUB_UNWIND_INFO*): Remove.
46578 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46580         [BZ #16758]
46581         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46582         blank values.
46584 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46586         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46588 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46590         [BZ #16198]
46591         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46592         fnstenv.
46593         * math/test-fenv-preserve.c: New file.
46594         * math/Makefile (tests): Add test-fenv-preserve.
46596 2014-03-26  Will Newton <will.newton@linaro.org>
46598         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46600 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46602         * scripts/versionlist.awk: Partition the version sets and emit all
46603         GLIBC_* (sorted) before all others (sorted).
46605 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46607         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46608         GLIBC_2.2.5 version.
46610 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46612         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46613         calls.
46615         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46616         previous change.
46618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46620 2014-03-25  Andreas Schwab  <schwab@suse.de>
46622         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46623         label to be used after in6ailist is initialized.
46625 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46627         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46628         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46630 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46632         [BZ #16357]
46633         [BZ #16599]
46634         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46635         min_plus_half.
46636         (fp_formats): Update initializers.
46637         (init_fp_formats): Initialize new field.
46638         (output_for_one_input_case): Allow underflow for results up to
46639         min_plus_half.
46640         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46641         * math/auto-libm-test-in: Don't mark some underflows from asin and
46642         atanh as spurious.
46643         * math/auto-libm-test-out: Regenerated.
46644         * sysdeps/i386/fpu/libm-test-ulps: Update.
46645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46647 2014-03-25  Andreas Schwab  <schwab@suse.de>
46649         * libio/Makefile (tst-ftell-partial-wide-ENV)
46650         (tst-ftell-active-handler-ENV): Define.
46652 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46654         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46656 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46658         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46660 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46662         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46663         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46664         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46666 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46668         [BZ #16634]
46669         * elf/dl-load.c (open_verify): Add mode parameter.
46670         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46671         (open_path): Change from boolean 'secure' to complete flag 'mode'
46672         (_dl_map_object): Adjust.
46673         * elf/Makefile (tests): Add tst-dlopen-aout.
46674         * elf/tst-dlopen-aout.c: New test.
46676 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46678         [BZ #16714]
46679         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46680         (struct stat): Rename member pad0 to __glibc_reserved0.
46682         [BZ #16712]
46683         * sysdeps/s390/s390-32/bits/wordsize.h
46684         (__WORDSIZE32_SIZE_ULONG): New define.
46685         * sysdeps/s390/s390-64/bits/wordsize.h
46686         (__WORDSIZE32_SIZE_ULONG): Likewise.
46687         * sysdeps/generic/stdint.h (SIZE_MAX):
46688         Define as UL if __WORDSIZE32_SIZE_ULONG.
46690         [BZ #16713]
46691         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46692         (__glibc_reserved0): New variable.
46693         (sa_flags): Change type to int.
46695         * posix/Makefile (before-compile): Use += before-compile instead
46696         of a :=.
46698         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46699         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46701 2014-03-20  Andreas Schwab  <schwab@suse.de>
46703         [BZ #16743]
46704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46705         non-matching result from nscd.
46707 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46709         * scripts/bench.py: Moved to ...
46710         * benchtests/scripts/bench.py: ... here.
46711         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46713 2014-03-24  Andreas Schwab  <schwab@suse.de>
46715         [BZ #16002]
46716         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46717         alloca_account and account alloca use for struct in6ailist.
46719 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46721         [BZ #16284]
46722         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46723         rounding mode to recompute results that overflow to infinity or
46724         underflow to zero.
46725         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46726         bug 16284.
46727         * math/auto-libm-test-out: Regenerated.
46728         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46729         (ccosh_test): Likewise.
46730         (csin_test_data): Use plus_oflow.
46731         (csin_test): Use ALL_RM_TEST.
46732         (csinh_test_data): Use plus_oflow.
46733         (csinh_test): Use ALL_RM_TEST.
46734         * sysdeps/i386/fpu/libm-test-ulps: Update.
46735         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46737 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46739         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46740         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46741         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46743         [BZ #16731]
46744         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46745         when x - 1 is zero.
46746         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46747         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46748         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46749         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46750         argument is 1.
46751         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46752         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46753         zero.
46754         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46755         * sysdeps/i386/fpu/libm-test-ulps: Update.
46756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46758 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46760         * scripts/bench.pl: Remove file.
46761         * scripts/bench.py: New benchmark script.
46762         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46763         * benchtests/README: Mention python dependency.
46764         * scripts/pylintrc: New file.
46765         * scripts/pylint: New file.
46767         * bits/mathdef.h: Use #ifdef instead of #if.
46768         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46769         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46770         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46771         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46772         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46773         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46775 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46776             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46778         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46779         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46780         and strpbrk-ppc64 objects.
46781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46782         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46783         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46784         multiarch strpbrk for POWER7.
46785         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46786         multiarch strpbrk for PPC64.
46787         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46788         ifunc selector.
46789         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46790         strpbrk for POWER7.
46792 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46794         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46795         (atan_test): Likewise.
46796         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46797         (atanh_test): Use ALL_RM_TEST.
46798         (atan2_test_data): Likewise.
46799         (cabs_test): Likewise.
46800         (cacosh_test): Likewise.
46801         (carg_test): Likewise.
46802         (casin_test): Likewise.
46803         (casinh_test): Likewise.
46804         (cbrt_test): Likewise.
46805         (csqrt_test): Likewise.
46806         (erf_test): Likewise.
46807         (erfc_test): Likewise.
46808         (pow10_test): Likewise.
46809         (exp2_test): Likewise.
46810         (hypot_test): Likewise.
46811         (j0_test): Likewise.
46812         (j1_test): Likewise.
46813         (lgamma_test): Likewise.
46814         (gamma_test): Likewise.
46815         (sincos_test): Likewise.
46816         (tanh_test): Likewise.
46817         (y0_test): Likewise.
46818         (y1_test): Likewise.
46819         * sysdeps/i386/fpu/libm-test-ulps: Update.
46820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46822 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46824         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46826         and strcspn-ppc64 objects.
46827         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46828         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46829         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46830         multiarch strcspn for POWER7.
46831         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46832         multiarch strcspn for PPC64.
46833         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46834         ifunc selector.
46835         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46836         strcspn for POWER7.
46838 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46840         * math/gen-libm-test.pl (generate_testfile): Expect only function
46841         name as argument to AUTO_TESTS_* and pass results for all rounding
46842         modes to parse_args.
46843         (parse_auto_input): Separate inputs of automatic tests from
46844         outputs before storing in %auto_tests.
46845         * math/libm-test.inc (acos_test_data): Update call to
46846         AUTO_TESTS_f_f.
46847         (acos_test): Use ALL_RM_TEST.
46848         (acos_tonearest_test_data): Remove.
46849         (acos_test_tonearest): Likewise.
46850         (acos_towardzero_test_data): Likewise.
46851         (acos_test_towardzero): Likewise.
46852         (acos_downward_test_data): Likewise.
46853         (acos_test_downward): Likewise.
46854         (acos_upward_test_data): Likewise.
46855         (acos_test_upward): Likewise.
46856         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46857         (asin_test_data): Likewise.
46858         (asin_test): Use ALL_RM_TEST.
46859         (asin_tonearest_test_data): Remove.
46860         (asin_test_tonearest): Likewise.
46861         (asin_towardzero_test_data): Likewise.
46862         (asin_test_towardzero): Likewise.
46863         (asin_downward_test_data): Likewise.
46864         (asin_test_downward): Likewise.
46865         (asin_upward_test_data): Likewise.
46866         (asin_test_upward): Likewise.
46867         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46868         (atan_test_data): Likewise.
46869         (atanh_test_data): Likewise.
46870         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46871         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46872         (carg_test_data): Likewise.
46873         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46874         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46875         (ccosh_test_data): Likewise.
46876         (cexp_test_data): Likewise.
46877         (clog_test_data): Likewise.
46878         (clog10_test_data): Likewise.
46879         (cos_test_data): Update call to AUTO_TESTS_f_f.
46880         (cos_test): Use ALL_RM_TEST.
46881         (cos_tonearest_test_data): Remove.
46882         (cos_test_tonearest): Likewise.
46883         (cos_towardzero_test_data): Likewise.
46884         (cos_test_towardzero): Likewise.
46885         (cos_downward_test_data): Likewise.
46886         (cos_test_downward): Likewise.
46887         (cos_upward_test_data): Likewise.
46888         (cos_test_upward): Likewise.
46889         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46890         (cosh_test): Use ALL_RM_TEST.
46891         (cosh_tonearest_test_data): Remove.
46892         (cosh_test_tonearest): Likewise.
46893         (cosh_towardzero_test_data): Likewise.
46894         (cosh_test_towardzero): Likewise.
46895         (cosh_downward_test_data): Likewise.
46896         (cosh_test_downward): Likewise.
46897         (cosh_upward_test_data): Likewise.
46898         (cosh_test_upward): Likewise.
46899         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46900         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46901         (ctan_test_data): Likewise.
46902         (ctan_test): Use ALL_RM_TEST.
46903         (ctan_tonearest_test_data): Remove.
46904         (ctan_test_tonearest): Likewise.
46905         (ctan_towardzero_test_data): Likewise.
46906         (ctan_test_towardzero): Likewise.
46907         (ctan_downward_test_data): Likewise.
46908         (ctan_test_downward): Likewise.
46909         (ctan_upward_test_data): Likewise.
46910         (ctan_test_upward): Likewise.
46911         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46912         (ctanh_test): Use ALL_RM_TEST.
46913         (ctanh_tonearest_test_data): Remove.
46914         (ctanh_test_tonearest): Likewise.
46915         (ctanh_towardzero_test_data): Likewise.
46916         (ctanh_test_towardzero): Likewise.
46917         (ctanh_downward_test_data): Likewise.
46918         (ctanh_test_downward): Likewise.
46919         (ctanh_upward_test_data): Likewise.
46920         (ctanh_test_upward): Likewise.
46921         (erf_test_data): Update call to AUTO_TESTS_f_f.
46922         (erfc_test_data): Likewise.
46923         (exp_test_data): Likewise.
46924         (exp_test): Use ALL_RM_TEST.
46925         (exp_tonearest_test_data): Remove.
46926         (exp_test_tonearest): Likewise.
46927         (exp_towardzero_test_data): Likewise.
46928         (exp_test_towardzero): Likewise.
46929         (exp_downward_test_data): Likewise.
46930         (exp_test_downward): Likewise.
46931         (exp_upward_test_data): Likewise.
46932         (exp_test_upward): Likewise.
46933         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46934         (exp10_test): Use ALL_RM_TEST.
46935         (exp10_tonearest_test_data): Remove.
46936         (exp10_test_tonearest): Likewise.
46937         (exp10_towardzero_test_data): Likewise.
46938         (exp10_test_towardzero): Likewise.
46939         (exp10_downward_test_data): Likewise.
46940         (exp10_test_downward): Likewise.
46941         (exp10_upward_test_data): Likewise.
46942         (exp10_test_upward): Likewise.
46943         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46944         (expm1_test_data): Likewise.
46945         (expm1_test): Use ALL_RM_TEST.
46946         (expm1_tonearest_test_data): Remove.
46947         (expm1_test_tonearest): Likewise.
46948         (expm1_towardzero_test_data): Likewise.
46949         (expm1_test_towardzero): Likewise.
46950         (expm1_downward_test_data): Likewise.
46951         (expm1_test_downward): Likewise.
46952         (expm1_upward_test_data): Likewise.
46953         (expm1_test_upward): Likewise.
46954         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46955         (fma_test): Use ALL_RM_TEST.
46956         (fma_towardzero_test_data): Remove.
46957         (fma_test_towardzero): Likewise.
46958         (fma_downward_test_data): Likewise.
46959         (fma_test_downward): Likewise.
46960         (fma_upward_test_data): Likewise.
46961         (fma_test_upward): Likewise.
46962         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46963         (j0_test_data): Update call to AUTO_TESTS_f_f.
46964         (j1_test_data): Likewise.
46965         (jn_test_data): Update call to AUTO_TESTS_if_f.
46966         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46967         (log_test_data): Update call to AUTO_TESTS_f_f.
46968         (log10_test_data): Likewise.
46969         (log1p_test_data): Likewise.
46970         (log2_test_data): Likewise.
46971         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46972         (pow_tonearest_test_data): Likewise.
46973         (sin_test_data): Update call to AUTO_TESTS_f_f.
46974         (sin_test): Use ALL_RM_TEST.
46975         (sin_tonearest_test_data): Remove.
46976         (sin_test_tonearest): Likewise.
46977         (sin_towardzero_test_data): Likewise.
46978         (sin_test_towardzero): Likewise.
46979         (sin_downward_test_data): Likewise.
46980         (sin_test_downward): Likewise.
46981         (sin_upward_test_data): Likewise.
46982         (sin_test_upward): Likewise.
46983         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46984         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46985         (sinh_test): Use ALL_RM_TEST.
46986         (sinh_tonearest_test_data): Remove.
46987         (sinh_test_tonearest): Likewise.
46988         (sinh_towardzero_test_data): Likewise.
46989         (sinh_test_towardzero): Likewise.
46990         (sinh_downward_test_data): Likewise.
46991         (sinh_test_downward): Likewise.
46992         (sinh_upward_test_data): Likewise.
46993         (sinh_test_upward): Likewise.
46994         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46995         (sqrt_test): Use ALL_RM_TEST.
46996         (sqrt_tonearest_test_data): Remove.
46997         (sqrt_test_tonearest): Likewise.
46998         (sqrt_towardzero_test_data): Likewise.
46999         (sqrt_test_towardzero): Likewise.
47000         (sqrt_downward_test_data): Likewise.
47001         (sqrt_test_downward): Likewise.
47002         (sqrt_upward_test_data): Likewise.
47003         (sqrt_test_upward): Likewise.
47004         (tan_test_data): Update call to AUTO_TESTS_f_f.
47005         (tan_test): Use ALL_RM_TEST.
47006         (tan_tonearest_test_data): Remove.
47007         (tan_test_tonearest): Likewise.
47008         (tan_towardzero_test_data): Likewise.
47009         (tan_test_towardzero): Likewise.
47010         (tan_downward_test_data): Likewise.
47011         (tan_test_downward): Likewise.
47012         (tan_upward_test_data): Likewise.
47013         (tan_test_upward): Likewise.
47014         (tanh_test_data): Update call to AUTO_TESTS_f_f.
47015         (tgamma_test_data): Likewise.
47016         (y0_test_data): Likewise.
47017         (y1_test_data): Likewise.
47018         (yn_test_data): Update call to AUTO_TESTS_if_f.
47019         (main): Do not call removed functions.
47021 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47023         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
47024         (ldexp_test_data): Remove.
47025         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
47026         scalbn_test_data.
47027         (scalb_test): Use ALL_RM_TEST.
47029 2014-03-19  Andreas Schwab  <schwab@suse.de>
47031         * nscd/nscd.service: Also invalidate netgroup cache on reload.
47033 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
47035         [BZ #16649]
47036         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47037         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
47038         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
47039         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47040         (__ASSUME_PREADV): Undefine.
47041         (__ASSUME_PWRITEV): Likewise.
47043 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47045         * bits/mman-linux.h: Add comment about non-Linux use.
47046         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
47047         bits/mman-linux.h resting place.
47049         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
47050         * bits/mman-linux.h: ... here.
47052 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47054         * conform/conformtest.pl: Add standard definition when calling C
47055         preprocessor on data files.
47056         (checknamespace): Remove unused variable.
47058 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47060         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47061         minus_oflow, plus_uflow and minus_uflow in expected results.
47062         * math/libm-test.inc (scalbn_test_data): Add more tests of
47063         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47064         minus_uflow.
47065         (scalbn_test): Use ALL_RM_TEST.
47066         (scalbln_test_data): Add more tests of negative arguments.  Use
47067         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47068         (scalbln_test): Use ALL_RM_TEST.
47070 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47072         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47074 2014-03-18  Will Newton  <will.newton@linaro.org>
47076         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47077         inaccurate comment.
47079 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47081         * Makerules [!subdir] (check-abi): Exit with error status if a
47082         test failed.
47084 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47086         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47087         for rint.  Include results for all rounding modes.
47088         (nearbyint_test): Use ALL_RM_TEST.
47089         (rint_test_data): Include all tests used for nearbyint.
47091 2014-03-17  Will Newton  <will.newton@linaro.org>
47093         * nptl/sysdeps/pthread/pthread.h: Revert previous
47094         change.
47096         * sysdeps/generic/ldsodefs.h: Revert previous
47097         change.
47099         * libio/genops.c: Revert previous change.
47100         * libio/libioP.h: Likewise.
47101         * stdio-common/vfprintf.c: Likewise.
47103         * sysdeps/generic/math_private.h: Revert previous
47104         change.
47106         * sysdeps/generic/math_private.h: Check whether
47107         HAVE_RM_CTX is defined with #ifdef rather
47108         than #if.
47110         * argp/argp-fmtstream.h: Check whether
47111         __STRICT_ANSI__ is defined with #ifdef rather
47112         than #if.
47113         * argp/argp.h: Likewise.
47115         * libio/genops.c: Check whether
47116         _IO_JUMPS_OFFSET is defined with #ifdef rather
47117         than #if.
47118         * libio/libioP.h: Likewise.
47119         * stdio-common/vfprintf.c: Likewise.
47121         * sysdeps/generic/ldsodefs.h: Check whether
47122         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47123         than #if.
47125         * nptl/sysdeps/pthread/pthread.h: Check
47126         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47127         its value.
47129 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47131         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47132         setting O_APPEND.
47133         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47134         test case.
47136         [BZ #16680]
47137         * libio/fileops.c (_IO_file_open): Seek to end of file but
47138         don't cache the offset.
47139         (get_file_offset): Remove function.
47140         (do_ftell): Use cached offset when available.
47141         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47142         don't cache the offset.
47143         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47144         case.
47145         (do_one_test): Call it.
47146         (do_ftell_test): Fix up expected old offset for a+ mode.
47147         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47148         available.
47150         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47151         up test status with function return status.
47152         (do_write_test): Likewise.
47153         (do_append_test): Likewise.
47155         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47156         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47157         Remove.
47159 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47161         * math/gen-libm-test.pl (parse_args): Handle results specified for
47162         each rounding mode separately.
47163         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47164         tests and results from lrint_tonearest_test_data,
47165         lrint_towardzero_test_data, lrint_downward_test_data and
47166         lrint_upward_test_data.
47167         (lrint_test): Use ALL_RM_TEST.
47168         (lrint_tonearest_test_data): Remove.
47169         (lrint_test_tonearest): Likewise.
47170         (lrint_towardzero_test_data): Likewise.
47171         (lrint_test_towardzero): Likewise.
47172         (lrint_downward_test_data): Likewise.
47173         (lrint_test_downward): Likewise.
47174         (lrint_upward_test_data): Likewise.
47175         (lrint_test_upward): Likewise.
47176         (llrint_test_data): Merge in per-rounding-mode tests and results
47177         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47178         llrint_downward_test_data and llrint_upward_test_data.
47179         (llrint_test): Use ALL_RM_TEST.
47180         (llrint_tonearest_test_data): Remove.
47181         (llrint_test_tonearest): Likewise.
47182         (llrint_towardzero_test_data): Likewise.
47183         (llrint_test_towardzero): Likewise.
47184         (llrint_downward_test_data): Likewise.
47185         (llrint_test_downward): Likewise.
47186         (llrint_upward_test_data): Likewise.
47187         (llrint_test_upward): Likewise.
47188         (rint_test_data): Merge in per-rounding-mode tests and results
47189         from rint_tonearest_test_data, rint_towardzero_test_data,
47190         rint_downward_test_data and rint_upward_test_data.  Add
47191         per-rounding-mode results for tests not in those arrays.
47192         (rint_test): Use ALL_RM_TEST.
47193         (rint_tonearest_test_data): Remove.
47194         (rint_test_tonearest): Likewise.
47195         (rint_towardzero_test_data): Likewise.
47196         (rint_test_towardzero): Likewise.
47197         (rint_downward_test_data): Likewise.
47198         (rint_test_downward): Likewise.
47199         (rint_upward_test_data): Likewise.
47200         (rint_test_upward): Likewise.
47201         (main): Don't call removed functions.
47203 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47205         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47206         "Compiled on ..." crapola.  It is anti-useful.
47208 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47210         * scripts/evaluate-test.sh: Handle fourth argument to determine
47211         whether test run should stop on failure.
47212         * Makeconfig (stop-on-test-failure): New variable.
47213         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47214         $(stop-on-test-failure).
47215         * Makefile (tests): Give a summary of results from testing and
47216         exit with failure status if they include an ERROR or FAIL.
47217         (xtests): Likewise.
47218         * manual/install.texi (Configuring and compiling): Mention
47219         stop-on-test-failure=y.
47220         * INSTALL: Regenerated.
47222 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47224         * scripts/versionlist.awk: New file.
47225         * Makerules [$(build-shared) = yes]
47226         (postclean-generated): Add Versions.def, not Versions.def.v and
47227         Versions.def.v.i.
47228         ($(common-objpfx)Versions.def.v.i): Target removed.
47229         ($(common-objpfx)Versions.def): New target.
47230         ($(common-objpfx)Versions.all): Depend on that rather that
47231         $(common-objpfx)Versions.def.v.
47232         * Versions.def: File removed.
47234         * Makeconfig (+gccwarn): Add -Wundef.
47235         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47236         a dl-sysdep.h breaking its contract.
47237         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47238         * include/stackinfo.h: New file.
47239         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47240         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47241         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47242         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47243         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47244         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47245         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47246         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47247         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47248         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47249         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47250         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47251         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47252         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47253         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47255 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47257         [BZ #16707]
47258         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47259         implementation.
47260         * math/libm-test.inc (round_test_data): Add more tests.
47262         [BZ #16706]
47263         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47264         implementation.
47265         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47267         [BZ #16701]
47268         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47269         implementation.
47270         * math/libm-test.inc (ceil_test_data): Add more tests.
47272         * math/libm-test.inc (trunc_test_data): Add more tests related to
47273         BZ#16414.
47275 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47277         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47278         with #if rather than #ifdef.
47279         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47281 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
47283         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47284         first.  Disable AVX-512 GCC support if assembler doesn't support
47285         it.
47286         * sysdeps/x86_64/configure: Regenerated.
47288 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
47290         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47291         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47292         (__old_pthread_attr_setstack): Likewise.
47293         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47294         [!_STACK_GROWS_DOWN]: Likewise.
47296 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
47298         * config.make.in (have-bash2): Delete.
47299         * configure.ac (libc_cv_have_bash2): Delete.
47300         * configure: Regenerate.
47301         * elf/Makefile (common-ldd-rewrite): Rename to ...
47302         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
47303         (sh-ldd-rewrite): Delete.
47304         (bash-ldd-rewrite): Delete.
47305         (have-bash2): Delete checks.
47306         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47307         ldd-rewrite.
47309         * config.make.in (have-ksh): Delete.
47310         (KSH): Delete.
47311         * configure.ac (libc_cv_have_ksh): Delete.
47312         * configure: Regenerate.
47314         * elf/Makefile: Delete $(have-ksh) check.
47315         ($(objpfx)sotruss): Change KSH to BASH.
47316         * elf/sotruss.ksh: Rename to ...
47317         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
47318         function style to match POSIX.  Drop ksh vim mode setting.
47320         * manual/time.texi (Specifying the Time Zone with TZ): Change
47321         Tuesday to Thursday.
47323         * debug/tst-longjmp_chk2.c: Update header comment.
47324         (stackoverflow_handler): Add comment.  Call assert on pass value.
47326 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
47328         [BZ #16194]
47329         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47330         (HAVE_AVX512_ASM_SUPPORT): Likewise.
47331         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47332         (La_x86_64_vector): Add zmm.
47333         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47334         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47335         ($(objpfx)tst-audit10): New target.
47336         ($(objpfx)tst-audit10.out): Likewise.
47337         (tst-audit10-ENV): New.
47338         (AVX512-CFLAGS): Likewise.
47339         (CFLAGS-tst-audit10.c): Likewise.
47340         (CFLAGS-tst-auditmod10a.c): Likewise.
47341         (CFLAGS-tst-auditmod10b.c): Likewise.
47342         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47343         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47344         * sysdeps/x86_64/configure: Regenerated.
47345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47346         AVX-512 zmm register support.
47347         (_dl_x86_64_save_sse): Likewise.
47348         (_dl_x86_64_restore_sse): Likewise.
47349         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47350         size vector registers.
47351         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47352         (ZMM_SIZE): Likewise.
47353         * sysdeps/x86_64/tst-audit10.c: New file.
47354         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47355         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47357 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47359         * configure.ac (HAVE_EHDR_START): New check.
47360         * configure: Regenerated.
47361         * config.h.in (HAVE_EHDR_START): New #undef.
47362         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47363         assuming the lowest-addressed segment maps the start of the file.
47365 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47367         * INSTALL: Regenerated.
47369 2014-03-13  Will Newton  <will.newton@linaro.org>
47371         * manual/setjmp.texi (System V contexts): Improve
47372         clarity and grammar of documentation.
47374 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47376         [BZ #16381]
47377         * elf/Makefile (tests): Add tst-pie2.
47378         (tests-pie): Add tst-pie2.
47379         * elf/tst-pie2.c: New file.
47380         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47381         for ET_EXEC.
47382         * elf/rtld.c (map_doit): Load executable as lt_executable.
47383         (dl_main): Likewise.
47385 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47387         [BZ #16642]
47388         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47389         (__ASSUME_PSELECT): Undefine.
47391 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47393         [BZ #16689]
47394         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47395         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47396         static build.
47397         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47398         selector for static builds.
47400 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47402         [BZ #16695]
47403         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47404         key in the buffer.
47406 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47408         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47409         IFUNC selector for static builds.
47411 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47413         * sysdeps/mips/math_private.h [__mips_hard_float]
47414         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47415         libc_feresetround_mips_ctx.
47416         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47417         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47418         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47420         [BZ #16677]
47421         * math/s_nextafter.c (__nextafter): Do not return value from
47422         overflowing computation.
47423         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47424         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47425         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47426         Likewise.
47427         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47428         Likewise.
47429         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47430         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47432 2014-03-11  Roland McGrath  <roland@hack.frob.com>
47434         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47435         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47436         Move sfi_sp use from the load-multiple (that no longer sets sp) to
47437         the new mov targetting sp.
47439 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47441         [BZ #16683]
47442         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47443         Define it for static builds as well.
47444         (NO_BZERO_IMPL): Likewise.
47446 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47448         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47449         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47450         multiarch strspn for PPC64.
47451         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47452         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47454         (__libc_ifunc_impl_list): Likewise.
47455         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47456         multiarch optimizations
47457         * string/strspn.c (strspn): Using macro to redefine symbol name.
47459 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47460             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47462         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47463         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47464         multiarch strncat for PPC64.
47465         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47466         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47468         (__libc_ifunc_impl_list): Likewise.
47469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47470         multiarch optimizations
47472 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47474         [BZ #16639]
47475         * nscd/nscd.service: Make service type forking.
47477 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47479         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47480         sign in non default rounding modes.
47481         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47483 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
47485         * math/libm-test.inc (ALL_RM_TEST): New macro.
47486         (ceil_test): Use ALL_RM_TEST.
47487         (cimag_test): Likewise.
47488         (conj_test): Likewise.
47489         (copysign_test): Likewise.
47490         (cproj_test): Likewise.
47491         (creal_test): Likewise.
47492         (fabs_test): Likewise.
47493         (floor_test): Likewise.
47494         (fmax_test): Likewise.
47495         (fmin_test): Likewise.
47496         (fmod_test): Likewise.
47497         (fpclassify_test): Likewise.
47498         (frexp_test): Likewise.
47499         (ilogb_test): Likewise.
47500         (isfinite_test): Likewise.
47501         (finite_test): Likewise.
47502         (isgreater_test): Likewise.
47503         (isgreaterequal_test): Likewise.
47504         (isinf_test): Likewise.
47505         (isless_test): Likewise.
47506         (islessequal_test): Likewise.
47507         (islessgreater_test): Likewise.
47508         (isnan_test): Likewise.
47509         (isnormal_test): Likewise.
47510         (issignaling_test): Likewise.
47511         (isunordered_test): Likewise.
47512         (logb_test): Likewise.
47513         (logb_downward_test_data): Remove.
47514         (logb_test_downward): Likewise.
47515         (lround_test): Use ALL_RM_TEST.
47516         (llround_test): Likewise.
47517         (modf_test): Likewise.
47518         (nexttoward_test): Likewise.
47519         (remainder_test): Likewise.
47520         (drem_test): Likewise.
47521         (remainder_tonearest_test_data): Likewise.
47522         (remainder_test_tonearest): Likewise.
47523         (drem_test_tonearest): Likewise.
47524         (remainder_towardzero_test_data): Likewise.
47525         (remainder_test_towardzero): Likewise.
47526         (drem_test_towardzero): Likewise.
47527         (remainder_downward_test_data): Likewise.
47528         (remainder_test_downward): Likewise.
47529         (drem_test_downward): Likewise.
47530         (remainder_upward_test_data): Likewise.
47531         (remainder_test_upward): Likewise.
47532         (drem_test_upward): Likewise.
47533         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47534         (round_test): Use ALL_RM_TEST.
47535         (signbit_test): Likewise.
47536         (trunc_test): Likewise.
47537         (significand_test): Likewise.
47538         (main): Don't call removed functions.
47540 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47542         [BZ #16674]
47543         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47544         || __USE_XOPEN2K8].
47545         (ILL_ILLOPN): Likewise.
47546         (ILL_ILLADR): Likewise.
47547         (ILL_ILLTRP): Likewise.
47548         (ILL_PRVOPC): Likewise.
47549         (ILL_PRVREG): Likewise.
47550         (ILL_COPROC): Likewise.
47551         (ILL_BADSTK): Likewise.
47552         (FPE_INTDIV): Likewise.
47553         (FPE_INTOVF): Likewise.
47554         (FPE_FLTDIV): Likewise.
47555         (FPE_FLTOVF): Likewise.
47556         (FPE_FLTUND): Likewise.
47557         (FPE_FLTRES): Likewise.
47558         (FPE_FLTINV): Likewise.
47559         (FPE_FLTSUB): Likewise.
47560         (SEGV_MAPERR): Likewise.
47561         (SEGV_ACCERR): Likewise.
47562         (BUS_ADRALN): Likewise.
47563         (BUS_ADRERR): Likewise.
47564         (BUS_OBJERR): Likewise.
47565         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47566         (TRAP_TRACE): Likewise.
47567         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47568         __USE_XOPEN2K8].
47569         (CLD_KILLED): Likewise.
47570         (CLD_DUMPED): Likewise.
47571         (CLD_TRAPPED): Likewise.
47572         (CLD_STOPPED): Likewise.
47573         (CLD_CONTINUED): Likewise.
47574         (POLL_IN): Likewise.
47575         (POLL_OUT): Likewise.
47576         (POLL_MSG): Likewise.
47577         (POLL_ERR): Likewise.
47578         (POLL_PRI): Likewise.
47579         (POLL_HUP): Likewise.
47580         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47581         Likewise.
47582         (ILL_ILLOPN): Likewise.
47583         (ILL_ILLADR): Likewise.
47584         (ILL_ILLTRP): Likewise.
47585         (ILL_PRVOPC): Likewise.
47586         (ILL_PRVREG): Likewise.
47587         (ILL_COPROC): Likewise.
47588         (ILL_BADSTK): Likewise.
47589         (FPE_INTDIV): Likewise.
47590         (FPE_INTOVF): Likewise.
47591         (FPE_FLTDIV): Likewise.
47592         (FPE_FLTOVF): Likewise.
47593         (FPE_FLTUND): Likewise.
47594         (FPE_FLTRES): Likewise.
47595         (FPE_FLTINV): Likewise.
47596         (FPE_FLTSUB): Likewise.
47597         (SEGV_MAPERR): Likewise.
47598         (SEGV_ACCERR): Likewise.
47599         (BUS_ADRALN): Likewise.
47600         (BUS_ADRERR): Likewise.
47601         (BUS_OBJERR): Likewise.
47602         (BUS_MCEERR_AR): Likewise.
47603         (BUS_MCEERR_AO): Likewise.
47604         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47605         (TRAP_TRACE): Likewise.
47606         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47607         __USE_XOPEN2K8].
47608         (CLD_KILLED): Likewise.
47609         (CLD_DUMPED): Likewise.
47610         (CLD_TRAPPED): Likewise.
47611         (CLD_STOPPED): Likewise.
47612         (CLD_CONTINUED): Likewise.
47613         (POLL_IN): Likewise.
47614         (POLL_OUT): Likewise.
47615         (POLL_MSG): Likewise.
47616         (POLL_ERR): Likewise.
47617         (POLL_PRI): Likewise.
47618         (POLL_HUP): Likewise.
47619         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47620         (ILL_ILLOPN): Likewise.
47621         (ILL_ILLADR): Likewise.
47622         (ILL_ILLTRP): Likewise.
47623         (ILL_PRVOPC): Likewise.
47624         (ILL_PRVREG): Likewise.
47625         (ILL_COPROC): Likewise.
47626         (ILL_BADSTK): Likewise.
47627         (FPE_INTDIV): Likewise.
47628         (FPE_INTOVF): Likewise.
47629         (FPE_FLTDIV): Likewise.
47630         (FPE_FLTOVF): Likewise.
47631         (FPE_FLTUND): Likewise.
47632         (FPE_FLTRES): Likewise.
47633         (FPE_FLTINV): Likewise.
47634         (FPE_FLTSUB): Likewise.
47635         (SEGV_MAPERR): Likewise.
47636         (SEGV_ACCERR): Likewise.
47637         (BUS_ADRALN): Likewise.
47638         (BUS_ADRERR): Likewise.
47639         (BUS_OBJERR): Likewise.
47640         (BUS_MCEERR_AR): Likewise.
47641         (BUS_MCEERR_AO): Likewise.
47642         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47643         (TRAP_TRACE): Likewise.
47644         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47645         __USE_XOPEN2K8].
47646         (CLD_KILLED): Likewise.
47647         (CLD_DUMPED): Likewise.
47648         (CLD_TRAPPED): Likewise.
47649         (CLD_STOPPED): Likewise.
47650         (CLD_CONTINUED): Likewise.
47651         (POLL_IN): Likewise.
47652         (POLL_OUT): Likewise.
47653         (POLL_MSG): Likewise.
47654         (POLL_ERR): Likewise.
47655         (POLL_PRI): Likewise.
47656         (POLL_HUP): Likewise.
47657         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47658         Likewise.
47659         (ILL_ILLOPN): Likewise.
47660         (ILL_ILLADR): Likewise.
47661         (ILL_ILLTRP): Likewise.
47662         (ILL_PRVOPC): Likewise.
47663         (ILL_PRVREG): Likewise.
47664         (ILL_COPROC): Likewise.
47665         (ILL_BADSTK): Likewise.
47666         (ILL_BADIADDR): Likewise.
47667         (ILL_BREAK): Likewise.
47668         (FPE_INTDIV): Likewise.
47669         (FPE_INTOVF): Likewise.
47670         (FPE_FLTDIV): Likewise.
47671         (FPE_FLTOVF): Likewise.
47672         (FPE_FLTUND): Likewise.
47673         (FPE_FLTRES): Likewise.
47674         (FPE_FLTINV): Likewise.
47675         (FPE_FLTSUB): Likewise.
47676         (FPE_DECOVF): Likewise.
47677         (FPE_DECDIV): Likewise.
47678         (FPE_DECERR): Likewise.
47679         (FPE_INVASC): Likewise.
47680         (FPE_INVDEC): Likewise.
47681         (SEGV_MAPERR): Likewise.
47682         (SEGV_ACCERR): Likewise.
47683         (SEGV_PSTKOVF): Likewise.
47684         (BUS_ADRALN): Likewise.
47685         (BUS_ADRERR): Likewise.
47686         (BUS_OBJERR): Likewise.
47687         (BUS_MCEERR_AR): Likewise.
47688         (BUS_MCEERR_AO): Likewise.
47689         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47690         (TRAP_TRACE): Likewise.
47691         (TRAP_BRANCH): Likewise.
47692         (TRAP_HWBKPT): Likewise.
47693         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47694         __USE_XOPEN2K8].
47695         (CLD_KILLED): Likewise.
47696         (CLD_DUMPED): Likewise.
47697         (CLD_TRAPPED): Likewise.
47698         (CLD_STOPPED): Likewise.
47699         (CLD_CONTINUED): Likewise.
47700         (POLL_IN): Likewise.
47701         (POLL_OUT): Likewise.
47702         (POLL_MSG): Likewise.
47703         (POLL_ERR): Likewise.
47704         (POLL_PRI): Likewise.
47705         (POLL_HUP): Likewise.
47706         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47707         (ILL_ILLOPN): Likewise.
47708         (ILL_ILLADR): Likewise.
47709         (ILL_ILLTRP): Likewise.
47710         (ILL_PRVOPC): Likewise.
47711         (ILL_PRVREG): Likewise.
47712         (ILL_COPROC): Likewise.
47713         (ILL_BADSTK): Likewise.
47714         (FPE_INTDIV): Likewise.
47715         (FPE_INTOVF): Likewise.
47716         (FPE_FLTDIV): Likewise.
47717         (FPE_FLTOVF): Likewise.
47718         (FPE_FLTUND): Likewise.
47719         (FPE_FLTRES): Likewise.
47720         (FPE_FLTINV): Likewise.
47721         (FPE_FLTSUB): Likewise.
47722         (SEGV_MAPERR): Likewise.
47723         (SEGV_ACCERR): Likewise.
47724         (BUS_ADRALN): Likewise.
47725         (BUS_ADRERR): Likewise.
47726         (BUS_OBJERR): Likewise.
47727         (BUS_MCEERR_AR): Likewise.
47728         (BUS_MCEERR_AO): Likewise.
47729         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47730         (TRAP_TRACE): Likewise.
47731         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47732         __USE_XOPEN2K8].
47733         (CLD_KILLED): Likewise.
47734         (CLD_DUMPED): Likewise.
47735         (CLD_TRAPPED): Likewise.
47736         (CLD_STOPPED): Likewise.
47737         (CLD_CONTINUED): Likewise.
47738         (POLL_IN): Likewise.
47739         (POLL_OUT): Likewise.
47740         (POLL_MSG): Likewise.
47741         (POLL_ERR): Likewise.
47742         (POLL_PRI): Likewise.
47743         (POLL_HUP): Likewise.
47744         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47745         (ILL_ILLOPN): Likewise.
47746         (ILL_ILLADR): Likewise.
47747         (ILL_ILLTRP): Likewise.
47748         (ILL_PRVOPC): Likewise.
47749         (ILL_PRVREG): Likewise.
47750         (ILL_COPROC): Likewise.
47751         (ILL_BADSTK): Likewise.
47752         (FPE_INTDIV): Likewise.
47753         (FPE_INTOVF): Likewise.
47754         (FPE_FLTDIV): Likewise.
47755         (FPE_FLTOVF): Likewise.
47756         (FPE_FLTUND): Likewise.
47757         (FPE_FLTRES): Likewise.
47758         (FPE_FLTINV): Likewise.
47759         (FPE_FLTSUB): Likewise.
47760         (SEGV_MAPERR): Likewise.
47761         (SEGV_ACCERR): Likewise.
47762         (BUS_ADRALN): Likewise.
47763         (BUS_ADRERR): Likewise.
47764         (BUS_OBJERR): Likewise.
47765         (BUS_MCEERR_AR): Likewise.
47766         (BUS_MCEERR_AO): Likewise.
47767         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47768         (TRAP_TRACE): Likewise.
47769         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47770         __USE_XOPEN2K8].
47771         (CLD_KILLED): Likewise.
47772         (CLD_DUMPED): Likewise.
47773         (CLD_TRAPPED): Likewise.
47774         (CLD_STOPPED): Likewise.
47775         (CLD_CONTINUED): Likewise.
47776         (POLL_IN): Likewise.
47777         (POLL_OUT): Likewise.
47778         (POLL_MSG): Likewise.
47779         (POLL_ERR): Likewise.
47780         (POLL_PRI): Likewise.
47781         (POLL_HUP): Likewise.
47782         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47783         (ILL_ILLOPN): Likewise.
47784         (ILL_ILLADR): Likewise.
47785         (ILL_ILLTRP): Likewise.
47786         (ILL_PRVOPC): Likewise.
47787         (ILL_PRVREG): Likewise.
47788         (ILL_COPROC): Likewise.
47789         (ILL_BADSTK): Likewise.
47790         (FPE_INTDIV): Likewise.
47791         (FPE_INTOVF): Likewise.
47792         (FPE_FLTDIV): Likewise.
47793         (FPE_FLTOVF): Likewise.
47794         (FPE_FLTUND): Likewise.
47795         (FPE_FLTRES): Likewise.
47796         (FPE_FLTINV): Likewise.
47797         (FPE_FLTSUB): Likewise.
47798         (SEGV_MAPERR): Likewise.
47799         (SEGV_ACCERR): Likewise.
47800         (BUS_ADRALN): Likewise.
47801         (BUS_ADRERR): Likewise.
47802         (BUS_OBJERR): Likewise.
47803         (BUS_MCEERR_AR): Likewise.
47804         (BUS_MCEERR_AO): Likewise.
47805         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47806         (TRAP_TRACE): Likewise.
47807         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47808         __USE_XOPEN2K8].
47809         (CLD_KILLED): Likewise.
47810         (CLD_DUMPED): Likewise.
47811         (CLD_TRAPPED): Likewise.
47812         (CLD_STOPPED): Likewise.
47813         (CLD_CONTINUED): Likewise.
47814         (POLL_IN): Likewise.
47815         (POLL_OUT): Likewise.
47816         (POLL_MSG): Likewise.
47817         (POLL_ERR): Likewise.
47818         (POLL_PRI): Likewise.
47819         (POLL_HUP): Likewise.
47820         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47821         (ILL_ILLOPN): Likewise.
47822         (ILL_ILLADR): Likewise.
47823         (ILL_ILLTRP): Likewise.
47824         (ILL_PRVOPC): Likewise.
47825         (ILL_PRVREG): Likewise.
47826         (ILL_COPROC): Likewise.
47827         (ILL_BADSTK): Likewise.
47828         (ILL_DBLFLT): Likewise.
47829         (ILL_HARDWALL): Likewise.
47830         (FPE_INTDIV): Likewise.
47831         (FPE_INTOVF): Likewise.
47832         (FPE_FLTDIV): Likewise.
47833         (FPE_FLTOVF): Likewise.
47834         (FPE_FLTUND): Likewise.
47835         (FPE_FLTRES): Likewise.
47836         (FPE_FLTINV): Likewise.
47837         (FPE_FLTSUB): Likewise.
47838         (SEGV_MAPERR): Likewise.
47839         (SEGV_ACCERR): Likewise.
47840         (BUS_ADRALN): Likewise.
47841         (BUS_ADRERR): Likewise.
47842         (BUS_OBJERR): Likewise.
47843         (BUS_MCEERR_AR): Likewise.
47844         (BUS_MCEERR_AO): Likewise.
47845         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47846         (TRAP_TRACE): Likewise.
47847         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47848         __USE_XOPEN2K8].
47849         (CLD_KILLED): Likewise.
47850         (CLD_DUMPED): Likewise.
47851         (CLD_TRAPPED): Likewise.
47852         (CLD_STOPPED): Likewise.
47853         (CLD_CONTINUED): Likewise.
47854         (POLL_IN): Likewise.
47855         (POLL_OUT): Likewise.
47856         (POLL_MSG): Likewise.
47857         (POLL_ERR): Likewise.
47858         (POLL_PRI): Likewise.
47859         (POLL_HUP): Likewise.
47860         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47861         (ILL_ILLOPN): Likewise.
47862         (ILL_ILLADR): Likewise.
47863         (ILL_ILLTRP): Likewise.
47864         (ILL_PRVOPC): Likewise.
47865         (ILL_PRVREG): Likewise.
47866         (ILL_COPROC): Likewise.
47867         (ILL_BADSTK): Likewise.
47868         (FPE_INTDIV): Likewise.
47869         (FPE_INTOVF): Likewise.
47870         (FPE_FLTDIV): Likewise.
47871         (FPE_FLTOVF): Likewise.
47872         (FPE_FLTUND): Likewise.
47873         (FPE_FLTRES): Likewise.
47874         (FPE_FLTINV): Likewise.
47875         (FPE_FLTSUB): Likewise.
47876         (SEGV_MAPERR): Likewise.
47877         (SEGV_ACCERR): Likewise.
47878         (BUS_ADRALN): Likewise.
47879         (BUS_ADRERR): Likewise.
47880         (BUS_OBJERR): Likewise.
47881         (BUS_MCEERR_AR): Likewise.
47882         (BUS_MCEERR_AO): Likewise.
47883         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47884         (TRAP_TRACE): Likewise.
47885         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47886         __USE_XOPEN2K8].
47887         (CLD_KILLED): Likewise.
47888         (CLD_DUMPED): Likewise.
47889         (CLD_TRAPPED): Likewise.
47890         (CLD_STOPPED): Likewise.
47891         (CLD_CONTINUED): Likewise.
47892         (POLL_IN): Likewise.
47893         (POLL_OUT): Likewise.
47894         (POLL_MSG): Likewise.
47895         (POLL_ERR): Likewise.
47896         (POLL_PRI): Likewise.
47897         (POLL_HUP): Likewise.
47898         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47899         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47901         [BZ #16670]
47902         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47903         before #include of <time.h>.
47904         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47905         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47906         (test-xfail-UNIX98/sched.h/conform): Likewise.
47908 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47910         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47911         error absence of trapping exception support.
47912         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47914 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47916         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47917         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47918         * timezone/Makefile (testdata): Move definition above include of
47919         Rules.
47920         (test-zones): New variable.
47921         (tests-special): Add zone files.
47922         (build-testdata): Use $(evaluate-test).
47924         * elf/Makefile (tests-special): Rename tests to end with .out.
47925         ($(objpfx)noload-mem): Likewise.
47926         ($(objpfx)tst-leaks1-mem): Likewise.
47927         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47928         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47929         $(objpfx)test-iconvconfig.out.
47930         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47931         set -e inside subshell and redirect output to file.
47932         * iconvdata/Makefile (generated): Rename tests to end with .out.
47933         Correct type.
47934         (tests-special): Rename tests to end with .out.
47935         ($(objpfx)mtrace-tst-loading): Likewise.
47936         * intl/Makefile (generated): Likewise.
47937         (tests-special): Likewise.
47938         ($(objpfx)mtrace-tst-gettext): Likewise.
47939         * misc/Makefile (generated): Likewise.
47940         (tests-special): Likewise.
47941         ($(objpfx)tst-error1-mem): Likewise.
47942         * nptl/Makefile (tests-special): Likewise.
47943         ($(objpfx)tst-stack3-mem): Likewise.
47944         (generated): Likewise.
47945         * posix/Makefile (generated): Likewise.
47946         (tests-special): Likewise.
47947         (xtests-special): Likewise.
47948         ($(objpfx)tst-fnmatch-mem): Likewise.
47949         ($(objpfx)bug-regex2-mem): Likewise.
47950         ($(objpfx)bug-regex14-mem): Likewise.
47951         ($(objpfx)bug-regex21-mem): Likewise.
47952         ($(objpfx)bug-regex31-mem): Likewise.
47953         ($(objpfx)tst-vfork3-mem): Likewise.
47954         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47955         ($(objpfx)tst-pcre-mem): Likewise.
47956         ($(objpfx)tst-boost-mem): Likewise.
47957         ($(objpfx)bug-ga2-mem): Likewise.
47958         ($(objpfx)bug-glob2-mem): Likewise.
47959         * resolv/Makefile (generate): Likewise.
47960         (tests-special): Likewise.
47961         (xtests-special): Likewise.
47962         (generated): Likewise.
47963         ($(objpfx)mtrace-tst-leaks): Likewise.
47964         ($(objpfx)mtrace-tst-leaks2): Likewise.
47966         * scripts/merge-test-results.sh: New file.
47967         * Makefile (tests-special-notdir): New variable.
47968         (tests): Run merge-test-results.sh.
47969         (xtests): Likewise.
47970         * Rules (tests-special-notdir): New variable.
47971         (xtests-special-notdir): Likewise.
47972         (tests): Run merge-test-results.sh
47973         (xtests): Likewise.
47975         * Makeconfig (test-xfail-name): New variable.
47976         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47977         compute variable name for expected failures.
47978         * conform/Makefile (conformtest-headers-data): New variable.
47979         (conformtest-standards): Likewise.
47980         (conformtest-headers-ISO): Likewise.
47981         (conformtest-headers-ISO99): Likewise.
47982         (conformtest-headers-ISO11): Likewise.
47983         (conformtest-headers-POSIX): Likewise.
47984         (conformtest-headers-XPG3): Likewise.
47985         (conformtest-headers-XPG4): Likewise.
47986         (conformtest-headers-UNIX98): Likewise.
47987         (conformtest-headers-XOPEN2K): Likewise.
47988         (conformtest-headers-POSIX2008): Likewise.
47989         (conformtest-headers-XOPEN2K8): Likewise.
47990         (conformtest-header-list-base): Likewise.
47991         (conformtest-header-list-tests): Likewise.
47992         (conformtest-header-base): Likewise.
47993         (conformtest-header-tests): Likewise.
47994         (tests-special): Add $(conformtest-header-list-tests).  If
47995         [$(fast-check) && !$(cross-compiling)], add
47996         $(conformtest-header-tests) instead of
47997         $(objpfx)run-conformtest.out.
47998         (generated): Add $(conformtest-header-list-base).  If
47999         [$(fast-check) && !$(cross-compiling)], add
48000         $(conformtest-header-base).  Remove previous setting.
48001         ($(conformtest-header-list-tests)): New target.
48002         (test-xfail-run-conformtest): Remove variable.
48003         ($(objpfx)run-conformtest.out): Remove target.
48004         (test-xfail-ISO11/complex.h/conform): New variable.
48005         (test-xfail-ISO11/stdalign.h/conform): Likewise.
48006         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
48007         (test-xfail-XPG3/varargs.h/conform): Likewise.
48008         (test-xfail-XPG4/varargs.h/conform): Likewise.
48009         (test-xfail-UNIX98/varargs.h/conform): Likewise.
48010         (test-xfail-XPG4/ndbm.h/conform): Likewise.
48011         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
48012         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
48013         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
48014         (test-xfail-XPG3/fcntl.h/conform): Likewise.
48015         (test-xfail-XPG3/ftw.h/conform): Likewise.
48016         (test-xfail-XPG3/grp.h/conform): Likewise.
48017         (test-xfail-XPG3/langinfo.h/conform): Likewise.
48018         (test-xfail-XPG3/limits.h/conform): Likewise.
48019         (test-xfail-XPG3/pwd.h/conform): Likewise.
48020         (test-xfail-XPG3/search.h/conform): Likewise.
48021         (test-xfail-XPG3/signal.h/conform): Likewise.
48022         (test-xfail-XPG3/stdio.h/conform): Likewise.
48023         (test-xfail-XPG3/stdlib.h/conform): Likewise.
48024         (test-xfail-XPG3/string.h/conform): Likewise.
48025         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
48026         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
48027         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
48028         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
48029         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
48030         (test-xfail-XPG3/sys/types.h/conform): Likewise.
48031         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
48032         (test-xfail-XPG3/termios.h/conform): Likewise.
48033         (test-xfail-XPG3/time.h/conform): Likewise.
48034         (test-xfail-XPG3/unistd.h/conform): Likewise.
48035         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
48036         (test-xfail-XPG4/fcntl.h/conform): Likewise.
48037         (test-xfail-XPG4/langinfo.h/conform): Likewise.
48038         (test-xfail-XPG4/netdb.h/conform): Likewise.
48039         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
48040         (test-xfail-XPG4/signal.h/conform): Likewise.
48041         (test-xfail-XPG4/stdio.h/conform): Likewise.
48042         (test-xfail-XPG4/stdlib.h/conform): Likewise.
48043         (test-xfail-XPG4/stropts.h/conform): Likewise.
48044         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
48045         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
48046         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
48047         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
48048         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
48049         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
48050         (test-xfail-XPG4/sys/time.h/conform): Likewise.
48051         (test-xfail-XPG4/sys/types.h/conform): Likewise.
48052         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
48053         (test-xfail-XPG4/termios.h/conform): Likewise.
48054         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48055         (test-xfail-XPG4/unistd.h/conform): Likewise.
48056         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48057         (test-xfail-POSIX/sched.h/conform): Likewise.
48058         (test-xfail-POSIX/signal.h/conform): Likewise.
48059         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48060         (test-xfail-POSIX/tar.h/conform): Likewise.
48061         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48062         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48063         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48064         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48065         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48066         (test-xfail-UNIX98/sched.h/conform): Likewise.
48067         (test-xfail-UNIX98/signal.h/conform): Likewise.
48068         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48069         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48070         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48071         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48072         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48073         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48074         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48075         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48076         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48077         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48078         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48079         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48080         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48081         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48082         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48083         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48084         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48085         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48086         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48087         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48088         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48089         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48090         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48091         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48092         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48093         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48094         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48095         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48096         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48097         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48098         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48099         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48100         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48101         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48102         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48103         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48104         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48105         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48106         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48107         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48108         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48109         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48110         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48111         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48112         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48113         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48114         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48115         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48116         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48117         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48118         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48119         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48120         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48121         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48122         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48123         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48124         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48125         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48126         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48127         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48128         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48129         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48130         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48131         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48132         (conformtest-cc-flags): Likewise.
48133         ($(conformtest-header-tests): New target.
48134         * conform/check-header-lists.sh: New file.
48135         * conform/run-conformtest.sh: Remove.
48137         * conform/conformtest.pl: Allow ' and \ in values given for
48138         constants.
48139         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48140         inclusion.
48141         [POSIX] (sys/types.h): Likewise.
48142         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48143         inclusion.
48144         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48145         inclusion.
48146         * conform/data/signal.h-data (SIGIO): Remove expectation.
48147         [XPG3] (SIGBUS): Do not expect.
48148         [POSIX || XPG3] (SIGPOLL): Likewise.
48149         [POSIX || XPG3] (SIGPROF): Likewise.
48150         [POSIX || XPG3] (SIGSYS): Likewise.
48151         [XPG3] (SIGTRAP): Likewise.
48152         [POSIX || XPG3] (SIGURG): Likewise.
48153         [POSIX || XPG3] (SIGVTALRM): Likewise.
48154         [POSIX || XPG3] (SIGXCPU): Likewise.
48155         [POSIX || XPG3] (SIGXFSZ): Likewise.
48156         [POSIX] (SA_SIGINFO): Expect.
48157         [XPG3] (siginfo_t): Do not expect type or contents.
48158         [POSIX] (si_pid): Do not expect element.
48159         [POSIX] (si_uid): Likewise.
48160         [POSIX] (si_addr): Likewise.
48161         [POSIX] (si_status): Likewise.
48162         [POSIX] (si_band): Likewise.
48163         [XPG4] (si_value): Likewise.
48164         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48165         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48166         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48167         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48168         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48169         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48170         [POSIX || XPG3] (ILL_COPROC): Likewise.
48171         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48172         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48173         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48174         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48175         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48176         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48177         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48178         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48179         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48180         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48181         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48182         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48183         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48184         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48185         [POSIX || XPG3] (CLD_EXITED): Likewise.
48186         [POSIX || XPG3] (CLD_KILLED): Likewise.
48187         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48188         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48189         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48190         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48191         [POSIX || XPG3] (POLL_IN): Likewise.
48192         [POSIX || XPG3] (POLL_OUT): Likewise.
48193         [POSIX || XPG3] (POLL_MSG): Likewise.
48194         [POSIX || XPG3] (POLL_ERR): Likewise.
48195         [POSIX || XPG3] (POLL_PRI): Likewise.
48196         [POSIX || XPG3] (POLL_HUP): Likewise.
48197         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48198         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48199         (SIG*): Do not allow.
48200         [XPG3] (si_*): Likewise.
48201         [XPG3] (SI_*): Likewise.
48202         [XPG3 || XPG4] (sigev_*): Likewise.
48203         [XPG3 || XPG4] (SIGEV_*): Likewise.
48204         [XPG3 || XPG4] (sival_*): Likewise.
48205         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48206         [POSIX || XPG3] (BUS_*): Likewise.
48207         [POSIX || XPG3] (CLD_*): Likewise.
48208         [POSIX || XPG3] (FPE_*): Likewise.
48209         [POSIX || XPG3] (ILL_*): Likewise.
48210         [POSIX || XPG3] (POLL_*): Likewise.
48211         [POSIX || XPG3] (SEGV_*): Likewise.
48212         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48213         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48214         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48215         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48216         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48217         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48218         Specify type and value.
48219         (TVERSLEN): Likewise.
48220         (REGTYPE): Likewise.
48221         (AREGTYPE): Likewise.
48222         (LNKTYPE): Likewise.
48223         (SYMTYPE): Likewise.
48224         (CHRTYPE): Likewise.
48225         (BLKTYPE): Likewise.
48226         (DIRTYPE): Likewise.
48227         (FIFOTYPE): Likewise.
48228         (CONTTYPE): Likewise.
48229         (TSUID): Likewise.
48230         (TSGID): Likewise.
48231         (TSVTX): Likewise.
48232         (TUREAD): Likewise.
48233         (TUWRITE): Likewise.
48234         (TUEXEC): Likewise.
48235         (TGREAD): Likewise.
48236         (TGWRITE): Likewise.
48237         (TGEXEC): Likewise.
48238         (TOREAD): Likewise.
48239         (TOWRITE): Likewise.
48240         (TOEXEC): Likewise.
48241         [POSIX] (TSVTX): Expect constant.
48243 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48245         * Makefile (tests): Change dependencies to ....
48246         (tests-special): ... additions to this variable.
48247         (tests): Depend on $(tests-special).
48248         * Makerules (check-abi-list): New variable.
48249         (check-abi): Depend on $(check-abi-list).
48250         [$(subdir) = elf] (tests-special): Add
48251         $(objpfx)check-abi-libc.out.
48252         [$(build-shared) = yes && subdir] (tests-special): Add
48253         $(check-abi-list).
48254         [$(build-shared) = yes && subdir] (tests): Do not depend on
48255         check-abi.
48256         * Rules (tests): Depend on $(tests-special).
48257         (xtests): Depend on $(xtests-special).
48258         * catgets/Makefile (tests): Change dependencies to ....
48259         (tests-special): ... additions to this variable.
48260         * conform/Makefile (tests): Change dependencies to ....
48261         (tests-special): ... additions to this variable.
48262         * elf/Makefile (tests): Change dependencies to ....
48263         (tests-special): ... additions to this variable.
48264         * grp/Makefile (tests): Change dependencies to ....
48265         (tests-special): ... additions to this variable.
48266         * iconv/Makefile (xtests): Change dependencies to ....
48267         (xtests-special): ... additions to this variable.
48268         * iconvdata/Makefile (tests): Change dependencies to ....
48269         (tests-special): ... additions to this variable.
48270         * intl/Makefile (tests): Change dependencies to ....
48271         (tests-special): ... additions to this variable.  Also add
48272         $(objpfx)tst-gettext.out.
48273         * io/Makefile (tests): Change dependencies to ....
48274         (tests-special): ... additions to this variable.
48275         * libio/Makefile (tests): Change dependencies to ....
48276         (tests-special): ... additions to this variable.
48277         * malloc/Makefile (tests): Change dependencies to ....
48278         (tests-special): ... additions to this variable.
48279         * misc/Makefile (tests): Change dependencies to ....
48280         (tests-special): ... additions to this variable.
48281         * nptl/Makefile (tests): Change dependencies to ....
48282         (tests-special): ... additions to this variable.
48283         * nptl_db/Makefile (tests): Change dependencies to ....
48284         (tests-special): ... additions to this variable.
48285         * posix/Makefile (tests): Change dependencies to ....
48286         (tests-special): ... additions to this variable.
48287         (xtests): Change dependencies to ....
48288         (xtests-special): ... additions to this variable.
48289         * resolv/Makefile (tests): Change dependencies to ....
48290         (tests-special): ... additions to this variable.
48291         (xtests): Change dependencies to ....
48292         (xtests-special): ... additions to this variable.
48293         * stdio-common/Makefile (tests): Change dependencies to ....
48294         (tests-special): ... additions to this variable.
48295         (do-tst-unbputc): Remove target.
48296         (do-tst-printf): Likewise.
48297         * stdlib/Makefile (tests): Change dependencies to ....
48298         (tests-special): ... additions to this variable.
48299         * string/Makefile (tests): Change dependencies to ....
48300         (tests-special): ... additions to this variable.
48301         * sysdeps/x86/Makefile (tests): Change dependencies to ....
48302         (tests-special): ... additions to this variable.
48304         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48305         whole file.
48306         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48307         whole file.
48308         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48309         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48311         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48312         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48313         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48314         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48315         * conform/data/libgen.h-data [XPG3]: Likewise.
48316         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48317         * conform/data/ndbm.h-data [XPG3]: Likewise.
48318         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48319         * conform/data/netdb.h-data [XPG3]: Likewise.
48320         * conform/data/netinet/in.h-data [XPG3]: Likewise.
48321         * conform/data/poll.h-data [XPG3]: Likewise.
48322         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48323         * conform/data/strings.h-data [XPG3]: Likewise.
48324         * conform/data/stropts.h-data [XPG3]: Likewise.
48325         * conform/data/sys/mman.h-data [XPG3]: Likewise.
48326         * conform/data/sys/resource.h-data [XPG3]: Likewise.
48327         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48328         Likewise.
48329         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48330         * conform/data/sys/time.h-data [XPG3]: Likewise.
48331         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48332         * conform/data/sys/uio.h-data [XPG3]: Likewise.
48333         * conform/data/sys/un.h-data [XPG3]: Likewise.
48334         * conform/data/syslog.h-data [XPG3]: Likewise.
48335         * conform/data/ucontext.h-data [XPG3]: Likewise.
48336         * conform/data/utmpx.h-data [XPG3]: Likewise.
48337         * conform/data/varargs.h-data [UNIX98]: Enable file.
48339         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48341         * math/libm-test.inc (struct test_f_f_data): Move expected results
48342         into structure for each rounding mode.
48343         (struct test_ff_f_data): Likewise.
48344         (struct test_ff_f_data_nexttoward): Likewise.
48345         (struct test_fi_f_data): Likewise.
48346         (struct test_fl_f_data): Likewise.
48347         (struct test_if_f_data): Likewise.
48348         (struct test_fff_f_data): Likewise.
48349         (struct test_c_f_data): Likewise.
48350         (struct test_f_f1_data): Likewise.
48351         (struct test_fF_f1_data): Likewise.
48352         (struct test_ffI_f1_data): Likewise.
48353         (struct test_c_c_data): Likewise.
48354         (struct test_cc_c_data): Likewise.
48355         (struct test_f_i_data): Likewise.
48356         (struct test_ff_i_data): Likewise.
48357         (struct test_f_l_data): Likewise.
48358         (struct test_f_L_data): Likewise.
48359         (struct test_fFF_11_data): Likewise.
48360         (RM_): New macro.
48361         (RM_FE_DOWNWARD): Likewise.
48362         (RM_FE_TONEAREST): Likewise.
48363         (RM_FE_TOWARDZERO): Likewise.
48364         (RM_FE_UPWARD): Likewise.
48365         (RUN_TEST_LOOP_f_f): Update references to expected results.
48366         (RUN_TEST_LOOP_2_f): Likewise.
48367         (RUN_TEST_LOOP_fff_f): Likewise.
48368         (RUN_TEST_LOOP_c_f): Likewise.
48369         (RUN_TEST_LOOP_f_f1): Likewise.
48370         (RUN_TEST_LOOP_fF_f1): Likewise.
48371         (RUN_TEST_LOOP_fI_f1): Likewise.
48372         (RUN_TEST_LOOP_ffI_f1): Likewise.
48373         (RUN_TEST_LOOP_c_c): Likewise.
48374         (RUN_TEST_LOOP_cc_c): Likewise.
48375         (RUN_TEST_LOOP_f_i): Likewise.
48376         (RUN_TEST_LOOP_f_i_tg): Likewise.
48377         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48378         (RUN_TEST_LOOP_f_b): Likewise.
48379         (RUN_TEST_LOOP_f_b_tg): Likewise.
48380         (RUN_TEST_LOOP_f_l): Likewise.
48381         (RUN_TEST_LOOP_f_L): Likewise.
48382         (RUN_TEST_LOOP_fFF_11): Likewise.
48383         * math/gen-libm-test.pl (parse_args): Output four copies of
48384         expected results for each test.
48386         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48387         (__ASSUME_UTIMES): Remove.
48388         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48389         (__ASSUME_UTIMES): Likewise.
48391         * math/gen-auto-libm-tests.c: Update comment on output format.
48392         (output_for_one_input_case): Generate before-rounding and
48393         after-rounding information as conditions on output flags not
48394         floating-point format.
48395         * math/auto-libm-test-out: Regenerated.
48396         * math/gen-libm-test.pl (cond_value): New function.
48397         (or_cond_value): Use cond_value.
48398         (generate_testfile): Handle conditional exceptions.
48400 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48402         * math/libm-test.inc (max_valid_error): New variable.
48403         (init_max_error): Take new argument specifying whether function
48404         results are exactly determined.  Set max_valid_error and bound
48405         other variables for errors based on this argument.
48406         (set_max_error): Do not record results above max_valid_error.
48407         (check_float_internal): Only accept errors of up to 0.5ulps if
48408         also at most max_valid_error.
48409         (START): Take new argument EXACT and pass it to init_max_error.
48410         (acos_test): Update call to START.
48411         (acos_test_tonearest): Likewise.
48412         (acos_test_towardzero): Likewise.
48413         (acos_test_downward): Likewise.
48414         (acos_test_upward): Likewise.
48415         (acosh_test): Likewise.
48416         (asin_test): Likewise.
48417         (asin_test_tonearest): Likewise.
48418         (asin_test_towardzero): Likewise.
48419         (asin_test_downward): Likewise.
48420         (asin_test_upward): Likewise.
48421         (asinh_test): Likewise.
48422         (atan_test): Likewise.
48423         (atanh_test): Likewise.
48424         (atan2_test): Likewise.
48425         (cabs_test): Likewise.
48426         (cacos_test): Likewise.
48427         (cacosh_test): Likewise.
48428         (carg_test): Likewise.
48429         (casin_test): Likewise.
48430         (casinh_test): Likewise.
48431         (catan_test): Likewise.
48432         (catanh_test): Likewise.
48433         (cbrt_test): Likewise.
48434         (ccos_test): Likewise.
48435         (ccosh_test): Likewise.
48436         (ceil_test): Likewise.
48437         (cexp_test): Likewise.
48438         (cimag_test): Likewise.
48439         (clog_test): Likewise.
48440         (clog10_test): Likewise.
48441         (conj_test): Likewise.
48442         (copysign_test): Likewise.
48443         (cos_test): Likewise.
48444         (cos_test_tonearest): Likewise.
48445         (cos_test_towardzero): Likewise.
48446         (cos_test_downward): Likewise.
48447         (cos_test_upward): Likewise.
48448         (cosh_test): Likewise.
48449         (cosh_test_tonearest): Likewise.
48450         (cosh_test_towardzero): Likewise.
48451         (cosh_test_downward): Likewise.
48452         (cosh_test_upward): Likewise.
48453         (cpow_test): Likewise.
48454         (cproj_test): Likewise.
48455         (creal_test): Likewise.
48456         (csin_test): Likewise.
48457         (csinh_test): Likewise.
48458         (csqrt_test): Likewise.
48459         (ctan_test): Likewise.
48460         (ctan_test_tonearest): Likewise.
48461         (ctan_test_towardzero): Likewise.
48462         (ctan_test_downward): Likewise.
48463         (ctan_test_upward): Likewise.
48464         (ctanh_test): Likewise.
48465         (ctanh_test_tonearest): Likewise.
48466         (ctanh_test_towardzero): Likewise.
48467         (ctanh_test_downward): Likewise.
48468         (ctanh_test_upward): Likewise.
48469         (erf_test): Likewise.
48470         (erfc_test): Likewise.
48471         (exp_test): Likewise.
48472         (exp_test_tonearest): Likewise.
48473         (exp_test_towardzero): Likewise.
48474         (exp_test_downward): Likewise.
48475         (exp_test_upward): Likewise.
48476         (exp10_test): Likewise.
48477         (exp10_test_tonearest): Likewise.
48478         (exp10_test_towardzero): Likewise.
48479         (exp10_test_downward): Likewise.
48480         (exp10_test_upward): Likewise.
48481         (pow10_test): Likewise.
48482         (exp2_test): Likewise.
48483         (expm1_test): Likewise.
48484         (expm1_test_tonearest): Likewise.
48485         (expm1_test_towardzero): Likewise.
48486         (expm1_test_downward): Likewise.
48487         (expm1_test_upward): Likewise.
48488         (fabs_test): Likewise.
48489         (fdim_test): Likewise.
48490         (floor_test): Likewise.
48491         (fma_test): Likewise.
48492         (fma_test_towardzero): Likewise.
48493         (fma_test_downward): Likewise.
48494         (fma_test_upward): Likewise.
48495         (fmax_test): Likewise.
48496         (fmin_test): Likewise.
48497         (fmod_test): Likewise.
48498         (fpclassify_test): Likewise.
48499         (frexp_test): Likewise.
48500         (hypot_test): Likewise.
48501         (ilogb_test): Likewise.
48502         (isfinite_test): Likewise.
48503         (finite_test): Likewise.
48504         (isgreater_test): Likewise.
48505         (isgreaterequal_test): Likewise.
48506         (isinf_test): Likewise.
48507         (isless_test): Likewise.
48508         (islessequal_test): Likewise.
48509         (islessgreater_test): Likewise.
48510         (isnan_test): Likewise.
48511         (isnormal_test): Likewise.
48512         (issignaling_test): Likewise.
48513         (isunordered_test): Likewise.
48514         (j0_test): Likewise.
48515         (j1_test): Likewise.
48516         (jn_test): Likewise.
48517         (ldexp_test): Likewise.
48518         (lgamma_test): Likewise.
48519         (gamma_test): Likewise.
48520         (lrint_test): Likewise.
48521         (lrint_test_tonearest): Likewise.
48522         (lrint_test_towardzero): Likewise.
48523         (lrint_test_downward): Likewise.
48524         (lrint_test_upward): Likewise.
48525         (llrint_test): Likewise.
48526         (llrint_test_tonearest): Likewise.
48527         (llrint_test_towardzero): Likewise.
48528         (llrint_test_downward): Likewise.
48529         (llrint_test_upward): Likewise.
48530         (log_test): Likewise.
48531         (log10_test): Likewise.
48532         (log1p_test): Likewise.
48533         (log2_test): Likewise.
48534         (logb_test): Likewise.
48535         (logb_test_downward): Likewise.
48536         (lround_test): Likewise.
48537         (llround_test): Likewise.
48538         (modf_test): Likewise.
48539         (nearbyint_test): Likewise.
48540         (nextafter_test): Likewise.
48541         (nexttoward_test): Likewise.
48542         (pow_test): Likewise.
48543         (pow_test_tonearest): Likewise.
48544         (pow_test_towardzero): Likewise.
48545         (pow_test_downward): Likewise.
48546         (pow_test_upward): Likewise.
48547         (remainder_test): Likewise.
48548         (drem_test): Likewise.
48549         (remainder_test_tonearest): Likewise.
48550         (drem_test_tonearest): Likewise.
48551         (remainder_test_towardzero): Likewise.
48552         (drem_test_towardzero): Likewise.
48553         (remainder_test_downward): Likewise.
48554         (drem_test_downward): Likewise.
48555         (remainder_test_upward): Likewise.
48556         (drem_test_upward): Likewise.
48557         (remquo_test): Likewise.
48558         (rint_test): Likewise.
48559         (rint_test_tonearest): Likewise.
48560         (rint_test_towardzero): Likewise.
48561         (rint_test_downward): Likewise.
48562         (rint_test_upward): Likewise.
48563         (round_test): Likewise.
48564         (scalb_test): Likewise.
48565         (scalbn_test): Likewise.
48566         (scalbln_test): Likewise.
48567         (signbit_test): Likewise.
48568         (sin_test): Likewise.
48569         (sin_test_tonearest): Likewise.
48570         (sin_test_towardzero): Likewise.
48571         (sin_test_downward): Likewise.
48572         (sin_test_upward): Likewise.
48573         (sincos_test): Likewise.
48574         (sinh_test): Likewise.
48575         (sinh_test_tonearest): Likewise.
48576         (sinh_test_towardzero): Likewise.
48577         (sinh_test_downward): Likewise.
48578         (sinh_test_upward): Likewise.
48579         (sqrt_test): Likewise.
48580         (sqrt_test_tonearest): Likewise.
48581         (sqrt_test_towardzero): Likewise.
48582         (sqrt_test_downward): Likewise.
48583         (sqrt_test_upward): Likewise.
48584         (tan_test): Likewise.
48585         (tan_test_tonearest): Likewise.
48586         (tan_test_towardzero): Likewise.
48587         (tan_test_downward): Likewise.
48588         (tan_test_upward): Likewise.
48589         (tanh_test): Likewise.
48590         (tgamma_test): Likewise.
48591         (trunc_test): Likewise.
48592         (y0_test): Likewise.
48593         (y1_test): Likewise.
48594         (yn_test): Likewise.
48595         (significand_test): Likewise.
48597         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48598         individual tests in comment.
48599         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48600         (prev_max_error): New variable.
48601         (prev_real_max_error): Likewise.
48602         (prev_imag_max_error): Likewise.
48603         (compare_ulp_data): Don't refer to test names in comment.
48604         (find_test_ulps): Remove function.
48605         (find_function_ulps): Likewise.
48606         (find_complex_function_ulps): Likewise.
48607         (init_max_error): Take function name as argument.  Look up ulps
48608         for that function.
48609         (print_ulps): Remove function.
48610         (print_max_error): Use prev_max_error instead of calling
48611         find_function_ulps.
48612         (print_complex_max_error): Use prev_real_max_error and
48613         prev_imag_max_error instead of calling find_complex_function_ulps.
48614         (check_float_internal): Take max_ulp parameter instead of calling
48615         find_test_ulps.  Don't call print_ulps.
48616         (check_float): Update call to check_float_internal.
48617         (check_complex): Update calls to check_float_internal.
48618         (START): Pass argument to init_max_error.
48619         * math/gen-libm-test.pl (%results): Don't include "kind"
48620         information.
48621         (parse_ulps): Don't handle ulps of individual tests.
48622         (print_ulps_file): Likewise.
48623         (output_ulps): Likewise.
48624         * math/README.libm-test: Update.
48625         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48626         individual tests.
48627         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48628         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48629         * sysdeps/arm/libm-test-ulps: Likewise.
48630         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48631         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48632         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48633         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48634         * sysdeps/microblaze/libm-test-ulps: Likewise.
48635         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48636         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48637         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48638         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48639         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48640         * sysdeps/sh/libm-test-ulps: Likewise.
48641         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48642         * sysdeps/tile/libm-test-ulps: Likewise.
48643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48645 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48647         * math/libm-test.inc (print_complex_max_error): Check separately
48648         whether real and imaginary errors are within allowed range and
48649         pass 0 to print_complex_function_ulps instead of value within
48650         allowed range.
48652 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48654         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48655         formatting.
48656         (get_handles_fopen): Likewise.
48657         (do_write_test): Likewise.
48659         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48661         * libio/fileops.c (do_ftell): Use cached offset when
48662         available.
48663         * libio/iofwide.c (do_ftell_wide): Likewise.
48664         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48665         _IO_file_attach.
48666         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48668         [BZ #16532]
48669         * libio/libioP.h (get_file_offset): New function.
48670         * libio/fileops.c (get_file_offset): Likewise.
48671         (do_ftell): Likewise.
48672         (_IO_new_file_seekoff): Split out ftell logic.
48673         * libio/wfileops.c (do_ftell_wide): Likewise.
48674         (_IO_wfile_seekoff): Split out ftell logic.
48675         * libio/tst-ftell-active-handler.c: New test case.
48676         * libio/Makefile (tests): Add it.
48678 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48680         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48681         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48683 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48685         [BZ #16639]
48686         * nscd/connections.c (nscd_init): Call do_exit.
48687         (start_threads): Call do_exit and notify_parent.
48688         (begin_drop_privileges): Call do_exit.
48689         (finish_drop_privileges): Likewise.
48690         * nscd/selinux.c (preserve_capabilities): Likewise.
48691         (install_real_capabilities): Likewise.
48692         (nscd_selinux_enabled): Likewise.
48693         (avc_create_thread): Likewise.
48694         (avc_alloc_lock): Likewise.
48695         (nscd_avc_init): Likewise.
48696         * nscd/nscd.c (parent_fd): New static variable.
48697         (main): Create a pipe between parent and child processes.
48698         Skip closing parent_fd.
48699         (monitor_child): New function.
48700         (do_exit): Likewise.
48701         (notify_parent): Likewise.
48702         * nscd/nscd.h (notify_parent): Likewise.
48703         (do_exit): Likewise.
48705 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48707         * malloc/malloc.c (__libc_calloc): Revert last change.
48709 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48711         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48713 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48715         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48717         implementation.
48718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48719         (__libc_ifunc_impl_list): Likewise.
48720         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48721         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48722         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48723         * string/strrchr.c: Define STRRCHR.
48725 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48727         * benchtest/bench-strtok.c (simple_strtok): Delete.
48728         (strtok_string): Use as benchmark.
48729         * string/strtok (STRTOK): New macro.
48731 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48733         * manual/threads.texi: Add header and standard comments to all
48734         functions.
48736         * elf/dl-lookup.c (check_match): New function.
48737         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48738         (do_lookup_x): Remove nested function check_match. Use non-nested
48739         function check_match.
48741 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48743         * csu/Makefile (generated, before-compile): Use += rather than =.
48744         * catgets/Makefile (generated, generated-dirs): Likewise.
48745         * debug/Makefile (generated): Likewise.
48746         * dlfcn/Makefile (generated): Likewise.
48747         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48748         * iconvdata/Makefile (before-compile, generated): Likewise.
48749         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48750         * libio/Makefile (generated): Likewise.
48751         * malloc/Makefile (generated): Likewise.
48752         * manual/Makefile (generated, generated-dirs): Likewise.
48753         * misc/Makefile (generated): Likewise.
48754         * posix/Makefile (generated): Likewise.
48755         * resolv/Makefile (generated): Likewise.
48756         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48757         * timezone/Makefile (generated, generated-dirs): Likewise.
48759         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48761 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48763         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48764         power8 implementation.
48765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48766         file: POWER8 llround ifunc implementation.
48767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48768         (__lllround): Add POWER8 implementation.
48769         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48770         POWER8 llround implementation.
48772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48773         power8 implementation.
48774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48775         file: POWER8 llrint ifunc implementation.
48776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48777         Add POWER8 implementation.
48778         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48779         POWER8 llrint implementation.
48781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48782         power8 implementation.
48783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48784         file: POWER8 finite ifunc implementation.
48785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48786         Add POWER8 implementation.
48787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48788         Likewise.
48789         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48790         POWER8 finite implementation.
48791         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48793         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48794         power8 implementation.
48795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48796         file: POWER8 isinf ifunc implementation.
48797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48798         POWER8 implementation.
48799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48800         Likewise.
48801         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48802         isinf implementation.
48803         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48805         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48806         (INIT_ARCH): Add hwcap2 initialization.
48807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48808         power8 implementation.
48809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48810         file: POWER8 isnan ifunc implementation.
48811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48812         POWER8 implementation.
48813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48814         Likewise.
48815         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48816         isnan implementation.
48817         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48819 2014-02-27  Joey Ye  <joey.ye@arm.com>
48821         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48822         (_FP_NANFRAC_Q): Set to zero.
48824 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48826         [BZ #16623]
48827         * math/auto-libm-test-in: New test inputs.
48828         * math/auto-libm-test-out: Regenerate.
48829         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48830         and DA.
48831         (__cos): Likewise.
48832         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48834 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48836         * scripts/evaluate-test.sh: Take new argument indicating whether
48837         failure is expected.
48838         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48839         indicating whether failure is expected.
48840         * conform/Makefile (test-xfail-run-conformtest): New variable.
48841         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48842         level.
48843         * posix/Makefile (test-xfail-annexc): New variable.
48844         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48846 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48848         * argp/Makefile: Include Makeconfig immediately after defining
48849         subdir.
48850         * assert/Makefile: Likewise.
48851         * benchtests/Makefile: Likewise.
48852         * catgets/Makefile: Likewise.
48853         * conform/Makefile: Likewise.
48854         * crypt/Makefile: Likewise.
48855         * csu/Makefile: Likewise.
48856         (all): Remove target.
48857         * ctype/Makefile: Include Makeconfig immediately after defining
48858         subdir.
48859         * debug/Makefile: Likewise.
48860         * dirent/Makefile: Likewise.
48861         * dlfcn/Makefile: Likewise.
48862         * gmon/Makefile: Likewise.
48863         * gnulib/Makefile: Likewise.
48864         * grp/Makefile: Likewise.
48865         * gshadow/Makefile: Likewise.
48866         * hesiod/Makefile: Likewise.
48867         * hurd/Makefile: Likewise.
48868         (all): Remove target.
48869         * iconvdata/Makefile: Include Makeconfig immediately after
48870         defining subdir.
48871         * inet/Makefile: Likewise.
48872         * intl/Makefile: Likewise.
48873         * io/Makefile: Likewise.
48874         * libio/Makefile: Likewise.
48875         (all): Remove target.
48876         * locale/Makefile: Include Makeconfig immediately after defining
48877         subdir.
48878         * login/Makefile: Likewise.
48879         * mach/Makefile: Likewise.
48880         (all): Remove target.
48881         * malloc/Makefile: Include Makeconfig immediately after defining
48882         subdir.
48883         (all): Remove target.
48884         * manual/Makefile: Include Makeconfig immediately after defining
48885         subdir.
48886         * math/Makefile: Likewise.
48887         * misc/Makefile: Likewise.
48888         * nis/Makefile: Likewise.
48889         * nss/Makefile: Likewise.
48890         * po/Makefile: Likewise.
48891         (all): Remove target.
48892         * posix/Makefile: Include Makeconfig immediately after defining
48893         subdir.
48894         * pwd/Makefile: Likewise.
48895         * resolv/Makefile: Likewise.
48896         * resource/Makefile: Likewise.
48897         * rt/Makefile: Likewise.
48898         * setjmp/Makefile: Likewise.
48899         * shadow/Makefile: Likewise.
48900         * signal/Makefile: Likewise.
48901         * socket/Makefile: Likewise.
48902         * soft-fp/Makefile: Likewise.
48903         * stdio-common/Makefile: Likewise.
48904         * stdlib/Makefile: Likewise.
48905         * streams/Makefile: Likewise.
48906         * string/Makefile: Likewise.
48907         * sunrpc/Makefile: Likewise.
48908         (all): Remove target.
48909         * sysvipc/Makefile: Include Makeconfig immediately after defining
48910         subdir.
48911         * termios/Makefile: Likewise.
48912         * time/Makefile: Likewise.
48913         * timezone/Makefile: Likewise.
48914         (all): Remove target.
48915         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48916         subdir.
48917         * wctype/Makefile: Likewise.
48919 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48921         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48922         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48923         (libc_feholdexcept_setround_mips): Ditto.
48924         (libc_feholdsetround): New.
48925         (libc_feholdsetroundf): New.
48926         (libc_feholdsetroundl): New.
48927         (libc_feupdateenv_test_mips): New.
48928         (libc_feupdateenv_test): New.
48929         (libc_feupdateenv_testf): New.
48930         (libc_feupdateenv_testl): New.
48931         (libc_feresetround): New.
48932         (libc_feresetroundf): New.
48933         (libc_feresetroundl): New.
48934         (libc_fetestexcept_mips): New.
48935         (libc_fetestexcept): New.
48936         (libc_fetestexceptf): New.
48937         (libc_fetestexceptl): New.
48938         (HAVE_RM_CTX): New.
48939         (libc_feholdexcept_setround_mips_ctx): New.
48940         (libc_feholdexcept_setround_ctx): New.
48941         (libc_feholdexcept_setroundf_ctx): New.
48942         (libc_feholdexcept_setroundl_ctx): New.
48943         (libc_fesetenv_mips_ctx): New.
48944         (libc_fesetenv_ctx): New.
48945         (libc_fesetenv_ctxf): New.
48946         (libc_fesetenv_ctxl): New.
48947         (libc_feupdateenv_mips_ctx): New.
48948         (libc_feupdateenv_ctx): New.
48949         (libc_feupdateenvf_ctx): New.
48950         (libc_feupdateenvl_ctx): New.
48951         (libc_feholdsetround_mips_ctx): New.
48952         (libc_feholdsetround_ctx): New.
48953         (libc_feholdsetroundf_ctx): New.
48954         (libc_feholdsetroundl_ctx): New.
48955         (libc_feresetround_mips_ctx): New.
48956         (libc_feresetround_ctx): New.
48957         (libc_feresetroundf_ctx): New.
48958         (libc_feresetroundl_ctx): New.
48960 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48962         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48964         * manual/ipc.texi: New file.
48965         * manual/Makefile (chapters): Add ipc.
48966         * manual/job.texi: Add "Inter-Process Communication" to next.
48967         * manual/process.texi: Add "Inter-Process Communication" to prev.
48969 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48971         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48973 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48975         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48977         * manual/arith.texi: Fix spaces after sentences.
48978         * manual/charset.texi: Likewise.
48979         * manual/errno.texi: Likewise.
48980         * manual/install.texi: Likewise.
48981         * manual/llio.texi: Likewise.
48982         * manual/locale.texi: Likewise.
48983         * manual/maint.texi: Likewise.
48984         * manual/math.texi: Likewise.
48985         * manual/memory.texi: Likewise.
48986         * manual/message.texi: Likewise.
48987         * manual/probes.texi: Likewise.
48988         * manual/resource.texi: Likewise.
48989         * manual/signal.texi: Likewise.
48990         * manual/socket.texi: Likewise.
48991         * manual/stdio.texi: Likewise.
48992         * manual/string.texi: Likewise.
48993         * manual/time.texi: Likewise.
48994         * manual/users.texi: Likewise.
48996 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48998         [BZ #16632]
48999         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
49000         _DEFAULT_SOURCE is defined.
49002 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
49003             Carlos O'Donell  <carlos@redhat.com>
49005         [BZ #16613]
49006         * elf/dl-tls.c (_dl_count_modids): New function.
49007         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
49008         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
49009         audit library and increment generation counter.
49010         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
49011         * elf/tst-audit9.c: New file.
49012         * elf/tst-auditmod9a.c: New file.
49013         * elf/tst-auditmod9b.c: New file.
49014         * elf/Makefile: Add rules to build and run tst-audit9.
49016 2014-02-25  Florian Weimer  <fweimer@redhat.com>
49018         [BZ #15347]
49019         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
49021 2014-02-25  Will Newton  <will.newton@linaro.org>
49023         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
49024         (__longjmp): Restore sp and lr before restoring callee
49025         saved registers.  Add longjmp and longjmp_target
49026         SystemTap probe point.
49027         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
49028         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
49029         Define to zero to match jmpbuf layout.
49030         * sysdeps/arm/setjmp.S: Include stap-probe.h.
49031         (__sigsetjmp): Save sp and lr before saving callee
49032         saved registers.  Add setjmp SystemTap probe point.
49034 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
49036         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
49038 2014-02-24  Andreas Schwab  <schwab@suse.de>
49040         [BZ #15804]
49041         * elf/pldd.c (wait_for_ptrace_stop): New function.
49042         (main): Call it after attaching.
49044 2014-02-22  Roland McGrath  <roland@hack.frob.com>
49046         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
49047         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
49048         Versions files is now verboten.
49049         * hurd/Versions (libc: GLIBC_2.0):
49050         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
49051         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
49052         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
49053         * mach/Versions: Likewise.
49055         * csu/Versions: Remove unused %include.
49056         * resolv/Versions: Likewise.
49058 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49060         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49061         ($(objpfx)check-local-headers.out): Likewise.
49062         ($(objpfx)begin-end-check.out): Likewise.
49063         * Makerules (check-abi-%.out): Likewise.
49064         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49065         ($(objpfx)test2.cat): Likewise.
49066         ($(objpfx)de/libc.cat): Likewise.
49067         ($(objpfx)test-gencat.out): Likewise.
49068         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49069         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49070         ($(objpfx)noload-mem): Likewise.
49071         ($(objpfx)tst-pathopt.out): Likewise.
49072         ($(objpfx)tst-rtld-load-self.out): Likewise.
49073         ($(objpfx)tst-array1-cmp.out): Likewise.
49074         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49075         ($(objpfx)tst-array2-cmp.out): Likewise.
49076         ($(objpfx)tst-array3-cmp.out): Likewise.
49077         ($(objpfx)tst-array4-cmp.out): Likewise.
49078         ($(objpfx)tst-array5-cmp.out): Likewise.
49079         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49080         ($(objpfx)check-textrel.out): Likewise.
49081         ($(objpfx)check-execstack.out): Likewise.
49082         ($(objpfx)check-localplt.out): Likewise.
49083         ($(objpfx)order2-cmp.out): Likewise.
49084         ($(objpfx)tst-leaks1-mem): Likewise.
49085         ($(objpfx)tst-leaks1-static-mem): Likewise.
49086         ($(objpfx)tst-initorder-cmp.out): Likewise.
49087         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49088         ($(objpfx)tst-unused-dep.out): Likewise.
49089         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49090         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49091         * iconv/Makefile (test-iconvconfig): Likewise.
49092         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49093         ($(objpfx)iconv-test.out): Likewise.
49094         ($(objpfx)tst-tables.out): Likewise.
49095         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49096         ($(objpfx)tst-gettext.out): Likewise.
49097         ($(objpfx)tst-translit.out): Likewise.
49098         ($(objpfx)tst-gettext2.out): Likewise.
49099         ($(objpfx)tst-gettext4.out): Likewise.
49100         ($(objpfx)tst-gettext6.out): Likewise.
49101         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49102         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49103         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49104         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49105         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49106         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49107         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49108         ($(objpfx)wordexp-tst.out): Likewise.
49109         ($(objpfx)annexc.out): Likewise.
49110         ($(objpfx)tst-fnmatch-mem): Likewise.
49111         ($(objpfx)bug-regex2-mem): Likewise.
49112         ($(objpfx)bug-regex14-mem): Likewise.
49113         ($(objpfx)bug-regex21-mem): Likewise.
49114         ($(objpfx)bug-regex31-mem): Likewise.
49115         ($(objpfx)tst-vfork3-mem): Likewise.
49116         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49117         ($(objpfx)tst-pcre-mem): Likewise.
49118         ($(objpfx)tst-boost-mem): Likewise.
49119         ($(objpfx)tst-getconf.out): Likewise.
49120         ($(objpfx)bug-ga2-mem): Likewise.
49121         ($(objpfx)bug-glob2-mem): Likewise.
49122         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49123         ($(objpfx)mtrace-tst-leaks2): Likewise.
49124         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49125         ($(objpfx)tst-printf.out): Likewise.
49126         ($(objpfx)tst-setvbuf1.out): Likewise.
49127         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49128         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49129         ($(objpfx)tst-fmtmsg.out): Likewise.
49130         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49131         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49133         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49134         * bits/sigaction.h [__USE_MISC]: Likewise.
49135         * bits/waitstatus.h: Update #endif comments.
49136         * ctype/ctype.h: Likewise.
49137         * dirent/dirent.h: Likewise.
49138         [__USE_MISC]: Remove redundant conditionals.
49139         * grp/grp.h: Update #endif comments.
49140         [__USE_GNU]: Remove redundant conditionals.
49141         [__USE_MISC]: Likewise.
49142         * inet/netinet/in.h [__USE_GNU]: Likewise.
49143         * io/sys/stat.h [__USE_MISC]: Likewise.
49144         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49145         * libio/bits/stdio.h: Update #endif comments.
49146         [__USE_MISC]: Remove redundant conditionals.
49147         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49148         * libio/stdio.h: Update #endif comments.
49149         [__USE_MISC]: Remove redundant conditionals.
49150         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49151         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49152         * math/math.h: Update #else and #endif comments.
49153         [__USE_MISC]: Remove redundant conditionals.
49154         * misc/sys/uio.h: Update #endif comments.
49155         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49156         * posix/glob.h [__USE_MISC]: Likewise.
49157         * posix/sys/types.h: Update #endif comments.
49158         [__USE_MISC]: Remove redundant conditionals.
49159         * posix/sys/wait.h: Update #endif comments.
49160         [__USE_MISC]: Remove redundant conditionals.
49161         * posix/unistd.h: Update #endif comments.
49162         [__USE_MISC]: Remove redundant conditionals.
49163         * pwd/pwd.h [__USE_GNU]: Likewise.
49164         [__USE_MISC]: Likewise.
49165         * resolv/netdb.h [__USE_GNU]: Likewise.
49166         * signal/signal.h: Update #endif comments.
49167         [__USE_MISC]: Remove redundant conditionals.
49168         * stdlib/stdlib.h: Update #else and #endif comments.
49169         [__USE_MISC]: Remove redundant conditionals.
49170         [__USE_GNU]: Likewise.
49171         * string/bits/string2.h [__USE_MISC]: Likewise.
49172         * string/string.h: Update #endif comments.
49173         [__USE_MISC]: Remove redundant conditionals.
49174         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49175         Likewise.
49176         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49177         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49178         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49179         Likewise.
49180         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49181         Likewise.
49182         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49183         comments.
49184         [__USE_MISC]: Remove redundant conditionals.
49185         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49186         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49187         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49188         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49189         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49190         Likewise.
49191         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49192         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49193         Likewise.
49194         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49195         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49196         Likewise.
49197         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49198         Likewise.
49199         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49200         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49201         Likewise.
49202         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49203         Likewise.
49204         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49205         * sysdeps/x86/bits/string.h: Update #endif comments.
49206         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49207         conditionals.
49208         * time/sys/time.h: Update #endif comments.
49209         * time/time.h: Likewise.
49210         [__USE_MISC]: Remove redundant conditionals.
49212 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49214         [BZ #16600]
49215         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49217 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49219         * Versions.def (librt): Add GLIBC_2.17.
49221 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49223         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49224         synonym for _SYS_AUXV_H to allow direct inclusion.
49225         * sysdeps/sparc/bits/hwcap.h: Likewise.
49226         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49227         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49228         * sysdeps/sparc/sysdep.h: Likewise.
49230 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49232         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49234 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49236         * benchtests/bench-strrchr.c: Print length instead of position.
49238 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49240         [BZ #16611]
49241         * sysdeps/unix/sysv/linux/kernel-features.h
49242         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49243         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49244         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49245         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49246         Likewise.
49247         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49248         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49249         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49250         (__ASSUME_SENDMMSG): Define instead of using previous
49251         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49252         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49253         (__ASSUME_SENDMMSG_SYSCALL): Define.
49254         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49255         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49256         Likewise.
49257         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49258         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49259         Likewise.
49260         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49261         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49262         Likewise.
49263         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49264         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49265         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49266         [__ASSUME_SENDMMSG]: Change conditionals to
49267         [__ASSUME_SENDMMSG_SOCKETCALL].
49268         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49269         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49270         Define.
49271         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49272         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49273         Likewise.
49274         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49275         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49276         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49277         [!__ASSUME_SENDMMSG]: Change conditional to
49278         [!__ASSUME_SENDMMSG_SOCKETCALL].
49279         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49280         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49281         Define.
49283         [BZ #16610]
49284         * sysdeps/unix/sysv/linux/kernel-features.h
49285         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49286         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49287         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49288         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49289         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49290         [__i386__ || __sparc__]
49291         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49292         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49293         (__ASSUME_RECVMMSG): Define instead of using previous
49294         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49295         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49296         (__ASSUME_RECVMMSG_SYSCALL): Define.
49297         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49298         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49299         Likewise.
49300         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49301         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49302         Likewise.
49303         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49304         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49305         Likewise.
49306         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49307         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49308         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49309         [__ASSUME_RECVMMSG]: Change condition to
49310         [__ASSUME_RECVMMSG_SOCKETCALL].
49311         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49312         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49313         Define.
49314         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49315         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49316         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49317         Likewise.
49318         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49319         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49320         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49321         [!__ASSUME_RECVMMSG]: Change condition to
49322         [!__ASSUME_RECVMMSG_SOCKETCALL].
49323         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49324         (__ASSUME_RECVMMSG_SYSCALL): Define.
49326         [BZ #16609]
49327         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49328         __powerpc__ || __s390__ || __sh__ || __sparc__]
49329         (__ASSUME_SOCKETCALL): Define.
49330         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49331         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49332         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49333         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49334         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49335         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49336         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49337         (__ASSUME_ACCEPT4): Define instead of using previous
49338         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49339         __powerpc__ || __sparc__ || __s390__)] condition.
49340         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49341         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49342         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49343         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49344         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49345         [!__ASSUME_ACCEPT4]: Change condition to
49346         [!__ASSUME_ACCEPT4_SOCKETCALL].
49347         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49348         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49349         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49350         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49351         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49352         __ASSUME_ACCEPT4_SYSCALL.
49353         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49354         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49355         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49356         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49357         __ASSUME_ACCEPT4_SYSCALL.
49358         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49359         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49360         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49361         [__ASSUME_ACCEPT4]: Change condition to
49362         [__ASSUME_ACCEPT4_SOCKETCALL].
49363         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49364         (__ASSUME_SOCKETCALL): Define.
49365         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49366         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49367         (__ASSUME_SOCKETCALL): Define.
49368         (__ASSUME_ACCEPT4): Remove.
49369         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49370         Define.
49371         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49372         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49373         Likewise.
49374         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49375         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49377         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49378         macro.
49379         (HWCAP_ARM_LPAE): Likewise.
49380         (HWCAP_ARM_EVTSTRM): Likewise.
49381         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49382         Add vpfd32, lpae and evtstrm.
49383         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49384         Increase to 22.
49386 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49388         * math/auto-libm-test-in: Add tests of clog10.
49389         * math/auto-libm-test-out: Regenerated.
49390         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49391         * sysdeps/i386/fpu/libm-test-ulps: Update.
49392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49394 2014-02-18  Andreas Schwab  <schwab@suse.de>
49396         [BZ #16574]
49397         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49398         Store non-zero if the second buffer was newly allocated.
49399         (send_dg): Likewise.
49400         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49401         to send_vc and send_dg.
49402         (res_nsend): Pass NULL for ansp2_malloced.
49403         * resolv/res_query.c (__libc_res_nquery): Add parameter
49404         answerp2_malloced and pass it down to __libc_res_nsend.
49405         (res_nquery): Pass additional NULL to __libc_res_nquery.
49406         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49407         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49408         second answer buffer if answerp2_malloced was set.
49409         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49410         (__libc_res_nquerydomain): Add parameter
49411         answerp2_malloced and pass it down to __libc_res_nquery.
49412         (res_nquerydomain): Pass additional NULL to
49413         __libc_res_nquerydomain.
49414         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49415         additional NULL to __libc_res_nsend and __libc_res_nquery.
49416         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49417         additional NULL to __libc_res_nsearch.
49418         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49419         parameter of __libc_res_nsearch to check for separately allocated
49420         second buffer.
49421         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49422         __libc_res_nquery.
49423         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49424         additional NULL to __libc_res_nquery.
49425         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49426         __libc_res_nsearch.
49427         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49428         * include/resolv.h: Update prototypes of __libc_res_nquery,
49429         __libc_res_nsearch, __libc_res_nsend.
49431 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
49433         * math/auto-libm-test-in: Add tests of fma.
49434         * math/auto-libm-test-out: Regenerated.
49435         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49436         (fma_towardzero_test_data): Likewise.
49437         (fma_downward_test_data): Likewise.
49438         (fma_upward_test_data): Likewise.
49439         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49440         mpc_mode.
49441         (rounding_modes): Add values for new field.
49442         (func_calc_method): Add value mpfr_fff_f.
49443         (func_calc_desc): Add mpfr_fff_f union field.
49444         (test_function): Add field exact_args.
49445         (FUNC): Add macro argument EXACT_ARGS.
49446         (FUNC_mpfr_f_f): Update call to FUNC.
49447         (FUNC_mpfr_f_f): Likewise.
49448         (FUNC_mpfr_ff_f): Likewise.
49449         (FUNC_mpfr_if_f): Likewise.
49450         (FUNC_mpc_c_f): Likewise.
49451         (FUNC_mpc_c_c): Likewise.
49452         (test_functions): Add fma.  Update calls to FUNC.
49453         (handle_input_arg): Add argument exact_args.
49454         (add_test): Update call to handle_input_arg.
49455         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
49456         (output_for_one_input_case): Update call to calc_generic_results.
49457         Recalculate exact zero results in each rounding mode.
49459         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49460         non-negative before setting low bit.
49461         * math/auto-libm-test-in: Mark one asin test possibly having
49462         spurious underflow.
49463         * math/auto-libm-test-out: Regenerated.
49464         * sysdeps/i386/fpu/libm-test-ulps: Update.
49465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49467 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
49469         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49470         * sysdeps/unix/sysv/linux/microblaze: Move directory from
49471         ports/sysdeps/unix/sysv/linux/microblaze.
49472         * README: Add missing listing for microblaze*-*-linux-gnu.
49474 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
49476         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49477         duplicate code
49479 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
49481         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49482         * sysdeps/unix/sysv/linux/ia64: Move directory from
49483         ports/sysdeps/unix/sysv/linux/ia64.
49484         * README: Update listing for ia64-*-linux-gnu.
49486 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
49487             Joseph Myers  <joseph@codesourcery.com>
49489         * Makeconfig (test-name): New variable.
49490         (evaluate-test): Likewise.
49491         * Makerules (do-test-clean): Remove .test-result files.
49492         (common-mostlyclean): Likewise.
49493         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49494         * scripts/evaluate-test.sh: New file.
49496 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
49498         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49499         separate $(objpfx)tst-fopenloc-cmp.out and
49500         $(objpfx)tst-fopenloc-mem.out targets.
49501         (tests): Update dependencies.
49502         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49503         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49504         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49505         (tst-rxspencer-no-utf8-ARGS): New variable.
49506         (tst-rxspencer-no-utf8-ENV): Likewise.
49507         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49508         instead of $(objpfx)tst-rxspencer-mem.
49509         ($(objpfx)tst-rxspencer-mem): Change target to
49510         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
49511         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49512         * posix/tst-rxspencer-no-utf8.c: New file.
49514         * elf/Makefile ($(objpfx)order.out): Remove rule.
49515         [$(run-built-tests) = yes] (tests): Depend on
49516         $(objpfx)order-cmp.out.
49517         ($(objpfx)order-cmp.out): New rule.
49518         [$(run-built-tests) = yes] (tests): Depend on
49519         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49520         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49521         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49522         $(objpfx)tst-array5-static-cmp.out.
49523         ($(objpfx)tst-array1.out): Remove rule.
49524         ($(objpfx)tst-array1-cmp.out): New rule.
49525         ($(objpfx)tst-array1-static.out): Remove rule.
49526         ($(objpfx)tst-array1-static-cmp.out): New rule.
49527         ($(objpfx)tst-array2.out): Remove rule.
49528         ($(objpfx)tst-array2-cmp.out): New rule.
49529         ($(objpfx)tst-array3.out): Remove rule.
49530         ($(objpfx)tst-array3-cmp.out): New rule.
49531         ($(objpfx)tst-array4.out): Remove rule.
49532         ($(objpfx)tst-array4-cmp.out): New rule.
49533         ($(objpfx)tst-array5.out): Remove rule.
49534         ($(objpfx)tst-array5-cmp.out): New rule.
49535         ($(objpfx)tst-array5-static.out): Remove rule.
49536         ($(objpfx)tst-array5-static-cmp.out): New rule.
49537         [$(run-built-tests) = yes] (tests): Depend on
49538         $(objpfx)order2-cmp.out.
49539         ($(objpfx)order2.out): Remove rule.
49540         ($(objpfx)order2-cmp.out): New rule.
49541         ($(objpfx)tst-initorder.out): Remove rule.
49542         [$(run-built-tests) = yes] (tests): Depend on
49543         $(objpfx)tst-initorder-cmp.out.
49544         ($(objpfx)tst-initorder-cmp.out): New rule.
49545         ($(objpfx)tst-initorder2.out): Remove rule.
49546         [$(run-built-tests) = yes] (tests): Depend on
49547         $(objpfx)tst-initorder2-cmp.out.
49548         ($(objpfx)tst-initorder2-cmp.out): New rule.
49549         [$(run-built-tests) = yes] (tests): Depend on
49550         $(objpfx)tst-unused-dep-cmp.out.
49551         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49552         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49553         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49554         on $(objpfx)tst-setvbuf1-cmp.out.
49555         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49556         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49557         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49558         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49559         ($(objpfx)tst-svc.out): Remove rule.
49560         ($(objpfx)tst-svc-cmp.out): New rule.
49562 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49564         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49565         * ctype/ctype.h [__USE_MISC]: Likewise.
49566         * dirent/dirent.h [__USE_MISC]: Likewise.
49567         * grp/grp.h [__USE_MISC]: Likewise.
49568         * io/fcntl.h [__USE_MISC]: Likewise.
49569         * io/sys/stat.h [__USE_MISC]: Likewise.
49570         * libio/stdio.h [__USE_MISC]: Likewise.
49571         * posix/unistd.h [__USE_MISC]: Likewise.
49572         * pwd/pwd.h [__USE_MISC]: Likewise.
49573         * stdlib.h [__USE_MISC]: Likewise.
49574         * string/bits/string2.h [__USE_MISC]: Likewise.
49575         * string/string.h [__USE_MISC]: Likewise.
49576         * time/time.h [__USE_MISC]: Likewise.
49578 2014-02-13  Andreas Schwab  <schwab@suse.de>
49580         [BZ #16574]
49581         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49582         second answer buffer if it was separately allocated.
49584 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49586         * sysdeps/mips/math-tests.h: Include <features.h>.
49587         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49588         (ROUNDING_TESTS_long_double): Do not define.
49589         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49590         (EXCEPTION_TESTS_long_double): Likewise.
49591         * sysdeps/mips/mips64/libm-test-ulps: Update.
49593         * include/features.h (__USE_BSD): Remove macro definitions.
49594         (__USE_SVID): Likewise.
49595         (_BSD_SOURCE): Likewise.
49596         (_SVID_SOURCE): Likewise.
49597         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49598         from definition of _DEFAULT_SOURCE.
49599         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49600         [_DEFAULT_SOURCE].
49601         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49602         * bits/mman.h [__USE_BSD]: Likewise.
49603         * bits/termios.h [__USE_BSD]: Likewise.
49604         * bits/waitstatus.h [__USE_BSD]: Likewise.
49605         * ctype/ctype.h [__USE_SVID]: Likewise.
49606         * dirent/dirent.h [__USE_BSD]: Likewise.
49607         * grp/grp.h [__USE_SVID]: Likewise.
49608         [__USE_BSD]: Likewise.
49609         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49610         * io/fcntl.h [__USE_BSD]: Likewise.
49611         * io/ftw.h [__USE_BSD]: Likewise.
49612         * io/sys/stat.h [__USE_BSD]: Likewise.
49613         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49614         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49615         * libio/stdio.h [__USE_SVID]: Likewise.
49616         [__USE_BSD]: Likewise.
49617         * math/math.h [__USE_SVID]: Likewise.
49618         [__USE_BSD]: Likewise.
49619         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49620         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49621         * misc/search.h [__USE_SVID]: Likewise.
49622         * misc/sys/mman.h [__USE_BSD]: Likewise.
49623         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49624         * misc/sys/uio.h [__USE_BSD]: Likewise.
49625         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49626         * posix/glob.h [__USE_BSD]: Likewise.
49627         * posix/regex.h [__USE_BSD]: Likewise.
49628         * posix/sys/types.h [__USE_BSD]: Likewise.
49629         [__USE_SVID]: Likewise.
49630         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49631         * posix/sys/wait.h [__USE_BSD]: Likewise.
49632         [__USE_SVID]: Likewise.
49633         * posix/unistd.h [__USE_BSD]: Likewise.
49634         [__USE_SVID]: Likewise.
49635         * pwd/pwd.h [__USE_SVID]: Likewise.
49636         * resolv/netdb.h [__USE_BSD]: Likewise.
49637         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49638         * signal/signal.h [__USE_BSD]: Likewise.
49639         [__USE_SVID]: Likewise.
49640         * socket/sys/socket.h [__USE_BSD]: Likewise.
49641         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49642         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49643         [__USE_SVID]: Likewise.
49644         * string/bits/string2.h [__USE_BSD]: Likewise.
49645         [__USE_SVID]: Likewise.
49646         * string/bits/string3.h [__USE_BSD]: Likewise.
49647         * string/endian.h [__USE_BSD]: Likewise.
49648         * string/string.h [__USE_SVID]: Likewise.
49649         [__USE_BSD]: Likewise.
49650         * string/strings.h [__USE_BSD]: Likewise.
49651         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49652         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49653         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49654         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49655         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49656         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49657         Likewise.
49658         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49659         Likewise.
49660         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49661         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49662         Likewise.
49663         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49664         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49665         Likewise.
49666         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49667         Likewise.
49668         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49669         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49670         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49671         Likewise.
49672         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49673         Likewise.
49674         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49675         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49676         * termios/termios.h [__USE_BSD]: Likewise.
49677         * time/sys/time.h [__USE_BSD]: Likewise.
49678         * time/time.h [__USE_BSD]: Likewise.
49679         [__USE_SVID]: Likewise.
49681         * Makefile (subdir_targets): Remove subdir_lint.out.
49683         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49684         (do-tst-printf): Likewise.
49685         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49686         $(objpfx)tst-printf.out.
49688         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49690         * Makerules (check-abi-%): Change target to
49691         $(objpfx)check-abi-%.out.
49692         (check-abi target): Update dependencies.
49693         (check-abi-pattern variable): Redirect output of diff to $@.
49694         (check-abi variable): Likewise.
49695         * elf/Makefile (check-abi): Update dependencies.
49697         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49698         unused.
49699         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49700         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49701         subnormal range.
49702         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49703         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49704         value has largest subnormal exponent.
49705         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49706         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49707         * sysdeps/aarch64/soft-fp/sfp-machine.h
49708         (_FP_TININESS_AFTER_ROUNDING): New macro.
49709         * sysdeps/alpha/soft-fp/sfp-machine.h
49710         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49711         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49712         Likewise.
49713         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49714         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49715         * sysdeps/mips/soft-fp/sfp-machine.h
49716         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49717         * sysdeps/powerpc/soft-fp/sfp-machine.h
49718         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49719         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49720         Likewise.
49721         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49722         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49723         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49724         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49725         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49726         Likewise.
49728 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49730         [BZ #16545]
49731         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49732         model 1.
49734 2014-02-12  Richard Henderson  <rth@redhat.com>
49736         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49737         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49738         * sysdeps/unix/sysv/linux/alpha: Move directory from
49739         ports/sysdeps/unix/sysv/linux/alpha.
49740         * README: Update listing for alpha-*-linux-gnu.
49742 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49744         * include/features.h: Update comment documenting feature test
49745         macros.
49746         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49747         _DEFAULT_SOURCE.
49748         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49749         (_SVID_SOURCE): Likewise.
49750         (_DEFAULT_SOURCE): Update description of default features.
49751         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49752         with _GNU_SOURCE.
49753         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49754         (S_ISVTX): Likewise.
49755         * manual/math.texi (Mathematical Constants): Likewise.
49756         * manual/signal.texi (Interrupted Primitives): Likewise.
49757         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49758         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49759         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49760         Don't refer to _SVID_SOURCE in warning text.
49762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49764         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49765         already defined.
49766         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49767         * sysdeps/mips/dl-lookup.c: Remove.
49768         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49770 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49772         [BZ #16447]
49773         * math/auto-libm-test-in: Add testcase for expl.
49774         * math/auto-libm-test-out: Regenerate.
49775         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49776         calculation of unsafe.
49777         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49779 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49781         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49782         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49783         ports/sysdeps/unix/sysv/linux/aarch64.
49784         * README: Update listing for aarch64*-*-linux-gnu.
49786 2014-02-11  Will Newton  <will.newton@linaro.org>
49788         * manual/probes.texi (Mathematical Function Probes): Use
49789         "triggered" instead of "hit".
49791         * manual/probes.texi (Internal Probes): Add documentation
49792         of setjmp, longjmp and longjmp_target probes.
49794         * include/stap-probe.h: Add comment about probe argument
49795         format.
49797         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49798         definition.  (tr_where, tr_freehook, tr_mallochook,
49799         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49801 2014-02-11  David S. Miller  <davem@davemloft.net>
49803         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49804         processing int_tests.
49806 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49808         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49809         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49810         * sysdeps/unix/sysv/linux/mips: Move directory from
49811         ports/sysdeps/unix/sysv/linux/mips.
49812         * README: Update listing for mips-*-linux-gnu and
49813         mips64-*-linux-gnu.
49815 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49817         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49818         * sysdeps/unix/sysv/linux/m68k: Move directory from
49819         ports/sysdeps/unix/sysv/linux/m68k.
49820         * README: Update listing for m68k-*-linux-gnu.
49822 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49824         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49825         * sysdeps/unix/sysv/linux/generic: Move directory from
49826         ports/sysdeps/unix/sysv/linux/generic.
49827         * sysdeps/unix/sysv/linux/tile: Move directory from
49828         ports/sysdeps/unix/sysv/linux/tile.
49829         * README: Update listing for tile*-*-linux-gnu.
49831 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49833         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49834         __builtin_expect.
49835         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49836         * catgets/open_catalog.c (__open_catalog): Likewise.
49837         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49838         * debug/confstr_chk.c: Likewise.
49839         * debug/fread_chk.c (__fread_chk): Likewise.
49840         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49841         * debug/getgroups_chk.c: Likewise.
49842         * debug/mbsnrtowcs_chk.c: Likewise.
49843         * debug/mbsrtowcs_chk.c: Likewise.
49844         * debug/mbstowcs_chk.c: Likewise.
49845         * debug/memcpy_chk.c: Likewise.
49846         * debug/memmove_chk.c: Likewise.
49847         * debug/mempcpy_chk.c: Likewise.
49848         * debug/memset_chk.c: Likewise.
49849         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49850         * debug/strcat_chk.c (__strcat_chk): Likewise.
49851         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49852         * debug/strncat_chk.c (__strncat_chk): Likewise.
49853         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49854         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49855         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49856         * debug/wcpncpy_chk.c: Likewise.
49857         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49858         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49859         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49860         * debug/wcsncpy_chk.c: Likewise.
49861         * debug/wcsnrtombs_chk.c: Likewise.
49862         * debug/wcsrtombs_chk.c: Likewise.
49863         * debug/wcstombs_chk.c: Likewise.
49864         * debug/wmemcpy_chk.c: Likewise.
49865         * debug/wmemmove_chk.c: Likewise.
49866         * debug/wmempcpy_chk.c: Likewise.
49867         * debug/wmemset_chk.c: Likewise.
49868         * dirent/scandirat.c (SCANDIRAT): Likewise.
49869         * dlfcn/dladdr1.c (dladdr1): Likewise.
49870         * dlfcn/dladdr.c (dladdr): Likewise.
49871         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49872         * dlfcn/dlerror.c (__dlerror): Likewise.
49873         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49874         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49875         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49876         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49877         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49878         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49879         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49880         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49881         Likewise.
49882         * elf/dl-conflict.c: Likewise.
49883         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49884         * elf/dl-dst.h: Likewise.
49885         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49886         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49887         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49888         * elf/dl-init.c (call_init, _dl_init): Likewise.
49889         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49890         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49891         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49892         Likewise.
49893         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49894         Likewise.
49895         * elf/dl-minimal.c (__libc_memalign): Likewise.
49896         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49897         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49898         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49899         * elf/dl-sym.c (do_sym): Likewise.
49900         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49901         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49902         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49903         * elf/dl-writev.h (_dl_writev): Likewise.
49904         * elf/ldconfig.c (search_dir): Likewise.
49905         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49906         (dl_main): Likewise.
49907         * elf/setup-vdso.h (setup_vdso): Likewise.
49908         * grp/compat-initgroups.c (compat_call): Likewise.
49909         * grp/fgetgrent.c (fgetgrent): Likewise.
49910         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49911         * grp/putgrent.c (putgrent): Likewise.
49912         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49913         Likewise.
49914         * hurd/hurdinit.c: Likewise.
49915         * iconvdata/8bit-gap.c (struct): Likewise.
49916         * iconvdata/ansi_x3.110.c : Likewise.
49917         * iconvdata/big5.c : Likewise.
49918         * iconvdata/big5hkscs.c : Likewise.
49919         * iconvdata/cp1255.c: Likewise.
49920         * iconvdata/cp1258.c : Likewise.
49921         * iconvdata/cp932.c : Likewise.
49922         * iconvdata/euc-cn.c: Likewise.
49923         * iconvdata/euc-jisx0213.c : Likewise.
49924         * iconvdata/euc-jp.c: Likewise.
49925         * iconvdata/euc-jp-ms.c : Likewise.
49926         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49927         * iconvdata/gb18030.c : Likewise.
49928         * iconvdata/gbbig5.c (const): Likewise.
49929         * iconvdata/gbgbk.c: Likewise.
49930         * iconvdata/gbk.c : Likewise.
49931         * iconvdata/ibm1364.c : Likewise.
49932         * iconvdata/ibm930.c : Likewise.
49933         * iconvdata/ibm932.c: Likewise.
49934         * iconvdata/ibm933.c : Likewise.
49935         * iconvdata/ibm935.c : Likewise.
49936         * iconvdata/ibm937.c : Likewise.
49937         * iconvdata/ibm939.c : Likewise.
49938         * iconvdata/ibm943.c: Likewise.
49939         * iconvdata/iso_11548-1.c: Likewise.
49940         * iconvdata/iso-2022-cn.c : Likewise.
49941         * iconvdata/iso-2022-cn-ext.c : Likewise.
49942         * iconvdata/iso-2022-jp-3.c: Likewise.
49943         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49944         * iconvdata/iso-2022-kr.c : Likewise.
49945         * iconvdata/iso646.c (gconv_end): Likewise.
49946         * iconvdata/iso_6937-2.c : Likewise.
49947         * iconvdata/iso_6937.c : Likewise.
49948         * iconvdata/iso8859-1.c: Likewise.
49949         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49950         * iconvdata/shift_jisx0213.c : Likewise.
49951         * iconvdata/sjis.c : Likewise.
49952         * iconvdata/t.61.c : Likewise.
49953         * iconvdata/tcvn5712-1.c : Likewise.
49954         * iconvdata/tscii.c: Likewise.
49955         * iconvdata/uhc.c : Likewise.
49956         * iconvdata/unicode.c (gconv_end): Likewise.
49957         * iconvdata/utf-16.c (gconv_end): Likewise.
49958         * iconvdata/utf-32.c (gconv_end): Likewise.
49959         * iconvdata/utf-7.c (base64): Likewise.
49960         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49961         * iconv/gconv_close.c (__gconv_close): Likewise.
49962         * iconv/gconv_open.c (__gconv_open): Likewise.
49963         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49964         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49965         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49966         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49967         (ucs4le_internal_loop_single): Likewise.
49968         * iconv/iconv.c (iconv): Likewise.
49969         * iconv/iconv_close.c: Likewise.
49970         * iconv/loop.c (SINGLE): Likewise.
49971         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49972         * include/atomic.h: Likewise.
49973         * inet/inet6_option.c (option_alloc): Likewise.
49974         * intl/bindtextdom.c (set_binding_values): Likewise.
49975         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49976         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49977         * intl/localealias.c (read_alias_file): Likewise.
49978         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49979         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49980         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49981         * libio/fmemopen.c (fmemopen): Likewise.
49982         * libio/iofgets.c (_IO_fgets): Likewise.
49983         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49984         * libio/iofgetws.c (fgetws): Likewise.
49985         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49986         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49987         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49988         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49989         * locale/findlocale.c (_nl_find_locale): Likewise.
49990         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49991         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49992         Likewise.
49993         * locale/setlocale.c (setlocale): Likewise.
49994         * login/programs/pt_chown.c (main): Likewise.
49995         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49996         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49997         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49998         (mmap, mmap64, mremap, munmap): Likewise.
49999         * math/e_exp2l.c: Likewise.
50000         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
50001         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
50002         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
50003         * math/s_catan.c (__catan): Likewise.
50004         * math/s_catanf.c (__catanf): Likewise.
50005         * math/s_catanh.c (__catanh): Likewise.
50006         * math/s_catanhf.c (__catanhf): Likewise.
50007         * math/s_catanhl.c (__catanhl): Likewise.
50008         * math/s_catanl.c (__catanl): Likewise.
50009         * math/s_ccosh.c (__ccosh): Likewise.
50010         * math/s_ccoshf.c (__ccoshf): Likewise.
50011         * math/s_ccoshl.c (__ccoshl): Likewise.
50012         * math/s_cexp.c (__cexp): Likewise.
50013         * math/s_cexpf.c (__cexpf): Likewise.
50014         * math/s_cexpl.c (__cexpl): Likewise.
50015         * math/s_clog10.c (__clog10): Likewise.
50016         * math/s_clog10f.c (__clog10f): Likewise.
50017         * math/s_clog10l.c (__clog10l): Likewise.
50018         * math/s_clog.c (__clog): Likewise.
50019         * math/s_clogf.c (__clogf): Likewise.
50020         * math/s_clogl.c (__clogl): Likewise.
50021         * math/s_csin.c (__csin): Likewise.
50022         * math/s_csinf.c (__csinf): Likewise.
50023         * math/s_csinh.c (__csinh): Likewise.
50024         * math/s_csinhf.c (__csinhf): Likewise.
50025         * math/s_csinhl.c (__csinhl): Likewise.
50026         * math/s_csinl.c (__csinl): Likewise.
50027         * math/s_csqrt.c (__csqrt): Likewise.
50028         * math/s_csqrtf.c (__csqrtf): Likewise.
50029         * math/s_csqrtl.c (__csqrtl): Likewise.
50030         * math/s_ctan.c (__ctan): Likewise.
50031         * math/s_ctanf.c (__ctanf): Likewise.
50032         * math/s_ctanh.c (__ctanh): Likewise.
50033         * math/s_ctanhf.c (__ctanhf): Likewise.
50034         * math/s_ctanhl.c (__ctanhl): Likewise.
50035         * math/s_ctanl.c (__ctanl): Likewise.
50036         * math/w_pow.c: Likewise.
50037         * math/w_powf.c: Likewise.
50038         * math/w_powl.c: Likewise.
50039         * math/w_scalb.c (sysv_scalb): Likewise.
50040         * math/w_scalbf.c (sysv_scalbf): Likewise.
50041         * math/w_scalbl.c (sysv_scalbl): Likewise.
50042         * misc/error.c (error_tail): Likewise.
50043         * misc/pselect.c (__pselect): Likewise.
50044         * nis/nis_callback.c (__nis_create_callback): Likewise.
50045         * nis/nis_call.c (__nisfind_server): Likewise.
50046         * nis/nis_creategroup.c (nis_creategroup): Likewise.
50047         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
50048         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
50049         * nis/nis_getservlist.c (nis_getservlist): Likewise.
50050         * nis/nis_lookup.c (nis_lookup): Likewise.
50051         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
50052         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
50053         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50054         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50055         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50056         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50057         * nis/nss_compat/compat-initgroups.c (add_group)
50058         (internal_getgrent_r): Likewise.
50059         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50060         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50061         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50062         (internal_getspnam_r): Likewise.
50063         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50064         (_nss_nis_getaliasbyname_r): Likewise.
50065         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50066         (_nss_nis_getntohost_r): Likewise.
50067         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50068         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50069         (_nss_nis_getgrgid_r): Likewise.
50070         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50071         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50072         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50073         (_nss_nis_gethostbyname4_r): Likewise.
50074         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50075         (initgroups_netid): Likewise.
50076         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50077         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50078         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50079         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50080         (_nss_nis_getprotobynumber_r): Likewise.
50081         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50082         (_nss_nis_getsecretkey): Likewise.
50083         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50084         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50085         (_nss_nis_getpwuid_r): Likewise.
50086         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50087         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50088         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50089         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50090         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50091         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50092         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50093         Likewise.
50094         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50095         (_nss_nisplus_getntohost_r): Likewise.
50096         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50097         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50098         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50099         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50100         Likewise.
50101         * nis/nss_nisplus/nisplus-initgroups.c
50102         (_nss_nisplus_initgroups_dyn): Likewise.
50103         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50104         (_nss_nisplus_getnetbyaddr_r): Likewise.
50105         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50106         (_nss_nisplus_getprotobynumber_r): Likewise.
50107         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50108         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50109         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50110         Likewise.
50111         * nis/nss_nisplus/nisplus-service.c
50112         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50113         (_nss_nisplus_getservbyport_r): Likewise.
50114         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50115         (_nss_nisplus_getspnam_r): Likewise.
50116         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50117         Likewise.
50118         * nscd/aicache.c (addhstaiX): Likewise.
50119         * nscd/cache.c (cache_search, prune_cache): Likewise.
50120         * nscd/connections.c (register_traced_file, send_ro_fd)
50121         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50122         (main_loop_epoll): Likewise.
50123         * nscd/grpcache.c (addgrbyX): Likewise.
50124         * nscd/hstcache.c (addhstbyX): Likewise.
50125         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50126         * nscd/mem.c (gc, mempool_alloc): Likewise.
50127         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50128         (addinnetgrX): Likewise.
50129         * nscd/nscd-client.h (__nscd_acquire_maplock)
50130         (__nscd_drop_map_ref): Likewise.
50131         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50132         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50133         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50134         Likewise.
50135         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50136         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50137         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50138         (__nscd_get_map_ref): Likewise.
50139         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50140         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50141         Likewise.
50142         * nscd/pwdcache.c (addpwbyX): Likewise.
50143         * nscd/selinux.c (preserve_capabilities): Likewise.
50144         * nscd/servicescache.c (addservbyX): Likewise.
50145         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50146         * posix/fnmatch.c (fnmatch): Likewise.
50147         * posix/getopt.c (_getopt_internal_r): Likewise.
50148         * posix/glob.c (glob, glob_in_dir): Likewise.
50149         * posix/wordexp.c (exec_comm_child): Likewise.
50150         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50151         (getanswer_r, gaih_getanswer_slice): Likewise.
50152         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50153         * resolv/res_init.c: Likewise.
50154         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50155         * resolv/res_query.c (__libc_res_nquery): Likewise.
50156         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50157         Likewise.
50158         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50159         * stdio-common/perror.c (perror): Likewise.
50160         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50161         * stdio-common/tmpnam.c (tmpnam): Likewise.
50162         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50163         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50164         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50165         Likewise.
50166         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50167         * stdlib/putenv.c (putenv): Likewise.
50168         * stdlib/setenv.c (__add_to_environ): Likewise.
50169         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50170         * stdlib/strtol_l.c (INTERNAL): Likewise.
50171         * string/memmem.c (memmem): Likewise.
50172         * string/strerror.c (strerror): Likewise.
50173         * string/strnlen.c (__strnlen): Likewise.
50174         * string/test-memmem.c (simple_memmem): Likewise.
50175         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50176         * sunrpc/pm_getport.c (__get_socket): Likewise.
50177         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50178         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50179         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50180         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50181         Likewise.
50182         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50183         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50184         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50185         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50186         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50187         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50188         Likewise.
50189         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50190         Likewise.
50191         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50192         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50193         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50194         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50195         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50196         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50197         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50198         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50199         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50200         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50201         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50202         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50203         Likewise.
50204         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50205         Likewise.
50206         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50207         Likewise.
50208         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50209         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50210         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50211         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50212         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50213         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50214         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50215         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50216         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50217         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50218         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50219         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50220         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50221         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50222         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50223         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50224         Likewise.
50225         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50226         Likewise.
50227         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50228         Likewise.
50229         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50230         Likewise.
50231         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50232         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50233         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50234         Likewise.
50235         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50236         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50237         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50238         * sysdeps/posix/sleep.c: Likewise.
50239         * sysdeps/posix/tempname.c: Likewise.
50240         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50241         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50242         Likewise.
50243         * sysdeps/powerpc/powerpc32/dl-machine.h
50244         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50245         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50246         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50247         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50248         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50249         Likewise.
50250         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50251         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50252         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50253         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50254         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50255         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50256         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50257         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50258         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50259         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50260         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50261         (elf_machine_lazy_rel): Likewise.
50262         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50263         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50264         (elf_machine_lazy_rel): Likewise.
50265         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50266         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50267         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50268         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50269         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50270         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50271         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50272         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50273         Likewise.
50274         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50275         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50276         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50277         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50278         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50279         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50280         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50281         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50282         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50283         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50284         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50285         Likewise.
50286         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50287         (__posix_fallocate64_l64): Likewise.
50288         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50289         (posix_fallocate): Likewise.
50290         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50291         Likewise.
50292         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50293         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50294         (getifaddrs_internal): Likewise.
50295         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50296         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50297         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50298         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50299         * sysdeps/unix/sysv/linux/posix_fallocate64.c
50300         (__posix_fallocate64_l64): Likewise.
50301         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50302         Likewise.
50303         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50304         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50305         (__get_clockfreq): Likewise.
50306         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50307         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50308         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50311         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50312         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50313         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50314         Likewise.
50315         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50316         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50317         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50318         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50319         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50320         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50321         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
50322         Likewise.
50323         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50324         (posix_fallocate): Likewise.
50325         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50326         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50327         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50328         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50329         (elf_machine_rela, elf_machine_rela_relative)
50330         (elf_machine_lazy_rel): Likewise.
50331         * time/asctime.c (asctime_internal): Likewise.
50332         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50333         * time/tzset.c (__tzset_parse_tz): Likewise.
50334         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50335         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50336         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50337         * wcsmbs/wcsmbsload.h: Likewise.
50339         [BZ #15894]
50340         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50342         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50343         (arena_get2): Remove THREAD_STATS conditionals.
50344         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50345         (__malloc_stats, int): Likewise.
50347 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50349         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50350         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50352         * manual/setjmp.texi: Fix typos/grammar errors.
50354         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50355         Only return early when n is <= 0.  Delete unused return statement.
50357         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50358         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50359         * debug/tst-longjmp_chk3.c: New file.
50361         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50362         (test_main): Replace code with set_fortify_handler call.
50363         * debug/test-strcpy_chk.c: Likewise.
50364         * debug/tst-chk1.c: Likewise.
50365         * debug/tst-longjmp_chk.c: Likewise.
50366         * test-skeleton.c: Include fcntl.h & paths.h
50367         (set_fortify_handler): Define.
50369         * debug/tst-longjmp_chk.c: Add header comment and include
50370         ../test-skeleton.c.
50371         (do_test): Mark static.
50372         (TEST_FUNCTION): Define.
50374         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50375         (IP_PMTUDISC_INTERFACE): Likewise.
50376         (IP_MULTICAST_IF): Likewise.
50377         (IP_MULTICAST_TTL): Likewise.
50378         (IP_MULTICAST_LOOP): Likewise.
50379         (IP_ADD_MEMBERSHIP): Likewise.
50380         (IP_DROP_MEMBERSHIP): Likewise.
50381         (IP_UNBLOCK_SOURCE): Likewise.
50382         (IP_BLOCK_SOURCE): Likewise.
50383         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50384         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50385         (IP_MSFILTER): Likewise.
50386         (MCAST_JOIN_GROUP): Likewise.
50387         (MCAST_BLOCK_SOURCE): Likewise.
50388         (MCAST_UNBLOCK_SOURCE): Likewise.
50389         (MCAST_LEAVE_GROUP): Likewise.
50390         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50391         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50392         (MCAST_MSFILTER): Likewise.
50393         (IP_MULTICAST_ALL): Likewise.
50394         (IP_UNICAST_IF): Likewise.
50396         * timezone/Makefile: Delete $(have-ksh) check.
50397         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50398         * timezone/tzselect.ksh: Add +x mode bits.
50400         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50401         (ANON_INODE_FS_MAGIC): Likewise.
50402         (BDEVFS_MAGIC): Likewise.
50403         (BINFMTFS_MAGIC): Likewise.
50404         (BTRFS_TEST_MAGIC): Likewise.
50405         (CRAMFS_MAGIC_WEND): Likewise.
50406         (DEBUGFS_MAGIC): Likewise.
50407         (ECRYPTFS_SUPER_MAGIC): Likewise.
50408         (EXT3_SUPER_MAGIC): Likewise.
50409         (EXT4_SUPER_MAGIC): Likewise.
50410         (FUTEXFS_SUPER_MAGIC): Likewise.
50411         (HOSTFS_SUPER_MAGIC): Likewise.
50412         (HUGETLBFS_MAGIC): Likewise.
50413         (MINIX3_SUPER_MAGIC): Likewise.
50414         (MTD_INODE_FS_MAGIC): Likewise.
50415         (NILFS_SUPER_MAGIC): Likewise.
50416         (OPENPROM_SUPER_MAGIC): Likewise.
50417         (PIPEFS_MAGIC): Likewise.
50418         (PSTOREFS_MAGIC): Likewise.
50419         (QNX6_SUPER_MAGIC): Likewise.
50420         (RAMFS_MAGIC): Likewise.
50421         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50422         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50423         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50424         (SECURITYFS_MAGIC): Likewise.
50425         (SELINUX_MAGIC): Likewise.
50426         (SMACK_MAGIC): Likewise.
50427         (SOCKFS_MAGIC): Likewise.
50428         (SQUASHFS_MAGIC): Likewise.
50429         (STACK_END_MAGIC): Likewise.
50430         (TMPFS_MAGIC): Likewise.
50431         (USBDEVICE_SUPER_MAGIC): Likewise.
50432         (V9FS_MAGIC): Likewise.
50433         (XENFS_SUPER_MAGIC): Likewise.
50434         (CRAMFS_MAGIC): Fix typo in comment.
50435         (EXT2_SUPER_MAGIC): Update comment.
50436         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50438 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
50440         * sysdeps/arm: Move directory from ports/sysdeps/arm.
50441         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50442         * sysdeps/unix/sysv/linux/arm: Move directory from
50443         ports/sysdeps/unix/sysv/linux/arm.
50444         * README: Update listing for arm-*-linux-gnueabi.
50446         * README: Remove mention of am33.
50448 2014-02-07  Roland McGrath  <roland@hack.frob.com>
50450         * bits/sigset.h (__sigemptyset): Use a statement expression rather
50451         than the comma operator, to avoid "rhs of comma has no effect"
50452         compiler warnings.
50453         (__sigfillset, __sigandset, __sigorset): Likewise.
50454         * include/signal.h (__sigemptyset): Likewise.
50455         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50457 2014-02-07  Allan McRae  <allan@archlinux.org>
50459         * version.h (RELEASE): Set to "development".
50460         (VERSION): Set to "2.19.90"
50461         * NEWS: Add 2.20 section.
50463 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
50465         [BZ #16529]
50466         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50468 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50470         * manual/contrib.texi: Update entry for Carlos O'Donell,
50471         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50473 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
50475         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50477         * sysdeps/unix/sysv/linux/kernel-features.h
50478         [__LINUX_KERNEL_VERSION >= 0x020621]
50479         (__ASSUME_PROC_PID_TASK_COMM): Define.
50481 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50483         [BZ #16398]
50484         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50485         conversion when destination buffer does not have enough space.
50486         * libio/tst-ftell-partial-wide.c: New test case.
50487         * libio/Makefile (tests): Add tst-ftell-partial-wide.
50489         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50490         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
50491         Leonard and Allan McRae.
50493 2014-02-04  David S. Miller  <davem@davemloft.net>
50495         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50496         32-bit.
50498 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50501         New file
50502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50503         New file
50504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50505         New file.
50506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50507         New file.
50508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50509         New file.
50510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50511         New file.
50512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50513         New file.
50514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50515         New file.
50516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50517         New file.
50518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50519         New file.
50520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50521         New file.
50522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50523         New file.
50524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50525         New file.
50527 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50529         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50530         * shlib-versions: Likewise.
50532 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50533             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50535         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50536         (abilist-pattern): New variable, set to %-le.abilist.
50538         * Makerules (abilist-pattern): New variable.
50539         (vpath): Use $(abilist-pattern) in place of %.abilist.
50540         (check-abi-% pattern rule): Likewise.
50541         (check-abi, update-abi): Likewise.
50543 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50547 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50549         * manual/startup.texi: Add next, previous, and top entries for
50550         the `Program Arguments' and `Environment Variables' nodes.
50552 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50554         * manual/macros.texi: Add comments before MTASC-safety macros.
50556         * manual/users.texi: Document MTASC-safety properties.
50558         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50559         (pthread_getspecific, pthread_setspecific): Format with
50560         @deftypefun, and add @safety note.
50561         * manual/signal.texi: Move comments that analyze the above
50562         functions to their home place.
50564 2014-02-03  Allan McRae  <allan@archlinux.org>
50566         * po/sl.po: Update Slovenian translation from translation project.
50568 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50570         * manual/time.texi (timegm): Add missing blank after @c.
50571         Reported by Joseph Myers <joseph@codesourcery.com>.
50573 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50575         * manual/check-safety.sh: New.
50576         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50578         * manual/terminal.texi: Document MTASC-safety properties.
50580         * manual/filesys.texi: Document MTASC-safety properties.
50582         * manual/errno.texi: Document MTASC-safety properties.
50584         * manual/intro.texi: Document safety identifiers and
50585         conditionals.
50587         * manual/string.texi (wcstok): Fix prototype.
50588         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50590         * manual/time.texi: Document MTASC-safety properties.
50592         * manual/string.texi: Document MTASC-safety properties.
50594         * manual/threads.texi: Document MTASC-safety properties.
50596         * manual/stdio.texi: Document MTASC-safety properties.
50598         * manual/syslog.texi: Document MTASC-safety properties.
50600         * manual/sysinfo.texi: Document MTASC-safety properties.
50602         * manual/startup.texi: Document MTASC-safety properties.
50604         * manual/socket.texi: Document MTASC-safety properties.
50606         * manual/signal.texi: Document MTASC-safety properties.
50608 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50610         * manual/setjmp.texi: Document MTASC-safety properties.
50612         * manual/search.texi: Document MTASC-safety properties.
50614         * manual/resource.texi: Document MTASC-safety properties.
50616         * manual/process.texi: Document MTASC-safety properties.
50618         * manual/platform.texi: Document MTASC-safety properties.
50620         * manual/pipe.texi: Document MTASC-safety properties.
50622         * manual/pattern.texi: Document MTASC-safety properties.
50624         * manual/message.texi: Document MTASC-safety properties.
50626         [BZ #12751]
50627         * manual/memory.texi: Document MTASC-safety properties.
50629         * manual/math.texi: Document MTASC-safety properties.
50631         * manual/locale.texi: Document MTASC-safety properties.
50633         * manual/llio.texi: Document MTASC-safety properties.
50635         * manual/libdl.texi: New.
50637         * manual/lang.texi: Document MTASC-safety properties.
50639         * manual/job.texi: Document MTASC-safety properties.
50641         * manual/getopt.texi: Document MTASC-safety properties.
50643         * manual/ctype.texi: Document MTASC-safety properties.
50645 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50647         [BZ #16046]
50648         * csu/libc-tls.c (static_map): Remove variable.
50649         (__libc_setup_tls): Use main executable's link map for TLS data.
50650         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50651         casing for LM_ID_BASE and GL(dl_nns).
50652         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50653         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50654         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50655         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50656         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50657         member.
50658         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50659         l_phnum members.
50661 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50663         * manual/debug.texi: Document MTASC-safety properties.
50665 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50667         [BZ #16510]
50668         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50669         of __x86_64__ when disabling x87 inline functions.
50671 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50673         * manual/charset.texi: Document MTASC-safety properties.
50675         * manual/crypt.texi: Document MTASC-safety properties.
50677         * manual/conf.texi: Document MTASC-safety properties.
50679         * manual/arith.texi: Document MTASC-safety properties.
50681         * manual/argp.texi: Document MTASC-safety properties.
50683         * manual/macros.texi: Introduce macros to document multi
50684         thread, asynchronous signal and asynchronous cancellation
50685         safety properties.
50686         * manual/intro.texi: Introduce the properties themselves.
50688 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50690         * sysdeps/sh/sh4/Makefile: New file.
50692 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50694         * math/gen-libm-test.pl ($srcdir): New variable.
50695         ($auto_input): Use it.
50697 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50699         [BZ #16506]
50700         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50701         access beyond array bounds when parsing netgroups file.
50703         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50704         the old buffer before realloc.
50706 2014-01-27  Allan McRae  <allan@archlinux.org>
50708         * po/fr.po: Update French translation from translation project.
50710 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50712         * sysdeps/sh/libm-test-ulps: Regenerate.
50714 2014-01-24  David S. Miller  <davem@davemloft.net>
50716         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50718 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50720         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50721         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50723 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50725         [BZ #16474]
50726         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50727         string pointers after reallocation.
50729 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50731         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50732         __SH4A__ instead of __SH_FPU_ANY__.
50734 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50736         * sysdeps/sh/fpu_control.h: New file.
50737         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50738         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50739         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50740         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50741         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50742         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50743         * sysdeps/sh/sys/ucontext.h: Remove.
50744         * sysdeps/sh/sys: Remove directory.
50746 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50748         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50749         s390/sys/ucontext.h.
50750         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50751         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50753 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50755         [BZ #15605]
50756         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50758 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50760         [BZ#16431]
50761         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50762         Adjust the vDSO correctly for internal calls.
50763         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50765 2014-01-20  Allan McRae  <allan@archlinux.org>
50767         * po/ca.po: Update Catalan translation from translation project.
50769 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50771         * sysdeps/s390/sotruss-lib.c: New file.
50773 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50775         [BZ#16430]
50776         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50777         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50778         local calls issues by not having a PLT stub required for IFUNC calls.
50779         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50781 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50783         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50784         * math/test-fpucw-static.c: Likewise.
50786 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50788         [BZ #16453]
50789         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50791 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50793         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50794         implementation for powerpc.
50796 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50798         [BZ #14782]
50799         * sysdeps/posix/system.c (__libc_system): Do not enable
50800         asynchronous cancellation.
50802 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50804         [BZ #16427]
50805         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50806         handling only for numbers special also in the IEEE case.
50808 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50810         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50812 2014-01-11  Allan McRae  <allan@archlinux.org>
50814         * po/bg.po: Update Bulgarian translation from translation project.
50816         * po/de.po: Update German translation from translation project.
50818 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50820         * sysdeps/generic/gcc-compat.h: New file.
50822 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50824         * benchtests/asin-inputs: Correct slow inputs.
50825         * benchtests/acos-inputs: Likewise.
50827 2014-01-10  Allan McRae  <allan@archlinux.org>
50829         * po:sv.po: Update Swedish translation from translation project.
50831         * po/vi.po: Update Vietnamese translation from translation project.
50833         * po/eo.po: Update Esperanto translation from translation project.
50835         * po/cs.po: Update Czech translation from translation project.
50837         * po/nl.po: Update Dutch translation from translation project.
50839         * po/pl.po: Update Polish translation from translation project.
50841         * po/ru.po: Update Russian translation from translation project.
50843         * po/uk.po: Update Ukrainian translation from translation project.
50845 2014-01-08  Brooks Moses  <bmoses@google.com>
50847         * elf/dl-load.c: Fix comment typo.
50849 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50851         * po/header.pot: Rename to...
50852         * po/pot.header: ... this.
50853         * po/Makefile: Use pot.header.
50855 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50856             Maxim Kuvyrkov  <maxim@kugelworks.com>
50858         [BZ #16394]
50859         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50860         SRC and DEST against LEN.
50862 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50864         [BZ #16414]
50865         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50866         implementation.
50867         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50869 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50873 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50875         [BZ #16408]
50876         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50877         for large positive arguments.
50879 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50881         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50883         * math/auto-libm-test-in: Mark various tests with
50884         xfail-rounding:ldbl-128ibm.
50885         * math/auto-libm-test-out: Regenerated.
50887         [BZ #16407]
50888         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50889         Increase overflow threshold.
50891 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50893         [BZ #14286]
50894         * stdio-common/vfprintf.c: Check for integer overflow.
50896 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50898         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50899         the first argument and return value of __tls_get_addr_internal.
50901 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50903         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50904         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50906 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50908         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50909         * sysdeps/s390/rtld-global-offsets.sym: New file.
50910         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50911         GLIBC_2.19 symbol.
50912         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50913         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50914         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50915         ... this.
50916         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50917         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50918         ... this.
50919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50920         Regenerate.
50921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50922         Regenerate.
50923         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50924         halfs of GPRs for high_gprs contexts.
50925         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50926         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50927         field.
50928         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50929         uc_flags field.
50930         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50931         64 bit versions:
50932         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50933         for high GPRs (uc_high_gprs) and for future extensions
50934         (__reserved).
50935         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50936         for future extensions (__reserved).
50937         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50938         64 bit versions:
50939         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50940         SC_HIGHGPRS offset definition.
50941         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50942         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50944         * Versions.def: Add GLIBC_2.19 for libpthread.
50945         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50946         siglongjmp for libpthread with GLIBC_2.19 symver.
50947         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50948         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50949         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50950         * sysdeps/s390/__longjmp.c: New file.
50951         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50952         * sysdeps/s390/longjmp.c: New file.
50953         * sysdeps/s390/setjmp.S: New file.
50954         * sysdeps/s390/sigjmp.S: New file.
50955         * sysdeps/s390/v1-longjmp.c: New file.
50956         * sysdeps/s390/v1-setjmp.h: New file.
50957         * sysdeps/s390/v1-sigjmp.c: New file.
50958         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50959         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50960         GLIBC_2.19 version.
50961         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50962         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50963         versioned symbols for ____longjmp_chk.
50964         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50965         Likewise.
50966         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50967         Regenerate.
50968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50969         Regenerate.
50970         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50971         Regenerate.
50972         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50973         Regenerate.
50974         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50975         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50976         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50977         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50978         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50979         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50980         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50981         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50982         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50983         * sysdeps/s390/rtld-__longjmp.c: New file.
50984         * sysdeps/s390/rtld-setjmp.S: New file.
50986 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50988         [BZ #16400]
50989         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50990         Return -__logl (x) for small positive arguments without evaluating
50991         a polynomial.
50993 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50995         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50996         Rename to ...
50997         (__ptrace_peeksiginfo_args): ... this.
50998         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50999         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51000         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51002 2014-01-06  Allan McRae  <allan@archlinux.org>
51004         * inet/netinet/in.h: Fix typo in comment.
51006 2014-01-05  Andreas Jaeger  <aj@suse.de>
51008         * sysdeps/i386/fpu/libm-test-ulps: Update.
51010 2014-01-05  Allan McRae  <allan@archlinux.org>
51012         * po/libc.pot: Regenerated.
51014         * malloc/memusagestat.c: Fix gettext call formatting.
51016 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
51018         * nscd/nscd.c: Improve usage() output.
51020 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
51022         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
51023         * sysdeps/unix/sysv/linux/configure: Regenerated.
51024         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
51025         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
51027 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51029         [BZ #16390]
51030         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51031         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
51033 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51035         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
51036         extra tokens at end of #undef directive.
51037         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
51038         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
51039         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
51041 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
51043         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
51045         * math/auto-libm-test-in: Mark various tests with
51046         xfail-rounding:ldbl-128ibm.
51047         * math/auto-libm-test-out: Regenerated.
51049 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
51051         [BZ #16386]
51052         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
51053         numbers with subnormal high part when calculating exponent.
51055         [BZ #16385]
51056         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51057         fabs.
51059         [BZ #16384]
51060         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51061         M_LN2l.
51062         (__ieee754_acoshl): Use __log1pl not __log1p.
51064 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51066         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51067         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51068         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51069         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51070         (reused_arena, arena_get2): Convert to GNU style.
51071         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51072         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51073         (memalign_check, __malloc_set_state): Likewise.
51074         * malloc/mallocbug.c (main): Likewise.
51075         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51076         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51077         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51078         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51079         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51080         (__posix_memalign, malloc_info): Likewise.
51081         * malloc/malloc.h: Likewise.
51082         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51083         (mallochook, memalignhook, reallochook, mabort): Likewise.
51084         * malloc/mcheck.h: Likewise.
51085         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51086         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51087         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51088         * malloc/morecore.c (__default_morecore): Likewise.
51089         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51090         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51091         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51092         (print_and_abort): Likewise.
51093         * malloc/obstack.h: Likewise.
51094         * malloc/set-freeres.c (__libc_freeres): Likewise.
51095         * malloc/tst-mallocstate.c (main): Likewise.
51096         * malloc/tst-mtrace.c (main): Likewise.
51097         * malloc/tst-realloc.c (do_test): Likewise.
51099 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51101         [BZ #16366]
51102         * nscd/netgroupcache.c (do_notfound): New function.
51103         (addgetnetgrentX): Use it.
51105         [BZ # 16365]
51106         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51107         NSS_STATUS_NOTFOUND.
51109 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51111         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51114 2014-01-01  Allan McRae  <allan@archlinux.org>
51116         * scripts/update-copyrights: Update configure input file suffix.
51118         * NEWS: Update copyright year.
51119         * catgets/gencat.c: Likewise.
51120         * csu/version.c: Likewise.
51121         * debug/catchsegv.sh: Likewise.
51122         * debug/pcprofiledump.c: Likewise.
51123         * debug/xtrace.sh: Likewise.
51124         * elf/ldconfig.c: Likewise.
51125         * elf/ldd.bash.in: Likewise.
51126         * elf/pldd.c: Likewise.
51127         * elf/sotruss.ksh: Likewise.
51128         * elf/sprof.c: Likewise.
51129         * iconv/iconv_prog.c: Likewise.
51130         * iconv/iconvconfig.c: Likewise.
51131         * locale/programs/locale.c: Likewise.
51132         * locale/programs/localedef.c: Likewise.
51133         * login/programs/pt_chown.c: Likewise.
51134         * malloc/memusage.sh: Likewise.
51135         * malloc/memusagestat.c: Likewise.
51136         * malloc/mtrace.pl: Likewise.
51137         * manual/libc.texinfo: Likewise.
51138         * nscd/nscd.c: Likewise.
51139         * nss/getent.c: Likewise.
51140         * nss/makedb.c: Likewise.
51141         * posix/getconf.c: Likewise.
51142         * scripts/test-installation.pl: Likewise.
51144         * All files with FSF copyright notices: Update copyright dates
51145         using scripts/update-copyrights.
51146         * intl/plural.c: Regenerated.
51147         * locale/programs/charmap-kw.h: Likewise.
51148         * locale/programs/locfile-kw.h: Likewise.
51150 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51152         * sysdeps/unix/sysv/linux/configure: Regenerated.
51153         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51154         the linux/fanotify.h header.
51155         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51156         HAVE_LINUX_FANOTIFY_H is defined.
51158 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51160         * benchtests/cos-inputs: New inputs.
51161         * benchtests/sin-inputs: Likewise.
51163         * benchtests/atan-inputs: New inputs. Fix name of multiple
51164         precision fallback inputs.
51166         * benchtests/atanh-inputs: New inputs.
51167         * benchtests/tanh-inputs: Likewise.
51169         * benchtests/acosh-inputs: New inputs.
51170         * benchtests/asinh-inputs: Likewise.
51172         * benchtests/cosh-inputs: New inputs.
51173         * benchtests/sinh-inputs: Likewise.
51175         * benchtests/acos-inputs: Add more inputs.
51176         * benchtests/asin-inputs: Likewise.
51178 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51180         [BZ #16375]
51181         * manual/arith.texi: Fix spelling.
51182         * manual/charset.texi: Likewise.
51183         * manual/errno.texi: Likewise.
51184         * manual/filesys.texi: Likewise.
51185         * manual/lang.texi: Likewise.
51186         * manual/llio.texi: Likewise.
51187         * manual/locale.texi: Likewise.
51188         * manual/message.texi: Likewise.
51189         * manual/resource.texi: Likewise.
51190         * manual/search.texi: Likewise.
51191         * manual/setjmp.texi: Likewise.
51192         * manual/stdio.texi: Likewise.
51193         * manual/string.texi: Likewise.
51194         * manual/sysinfo.texi: Likewise.
51195         * manual/time.texi: Likewise.
51197 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51199         * po/sl.po: New file.
51201 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51203         * .gitignore: Add core/.gdbinit/.gdb_history.
51205 2013-12-27  Allan McRae  <allan@archlinux.org>
51207         [BZ #16369]
51208         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51209         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51211 2013-12-24  Brooks Moses  <bmoses@google.com>
51213         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51214         all compilers that claim C++98 compliance, not just GCC.
51215         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51216         Likewise.
51218 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51220         * NEWS: Restore accidentally deleted bug-fix entries.
51222 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51223             Ondřej Bílka  <neleai@seznam.cz>
51225         [BZ #15073]
51226         * malloc/malloc.c (_int_free): Perform sanity check only if we
51227         have_lock.
51229 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51231         [BZ #12986]
51232         * manual/stdio.texi (String Input Conversions): Clarify that character
51233         classes are not supported.
51235 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51237         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51239 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51241         [BZ #16337]
51242         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51243         Calculate results for small negative arguments directly rather
51244         than using reflection formula with special underflow handling.
51246         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51247         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51248         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51249         (fchflags): Likewise.
51250         (revoke): Likewise.
51251         (setlogin): Likewise.
51252         (sigaltstack): Likewise.
51253         (wait4): Likewise.
51254         (sigblock): Remove.
51255         (sigsetmask): Likewise.
51256         (wait3): Likewise.
51257         (waitpid): Likewise.
51258         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51259         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51260         file.
51261         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51262         * sysdeps/unix/bsd/Makefile: ... here.
51263         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51264         * sysdeps/unix/bsd/Versions: ... here.
51265         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51266         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51267         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51268         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51269         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51270         * sysdeps/unix/bsd/sigblock.c: ... here.
51271         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51272         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51273         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51274         * sysdeps/unix/bsd/sigvec.c: ... here.
51275         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51276         * sysdeps/unix/bsd/tcdrain.c: ... here.
51277         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51278         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51279         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51280         * sysdeps/unix/bsd/tcsetattr.c: ... here.
51281         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51282         * sysdeps/unix/bsd/wait.c: ... here.
51283         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51284         * sysdeps/unix/bsd/wait3.c: ... here.
51285         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51286         * sysdeps/unix/bsd/waitpid.c: ... here.
51288 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
51290         [BZ #16356]
51291         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51292         round-to-nearest for [!USE_AS_EXPM1L].
51293         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51294         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
51295         more tests of exp and exp10.  Expect some exp10 tests to miss
51296         exceptions or fail in directed rounding modes.
51297         * math/auto-libm-test-out: Regenerated.
51298         * math/libm-test.inc (exp10_tonearest_test_data): New array.
51299         (exp10_test_tonearest): New function.
51300         (exp10_towardzero_test_data): New array.
51301         (exp10_test_towardzero): New function.
51302         (exp10_downward_test_data): New array.
51303         (exp10_test_downward): New function.
51304         (exp10_upward_test_data): New array.
51305         (exp10_test_upward): New function.
51306         (main): Call the new functions.
51307         * sysdeps/i386/fpu/libm-test-ulps: Update.
51308         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51310 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
51312         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51313         asinh, atan, atan2, atanh, cbrt, cos and cosh.
51314         * math/auto-libm-test-out: Regenerated.
51315         * math/libm-test.inc (acosh_test_data): Add more tests.
51316         (atanh_test_data): Likewise.
51317         (ceil_test_data): Likewise.
51318         (copysign_test_data): Likewise.
51319         * sysdeps/i386/fpu/libm-test-ulps: Update.
51320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51322         * timezone/checktab.awk: Update from tzcode 2013i.
51323         * timezone/private.h: Likewise.
51324         * timezone/scheck.c: Likewise.
51325         * timezone/tzfile.h: Likewise.
51326         * timezone/tzselect.ksh: Likewise.
51327         * timezone/zdump.c: Likewise.
51328         * timezone/zic.c: Likewise.
51330         * math/auto-libm-test-in: Add tests of cpow.
51331         * math/auto-libm-test-out: Regenerated.
51332         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51333         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51334         mpc_cc_c.
51335         (func_calc_desc): Add mpc_cc_c union field.
51336         (test_functions): Add cpow.
51337         (special_fill_2pi): New function.
51338         (special_real_inputs): Add 2pi.
51339         (calc_generic_results): Handle mpc_cc_c.
51340         * sysdeps/i386/fpu/libm-test-ulps: Update.
51341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51343         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51344         csqrt, ctan and ctanh.
51345         * math/auto-libm-test-out: Regenerated.
51346         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51347         (TEST_COND_x86): Likewise.
51348         (ccos_test_data): Use AUTO_TESTS_c_c.
51349         (ccosh_test_data): Likewise.
51350         (cexp_test_data): Likewise.
51351         (clog_test_data): Likewise.
51352         (csqrt_test_data): Likewise.
51353         (ctan_test_data): Likewise.
51354         (ctan_tonearest_test_data): Likewise.
51355         (ctan_towardzero_test_data): Likewise.
51356         (ctan_downward_test_data): Likewise.
51357         (ctan_upward_test_data): Likewise.
51358         (ctanh_test_data): Likewise.
51359         (ctanh_tonearest_test_data): Likewise.
51360         (ctanh_towardzero_test_data): Likewise.
51361         (ctanh_downward_test_data): Likewise.
51362         (ctanh_upward_test_data): Likewise.
51363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51364         mpc_c_c.
51365         (func_calc_desc): Add mpc_c_c union field.
51366         (FUNC_mpc_c_c): New macro.
51367         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51368         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51369         ctanh.
51370         (special_fill_min_subnorm_p120): New function.
51371         (special_real_inputs): Add min_subnorm_p120.
51372         (calc_generic_results): Handle mpc_c_c.
51373         * sysdeps/i386/fpu/libm-test-ulps: Update.
51374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51376 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51378         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51379         (do_sin_slow): New functions.
51380         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51381         (cslow2, csloww1, csloww2): Use the new functions.
51383         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51384         Use M to change sign of result instead of X.  Assume X is
51385         positive.
51386         (csloww1): Likewise.
51387         (__sin): Adjust.
51388         (__cos): Adjust.
51390         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51391         arguments A and DA.
51392         (__sin): Adjust.
51393         (__cos): Likewise.
51395         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51396         (__cos): Likewise.
51397         (sloww1): Don't adjust sign of DX.
51398         (csloww1): Likewise.
51399         (sloww2): Use X directly and don't adjust sign of DX.
51400         (csloww2): Likewise.
51402 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51404         * math/auto-libm-test-in: Add tests of cabs and carg.
51405         * math/auto-libm-test-out: Regenerated.
51406         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51407         (carg_test_data): Likewise.
51408         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51409         mpc_c_f.
51410         (func_calc_desc): Add mpc_c_f union field.
51411         (test_functions): Add cabs and carg.
51412         (calc_generic_results): Handle mpc_c_f.
51414         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51415         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51416         as a macro and a compat symbol.
51417         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51418         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51419         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51420         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51421         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51422         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51423         not use .hidden.
51424         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51425         Likewise.
51426         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51427         Likewise.
51428         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51429         Likewise.
51430         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51431         Likewise.
51432         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51433         Likewise.
51434         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51435         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51436         from GLIBC_2.3.2.
51438 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51442 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51444         * manual/texinfo.tex: Update to version 2013-11-26.10 with
51445         trailing whitespace removed.
51446         * scripts/config.guess: Update to version 2013-11-29.
51447         * scripts/config.sub: Update to version 2013-10-01.
51449         * math/auto-libm-test-in: Add tests of sincos.
51450         * math/auto-libm-test-out: Regenerated.
51451         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51452         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51453         mpfr_f_11.
51454         (func_calc_desc): Add mpfr_f_11 union field.
51455         (test_functions): Add sincos.
51456         (calc_generic_results): Handle mpfr_f_11.
51457         * sysdeps/i386/fpu/libm-test-ulps: Update.
51458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51460 2013-12-19  Andreas Schwab  <schwab@suse.de>
51462         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51463         CALL_MCOUNT.
51464         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51465         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51466         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51468 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51470         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51471         * sysdeps/i386/fpu/libm-test-ulps: Update.
51472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51474         [BZ #16293]
51475         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51476         round-to-nearest mode when using frndint.
51477         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51478         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51479         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51480         Likewise.
51481         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
51482         sinh test to fail.
51483         * math/auto-libm-test-out: Regenerated.
51484         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51485         (TEST_COND_x86): Likewise.
51486         (expm1_tonearest_test_data): New array.
51487         (expm1_test_tonearest): New function.
51488         (expm1_towardzero_test_data): New array.
51489         (expm1_test_towardzero): New function.
51490         (expm1_downward_test_data): New array.
51491         (expm1_test_downward): New function.
51492         (expm1_upward_test_data): New array.
51493         (expm1_test_upward): New function.
51494         (main): Run the new test functions.
51495         * sysdeps/i386/fpu/libm-test-ulps: Update.
51496         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51498         * include/features.h: Update comment documenting feature test
51499         macros.  Mention _DEFAULT_SOURCE in comment.
51500         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51501         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51502         _BSD_SOURCE and _SVID_SOURCE.
51503         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51504         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51505         !_SVID_SOURCE]: Likewise.
51506         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51507         (__USE_POSIX_IMPLICITLY): Define.
51508         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51509         (_POSIX_SOURCE): Undefine and redefine.
51510         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51511         (_POSIX_C_SOURCE): Likewise.
51512         * manual/creature.texi (_DEFAULT_SOURCE): Document.
51513         (Feature Test Macros): Update documentation of default features.
51515 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51517         * benchtests/Makefile: Add bench-strtok.
51518         * benchtests/bench-strtok.c: New file: strtok benchtest.
51520 2013-12-19  Allan McRae  <allan@archlinux.org>
51522         * manual/install.texi: Suppress menu for plain text output.
51523         * INSTALL: Regenerated.
51525 2013-12-18  Brooks Moses  <bmoses@google.com>
51527         [BZ #15846]
51528         * misc/getauxval.c: Include errno.h.
51529         (__getauxval): Set errno to ENOENT if the requested type is not
51530         found.
51531         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51532         don't declare with __attribute_const__.
51533         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51534         * manual/startup.texi: Document that getauxval sets errno.
51536 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51538         * math/auto-libm-test-in: Add tests of jn and yn.
51539         * math/auto-libm-test-out: Regenerated.
51540         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51541         (yn_test_data): Likewise.
51542         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51543         mpfr_if_f.
51544         (func_calc_desc): Add mpfr_if_f union field.
51545         (FUNC_mpfr_if_f): New macro.
51546         (test_functions): Add jn and yn.
51547         (calc_generic_results): Assert type of second input for
51548         mpfr_ff_f.  Handle mpfr_if_f.
51549         (output_for_one_input_case): Disable all checking for arguments
51550         fitting floating-point types in case of an integer argument.
51551         * sysdeps/i386/fpu/libm-test-ulps: Update.
51552         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51555         Don't expect fegetround reference in libm.so.
51557 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51559         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51560         $(config-cflags-nofma).
51562 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51564         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51565         * math/auto-libm-test-out: Regenerated.
51567         [BZ #16338]
51568         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51569         to determine exponent and adjust argument to have exponent of -1.
51570         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51571         log2.
51572         * math/auto-libm-test-out: Regenerated.
51573         * sysdeps/i386/fpu/libm-test-ulps: Update.
51574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51576 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51578         * manual/probes.texi: Remove cases when per-thread arenas are
51579         disabled.
51581 2013-12-18  Andreas Schwab  <schwab@suse.de>
51583         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51584         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51585         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51586         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51587         * sysdeps/i386/i686/multiarch/Makefile: Update.
51588         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51590 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51592         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51593         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51595 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51597         [BZ #15968]
51598         Support TZ transition times < 00:00:00.
51599         This is needed for version-3 tz-format files; it supports time
51600         stamps past 2037 for America/Godthab (the only entry in the tz
51601         database for which this change is relevant).
51602         * manual/time.texi (TZ Variable): Document transition times
51603         from -167:59:59 through -00:00:01.
51604         * time/tzset.c (tz_rule): Time of day is now signed.
51605         (__tzset_parse_tz): Parse negative time of day.
51607         Document TZ transition times >= 25:00:00.
51608         * manual/time.texi (TZ Variable): Document transition times from
51609         25:00:00 through 167:59:59.  These are already supported, and this
51610         support will help with version-3 tz-format files.
51612         * manual/time.texi (TZ Variable): Modernize North America example
51613         to reflect current (i.e., 2007-and-later) daylight saving rules.
51615         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51617 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51619         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51620         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51621         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51623         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51624         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51625         * sysdeps/unix/bsd/clock.c: Likewise.
51626         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51627         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51628         * sysdeps/unix/bsd/init-posix.c: Likewise.
51629         * sysdeps/unix/bsd/poll.c: Likewise.
51630         * sysdeps/unix/bsd/ptsname.c: Likewise.
51631         * sysdeps/unix/bsd/seekdir.c: Likewise.
51632         * sysdeps/unix/bsd/setegid.c: Likewise.
51633         * sysdeps/unix/bsd/seteuid.c: Likewise.
51634         * sysdeps/unix/bsd/setgid.c: Likewise.
51635         * sysdeps/unix/bsd/setrgid.c: Likewise.
51636         * sysdeps/unix/bsd/setruid.c: Likewise.
51637         * sysdeps/unix/bsd/setsid.c: Likewise.
51638         * sysdeps/unix/bsd/setuid.c: Likewise.
51639         * sysdeps/unix/bsd/sigaction.c: Likewise.
51640         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51641         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51642         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51643         * sysdeps/unix/bsd/telldir.c: Likewise.
51644         * sysdeps/unix/bsd/times.c: Likewise.
51645         * sysdeps/unix/bsd/usleep.c: Likewise.
51647         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51648         ($(objpfx)libbsd-compat.a): Remove rule.
51650         * include/features.h (__FAVOR_BSD): Do not define.
51651         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51652         features conflicting with POSIX.
51653         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51654         (_BSD_SOURCE): Remove description of not being a subset of other
51655         feature test macros.
51656         * manual/job.texi (getpgrp): Do not document BSD version.
51657         (getpgid): Do not document by reference to BSD getpgrp.
51658         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51659         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51660         * signal/signal.h [__FAVOR_BSD]: Likewise.
51661         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51662         instead of making contents conditional on [__FAVOR_BSD].
51663         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51665 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51669 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51671         [BZ #16314]
51672         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51673         values below 2**-450, not 2**-500.
51674         * math/auto-libm-test-in: Don't allow spurious underflow from
51675         hypot.
51676         * math/auto-libm-test-out: Regenerated.
51678         [BZ #16316]
51679         [BZ #16330]
51680         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51681         values of ha and hb and sort them after adjusting subnormal
51682         arguments.
51683         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51684         Likewise.
51685         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51686         values of ea and eb and sort them after adjusting subnormal
51687         arguments.
51688         * math/auto-libm-test-in: Do not expect some hypot tests of
51689         subnormals to fail.  Add more hypot tests.
51690         * math/auto-libm-test-out: Regenerated.
51692 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51694         [BZ #13304]
51695         * sysdeps/sh/s_fma.c: New file.
51696         * sysdeps/sh/s_fmaf.c: New file.
51697         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51698         version.
51699         * sysdeps/sh/Implies: Add sh/soft-fp.
51701 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51703         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51704         level of indirection to members `objname', `errstring', `malloced'.
51705         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51706         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51707         it as the __longjmp argument (just pass 1 instead).
51708         (_dl_catch_error): Initialize C with argument pointers and address of
51709         volatile local ERRCODE rather than copying values out of C at return.
51711 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51713         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51714         * math/auto-libm-test-out: Regenerated.
51715         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51716         (hypot_test_data): Likewise.
51717         (pow_test_data): Likewise.
51718         (pow_tonearest_test_data): Likewise.
51719         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51720         mpfr_ff_f.
51721         (func_calc_desc): Add mpfr_ff_f union field.
51722         (FUNC_mpfr_ff_f): New macro.
51723         (test_functions): Add atan2, hypot and pow.
51724         (special_fill_min): New function.
51725         (special_fill_minus_min): Likewise.
51726         (special_fill_min_subnorm): Likewise.
51727         (special_fill_minus_min_subnorm): Likewise.
51728         (special_real_inputs): Add min, -min, min_subnorm and
51729         -min_subnorm.
51730         (calc_generic_results): Handle mpfr_ff_f.
51731         * sysdeps/i386/fpu/libm-test-ulps: Update.
51732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51734 2013-12-16  Will Newton  <will.newton@linaro.org>
51736         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51737         (Aligned Memory Blocks): Add documentation for aligned_alloc
51738         and suggest it as an alternative to posix_memalign.
51739         (Hooks for Malloc): Document __memalign_hook is also called
51740         for aligned_alloc.  (Summary of Malloc): Add summary for
51741         aligned alloc.  Document __memalign_hook is also called
51742         for aligned_alloc.
51744 2013-12-16  Will Newton  <will.newton@linaro.org>
51746         * manual/memory.texi (Malloc Examples): Clarify default
51747         alignment documentation.  Suggest posix_memalign rather
51748         than memalign or valloc.
51749         (Aligned Memory Blocks): Remove suggestion to use memalign
51750         or valloc.  Remove obsolete comment about BSD.
51751         Document memalign errno values and mark the function obsolete.
51752         Document posix_memalign returned error codes.  Mark valloc
51753         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51754         called for posix_memalign and valloc.
51755         (Summary of Malloc): Add posix_memalign to function summary.
51756         __memalign_hook is also called for posix_memalign and valloc.
51758 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51760         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51761         TAYLOR_SIN.
51762         (__sin): Adjust.
51763         (__cos): Likewise.
51764         (sloww): Use mynumber union.  Expand ternary operator into
51765         if-else statements.
51766         (cslow): use mynumber union.
51768 2013-12-16  Allan McRae  <allan@archlinux.org>
51770         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51771         * configure: Regenerated.
51773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51775         [BZ #14120]
51776         * configure.ac: Added --enable-maintainer-mode. Check for
51777         autoconf when enabled.
51778         * configure: Regenerated.
51780         * nscd/nscd.service: New file.
51781         * nscd/nscd.tmpfiles: New file.
51783 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51785         [BZ #12100]
51786         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51787         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51788         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51789         (strstr): Add __strstr_sse2_unaligned ifunc.
51790         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51791         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51792         (strcasestr): Remove __strcasestr_sse42 ifunc.
51793         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51794         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51797 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51799         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51800         * sysdeps/sh/bits/fenv.h: ... here.
51801         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51803 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51805         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51807         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51808         hypotf multiarch implementations.
51809         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51810         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51811         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51812         multiarch hypot for PPC64.
51813         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51814         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51815         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51816         multiarch hypotf for PPC64.
51818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51819         modff multiarch implementations.
51820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51823         multiarch modf for PPC64.
51824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51827         multiarch modff for PPC64.
51829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51830         and logl multiarch implementations.
51831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51834         multiarch logb for PPC64.
51835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51838         multiarch logb for PPC64.
51839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51842         multiarch logb for PPC64.
51844         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51845         isinff multiarch implementation.
51846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51847         file.
51848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51850         multiarch isinf for PPC64.
51851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51852         file.
51853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51854         multiarch isinff for PPC64.
51856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51857         finitef multiarch implementation.
51858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51859         file.
51860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51862         multiarch finite for PPC64.
51863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51864         file.
51865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51866         multiarch finitef for PPC64.
51868         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51869         lrint multiarch implementation.
51870         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51871         file.
51872         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51874         multiarch llrint for PPC64.
51875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51876         multiarch lrint for PPC64.
51878         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51879         copysignf multiarch implementation.
51880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51881         file.
51882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51883         file.
51884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51885         multiarch copysign for PPC64.
51886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51887         multiarch copysignf for PPC64.
51889         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51890         multiarch implementation.
51891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51892         file.
51893         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51894         file.
51895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51896         file.
51897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51898         file.
51899         multiarch llround for PPC64.
51900         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51901         multiarch trunc for PPC64.
51902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51903         multiarch truncf for PPC64.
51905         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51906         multiarch implementation.
51907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51908         file.
51909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51910         file.
51911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51912         file.
51913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51914         file.
51915         multiarch llround for PPC64.
51916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51917         multiarch round for PPC64.
51918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51919         multiarch roundf for PPC64.
51921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51922         multiarch implementation.
51923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51924         file.
51925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51926         file.
51927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51928         file.
51929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51930         file.
51931         multiarch llround for PPC64.
51932         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51933         multiarch floor for PPC64.
51934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51935         multiarch floorf for PPC64.
51937         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51938         multiarch implementation.
51939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51940         file.
51941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51942         file.
51943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51944         file.
51945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51946         file.
51947         multiarch llround for PPC64.
51948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51949         multiarch ceil for PPC64.
51950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51951         multiarch ceilf for PPC64.
51953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51954         multiarch implementation.
51955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51956         file.
51957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51958         file.
51959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51960         file.
51961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51962         multiarch llround for PPC64.
51963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51964         multiarch lround for PPC64.
51966         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51967         multiarch implementation.
51968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51971         file.
51972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51974         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51975         multiarch isnan for PPC64.
51976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51977         multiarch isnanf for PPC64.
51979         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51980         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51981         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51982         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51983         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51986         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51987         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51988         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51989         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51992         multiarch implementations.
51993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51994         (__libc_ifunc_impl_list): Likewise.
51995         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51996         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51997         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51998         multiarch stpcpy for PPC64.
52000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
52001         multiarch implementations.
52002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52003         (__libc_ifunc_impl_list): Likewise.
52004         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
52005         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
52006         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
52007         multiarch strcpy for PPC64.
52009         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
52010         redefine function name.
52011         (_wordcopy_fwd_dest_aligned): Likewise.
52012         (_wordcopy_bwd_aligned): Likewise.
52013         (_wordcopy_bwd_dest_aligned): Likewise.
52014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
52015         multiarch implementations.
52016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52017         (__libc_ifunc_impl_list): Likewise.
52018         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
52019         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
52020         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
52021         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
52022         multiarch wcscpy for PPC64.
52024         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
52025         multiarch implementations.
52026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52027         (__libc_ifunc_impl_list): Likewise.
52028         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
52029         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
52030         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
52031         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
52032         multiarch wcscpy for PPC64.
52034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
52035         multiarch implementations.
52036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52037         (__libc_ifunc_impl_list): Likewise.
52038         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
52039         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
52040         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
52041         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
52042         multiarch wcsrchr for PPC64.
52044         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
52045         multiarch implementations.
52046         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52047         (__libc_ifunc_impl_list): Likewise.
52048         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
52049         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
52050         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
52051         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
52052         multiarch wcschr for PPC64.
52054         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52055         multiarch implementations.
52056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52057         (__libc_ifunc_impl_list): Likewise.
52058         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52059         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52060         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52061         multiarch strchrnul for PPC64.
52063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52064         implementations.
52065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52066         (__libc_ifunc_impl_list): Likewise.
52067         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52068         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52069         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52070         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52071         strchr for PPC64.
52073         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52074         implementations.
52075         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52076         (__libc_ifunc_impl_list): Likewise.
52077         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52078         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52079         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52080         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52081         strncmp for PPC64.
52083         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52084         multiarch implementations.
52085         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52086         (__libc_ifunc_impl_list): Likewise.
52087         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52088         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52089         strncasecmp for PPC64.
52090         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52091         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52092         multiarch strncasecmp_l for PPC64.
52094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52095         multiarch implementations.
52096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52097         (__libc_ifunc_impl_list): Likewise.
52098         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52099         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52100         multiarch strcasecmp for PPC64.
52101         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52102         file.
52103         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52104         multiarch strcasecmp_l for PPC64.
52106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52107         implementations.
52108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52109         (__libc_ifunc_impl_list): Likewise.
52110         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52111         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52112         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52113         strnlen for PPC64.
52115         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52116         implementations.
52117         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52118         (__libc_ifunc_impl_list): Likewise.
52119         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52120         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52121         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52122         strlen for PPC64.
52124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52125         implementations.
52126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52127         (__libc_ifunc_impl_list): Likewise.
52128         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52129         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52130         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52131         rawmemrchr for PPC64.
52133         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52134         implementation.
52135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52136         (__libc_ifunc_impl_list): Likewise.
52137         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52138         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52139         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52140         memrchr for PPC64.
52142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52143         implementation.
52144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52145         (__libc_ifunc_impl_list): Likewise.
52146         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52147         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52148         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52149         memchr for PPC64.
52151         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52152         implementation.
52153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52154         (__libc_ifunc_impl_list): Likewise.
52155         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52156         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52157         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52158         mempcpy for PPC64.
52160         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52161         avoid cretion of __bzero symbol.
52162         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52163         Likewise.
52164         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52165         Likewise.
52166         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52167         Likewise.
52168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52169         multiarch implementations.
52170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52171         (__libc_ifunc_impl_list): Likewise.
52172         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52173         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52174         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52175         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52176         bzero for PPC32.
52177         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52178         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52179         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52180         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52181         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52182         memset for PPC64.
52183         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52185         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52186         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52187         implementations.
52188         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52189         (__libc_ifunc_impl_list): Likewise.
52190         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52191         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52192         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52193         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52194         memcmp for PPC64.
52196         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52197         multiarch for POWER/PPC64.
52198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52199         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52200         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52201         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52202         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52203         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52204         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52205         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52206         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52207         memcpy for PPC64.
52209         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52210         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52211         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52212         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52213         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52214         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52215         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52216         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52217         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52218         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52219         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52220         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52221         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52222         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52223         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52232 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52234         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52236 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52238         * benchtests/Makefile (bench): Add exp2 and log2.
52239         (LDLIBS-bench-exp2): Add -lm.
52240         (LDLIBS-bench-log2): Likewise.
52241         * benchtests/exp2-inputs: New inputs file.
52242         * benchtests/log2-inputs: New inputs file.
52243         * benchtests/log-inputs: Add new inputs.
52244         * benchtests/tan-inputs: Likewise.
52246 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52248         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52249         definition...
52250         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52251         (csloww2): ... from here.
52253         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52254         instead of structures.
52255         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52256         (POLYNOMIAL): Likewise.
52257         (TAYLOR_SLOW): Likewise.
52258         (__sin): Likewise.
52259         (__cos): Likewise.
52260         (slow1): Likewise.
52261         (slow2): Likewise.
52262         (sloww): Likewise.
52263         (sloww1); Likewise.
52264         (sloww2): Likewise.
52265         (bsloww1): Likewise.
52266         (bsloww2): Likewise.
52267         (cslow2): Likewise.
52268         (csloww): Likewise.
52269         (csloww1): Likewise.
52270         (csloww2): Likewise.
52272 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52274         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52275         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52276         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52277         * malloc/hooks.c (realloc_check): Likewise.
52279         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52280         * malloc/arena.c: Remove PER_THREAD conditional.
52281         [!PER_THREAD]: Remove code.
52282         (ptmalloc_unlock_all2): Likewise.
52283         (ptmalloc_init): Likewise.
52284         (_int_new_arena): Likewise.
52285         (arena_get2): Likewise.
52286         * malloc/hooks.c (__malloc_get_state): Likewise.
52287         (__malloc_set_state): Likewise.
52288         * malloc/malloc.c: Likewise.
52289         (struct malloc_state): Likewise.
52290         (struct malloc_par): Likewise.
52291         (__libc_realloc): Likewise.
52292         (__libc_mallopt): Likewise.
52294 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52296         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52298 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
52300         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52301         macro to a function.  Check for zero perturb_byte.
52302         (_int_malloc, _int_free): Remove zero perturb_byte checks.
52304         * malloc/malloc.c: (force_reg): Remove.
52305         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52306         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52307         force_reg by atomic_forced_read.
52308         * malloc/arena.c (ptmalloc_init): Likewise.
52309         * malloc/hooks.c (top_check): Likewise.
52311 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52315 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
52317         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52319 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
52321         * math/auto-libm-test-in: Add tests of lgamma.
52322         * math/auto-libm-test-out: Regenerated.
52323         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52324         (M_LOG_2_SQRT_PIl): Likewise.
52325         (lgamma_test_data): Use AUTO_TESTS_f_f1.
52326         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52327         mpfr_f_f1.
52328         (func_calc_desc): Add mpfr_f_f1 union field.
52329         (ARGS1): New macro.
52330         (ARGS2): Likewise.
52331         (ARGS3): Likewise.
52332         (ARGS4): Likewise.
52333         (RET1): Likewise.
52334         (RET2): Likewise.
52335         (CALC): Likewise.
52336         (FUNC): Likewise.
52337         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52338         (test_functions): Add lgamma.
52339         (calc_generic_results): Handle mpfr_f_f1.
52340         * sysdeps/i386/fpu/libm-test-ulps: Update.
52341         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52343 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52345         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52346         __mpn_add_n for PowerPC64/POWER7.
52347         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52348         __mpn_sub_n for PowerPC64/POWER7.
52350         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52351         __mpn_addmul_1 for PowerPC64.
52352         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52353         __mpn_submul_1 for PowerPC64.
52354         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52355         for PowerPC64.
52356         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52357         for PowerPC64.
52359 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52361         [BZ #15089]
52362         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52364 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52366         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52368         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52369         add multiarch folders.
52370         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52371         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52372         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52373         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52374         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52375         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52376         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52377         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52378         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52379         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52380         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52389         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52391         New file.
52392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52393         New file.
52394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52395         multiarch __ieee754_hypot for PowerPC32.
52396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52397         New file.
52398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52399         New file.
52400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52401         multiarch __ieee754_hypotf for PowerPC32.
52403         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52404         long_double_symbol only if __logbl is defined.
52405         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52406         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52407         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52408         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52409         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52410         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52411         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52412         path for implementation.
52413         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52414         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52416         logb, and logbl multiarch implementations for PowerPC32.
52417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52418         file.
52419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52420         file.
52421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52422         multiarch logb for PowerPC32.
52423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52424         file.
52425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52426         file.
52427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52428         multiarch logbf for PowerPC32.
52429         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52431         file.
52432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52433         multiarch logbl implementation for PowerPC32.
52435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52436         and modff multiarch implementations.
52437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52438         New file.
52439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52440         New file.
52441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52442         multiarch modf for PowerPC32.
52443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52444         New file.
52445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52446         New file.
52447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52448         multiarch modff for PowerPC32.
52450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52451         and lrintf multiarch implementations.
52452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52453         New file.
52454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52455         New file.
52456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52457         multiarch lrint for PowerPC32.
52458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52459         file: multiarch lrintf for PowerPC32.
52461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52462         and lroundf multiarch implementations.
52463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52464         New file.
52465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52466         New file.
52467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52468         New file.
52469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52470         multiarch lround for PowerPC32.
52471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52472         file: multiarch lroundf for PowerPC32.
52474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52475         copysign and copysignf multiarch implementations.
52476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52477         New file.
52478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52479         New file.
52480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52481         file: multiarch copysign for PowerPC32.
52482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52483         file: multiarch copysignf for PowerPC32.
52485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52486         and truncf multiarch implementations.
52487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52488         New file.
52489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52490         file.
52491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52492         multiarch trunc for PowerPC32.
52493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52494         New file.
52495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52496         New file.
52497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52498         multiarch truncf for PowerPC32.
52500         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52501         and roundf multiarch implementations.
52502         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52503         New file.
52504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52505         file.
52506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52507         multiarch round for PowerPC32.
52508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52509         New file.
52510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52511         New file.
52512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52513         multiarch roundf for PowerPC32.
52515         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52516         and floorf multiarch implementations.
52517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52518         New file.
52519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52520         file.
52521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52522         multiarch floor for PowerPC32.
52523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52524         New file.
52525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52526         New file.
52527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52528         multiarch floorf for PowerPC32.
52530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52531         and ceilf multiarch implementations.
52532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52533         New file.
52534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52535         file.
52536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52537         multiarch ceil for PowerPC32.
52538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52539         New file.
52540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52541         file.
52542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52543         multiarch ceilf for PowerPC32.
52545         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52546         is defined.
52547         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52548         FINITEF is defined.
52549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52550         and finitef multiarch implementations.
52551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52552         New file.
52553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52554         file.
52555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52556         multiarch finite for PowerPC32.
52557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52558         New file.
52559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52560         file: multiarch finitef for PowerPC32.
52562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52563         and isinff multiarch implementations.
52564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52565         file.
52566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52567         file.
52568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52569         multiarch isinf for PowerPC32.
52570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52571         New file.
52572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52573         multiarch isinff for PowerPC32.
52575         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52576         alias when __isnan is defined.
52577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52578         and isnanf multiarch implementations.
52579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52580         file.
52581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52582         file.
52583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52584         file.
52585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52586         file.
52587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52588         multiarch isnan for PowerPC32.
52589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52590         New file.
52591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52592         New file.
52593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52594         multiarch isnanf for PowerPC32.
52596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52597         and sqrtf multiarch implementations.
52598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52599         file.
52600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52601         file.
52602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52603         multiarch sqrt for PowerPC32.
52604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52605         file.
52606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52607         file.
52608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52609         multiarch sqrtf for PowerPC32.
52611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52612         and llroundf multiarch implementations.
52613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52614         New file.
52615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52616         New file.
52617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52618         New file.
52619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52620         file: multiarch llround for PowerPC32.
52621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52622         file: multiarch llroundf for PowerPC32.
52624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52625         multiarch PowerPC32 fpu implementations.
52626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52627         New file.
52628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52629         New file.
52630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52631         multiarch llrint for PowerPC32.
52632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52633         New file.
52634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52635         New file.
52636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52637         file.
52639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52641         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52642         file.
52643         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52644         file.
52645         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52646         file.
52647         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52648         multiarch wordcopy for PPC32.
52649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52650         wordcopy objects.
52651         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52652         (__libc_ifunc_impl_list): Likewise.
52653         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52654         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52655         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52656         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52657         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52658         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52660         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52661         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52662         file.
52663         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52664         file.
52665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52666         file.
52667         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52668         multiarch wcscpy for PPC32.
52669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52670         multiarch objects.
52671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52672         (__libc_ifunc_impl_list): Likewise.
52673         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52674         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52675         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52676         sysdeps/powerpc/power6/wcscpy.c.
52678         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52679         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52680         file.
52681         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52682         file.
52683         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52684         file.
52685         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52686         multiarch wcsrchr for PPC32.
52687         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52688         multiarch objects.
52689         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52690         (__libc_ifunc_impl_list): Likewise.
52691         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52692         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52693         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52694         sysdeps/powerpc/power6/wcsrchr.c.
52696         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52697         file.
52698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52699         file.
52700         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52702         multiarch wcschr for PPc32.
52703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52704         multiarch objects.
52705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52706         (__libc_ifunc_impl_list): Likewise.
52707         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52708         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52709         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52710         sysdeps/powerpc/power6/wcschr.c.
52712         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52713         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52714         file.
52715         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52716         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52717         file: multiarch strchr for PPC32.
52718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52719         multiarch objects.
52720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52721         (__libc_ifunc_impl_list): Likewise.
52723         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52724         name.
52725         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52726         file.
52727         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52728         file.
52729         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52730         multiarch strchrnul for PPC32.
52731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52732         multiarch objects.
52733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52734         (__libc_ifunc_impl_list): Likewise.
52736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52737         file.
52738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52739         multiarch strncasecmp for PPC32.
52740         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52741         file.
52742         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52743         multiarch strncasecmp_l for PPC32.
52744         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52745         strncasecmp multiarch objects.
52746         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52747         (__libc_ifunc_impl_list): Likewise.
52749         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52750         file.
52751         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52752         multiarch strncasecmp for PPC32.
52753         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52754         New file.
52755         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52756         multiarch strcasecmp_l for PPC32.
52757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52758         multiarch objects.
52759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52760         (__libc_ifunc_impl_list): Likewise.
52762         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52763         file.
52764         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52765         file.
52766         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52767         multiarch strncmp for PPC32.
52768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52769         multiarch objects.
52770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52771         (__libc_ifunc_impl_list): Likewise.
52773         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52774         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52775         file.
52776         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52777         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52779         multiarch objects.
52780         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52781         (__libc_ifunc_impl_list): Likewise.
52783         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52784         file.
52785         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52786         file.
52787         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52789         multiarch objects.
52790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52791         (__libc_ifunc_impl_list): Likewise.
52793         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52794         file.
52795         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52796         file.
52797         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52798         multiarch rawmemchr for PPC32.
52799         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52800         multiarch objects.
52801         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52802         (__libc_ifunc_impl_list): Likewise.
52804         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52805         file.
52806         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52807         file.
52808         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52809         file: memrchr multiarch for PPC32.
52810         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52811         multiarch objects.
52812         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52813         (__libc_ifunc_impl_list): Likewise.
52815         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52816         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52817         file.
52818         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52819         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52820         multiarch memchr for PPC32.
52821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52822         multiarch objects.
52823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52824         (__libc_ifunc_impl_list): Likewise.
52826         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52827         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52828         file.
52829         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52830         file.
52831         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52832         file: multiarch mempcpy for PPC32.
52833         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52834         multiarch objects.
52835         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52836         (__libc_ifunc_impl_list): Likewise.
52838         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52839         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52840         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52841         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52842         multiarch bzero for PPC32.
52843         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52844         file.
52845         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52846         file.
52847         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52848         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52849         file: multiarch memset for PPC32.
52850         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52852         memset multiarch objects.
52853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52854         (__libc_ifunc_impl_list): Likewise.
52856         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52857         file.
52858         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52859         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52860         memcmp for PPC32.
52861         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52862         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52863         multiarch objects.
52864         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52865         (__libc_ifunc_impl_list): Likewise.
52867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52868         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52869         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52870         file.
52871         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52872         file.
52873         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52874         file.
52875         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52876         multiarch memcpy for PPC32.
52877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52878         multiarch objects.
52879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52880         (__libc_ifunc_impl_list): Likewise.
52882         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52883         support multiarch for POWER/PPC32.
52884         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52885         Likewise.
52886         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52888         Implies file to make multiarch folder appers before the fpu and
52889         default folder for power4 configuration.
52891 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52893         * scripts/bench.pl: Append volatile keyword to type.
52895 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52897         * sysdeps/sh/sotruss-lib.c: New file.
52898         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52900 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52904 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52906         [BZ #6810]
52907         * math/w_tgamma.c: Include <errno.h>.
52908         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52909         * math/w_tgammaf.c: Include <errno.h>.
52910         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52911         * math/w_tgammal.c: Include <errno.h>.
52912         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52913         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52914         underflow.  Add more tgamma tests.
52915         * math/auto-libm-test-out: Regenerated.
52916         * sysdeps/i386/fpu/libm-test-ulps: Update.
52917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52919         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52920         sin, sinh, tan, tanh, tgamma, y0 and y1.
52921         * math/auto-libm-test-out: Regenerated.
52922         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52923         (TEST_COND_x86): Likewise.
52924         (M_E2l): Remove macro.
52925         (M_E3l): Likewise.
52926         (M_2_SQRT_PIl): Likewise.
52927         (M_SQRT_PIl): Likewise.
52928         (M_1_DIV_El): Likewise.
52929         (log_test_data): Use AUTO_TESTS_f_f.
52930         (log10_test_data): Likewise.
52931         (log1p_test_data): Likewise.
52932         (log2_test_data): Likewise.
52933         (sin_test_data): Likewise.
52934         (sin_tonearest_test_data): Likewise.
52935         (sin_towardzero_test_data): Likewise.
52936         (sin_downward_test_data): Likewise.
52937         (sin_upward_test_data): Likewise.
52938         (sinh_test_data): Likewise.
52939         (sinh_tonearest_test_data): Likewise.
52940         (sinh_towardzero_test_data): Likewise.
52941         (sinh_downward_test_data): Likewise.
52942         (sinh_upward_test_data): Likewise.
52943         (tan_test_data): Likewise.
52944         (tan_tonearest_test_data): Likewise.
52945         (tan_towardzero_test_data): Likewise.
52946         (tan_downward_test_data): Likewise.
52947         (tan_upward_test_data): Likewise.
52948         (tanh_test_data): Likewise.
52949         (tgamma_test_data): Likewise.
52950         (y0_test_data): Likewise.
52951         (y1_test_data): Likewise.
52952         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52953         (special_real_inputs): Add pi/4.
52954         * sysdeps/i386/fpu/libm-test-ulps: Update.
52955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52957 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52959         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52960         "longjmp_target" static probes.
52961         (__longjmp): Rename to __longjmp_symbol.
52962         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52963         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52964         on which longjmp to generate.
52965         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52966         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52967         probe.
52968         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52969         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52970         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52971         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52972         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52973         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52975         __longjmp_symbol based on which __longjmp to generate.
52976         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52977         probe.
52978         (setjmp): Rename to setjmp_symbol.
52979         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52980         (_setjmp): Rename to _setjmp_symbol.
52981         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52982         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52983         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52984         which setjmp to generate.
52985         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52986         "longjmp_target" static probes.
52988 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52990         * benchtests/README: Add note about output arguments.
52991         * benchtests/bench-sincos.c: Remove file.
52992         * benchtests/sincos-inputs: New file.
52993         * scripts/bench.pl: Identify output arguments and define
52994         static variables for them.
52996         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52998         [BZ #15941]
52999         * Makefile (INSTALL): Add install-plain.texi as the primary
53000         dependency.
53001         * manual/install-plain.texi: New file.
53002         * manual/install.texi: Include node directive only for
53003         non-plaintext output.
53005 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
53007         * stdlib/longlong.h: Update from GCC.
53009         [BZ #6807]
53010         [BZ #15901]
53011         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
53012         * math/w_j0f.c (y0f): Likewise.
53013         * math/w_j0l.c (__y0l): Likewise.
53014         * math/w_j1.c (y1): Likewise.
53015         * math/w_j1f.c (y1f): Likewise.
53016         * math/w_j1l.c (__y1l): Likewise.
53017         * math/w_jn.c (yn): Likewise.
53018         * math/w_jnf.c (ynf): Likewise.
53019         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
53020         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
53021         value for Bessel function domain errors outside _SVID_ mode.
53022         Adjust sign of return value for yn (negative integer, 0).
53023         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
53024         by zero in return for negative x and set sign appropriately for
53025         negative n.
53026         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
53027         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
53028         * math/libm-test.inc (y0_test_data): Add more tests and adjust
53029         expectations in error cases.
53030         (y1_test_data): Likewise.
53031         (yn_test_data): Likewise.
53032         * sysdeps/i386/fpu/libm-test-ulps: Update.
53033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53035 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53037         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
53038         "64" to "64-v1".  Add "64-v2".
53039         (abi-64-options): Rename to ...
53040         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
53041         (abi-64-condition): Rename to ...
53042         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
53043         (abi-64-ld-soname): Rename to ...
53044         (abi-64-v1-ld-soname): ... this.
53045         (abi-64-v2-options): Define.
53046         (abi-64-v2-condition): Likewise.
53047         (abi-64-v2-ld-soname): Likewise.
53048         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
53049         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
53050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
53051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
53052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53054 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53055             Alan Modra  <amodra@gmail.com>
53057         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53058         New versions for use with the ELFv2 ABI.
53059         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53060         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53061         declaration.
53062         (struct La_ppc64v2_retval): Likewise.
53063         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53064         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53065         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53066         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53067         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53068         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53069         Do not save or restore CR.
53070         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53071         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53072         return values for ELFv2 ABI.  Fix location of FPR return registers.
53073         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53074         updated values for _CALL_ELF == 2.
53075         (La_regs, La_retval, int_retval): Likewise.
53077 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53079         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53080         (FRAME_MIN_SIZE_PARM): Likewise.
53081         (FRAME_BACKCHAIN): Likewise.
53082         (FRAME_CR_SAVE): Likewise.
53083         (FRAME_LR_SAVE): Likewise.
53084         (FRAME_TOC_SAVE): Likewise.
53085         (FRAME_PARM_SAVE): Likewise.
53086         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53087         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53088         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53089         (call_mcount_parm_offset): New macro.
53090         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53091         (PROF): Use symbolic stack frame offsets.
53092         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53093         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53094         Redefine in terms of FRAME_MIN_SIZE.
53095         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53096         (_dl_profile_resolve): Likewise.  Update comment.
53097         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53098         symbols stack frame offsets.
53099         (__sigsetjmp): Likewise.
53100         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53101         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53102         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53103         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53106         (FRAME_BACKCHAIN): Remove.
53107         (FRAME_CR_SAVE): Likewise.
53108         (FRAME_LR_SAVE): Likewise.
53109         (FRAME_COMPILER_DW): Likewise.
53110         (FRAME_LINKER_DW): Likewise.
53111         (FRAME_TOC_SAVE): Likewise.
53112         (FRAME_PARM_SAVE): Likewise.
53113         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53114         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53115         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53117         (CHECK_SP): Use symbolic stack frame offsets.
53118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53119         zone" instead of caller's parameter save area for temp storage.
53120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53121         Likewise.  Also, use symbolic stack frame offsets.
53122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53123         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53124         our own stack frame instead of the caller's.
53125         (__socket): Use symbolic stack frame offsets.
53127 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53128             Alan Modra  <amodra@gmail.com>
53130         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53131         Define.
53132         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53133         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53134         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53135         New function.
53136         (elf_machine_fixup_plt): Call it.
53137         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53138         reloc arguments.
53139         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53140         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53141         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53142         r2 before calling target.
53144 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53145             Alan Modra  <amodra@gmail.com>
53147         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53148         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53149         versions of macros to support ELFv2 ABI.
53150         (LOCALENTRY): New macro.
53151         (ENTRY, EALIGN): Use it.
53152         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53153         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53154         fall through into ENTRY entry point.
53155         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53156         Only define if _CALL_ELF != 2.
53158         (elf_machine_matches_host): Verify ABI version matches.
53159         (RTLD_START): Use LOCALENTRY.
53160         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53161         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53162         (PLT_ENTRY_WORDS): New macro.
53163         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53164         (elf_machine_runtime_setup): Support ELFv2 ABI.
53165         (elf_machine_fixup_plt): Likewise.
53166         (elf_machine_plt_conflict): Likewise.
53167         (resolve_ifunc): Likewise.
53168         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53169         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53170         Likewise.
53171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53172         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53174         (makecontext): Support ELFv2 ABI.
53175         * elf/elf.h (EF_PPC64_ABI): Define.
53177 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53179         * sysdeps/powerpc/powerpc64/sysdep.h
53180         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53181         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53182         (ENTRY) [ASSEMBLER]: ... but instead here ...
53183         (EALIGN) [ASSEMBLER]: ... and here.
53184         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53185         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53186         (ENTRY_2) [!ASSEMBLER]: Use it.
53187         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53188         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53189         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53190         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53191         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53193         Use PPC64_LOAD_FUNCPTR.
53195         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53197 2013-12-04  Alan Modra  <amodra@gmail.com>
53199         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53200         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53201         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53202         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53204         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53205         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53206         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53207         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53208         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53209         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53211 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53214         (__makecontext): Fix incorrect CFI when backtracing out of
53215         context created via makecontext.
53216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53217         (__setcontext): Fix incorrect CFI during switch to new context.
53218         (__novec_setcontext): Likewise.
53220 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53222         [BZ #4772]
53223         * time/strptime_l.c (__strptime_internal): Allow modifiers
53224         in strptime.
53225         * time/tst-strptime.c (day_tests): Add testcase.
53227 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53229         * scripts/bench.pl: Skip over blank lines.
53231 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53233         [BZ #926]
53234         * manual/time.texi (Calendar Time): Clarify what timezone functions
53235         use.
53237 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53241 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53243         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53244         implementation.
53245         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53246         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53247         * debug/memset_chk.c (__memset_chk): Likewise.
53248         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53249         * debug/strncpy_chk.c: Likewise.
53251 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53253         [BZ #15268]
53254         [BZ #15425]
53255         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53256         (__ieee754_exp): For possibly underflowing results, check size of
53257         result and force underflow exception if required.
53258         * math/auto-libm-test-in: Add more tests of exp.
53259         * math/auto-libm-test-out: Regenerated.
53260         * sysdeps/i386/fpu/libm-test-ulps: Update.
53261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53263         [BZ #16283]
53264         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53265         * math/w_exp2f.c (__exp2f): Likewise.
53266         * math/w_exp2l.c (__exp2l): Likewise.
53267         * math/auto-libm-test-in: Do not allow missing errno on exp2
53268         underflow.
53269         * math/auto-libm-test-out: Regenerated.
53271 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53273         [BZ #16274]
53274         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53275         handle filename validation.
53276         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53277         (do_open): Delete.
53279 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53281         [BZ #6786]
53282         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53283         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53284         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53285         <float.h>.
53286         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53287         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53288         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53289         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53290         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53291         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53292         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53293         * math/auto-libm-test-in: Don't allow missing errno from erfc.
53294         Add more erfc tests.
53295         * math/auto-libm-test-out: Regenerated.
53296         * sysdeps/i386/fpu/libm-test-ulps: Update.
53297         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53299         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53300         exp2, expm1, j0 and j1.
53301         * math/auto-libm-test-out: Regenerated.
53302         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53303         (erfc_test_data): Likewise.
53304         (exp_test_data): Likewise.
53305         (exp_tonearest_test_data): Likewise.
53306         (exp_towardzero_test_data): Likewise.
53307         (exp_downward_test_data): Likewise.
53308         (exp_upward_test_data): Likewise.
53309         (exp10_test_data): Likewise.
53310         (exp2_test_data): Likewise.
53311         (expm1_test_data): Likewise.
53312         (j0_test_data): Likewise.
53313         (j1_test_data): Likewise.
53314         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53315         (input_flag_type): Add flag_xfail_rounding.
53316         (input_flags): Add xfail-rounding.
53317         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53318         (output_for_one_input_case): Handle flag_xfail_rounding.
53319         * sysdeps/i386/fpu/libm-test-ulps: Update.
53320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53322 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53324         [BZ #16289]
53325         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53326         division by 0.
53328 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53330         [BZ #16195]
53331         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53332         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53333         (STAP_PROBE0): New macro.
53334         (STAP_PROBE1): Likewise.
53335         (STAP_PROBE2): Likewise.
53336         (STAP_PROBE3): Likewise.
53337         (STAP_PROBE4): Likewise.
53339 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53341         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53343 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53345         * benchtests/Makefile (bench): Add sqrt.
53346         (LDLIBS-bench-sqrt): New.
53347         * benchtests/sqrt-input: New.
53349 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53351         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53352         (GAIH_EAI): Likewise.
53353         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53354         (gaih_inet): Likewise.
53355         (getaddrinfo): Don't use GAIH_EAI.
53357         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53358         (struct gaih): Remove definition.
53360 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53362         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53363         Use HERRNOP directly.
53365 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53369 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53371         * math/gen-auto-libm-tests.c (test_functions): Add more
53372         single-argument functions.
53373         (special_fill_pi_2): New function.
53374         (special_fill_minus_pi_2): Likewise.
53375         (special_fill_pi_6): Likewise.
53376         (special_fill_minus_pi_6): Likewise.
53377         (special_fill_pi_3): Likewise.
53378         (special_fill_2pi_3): Likewise.
53379         (special_fill_e): Likewise.
53380         (special_fill_1_e): Likewise.
53381         (special_fill_e_minus_1): Likewise.
53382         (special_real_inputs): Add more special inputs.
53383         (output_for_one_input_case): Do not require ERANGE on underflow to
53384         zero if round-to-nearest result does not underflow to zero, unless
53385         exact results required.
53386         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53387         atan, atanh, cbrt, cos and cosh.
53388         * math/auto-libm-test-out: Regenerated.
53389         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53390         (acos_tonearest_test_data): Likewise.
53391         (acos_towardzero_test_data): Likewise.
53392         (acos_downward_test_data): Likewise.
53393         (acos_upward_test_data): Likewise.
53394         (acosh_test_data): Likewise.
53395         (asin_test_data): Likewise.
53396         (asin_tonearest_test_data): Likewise.
53397         (asin_towardzero_test_data): Likewise.
53398         (asin_upward_test_data): Likewise.
53399         (asinh_test_data): Likewise.
53400         (atan_test_data): Likewise.
53401         (atanh_test_data): Likewise.
53402         (cbrt_test_data): Likewise.
53403         (cos_test_data): Likewise.
53404         (cos_tonearest_test_data): Likewise.
53405         (cos_towardzero_test_data): Likewise.
53406         (cos_downward_test_data): Likewise.
53407         (cos_upward_test_data): Likewise.
53408         (cosh_test_data): Likewise.
53409         (cosh_tonearest_test_data): Likewise.
53410         (cosh_towardzero_test_data): Likewise.
53411         (cosh_downward_test_data): Likewise.
53412         (cosh_upward_test_data): Likewise.
53413         * sysdeps/i386/fpu/libm-test-ulps: Update.
53414         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53416 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53418         [BZ #6787]
53419         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53420         * math/w_exp10f.c (__exp10f): Likewise.
53421         * math/w_exp10l.c (__exp10l): Likewise.
53422         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53423         errno settings in existing tests.
53425         [BZ #14032]
53426         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53427         precision control set to double precision.
53428         * sysdeps/i386/fpu/w_sqrt.c: New file.
53429         * math/auto-libm-test-in: Add more tests.
53430         * math/auto-libm-test-out: Update.
53432         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53433         (sqrt_test_tonearest): New function.
53434         (sqrt_towardzero_test_data): New variable.
53435         (sqrt_test_towardzero): New function.
53436         (sqrt_downward_test_data): New variable.
53437         (sqrt_test_downward): New function.
53438         (sqrt_upward_test_data): New variable.
53439         (sqrt_test_upward): New function.
53440         (main): Call the new functions.
53442         * math/gen-auto-libm-tests.c: New file.
53443         * math/auto-libm-test-in: Likewise.
53444         * math/auto-libm-test-out: New generated file.
53445         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53446         variables.
53447         (%beautify): Add generated representations of zero.
53448         (top level): Set $auto_input and call parse_auto_input.
53449         (beautify): Remove trailing "f" from hex float constants.
53450         (parse_args): Handle XFAIL_TEST.
53451         (convert_condition): New function.
53452         (or_value): Likewise.
53453         (or_cond_value): Likewise.
53454         (generate_testfile): Handle AUTO_TESTS_* lines.
53455         (parse_auto_input): New function.
53456         * math/libm-test.inc (XFAIL_TEST): New macro.
53457         (ERRNO_UNCHANGED): Update value.
53458         (ERRNO_EDOM): Likewise.
53459         (ERRNO_ERANGE): Likewise.
53460         (IGNORE_RESULT): Likewise.
53461         (TEST_COND_flt_32): New macro.
53462         (TEST_COND_dbl_64): Likewise.
53463         (TEST_COND_ldbl_96_intel): Likewise.
53464         (TEST_COND_ldbl_96_m68k): Likewise.
53465         (TEST_COND_ldbl_128): Likewise.
53466         (TEST_COND_ldbl_128ibm): Likewise.
53467         (TEST_COND_long32): Likewise.
53468         (TEST_COND_long64): Likewise.
53469         (TEST_COND_before_rounding): Likewise.
53470         (TEST_COND_after_rounding): Likewise.
53471         (enable_test): Handle XFAIL_TEST flag.
53472         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53473         with finite results.
53474         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53475         auto-libm-test-out.
53477 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53478             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53480         [BZ #16214]
53481         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53482         __tls_get_addr_internal instead of __tls_get_offset in order to
53483         avoid GOT pointer dependency.  Make rtld export
53484         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53485         __tls_get_addr since we are a __tls_get_offset platform.
53486         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53487         GOT pointer being set up before.
53488         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53490 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
53492         * manual/math.texi (Errors in Math Functions): Document accuracy
53493         goals.
53495         [BZ #15004]
53496         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53497         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53498         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53499         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53500         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53501         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53502         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53503         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53504         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53505         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53506         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53507         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53508         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53509         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53510         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53511         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53513         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53514         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53515         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53516         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53517         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53518         Likewise.
53519         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53520         Likewise.
53521         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53522         Likewise.
53523         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53524         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53525         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53526         atomic-feupdateenv and flt-rounds.
53527         * sysdeps/powerpc/nofpu/Versions (libc): Add
53528         __atomic_feholdexcept, __atomic_feclearexcept,
53529         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53530         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53531         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53532         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53533         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53534         here.
53535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53536         Update.
53538         * manual/arith.texi (FP Exceptions): Document that exceptions may
53539         not be raised when matherr is used.
53540         (Math Error Reporting): Document overflow in directed rounding
53541         modes.  Document that errno may not be set when finite values are
53542         returned on overflow.  Document intent to set errno on underflow
53543         only for underflow to zero.
53545         [BZ #16271]
53546         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53547         round-to-nearest then adjust result for other rounding modes.
53548         * include/fenv.h (fegetround): Use libm_hidden_proto.
53549         * math/fegetround.c (fegetround): Use libm_hidden_def.
53550         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53551         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53552         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53553         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53554         Likewise.
53555         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53556         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53557         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53558         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53560 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53562         [BZ #16077]
53563         * nss/Versions (libnss_files): Add
53564         _nss_files_gethostbyname3_r.
53565         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53566         New function.
53567         (HOST_DB_LOOKUP): Remove macro.
53568         (_nss_files_gethostbyname_r): Implement function without the
53569         HOST_DB_LOOKUP macro.
53570         (_nss_files_gethostbyname2_r): Likewise.
53572 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53574         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53576 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53578         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53579         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53580         warning.
53582 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53584         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53585         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53586         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53587         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53588         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53589         __fe_nomask_env_priv and attribute_hidden.
53590         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53591         (libc_feupdateenv_test_ppc): Likewise.
53592         (libc_feresetround_ppc): Likewise.
53593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53594         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53595         compat_symbol macro.
53596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53597         (__fe_nomask_env): Likewise.
53598         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53600 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53602         * string/Makefile: Remove ifunc tests.
53603         * string/test-string.h: Define TEST_IFUNC.
53604         * string/test-bcopy-ifunc.c: Remove.
53605         * string/test-bzero-ifunc.c: Likewise.
53606         * string/test-memccpy-ifunc.c: Likewise.
53607         * string/test-memchr-ifunc.c: Likewise.
53608         * string/test-memcmp-ifunc.c: Likewise.
53609         * string/test-memcpy-ifunc.c: Likewise.
53610         * string/test-memmem-ifunc.c: Likewise.
53611         * string/test-memmove-ifunc.c: Likewise.
53612         * string/test-mempcpy-ifunc.c: Likewise.
53613         * string/test-memrchr-ifunc.c: Likewise.
53614         * string/test-memset-ifunc.c: Likewise.
53615         * string/test-rawmemchr-ifunc.c: Likewise.
53616         * string/test-stpcpy-ifunc.c: Likewise.
53617         * string/test-stpncpy-ifunc.c: Likewise.
53618         * string/test-strcasecmp-ifunc.c: Likewise.
53619         * string/test-strcasestr-ifunc.c: Likewise.
53620         * string/test-strcat-ifunc.c: Likewise.
53621         * string/test-strchr-ifunc.c: Likewise.
53622         * string/test-strchrnul-ifunc.c: Likewise.
53623         * string/test-strcmp-ifunc.c: Likewise.
53624         * string/test-strcpy-ifunc.c: Likewise.
53625         * string/test-strcspn-ifunc.c: Likewise.
53626         * string/test-strlen-ifunc.c: Likewise.
53627         * string/test-strncasecmp-ifunc.c: Likewise.
53628         * string/test-strncat-ifunc.c: Likewise.
53629         * string/test-strncmp-ifunc.c: Likewise.
53630         * string/test-strncpy-ifunc.c: Likewise.
53631         * string/test-strnlen-ifunc.c: Likewise.
53632         * string/test-strpbrk-ifunc.c: Likewise.
53633         * string/test-strrchr-ifunc.c: Likewise.
53634         * string/test-strspn-ifunc.c: Likewise.
53635         * string/test-strstr-ifunc.c: Likewise.
53637 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53639         * benchtests/Makefile: Remove ifunc tests.
53640         * benchtests/bench-string.h: Define TEST_IFUNC.
53641         * benchtests/bench-bcopy-ifunc.c: Remove.
53642         * benchtests/bench-bzero-ifunc.c: Likewise.
53643         * benchtests/bench-memccpy-ifunc.c: Likewise.
53644         * benchtests/bench-memchr-ifunc.c: Likewise.
53645         * benchtests/bench-memcmp-ifunc.c: Likewise.
53646         * benchtests/bench-memcpy-ifunc.c: Likewise.
53647         * benchtests/bench-memmem-ifunc.c: Likewise.
53648         * benchtests/bench-memmove-ifunc.c: Likewise.
53649         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53650         * benchtests/bench-memrchr-ifunc.c: Likewise.
53651         * benchtests/bench-memset-ifunc.c: Likewise.
53652         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53653         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53654         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53655         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53656         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53657         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53658         * benchtests/bench-strcat-ifunc.c: Likewise.
53659         * benchtests/bench-strchr-ifunc.c: Likewise.
53660         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53661         * benchtests/bench-strcmp-ifunc.c: Likewise.
53662         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53663         * benchtests/bench-strcpy-ifunc.c: Likewise.
53664         * benchtests/bench-strcspn-ifunc.c: Likewise.
53665         * benchtests/bench-strlen-ifunc.c: Likewise.
53666         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53667         * benchtests/bench-strncat-ifunc.c: Likewise.
53668         * benchtests/bench-strncmp-ifunc.c: Likewise.
53669         * benchtests/bench-strncpy-ifunc.c: Likewise.
53670         * benchtests/bench-strnlen-ifunc.c: Likewise.
53671         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53672         * benchtests/bench-strrchr-ifunc.c: Likewise.
53673         * benchtests/bench-strsep-ifunc.c: Likewise.
53674         * benchtests/bench-strspn-ifunc.c: Likewise.
53675         * benchtests/bench-strstr-ifunc.c: Likewise.
53677 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53679         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53681 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53683         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53684         * rt/aio.h: Likewise.
53685         * sysdeps/gnu/bits/utmp.h: Likewise.
53686         * sysdeps/gnu/bits/utmpx.h: Likewise.
53687         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53688         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53689         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53690         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53691         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53692         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53693         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53694         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53695         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53696         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53697         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53698         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53699         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53701         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53702         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53703         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53704         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53705         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53706         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53707         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53708         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53709         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53710         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53711         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53712         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53713         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53714         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53715         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53716         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53717         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53718         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53719         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53720         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53721         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53722         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53723         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53724         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53725         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53726         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53727         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53728         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53730 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53732         [BZ #16245]
53733         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53734         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53736 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53738         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53739         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53740         Likewise.
53742 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53744         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53745         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53746         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53747         (__fesetround): Remove define.
53748         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53749         rounding and exceptions handling.
53750         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53751         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53752         (__fe_nomask_env): Likewise.
53753         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53754         __fegetround instead of fegetround.
53755         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53756         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53758 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53760         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53761         it's there.
53763         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53765 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53767         [BZ #11157]
53768         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53769         (encrypt_r): Likewise.
53770         * malloc/obstack.h (obstack_free): Likewise.
53771         * posix/unistd.h (encrypt): Likewise.
53773 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53775         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53776         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53777         DL_CALL_DT_FINI() that call the functions directly.
53778         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53779         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53780         * elf/dl-fini.c: Likewise.
53782 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53784         * malloc/hooks.c (memalign_check): Add alignment rounding.
53785         * malloc/malloc.c (_mid_memalign): New function.
53786         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53787         Implement by calling _mid_memalign.
53788         * manual/probes.texi (Memory Allocation Probes): Remove
53789         memory_valloc_retry and memory_pvalloc_retry.
53791 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53793         * locale/programs/locarchive.c (open_archive): Add const
53794         qualifier to ARCHIVEFNAME and copy default fname to
53795         DEFAULT_FNAME.
53797         [BZ #15601]
53798         * libio/tst-widetext.input: Rename Oriya to Odia.
53799         * locale/iso-639.def: Likewise.
53801         * manual/probes.texi (Mathematical Function Probes): Add
53802         documentation for sin, cos, asin and acos probes.
53803         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53804         (__sin32): Add slowasin probe.
53805         (__cos32): Add slowacos probe.
53806         (__mpsin): Add slowsin probe.
53807         (__mpcos): Add slowcos probe.
53809 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53811         [BZ #15483]
53812         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53813         thread-local __sim_exceptions_thread and global
53814         __sim_exceptions_global.
53815         (__sim_disabled_exceptions): Change to thread-local
53816         __sim_disabled_exceptions_thread and global
53817         __sim_disabled_exceptions_global.
53818         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53819         and global __sim_round_mode_global.
53820         (__simulate_exceptions): Use thread-local floating-point state and
53821         set global state from it as needed.
53822         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53823         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53824         __sim_round_mode_thread.
53825         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53826         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53827         and global __sim_exceptions_global.
53828         (__sim_disabled_exceptions): Change to thread-local
53829         __sim_disabled_exceptions_thread and global
53830         __sim_disabled_exceptions_global.
53831         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53832         and global __sim_round_mode_global.
53833         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53834         (SIM_SET_GLOBAL): Likewise.
53835         * sysdeps/powerpc/soft-fp/sfp-machine.h
53836         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53837         __sim_round_mode_thread.
53838         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53839         __sim_disabled_exceptions_thread.
53840         (__sim_exceptions): Change to __sim_exceptions_thread.
53841         (__sim_disabled_exceptions): Change to
53842         __sim_disabled_exceptions_thread.
53843         (__sim_round_mode): Change to __sim_round_mode_thread.
53844         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53845         thread-local floating-point state and set global state from it as
53846         needed.
53847         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53848         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53849         (__sim_disabled_exceptions): Remove extern declaration.
53850         (feenableexcept): Use thread-local floating-point state and set
53851         global state from it as needed.
53852         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53853         extern declaration.
53854         (__sim_disabled_exceptions): Likewise.
53855         (__sim_round_mode): Likewise.
53856         (__fegetenv): Use thread-local floating-point state.
53857         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53858         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53859         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53860         floating-point state and set global state from it as needed.
53861         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53862         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53863         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53864         Likewise.
53865         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53866         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53867         Likewise.
53868         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53869         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53870         Use __sim_round_mode_thread.
53871         * math/test-fenv-tls.c: New file.
53872         * math/Makefile (tests): Add test-fenv-tls.
53873         ($(objpfx)test-fenv-tls): Depend on
53874         $(common-objpfx)nptl/libpthread.so.
53876 2013-11-19  Andreas Schwab  <schwab@suse.de>
53878         * locale/programs/locale.c (show_info): Decode wordarray elements.
53879         * locale/categories.def (LC_MONETARY): Add element for
53880         _NL_MONETARY_CRNCYSTR.
53881         * locale/C-monetary.c (conversion_rate): New variable.
53882         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53883         element.
53885 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53887         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53888         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53890 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53892         * elf/Makefile (tst-auxv): New test.
53893         * elf/tst-auxv.c: New
53894         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53896 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53898         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53899         (hidden_proto): Caller changed.
53900         (hidden_tls_proto): New macro.
53901         (libc_hidden_tls_proto): Likewise.
53902         (rtld_hidden_tls_proto): Likewise.
53903         (libm_hidden_tls_proto): Likewise.
53904         (libresolv_hidden_tls_proto): Likewise.
53905         (librt_hidden_tls_proto): Likewise.
53906         (libdl_hidden_tls_proto): Likewise.
53907         (libnss_files_hidden_tls_proto): Likewise.
53908         (libnsl_hidden_tls_proto): Likewise.
53909         (libnss_nisplus_hidden_tls_proto): Likewise.
53910         (libutil_hidden_tls_proto): Likewise.
53912 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53914         [BZ #10253]
53915         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53916         (decompose_rpath): Defer expansion to fillin_rpath.
53917         (_dl_init_paths): Pass linkmap to fillin_rpath.
53919 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53921         * benchtests/Makefile: Add strsep.
53922         * benchtests/bench-strsep.c: New file: strsep benchtest.
53923         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53925 2013-11-18  Andreas Schwab  <schwab@suse.de>
53927         * locale/programs/locale.c (show_info) [case byte]: Check for
53928         '\377' instead of '\177'.
53929         * locale/C-monetary.c (not_available): Always use "\377".
53930         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53931         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53932         detect unavailable sign_posn locale elements.
53933         * locale/localeconv.c (__localeconv): For grouping and
53934         mon_grouping handle "\177" and "\377" like no grouping.
53935         (INT_ELEM): New macro.  Use it to set all numeric members.
53936         * locale/programs/ld-monetary.c (monetary_read)
53937         <tok_mon_grouping>: Normalize single -1 to the empty string.
53938         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53939         Likewise.
53941 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53943         [BZ #16055]
53944         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53945         when we match (nil).
53946         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53948 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53950         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53951         (NO_TEST_INLINE): Update value.
53952         (ERRNO_UNCHANGED): Likewise.
53953         (ERRNO_EDOM): Likewise.
53954         (ERRNO_ERANGE): Likewise.
53955         (IGNORE_RESULT): Likewise.
53956         (check_float_internal): Check signs of NaN results if
53957         TEST_NAN_SIGN used.
53958         (check_complex): Pass TEST_NAN_SIGN flag through to second
53959         check_float_internal call.
53960         (copysign_test_data): Add tests with quiet NaNs as second
53961         argument.  Use TEST_NAN_SIGN.
53962         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53963         TEST_NAN_SIGN.
53964         (signbit_test_data): Add tests of quiet NaN argument.
53965         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53967         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53968         $ignore_result.
53969         (parse_args): Handle function results specified as IGNORE.
53970         * math/libm-test.inc (IGNORE_RESULT): New macro.
53971         (check_float_internal): Do not check numerical result if flag
53972         IGNORE_RESULT set.
53973         (check_complex): Pass through IGNORE_RESULT to second
53974         check_float_internal call.
53975         (check_int): Do not check numerical result if flag IGNORE_RESULT
53976         set.
53977         (check_long): Likewise.
53978         (check_bool): Likewise.
53979         (check_longlong): Likewise.
53980         (lrint_test_data): Add tests of infinite and NaN arguments.
53981         (lrint_tonearest_test_data): Likewise.
53982         (lrint_towardzero_test_data): Likewise.
53983         (lrint_downward_test_data): Likewise.
53984         (lrint_upward_test_data): Likewise.
53985         (llrint_test_data): Likewise.
53986         (llrint_tonearest_test_data): Likewise.
53987         (llrint_towardzero_test_data): Likewise.
53988         (llrint_downward_test_data): Likewise.
53989         (llrint_upward_test_data): Likewise.
53990         (lround_test_data): Likewise.
53991         (llround_test_data): Likewise.
53993         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53994         (ERRNO_UNCHANGED): Update value.
53995         (ERRNO_EDOM): Likewise.
53996         (ERRNO_ERANGE): Likewise.
53997         (NO_TEST_INLINE_FLOAT): New macro.
53998         (NO_TEST_INLINE_DOUBLE): Likewise.
53999         (enable_test): New function.
54000         (RUN_TEST_f_f): Check enable_test before running test.
54001         (RUN_TEST_2_f): Likewise.
54002         (RUN_TEST_fff_f): Likewise.
54003         (RUN_TEST_c_f): Likewise.
54004         (RUN_TEST_f_f1): Likewise.
54005         (RUN_TEST_fF_f1): Likewise.
54006         (RUN_TEST_fI_f1): Likewise.
54007         (RUN_TEST_ffI_f1): Likewise.
54008         (RUN_TEST_c_c): Likewise.
54009         (RUN_TEST_cc_c): Likewise.
54010         (RUN_TEST_f_i): Likewise.
54011         (RUN_TEST_f_i_tg): Likewise.
54012         (RUN_TEST_ff_i_tg): Likewise.
54013         (RUN_TEST_f_b): Likewise.
54014         (RUN_TEST_f_b_tg): Likewise.
54015         (RUN_TEST_f_l): Likewise.
54016         (RUN_TEST_f_L): Likewise.
54017         (RUN_TEST_fFF_11): Likewise.
54018         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
54019         conditionals.
54020         (cosh_test_data): Likewise.
54021         (exp_test_data): Likewise.
54022         (expm1_test_data): Likewise.
54023         (hypot_test_data): Likewise.
54024         (pow_test_data): Likewise.
54025         (sinh_test_data): Likewise.
54026         (tanh_test_data): Likewise.
54027         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
54028         flags argument.
54030         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
54031         tests with quiet NaN input and output.
54032         (acosh_test_data): Likewise.
54033         (asin_test_data): Likewise.
54034         (asinh_test_data): Likewise.
54035         (atan_test_data): Likewise.
54036         (atanh_test_data): Likewise.
54037         (atan2_test_data): Likewise.
54038         (cbrt_test_data): Likewise.
54039         (cos_test_data): Likewise.
54040         (cosh_test_data): Likewise.
54041         (erf_test_data): Likewise.
54042         (erfc_test_data): Likewise.
54043         (exp_test_data): Likewise.
54044         (exp10_test_data): Likewise.
54045         (exp2_test_data): Likewise.
54046         (expm1_test_data): Likewise.
54047         (hypot_test_data): Likewise.
54048         (j0_test_data): Likewise.
54049         (j1_test_data): Likewise.
54050         (jn_test_data): Likewise.
54051         (lgamma_test_data): Likewise.
54052         (log_test_data): Likewise.
54053         (log10_test_data): Likewise.
54054         (log1p_test_data): Likewise.
54055         (log2_test_data): Likewise.
54056         (pow_test_data): Likewise.
54057         (scalb_test_data): Likewise.
54058         (sin_test_data): Likewise.
54059         (sincos_test_data): Likewise.
54060         (sinh_test_data): Likewise.
54061         (tan_test_data): Likewise.
54062         (tanh_test_data): Likewise.
54063         (tgamma_test_data): Likewise.
54064         (y0_test_data): Likewise.
54065         (y1_test_data): Likewise.
54066         (yn_test_data): Likewise.
54068         [BZ #16167]
54069         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54070         argument being NaN and avoid computations with second argument in
54071         that case.
54072         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54073         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54074         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54076 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54078         * locale/iso-639.def: Add Chitwani Tharu (the).
54080 2013-11-14  Andreas Schwab  <schwab@suse.de>
54082         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54083         word instead of empty string.
54085 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54088         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54090         (__fe_nomask_env): Likewise.
54092 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54094         * benchtests/bench-timing.h: Include time.h.
54096 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54098         [BZ #15997]
54099         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54100         to 3.4.0 for x32.
54101         * sysdeps/unix/sysv/linux/configure: Regenerated.
54103 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54105         [BZ #16151]
54106         * stdlib/strtod_l.c (round_and_return): Do not consider
54107         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54108         exponent one less than half the least subnormal exponent.
54109         * stdlib/test-strtod-round-data: Add more tests.
54110         * stdlib/tst-strtod-round.c (tests): Regenerated.
54112 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54114         [BZ #14143]
54115         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54116         (__fe_mask_env): Likewise.
54117         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54118         libm_hidden_proto and add function prototype.
54119         (__fe_mask_env): Add function prototype.
54120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54121         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54123         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54125         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54127 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54129         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54130         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54132 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54134         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54135         of htab_find_slot().
54137 2013-11-11  David S. Miller  <davem@davemloft.net>
54139         [BZ #16150]
54140         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54141         symbol in the non-vis3 case in static builds.
54142         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54143         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54144         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54145         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54147 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54149         [BZ #387]
54150         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54151         it is empty.
54153 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54155         * benchtests/Makefile: Add bench-strtod.
54156         * benchtests/bench-strtod.c: New file: strtod benchtest
54158 2013-11-11  Andreas Schwab  <schwab@suse.de>
54160         [BZ #16153]
54161         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54162         terminating NUL in key length.
54164 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54166         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54167         Add artificial ODP entry for vDSO symbol for PPC64.
54168         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54169         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54171 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54173         [BZ #15374]
54174         * nss/getent.c (services_keys): Recognize services starting with digit.
54176 2013-11-06  David S. Miller  <davem@davemloft.net>
54178         [BZ #15985]
54179         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54180         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54182 2013-11-06  Will Newton  <will.newton@linaro.org>
54184         * manual/memory.texi (Malloc Examples): Remove register
54185         keyword from examples.
54187 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54189         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54191 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54193         [BZ #6981]
54194         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54195         depending on [__GCC_IEC_559 > 0].
54196         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54197         depending on [__GCC_IEC_559_COMPLEX > 0].
54199 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54201         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54202         to iso-639.def.
54204 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54206         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54208 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54210         [BZ #16112]
54211         * malloc/malloc (malloc_info): Do not handle first bin as
54212         special case.
54214 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54216         * locale/iso-639.def: Add Central Nahuatl (nhn).
54218 2013-11-01  Bruno Haible  <bruno@clisp.org>
54220         [BZ #7003]
54221         * manual/math.texi (BSD Random): Specify range upper bound as
54222         in POSIX.
54224 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54226         * locale/iso-639.def: Add Meadow Mari (mhr).
54228 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54230         [BZ #14752], [BZ #15763]
54231         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54232         Validate name.
54233         * rt/tst_shm.c: Add test for escaping directory.
54235 2013-10-31  Andreas Schwab  <schwab@suse.de>
54237         [BZ #15917]
54238         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54239         followed by 'x' as part of digit sequence.
54240         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54242 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54244         [BZ #16037]
54245         * configure.ac: allow GNU Make 4.0 and greater.
54246         * configure: Regenerated.
54248 2013-10-30  Will Newton  <will.newton@linaro.org>
54250         [BZ #16038]
54251         * malloc/hooks.c (memalign_check): Limit alignment to the
54252         maximum representable power of two.
54253         * malloc/malloc.c (__libc_memalign): Likewise.
54254         * malloc/tst-memalign.c (do_test): Add test for very
54255         large alignment values.
54256         * malloc/tst-posix_memalign.c (do_test): Likewise.
54258 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54260         [BZ #11087]
54261         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54262         (munmap_chunk): Likewise.
54263         (mremap_chunk): Likewise.
54265 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54267         [BZ #15799]
54268         * stdlib/div.c (div): Remove obsolete code.
54269         * stdlib/ldiv.c (ldiv): Likewise.
54270         * stdlib/lldiv.c (lldiv): Likewise.
54272 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54274         [BZ #16071]
54275         * nss/nss_files/files-XXX.c (get_contents_ret): New
54276         enumerator.
54277         (get_contents): New function.
54278         (internal_getent): Use it.  Expand size of LINEBUFLEN.
54280 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54282         * configure.in: Moved to ...
54283         * configure.ac: ... here. Change reference to configure.in
54284         to configure.ac.
54285         * sysdeps/arm/preconfigure.ac: ... here.
54286         configure.in to configure.ac.
54287         * sysdeps/gnu/configure.in: Moved to ...
54288         * sysdeps/gnu/configure.ac: ... here.
54289         * sysdeps/i386/configure.in: Moved to ...
54290         * sysdeps/i386/configure.ac: ... here.
54291         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54292         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54293         * sysdeps/mach/configure.in: Moved to ...
54294         * sysdeps/mach/configure.ac: ... here.
54295         * sysdeps/mach/hurd/configure.in: Moved to ...
54296         * sysdeps/mach/hurd/configure.ac: ... here.
54297         * sysdeps/powerpc/configure.in: Moved to ...
54298         * sysdeps/powerpc/configure.ac: ... here.
54299         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54300         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54301         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54302         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54303         * sysdeps/s390/s390-32/configure.in: Moved to ...
54304         * sysdeps/s390/s390-32/configure.ac: ... here.
54305         * sysdeps/s390/s390-64/configure.in: Moved to ...
54306         * sysdeps/s390/s390-64/configure.ac: ... here.
54307         * sysdeps/sh/configure.in: Moved to ...
54308         * sysdeps/sh/configure.ac: ... here.
54309         * sysdeps/sparc/configure.in: Moved to ...
54310         * sysdeps/sparc/configure.ac: ... here.
54311         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54312         * sysdeps/unix/sysv/linux/configure.ac: ... here.
54313         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54314         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54315         * sysdeps/x86_64/configure.in: Moved to ...
54316         * sysdeps/x86_64/configure.ac: ... here.
54317         * sysdeps/x86_64/preconfigure.in: Moved to ...
54318         * sysdeps/x86_64/preconfigure.ac: ... here.
54319         * aclocal.m4: Change reference to configure.in to configure.ac.
54320         * config.h.in: Likewise.
54321         * manual/install.texi: Likewise.
54322         * manual/maint.texi: Likewise.
54323         * Makefile: Likewise.
54324         * malloc/Makefile: Likewise.
54325         * nscd/Makefile: Likewise.
54326         * Makeconfig: Change reference to configure.in and
54327         preconfigure.in to configure.ac and preconfigure.ac
54328         respectively.
54329         * INSTALL: Regenerated.
54330         * configure: Likewise.
54331         * sysdeps/gnu/configure: Likewise.
54332         * sysdeps/i386/configure: Likewise.
54333         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54334         * sysdeps/mach/configure: Likewise.
54335         * sysdeps/mach/hurd/configure: Likewise.
54336         * sysdeps/powerpc/configure: Likewise.
54337         * sysdeps/powerpc/powerpc32/configure: Likewise.
54338         * sysdeps/powerpc/powerpc64/configure: Likewise.
54339         * sysdeps/s390/s390-32/configure: Likewise.
54340         * sysdeps/s390/s390-64/configure: Likewise.
54341         * sysdeps/sh/configure: Likewise.
54342         * sysdeps/sparc/configure: Likewise.
54343         * sysdeps/unix/sysv/linux/configure: Likewise.
54344         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54345         * sysdeps/x86_64/configure: Likewise.
54346         * sysdeps/x86_64/preconfigure: Likewise.
54348 2013-10-29  Andreas Schwab  <schwab@suse.de>
54350         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54352 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54354         * benchtests/pow-inputs: Add new inputs.
54356         * benchtests/exp-inputs: Add new inputs.
54358         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54359         conditional check for return value.
54360         (__cos32): Likewise.
54362 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54364         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54365         to provide a boost for large inputs with word alignment.
54366         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54367         implementation based on optimized PPC64 strcpy.
54368         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54369         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54370         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54371         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54373 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54375         [BZ #2801]
54376         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54378 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54380         [BZ #14876]
54381         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54382         * time/tst-strptime.c (day_tests): Add testcase.
54384 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54386         [BZ #14029]
54387         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54389 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54391         [BZ #16074]
54392         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54393         MAP_FAILED on error.
54395 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54397         [BZ #16072]
54398         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54399         heap for large requests.
54401 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54403         [BZ #9954]
54404         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54405         result if the result has no associated interface.
54406         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54407         interface for all 127.X.Y.Z addresses.
54409 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54411         * locale/iso-639.def: Add Ligurian (lij)
54413 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54415         [BZ #15825]
54416         * sunrpc/rpc_main.c: Document rpcgen -5.
54418 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54420         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54422 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54424         [BZ #10278]
54425         * posix/glob.c: Match only directories when trailing slash is present.
54426         * posix/tst-gnuglob.c (my_opendir): Do not open files.
54427         (main): Add testcase.
54429 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54431         [BZ #15670]
54432         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54434 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
54436         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54437         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54438         AUTH_DES and cindex for FIPS 140-2.
54439         (DES Encryption): Add cindex FIPS 46-3.
54441         * locale/locarchive.h (struct locarhandle): Add fname.
54442         * locale/programs/localedef.c (main): Pass ARGV[remaining]
54443         if an optional argument was specified to --list-archive,
54444         otherwise NULL.
54445         * locale/programs/locarchive.c (show_archive_content): Take new
54446         argument fname and pass it via ah.fname to open_archive.
54447         * locale/programs/localedef.h: Update decl.
54448         (open_archive): If AH->fname is non-null, open that file
54449         rather than the default file name, and don't ignore ENOENT.
54450         (create_archive): Set AH.fname to NULL.
54451         (delete_locales_from_archive): Likewise.
54452         (add_locales_to_archive): Likewise.
54453         * locale/programs/locfile.c (write_all_categories): Likewise.
54455 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
54456             Aldy Hernandez  <aldyh@redhat.com>
54458         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54459         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54460         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54461         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54462         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54463         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54464         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54465         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54466         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54467         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54468         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54469         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54470         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54471         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54472         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54473         Likewise.
54474         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54475         Likewise.
54476         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54477         Likewise.
54478         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54479         Likewise.
54480         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54481         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54482         Likewise.
54483         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54484         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54485         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54486         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54487         Likewise.
54488         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54489         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54490         * sysdeps/powerpc/preconfigure: Likewise.
54491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54492         Likewise.
54493         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54494         Replace contents of file by #include of <fenv_libc.h>.
54495         * sysdeps/powerpc/soft-fp/sfp-machine.h
54496         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54497         and <sys/prctl.h>.
54498         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54499         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54500         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54501         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54502         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54503         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54505         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54506         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54507         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54508         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54509         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54511         Allow copysignl PLT reference to be missing.
54513 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
54514             Joseph Myers  <joseph@codesourcery.com
54516         [BZ #15948]
54517         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54518         single character.
54519         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54521 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54523         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54524         * elf/tst-tls1.c: Likewise.
54525         * elf/tst-tls10.h: Likewise.
54526         * elf/tst-tls14.c: Likewise.
54527         * elf/tst-tls2.c: Likewise.
54528         * elf/tst-tls3.c: Likewise.
54529         * elf/tst-tls4.c: Likewise.
54530         * elf/tst-tls5.c: Likewise.
54531         * elf/tst-tls6.c: Likewise.
54532         * elf/tst-tls7.c: Likewise.
54533         * elf/tst-tls8.c: Likewise.
54534         * elf/tst-tls9.c: Likewise.
54535         * elf/tst-tlsmod1.c: Likewise.
54536         * elf/tst-tlsmod13.c: Likewise.
54537         * elf/tst-tlsmod13a.c: Likewise.
54538         * elf/tst-tlsmod14a.c: Likewise.
54539         * elf/tst-tlsmod16a.c: Likewise.
54540         * elf/tst-tlsmod16b.c: Likewise.
54541         * elf/tst-tlsmod2.c: Likewise.
54542         * elf/tst-tlsmod3.c: Likewise.
54543         * elf/tst-tlsmod4.c: Likewise.
54544         * elf/tst-tlsmod5.c: Likewise.
54545         * elf/tst-tlsmod6.c: Likewise.
54547 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54549         [BZ #12486]
54550         * malloc/malloc.c: remove checks for statistics.
54552 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54554         [BZ #15277]
54555         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54556         * inet/tst-network.c: Add testcase.
54558 2013-10-17  Andreas Schwab  <schwab@suse.de>
54560         [BZ #15218]
54561         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54562         to determine canonical name.
54564 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54566         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54567         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54568         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54570         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54571         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54572         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54573         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54574         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54575         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54576         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54577         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54578         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54579         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54580         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54581         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54582         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54583         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54584         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54585         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54586         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54587         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54588         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54589         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54590         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54591         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54592         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54593         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54594         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54595         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54596         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54597         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54598         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54599         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54600         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54601         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54602         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54603         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54604         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54605         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54606         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54607         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54608         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54609         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54610         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54611         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54612         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54613         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54614         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54615         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54616         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54617         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54618         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54619         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54620         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54621         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54623         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54625 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54627         [BZ #16041]
54628         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54629         make result into a quiet NaN.
54631 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54633         * soft-fp/adddf3.c: Fix horizontal whitespace.
54634         * soft-fp/addsf3.c: Likewise.
54635         * soft-fp/addtf3.c: Likewise.
54636         * soft-fp/divdf3.c: Likewise.
54637         * soft-fp/divsf3.c: Likewise.
54638         * soft-fp/divtf3.c: Likewise.
54639         * soft-fp/double.h: Likewise.
54640         * soft-fp/eqdf2.c: Likewise.
54641         * soft-fp/eqsf2.c: Likewise.
54642         * soft-fp/eqtf2.c: Likewise.
54643         * soft-fp/extenddftf2.c: Likewise.
54644         * soft-fp/extended.h: Likewise.
54645         * soft-fp/extendsfdf2.c: Likewise.
54646         * soft-fp/extendsftf2.c: Likewise.
54647         * soft-fp/extendxftf2.c: Likewise.
54648         * soft-fp/fixdfdi.c: Likewise.
54649         * soft-fp/fixdfsi.c: Likewise.
54650         * soft-fp/fixdfti.c: Likewise.
54651         * soft-fp/fixsfdi.c: Likewise.
54652         * soft-fp/fixsfsi.c: Likewise.
54653         * soft-fp/fixsfti.c: Likewise.
54654         * soft-fp/fixtfdi.c: Likewise.
54655         * soft-fp/fixtfsi.c: Likewise.
54656         * soft-fp/fixtfti.c: Likewise.
54657         * soft-fp/fixunsdfdi.c: Likewise.
54658         * soft-fp/fixunsdfsi.c: Likewise.
54659         * soft-fp/fixunsdfti.c: Likewise.
54660         * soft-fp/fixunssfdi.c: Likewise.
54661         * soft-fp/fixunssfsi.c: Likewise.
54662         * soft-fp/fixunssfti.c: Likewise.
54663         * soft-fp/fixunstfdi.c: Likewise.
54664         * soft-fp/fixunstfsi.c: Likewise.
54665         * soft-fp/fixunstfti.c: Likewise.
54666         * soft-fp/floatdidf.c: Likewise.
54667         * soft-fp/floatdisf.c: Likewise.
54668         * soft-fp/floatditf.c: Likewise.
54669         * soft-fp/floatsidf.c: Likewise.
54670         * soft-fp/floatsisf.c: Likewise.
54671         * soft-fp/floatsitf.c: Likewise.
54672         * soft-fp/floattidf.c: Likewise.
54673         * soft-fp/floattisf.c: Likewise.
54674         * soft-fp/floattitf.c: Likewise.
54675         * soft-fp/floatundidf.c: Likewise.
54676         * soft-fp/floatundisf.c: Likewise.
54677         * soft-fp/floatunditf.c: Likewise.
54678         * soft-fp/floatunsidf.c: Likewise.
54679         * soft-fp/floatunsisf.c: Likewise.
54680         * soft-fp/floatunsitf.c: Likewise.
54681         * soft-fp/floatuntidf.c: Likewise.
54682         * soft-fp/floatuntisf.c: Likewise.
54683         * soft-fp/floatuntitf.c: Likewise.
54684         * soft-fp/fmadf4.c: Likewise.
54685         * soft-fp/fmasf4.c: Likewise.
54686         * soft-fp/fmatf4.c: Likewise.
54687         * soft-fp/gedf2.c: Likewise.
54688         * soft-fp/gesf2.c: Likewise.
54689         * soft-fp/getf2.c: Likewise.
54690         * soft-fp/ledf2.c: Likewise.
54691         * soft-fp/lesf2.c: Likewise.
54692         * soft-fp/letf2.c: Likewise.
54693         * soft-fp/muldf3.c: Likewise.
54694         * soft-fp/mulsf3.c: Likewise.
54695         * soft-fp/multf3.c: Likewise.
54696         * soft-fp/negdf2.c: Likewise.
54697         * soft-fp/negsf2.c: Likewise.
54698         * soft-fp/negtf2.c: Likewise.
54699         * soft-fp/op-1.h: Likewise.
54700         * soft-fp/op-2.h: Likewise.
54701         * soft-fp/op-4.h: Likewise.
54702         * soft-fp/op-8.h: Likewise.
54703         * soft-fp/op-common.h: Likewise.
54704         * soft-fp/quad.h: Likewise.
54705         * soft-fp/single.h: Likewise.
54706         * soft-fp/soft-fp.h: Likewise.
54707         * soft-fp/sqrtdf2.c: Likewise.
54708         * soft-fp/sqrtsf2.c: Likewise.
54709         * soft-fp/sqrttf2.c: Likewise.
54710         * soft-fp/subdf3.c: Likewise.
54711         * soft-fp/subsf3.c: Likewise.
54712         * soft-fp/subtf3.c: Likewise.
54713         * soft-fp/truncdfsf2.c: Likewise.
54714         * soft-fp/trunctfdf2.c: Likewise.
54715         * soft-fp/trunctfsf2.c: Likewise.
54716         * soft-fp/trunctfxf2.c: Likewise.
54717         * soft-fp/unorddf2.c: Likewise.
54718         * soft-fp/unordsf2.c: Likewise.
54719         * soft-fp/unordtf2.c: Likewise.
54721 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54723         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54724         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54726 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54728         * elf/dl-libc.c: Clear initfini list after freeing.
54730 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54732         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54733         * soft-fp/addsf3.c: Likewise.
54734         * soft-fp/addtf3.c: Likewise.
54735         * soft-fp/divdf3.c: Likewise.
54736         * soft-fp/divsf3.c: Likewise.
54737         * soft-fp/divtf3.c: Likewise.
54738         * soft-fp/double.h: Likewise.
54739         * soft-fp/eqdf2.c: Likewise.
54740         * soft-fp/eqsf2.c: Likewise.
54741         * soft-fp/eqtf2.c: Likewise.
54742         * soft-fp/extenddftf2.c: Likewise.
54743         * soft-fp/extended.h: Likewise.
54744         * soft-fp/extendsfdf2.c: Likewise.
54745         * soft-fp/extendsftf2.c: Likewise.
54746         * soft-fp/extendxftf2.c: Likewise.
54747         * soft-fp/fixdfdi.c: Likewise.
54748         * soft-fp/fixdfsi.c: Likewise.
54749         * soft-fp/fixdfti.c: Likewise.
54750         * soft-fp/fixsfdi.c: Likewise.
54751         * soft-fp/fixsfsi.c: Likewise.
54752         * soft-fp/fixsfti.c: Likewise.
54753         * soft-fp/fixtfdi.c: Likewise.
54754         * soft-fp/fixtfsi.c: Likewise.
54755         * soft-fp/fixtfti.c: Likewise.
54756         * soft-fp/fixunsdfdi.c: Likewise.
54757         * soft-fp/fixunsdfsi.c: Likewise.
54758         * soft-fp/fixunsdfti.c: Likewise.
54759         * soft-fp/fixunssfdi.c: Likewise.
54760         * soft-fp/fixunssfsi.c: Likewise.
54761         * soft-fp/fixunssfti.c: Likewise.
54762         * soft-fp/fixunstfdi.c: Likewise.
54763         * soft-fp/fixunstfsi.c: Likewise.
54764         * soft-fp/fixunstfti.c: Likewise.
54765         * soft-fp/floatdidf.c: Likewise.
54766         * soft-fp/floatdisf.c: Likewise.
54767         * soft-fp/floatditf.c: Likewise.
54768         * soft-fp/floatsidf.c: Likewise.
54769         * soft-fp/floatsisf.c: Likewise.
54770         * soft-fp/floatsitf.c: Likewise.
54771         * soft-fp/floattidf.c: Likewise.
54772         * soft-fp/floattisf.c: Likewise.
54773         * soft-fp/floattitf.c: Likewise.
54774         * soft-fp/floatundidf.c: Likewise.
54775         * soft-fp/floatundisf.c: Likewise.
54776         * soft-fp/floatunsidf.c: Likewise.
54777         * soft-fp/floatunsisf.c: Likewise.
54778         * soft-fp/floatuntidf.c: Likewise.
54779         * soft-fp/floatuntisf.c: Likewise.
54780         * soft-fp/floatuntitf.c: Likewise.
54781         * soft-fp/fmadf4.c: Likewise.
54782         * soft-fp/fmasf4.c: Likewise.
54783         * soft-fp/fmatf4.c: Likewise.
54784         * soft-fp/gedf2.c: Likewise.
54785         * soft-fp/gesf2.c: Likewise.
54786         * soft-fp/getf2.c: Likewise.
54787         * soft-fp/ledf2.c: Likewise.
54788         * soft-fp/lesf2.c: Likewise.
54789         * soft-fp/letf2.c: Likewise.
54790         * soft-fp/muldf3.c: Likewise.
54791         * soft-fp/mulsf3.c: Likewise.
54792         * soft-fp/multf3.c: Likewise.
54793         * soft-fp/negdf2.c: Likewise.
54794         * soft-fp/negsf2.c: Likewise.
54795         * soft-fp/negtf2.c: Likewise.
54796         * soft-fp/op-1.h: Likewise.
54797         * soft-fp/op-2.h: Likewise.
54798         * soft-fp/op-4.h: Likewise.
54799         * soft-fp/op-8.h: Likewise.
54800         * soft-fp/op-common.h: Likewise.
54801         * soft-fp/quad.h: Likewise.
54802         * soft-fp/single.h: Likewise.
54803         * soft-fp/soft-fp.h: Likewise.
54804         * soft-fp/sqrtdf2.c: Likewise.
54805         * soft-fp/sqrtsf2.c: Likewise.
54806         * soft-fp/sqrttf2.c: Likewise.
54807         * soft-fp/subdf3.c: Likewise.
54808         * soft-fp/subsf3.c: Likewise.
54809         * soft-fp/subtf3.c: Likewise.
54810         * soft-fp/truncdfsf2.c: Likewise.
54811         * soft-fp/trunctfdf2.c: Likewise.
54812         * soft-fp/trunctfsf2.c: Likewise.
54813         * soft-fp/trunctfxf2.c: Likewise.
54814         * soft-fp/unorddf2.c: Likewise.
54815         * soft-fp/unordsf2.c: Likewise.
54816         * soft-fp/unordtf2.c: Likewise.
54818 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54820         [BZ #15672]
54821         * misc/error.c (error_tail): Fix possible buffer overflow.
54823 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54825         [BZ #13028]
54826         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54827         address.
54829 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54831         [BZ #832]
54832         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54833         testing pipefail option.
54835 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54837         * soft-fp/double.h: Indent preprocessor directives inside #if.
54838         * soft-fp/extended.h: Likewise.
54839         * soft-fp/op-2.h: Likewise.
54840         * soft-fp/op-4.h: Likewise.
54841         * soft-fp/op-common.h: Likewise.
54842         * soft-fp/quad.h: Likewise.
54843         * soft-fp/single.h: Likewise.
54844         * soft-fp/soft-fp.h: Likewise.
54846 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54848         * iconv/iconv_prog.c: Fix typos.
54849         * stdio-common/psiginfo-data.h: Likewise.
54851 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54853         [BZ #15764]
54854         * locale/setlocale.c: Fix typo.
54856 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54858         [BZ #16036]
54859         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54860         signaling NaN arguments.
54861         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54862         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54864         [BZ #14910]
54865         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54866         unordered operands.
54867         * soft-fp/gesf2.c (__gesf2): Likewise.
54868         * soft-fp/getf2.c (__getf2): Likewise.
54869         * soft-fp/ledf2.c (__ledf2): Likewise.
54870         * soft-fp/lesf2.c (__lesf2): Likewise.
54871         * soft-fp/letf2.c (__letf2): Likewise.
54873         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54874         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54875         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54876         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54877         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54878         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54879         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54880         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54881         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54882         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54883         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54884         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54885         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54886         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54887         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54888         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54889         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54890         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54891         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54892         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54893         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54894         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54895         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54896         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54897         * soft-fp/floattidf.c (__floattidf): Likewise.
54898         * soft-fp/floattisf.c (__floattisf): Likewise.
54899         * soft-fp/floattitf.c (__floattitf): Likewise.
54900         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54901         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54902         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54903         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54904         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54905         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54906         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54907         * soft-fp/gesf2.c (__gesf2): Likewise.
54908         * soft-fp/getf2.c (__getf2): Likewise.
54909         * soft-fp/ledf2.c (__ledf2): Likewise.
54910         * soft-fp/lesf2.c (__lesf2): Likewise.
54911         * soft-fp/letf2.c (__letf2): Likewise.
54913         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54914         Undefine and redefine.
54915         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54916         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54917         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54918         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54919         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54920         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54921         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54922         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54923         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54924         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54925         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54926         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54927         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54928         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54929         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54931         [BZ #16032]
54932         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54933         without decrementing exponent if mantissa >= that for the
54934         denominator, not >.
54935         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54936         denominator, not >.  Decrement exponent in < case instead of
54937         incrementing in >= case.
54938         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54939         without decrementing exponent if mantissa >= that for the
54940         denominator, not >.
54942         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54943         computing saturated result for unsigned overflow.
54945 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54946             Jeff Law  <law@redhat.com>
54948         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54949         (atan2Mp): Add systemtap probe marker.
54950         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54951         (__ieee754_log): Add systemtap probe marker.
54952         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54953         (atanMp): Add systemtap probe marker.
54954         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54955         (tanMp): Add systemtap probe marker.
54956         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54957         (__slowexp): Add systemtap probe marker.
54958         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54959         (__slowpow): Add systemtap probe marker.
54960         * manual/probes.texi: Document probes.
54962 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54964         [BZ #15362]
54965         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54966         written.
54967         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54968         written.
54969         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54970         written to buffer but not flushed.
54971         * libio/iofwrite_u.c:  Likewise.
54972         * libio/iopadn.c:  Return bytes returned even if EOF was
54973         encountered.
54974         * libio/iowpadn.c:  Likewise.
54975         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54976         if _IO_padn does not write the whole buffer.
54977         [!COMPILE_WPRINTF] (PAD): Likewise.
54979 2013-10-10  David S. Miller  <davem@davemloft.net>
54981         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54982         directory block.
54984 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54986         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54987         instead of FSF address.
54988         * soft-fp/fixdfti.c: Likewise.
54989         * soft-fp/fixsfti.c: Likewise.
54990         * soft-fp/fixtfti.c: Likewise.
54991         * soft-fp/fixunsdfti.c: Likewise.
54992         * soft-fp/fixunssfti.c: Likewise.
54993         * soft-fp/fixunstfti.c: Likewise.
54994         * soft-fp/floattidf.c: Likewise.
54995         * soft-fp/floattisf.c: Likewise.
54996         * soft-fp/floattitf.c: Likewise.
54997         * soft-fp/floatuntidf.c: Likewise.
54998         * soft-fp/floatuntisf.c: Likewise.
54999         * soft-fp/floatuntitf.c: Likewise.
55000         * soft-fp/trunctfxf2.c: Likewise.
55002         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
55003         * soft-fp/fixdfti.c: Likewise.
55004         * soft-fp/fixsfti.c: Likewise.
55005         * soft-fp/fixtfti.c: Likewise.
55006         * soft-fp/fixunsdfti.c: Likewise.
55007         * soft-fp/fixunssfti.c: Likewise.
55008         * soft-fp/fixunstfti.c: Likewise.
55009         * soft-fp/floattidf.c: Likewise.
55010         * soft-fp/floattisf.c: Likewise.
55011         * soft-fp/floattitf.c: Likewise.
55012         * soft-fp/floatuntidf.c: Likewise.
55013         * soft-fp/floatuntisf.c: Likewise.
55014         * soft-fp/floatuntitf.c: Likewise.
55015         * soft-fp/trunctfxf2.c: Likewise.
55017 2013-10-10  David S. Miller  <davem@davemloft.net>
55019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55021 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
55023         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55024         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
55025         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
55026         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
55027         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
55028         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
55029         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
55031         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
55032         for NaNs before doing comparisons on argument.
55033         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
55034         Likewise.
55036 2013-10-10  Will Newton  <will.newton@linaro.org>
55038         * malloc/hooks.c (memalign_check): Ensure the value of bytes
55039         passed to _int_memalign does not overflow.
55041 2013-10-10  Torvald Riegel  <triegel@redhat.com>
55043         * scripts/bench.pl: Add include-sources directive.
55044         * benchtests/README: Update documentation.
55046 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
55048         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
55049         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
55050         instead of FP_INIT_ROUNDMODE.
55051         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
55052         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55054         [BZ #16034]
55055         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55056         copy class of input value.
55057         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55058         not handle exceptions.
55059         * soft-fp/negsf2.c (__negsf2): Likewise.
55060         * soft-fp/negtf2.c (__negtf2): Likewise.
55061         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55063 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55065         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55066         semicolon.  From Linux kernel.
55068 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55070         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55072 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55074         [BZ #156]
55075         * manual/socket.texi: Added statement about buffer
55076         for gethostbyname2_r.
55078 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55080         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55081         Use .p2align directive instead, throughout.
55082         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55083         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55084         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55085         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55086         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55087         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55088         * sysdeps/x86_64/strchr.S: Likewise.
55089         * sysdeps/x86_64/strrchr.S: Likewise.
55091 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55093         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55095         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55097         * sysdeps/generic/math_private.h (__mpsin1): Remove
55098         declaration.
55099         (__mpcos1): Likewise.
55100         (__mpsin): New argument __range_reduce.
55101         (__mpcos): Likewise.
55102         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55103         (slow): Use __mpsin and __mpcos.
55104         (slow1): Likewise.
55105         (slow2): Likewise.
55106         (sloww): Likewise.
55107         (sloww1): Likewise.
55108         (sloww2): Likewise.
55109         (bsloww): Likewise.
55110         (bsloww1): Likewise.
55111         (bsloww2): Likewise.
55112         (cslow2): Likewise.
55113         (csloww): Likewise.
55114         (csloww1): Likewise.
55115         (csloww2): Likewise.
55116         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55117         range_reduce.  Merge in __mpsin1.
55118         (__mpcos): Likewise.
55119         (__mpsin1): Remove.
55120         (__mpcos1): Likewise.
55122 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55124         * locale/loadlocale.c (_nl_intern_locale_data): Use
55125         LOCFILE_ALIGNED_P.
55126         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55127         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55128         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55129         obstack data is appropriately aligned.
55130         (obstack_int32_grow_fast): Likewise.
55131         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55132         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55133         (add_locale_uint32_array): Likewise.
55135 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55137         * benchtests/Makefile: Remove ARGLIST and RET variables.
55138         ($(objpfx)bench-%.c): Pass only function name to the script.
55139         * benchtests/README: Update documentation.
55140         * benchtests/acos-inputs: Add new directives.
55141         * benchtests/acosh-inputs: Likewise.
55142         * benchtests/asin-inputs: Likewise.
55143         * benchtests/asinh-inputs: Likewise.
55144         * benchtests/atan-inputs: Likewise.
55145         * benchtests/atanh-inputs: Likewise.
55146         * benchtests/cos-inputs: Likewise.
55147         * benchtests/cosh-inputs: Likewise.
55148         * benchtests/exp-inputs: Likewise.
55149         * benchtests/log-inputs: Likewise.
55150         * benchtests/pow-inputs: Likewise.
55151         * benchtests/rint-inputs: Likewise.
55152         * benchtests/sin-inputs: Likewise.
55153         * benchtests/sinh-inputs: Likewise.
55154         * benchtests/tan-inputs: Likewise.
55155         * benchtests/tanh-inputs: Likewise.
55156         * scripts/bench.pl: Add support for new directives.
55158 2013-10-07  Alan Modra  <amodra@gmail.com>
55160         * README: Fix careless merge.
55162 2013-10-05  Alan Modra  <amodra@gmail.com>
55164         * NEWS: Mention powerpc64le support and bugs fixed.
55165         * README: Both big-endian and little-endian powerpc64 supported.
55167 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55169         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55170         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55171         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55172         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55174 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55176         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55177         match prototype.
55179 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55181         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55182         Move -mhard-float appending from
55183         ports/sysdeps/powerpc/powerpc32/Makefile.
55184         [$(with-fp) = yes] (ASFLAGS): Likewise.
55185         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55186         * sysdeps/powerpc/nofpu: Move directory from
55187         ports/sysdeps/powerpc/nofpu.
55188         * sysdeps/powerpc/soft-fp: Move directory from
55189         ports/sysdeps/powerpc/soft-fp.
55190         * sysdeps/powerpc/powerpc32/405: Move directory from
55191         ports/sysdeps/powerpc/powerpc32/405.
55192         * sysdeps/powerpc/powerpc32/440: Move directory from
55193         ports/sysdeps/powerpc/powerpc32/440.
55194         * sysdeps/powerpc/powerpc32/464: Move directory from
55195         ports/sysdeps/powerpc/powerpc32/464.
55196         * sysdeps/powerpc/powerpc32/476: Move directory from
55197         ports/sysdeps/powerpc/powerpc32/476.
55198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55199         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55201         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55203         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55205         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55207         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55208         * README: Update for powerpc-*-linux-gnu software floating point
55209         support in libc.
55211         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55212         case to powerpc/powerpc32*.
55213         * sysdeps/unix/sysv/linux/configure: Regenerated.
55215         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55216         (_FPU_MASK_OM): Define as 0x04.
55217         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55218         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55219         0x00c10080.
55220         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55221         0x0000003c.
55222         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55225         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55226         getcontext_e500.
55227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55228         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55229         setcontext_e500.
55230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55231         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55232         and setcontext_e500.
55234 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55236         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55238 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55240         * manual/threads.texi (Default Thread Attributes): Fix typo.
55242 2013-10-04  Will Newton  <will.newton@linaro.org>
55244         * malloc/Makefile: Add tst-memalign.
55245         * malloc/tst-memalign.c: New file.
55247         * malloc/tst-posix_memalign.c: Add comments.
55248         (do_test): Add comments and call free on all potentially
55249         allocated pointers. Add space after cast.
55251         * malloc/tst-pvalloc.c: Add comments.
55252         (do_test): Add comments and call free on all potentially
55253         allocated pointers. Remove duplicate check for NULL pointer.
55254         Add space after cast.
55256         * malloc/tst-valloc.c: Add comments.
55257         (do_test): Add comments and call free on all potentially
55258         allocated pointers. Remove duplicate check for NULL pointer.
55259         Add space after cast.
55261 2013-10-04  Alan Modra  <amodra@gmail.com>
55263         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55264         Use stdint types in rather than __attribute__((mode())).
55265         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55267 2013-10-04  Alan Modra  <amodra@gmail.com>
55269         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55270         Correct handling of unaligned relocs for little-endian.
55271         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55273 2013-10-04  Alan Modra  <amodra@gmail.com>
55275         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55276         * configure: Regenerate.
55277         * nptl/shlib-versions: Powerpc*le starts at 2.18.
55278         * shlib-versions: Likewise.
55280 2013-10-04  Alan Modra  <amodra@gmail.com>
55282         * string/tester.c (test_memrchr): Increment reported test cycle.
55284 2013-10-04  Alan Modra  <amodra@gmail.com>
55286         * string/test-memcpy.c (do_one_test): When reporting errors, print
55287         string address and don't overrun end of string.
55289 2013-10-04  Alan Modra  <amodra@gmail.com>
55291         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55292         insrdi.  Make better use of reg selection to speed exit slightly.
55293         Schedule entry path a little better.  Remove useless "are we done"
55294         checks on entry to main loop.  Handle wrapping around zero address.
55295         Correct main loop count.  Handle single left-over word from main
55296         loop inline rather than by using loop_small.  Remove extra word
55297         case in loop_small caused by wrong loop count.  Add little-endian
55298         support.
55299         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55300         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
55301         cache hint.
55302         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55303         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55304         support.  Avoid rlwimi.
55305         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55307 2013-10-04  Alan Modra  <amodra@gmail.com>
55309         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55310         insrdi.  Formatting.
55311         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55312         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55313         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55314         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55315         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55316         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55318 2013-10-04  Alan Modra  <amodra@gmail.com>
55320         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55321         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55322         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55323         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55324         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55325         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55326         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55327         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55328         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
55329         use of regs.  Use power7 mtocrf.  Tidy function tails.
55331 2013-10-04  Alan Modra  <amodra@gmail.com>
55333         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55334         Formatting.  Consistently use rXXX register defines or rN defines.
55335         Use early exit labels that avoid restoring unused non-volatile regs.
55336         Make cr field use more consistent with rWORDn compares.  Rename
55337         regs used as shift registers for unaligned loop, using rN defines
55338         for short lifetime/multiple use regs.
55339         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55340         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55341         addi 1,1,64 to pop stack frame.  Simplify return value code.
55342         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55344 2013-10-04  Alan Modra  <amodra@gmail.com>
55346         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55347         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55348         rather than rlwimi.
55349         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55350         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55351         little-endian support.  Correct typos.
55352         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55353         rather than rlwimi.
55354         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55355         in loop and entry code to keep "and." results.
55356         (strchr): Add little-endian support.  Comment.  Move cntlzd
55357         earlier in tail.
55358         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55360 2013-10-04  Alan Modra  <amodra@gmail.com>
55362         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55363         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55364         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55365         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55367 2013-10-04  Alan Modra  <amodra@gmail.com>
55369         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55370         (rTMP): Define as r11.
55371         (strcmp): Add little-endian support.  Optimise tail.
55372         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55373         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55374         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55375         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55376         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55377         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55378         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55380 2013-10-04  Alan Modra  <amodra@gmail.com>
55382         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55383         little-endian support.  Remove unnecessary "are we done" tests.
55384         Handle "s" wrapping around zero and extremely large "size".
55385         Correct main loop count.  Handle single left-over word from main
55386         loop inline rather than by using small_loop.  Correct comments.
55387         Delete "zero" tail, use "end_max" instead.
55388         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55390 2013-10-04  Alan Modra  <amodra@gmail.com>
55392         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55393         support.  Don't branch over align.
55394         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55395         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55396         support.  Rearrange tmp reg use to suit.  Comment.
55397         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55399 2013-10-04  Alan Modra  <amodra@gmail.com>
55401         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55403 2013-10-04  Alan Modra  <amodra@gmail.com>
55405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55406         conditional form of branch and link when obtaining pc.
55407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55409 2013-10-04  Alan Modra  <amodra@gmail.com>
55411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55412         HIWORD/LOWORD.
55413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55416 2013-10-04  Alan Modra  <amodra@gmail.com>
55418         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55419         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55420         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55421         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55422         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55423         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55424         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55425         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55426         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55427         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55429 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55430             Alistair Popple <alistair@ozlabs.au.ibm.com>
55431             Alan Modra <amodra@gmail.com>
55433         [BZ #15723]
55434         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55435         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55436         _dl_hwcap access for little-endian.
55437         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
55438         destroy vmx regs when saving unaligned.
55439         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55440         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
55441         destroy vmx regs when saving unaligned.
55443 2013-10-04  Alan Modra  <amodra@gmail.com>
55445         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55446         Don't use a union to pack hi/low value.
55448 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55450         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55451         for little-endian.
55452         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55453         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55454         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55455         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55456         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55458 2013-10-04  Alan Modra  <amodra@gmail.com>
55460         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55461         constants to usual value for .cst8 section, and remove redundant
55462         high address load.
55463         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55464         constant for 0x1p52.  Load little-endian words of double from
55465         correct stack offsets.
55467 2013-10-04  Alan Modra  <amodra@gmail.com>
55469         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55470         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55471         words of double from correct stack offsets.
55472         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55473         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55474         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55475         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55476         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55477         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55478         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55479         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55480         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55481         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55482         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55483         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55484         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55485         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55486         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55487         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55488         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55490 2013-10-04  Alan Modra  <amodra@gmail.com>
55492         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55493         64-bit int/double union.
55494         (_FPU_SETCW): Likewise.
55495         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55496         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55498 2013-10-04  Alan Modra  <amodra@gmail.com>
55500         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55501         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55503 2013-10-04  Alan Modra  <amodra@gmail.com>
55505         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55506         use vector int constants.
55507         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55509 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55511         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55512         array with long long.
55513         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55514         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55515         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55516         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55517         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55518         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55519         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55520         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55521         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55522         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55523         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55524         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55525         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55527 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55529         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55530         (__signbit): Likewise.  Correct for little-endian.
55531         (__signbitl): Call __signbit.
55532         (lrint): Correct for little-endian.
55533         (lrintf): Call lrint.
55535 2013-10-04  Alan Modra  <amodra@gmail.com>
55537         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55538         union 32-bit int array member with 64-bit int array.
55539         (t515, tm256): Double rather than long double.
55540         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55542 2013-10-04  Alan Modra  <amodra@gmail.com>
55544         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55545         Delete.
55546         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55548         version of math_ldbl.h.
55550 2013-10-04  Alan Modra  <amodra@gmail.com>
55552         [BZ #15734], [BZ #15735]
55553         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55554         all uses of ieee875 long double macros and unions.  Simplify test
55555         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55556         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55557         normalize after ldbl_extract_mantissa, and don't add hidden bit
55558         already handled.  Don't treat low word of ieee854 mantissa like
55559         low word of IBM long double and mask off bit when testing for
55560         zero.
55561         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55562         all uses of ieee875 long double macros and unions.  Simplify tests
55563         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55564         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55565         two1022, instead use their values.  Recognise that tests for large
55566         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55567         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55568         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55569         test for 0.0L and nan.  Correct negation.
55570         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55571         ieee875 long double macros and unions.  Correct output for large
55572         magnitude x.  Correct absolute value calculation.
55573         (__erfcl): Likewise.
55574         * math/libm-test.inc: Add tests for errors discovered in IBM long
55575         double versions of fmodl, remainderl, erfl and erfcl.
55577 2013-10-04  Alan Modra  <amodra@gmail.com>
55579         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55580         all uses of ieee854 long double macros and unions.  Simplify tests
55581         for long doubles that are fully specified by the high double.
55582         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55583         Likewise.
55584         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55585         Remove dead code too.
55586         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55587         (__ieee754_ynl): Likewise.
55588         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55589         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55590         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55591         Remove dead code too.
55592         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55593         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55594         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55595         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55596         Simplify.
55597         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55598         Simplify.
55599         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55600         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55601         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55602         Comment on variable precision.
55603         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55604         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55605         Likewise.
55606         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55607         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55608         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55609         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55610         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55612 2013-10-04  Alan Modra  <amodra@gmail.com>
55614         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55615         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55616         all uses of ieee854 long double macros and unions.
55617         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55618         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55619         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55620         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55621         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55622         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55623         Likewise.
55624         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55625         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55626         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55627         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55628         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55629         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55630         Simplify sign and nan test too.
55631         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55632         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55633         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55634         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55635         Likewise.
55636         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55637         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55638         Likewise.
55639         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55640         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55641         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55642         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55643         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55644         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55646 2013-10-04  Alan Modra  <amodra@gmail.com>
55648         * stdio-common/printf_size.c (__printf_size): Don't use
55649         union ieee854_long_double in fpnum union.
55650         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55651         signbit macro to retrieve sign from long double.
55652         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55653         retrieve sign from long double.
55654         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55655         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55656         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55657         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55658         * math/test-misc.c (main): Don't use union ieee854_long_double.
55660 2013-10-04  Alan Modra  <amodra@gmail.com>
55662         [BZ #15680]
55663         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55664         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55665         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55666         calculation.  Remove unnecessary test for denormal exponent.
55667         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55668         Correct handling of denormals.  Avoid undefined shift behaviour.
55669         Correct normalisation of low mantissa when low double is denormal.
55670         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55671         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55672         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55673         Correct normalisation of low mantissa.  Test for overflow of high
55674         mantissa and normalise.
55675         (ldbl_nearbyint): Use more readable constant for two52.
55676         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55677         (__mpn_construct_long_double): Fix test for overflow of high
55678         mantissa and correct normalisation.  Avoid undefined shift.
55680 2013-10-04  Alan Modra  <amodra@gmail.com>
55682         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55683         (union ibm_extended_long_double): Define as an array of ieee754_double.
55684         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55685         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55686         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55687         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55688         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55689         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55690         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55691         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55692         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55693         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55694         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55696 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55698         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55699         page size instead of calling getpagesize.
55701         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55702         (LOCFILE_ALIGN_MASK): Likewise.
55703         (LOCFILE_ALIGN_UP): Likewise.
55704         (LOCFILE_ALIGNED_P): Likewise.
55705         * locale/programs/ld-collate.c (collate_output): Use the new
55706         macros instead of __alignof__ (int32_t).
55707         * locale/weight.h (findidx): Likewise.
55709 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55711         [BZ #431]
55712         * manual/string.texi: Fix strncat and wcsncat.
55714 2013-10-03  Brooks Moses  <bmoses@google.com>
55716         [BZ #15915]
55717         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55718         * Makerules: ...here, and adjust associated comments.
55720 2013-10-02  Will Newton  <will.newton@linaro.org>
55722         * malloc/Makefile: Add tst-pvalloc.
55723         * malloc/tst-pvalloc.c: New file.
55725 2013-10-02  Will Newton  <will.newton@linaro.org>
55727         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55728         improve test coverage.
55730 2013-10-02  Will Newton  <will.newton@linaro.org>
55732         * malloc/Makefile: Add tst-posix_memalign.
55733         * malloc/tst-posix_memalign.c: New file.
55735 2013-10-01  Eric Blake  <eblake@redhat.com>
55737         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55738         Use __THROWNL rather than __THROW on static functions.
55740 2013-09-30  Petr Machata  <pmachata@redhat.com>
55742         * elf/elf.h (R_AARCH64_ABS16): New macro.
55743         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55744         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55745         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55746         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55747         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55748         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55749         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55750         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55751         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55752         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55753         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55754         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55755         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55756         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55757         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55758         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55759         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55760         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55761         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55762         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55763         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55764         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55765         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55766         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55767         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55768         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55769         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55770         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55771         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55772         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55773         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55774         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55775         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55776         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55777         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55778         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55779         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55780         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55781         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55782         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55783         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55784         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55785         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55786         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55787         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55788         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55789         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55790         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55791         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55792         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55793         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55794         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55795         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55796         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55797         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55798         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55799         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55800         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55801         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55802         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55803         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55804         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55805         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55806         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55807         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55808         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55809         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55810         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55811         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55812         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55813         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55814         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55815         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55816         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55817         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55818         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55819         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55820         (R_AARCH64_TLSDESC_LDR): Likewise.
55821         (R_AARCH64_TLSDESC_ADD): Likewise.
55822         (R_AARCH64_TLSDESC_CALL): Likewise.
55824 2013-09-30  Andreas Schwab  <schwab@suse.de>
55826         [BZ #15048]
55827         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55828         the nss database lookup.
55829         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55830         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55832 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55834         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55836 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55838         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55839         ${Bash-specific parameter/pattern/string} parameter expansion.
55840         * sysdeps/unix/make-syscalls.sh: Likewise.
55842 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55844         * sysdeps/sh/stackguard-macros.h: New file.
55846 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55850         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55851         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55852         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55853         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55855 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55857         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55858         Fix thread ID register.
55860 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55862         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55863         [POSIX || UNIX98]: Require rather than permitting all symbols from
55864         <time.h>.
55865         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55866         element of struct sched_param.
55867         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55868         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55869         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55870         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55871         constant.
55873 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55875         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55876         argument calculation.
55878 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55880         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55881         Expect macro.
55882         [POSIX] (pthread_attr_t): Do not require type.
55883         [POSIX] (pthread_cond_t): Likewise.
55884         [POSIX] (pthread_condattr_t): Likewise.
55885         [POSIX] (pthread_key_t): Likewise.
55886         [POSIX] (pthread_mutex_t): Likewise.
55887         [POSIX] (pthread_mutexattr_t): Likewise.
55888         [POSIX] (pthread_once_t): Likewise.
55889         [POSIX] (pthread_t): Likewise.
55890         [POSIX-based standards] (pthread_atfork): Expect function.
55892 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55893             Richard Sandiford  <richard@codesourcery.com>
55895         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55896         (swap_endianness_p): New extern variable.
55897         (set_big_endian): New inline function.
55898         (maybe_swap_uint32): Likewise.
55899         (maybe_swap_uint32_array): Likewise.
55900         (maybe_swap_uint32_obstack): Likewise.
55901         * locale/programs/locfile.c: Include <stdbool.h>.
55902         (swap_endianness_p): New variable.
55903         (add_locale_uint32): Call maybe_swap_uint32.
55904         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55905         (write_locale_data): Call maybe_swap_uint32_array.
55906         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55907         maybe_swap_uint32.
55908         (obstack_int32_grow_fast): Likewise.
55909         (output_weightwc): Call maybe_swap_uint32_obstack.
55910         (collate_output): Likewise.
55911         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55912         (OPT_LITTLE_ENDIAN): Likewise.
55913         (options): Add --little-endian and --big-endian options.
55914         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55915         * locale/programs/locarchive.c: Include "locfile.h".
55916         (GET): New macro.
55917         (SET): Likewise.
55918         (INC): Likewise.
55919         (create_archive): Use the new macros to access fields of
55920         structures directly mapped from or written to locale archives.
55921         (oldlocrecentcmp): Likewise.
55922         (enlarge_archive): Likewise.
55923         (insert_name): Likewise.
55924         (add_alias): Likewise.
55925         (add_locale): Likewise.
55926         (delete_locales_from_archive): Likewise.
55927         (show_archive_content): Likewise.
55928         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55929         locale data.
55931 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55933         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55934         http://www.gnu.org/doc/freemanuals.texi.
55935         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55937 2013-09-24  Will Newton  <will.newton@linaro.org>
55939         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55940         macro.
55942 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55944         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55945         unsigned char.
55947 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55949         * manual/threads.texi (POSIX Threads): Fix a typo.
55951 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55953         [BZ #14547]
55954         * string/tst-strcoll-overflow.c: New test case.
55955         * string/Makefile (xtests): Add tst-strcoll-overflow.
55956         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55957         cache if string sizes may cause integer overflow.
55959         [BZ #14547]
55960         * string/strcoll_l.c (coll_seq): New members rule, idx,
55961         save_idx and back_us.
55962         (get_next_seq_nocache): New function.
55963         (do_compare_nocache): New function.
55964         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55965         when malloc fails.
55967 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55969         [BZ #15754]
55970         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55971         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55972         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55974         [BZ #15754]
55975         * elf/Makefile (tests): Add tst-ptrguard1.
55976         (tests-static): Add tst-ptrguard1-static.
55977         (tst-ptrguard1-ARGS): Define.
55978         (tst-ptrguard1-static-ARGS): Define.
55979         * elf/tst-ptrguard1.c: New file.
55980         * elf/tst-ptrguard1-static.c: New file.
55981         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55982         * sysdeps/i386/stackguard-macros.h: Likewise.
55983         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55984         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55985         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55986         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55987         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55988         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55990 2013-09-23  Hector Marco  <hecmargi@upv.es>
55991             Ismael Ripoll  <iripoll@disca.upv.es>
55992             Carlos O'Donell  <carlos@redhat.com>
55994         [BZ #15754]
55995         * sysdeps/generic/stackguard-macros.h: Define
55996         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55997         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55998         Define __pointer_chk_guard_local.
55999         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
56000         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
56002 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
56004         [BZ #15859]
56005         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
56007 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
56009         * include/string.h (__ffs): Declare as hidden.
56010         * string/ffs.c (__ffs): Define as hidden.
56011         * sysdeps/i386/ffs.c (__ffs): Likewise.
56012         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
56013         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
56014         * sysdeps/s390/ffs.c (__ffs): Likewise.
56015         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
56017 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
56019         * NEWS: Mention malloc probes.
56021         * malloc/arena.c (new_heap): New memory_heap_new probe.
56022         (grow_heap): New memory_heap_more probe.
56023         (shrink_heap): New memory_heap_less probe.
56024         (heap_trim): New memory_heap_free probe.
56025         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
56026         (systrim): New memory_sbrk_less probe.
56027         * manual/probes.texi: Document them.
56029         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
56030         * manual/probes.texi: Document it.
56032         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
56033         (__libc_realloc): Add memory_realloc_retry probe.
56034         (__libc_memalign): Add memory_memalign_retry probe.
56035         (__libc_valloc): Add memory_valloc_retry probe.
56036         (__libc_pvalloc): Add memory_pvalloc_retry probe.
56037         (__libc_calloc): Add memory_calloc_retry probe.
56038         * manual/probes.texi: Document them.
56040         * malloc/arena.c (get_free_list): Add probe
56041         memory_arena_reuse_free_list.
56042         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
56043         and memory_arena_reuse.
56044         (arena_get2) [!PER_THREAD]: Likewise.
56045         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
56046         memory_arena_reuse_realloc.
56047         * manual/probes.texi: Document them.
56049         * malloc/malloc.c (__libc_free): Add
56050         memory_mallopt_free_dyn_thresholds probe.
56051         (__libc_mallopt): Add multiple memory_mallopt probes.
56052         * manual/probes.texi: Document them.
56054         * malloc/malloc.c: Include stap-probe.h.
56055         (__libc_mallopt): Add memory_mallopt probe.
56056         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56057         * manual/probes.texi: New.
56058         * manual/Makefile (chapters): Add probes.
56059         * manual/threads.texi: Set next node.
56061 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56063         [BZ #15963, #13985]
56064         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56065         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56066         Add `Chinese' to `nan' entry name.
56068 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56070         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56071         (POLYNOMIAL): Likewise.
56072         (TAYLOR_SINCOS): Likewise.
56073         (TAYLOR_SLOW): Likewise.
56074         (__sin): Use TAYLOR_SINCOS.
56075         (__cos): Likewise.
56076         (slow): Use TAYLOR_SLOW.
56077         (sloww): Likewise.
56078         (bsloww): Likewise.
56079         (csloww): Likewise.
56081 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56083         * stdlib/strtod_l.c: Fix buffer overrun.
56085 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56087         * benchtests/Makefile (bench): Add sincos.
56088         * benchtests/bench-sincos.c: New file.
56090         * math/libm-test.inc (cos_test_data): New test inputs.
56091         (sin_test_data): Likewise.
56093         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56094         macro.
56095         (__sin): Use it.
56096         (__cos): Likewise.
56097         (slow1): Likewise.
56098         (slow2): Likewise.
56099         (sloww1): Likewise.
56100         (sloww2): Likewise.
56101         (bsloww1): Likewise.
56102         (bsloww2): Likewise.
56103         (cslow2): Likewise.
56104         (csloww1): Likewise.
56105         (csloww2): Likewise.
56107         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56108         function.
56109         (__sin): Use it.
56110         (__cos): Likewise.
56112         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56113         gotos.
56114         (__cos): Likewise.
56116 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56118         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56119         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56120         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56121         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56122         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56123         * elf/cache.c (print_entry): Handle the new cache flags.
56125 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56126             Aldy Hernandez  <aldyh@redhat.com>
56128         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56129         Change condition to [_SOFT_FLOAT].
56130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56131         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56132         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56133         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56134         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56135         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56136         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56137         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56142         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56145         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56146         declaration.
56148 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56150         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56151         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56152         (__longjmp): Use LOAD_GP to load saved GPRs.
56153         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56154         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56155         (__sigsetjmp): Use SAVE_GP to save GPRs.
56157         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56158         Do not append -msoft-float.
56159         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56161 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56163         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56165 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56167         [BZ #15966]
56168         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56169         (_FPU_GETCW): Use initial "__" on variable and field names but not
56170         on macro parameter name.
56171         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56172         parentheses around reference to macro parameter.
56174 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56176         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56177         prototype.
56178         (ctype_startup): Use uint32_t in cast and sizeof for
56179         ctype->charnames.
56181 2013-09-11  Jia Liu  <proljc@gmail.com>
56183         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56184         __daddr_t_defined.
56185         [__FreeBSD__]: Likewise.
56187 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56189         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56190         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56191         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56192         (strchr): Remove __strchr_sse42 ifunc selection.
56193         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56194         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56196 2013-09-11  Will Newton  <will.newton@linaro.org>
56198         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56199         parameter to RES. Remove hardcoded 1000 value.
56200         * benchtests/bench-skeleton.c (main): Pass RES parameter
56201         to TIMING_INIT and multiply result by 1000.
56203 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56207 2013-09-11  Andreas Schwab  <schwab@suse.de>
56209         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56210         if not defined.
56211         (O_TMPFILE) [__USE_GNU]: Define.
56212         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56213         Define.
56215 2013-09-11  Will Newton  <will.newton@linaro.org>
56217         [BZ #15857]
56218         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56219         does not overflow.
56221 2013-09-11  Will Newton  <will.newton@linaro.org>
56223         [BZ #15856]
56224         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56225         does not overflow.
56227 2013-09-11  Will Newton  <will.newton@linaro.org>
56229         [BZ #15855]
56230         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56231         does not overflow.
56233 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56235         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56236         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56237         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56238         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56239         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56241 2013-09-10  Allan McRae  <allan@archlinux.org>
56243         [BZ #15748]
56244         * manual/arith.texi (Parsing of Floats): Clarify
56245         cross-reference.
56247         [BZ #15849]
56248         * manual/install.texi (Running make install): Mention
56249         --enable-pt-chown.
56250         * INSTALL: Regenerated.
56252 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56254         * csu/init-first.c (_init): Remove the !SHARED condition around
56255         FPU control word initialization.
56256         * elf/dl-support.c (_dl_fpu_control): New variable.
56257         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56258         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56259         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56260         * math/test-fpucw-static.c: New file.
56261         * math/test-fpucw-ieee.c: New file.
56262         * math/test-fpucw-ieee-static.c: New file.
56263         * math/Makefile (tests): Add `test-fpucw-ieee' and
56264         `$(tests-static)'.
56265         (tests-static): New variable.
56266         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56267         dependency to...
56268         [($(build-shared),yes)]
56269         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56270         ... this.
56271         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56272         New dependency.
56274 2013-09-09  Allan McRae  <allan@archlinux.org>
56276         [BZ #15939]
56277         * manual/string.texi (Collation Functions): Fix typo in
56278         strcoll example.
56279         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56281         [BZ #15893]
56282         * stdlib/isomac.c (get_null_defines): Fix memory leak.
56284         [BZ #15892]
56285         * libio/memstream.c (open_memstream): Fix memory leak.
56286         * libio/wmemstream.c (open_wmemstream): Likewise.
56288         [BZ #15895]
56289         * nscd/netgroupcache.c: Fix nesting of ifdefs.
56291 2013-09-09  Will Newton  <will.newton@linaro.org>
56293         * malloc/Makefile: Add tst-realloc to tests.
56294         * malloc/tst-realloc.c: New file.
56296 2013-09-09  Allan McRae  <allan@archlinux.org>
56298         [BZ #15844]
56299         * COPYING: Update from GNU website to fix FSF address.
56300         * COPYING.LIB: Likewise.
56302 2013-09-06  David S. Miller  <davem@davemloft.net>
56304         * po/zh_TW.po: Update Chinese (traditional) translation from
56305         translation project.
56307 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
56308             Joseph Myers  <joseph@codesourcery.com>
56310         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56311         "localeinfo.h".
56312         (obstack_chunk_alloc): New macro.
56313         (obstack_chunk_free): Likewise.
56314         (record_offset): New function.
56315         (init_locale_data): Likewise.
56316         (align_locale_data): Likewise.
56317         (add_locale_empty): Likewise.
56318         (add_locale_raw_data): Likewise.
56319         (add_locale_raw_obstack): Likewise.
56320         (add_locale_string): Likewise.
56321         (add_locale_wstring): Likewise.
56322         (add_locale_uint32): Likewise.
56323         (add_locale_uint32_array): Likewise.
56324         (add_locale_char): Likewise.
56325         (start_locale_structure): Likewise.
56326         (end_locale_structure): Likewise.
56327         (start_locale_prelude): Likewise.
56328         (end_locale_prelude): Likewise.
56329         (write_locale_data): Take locale_file structure rather than an
56330         iovec.
56331         * locale/programs/locfile.h: Include "obstack.h".
56332         (struct locale_file): Change to store locale file contents instead
56333         of header.
56334         (init_locale_data): New prototype.
56335         (align_locale_data): Likewise.
56336         (add_locale_empty): Likewise.
56337         (add_locale_raw_data): Likewise.
56338         (add_locale_raw_obstack): Likewise.
56339         (add_locale_string): Likewise.
56340         (add_locale_wstring): Likewise.
56341         (add_locale_uint32): Likewise.
56342         (add_locale_uint32_array): Likewise.
56343         (add_locale_char): Likewise.
56344         (start_locale_structure): Likewise.
56345         (end_locale_structure): Likewise.
56346         (start_locale_prelude): Likewise.
56347         (end_locale_prelude): Likewise.
56348         (write_locale_data): Update prototype.
56349         * locale/programs/3level.h (struct TABLE): Remove result field.
56350         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56351         Use new locale_file interface.
56352         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56353         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56354         * locale/programs/ld-address.c (address_output): Use new
56355         locale_file interface.
56356         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56357         NO_ADD_LOCALE.
56358         (collate_finish): Don't call collseq_table_finalize.
56359         (collate_output): Use new locale_file interface.
56360         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56361         in file.
56362         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56363         (TABLE): Move defines earlier in file.
56364         (ELEMENT): Likewise.
56365         (DEFAULT): Likewise.
56366         (wctrans_table_add): Move macro and inline function earlier in
56367         file.
56368         (struct wctype_table): Move type earlier in file.
56369         (add_locale_wctype_table): New static prototype.
56370         (struct locale_ctype_t): Use logical types instead of struct iovec
56371         pointers for members.
56372         (ctype_output): Use new locale_file interface.
56373         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56374         new locale_file interface.
56375         (allocate_arrays): Update for use of new locale_file interface.
56376         * locale/programs/ld-identification.c (identification_output): Use
56377         new locale_file interface.
56378         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56379         * locale/programs/ld-messages.c (messages_output): Likewise.
56380         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56381         * locale/programs/ld-name.c (name_output): Likewise.
56382         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56383         * locale/programs/ld-paper.c (paper_output): Likewise.
56384         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56385         * locale/programs/ld-time.c (time_output): Likewise.
56387 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56389         * benchtests/Makefile: Add memrchr benchmark.
56390         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56391         benchmark as memrchr.
56392         * benchtests/bench-memrchr-ifunc.c: New file.
56393         * benchtests/bench-memrchr.c: New file.
56395 2013-09-06   Will Newton  <will.newton@linaro.org>
56397         * benchtests/Makefile (string-bench): Add memcpy.
56399 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56400             Cong Wang  <amwang@redhat.com>
56402         [BZ #15850]
56403         * sysdeps/unix/sysv/linux/bits/in.h
56404         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56405         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56406         before __USE_KERNEL_IPV6_DEFS uses.
56407         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56408         IPPROTO_BEETPH.
56409         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56410         sockaddr_in6, or ipv6_mreq.
56412 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56414         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56415         memory access for final bytes in some large inputs.
56416         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56418 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56420         * string/test-memrchr.c: New file.
56421         * string/test-memrchr-ifunc.c: New file.
56422         * string/Makefile: Add new memrchr testcase.
56424 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
56426         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56427         fanotify_init returns EPERM.
56429 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56431         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56432         errors.
56433         (top level): Treat second token from macro or constant entries for
56434         allowed headers as allowed.
56435         * include/complex.h: Condition internal declarations on
56436         [!_ISOMAC].
56437         * include/fenv.h: Condition include of <stdbool.h> and internal
56438         declarations on [!_ISOMAC].
56440 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
56442         [BZ #15923]
56443         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56445 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56447         * configure.in (--enable-versioning): Remove configure option.
56448         (libc_cv_asm_symver_directive): Remove configure test.
56449         (libc_cv_ld_version_script_option): Likewise.
56450         (VERSIONING): Remove variable and AC_SUBST.
56451         (DO_VERSIONING): Remove AC_DEFINE.
56452         * configure: Regenerated.
56453         * config.h.in (DO_VERSIONING): Remove macro.
56454         * Makerules [$(versioning) = yes]: Change conditionals to
56455         [$(build-shared) = yes].
56456         * config.make.in (versioning): Remove variable.
56457         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56458         [$(build-shared) = yes].
56459         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56460         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56461         * elf/Makefile [$(versioning) = yes]: Change conditionals to
56462         [$(build-shared) = yes].
56463         * extra-lib.mk [$(versioning) = yes]: Likewise.
56464         * hurd/Makefile [$(versioning) = yes]: Likewise.
56465         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56466         [SHARED].
56467         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56468         [SHARED].
56469         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56470         [SHARED && !NO_HIDDEN].
56471         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56472         [SHARED].
56473         [SHARED && DO_VERSIONING]: Likewise..
56474         * libio/Makefile [$(versioning) = yes]: Change conditionals to
56475         [$(build-shared) = yes].
56476         * manual/install.texi (--disable-versioning): Remove
56477         documentation.
56478         * INSTALL: Regenerated.
56479         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56480         to [SHARED].
56481         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56482         [$(build-shared) = yes].
56483         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56484         * sysdeps/i386/i686/multiarch/strstr-c.c
56485         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56486         [SHARED && !NO_HIDDEN].
56487         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56488         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56489         * sysdeps/powerpc/powerpc32/dl-machine.c
56490         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56491         * sysdeps/powerpc/powerpc32/sysdep.h
56492         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56493         to [SHARED && PIC && !NO_HIDDEN].
56494         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56495         conditional to [SHARED].
56497 2013-09-04   Will Newton  <will.newton@linaro.org>
56499         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56500         * benchtests/bench-string.h: Include bench-timing.h instead
56501         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56502         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56503         call to HP_TIMING_DIFF_INIT.
56504         * benchtests/bench-memccpy.c: Use bench-timing.h macros
56505         instead of hp-timing.h macros.
56506         * benchtests/bench-memchr.c: Likewise.
56507         * benchtests/bench-memcmp.c: Likewise.
56508         * benchtests/bench-memcpy.c: Likewise.
56509         * benchtests/bench-memmem.c: Likewise.
56510         * benchtests/bench-memmove.c: Likewise.
56511         * benchtests/bench-memset.c: Likewise.
56512         * benchtests/bench-rawmemchr.c: Likewise.
56513         * benchtests/bench-strcasecmp.c: Likewise.
56514         * benchtests/bench-strcasestr.c: Likewise.
56515         * benchtests/bench-strcat.c: Likewise.
56516         * benchtests/bench-strchr.c: Likewise.
56517         * benchtests/bench-strcmp.c: Likewise.
56518         * benchtests/bench-strcpy.c: Likewise.
56519         * benchtests/bench-strcpy_chk.c: Likewise.
56520         * benchtests/bench-strlen.c: Likewise.
56521         * benchtests/bench-strncasecmp.c: Likewise.
56522         * benchtests/bench-strncat.c: Likewise.
56523         * benchtests/bench-strncmp.c: Likewise.
56524         * benchtests/bench-strncpy.c: Likewise.
56525         * benchtests/bench-strnlen.c: Likewise.
56526         * benchtests/bench-strpbrk.c: Likewise.
56527         * benchtests/bench-strrchr.c: Likewise.
56528         * benchtests/bench-strspn.c: Likewise.
56529         * benchtests/bench-strstr.c: Likewise.
56531 2013-09-04  Will Newton  <will.newton@linaro.org>
56533         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56535 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56537         [BZ #15427]
56538         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56539         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56540         * math/libm-test.inc (lgamma_test_data): Add more tests.
56541         * sysdeps/i386/fpu/libm-test-ulps: Update.
56542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56544 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56546         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56548         Add ifunc.
56549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56550         Add strcmp-sse2-unaligned
56551         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56553 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56555         * Versions.def (libc): Add GLIBC_2.19.
56557 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56559         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56560         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56562 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56564         [BZ #14155]
56565         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56566         intermediate calculations in recurrence.
56567         (__ieee754_ynf): Likewise.
56568         * math/libm-test.inc (jn_test_data): Do not allow spurious
56569         underflow exception.  Add more tests.
56570         (yn_test_data): Add more tests.
56571         * sysdeps/i386/fpu/libm-test-ulps: Update.
56572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56574 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56576         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56578 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56580         * csu/init-first.c: Fix then/than typos.
56581         * locale/programs/ld-collate.c: Likewise.
56582         * locale/programs/linereader.h: Likewise.
56583         * manual/charset.texi: Likewise.
56584         * manual/filesys.texi: Likewise.
56585         * manual/stdio.texi: Likewise.
56586         * manual/string.texi: Likewise.
56587         * stdlib/fmtmsg.c: Likewise.
56588         * sysdeps/i386/stpncpy.S: Likewise.
56589         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56590         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56591         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56592         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56594 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56596         * elf/dl-open.c: Fix typos.
56597         * iconvdata/gbbig5.c: Likewise.
56598         * iconvdata/iso-2022-jp.c: Likewise.
56599         * iconv/gconv_int.h: Likewise.
56600         * iconv/loop.c: Likewise.
56601         * nis/rpcsvc/nis.h: Likewise.
56602         * resolv/ns_name.c: Likewise.
56603         * stdio-common/vfscanf.c: Likewise.
56604         * streams/stropts.h: Likewise.
56605         * sunrpc/rpc_thread.c: Likewise.
56606         * sysdeps/i386/strpbrk.S: Likewise.
56607         * sysdeps/ieee754/k_standard.c: Likewise.
56608         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56609         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56610         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56611         * sysdeps/mach/hurd/profil.c: Likewise.
56612         * sysdeps/s390/dl-procinfo.h: Likewise.
56613         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56614         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56615         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56616         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56617         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56619 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56621         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56624 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56626         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56627         aix specific files.
56628         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56629         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56630         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56631         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56632         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56633         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56634         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56635         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56637 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56638             Roland McGrath  <roland@hack.frob.com>
56640         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56641         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56643 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56645         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56646         __executable_start symbol instead of _start.
56648 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56650         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56651         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56652         Move macros to...
56653         * sysdeps/gnu/ldsodefs.h: ... this new file.
56655         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56656         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56657         instead of ELFOSABI_LINUX.
56659         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56660         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56661         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56662         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56663         Likewise.
56664         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56665         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56666         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56667         Likewise.
56668         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56669         (ibm_extended_long_double): Add ieee_nan member.
56670         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56671         (do_test): New function.
56673         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56674         TEST_TRUNC.
56675         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56676         functions, renamed from truncdfsf_test, trunctfsf_test,
56677         trunctfdf_test.
56678         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56679         functions.
56680         (do_test): Run all these.
56682 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56684         * argp/argp-help.c: Fix typos.
56685         * argp/argp-parse.c: Likewise.
56686         * debug/backtracesyms.c: Likewise.
56687         * elf/elf.h: Likewise.
56688         * malloc/malloc.c: Likewise.
56689         * nis/nis_print.c: Likewise.
56690         * resolv/res_comp.c: Likewise.
56691         * stdlib/stdlib.h: Likewise.
56692         * sunrpc/clnt_tcp.c: Likewise.
56693         * sunrpc/clnt_udp.c: Likewise.
56694         * sunrpc/clnt_unix.c: Likewise.
56695         * sysdeps/unix/bsd/ptsname.c: Likewise.
56696         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56697         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56699         Likewise.
56700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56701         Likewise.
56702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56703         Likewise.
56704         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56706 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56708         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56711 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56713         [BZ #15897]
56714         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56715         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56716         ($(objpfx)bug-dl-leaf): New rule.
56717         ($(objpfx)bug-dl-leaf.so): Likewise.
56718         ($(objpfx)bug-dl-leaf.out): Likewise.
56719         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56720         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56721         * dlfcn/bug-dl-leaf.c: New test.
56722         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56723         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56724         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56725         (dlclose): Likewise.
56726         (dlmopen): Likewise.
56728 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56730         * include/netdb.h [!_ISOMAC]:
56731         Don't include <tls.h>.
56732         (h_errno, __libc_h_errno): Move declaration and macros out of
56733         [_LIBC_REENTRANT].
56735         * include/resolv.h [_RESOLV_H_]:
56736         Don't include <tls.h>.
56737         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56738         * resolv/res_libc.c: Don't include <tls.h>.
56739         (_res): Use __attribute__ ((nocommon)) in place of
56740         __attribute__ ((section (".bss"))).
56742         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56743         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56745         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56747         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56748         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56750         * resolv/res_mkquery.c: Include <sys/time.h>.
56752         * inet/ifreq.c: Moved to ...
56753         * sysdeps/unix/ifreq.c: ... here.
56754         * inet/ifreq.c: New file, true stub version.
56756         * socket/sa_len.c: New file.
56757         * socket/Makefile (aux): Add it.
56758         * sysdeps/unix/sysv/linux/Makefile
56759         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56760         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56761         and #include <socket/sa_len.c>.
56762         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56763         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56765         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56766         * bits/socket.h: ... here.
56768         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56769         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56770         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56772 2013-08-27  Andreas Schwab  <schwab@suse.de>
56774         [BZ #15736]
56775         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56776         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56777         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56778         * string/test-strcasecmp.c (test_main): Run tests in several
56779         locales.
56780         * string/test-strncasecmp.c (test_main): Likewise.
56782         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56783         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56784         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56785         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56786         (__strncasecmp_ssse3) [PIC]: Likewise.
56788 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56790         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56792         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56793         instead of explicitly declaring xdecrypt.
56794         * nis/nss_nis/nis-publickey.c: Likewise.
56796 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56798         [BZ #15890]
56799         * nscd/aicache.c: Include res_hconf.h.
56800         (addhstaiX): Initialize res_hconf.
56802 2013-08-26  Andreas Schwab  <schwab@suse.de>
56804         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56805         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56807 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56809         * nscd/aicache.c (addhstaiX): Fix indentation.
56811 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56813         * configure.ac: Quote $build_pt_chown test.
56814         * configure: Regenerated.
56816 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56818         [BZ #15532]
56819         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56820         * math/s_cexpf.c (__cexpf): Likewise.
56821         * math/s_cexpl.c (__cexpl): Likewise.
56822         * math/libm-test.inc (cexp_test_data): Correct expected return
56823         value for NaN + i0.  Add another test.
56825 2013-08-22  David S. Miller  <davem@davemloft.net>
56827         * po/ca.po: Update Catalan translation from translation project.
56828         * po/uk.po: Add Ukrainian translations from translation project.
56830 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56832         [BZ #15797]
56833         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56834         is infinite, not alongside NaN test.
56835         * math/s_fdimf.c (__fdimf): Likewise.
56836         * math/s_fdiml.c (__fdiml): Likewise.
56837         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56838         errno is unchanged.
56840 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56842         * argp/argp-help.c: Fix typos.
56843         * crypt/speeds.c: Likewise.
56844         * csu/check_fds.c: Likewise.
56845         * elf/dl-load.c: Likewise.
56846         * elf/dl-open.c: Likewise.
56847         * elf/reldep3.c: Likewise.
56848         * elf/reldep.c: Likewise.
56849         * elf/sprof.c: Likewise.
56850         * iconv/iconv_charmap.c: Likewise.
56851         * iconv/skeleton.c: Likewise.
56852         * iconv/strtab.c: Likewise.
56853         * io/lockf64.c: Likewise.
56854         * libio/libioP.h: Likewise.
56855         * resolv/gai_notify.c: Likewise.
56856         * resolv/ns_name.c: Likewise.
56857         * resolv/ns_samedomain.c: Likewise.
56858         * resolv/res_send.c: Likewise.
56859         * stdlib/random.c: Likewise.
56860         * sunrpc/rpc/xdr.h: Likewise.
56861         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56862         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56863         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56864         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56865         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56866         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56868         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56869         * sysdeps/mach/hurd/check_fds.c: Likewise.
56870         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56871         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56872         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56873         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56874         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56875         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56876         * sysdeps/pthread/aio_notify.c: Likewise.
56877         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56878         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56879         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56880         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56881         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56883 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56885         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56886         version if bit_Slow_SSE4_2 is set.
56887         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56888         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56890 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56892         [BZ #15867]
56893         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56894         trampoline stack frame information.
56895         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56896         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56897         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56898         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56899         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56900         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56901         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56902         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56903         sa_flags value.
56904         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56905         interrupting a syscall and set with option SA_SIGINFO.
56907 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56909         [BZ #15531]
56910         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56911         argument is infinite.
56912         * math/s_cprojf.c (__cprojf): Likewise.
56913         * math/s_cprojl.c (__cprojl): Likewise.
56914         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56915         * math/libm-test.inc (cproj_test_data): Add more tests.
56917         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56919         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56920         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56921         size.  Use __ffs to determine corresponding shift.
56923 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56924             Roland McGrath  <roland@hack.frob.com>
56926         * Makefile (INSTALL): Remove trailing blank lines from output of
56927         makeinfo.
56929 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56931         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56932         Align 32 bit compat elf_greg to 8 bytes.
56934 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56936         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56938 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56940         * string/strcoll_l.c (coll_seq): New structure.
56941         (get_next_seq_cached): New function.
56942         (get_next_seq): New function.
56943         (do_compare): New function.
56944         (STRCOLL): Use GNU style definition.  Simplify implementation
56945         by using get_next_seq, get_next_seq_cached and do_compare.
56947 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56949         [BZ #14699]
56950         CVE-2013-4237
56951         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56952         member.
56953         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56954         member.
56955         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56956         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56957         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56958         conditional.
56959         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56960         GETDENTS_64BIT_ALIGNED.
56961         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56962         * manual/filesys.texi (Reading/Closing Directory): Document
56963         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56964         strongly.
56965         * manual/conf.texi (Limits for Files): Add portability note to
56966         NAME_MAX, PATH_MAX.
56967         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56969 2013-08-13  Andreas Schwab  <schwab@suse.de>
56971         [BZ #15749]
56972         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56973         of fabs.
56974         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56975         LDBL_MAX_EXP >= 16384]: Add tests for it.
56977 2013-08-12  David S. Miller  <davem@davemloft.net>
56979         * version.h (RELEASE): Set to "development".
56980         (VERSION): Set to "2.18.90".
56981         * NEWS: Add 2.19 section.
56983 2013-08-03  David S. Miller  <davem@davemloft.net>
56985         * po/ko.po: Update Korean translation from translation project.
56987 2013-08-01  David S. Miller  <davem@davemloft.net>
56989         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56990         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56991         Bilka.
56993 2013-07-30  David S. Miller  <davem@davemloft.net>
56995         * po/fr.po: Update French translation from translation project.
56997 2013-07-28  David S. Miller  <davem@davemloft.net>
56999         * po/cs.po: Update Czech translation from translation project.
57001         * po/sv.po: Update Swedish translation from translation project.
57003 2013-07-27  David S. Miller  <davem@davemloft.net>
57005         * po/eo.po: Update Esperanto translation from translation project.
57007         * po/vi.po: Update Vietnamese translation from translation project.
57009         * po/de.po: Update German translation from translation project.
57011 2013-07-26  David S. Miller  <davem@davemloft.net>
57013         * po/bg.po: Update Bulgarian translation from translation project.
57015         * po/nl.po: Update Dutch translation from translation project.
57016         * po/pl.po: Update Polish translation from translation project.
57017         * po/ru.po: Update Russian translation from translation project.
57019 2013-07-24  David S. Miller  <davem@davemloft.net>
57021         * po/libc.pot: Update.
57023 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57025         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
57026         variable page size.
57027         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
57028         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
57029         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
57031 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57033         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
57035 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57036             Andreas Schwab  <schwab@suse.de>
57037             Roland McGrath  <roland@hack.frob.com>
57038             Joseph Myers  <joseph@codesourcery.com>
57039             Carlos O'Donell  <carlos@redhat.com>
57041         [BZ #15755]
57042         * config.h.in: Define HAVE_PT_CHOWN.
57043         * config.make.in (build-pt-chown): New variable.
57044         * configure.in (--enable-pt_chown): New configure option.
57045         * configure: Regenerate.
57046         * login/Makefile: Include Makeconfig.  Build pt_chown only if
57047         build-pt-chown is enabled.
57048         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
57049         pt_chown to fix pty ownership.
57050         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
57051         CLOSE_ALL_FDS.
57052         * manual/install.texi (Configuring and compiling): Mention
57053         --enable-pt_chown. Add @findex for grantpt.
57054         * INSTALL: Regenerate.
57056 2013-07-20  David S. Miller  <davem@davemloft.net>
57058         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57059         difference between 32-bit and 64-bit.
57061 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57063         [BZ #15711]
57064         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57065         Avoid system header dependency with -ffreestanding.
57066         ($(objpfx)bits/syscall%d): Likewise.
57068 2013-07-13  David S. Miller  <davem@davemloft.net>
57070         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57071         underflows from atanl/atan2l due to bug 15319.
57072         (casinh_test_data): Likewise.
57074 2013-07-07  David S. Miller  <davem@davemloft.net>
57076         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57078 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57080         * sysdeps/i386/fpu/libm-test-ulps: Update.
57081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57083 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57085         * configure.in (--enable-lock-elision): Fix message text.
57086         * INSTALL: Regenerate.
57087         * configure: Regenerate.
57089 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57093 2013-07-03  Andreas Jaeger  <aj@suse.de>
57095         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57096         define.
57097         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57098         (ptrace_peeksiginfo_args): Add.
57099         (__ptrace_peeksiginfo_flags): Add.
57100         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57101         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57102         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57104 2013-07-03  Allan McRae  <allan@archlinux.org>
57106         * sysdeps/i386/fpu/libm-test-ulps: Update.
57108 2013-07-02  David S. Miller  <davem@davemloft.net>
57110         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57112 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57116 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57118         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57121 2013-07-02  Andi Kleen <ak@linux.intel.com>
57123         * config.h.in (ENABLE_LOCK_ELISION): Add.
57124         * configure.in (--enable-lock-elision): Add option.
57125         * manual/install.texi: Document --enable lock elision.
57126         * configure: Regenerate
57127         * INSTALL: Regenerate.
57129 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57131         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57132         SSE4.2 strcasecmp for libc.a.
57133         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57135 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57137         [BZ #13304]
57138         * soft-fp/op-common.h (_FP_FMA): New macro.
57139         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57140         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57141         (_FP_MUL_MEAT_1_imm): ... here.
57142         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57143         (_FP_MUL_MEAT_1_wide): ... here.
57144         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57145         (_FP_MUL_MEAT_1_hard): ... here.
57146         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57147         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57148         (_FP_MUL_MEAT_2_wide): ... here.
57149         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57150         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57151         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57152         (_FP_MUL_MEAT_2_gmp): ... here.
57153         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57154         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57155         (_FP_MUL_MEAT_4_wide): ... here.
57156         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57157         (_FP_MUL_MEAT_4_gmp): ... here.
57158         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57159         (_FP_WFRACBITS_DW_S): Likewise.
57160         (_FP_WFRACXBITS_DW_S): Likewise.
57161         (_FP_HIGHBIT_DW_S): Likewise.
57162         (FP_FMA_S): Likewise.
57163         (_FP_FRAC_HIGH_DW_S): Likewise.
57164         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57165         (_FP_WFRACBITS_DW_D): Likewise.
57166         (_FP_WFRACXBITS_DW_D): Likewise.
57167         (_FP_HIGHBIT_DW_D): Likewise.
57168         (FP_FMA_D): Likewise.
57169         (_FP_FRAC_HIGH_DW_D): Likewise.
57170         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57171         (_FP_WFRACBITS_DW_E): Likewise.
57172         (_FP_WFRACXBITS_DW_E): Likewise.
57173         (_FP_HIGHBIT_DW_E): Likewise.
57174         (FP_FMA_E): Likewise.
57175         (_FP_FRAC_HIGH_DW_E): Likewise.
57176         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57177         (_FP_WFRACBITS_DW_Q): Likewise.
57178         (_FP_WFRACXBITS_DW_Q): Likewise.
57179         (_FP_HIGHBIT_DW_Q): Likewise.
57180         (FP_FMA_Q): Likewise.
57181         (_FP_FRAC_HIGH_DW_Q): Likewise.
57182         * soft-fp/fmasf4.c: New file.
57183         * soft-fp/fmadf4.c: Likewise.
57184         * soft-fp/fmatf4.c: Likewise.
57186 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57188         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57189         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57190         Silvermont.
57191         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57192         macro.
57193         (index_Slow_SSE4_2): Likewise.
57194         (index_Prefer_PMINUB_for_stringop): Likewise.
57195         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57196         bit_Slow_SSE4_2 is set.
57197         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57198         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57200 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57202         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57203         rtld_global._dl_hwcap2.
57204         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57205         POWER8.
57206         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57207         POWER8 feature descriptions defined in _dl_hwcap2.
57208         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57209         string handling for POWER8 feature bits.
57210         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57211         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57212         _dl_powerpc_cap_flags.
57213         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57214         * sysdeps/powerpc/rtld-global-offsets.sym
57215         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57216         _dl_hwcap2 in the rtld_global_ro structure.
57218 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57220         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57221         hardware capabilities in support of AT_HWCAP2.
57222         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57223         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57224         GLRO(dl_hwcap2).
57225         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57226         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57227         explicitly the unknown a_type display mechanism is used.
57228         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57229         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57230         struct member.
57231         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57232         to macro prototype for AT_HWCAP2 support.
57233         * sysdeps/i386/dl-procinfo.h: Likewise.
57234         * sysdeps/s390/dl-procinfo.h: Likewise.
57235         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57236         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57237         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57238         return -1 for unknown a_type display fallback.
57239         * sysdeps/sparc/dl-procinfo.h: Likewise.
57240         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57241         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57243 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57245         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57246         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57248 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57250         [BZ #12492]
57251         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57252         mprotect making __stack_prot writable.
57254 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57255             Joseph Myers  <joseph@codesourcery.com>
57257         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57258         as being properly aligned.
57260 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57262         * dlfcn/modstatic5.c: New file.
57263         * dlfcn/tststatic5.c: New file.
57264         * dlfcn/Makefile (tests): Add tststatic5.
57265         (tests-static): Likewise.
57266         (modules-names): Add modstatic5.
57267         (tststatic5-ENV): New variable.
57268         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57270         [BZ #15022]
57271         * elf/dl-support.c (_dl_main_map): New variable.
57272         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57273         (_dl_nns, _dl_load_adds): Set to 1.
57274         (_dl_initial_searchlist): Refer to _dl_main_map.
57275         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57276         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57277         call to _dl_get_origin.
57278         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57279         around call_map.
57280         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57281         * dlfcn/modstatic3.c: New file.
57282         * dlfcn/tststatic3.c: New file.
57283         * dlfcn/tststatic4.c: New file.
57284         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57285         (tests-static): Likewise.
57286         (modules-names): Add modstatic3.
57287         (tststatic3-ENV, tststatic4-ENV): New variables.
57288         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57289         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57291 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
57293         * configure.in (CC): Require GCC version 4.4 or later.
57294         * configure: Regenerated.
57295         * manual/install.texi (Tools for Compilation): Update GCC version
57296         requirement.
57297         * INSTALL: Regenerated.
57299 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57301         [BZ #15674]
57302         * string/test-memcmp.c (check2): New.
57303         (main): Call check2.
57305         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57307 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
57309         [BZ #15022]
57310         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57311         over to...
57312         (dl_open_worker) [!SHARED]: ... here.
57314 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57316         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57318 2013-06-25  Richard Henderson  <rth@redhat.com>
57320         * locale/programs/locarchive.c: Include <libc-internal.h>
57322 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
57324         * manual/texinfo.tex: Update to version 2013-06-21.17, with
57325         trailing whitespace removed.
57327 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57329         [BZ #10283]
57330         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57331         * locale/programs/locarchive.c: Include libc-mmap.h.
57332         (prepare_address_space): Take two new outputs (the mmap base and len).
57333         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
57334         values.
57335         (create_archive): Declare new mmap base and len values for
57336         prepare_address_space, and store the result in ah.
57337         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57338         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57339         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57340         Declare new mmap base and len values for
57341         prepare_address_space, and store the result in new_ah.
57342         (open_archive): Declare new mmap base and len values for
57343         prepare_address_space, and store the result in ah.
57344         (close_archive): If ah->mmap_base is not NULL, use that and
57345         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57346         * sysdeps/generic/libc-mmap.h: New file.
57348 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57350         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57351         (ALIGN_UP): Likewise.
57352         (PTR_ALIGN_DOWN): Likewise.
57353         (PTR_ALIGN_UP): Likewise.
57355 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57357         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57358         entry mapped to PPC_PLATFORM_POWER8.
57359         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57360         POWER8.
57361         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57362         (_dl_string_platform): Add case for exporting platform position for
57363         POWER8.
57364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57365         search path to sysdeps/powerpc/powerpc32/power8 directory.
57366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57367         search path to sysdeps/powerpc/powerpc64/power8 directory.
57368         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57369         power7 directories.
57370         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57371         power7 directories.
57373 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57375         * INSTALL: Regenerate.
57377         * nscd/connections.c (nscd_init): Fix comment.
57379 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57381         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57383         [BZ #15667]
57384         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57385         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57387 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57389         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57390         DL_DST_REQ_STATIC.
57391         (DL_DST_REQ_STATIC): Remove macro.
57393 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57395         [BZ #7006]
57396         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57397         with a shift of 0 bits.
57399 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57401         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57402         $(tststatic-ENV).
57404 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57406         [BZ #15655]
57407         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57409 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57411         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57412         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57413         accepts -fno-tree-loop-distribute-patterns.
57414         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57415         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57416         recursive call.
57417         * string/memset.c (memset): Likewise.
57418         * string/test-memmove.c (simple_memmove): Disable loop transformation
57419         to library calls.
57420         * string/test-memset.c (simple_memset): Likewise.
57421         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57422         * benchtests/bench-memset.c (simple_memset): Likewise.
57423         * configure: Regenerated.
57425 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
57427         * math/test-misc.c (main): Ignore fesetround failure when failures
57428         of subsequent rounding tests would be ignored.
57430         [BZ #15654]
57431         * math/fedisblxcpt.c (fedisableexcept): Return 0.
57432         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57433         * math/fegetenv.c (__fegetenv): Return 0.
57434         * math/fegetexcept.c (fegetexcept): Return 0.
57435         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57436         FE_TONEAREST.
57437         * math/feholdexcpt.c (feholdexcept): Return 0.
57438         * math/fesetenv.c (__fesetenv): Return 0.
57439         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57440         argument FE_TONEAREST.
57441         * math/feupdateenv.c (__feupdateenv): Return 0.
57442         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57444 2013-06-18  Roland McGrath  <roland@hack.frob.com>
57446         * elf/rtld-Rules (rtld-compile-command.S): New variable.
57447         (rtld-compile-command.s, rtld-compile-command.c): New variables.
57448         ($(objpfx)rtld-%.os rules): Use them.
57450 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57452         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57453         fields.
57455 2013-06-17  Roland McGrath  <roland@hack.frob.com>
57457         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57458         length of target pattern, then descending length of dependency pattern.
57459         * configure.in (AWK): Require gawk 3.1.2 or newer.
57460         * manual/install.texi (Tools for Compilation): Say that we do.
57461         * configure: Regenerated.
57463         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57464         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57465         * scripts/sysd-rules.awk: ... this new script.
57466         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57467         than a glob-style pattern.
57469 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
57471         * math/test-misc.c (main): Do not treat incorrectly rounded
57472         conversions as failure unless ROUNDING_TESTS passes.
57474 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
57476         [BZ #15631]
57477         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57478         restore exception state around main square root computation, then
57479         check for inexactness explicitly.
57481         * math/libm-test.inc (fma_test_data): Add another test.
57483 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57485         * manual/threads.texi (Non-POSIX Extensions): New document
57486         node.  Document pthread_getattr_default_np and
57487         pthread_setattr_default_np.
57489         * Versions.def (libpthread): Add GLIBC_2.18.
57490         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57492         Likewise.
57493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57494         Likewise.
57495         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57496         Likewise.
57497         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57498         Likewise.
57499         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57500         Likewise.
57501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57502         Likewise.
57503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57504         Likewise.
57505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57506         Likewise.
57507         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57508         Likewise.
57510 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57513         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57515 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57516             H.J. Lu  <hjl.tools@gmail.com>
57518         [BZ #15627]
57519         * sysdeps/x86_64/rtld-memset.c: Remove file.
57520         * sysdeps/x86_64/rtld-memset.S: New file.
57522 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57524         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57525         (test_in_one_mode): Take arguments for whether the rounding mode
57526         is supported for each floating-point type.
57527         (do_test): Pass new arguments to test_in_one_mode using
57528         ROUNDING_TESTS.
57530 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57532         * posix/tst-waitid.c (do_test): Distinguish different instances of
57533         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57534         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57535         before entering the kernel for waitpid.
57537 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57539         * NEWS: Fix note on clock function precision.  Text by Roland
57540         McGrath.
57542 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57544         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57545         it into place only when and if the sanity check passes.
57547 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57549         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57550         output for whether conversion result is exact.  Take argument
57551         indicating whether type is IBM long double.
57552         (round_for_all): Change need_exact field to ibm_ld.
57553         * stdlib/tst-strtod-round.c (struct exactness): New type.
57554         (struct test): Change bool ld_ok field to struct exactness exact.
57555         (TEST): Update all definitions for change to field.
57556         (tests): Regenerate array contents.
57557         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57558         field value.  Check for IBM long double here.
57559         (do_test): Update calls to test_in_one_mode.
57561 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57563         [BZ #12515]
57564         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57565         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57567 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57569         [BZ #15605]
57570         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57571         generated by the compiler on loop optimizations.
57572         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57573         general definitions.
57575 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57577         * math/bug-nextafter.c: Include <math-tests.h>.
57578         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57579         the relevant type.
57580         * math/bug-nexttoward.c: Include <math-tests.h>.
57581         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57582         the relevant type.
57583         * math/test-misc.c: Include <math-tests.h>.
57584         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57585         the relevant type.
57587 2013-06-12  Andreas Jaeger  <aj@suse.de>
57589         * po/ia.po: Update Interlingua translation from translation
57590         project.
57592 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57594         * include/fenv.h: Include stdbool.h.
57595         (struct rm_ctx): New structure.
57596         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57597         Define macro.
57598         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57599         (SET_RESTORE_ROUNDF): Likewise.
57600         (SET_RESTORE_ROUNDL): Likewise.
57601         (SET_RESTORE_ROUND_NOEX): Likewise.
57602         (SET_RESTORE_ROUND_NOEXF): Likewise.
57603         (SET_RESTORE_ROUND_NOEXL): Likewise.
57604         (SET_RESTORE_ROUND_53BIT): Likewise.
57605         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57606         (libc_feresetround_noexf_ctx): Likewise.
57607         (libc_feresetround_noexl_ctx): Likewise.
57608         (libc_feholdsetround_53bit_ctx): Likewise.
57609         (libc_feresetround_53bit_ctx): Likewise.
57610         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57611         (libc_feholdexcept_setround_sse_ctx): New function.
57612         (libc_fesetenv_sse_ctx): Likewise.
57613         (libc_feupdateenv_sse_ctx): Likewise.
57614         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57615         (libc_feholdexcept_setround_387_ctx): Likewise.
57616         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57617         (libc_feholdsetround_387_prec_ctx): Likewise.
57618         (libc_feholdsetround_387_ctx): Likewise.
57619         (libc_feholdsetround_387_53bit_ctx): Likewise.
57620         (libc_feholdsetround_sse_ctx): Likewise.
57621         (libc_feresetround_sse_ctx): Likewise.
57622         (libc_feresetround_387_ctx): Likewise.
57623         (libc_feupdateenv_387_ctx): Likewise.
57624         (libc_feholdexcept_setroundf_ctx): Define macro.
57625         (libc_fesetenvf_ctx): Likewise.
57626         (libc_feupdateenvf_ctx): Likewise.
57627         (libc_feholdsetroundf_ctx): Likewise.
57628         (libc_feresetroundf_ctx): Likewise.
57629         (libc_feholdexcept_setround_ctx): Likewise.
57630         (libc_fesetenv_ctx): Likewise.
57631         (libc_feupdateenv_ctx): Likewise.
57632         (libc_feholdsetround_ctx): Likewise.
57633         (libc_feresetround_ctx): Likewise.
57634         (libc_feholdexcept_setroundl_ctx): Likewise.
57635         (libc_feupdateenvl_ctx): Likewise.
57636         (libc_feholdsetroundl_ctx): Likewise.
57637         (libc_feresetroundl_ctx): Likewise.
57638         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57639         (libc_feresetround_53bit_ctx): Likewise.
57641 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57643         * locale/iso-639.def: Convert to UTF-8.
57645 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57647         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57648         (EXCEPTION_TESTS_double): Likewise.
57649         (EXCEPTION_TESTS_long_double): Likewise.
57650         (EXCEPTION_TESTS): Likewise.
57651         * math/libm-test.inc (test_exceptions): Only test exceptions if
57652         EXCEPTION_TESTS (FLOAT).
57654 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57656         * benchtests/Makefile (string-bench): Add strcpy_chk and
57657         stpcpy_chk.
57658         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57659         * benchtests/bench-stpcpy_chk.c: New file.
57660         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57661         * benchtests/bench-strcpy_chk.c: New file.
57662         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57663         code.
57664         (do_test): Likewise.
57666 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57668         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57669         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57670         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57671         with tabs where appropriate.
57672         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57673         dl-procinfo.h.
57674         [PPC_PLATFORM_PPC440]: Likewise.
57675         [PPC_PLATFORM_PPC464]: Likewise.
57676         [PPC_PLATFORM_PPC476]: Likewise.
57677         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57678         ppc464, and ppc476 platform strings merging from ports/
57679         dl-procinfo.h.
57681 2013-06-11  Andreas Schwab  <schwab@suse.de>
57683         [BZ #14991]
57684         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57685         (from_ucs4_idx): Regenerate.
57686         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57687         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57688         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57689         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57690         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57691         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57692         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57693         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57694         from FROM_LOOP and TO_LOOP specific macros.
57695         (BODY): Handle combining characters.
57696         * iconvdata/BIG5HKSCS.irreversible: Update.
57697         * iconvdata/BIG5HKSCS.precomposed: New file.
57698         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57699         characters.
57700         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57702 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57704         * include/sys/time.h: Fix indentation and add copyright header.
57706         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57707         (do_test): Likewise.
57708         * string/test-memchr.c (do_one_test): Likewise.
57709         (do_test): Likewise.
57710         * string/test-memcmp.c (do_one_test): Likewise.
57711         (do_test): Likewise.
57712         * string/test-memcpy.c (do_one_test): Likewise.
57713         (do_test): Likewise.
57714         * string/test-memmem.c (do_one_test): Likewise.
57715         (do_test): Likewise.
57716         (do_random_tests): Likewise.
57717         * string/test-memmove.c (do_one_test): Likewise.
57718         (do_test): Likewise.
57719         * string/test-memset.c (do_one_test): Likewise.
57720         (do_test): Likewise.
57721         * string/test-rawmemchr.c (do_one_test): Likewise.
57722         (do_test): Likewise.
57723         * string/test-strcasecmp.c (do_one_test): Likewise.
57724         (do_test): Likewise.
57725         * string/test-strcasestr.c (do_one_test): Likewise.
57726         (do_test): Likewise.
57727         * string/test-strcat.c (do_one_test): Likewise.
57728         (do_test): Likewise.
57729         * string/test-strchr.c (do_one_test): Likewise.
57730         (do_test): Likewise.
57731         * string/test-strcmp.c (do_one_test): Likewise.
57732         (do_test): Likewise.
57733         * string/test-strcpy.c (do_one_test): Likewise.
57734         (do_test): Likewise.
57735         * string/test-string.h: Likewise.
57736         (test_init): Likewise.
57737         * string/test-strlen.c (do_one_test): Likewise.
57738         (do_test): Likewise.
57739         * string/test-strncasecmp.c (do_one_test): Likewise.
57740         (do_test): Likewise.
57741         * string/test-strncat.c (do_one_test): Likewise.
57742         (do_test): Likewise.
57743         * string/test-strncmp.c (do_one_test): Likewise.
57744         (do_test_limit): Likewise.
57745         (do_test): Likewise.
57746         * string/test-strncpy.c (do_one_test): Likewise.
57747         (do_test): Likewise.
57748         * string/test-strnlen.c (do_one_test): Likewise.
57749         (do_test): Likewise.
57750         * string/test-strpbrk.c (do_one_test): Likewise.
57751         (do_test): Likewise.
57752         * string/test-strrchr.c (do_one_test): Likewise.
57753         (do_test): Likewise.
57754         * string/test-strspn.c (do_one_test): Likewise.
57755         (do_test): Likewise.
57756         * string/test-strstr.c (do_one_test): Likewise.
57757         (do_test): Likewise.
57759         * benchtests/Makefile (string-bench): Add string benchmarks.
57760         * benchtests/bench-bcopy-ifunc.c: New file.
57761         * benchtests/bench-bcopy.c: New file.
57762         * benchtests/bench-bzero-ifunc.c: New file.
57763         * benchtests/bench-bzero.c: New file.
57764         * benchtests/bench-memccpy-ifunc.c: New file.
57765         * benchtests/bench-memccpy.c: New file.
57766         * benchtests/bench-memchr-ifunc.c: New file.
57767         * benchtests/bench-memchr.c: New file.
57768         * benchtests/bench-memcmp-ifunc.c: New file.
57769         * benchtests/bench-memcmp.c: New file.
57770         * benchtests/bench-memmem-ifunc.c: New file.
57771         * benchtests/bench-memmem.c: New file.
57772         * benchtests/bench-memmove-ifunc.c: New file.
57773         * benchtests/bench-memmove.c: New file.
57774         * benchtests/bench-mempcpy-ifunc.c: New file.
57775         * benchtests/bench-mempcpy.c: New file.
57776         * benchtests/bench-memset-ifunc.c: New file.
57777         * benchtests/bench-memset.c: New file.
57778         * benchtests/bench-rawmemchr-ifunc.c: New file.
57779         * benchtests/bench-rawmemchr.c: New file.
57780         * benchtests/bench-stpcpy-ifunc.c: New file.
57781         * benchtests/bench-stpcpy.c: New file.
57782         * benchtests/bench-stpncpy-ifunc.c: New file.
57783         * benchtests/bench-stpncpy.c: New file.
57784         * benchtests/bench-strcasecmp-ifunc.c: New file.
57785         * benchtests/bench-strcasecmp.c: New file.
57786         * benchtests/bench-strcasestr-ifunc.c: New file.
57787         * benchtests/bench-strcasestr.c: New file.
57788         * benchtests/bench-strcat-ifunc.c: New file.
57789         * benchtests/bench-strcat.c: New file.
57790         * benchtests/bench-strchr-ifunc.c: New file.
57791         * benchtests/bench-strchr.c: New file.
57792         * benchtests/bench-strchrnul-ifunc.c: New file.
57793         * benchtests/bench-strchrnul.c: New file.
57794         * benchtests/bench-strcmp-ifunc.c: New file.
57795         * benchtests/bench-strcmp.c: New file.
57796         * benchtests/bench-strcpy-ifunc.c: New file.
57797         * benchtests/bench-strcpy.c: New file.
57798         * benchtests/bench-strcspn-ifunc.c: New file.
57799         * benchtests/bench-strcspn.c: New file.
57800         * benchtests/bench-strlen-ifunc.c: New file.
57801         * benchtests/bench-strlen.c: New file.
57802         * benchtests/bench-strncasecmp-ifunc.c: New file.
57803         * benchtests/bench-strncasecmp.c: New file.
57804         * benchtests/bench-strncat-ifunc.c: New file.
57805         * benchtests/bench-strncat.c: New file.
57806         * benchtests/bench-strncmp-ifunc.c: New file.
57807         * benchtests/bench-strncmp.c: New file.
57808         * benchtests/bench-strncpy-ifunc.c: New file.
57809         * benchtests/bench-strncpy.c: New file.
57810         * benchtests/bench-strnlen-ifunc.c: New file.
57811         * benchtests/bench-strnlen.c: New file.
57812         * benchtests/bench-strpbrk-ifunc.c: New file.
57813         * benchtests/bench-strpbrk.c: New file.
57814         * benchtests/bench-strrchr-ifunc.c: New file.
57815         * benchtests/bench-strrchr.c: New file.
57816         * benchtests/bench-strspn-ifunc.c: New file.
57817         * benchtests/bench-strspn.c: New file.
57818         * benchtests/bench-strstr-ifunc.c: New file.
57819         * benchtests/bench-strstr.c: New file.
57821         * benchtests/Makefile: Disable parallel execution of targets.
57822         (string-bench): Add memcpy.
57823         (benchset): New variable to store a list of benchmark sets.
57824         (bench-func): Renamed from bench.
57825         (bench-set): New target.
57826         (bench): Depend on bench-func and bench-set.
57827         * benchtests/README: Add section on benchmark sets.
57828         * benchtests/bench-memcpy-ifunc.c: New file.
57829         * benchtests/bench-memcpy.c: New file.
57830         * benchtests/bench-string.h: New file.
57832 2013-06-11  Andreas Schwab  <schwab@suse.de>
57834         [BZ #15577]
57835         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57836         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57837         values in the triple.
57838         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57839         terminator in the group key.
57841 2013-06-11  Andreas Jaeger  <aj@suse.de>
57843         * po/zh_TW.po: Update Chinese (traditional) translation from
57844         translation project.
57846 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57848         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57849         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57850         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57851         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57852         (clock_getcpuclockid): Likewise.
57853         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57854         Add weak_alias and libc_hidden_def.
57855         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57856         * rt/clock_gettime.c (clock_gettime): Rename to
57857         __clock_gettime.  Add weak_alias and libc_hidden_def.
57858         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57859         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57860         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57861         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57862         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57863         Likewise.
57864         * rt/clock_settime.c (clock_settime): Rename to
57865         __clock_settime.  Add weak_alias and libc_hidden_def.
57866         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57868 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57870         * mach/err_boot.sub: Remove trailing whitespace.
57871         * mach/err_ipc.sub: Likewise.
57872         * mach/err_mach.sub: Likewise.
57874         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57875         (ROUNDING_TESTS_double): Likewise.
57876         (ROUNDING_TESTS_long_double): Likewise.
57877         (ROUNDING_TESTS): Likewise.
57878         * math/libm-test.inc: Include <math-tests.h>.
57879         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57880         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57881         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57882         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57884 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57886         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57887         of assigning.
57889 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57891         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57892         otherwise empty TRANS lines.
57893         * sysdeps/gnu/errlist.c: Regenerated.
57895         * catgets/gencat.c (error_print): Use (void) in function
57896         definition.
57897         * crypt/crypt_util.c (__init_des): Likewise.
57898         * crypt/speeds.c (Stop): Likewise.
57899         (main): Likewise.
57900         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57901         * inet/ruserpass.c (token): Likewise.
57902         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57903         * intl/localealias.c (extend_alias_table): Likewise.
57904         * intl/plural-exp.c (init_germanic_plural): Likewise.
57905         * libio/fcloseall.c (__fcloseall): Likewise.
57906         * libio/genops.c (_IO_flush_all): Likewise.
57907         (_IO_flush_all_linebuffered): Likewise.
57908         (_IO_cleanup): Likewise.
57909         (_IO_iter_begin): Likewise.
57910         (_IO_iter_end): Likewise.
57911         (_IO_list_lock): Likewise.
57912         (_IO_list_unlock): Likewise.
57913         (_IO_list_resetlock): Likewise.
57914         * libio/getchar.c (getchar): Likewise.
57915         * libio/getchar_u.c (getchar_unlocked): Likewise.
57916         * libio/getwchar.c (getwchar): Likewise.
57917         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57918         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57919         * login/getpt.c (__getpt): Likewise.
57920         * login/tst-utmp.c (main): Likewise.
57921         * malloc/hooks.c (__malloc_check_init): Likewise.
57922         * malloc/malloc.c (__malloc_stats): Likewise.
57923         * malloc/mtrace.c (tr_break): Likewise.
57924         (mtrace): Likewise.
57925         (muntrace): Likewise.
57926         * misc/fstab.c (endfsent): Likewise.
57927         * misc/getclktck.c (__getclktck): Likewise.
57928         * misc/getdtsz.c (__getdtablesize): Likewise.
57929         * misc/gethostid.c (gethostid): Likewise.
57930         * misc/getpagesize.c (__getpagesize): Likewise.
57931         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57932         (__get_nprocs): Likewise.
57933         (__get_phys_pages): Likewise.
57934         (__get_avphys_pages): Likewise.
57935         * misc/getttyent.c (getttyent): Likewise.
57936         (setttyent): Likewise.
57937         (endttyent): Likewise.
57938         * misc/getusershell.c (getusershell): Likewise.
57939         (endusershell): Likewise.
57940         (setusershell): Likewise.
57941         (initshells): Likewise.
57942         * misc/hsearch.c (__hdestroy): Likewise.
57943         * misc/sync.c (sync): Likewise.
57944         * misc/syslog.c (closelog_internal): Likewise.
57945         (closelog): Likewise.
57946         * misc/ttyslot.c (ttyslot): Likewise.
57947         * misc/vhangup.c (vhangup): Likewise.
57948         * posix/fork.c (__fork): Likewise.
57949         * posix/getegid.c (__getegid): Likewise.
57950         * posix/geteuid.c (__geteuid): Likewise.
57951         * posix/getgid.c (__getgid): Likewise.
57952         * posix/getpid.c (__getpid): Likewise.
57953         * posix/getppid.c (__getppid): Likewise.
57954         * posix/getuid.c (__getuid): Likewise.
57955         * posix/pause.c (pause): Likewise.
57956         * posix/setpgrp.c (setpgrp): Likewise.
57957         * posix/setsid.c (__setsid): Likewise.
57958         * posix/test-vfork.c (noop): Likewise.
57959         * resolv/gethnamaddr.c (_endhtent): Likewise.
57960         (_gethtent): Likewise.
57961         (ht_endhostent): Likewise.
57962         (gethostent): Likewise.
57963         (dns_service): Likewise.
57964         * stdlib/drand48.c (drand48): Likewise.
57965         * stdlib/lrand48.c (lrand48): Likewise.
57966         * stdlib/mrand48.c (mrand48): Likewise.
57967         * stdlib/rand.c (rand): Likewise.
57968         * stdlib/random.c (__random): Likewise.
57969         * stdlib/setenv.c (clearenv): Likewise.
57970         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57971         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57972         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57973         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57974         (__get_nprocs): Likewise.
57975         (__get_phys_pages): Likewise.
57976         (__get_avphys_pages): Likewise.
57977         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57978         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57979         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57980         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57981         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57982         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57983         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57984         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57985         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57986         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57987         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57988         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57989         * sysdeps/posix/clock.c (clock): Likewise.
57990         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57991         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57992         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57993         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57994         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57995         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57996         (__get_nprocs_conf): Likewise.
57997         (__get_phys_pages): Likewise.
57998         (__get_avphys_pages): Likewise.
57999         * time/clock.c (clock): Likewise.
58000         * time/tzset.c (__tzname_max): Likewise.
58002 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
58004         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
58005         (__bswap_32): Do not use "register".
58006         * crypt/crypt.c (_ufc_doit_r): Likewise.
58007         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
58008         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
58009         * gmon/gmon.c (__monstartup): Likewise.
58010         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
58011         * hurd/hurdmalloc.c (more_memory): Likewise.
58012         (malloc): Likewise.
58013         (free): Likewise.
58014         (realloc): Likewise.
58015         (malloc_fork_prepare): Likewise.
58016         (malloc_fork_parent): Likewise.
58017         (malloc_fork_child): Likewise.
58018         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
58019         (_svcauth_des): Likewise.
58020         * inet/inet_lnaof.c (inet_lnaof): Likewise.
58021         * inet/inet_net.c (inet_network): Likewise.
58022         * inet/inet_netof.c (inet_netof): Likewise.
58023         * inet/rcmd.c (__validuser2_sa): Likewise.
58024         * io/fts.c (fts_open): Likewise.
58025         (fts_load): Likewise.
58026         (fts_close): Likewise.
58027         (fts_read): Likewise.
58028         (fts_children): Likewise.
58029         (fts_build): Likewise.
58030         (fts_stat): Likewise.
58031         (fts_sort): Likewise.
58032         (fts_alloc): Likewise.
58033         (fts_lfree): Likewise.
58034         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
58035         (_IO_file_xsgetn): Likewise.
58036         (_IO_file_xsgetn_mmap): Likewise.
58037         * libio/iofopncook.c (_IO_cookie_read): Likewise.
58038         (_IO_cookie_write): Likewise.
58039         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
58040         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
58041         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
58042         * malloc/obstack.c (_obstack_begin): Likewise.
58043         (_obstack_begin_1): Likewise.
58044         (_obstack_newchunk): Likewise.
58045         (_obstack_allocated_p): Likewise.
58046         (obstack_free): Likewise.
58047         (_obstack_memory_used): Likewise.
58048         * misc/getttyent.c (getttynam): Likewise.
58049         (getttyent): Likewise.
58050         (skip): Likewise.
58051         (value): Likewise.
58052         * misc/getusershell.c (initshells): Likewise.
58053         * misc/syslog.c (__vsyslog_chk): Likewise.
58054         * misc/ttyslot.c (ttyslot): Likewise.
58055         * nis/nis_hash.c (__nis_hash): Likewise.
58056         * posix/fnmatch_loop.c (FCT): Likewise.
58057         * posix/getconf.c (print_all): Likewise.
58058         (main): Likewise.
58059         * posix/getopt.c (exchange): Likewise.
58060         * posix/glob.c (globfree): Likewise.
58061         (prefix_array): Likewise.
58062         (__glob_pattern_type): Likewise.
58063         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58064         (NS_GET32): Likewise.
58065         (NS_PUT16): Likewise.
58066         (NS_PUT32): Likewise.
58067         * resolv/gethnamaddr.c (getanswer): Likewise.
58068         (gethostbyname2): Likewise.
58069         (gethostbyaddr): Likewise.
58070         (_gethtent): Likewise.
58071         (_gethtbyname2): Likewise.
58072         (_gethtbyaddr): Likewise.
58073         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58074         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58075         * resolv/res_init.c (__res_vinit): Likewise.
58076         (net_mask): Likewise.
58077         * resolv/res_mkquery.c (outchar): Likewise.
58078         (PRINT): Likewise.
58079         * stdio-common/printf_fp.c (outchar): Likewise.
58080         (PRINT): Likewise.
58081         * stdio-common/printf_fphex.c (outchar): Likewise.
58082         (PRINT): Likewise.
58083         * stdio-common/printf_size.c (outchar): Likewise.
58084         (PRINT): Likewise.
58085         * stdio-common/test_rdwr.c (main): Likewise.
58086         * stdio-common/tfformat.c (matches): Likewise.
58087         * stdio-common/vfprintf.c (outchar): Likewise.
58088         (printf_unknown): Likewise.
58089         (buffered_vfprintf): Likewise.
58090         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58091         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58092         (ReadFile): Likewise.
58093         * stdlib/qsort.c (SWAP): Likewise.
58094         (_quicksort): Likewise.
58095         * stdlib/setenv.c (__add_to_environ): Likewise.
58096         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58097         * stdlib/strtol_l.c (__strtol_l): Likewise.
58098         * stdlib/tst-strtod.c (main): Likewise.
58099         * stdlib/tst-strtol.c (main): Likewise.
58100         * stdlib/tst-strtoll.c (main): Likewise.
58101         * string/bits/string2.h (__strcmp_cc): Likewise.
58102         (__strcmp_cg): Likewise.
58103         (__strcspn_c1): Likewise.
58104         (__strcspn_c2): Likewise.
58105         (__strcspn_c3): Likewise.
58106         (__strspn_c1): Likewise.
58107         (__strspn_c2): Likewise.
58108         (__strspn_c3): Likewise.
58109         (__strsep_1c): Likewise.
58110         (__strsep_2c): Likewise.
58111         (__strsep_3c): Likewise.
58112         * string/memccpy.c (__memccpy): Likewise.
58113         * string/stpcpy.c (__stpcpy): Likewise.
58114         * string/strcmp.c (strcmp): Likewise.
58115         * string/strrchr.c (strrchr): Likewise.
58116         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58117         Likewise.
58118         * sysdeps/mach/hurd/getcwd.c
58119         (_hurd_canonicalize_directory_name_internal): Likewise.
58120         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58121         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58122         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58123         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58124         Likewise, in both definitions.
58125         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58126         definitions.
58127         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58128         64] (__bswap_64): Likewise.
58129         * time/test_time.c (main): Likewise.
58130         * time/tzfile.c (__tzfile_read): Likewise.
58131         (__tzfile_compute): Likewise.
58132         * time/tzset.c (__tzset_parse_tz): Likewise.
58133         (tzset_internal): Likewise.
58134         (compute_change): Likewise.
58135         * wcsmbs/wcscat.c (__wcscat): Likewise.
58136         * wcsmbs/wcschr.c (wcschr): Likewise.
58137         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58138         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58139         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58140         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58141         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58142         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58143         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58144         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58145         * wcsmbs/wmemset.c (wmemset): Likewise.
58147 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58149         * scripts/config.guess: Update to version 2013-05-16.
58150         * scripts/config.sub: Update to version 2013-04-24.
58151         * scripts/install-sh: Update to version 2011-11-20.07.
58152         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58153         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58155 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58157         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58158         * elf/sln.c: Likewise.
58159         * hurd/hurd/ioctl.h: Likewise.
58160         * hurd/hurdmalloc.c: Likewise.
58161         * hurd/xattr.c: Likewise.
58162         * include/shlib-compat.h: Likewise.
58163         * inet/ruserpass.c: Likewise.
58164         * libio/iofgets_u.c: Likewise.
58165         * libio/iofgetws_u.c: Likewise.
58166         * locale/programs/ld-identification.c: Likewise.
58167         * locale/programs/ld-time.c: Likewise.
58168         * mach/msg-destroy.c: Likewise.
58169         * nss/nss_files/files-netgrp.c: Likewise.
58170         * resolv/res_data.c: Likewise.
58171         * soft-fp/op-1.h: Likewise.
58172         * soft-fp/op-2.h: Likewise.
58173         * soft-fp/op-4.h: Likewise.
58174         * soft-fp/op-common.h: Likewise.
58175         * stdio-common/printf_fphex.c: Likewise.
58176         * stdlib/strtod_l.c: Likewise.
58177         * sunrpc/rpc/clnt.h: Likewise.
58178         * sysdeps/generic/framestate.c: Likewise.
58179         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58180         * sysdeps/i386/bsd-setjmp.S: Likewise.
58181         * sysdeps/i386/__longjmp.S: Likewise.
58182         * sysdeps/i386/setjmp.S: Likewise.
58183         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58184         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58185         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58186         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58187         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58188         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58189         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58190         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58191         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58192         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58193         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58194         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58195         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58196         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58197         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58198         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58199         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58200         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58201         * sysdeps/ieee754/support.c: Likewise.
58202         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58203         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58204         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58205         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58206         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58207         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58208         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58209         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58210         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58211         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58212         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58213         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58214         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58215         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58216         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58217         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58218         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58221 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58223         * posix/transbug.c: Remove executable mode.
58225 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58227         * crypt/speeds.c: Remove trailing whitespace.
58228         * dlfcn/default.c: Likewise.
58229         * elf/ifuncdep2.c: Likewise.
58230         * elf/ifuncmain1.c: Likewise.
58231         * elf/ifuncmain1vis.c: Likewise.
58232         * elf/testobj.h: Likewise.
58233         * elf/tst-stackguard1.c: Likewise.
58234         * gmon/sys/gmon.h: Likewise.
58235         * hurd/hurdmsg.c: Likewise.
58236         * hurd/new-fd.c: Likewise.
58237         * hurd/ports-get.c: Likewise.
58238         * iconvdata/ibm1008_420.c: Likewise.
58239         * inet/tst-getni1.c: Likewise.
58240         * inet/tst-getni2.c: Likewise.
58241         * libio/ioungetc.c: Likewise.
58242         * libio/wfiledoalloc.c: Likewise.
58243         * manual/libm-err-tab.pl: Likewise.
58244         * math/w_dremf.c: Likewise.
58245         * misc/ftruncate.c: Likewise.
58246         * posix/bug-glob2.c: Likewise.
58247         * posix/tst-pcre.c: Likewise.
58248         * posix/wait4.c: Likewise.
58249         * resolv/README: Likewise.
58250         * resolv/res_debug.h: Likewise.
58251         * resolv/tst-inet_ntop.c: Likewise.
58252         * setjmp/bug269-setjmp.c: Likewise.
58253         * soft-fp/extended.h: Likewise.
58254         * soft-fp/op-1.h: Likewise.
58255         * soft-fp/op-2.h: Likewise.
58256         * soft-fp/op-4.h: Likewise.
58257         * soft-fp/op-8.h: Likewise.
58258         * soft-fp/testit.c: Likewise.
58259         * stdio-common/bug16.c: Likewise.
58260         * stdlib/random.c: Likewise.
58261         * sunrpc/rpcsvc/rquota.x: Likewise.
58262         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58263         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58264         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58265         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58266         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58267         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58268         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58269         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58270         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58271         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58272         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58273         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58274         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58275         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58276         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58277         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58278         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58279         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58280         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58281         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58282         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58283         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58284         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58285         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58286         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58287         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58288         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58289         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58290         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58291         * sysdeps/ieee754/s_lib_version.c: Likewise.
58292         * sysdeps/mach/hurd/check_fds.c: Likewise.
58293         * sysdeps/mach/hurd/getsockname.c: Likewise.
58294         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58295         * sysdeps/mach/hurd/recvfrom.c: Likewise.
58296         * sysdeps/powerpc/bits/link.h: Likewise.
58297         * sysdeps/powerpc/dl-procinfo.c: Likewise.
58298         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58299         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58300         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58301         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58302         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58303         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58304         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58305         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58306         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58307         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58308         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58309         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58310         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58311         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58312         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58313         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58314         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58315         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58316         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58317         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58318         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58319         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58320         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58321         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
58322         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58323         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58324         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58325         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58326         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58327         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58328         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58329         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58330         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58331         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58332         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58333         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58334         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58335         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58336         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58337         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58338         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58339         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58340         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58341         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58342         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58343         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58344         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58345         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58346         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58347         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58348         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58349         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58350         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58351         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58352         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58353         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58354         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58355         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58356         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58357         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58358         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58359         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58360         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58361         * sysdeps/powerpc/sysdep.h: Likewise.
58362         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58363         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58364         * sysdeps/sh/dl-trampoline.S: Likewise.
58365         * sysdeps/sh/memset.S: Likewise.
58366         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58367         * sysdeps/sh/strlen.S: Likewise.
58368         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58369         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58370         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58371         * sysdeps/sparc/sparc32/rem.S: Likewise.
58372         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58373         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58374         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58375         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58376         * sysdeps/sparc/sparc32/urem.S: Likewise.
58377         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58378         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58379         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58380         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58381         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58382         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58383         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58384         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58385         * sysdeps/unix/bsd/times.c: Likewise.
58386         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58387         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58391         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58392         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58393         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58394         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58395         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58396         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58397         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58398         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58399         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58400         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58401         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58402         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58403         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58404         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58405         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58406         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58407         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58408         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58409         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58410         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58411         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58412         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58413         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58414         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58415         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58416         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58417         * sysdeps/x86_64/strcspn.S: Likewise.
58419 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58421         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58422         generated file.  Regenerate properly from gen-translit.pl.
58423         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
58424         locale/C-translit.h.
58426 2013-06-05  Andreas Schwab  <schwab@suse.de>
58428         [BZ #15100]
58429         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58430         week as 6 instead of -1.
58431         * time/tst-strptime.c (day_tests): Add test case.
58433 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58435         * sysdeps/generic/math_private.h
58436         (libc_feholdexcept_setround_53bit): Replace with
58437         libc_feholdsetround_53bit.
58438         (libc_feupdateenv_53bit): Replace with
58439         libc_feresetround_53bit.
58440         (SET_RESTORE_ROUND_53BIT): Adjust.
58442 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58444         * string/test-strchrnul.c: Add copyright header.
58446         * posix/tst-getaddrinfo4.c: Increase test timeout.
58448 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
58450         [BZ #15536]
58451         * math/libm-test.inc (MAX_EXP): Remove
58452         (MIN_EXP): Define.
58453         (ulp): Use MIN_EXP - MANT_DIG.
58454         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58456 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
58458         * po/be.po: Revert last change.
58459         * po/zh_CN.po: Likewise.
58460         * po/header.pot: Likewise.
58462 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
58464         * Makefile ($(common-objpfx)linkobj/libc.so): Define
58465         link-libc-deps to empty as target-specific variable.
58466         * Makerules (link-libc-args): New variable.
58467         (libc-for-link): Likewise.
58468         (link-libc-deps): Likewise.
58469         (lib%.so): Depend on $(link-libc-deps).  Link with
58470         $(link-libc-args).
58471         (build-module): Link with $(link-libc-args).
58472         (build-module-asneeded): Likewise.
58473         (build-module-helper-objlist): Filter out $(link-libc-deps) from
58474         list of objects.
58475         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58476         target-specific variable.
58477         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58478         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58479         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58480         libc.
58481         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58482         libc and ld.so.
58483         ($(objpfx)libpcprofile.so): Likewise.
58484         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58485         libc_nonshared.a.
58486         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58487         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58488         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58489         $(link-libc-deps).
58490         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58491         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58492         * login/Makefile ($(objpfx)libutil.so): Likewise.
58493         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58494         * math/Makefile ($(objpfx)libm.so): Likewise.
58495         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58496         $(objpfx)libnsl.so): Define libc-for-link as target-specific
58497         variable instead of depending directly on libc.
58498         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58499         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58500         $(link-libc-deps).
58501         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58502         libc.
58503         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58504         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58505         ($(objpfx)libanl.so): Likewise.
58506         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58507         ld.so.
58508         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58509         $(link-libc-deps).
58510         * sysdeps/i386/fpu/Makefile: Remove file.
58511         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58512         ($(objpfx)libm.so): Remove dependency on ld.so.
58514 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58516         [BZ # 15553]
58517         * nis/yp_xdr.c (XDRMAXNAME): Define.
58518         (XDRMAXRECORD): Define.
58519         (xdr_domainname): Use XDRMAXNAME.
58520         (xdr_mapname): Likewise.
58521         (xdr_peername): Likewise.
58522         (xdr_keydat): Use XDRMAXRECORD.
58523         (xdr_valdat): Likewise.
58525 2013-05-30  Jeff Law  <law@redhat.com>
58527         [BZ #14256]
58528         * manual/errno.texi (ESTALE): Update to account for more than
58529         just NFS file systems.
58530         * sysdeps/gnu/errlist.c: Regenerated.
58532 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58534         [BZ #15465]
58535         * elf/Makefile (tests): Add tst-null-argv.
58536         (modules-names):  Add tst-null-argv-lib.
58537         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58538         (tst-null-argv-ENV): Set environment for tst-null-argv.
58539         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58540         (RTLD_PROGNAME): New macro.
58541         * elf/tst-null-argv.c: New test case.
58542         * elf/tst-null-argv-lib.c: Library for test case.
58543         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58544         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58545         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58546         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58547         * elf/dl-init.c (call_init): Likewise.
58548         (_dl_init): Likewise.
58549         * elf/dl-load.c (print_search_path): Likewise.
58550         (_dl_map_object): Likewise.
58551         * elf/dl-lookup.c (do_lookup_x): Likewise.
58552         (add_dependency): Likewise.
58553         (_dl_lookup_symbol_x): Likewise.
58554         (_dl_debug_bindings): Likewise.
58555         * elf/dl-open.c (_dl_show_scope): Likewise.
58556         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58557         * elf/dl-version.c (match_symbol): Likewise.
58558         (_dl_check_map_versions): Likewise.
58559         * elf/rtld.c (dl_main): Likewise.
58560         (print_unresolved): Use RTLD_PROGNAME.
58561         (print_missing_version): Likewise.
58562         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58563         (elf_machine_rela): Likewise.
58564         * sysdeps/powerpc/powerpc32/dl-machine.c
58565         (__process_machine_rela): Likewise.
58566         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58567         Likewise.
58568         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58569         Likewise.
58570         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58571         Likewise.
58572         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58573         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58574         Likewise.
58575         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58576         Likewise.
58577         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58579 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58581         * po/be.po: Add descriptive title.
58582         * po/zh_CN.po: Likewise.
58583         * po/header.pot: Likewise.
58585 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58587         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58588         error message.
58589         (enlarge_archive): Likewise.
58591 2013-05-28  Ben North  <ben@redfrontdoor.org>
58593         * manual/arith.texi (frexp): It is the magnitude of the return
58594         value which lies in [0.5, 1), not the return value itself.
58596 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58600 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58602         * stdio-common/bug26.c (main): Correct fscanf template.
58604         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58605         declare _dl_skip_args.
58607         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58608         Don't declare.
58610         * manual/platform.texi: Add missing @end deftypefun.
58612 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58614         [BZ #15529]
58615         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58616         bit of mantissa of 2^16382.
58617         * math/libm-test.inc (hypot_test_data): Add more tests.
58619         * math/libm-test.inc: Add drem and pow10 to list of tested
58620         functions.
58621         (pow10_test): New function.
58622         (drem_test): Likewise.
58623         (drem_test_tonearest): Likewise.
58624         (drem_test_towardzero): Likewise.
58625         (drem_test_downward): Likewise.
58626         (drem_test_upward): Likewise.
58627         (main): Call the new functions.
58629         * math/libm-test.inc (finite_test_data): Remove.
58630         (finite_test): Run tests from isfinite_test_data.
58631         (gamma_test_data): Remove.
58632         (gamma_test): Run tests from lgamma_test_data.
58633         * sysdeps/i386/fpu/libm-test-ulps: Update.
58634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58636 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58638         * manual/platform.texi: Add PowerPC PPR function set documentation.
58639         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58640         implementation.
58642 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58644         * math/libm-test.inc (MAX_EXP): Define.
58645         (ULPDIFF): Define.
58646         (ulp): New function.
58647         (check_float_internal): Use ULPDIFF.
58648         (cpow_test): Disable failing test.
58649         (check_ulp): Test ulp() implementation.
58650         (main): Call check_ulp before starting tests.
58652 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58654         * math/gen-libm-test.pl (generate_testfile): Do not handle
58655         START_DATA and END_DATA.
58656         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58657         END_DATA.
58658         (acos_tonearest_test_data): Likewise.
58659         (acos_towardzero_test_data): Likewise.
58660         (acos_downward_test_data): Likewise.
58661         (acos_upward_test_data): Likewise.
58662         (acosh_test_data): Likewise.
58663         (asin_test_data): Likewise.
58664         (asin_tonearest_test_data): Likewise.
58665         (asin_towardzero_test_data): Likewise.
58666         (asin_downward_test_data): Likewise.
58667         (asin_upward_test_data): Likewise.
58668         (asinh_test_data): Likewise.
58669         (atan_test_data): Likewise.
58670         (atanh_test_data): Likewise.
58671         (atan2_test_data): Likewise.
58672         (cabs_test_data): Likewise.
58673         (cacos_test_data): Likewise.
58674         (cacosh_test_data): Likewise.
58675         (carg_test_data): Likewise.
58676         (casin_test_data): Likewise.
58677         (casinh_test_data): Likewise.
58678         (catan_test_data): Likewise.
58679         (catanh_test_data): Likewise.
58680         (cbrt_test_data): Likewise.
58681         (ccos_test_data): Likewise.
58682         (ccosh_test_data): Likewise.
58683         (ceil_test_data): Likewise.
58684         (cexp_test_data): Likewise.
58685         (cimag_test_data): Likewise.
58686         (clog_test_data): Likewise.
58687         (clog10_test_data): Likewise.
58688         (conj_test_data): Likewise.
58689         (copysign_test_data): Likewise.
58690         (cos_test_data): Likewise.
58691         (cos_tonearest_test_data): Likewise.
58692         (cos_towardzero_test_data): Likewise.
58693         (cos_downward_test_data): Likewise.
58694         (cos_upward_test_data): Likewise.
58695         (cosh_test_data): Likewise.
58696         (cosh_tonearest_test_data): Likewise.
58697         (cosh_towardzero_test_data): Likewise.
58698         (cosh_downward_test_data): Likewise.
58699         (cosh_upward_test_data): Likewise.
58700         (cpow_test_data): Likewise.
58701         (cproj_test_data): Likewise.
58702         (creal_test_data): Likewise.
58703         (csin_test_data): Likewise.
58704         (csinh_test_data): Likewise.
58705         (csqrt_test_data): Likewise.
58706         (ctan_test_data): Likewise.
58707         (ctan_tonearest_test_data): Likewise.
58708         (ctan_towardzero_test_data): Likewise.
58709         (ctan_downward_test_data): Likewise.
58710         (ctan_upward_test_data): Likewise.
58711         (ctanh_test_data): Likewise.
58712         (ctanh_tonearest_test_data): Likewise.
58713         (ctanh_towardzero_test_data): Likewise.
58714         (ctanh_downward_test_data): Likewise.
58715         (ctanh_upward_test_data): Likewise.
58716         (erf_test_data): Likewise.
58717         (erfc_test_data): Likewise.
58718         (exp_test_data): Likewise.
58719         (exp_tonearest_test_data): Likewise.
58720         (exp_towardzero_test_data): Likewise.
58721         (exp_downward_test_data): Likewise.
58722         (exp_upward_test_data): Likewise.
58723         (exp10_test_data): Likewise.
58724         (exp2_test_data): Likewise.
58725         (expm1_test_data): Likewise.
58726         (fabs_test_data): Likewise.
58727         (fdim_test_data): Likewise.
58728         (finite_test_data): Likewise.
58729         (floor_test_data): Likewise.
58730         (fma_test_data): Likewise.
58731         (fma_towardzero_test_data): Likewise.
58732         (fma_downward_test_data): Likewise.
58733         (fma_upward_test_data): Likewise.
58734         (fmax_test_data): Likewise.
58735         (fmin_test_data): Likewise.
58736         (fmod_test_data): Likewise.
58737         (fpclassify_test_data): Likewise.
58738         (frexp_test_data): Likewise.
58739         (gamma_test_data): Likewise.
58740         (hypot_test_data): Likewise.
58741         (ilogb_test_data): Likewise.
58742         (isfinite_test_data): Likewise.
58743         (isgreater_test_data): Likewise.
58744         (isgreaterequal_test_data): Likewise.
58745         (isinf_test_data): Likewise.
58746         (isless_test_data): Likewise.
58747         (islessequal_test_data): Likewise.
58748         (islessgreater_test_data): Likewise.
58749         (isnan_test_data): Likewise.
58750         (isnormal_test_data): Likewise.
58751         (issignaling_test_data): Likewise.
58752         (isunordered_test_data): Likewise.
58753         (j0_test_data): Likewise.
58754         (j1_test_data): Likewise.
58755         (jn_test_data): Likewise.
58756         (ldexp_test_data): Likewise.
58757         (lgamma_test_data): Likewise.
58758         (lrint_test_data): Likewise.
58759         (lrint_tonearest_test_data): Likewise.
58760         (lrint_towardzero_test_data): Likewise.
58761         (lrint_downward_test_data): Likewise.
58762         (lrint_upward_test_data): Likewise.
58763         (llrint_test_data): Likewise.
58764         (llrint_tonearest_test_data): Likewise.
58765         (llrint_towardzero_test_data): Likewise.
58766         (llrint_downward_test_data): Likewise.
58767         (llrint_upward_test_data): Likewise.
58768         (log_test_data): Likewise.
58769         (log10_test_data): Likewise.
58770         (log1p_test_data): Likewise.
58771         (log2_test_data): Likewise.
58772         (logb_test_data): Likewise.
58773         (logb_downward_test_data): Likewise.
58774         (lround_test_data): Likewise.
58775         (llround_test_data): Likewise.
58776         (modf_test_data): Likewise.
58777         (nearbyint_test_data): Likewise.
58778         (nextafter_test_data): Likewise.
58779         (nexttoward_test_data): Likewise.
58780         (pow_test_data): Likewise.
58781         (pow_tonearest_test_data): Likewise.
58782         (pow_towardzero_test_data): Likewise.
58783         (pow_downward_test_data): Likewise.
58784         (pow_upward_test_data): Likewise.
58785         (remainder_test_data): Likewise.
58786         (remainder_tonearest_test_data): Likewise.
58787         (remainder_towardzero_test_data): Likewise.
58788         (remainder_downward_test_data): Likewise.
58789         (remainder_upward_test_data): Likewise.
58790         (remquo_test_data): Likewise.
58791         (rint_test_data): Likewise.
58792         (rint_tonearest_test_data): Likewise.
58793         (rint_towardzero_test_data): Likewise.
58794         (rint_downward_test_data): Likewise.
58795         (rint_upward_test_data): Likewise.
58796         (round_test_data): Likewise.
58797         (scalb_test_data): Likewise.
58798         (scalbn_test_data): Likewise.
58799         (scalbln_test_data): Likewise.
58800         (signbit_test_data): Likewise.
58801         (sin_test_data): Likewise.
58802         (sin_tonearest_test_data): Likewise.
58803         (sin_towardzero_test_data): Likewise.
58804         (sin_downward_test_data): Likewise.
58805         (sin_upward_test_data): Likewise.
58806         (sincos_test_data): Likewise.
58807         (sinh_test_data): Likewise.
58808         (sinh_tonearest_test_data): Likewise.
58809         (sinh_towardzero_test_data): Likewise.
58810         (sinh_downward_test_data): Likewise.
58811         (sinh_upward_test_data): Likewise.
58812         (sqrt_test_data): Likewise.
58813         (tan_test_data): Likewise.
58814         (tan_tonearest_test_data): Likewise.
58815         (tan_towardzero_test_data): Likewise.
58816         (tan_downward_test_data): Likewise.
58817         (tan_upward_test_data): Likewise.
58818         (tanh_test_data): Likewise.
58819         (tgamma_test_data): Likewise.
58820         (trunc_test_data): Likewise.
58821         (y0_test_data): Likewise.
58822         (y1_test_data): Likewise.
58823         (yn_test_data): Likewise.
58824         (significand_test_data): Likewise.
58826         * math/gen-libm-test.pl (@functions): Remove variable.
58827         (generate_testfile): Don't handle START and END lines.
58828         * math/libm-test.inc (START): New macro.
58829         (END): Likewise.
58830         (END_COMPLEX): Likewise.
58831         (acos_test): Use END macro without arguments.
58832         (acos_test_tonearest): Likewise.
58833         (acos_test_towardzero): Likewise.
58834         (acos_test_downward): Likewise.
58835         (acos_test_upward): Likewise.
58836         (acosh_test): Likewise.
58837         (asin_test): Likewise.
58838         (asin_test_tonearest): Likewise.
58839         (asin_test_towardzero): Likewise.
58840         (asin_test_downward): Likewise.
58841         (asin_test_upward): Likewise.
58842         (asinh_test): Likewise.
58843         (atan_test): Likewise.
58844         (atanh_test): Likewise.
58845         (atan2_test): Likewise.
58846         (cabs_test): Likewise.
58847         (cacos_test): Use END_COMPLEX macro without arguments.
58848         (cacosh_test): Likewise.
58849         (carg_test): Use END macro without arguments.
58850         (casin_test): Use END_COMPLEX macro without arguments.
58851         (casinh_test): Likewise.
58852         (catan_test): Likewise.
58853         (catanh_test): Likewise.
58854         (cbrt_test): Use END macro without arguments.
58855         (ccos_test): Use END_COMPLEX macro without arguments.
58856         (ccosh_test): Likewise.
58857         (ceil_test): Use END macro without arguments.
58858         (cexp_test): Use END_COMPLEX macro without arguments.
58859         (cimag_test): Use END macro without arguments.
58860         (clog_test): Use END_COMPLEX macro without arguments.
58861         (clog10_test): Likewise.
58862         (conj_test): Likewise.
58863         (copysign_test): Use END macro without arguments.
58864         (cos_test): Likewise.
58865         (cos_test_tonearest): Likewise.
58866         (cos_test_towardzero): Likewise.
58867         (cos_test_downward): Likewise.
58868         (cos_test_upward): Likewise.
58869         (cosh_test): Likewise.
58870         (cosh_test_tonearest): Likewise.
58871         (cosh_test_towardzero): Likewise.
58872         (cosh_test_downward): Likewise.
58873         (cosh_test_upward): Likewise.
58874         (cpow_test): Use END_COMPLEX macro without arguments.
58875         (cproj_test): Likewise.
58876         (creal_test): Use END macro without arguments.
58877         (csin_test): Use END_COMPLEX macro without arguments.
58878         (csinh_test): Likewise.
58879         (csqrt_test): Likewise.
58880         (ctan_test): Likewise.
58881         (ctan_test_tonearest): Likewise.
58882         (ctan_test_towardzero): Likewise.
58883         (ctan_test_downward): Likewise.
58884         (ctan_test_upward): Likewise.
58885         (ctanh_test): Likewise.
58886         (ctanh_test_tonearest): Likewise.
58887         (ctanh_test_towardzero): Likewise.
58888         (ctanh_test_downward): Likewise.
58889         (ctanh_test_upward): Likewise.
58890         (erf_test): Use END macro without arguments.
58891         (erfc_test): Likewise.
58892         (exp_test): Likewise.
58893         (exp_test_tonearest): Likewise.
58894         (exp_test_towardzero): Likewise.
58895         (exp_test_downward): Likewise.
58896         (exp_test_upward): Likewise.
58897         (exp10_test): Likewise.
58898         (exp2_test): Likewise.
58899         (expm1_test): Likewise.
58900         (fabs_test): Likewise.
58901         (fdim_test): Likewise.
58902         (finite_test): Likewise.
58903         (floor_test): Likewise.
58904         (fma_test): Likewise.
58905         (fma_test_towardzero): Likewise.
58906         (fma_test_downward): Likewise.
58907         (fma_test_upward): Likewise.
58908         (fmax_test): Likewise.
58909         (fmin_test): Likewise.
58910         (fmod_test): Likewise.
58911         (fpclassify_test): Likewise.
58912         (frexp_test): Likewise.
58913         (gamma_test): Likewise.
58914         (hypot_test): Likewise.
58915         (ilogb_test): Likewise.
58916         (isfinite_test): Likewise.
58917         (isgreater_test): Likewise.
58918         (isgreaterequal_test): Likewise.
58919         (isinf_test): Likewise.
58920         (isless_test): Likewise.
58921         (islessequal_test): Likewise.
58922         (islessgreater_test): Likewise.
58923         (isnan_test): Likewise.
58924         (isnormal_test): Likewise.
58925         (issignaling_test): Likewise.
58926         (isunordered_test): Likewise.
58927         (j0_test): Likewise.
58928         (j1_test): Likewise.
58929         (jn_test): Likewise.
58930         (ldexp_test): Likewise.
58931         (lgamma_test): Likewise.
58932         (lrint_test): Likewise.
58933         (lrint_test_tonearest): Likewise.
58934         (lrint_test_towardzero): Likewise.
58935         (lrint_test_downward): Likewise.
58936         (lrint_test_upward): Likewise.
58937         (llrint_test): Likewise.
58938         (llrint_test_tonearest): Likewise.
58939         (llrint_test_towardzero): Likewise.
58940         (llrint_test_downward): Likewise.
58941         (llrint_test_upward): Likewise.
58942         (log_test): Likewise.
58943         (log10_test): Likewise.
58944         (log1p_test): Likewise.
58945         (log2_test): Likewise.
58946         (logb_test): Likewise.
58947         (logb_test_downward): Likewise.
58948         (lround_test): Likewise.
58949         (llround_test): Likewise.
58950         (modf_test): Likewise.
58951         (nearbyint_test): Likewise.
58952         (nextafter_test): Likewise.
58953         (nexttoward_test): Likewise.
58954         (pow_test): Likewise.
58955         (pow_test_tonearest): Likewise.
58956         (pow_test_towardzero): Likewise.
58957         (pow_test_downward): Likewise.
58958         (pow_test_upward): Likewise.
58959         (remainder_test): Likewise.
58960         (remainder_test_tonearest): Likewise.
58961         (remainder_test_towardzero): Likewise.
58962         (remainder_test_downward): Likewise.
58963         (remainder_test_upward): Likewise.
58964         (remquo_test): Likewise.
58965         (rint_test): Likewise.
58966         (rint_test_tonearest): Likewise.
58967         (rint_test_towardzero): Likewise.
58968         (rint_test_downward): Likewise.
58969         (rint_test_upward): Likewise.
58970         (round_test): Likewise.
58971         (scalb_test): Likewise.
58972         (scalbn_test): Likewise.
58973         (scalbln_test): Likewise.
58974         (signbit_test): Likewise.
58975         (sin_test): Likewise.
58976         (sin_test_tonearest): Likewise.
58977         (sin_test_towardzero): Likewise.
58978         (sin_test_downward): Likewise.
58979         (sin_test_upward): Likewise.
58980         (sincos_test): Likewise.
58981         (sinh_test): Likewise.
58982         (sinh_test_tonearest): Likewise.
58983         (sinh_test_towardzero): Likewise.
58984         (sinh_test_downward): Likewise.
58985         (sinh_test_upward): Likewise.
58986         (sqrt_test): Likewise.
58987         (tan_test): Likewise.
58988         (tan_test_tonearest): Likewise.
58989         (tan_test_towardzero): Likewise.
58990         (tan_test_downward): Likewise.
58991         (tan_test_upward): Likewise.
58992         (tanh_test): Likewise.
58993         (tgamma_test): Likewise.
58994         (trunc_test): Likewise.
58995         (y0_test): Likewise.
58996         (y1_test): Likewise.
58997         (yn_test): Likewise.
58998         (significand_test): Likewise.
59000 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
59002         [BZ #15381]
59003         * libio/genops.c (_IO_no_init): Initialize wide struct info.
59005 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59007         [BZ #14894]
59008         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
59009         __ppc_mdoio and __ppc_mdoom.
59010         * manual/platform.texi: Document new functions __ppc_yield,
59011         __ppc_mdoio and __ppc_mdoom.
59013 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
59015         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
59016         (main): Mention "tls" pseudo-hwcap is legacy.
59017         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
59019 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59021         * math/gen-libm-test.pl (parse_args): Output only string of
59022         arguments as text for test name, not full call or descriptions of
59023         tests for extra outputs.
59024         (generate_testfile): Do not pass function name to parse_args.
59025         Generate this_func variable from START.
59026         * math/libm-test.inc (struct test_f_f_data): Rename test_name
59027         field to arg_str.
59028         (struct test_ff_f_data): Likewise.
59029         (test_ff_f_data_nexttoward): Likewise.
59030         (struct test_fi_f_data): Likewise.
59031         (struct test_fl_f_data): Likewise.
59032         (struct test_if_f_data): Likewise.
59033         (struct test_fff_f_data): Likewise.
59034         (struct test_c_f_data): Likewise.
59035         (struct test_f_f1_data): Likewise.  Remove field extra_name.
59036         (struct test_fF_f1_data): Likewise.
59037         (struct test_ffI_f1_data): Likewise.
59038         (struct test_c_c_data): Rename test_name field to arg_str.
59039         (struct test_cc_c_data): Likewise.
59040         (struct test_f_i_data): Likewise.
59041         (struct test_ff_i_data): Likewise.
59042         (struct test_f_l_data): Likewise.
59043         (struct test_f_L_data): Likewise.
59044         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
59045         and extra2_name.
59046         (COMMON_TEST_SETUP): New macro.
59047         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
59048         (COMMON_TEST_CLEANUP): Likewise.
59049         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
59050         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
59051         macros.
59052         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
59053         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59054         macros.
59055         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59056         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59057         cleanup macros.
59058         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59059         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59060         macros.
59061         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59062         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59063         macros.
59064         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59065         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59066         cleanup macros.
59067         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59068         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59069         cleanup macros.
59070         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59071         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59072         cleanup macros.
59073         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59074         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59075         macros.
59076         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59077         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59078         macros.
59079         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59080         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59081         macros.
59082         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59083         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59084         cleanup macros.
59085         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59086         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59087         cleanup macros.
59088         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59089         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59090         macros.
59091         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59092         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59093         cleanup macros.
59094         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59095         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59096         macros.
59097         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59098         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59099         macros.
59100         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59101         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59102         cleanup macros.
59103         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59105 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59107         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59108         to _sifields.sigfault.
59109         (si_addr_lsb): Define new macro.
59110         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59111         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59112         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59114 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59116         [BZ #15441]
59117         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59118         returns -1.
59119         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59120         null return -1.
59121         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59122         loading the domain.
59124 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59126         * math/gen-libm-test.pl (parse_args): Do not include expected
59127         result in test name.
59128         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59129         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59130         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59131         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59132         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59135 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59137         * benchtests/Makefile: Sort function entries.
59139         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59140         tanh, asinh, acosh, atanh.
59141         * benchtests/acos-inputs: New file.
59142         * benchtests/acosh-inputs: New file.
59143         * benchtests/asin-inputs: New file.
59144         * benchtests/asinh-inputs: New file.
59145         * benchtests/atanh-inputs: New file.
59146         * benchtests/cosh-inputs: New file.
59147         * benchtests/log-inputs: New file.
59148         * benchtests/sinh-inputs: New file.
59149         * benchtests/tanh-inputs: New file.
59151 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59153         [BZ #15339]
59154         * posix/tst-getaddrinfo4.c: New test.
59155         * posix/Makefile (tests): Add it.
59157 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59159         [BZ #15339]
59160         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59161         when no services were used.
59162         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59163         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59165 2013-05-21  Andreas Schwab  <schwab@suse.de>
59167         [BZ #15014]
59168         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59169         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59170         successful.
59171         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59172         redundant variable declarations and reallocation of buffer when
59173         parsing as IPv6 address.  Always set NSS status when called from
59174         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59175         buffer too small.  Correct computation of needed size.
59176         * nss/Makefile (tests): Add test-digits-dots.
59177         * nss/test-digits-dots.c: New test.
59179 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59181         * benchtests/Makefile: Remove instructions for adding
59182         benchmark tests.
59183         * benchtests/README: New file to explain how to execute and
59184         enhance the benchmark tests.
59186 2013-05-21  Andreas Schwab  <schwab@suse.de>
59188         [BZ #15493]
59189         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59190         * setjmp/tst-sigsetjmp.c: New test.
59192 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59194         * sysdeps/x86_64/memset.S (memset): New implementation.
59195         (__bzero): Likewise.
59196         (__memset_tail): New function.
59198 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59200         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59201         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59202         __memcpy_sse2_unaligned ifunc selection.
59203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59204         Add memcpy-sse2-unaligned.S.
59205         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59206         Add: __memcpy_sse2_unaligned.
59208 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59210         [BZ #15490]
59211         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59212         math_force_eval before restoring floating-point envrionment.
59213         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59214         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59215         Likewise.
59216         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59217         <math_private.h>.
59218         (__nearbyintl): Use math_force_eval before restoring
59219         floating-point environment.
59220         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59222         * math/gen-libm-test.pl (special_functions): Remove.
59223         (parse_args): Don't handle TEST_extra.  Handle functions with no
59224         return value.
59225         * math/libm-test.inc (struct test_sincos_data): Replace with
59226         struct test_fFF_11_data.
59227         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59228         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59229         (sincos_test_data): Change element type to struct
59230         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59231         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59232         RUN_TEST_LOOP_sincos.
59233         * math/README.libm-test: Don't mention special handling of
59234         individual functions.
59235         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59236         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59237         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59238         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59239         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59242         * math/gen-libm-test.pl (get_variable): Remove function.
59243         (parse_args): Don't show pointer parameters to call in test
59244         names.  Use "extra output N" in test names for extra outputs
59245         rather than naming variables.
59247 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59249         [BZ #15488]
59250         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59251         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59252         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59253         double tests.
59254         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59255         disable.
59256         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59257         check_long_double.
59259         * math/gen-libm-test.pl (@tests): Remove variable.
59260         ($count): Likewise.
59261         (new_test): Remove function.
59262         (show_exceptions): New function.
59263         (special_functions): Use show_exceptions instead of new_test.
59264         (parse_args): Likewise.
59265         (generate_testfile): Pass only function name in generated call to
59266         print_max_error or print_complex_max_error.
59267         (get_ulps): Do not handle complex tests specially.
59268         (output_test): Rename to ...
59269         (get_all_ulps_for_test): ... this.  Return a string rather than
59270         printing to a file.  Require ulps to be present.
59271         (output_ulps): Generate arrays rather than #defines.
59272         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59273         (struct ulp_data): New type.
59274         (BUILD_COMPLEX_ULP): Remove macro.
59275         (compare_ulp_data): New function.
59276         (find_ulps): Likewise.
59277         (find_test_ulps): Likewise.
59278         (find_function_ulps): Likewise.
59279         (find_complex_function_ulps): Likewise.
59280         (print_max_error): Determine allowed ulps using
59281         find_function_ulps.
59282         (print_complex_max_error): Determine allowed ulps using
59283         find_complex_function_ulps.
59284         (check_float_internal): Determine max ulps using find_test_ulps.
59285         (check_float): Do not take max_ulp parameter.  Update call to
59286         check_float_internal.
59287         (check_complex): Likewise.
59288         (check_int): Do not take max_ulp parameter.
59289         (check_long): Likewise.
59290         (check_bool): Likewise.
59291         (check_longlong): Likewise.
59292         (struct test_f_f_data): Remove max_ulp field.
59293         (struct test_ff_f_data): Likewise.
59294         (struct test_ff_f_data_nexttoward): Likewise.
59295         (struct test_fi_f_data): Likewise.
59296         (struct test_fl_f_data): Likewise.
59297         (struct test_if_f_data): Likewise.
59298         (struct test_fff_f_data): Likewise.
59299         (struct test_c_f_data): Likewise.
59300         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59301         (struct test_fF_f1_data): Likewise.
59302         (struct test_ffI_f1_data): Likewise.
59303         (struct test_c_c_data): Remove max_ulp field.
59304         (struct test_cc_c_data): Likewise.
59305         (struct test_f_i_data): Likewise.
59306         (struct test_ff_i_data): Likewise.
59307         (struct test_f_l_data): Likewise.
59308         (struct test_f_L_data): Likewise.
59309         (struct test_sincos_data): Likewise.
59310         (RUN_TEST_f_f): Do not handle ulps.
59311         (RUN_TEST_LOOP_f_f): Likewise.
59312         (RUN_TEST_2_f): Likewise.
59313         (RUN_TEST_LOOP_2_f): Likewise.
59314         (RUN_TEST_fff_f): Likewise.
59315         (RUN_TEST_LOOP_fff_f): Likewise.
59316         (RUN_TEST_c_f): Likewise.
59317         (RUN_TEST_LOOP_c_f): Likewise.
59318         (RUN_TEST_f_f1): Likewise.
59319         (RUN_TEST_LOOP_f_f1): Likewise.
59320         (RUN_TEST_fF_f1): Likewise.
59321         (RUN_TEST_LOOP_fF_f1): Likewise.
59322         (RUN_TEST_fI_f1): Likewise.
59323         (RUN_TEST_LOOP_fI_f1): Likewise.
59324         (RUN_TEST_ffI_f1): Likewise.
59325         (RUN_TEST_LOOP_ffI_f1): Likewise.
59326         (RUN_TEST_c_c): Likewise.
59327         (RUN_TEST_LOOP_c_c): Likewise.
59328         (RUN_TEST_cc_c): Likewise.
59329         (RUN_TEST_LOOP_cc_c): Likewise.
59330         (RUN_TEST_f_i): Likewise.
59331         (RUN_TEST_LOOP_f_i): Likewise.
59332         (RUN_TEST_f_i_tg): Likewise.
59333         (RUN_TEST_LOOP_f_i_tg): Likewise.
59334         (RUN_TEST_ff_i_tg): Likewise.
59335         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59336         (RUN_TEST_f_b): Likewise.
59337         (RUN_TEST_LOOP_f_b): Likewise.
59338         (RUN_TEST_f_b_tg): Likewise.
59339         (RUN_TEST_LOOP_f_b_tg): Likewise.
59340         (RUN_TEST_f_l): Likewise.
59341         (RUN_TEST_LOOP_f_l): Likewise.
59342         (RUN_TEST_f_L): Likewise.
59343         (RUN_TEST_LOOP_f_L): Likewise.
59344         (RUN_TEST_sincos): Likewise.
59345         (RUN_TEST_LOOP_sincos): Likewise.
59347 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59349         [BZ #15480]
59350         [BZ #15485]
59351         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59352         main case of finite arguments, set rounding mode to FE_TONEAREST
59353         and discard exceptions.
59354         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59355         exceptions.
59356         (remainder_tonearest_test_data): New variable.
59357         (remainder_test_tonearest): New function.
59358         (remainder_towardzero_test_data): New variable.
59359         (remainder_test_towardzero): New function.
59360         (remainder_downward_test_data): New variable.
59361         (remainder_test_downward): New function.
59362         (remainder_upward_test_data): New variable.
59363         (remainder_test_upward): New function.
59364         (main): Call the new test functions.
59366         * math/libm-test.inc (struct test_f_f1_data): Remove field
59367         extra_init.
59368         (struct test_fF_f1_data): Likewise.
59369         (struct test_ffI_f1_data): Likewise.
59370         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59371         based on value of EXTRA_EXPECTED.
59372         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59373         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59374         EXTRA_VAR based on value of EXTRA_EXPECTED.
59375         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59376         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59377         EXTRA_VAR based on value of EXTRA_EXPECTED.
59378         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59379         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59380         EXTRA_VAR based on value of EXTRA_EXPECTED.
59381         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59382         * math/gen-libm-test.pl (parse_args): Don't output initializers
59383         for extra output values.
59385         * math/libm-test.inc (check_int): Expect result to be exactly
59386         equal to expected value and do not handle ulps.
59387         (check_long): Likewise.
59388         (check_longlong): Likewise.
59390         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59391         exceptions.
59392         (cimag_test_data): Likewise.
59393         (conj_test_data): Likewise.
59394         (copysign_test_data): Likewise.
59395         (cproj_test_data): Likewise.
59396         (creal_test_data): Likewise.
59397         (fabs_test_data): Likewise.
59398         (fdim_test_data): Likewise.
59399         (finite_test_data): Likewise.
59400         (floor_test_data): Likewise.
59401         (fmax_test_data): Likewise.
59402         (fmin_test_data): Likewise.
59403         (fmod_test_data): Likewise.
59404         (fpclassify_test_data): Likewise.
59405         (frexp_test_data): Likewise.
59406         (ilogb_test_data): Likewise.
59407         (isfinite_test_data): Likewise.
59408         (isgreater_test_data): Likewise.
59409         (isgreaterequal_test_data): Likewise.
59410         (isinf_test_data): Likewise.
59411         (isless_test_data): Likewise.
59412         (islessequal_test_data): Likewise.
59413         (islessgreater_test_data): Likewise.
59414         (isnan_test_data): Likewise.
59415         (isnormal_test_data): Likewise.
59416         (issignaling_test_data): Likewise.
59417         (isunordered_test_data): Likewise.
59418         (ldexp_test_data): Likewise.
59419         (lrint_test_data): Likewise.
59420         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59421         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59422         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59423         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59424         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59425         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59426         test input.
59427         (lrint_towardzero_test_data): Test for "inexact" exceptions.
59428         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59429         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59430         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59431         that test input.
59432         (lrint_downward_test_data): Test for "inexact" exceptions.
59433         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59434         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59435         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59436         test input.
59437         (lrint_upward_test_data): Test for "inexact" exceptions.
59438         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59439         test input.
59440         (llrint_test_data): Test for "inexact" exceptions.
59441         (llrint_test_data) [TEST_FLOAT]: Disable one test.
59442         (llrint_tonearest_test_data): Test for "inexact" exceptions.
59443         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59444         (llrint_towardzero_test_data): Test for "inexact" exceptions.
59445         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59446         (llrint_downward_test_data): Test for "inexact" exceptions.
59447         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59448         (llrint_upward_test_data): Test for "inexact" exceptions.
59449         (logb_test_data): Likewise.
59450         (logb_downward_test_data): Likewise.
59451         (nextafter_test_data): Likewise.
59452         (nexttoward_test_data): Likewise.
59453         (remainder_test_data): Likewise.
59454         (remquo_test_data): Likewise.
59455         (scalbn_test_data): Likewise.
59456         (scalbln_test_data): Likewise.
59457         (signbit_test_data): Likewise.
59458         (sqrt_test_data): Likewise.
59459         (significand_test_data): Likewise.
59461 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59463         [BZ #15424]
59464         * benchtests/bench-modf.c (struct args): Mark arg0 as
59465         volatile.
59466         * scripts/bench.pl: Mark members of struct args as volatile.
59468 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59470         [BZ # 15497]
59471         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59472         negative infinity on POWER6 or lower.
59473         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59475 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
59477         [BZ #15442]
59478         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59479         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59480         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59481         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59482         (_FP_SETQNAN): New macro.
59483         (_FP_SETQNAN_SEMIRAW): Likewise.
59484         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59485         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59486         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59487         (FP_EXTEND): Use _FP_FRAC_SNANP.
59488         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59489         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59490         into account.
59491         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59492         New macro.
59493         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59494         Likewise.
59496 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59498         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59499         with DIVIDE_BY_ZERO_EXCEPTION.
59500         (gamma_test_data): Likewise.
59501         (lgamma_test_data): Likewise.
59502         (log_test_data): Likewise.
59503         (log10_test_data): Likewise.
59504         (log2_test_data): Likewise.
59505         (tgamma_test_data): Likewise.
59507         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59508         (acos_test_tonearest): Likewise.
59509         (acos_test_towardzero): Likewise.
59510         (acos_test_downward): Likewise.
59511         (acos_test_upward): Likewise.
59512         (acosh_test): Likewise.
59513         (asin_test): Likewise.
59514         (asin_test_tonearest): Likewise.
59515         (asin_test_towardzero): Likewise.
59516         (asin_test_downward): Likewise.
59517         (asin_test_upward): Likewise.
59518         (asinh_test): Likewise.
59519         (atan_test): Likewise.
59520         (atanh_test): Likewise.
59521         (atan2_test): Likewise.
59522         (cabs_test): Likewise.
59523         (cacos_test): Likewise.
59524         (cacosh_test): Likewise.
59525         (casin_test): Likewise.
59526         (casinh_test): Likewise.
59527         (catan_test): Likewise.
59528         (catanh_test): Likewise.
59529         (cbrt_test): Likewise.
59530         (ccos_test): Likewise.
59531         (ccosh_test): Likewise.
59532         (cexp_test): Likewise.
59533         (clog_test): Likewise.
59534         (clog10_test): Likewise.
59535         (cos_test): Likewise.
59536         (cos_test_tonearest): Likewise.
59537         (cos_test_towardzero): Likewise.
59538         (cos_test_downward): Likewise.
59539         (cos_test_upward): Likewise.
59540         (cosh_test): Likewise.
59541         (cosh_test_tonearest): Likewise.
59542         (cosh_test_towardzero): Likewise.
59543         (cosh_test_downward): Likewise.
59544         (cosh_test_upward): Likewise.
59545         (cpow_test): Likewise.
59546         (csin_test): Likewise.
59547         (csinh_test): Likewise.
59548         (csqrt_test): Likewise.
59549         (ctan_test): Likewise.
59550         (ctan_test_tonearest): Likewise.
59551         (ctan_test_towardzero): Likewise.
59552         (ctan_test_downward): Likewise.
59553         (ctan_test_upward): Likewise.
59554         (ctanh_test): Likewise.
59555         (ctanh_test_tonearest): Likewise.
59556         (ctanh_test_towardzero): Likewise.
59557         (ctanh_test_downward): Likewise.
59558         (ctanh_test_upward): Likewise.
59559         (erf_test): Likewise.
59560         (erfc_test): Likewise.
59561         (exp_test): Likewise.
59562         (exp_test_tonearest): Likewise.
59563         (exp_test_towardzero): Likewise.
59564         (exp_test_downward): Likewise.
59565         (exp_test_upward): Likewise.
59566         (exp10_test): Likewise.
59567         (exp2_test): Likewise.
59568         (expm1_test): Likewise.
59569         (fmod_test): Likewise.
59570         (gamma_test): Likewise.
59571         (hypot_test): Likewise.
59572         (j0_test): Likewise.
59573         (j1_test): Likewise.
59574         (jn_test): Likewise.
59575         (lgamma_test): Likewise.
59576         (log_test): Likewise.
59577         (log10_test): Likewise.
59578         (log1p_test): Likewise.
59579         (log2_test): Likewise.
59580         (logb_test_downward): Likewise.
59581         (pow_test): Likewise.
59582         (pow_test_tonearest): Likewise.
59583         (pow_test_towardzero): Likewise.
59584         (pow_test_downward): Likewise.
59585         (pow_test_upward): Likewise.
59586         (remainder_test): Likewise.
59587         (remquo_test): Likewise.
59588         (sin_test): Likewise.
59589         (sin_test_tonearest): Likewise.
59590         (sin_test_towardzero): Likewise.
59591         (sin_test_downward): Likewise.
59592         (sin_test_upward): Likewise.
59593         (sincos_test): Likewise.
59594         (sinh_test): Likewise.
59595         (sinh_test_tonearest): Likewise.
59596         (sinh_test_towardzero): Likewise.
59597         (sinh_test_downward): Likewise.
59598         (sinh_test_upward): Likewise.
59599         (sqrt_test): Likewise.
59600         (tan_test): Likewise.
59601         (tan_test_tonearest): Likewise.
59602         (tan_test_towardzero): Likewise.
59603         (tan_test_downward): Likewise.
59604         (tan_test_upward): Likewise.
59605         (tanh_test): Likewise.
59606         (tgamma_test): Likewise.
59607         (y0_test): Likewise.
59608         (y1_test): Likewise.
59609         (yn_test): Likewise.
59611         * math/gen-libm-test.pl (adjust_arg): Remove function.
59612         (special_function): Remove argument $in_func.  Only handle
59613         generating output for tables of tests, not inside functions.
59614         (parse_args): Likewise.
59615         (generate_testfile): Remove variable $in_func.  Update call to
59616         parse_args.
59617         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59618         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59619         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59620         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59621         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59622         (MAX_VALUE_INIT): Rename macro to max_value.
59623         (MIN_VALUE_INIT): Rename macro to min_value.
59624         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59625         (plus_zero): Remove variable.
59626         (minus_zero): Likewise.
59627         (plus_infty): Likewise.
59628         (minus_infty): Likewise.
59629         (qnan_value): Likewise.
59630         (max_value): Likewise.
59631         (min_value): Likewise.
59632         (min_subnorm_value): Likewise.
59634 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59636         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59637         uint64_t or uint32_t usage.
59638         * crypt/sha256-block.c: Likewise.
59639         * crypt/sha256-crypt.c: Likewise.
59640         * crypt/sha256.c: Likewise.
59641         * crypt/sha512-block.c: Likewise.
59642         * crypt/sha512-crypt.c: Likewise.
59643         * crypt/sha512.c: Likewise.
59644         * debug/backtrace-tst.c: Likewise.
59645         * debug/pcprofiledump.c: Likewise.
59646         * elf/cache.c: Likewise.
59647         * elf/dl-cache.c: Likewise.
59648         * elf/dl-misc.c: Likewise.
59649         * elf/dl-profile.c: Likewise.
59650         * elf/dl-support.c: Likewise.
59651         * elf/ldconfig.c: Likewise.
59652         * elf/sprof.c: Likewise.
59653         * iconv/dummy-repertoire.c: Likewise.
59654         * iconv/iconv_charmap.c: Likewise.
59655         * iconv/skeleton.c: Likewise.
59656         * iconvdata/8bit-generic.c: Likewise.
59657         * iconvdata/cp737.h: Likewise.
59658         * iconvdata/cp775.h: Likewise.
59659         * iconvdata/ibm1008.h: Likewise.
59660         * iconvdata/ibm1025.h: Likewise.
59661         * iconvdata/ibm1046.h: Likewise.
59662         * iconvdata/ibm1097.h: Likewise.
59663         * iconvdata/ibm1112.h: Likewise.
59664         * iconvdata/ibm1122.h: Likewise.
59665         * iconvdata/ibm1123.h: Likewise.
59666         * iconvdata/ibm1124.h: Likewise.
59667         * iconvdata/ibm1129.h: Likewise.
59668         * iconvdata/ibm1130.h: Likewise.
59669         * iconvdata/ibm1132.h: Likewise.
59670         * iconvdata/ibm1133.h: Likewise.
59671         * iconvdata/ibm1137.h: Likewise.
59672         * iconvdata/ibm1140.h: Likewise.
59673         * iconvdata/ibm1141.h: Likewise.
59674         * iconvdata/ibm1142.h: Likewise.
59675         * iconvdata/ibm1143.h: Likewise.
59676         * iconvdata/ibm1144.h: Likewise.
59677         * iconvdata/ibm1145.h: Likewise.
59678         * iconvdata/ibm1146.h: Likewise.
59679         * iconvdata/ibm1147.h: Likewise.
59680         * iconvdata/ibm1148.h: Likewise.
59681         * iconvdata/ibm1149.h: Likewise.
59682         * iconvdata/ibm1153.h: Likewise.
59683         * iconvdata/ibm1154.h: Likewise.
59684         * iconvdata/ibm1155.h: Likewise.
59685         * iconvdata/ibm1156.h: Likewise.
59686         * iconvdata/ibm1157.h: Likewise.
59687         * iconvdata/ibm1158.h: Likewise.
59688         * iconvdata/ibm1160.h: Likewise.
59689         * iconvdata/ibm1161.h: Likewise.
59690         * iconvdata/ibm1162.h: Likewise.
59691         * iconvdata/ibm1163.h: Likewise.
59692         * iconvdata/ibm1164.h: Likewise.
59693         * iconvdata/ibm1166.h: Likewise.
59694         * iconvdata/ibm1167.h: Likewise.
59695         * iconvdata/ibm12712.h: Likewise.
59696         * iconvdata/ibm1390.h: Likewise.
59697         * iconvdata/ibm1399.h: Likewise.
59698         * iconvdata/ibm16804.h: Likewise.
59699         * iconvdata/ibm4517.h: Likewise.
59700         * iconvdata/ibm4899.h: Likewise.
59701         * iconvdata/ibm4909.h: Likewise.
59702         * iconvdata/ibm4971.h: Likewise.
59703         * iconvdata/ibm5347.h: Likewise.
59704         * iconvdata/ibm803.h: Likewise.
59705         * iconvdata/ibm856.h: Likewise.
59706         * iconvdata/ibm901.h: Likewise.
59707         * iconvdata/ibm902.h: Likewise.
59708         * iconvdata/ibm9030.h: Likewise.
59709         * iconvdata/ibm9066.h: Likewise.
59710         * iconvdata/ibm921.h: Likewise.
59711         * iconvdata/ibm922.h: Likewise.
59712         * iconvdata/ibm9448.h: Likewise.
59713         * iconvdata/isiri-3342.h: Likewise.
59714         * iconvdata/jis0201.h: Likewise.
59715         * include/link.h: Likewise.
59716         * include/netdb.h: Likewise.
59717         * inet/check_native.c: Likewise.
59718         * inet/check_pf.c: Likewise.
59719         * inet/getipv4sourcefilter.c: Likewise.
59720         * inet/getnameinfo.c: Likewise.
59721         * inet/getsourcefilter.c: Likewise.
59722         * inet/htonl.c: Likewise.
59723         * inet/setipv4sourcefilter.c: Likewise.
59724         * inet/setsourcefilter.c: Likewise.
59725         * inet/test-inet6_opt.c: Likewise.
59726         * inet/tst-network.c: Likewise.
59727         * locale/C-collate.c: Likewise.
59728         * locale/C-ctype.c: Likewise.
59729         * locale/C-time.c: Likewise.
59730         * locale/C-translit.h: Likewise.
59731         * locale/loadarchive.c: Likewise.
59732         * locale/programs/3level.h: Likewise.
59733         * locale/programs/charmap.c: Likewise.
59734         * locale/programs/charmap.h: Likewise.
59735         * locale/programs/ld-address.c: Likewise.
59736         * locale/programs/ld-collate.c: Likewise.
59737         * locale/programs/ld-ctype.c: Likewise.
59738         * locale/programs/ld-identification.c: Likewise.
59739         * locale/programs/ld-measurement.c: Likewise.
59740         * locale/programs/ld-messages.c: Likewise.
59741         * locale/programs/ld-monetary.c: Likewise.
59742         * locale/programs/ld-name.c: Likewise.
59743         * locale/programs/ld-numeric.c: Likewise.
59744         * locale/programs/ld-paper.c: Likewise.
59745         * locale/programs/ld-telephone.c: Likewise.
59746         * locale/programs/ld-time.c: Likewise.
59747         * locale/programs/linereader.c: Likewise.
59748         * locale/programs/locale.c: Likewise.
59749         * locale/programs/locarchive.c: Likewise.
59750         * locale/programs/locfile.h: Likewise.
59751         * locale/programs/repertoire.c: Likewise.
59752         * locale/programs/simple-hash.c: Likewise.
59753         * locale/programs/simple-hash.h: Likewise.
59754         * malloc/memusage.c: Likewise.
59755         * malloc/memusagestat.c: Likewise.
59756         * nis/nis_defaults.c: Likewise.
59757         * nis/nis_hash.c: Likewise.
59758         * nis/nis_print.c: Likewise.
59759         * nis/nis_xdr.c: Likewise.
59760         * nscd/connections.c: Likewise.
59761         * nscd/hstcache.c: Likewise.
59762         * nscd/nscd_gethst_r.c: Likewise.
59763         * nscd/nscd_getserv_r.c: Likewise.
59764         * nscd/nscd_helper.c: Likewise.
59765         * nscd/servicescache.c: Likewise.
59766         * nss/makedb.c: Likewise.
59767         * nss/nss_db/db-XXX.c: Likewise.
59768         * nss/nss_db/db-initgroups.c: Likewise.
59769         * nss/nss_db/db-netgrp.c: Likewise.
59770         * nss/nss_files/files-network.c: Likewise.
59771         * nss/nss_files/files-parse.c: Likewise.
59772         * posix/bug-regex5.c: Likewise.
59773         * posix/fnmatch_loop.c: Likewise.
59774         * posix/regcomp.c: Likewise.
59775         * posix/regexec.c: Likewise.
59776         * posix/tst-rfc3484-2.c: Likewise.
59777         * posix/tst-rfc3484-3.c: Likewise.
59778         * posix/tst-rfc3484.c: Likewise.
59779         * resolv/nss_dns/dns-canon.c: Likewise.
59780         * resolv/nss_dns/dns-network.c: Likewise.
59781         * resolv/res_init.c: Likewise.
59782         * resolv/res_mkquery.c: Likewise.
59783         * resolv/tst-aton.c: Likewise.
59784         * stdlib/cxa_atexit.c: Likewise.
59785         * stdlib/cxa_finalize.c: Likewise.
59786         * stdlib/gen-fpioconst.c: Likewise.
59787         * stdlib/strtol_l.c: Likewise.
59788         * string/tst-endian.c: Likewise.
59789         * sunrpc/auth_des.c: Likewise.
59790         * sunrpc/clnt_udp.c: Likewise.
59791         * sunrpc/rtime.c: Likewise.
59792         * sunrpc/svcauth_des.c: Likewise.
59793         * sunrpc/xdr.c: Likewise.
59794         * sunrpc/xdr_intXX_t.c: Likewise.
59795         * sunrpc/xdr_rec.c: Likewise.
59796         * sysdeps/generic/ldconfig.h: Likewise.
59797         * sysdeps/generic/ldsodefs.h: Likewise.
59798         * sysdeps/generic/memusage.h: Likewise.
59799         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59800         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59801         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59802         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59803         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59804         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59805         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59806         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59807         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59808         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59809         * sysdeps/posix/getaddrinfo.c: Likewise.
59810         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59811         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59812         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59813         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59814         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59815         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59816         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59817         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59818         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59819         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59820         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59821         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59822         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59823         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59824         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59825         * sysdeps/x86_64/dl-tls.h: Likewise.
59826         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59827         * time/alt_digit.c: Likewise.
59828         * time/era.c: Likewise.
59829         * wcsmbs/tst-c16c32-1.c: Likewise.
59831 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59833         * math/libm-test.inc (struct test_sincos_data): New type.
59834         (RUN_TEST_LOOP_sincos): New macro.
59835         (sincos_test_data): New variable.
59836         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59838 2013-05-16  Richard Henderson  <rth@redhat.com>
59840         * math/atest-exp2.c (LIMB64): New macro.
59841         (CONSTSZ): New macro.
59842         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59843         (hexdig): Move ...
59844         (print_mpn_fp): ... to function scope.
59845         (read_mpn_hex): Remove.
59846         (get_log2): Remove.
59847         (exp2_mpn): Use mp_log2.
59848         (main): Use mp_exp1.
59850 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59852         * math/libm-test.inc: Remove comment about not testing "inexact"
59853         exceptions.
59854         (INEXACT_EXCEPTION): New macro.
59855         (NO_INEXACT_EXCEPTION): Likewise.
59856         (INVALID_EXCEPTION_OK): Update value.
59857         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59858         (OVERFLOW_EXCEPTION_OK): Likewise.
59859         (UNDERFLOW_EXCEPTION_OK): Likewise.
59860         (IGNORE_ZERO_INF_SIGN): Likewise.
59861         (ERRNO_UNCHANGED): Likewise.
59862         (ERRNO_EDOM): Likewise.
59863         (ERRNO_ERANGE): Likewise.
59864         (test_exceptions): Handle testing "inexact" exceptions.
59865         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59866         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59867         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59868         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59869         INEXACT_EXCEPTION.
59870         (rint_towardzero_test_data): Likewise.
59871         (rint_downward_test_data): Likewise.
59872         (rint_upward_test_data): Likewise.
59874         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59875         with OVERFLOW_EXCEPTION.
59876         (exp10_test_data): Likewise.
59877         (exp2_test_data): Likewise.
59878         (expm1_test_data): Likewise.
59879         (lgamma_test_data): Likewise.
59880         (pow_test_data): Likewise.
59881         (tgamma_test_data): Likewise.
59882         (yn_test_data): Remove duplicate test of overflow.
59884         * math/libm-test.inc (struct test_cc_c_data): New type.
59885         (RUN_TEST_LOOP_cc_c): New macro.
59886         (cpow_test_data): New variable.
59887         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59889         * math/libm-test.inc (struct test_f_L_data): New type.
59890         (RUN_TEST_LOOP_f_L): New macro.
59891         (llrint_test_data): New variable.
59892         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59893         (llrint_tonearest_test_data): New variable.
59894         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59895         (llrint_towardzero_test_data): New variable.
59896         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59897         (llrint_downward_test_data): New variable.
59898         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59899         (llrint_upward_test_data): New variable.
59900         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59901         (llround_test_data): New variable.
59902         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59904 2013-05-13  Peter Collingbourne  <pcc@google.com>
59906         * math/atest-exp2.c (get_log2): Remove const attribute.
59908 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59910         * math/libm-test.inc (struct test_f_l_data): New type.
59911         (RUN_TEST_LOOP_f_l): New macro.
59912         (lrint_test_data): New variable.
59913         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59914         (lrint_tonearest_test_data): New variable.
59915         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59916         (lrint_towardzero_test_data): New variable.
59917         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59918         (lrint_downward_test_data): New variable.
59919         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59920         (lrint_upward_test_data): New variable.
59921         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59922         (lround_test_data): New variable.
59923         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59925 2013-05-15  Peter Collingbourne  <pcc@google.com>
59927         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59928         (EXTRACT_WORDS64) Use where appropriate.
59929         (INSERT_WORDS64) Likewise.
59931         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59932         constraints with x constraints.
59933         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59935         * malloc/obstack.c (_obstack_compat): Add initializer.
59937 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59939         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59940         si_trapno and add si_addr_lsb to _sifields.sigfault.
59941         (si_trapno): Remove macro.
59942         (si_addr_lsb): Define new macro.
59943         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59945 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59947         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59948         instead of TEST_f_l.
59949         (llrint_test_tonearest): Likewise.
59950         (llrint_test_towardzero): Likewise.
59951         (llrint_test_downward): Likewise.
59952         (llrint_test_upward): Likewise.
59953         (llround_test): Likewise.
59955         * math/libm-test.inc (struct test_f_i_data): Add comment.
59956         (RUN_TEST_LOOP_f_b): New macro.
59957         (RUN_TEST_LOOP_f_b_tg): Likewise.
59958         (finite_test_data): New variable.
59959         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59960         (isfinite_test_data): New variable.
59961         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59962         (isinf_test_data): New variable.
59963         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59964         (isnan_test_data): New variable.
59965         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59966         (isnormal_test_data): New variable.
59967         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59968         (issignaling_test_data): New variable.
59969         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59970         (signbit_test_data): New variable.
59971         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59973         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59974         with INVALID_EXCEPTION.
59975         (acosh_test_data): Likewise.
59976         (asin_test_data): Likewise.
59977         (atanh_test_data): Likewise.
59978         (fmod_test_data): Likewise.
59979         (log_test_data): Likewise.
59980         (log10_test_data): Likewise.
59981         (log2_test_data): Likewise.
59982         (pow_test_data): Likewise.
59983         (sqrt_test_data): Likewise.
59984         (y0_test_data): Likewise.
59985         (y1_test_data): Likewise.
59986         (yn_test_data): Likewise.
59988         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59989         function contents.
59991         * math/libm-test.inc (struct test_ff_i_data): New type.
59992         (RUN_TEST_LOOP_ff_i_tg): New macro.
59993         (isgreater_test_data): New variable.
59994         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59995         (isgreaterequal_test_data): New variable.
59996         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59997         (isless_test_data): New variable.
59998         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59999         (islessequal_test_data): New variable.
60000         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60001         (islessgreater_test_data): New variable.
60002         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60003         (isunordered_test_data): New variable.
60004         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
60006 2013-05-14  David S. Miller  <davem@davemloft.net>
60008         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60010 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
60012         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
60014         * math/libm-test.inc (struct test_fF_f1_data): Change type of
60015         extra_test to int.
60016         (struct test_f_i_data): Change type of max_ulp to int.
60018         * math/libm-test.inc (test_ffI_f1_data): New type.
60019         (RUN_TEST_LOOP_ffI_f1): New macro.
60020         (remquo_test_data): New variable.
60021         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
60023         * setjmp/tst-setjmp-fp.c: New file.
60024         * setjmp/Makefile (tests): Add tst-setjmp-fp.
60025         (link-libm): New variable.
60026         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
60028         * math/libm-test.inc (struct test_f_i_data): New type.
60029         (RUN_TEST_LOOP_f_i): New macro.
60030         (RUN_TEST_LOOP_f_i_tg): Likewise.
60031         (fpclassify_test_data): New variable.
60032         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
60033         (ilogb_test_data): New variable.
60034         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
60036         * math/libm-test.inc (scalbln_test): Correct function name in END
60037         call.
60039         * math/libm-test.inc (struct test_f_f1_data): Add comment.
60040         (RUN_TEST_LOOP_fI_f1): New macro.
60041         (frexp_test_data): New variable.
60042         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
60044         * math/libm-test.inc (struct test_fF_f1_data): New type.
60045         (RUN_TEST_LOOP_fF_f1): New macro.
60046         (modf_test_data): New variable.
60047         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
60049         * math/libm-test.inc (struct test_f_f1_data): New type.
60050         (RUN_TEST_LOOP_f_f1): New macro.
60051         (gamma_test_data): New variable.
60052         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60053         (lgamma_test_data): New variable.
60054         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60056 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60058         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60059         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60060         (main): Comment "tls" pseudo-hwcap.
60062 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60064         * math/libm-test.inc (struct test_fl_f_data): New type.
60065         (RUN_TEST_LOOP_fl_f): New variable.
60066         (scalbln_test_data): New variable.
60067         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60069         * math/libm-test.inc (struct test_fi_f_data): New type.
60070         (RUN_TEST_LOOP_fi_f): New macro.
60071         (ldexp_test_data): New variable.
60072         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60073         (scalbn_test_data): New variable.
60074         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60076         * math/libm-test.inc (struct test_c_f_data): New type.
60077         (RUN_TEST_LOOP_c_f): New macro.
60078         (cabs_test_data): New variable.
60079         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60080         (carg_test_data): New variable.
60081         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60082         (cimag_test_data): New variable.
60083         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60084         (creal_test_data): New variable.
60085         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60087         * math/libm-test.inc (struct test_if_f_data): New type.
60088         (RUN_TEST_LOOP_if_f): New macro.
60089         (jn_test_data): New variable.
60090         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60091         (yn_test_data): New variable.
60092         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60094         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60096 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60098         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60099         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60101 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60103         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60104         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60105         (bench-deps): Add bench-timing.h.
60106         * benchtests-bench-skeleton.c: Include bench-timing.h.
60107         (main): Use TIMING_* macros instead of clock_gettime.
60108         * benchtests/bench-timing.h: New file.
60110         [BZ #14582]
60111         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60112         Renamed from _LIB_VERSION.
60113         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60115 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60117         * math/libm-test.inc (struct test_fff_f_data): New type.
60118         (RUN_TEST_LOOP_fff_f): New macro.
60119         (fma_test_data): New variable.
60120         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60121         (fma_towardzero_test_data): New variable.
60122         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60123         (fma_downward_test_data): New variable.
60124         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60125         (fma_upward_test_data): New variable.
60126         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60128         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60129         (struct test_c_c_data): New type.
60130         (RUN_TEST_LOOP_c_c): New macro.
60131         (cacos_test_data): New variable.
60132         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60133         (cacosh_test_data): New variable.
60134         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60135         (casin_test_data): New variable.
60136         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60137         (casinh_test_data): New variable.
60138         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60139         (catan_test_data): New variable.
60140         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60141         (catanh_test_data): New variable.
60142         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60143         (ccos_test_data): New variable.
60144         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60145         (ccosh_test_data): New variable.
60146         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60147         (cexp_test_data): New variable.
60148         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60149         (clog_test_data): New variable.
60150         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60151         (clog10_test_data): New variable.
60152         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60153         (conj_test_data): New variable.
60154         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60155         (cproj_test_data): New variable.
60156         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60157         (csin_test_data): New variable.
60158         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60159         (csinh_test_data): New variable.
60160         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60161         (csqrt_test_data): New variable.
60162         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60163         (ctan_test_data): New variable.
60164         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60165         (ctan_tonearest_test_data): New variable.
60166         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60167         (ctan_towardzero_test_data): New variable.
60168         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60169         (ctan_downward_test_data): New variable.
60170         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60171         (ctan_upward_test_data): New variable.
60172         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60173         (ctanh_test_data): New variable.
60174         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60175         (ctanh_tonearest_test_data): New variable.
60176         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60177         (ctanh_towardzero_test_data): New variable.
60178         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60179         (ctanh_downward_test_data): New variable.
60180         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60181         (ctanh_upward_test_data): New variable.
60182         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60183         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60184         of BUILD_COMPLEX.
60186         * math/libm-test.inc (struct test_ff_f_data): New type.
60187         (struct test_ff_f_data_nexttoward): Likewise.
60188         (RUN_TEST_LOOP_2_f): New macro.
60189         (RUN_TEST_LOOP_ff_f): Likewise.
60190         (atan2_test_data): New variable.
60191         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60192         (copysign_test_data): New variable.
60193         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60194         (fdim_test_data): New variable.
60195         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60196         (fmax_test_data): New variable.
60197         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60198         (fmin_test_data): New variable.
60199         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60200         (fmod_test_data): New variable.
60201         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60202         (hypot_test_data): New variable.
60203         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60204         (nextafter_test_data): New variable.
60205         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60206         (nexttoward_test_data): New variable.
60207         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60208         (pow_test_data): New variable.
60209         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60210         (pow_tonearest_test_data): New variable.
60211         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60212         (pow_towardzero_test_data): New variable.
60213         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60214         (pow_downward_test_data): New variable.
60215         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60216         (pow_upward_test_data): New variable.
60217         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60218         (remainder_test_data): New variable.
60219         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60220         (scalb_test_data): New variable.
60221         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60222         * sysdeps/i386/fpu/libm-test-ulps: Update.
60224 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60226         * math/libm-test.inc (fma_test): Use max_value instead of local
60227         variable fltmax.
60228         (nextafter_test): Likewise.
60230         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60231         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60232         (acos_downward_test_data): New variable.
60233         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60234         (acos_upward_test_data): New variable.
60235         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60236         (acosh_test_data): New variable.
60237         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60238         (asin_test_data): New variable.
60239         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60240         (asin_tonearest_test_data): New variable.
60241         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60242         (asin_towardzero_test_data): New variable.
60243         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60244         (asin_downward_test_data): New variable.
60245         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60246         (asin_upward_test_data): New variable.
60247         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60248         (asinh_test_data): New variable.
60249         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60250         (atan_test_data): New variable.
60251         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60252         (atanh_test_data): New variable.
60253         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60254         (cbrt_test_data): New variable.
60255         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60256         (ceil_test_data): New variable.
60257         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60258         (cos_test_data): New variable.
60259         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60260         (cos_tonearest_test_data): New variable.
60261         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60262         (cos_towardzero_test_data): New variable.
60263         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60264         (cos_downward_test_data): New variable.
60265         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60266         (cos_upward_test_data): New variable.
60267         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60268         (cosh_test_data): New variable.
60269         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60270         (cosh_tonearest_test_data): New variable.
60271         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60272         (cosh_towardzero_test_data): New variable.
60273         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60274         (cosh_downward_test_data): New variable.
60275         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60276         (cosh_upward_test_data): New variable.
60277         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60278         (erf_test_data): New variable.
60279         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60280         (erfc_test_data): New variable.
60281         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60282         (exp_test_data): New variable.
60283         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60284         (exp_tonearest_test_data): New variable.
60285         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60286         (exp_towardzero_test_data): New variable.
60287         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60288         (exp_downward_test_data): New variable.
60289         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60290         (exp_upward_test_data): New variable.
60291         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60292         (exp10_test_data): New variable.
60293         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60294         (exp2_test_data): New variable.
60295         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60296         (expm1_test_data): New variable.
60297         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60298         (fabs_test_data): New variable.
60299         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60300         (floor_test_data): New variable.
60301         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60302         (j0_test_data): New variable.
60303         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60304         (j1_test_data): New variable.
60305         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60306         (log_test_data): New variable.
60307         (log_test): Run tests with RUN_TEST_LOOP_f_f.
60308         (log10_test_data): New variable.
60309         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60310         (log1p_test_data): New variable.
60311         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60312         (log2_test_data): New variable.
60313         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60314         (logb_test_data): New variable.
60315         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60316         (logb_downward_test_data): New variable.
60317         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60318         (nearbyint_test_data): New variable.
60319         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60320         (rint_test_data): New variable.
60321         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
60322         (rint_tonearest_test_data): New variable.
60323         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60324         (rint_towardzero_test_data): New variable.
60325         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60326         (rint_downward_test_data): New variable.
60327         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60328         (rint_upward_test_data): New variable.
60329         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60330         (round_test_data): New variable.
60331         (round_test): Run tests with RUN_TEST_LOOP_f_f.
60332         (sin_test_data): New variable.
60333         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60334         (sin_tonearest_test_data): New variable.
60335         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60336         (sin_towardzero_test_data): New variable.
60337         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60338         (sin_downward_test_data): New variable.
60339         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60340         (sin_upward_test_data): New variable.
60341         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60342         (sinh_test_data): New variable.
60343         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60344         (sinh_tonearest_test_data): New variable.
60345         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60346         (sinh_towardzero_test_data): New variable.
60347         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60348         (sinh_downward_test_data): New variable.
60349         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60350         (sinh_upward_test_data): New variable.
60351         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60352         (sqrt_test_data): New variable.
60353         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60354         (tan_test_data): New variable.
60355         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60356         (tan_tonearest_test_data): New variable.
60357         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60358         (tan_towardzero_test_data): New variable.
60359         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60360         (tan_downward_test_data): New variable.
60361         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60362         (tan_upward_test_data): New variable.
60363         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60364         (tanh_test_data): New variable.
60365         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60366         (tgamma_test_data): New variable.
60367         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60368         (trunc_test_data): New variable.
60369         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60370         (y0_test_data): New variable.
60371         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60372         (y1_test_data): New variable.
60373         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60374         (significand_test_data): New variable.
60375         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60377 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60379         [BZ #12387]
60380         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60382 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60384         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60386 2013-05-10  Andreas Jaeger  <aj@suse.de>
60388         [BZ #15448]
60389         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60390         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60392 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60394         * math/gen-libm-test.pl (adjust_arg): New function.
60395         (special_functions): Handle generating output in both functions
60396         and arrays.
60397         (parse_args): Likewise.
60398         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60399         $in_func argument to parse_args.
60400         * math/libm-test.inc (struct test_f_f_data): New type.
60401         (IF_ROUND_INIT_): New macro.
60402         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60403         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60404         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60405         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60406         (ROUND_RESTORE_): Likewise.
60407         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60408         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60409         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60410         (ROUND_RESTORE_FE_UPWARD): Likewise.
60411         (RUN_TEST_LOOP_f_f): New macro.
60412         (acos_test_data): New variable.
60413         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60414         (acos_tonearest_test_data): New variable.
60415         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60417 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60419         * benchtests/bench-skeleton.c (startup): Fix coding style.
60421 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60423         [BZ #6809]
60424         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60425         negative infinity argument.
60426         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60427         negative infinity argument.
60428         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60429         negative infinity argument.
60430         * math/libm-test.inc (tgamma_test): Expect errno to be set for
60431         domain errors.
60433 2013-05-10  Florian Weimer  <fweimer@redhat.com>
60435         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60436         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60437         * iconv/iconv_prog.c (main): Likewise.
60438         * locale/programs/charmap-dir.c (charmap_readdir)
60439         (fopen_uncompressed): Likewise.
60440         * locale/programs/locfile.c (siblings_uncached)
60441         (write_locale_data): Use lstat64 instead of lstat.
60442         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60443         stat.
60445 2013-05-10  Andreas Jaeger  <aj@suse.de>
60447         [BZ #15395]
60448         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60449         localization.
60450         Include <locale.h>.
60452 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
60454         * elf/dl-close.c (_dl_close_worker): Add comments.
60456 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
60458         [BZ #15359]
60459         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60460         high part of pi/2.
60461         (__ieee754_rem_pio2l): Update comments.
60463         [BZ #15429]
60464         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60465         high part of pi/2.
60466         (__ieee754_rem_pio2l): Update comments.
60468         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60469         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60471         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60472         M_PI_4l.
60474         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60475         (M_PI_34_LOG10El): Likewise.
60476         (M_PI2_LOG10El): Likewise.
60477         (M_PI4_LOG10El): Likewise.
60478         (M_PI_LOG10El): Likewise.
60480 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60484 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
60486         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60487         (MINUS_ZERO_INIT): Likewise.
60488         (PLUS_INFTY_INIT): Likewise.
60489         (MINUS_INFTY_INIT): Likewise.
60490         (QNAN_VALUE_INIT): Likewise.
60491         (MAX_VALUE_INIT): Likewise.
60492         (MIN_VALUE_INIT): Likewise.
60493         (MIN_SUBNORM_VALUE_INIT): Likewise.
60494         (plus_zero): Initialize with PLUS_ZERO_INIT.
60495         (minus_zero): Initialize with MINUS_ZERO_INIT.
60496         (plus_infty): Initialize with PLUS_INFTY_INIT.
60497         (minus_infty): Initialize with MINUS_INFTY_INIT.
60498         (qnan_value): Initialize with QNAN_VALUE_INIT.
60499         (max_value): Initialize with MAX_VALUE_INIT.
60500         (min_value): Initialize with MIN_VALUE_INIT.
60501         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60503         * math/libm-test.inc (RUN_TEST_if_f): New macro.
60504         (jn_test): Use TEST_if_f instead of TEST_ff_f.
60505         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60506         (yn_test): Use TEST_if_f instead of TEST_ff_f.
60508         * math/libm-test.inc (RUN_TEST_f_f): New macro.
60509         (RUN_TEST_2_f): Likewise.
60510         (RUN_TEST_ff_f): Likewise.
60511         (RUN_TEST_fi_f): Likewise.
60512         (RUN_TEST_fl_f): Likewise.
60513         (RUN_TEST_fff_f): Likewise.
60514         (RUN_TEST_c_f): Likewise.
60515         (RUN_TEST_f_f1): Likewise.
60516         (RUN_TEST_fF_f1): Likewise.
60517         (RUN_TEST_fI_f1): Likewise.
60518         (RUN_TEST_ffI_f1): Likewise.
60519         (RUN_TEST_c_c): Likewise.
60520         (RUN_TEST_cc_c): Likewise.
60521         (RUN_TEST_f_i): Likewise.
60522         (RUN_TEST_f_i_tg): Likewise.
60523         (RUN_TEST_ff_i_tg): Likewise.
60524         (RUN_TEST_f_b): Likewise.
60525         (RUN_TEST_f_b_tg): Likewise.
60526         (RUN_TEST_f_l): Likewise.
60527         (RUN_TEST_f_L): Likewise.
60528         (RUN_TEST_sincos): Likewise.
60529         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60530         whether to show exceptions.  Do not include ");\n" in return
60531         value.
60532         (special_functions): Output call to RUN_TEST_sincos instead of
60533         check_float calls.  Update calls to new_test.
60534         (parse_args): Output call to single RUN_TEST_* macro instead of
60535         check_* calls and other assignments.  Update calls to new_test.
60537         [BZ #2546]
60538         [BZ #2560]
60539         [BZ #5159]
60540         [BZ #15426]
60541         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60542         input to result for tgamma overflow.
60543         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60544         (gamma_coeff): New variable.
60545         (NCOEFF): New macro.
60546         (gamma_positive): New function.
60547         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60548         underflow here.  Use gamma_positive instead of exp (lgamma) for
60549         other arguments.
60550         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60551         (gamma_coeff): New variable.
60552         (NCOEFF): New macro.
60553         (gammaf_positive): New function.
60554         (__ieee754_gammaf_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-128/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, NaN, overflow and
60562         underflow here.  Use gamma_positive instead of exp (lgamma) for
60563         other arguments.
60564         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60565         (gamma_coeff): New variable.
60566         (NCOEFF): New macro.
60567         (gammal_positive): New function.
60568         (__ieee754_gammal_r): Handle positive infinity, overflow and
60569         underflow here.  Handle NaN the same as positive infinity.  Remove
60570         check x < 0xffffffff for negative integers.  Use gamma_positive
60571         instead of exp (lgamma) for other arguments.
60572         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60573         (gamma_coeff): New variable.
60574         (NCOEFF): New macro.
60575         (gammal_positive): New function.
60576         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60577         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60578         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60579         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60580         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60581         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60582         * sysdeps/generic/math_private.h (__gamma_productf): New
60583         prototype.
60584         (__gamma_product): Likewise.
60585         (__gamma_productl): Likewise.
60586         * math/Makefile (libm-calls): Add gamma_product.
60587         * math/libm-test.inc (tgamma_test): Add more tests.
60588         * sysdeps/i386/fpu/libm-test-ulps: Update.
60589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60591 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60593         * benchtests/bench-skeleton.c (main): Preheat CPU.
60595 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60597         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60599 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60601         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60602         and _dl_skip_args_internal.
60604 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60606         * manual/message.texi (Message Translation): Talk about users.
60607         Message to key mapping impacts design.
60609 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60611         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60613         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60615         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60616         * sysdeps/wordsize-64/glob64.c: ... here.
60618         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60619         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60620         New macros.
60622         * debug/getlogin_r_chk.c: Moved to ...
60623         * login/getlogin_r_chk.c: ... here.
60624         * debug/Makefile (routines): Move getlogin_r_chk to ...
60625         * login/Makefile (routines): ... here.
60626         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60627         * login/Versions (libc: GLIBC_2.4): ... here.
60629         * io/poll.c (__poll): Renamed from poll.
60630         Add libc_hidden_def.
60631         (poll): Define as weak alias.
60633         * debug/ptsname_r_chk.c: Moved to ...
60634         * login/ptsname_r_chk.c: ... here.
60635         * debug/Makefile (routines): Move ptsname_r_chk to ...
60636         * login/Makefile (routines): ... here.
60637         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60638         * login/Versions (libc: GLIBC_2.4): ... here.
60640         * posix/getlogin.c: Moved to ...
60641         * login/getlogin.c: ... here.
60642         * posix/getlogin_r.c: Moved to ...
60643         * login/getlogin_r.c: ... here.
60644         * posix/getlogin_r.c: Moved to ...
60645         * login/getlogin_r.c: ... here.
60646         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60647         * login/Makefile (routines): ... here.
60648         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60649         * login/Versions (libc: GLIBC_2.0): ... here.
60651         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60652         (setrlimit): Define as weak alias.
60654         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60655         Call __ names for open, ftruncate, and close.
60656         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60657         (truncate): Define as weak alias.
60659 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60661         * math/gen-libm-test.pl (parse_args): Initialize x before each
60662         test of frexp, modf and remquo.
60664         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60665         test signgam value.
60667 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60669         [BZ #15418]
60670         [BZ #15419]
60671         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60672         internal tests.
60673         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60675 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60677         * elf/dl-writev.h: New file.
60678         * elf/dl-misc.c: Include it.
60679         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60680         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60682 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60684         * math/libm-test.inc (noXFails): Remove variable.
60685         (noXPasses): Likewise.
60686         (BUILD_COMPLEX_INT): Remove macro.
60687         (print_screen): Remove xfail argument.
60688         (print_screen_max_error): Likewise.
60689         (update_stats): Likewise.
60690         (print_max_error): Likewise.  Update calls to other affected
60691         functions.
60692         (print_complex_max_error): Likewise.
60693         (test_single_exception): Update calls to print_screen.
60694         (test_single_errno): Likewise.
60695         (check_float_internal): Remove xfail argument.  Update calls to
60696         other affected functions.
60697         (check_float): Likewise.
60698         (check_complex): Likewise.
60699         (check_int): Likewise.
60700         (check_long): Likewise.
60701         (check_bool): Likewise.
60702         (check_longlong): Likewise.
60703         (main): Don't print noXFails and noXPasses.
60704         * math/gen-libm-test.pl (top level): Don't mention expected
60705         failure handling in comment.
60706         (new_test): Don't handle expected failures.
60707         (parse_args): Don't mention expected failure handling in comment.
60708         (generate_testfile): Don't handle expected failures.
60709         (parse_ulps): Likewise.
60710         (print_ulps_file): Likewise.
60711         (get_failure): Remove function.
60712         (output_test): Don't handle expected failures.
60713         * make/README.libm-test: Don't mention expected failure handling.
60715         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60716         (minus_zero): Likewise.
60717         (plus_infty): Likewise.
60718         (minus_infty): Likewise.
60719         (qnan_value): Likewise.
60720         (max_value): Likewise.
60721         (min_value): Likewise.
60722         (min_subnorm_value): Likewise.
60723         (initialize): Do not initialize those variables dynamically.
60725 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60727         * io/open.c (__open_2): Moved to ...
60728         * io/open_2.c: ... this new file.
60729         * io/open64.c (__open64_2): Moved to ...
60730         * io/open64_2.c: ... this new file.
60731         * io/openat.c (__openat_2): Moved to ...
60732         * io/openat_2.c: ... this new file.
60733         * io/openat64.c (__openat64_2): Moved to ...
60734         * io/openat64_2.c: ... this new file.
60735         * io/Makefile (routines): Add them.
60736         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60737         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60738         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60739         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60740         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60741         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60742         (__openat64): Add hidden_ver.
60743         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60744         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60746         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60747         Separately conditionalize setting of GLRO(dl_sysinfo) so
60748         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60749         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60751 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60753         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60754         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60755         definition.
60756         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60757         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60758         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60759         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60760         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60762 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60764         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60765         test signgam value.
60767         * math/libm-test.inc (hypot_test): Do not use
60768         IGNORE_ZERO_INF_SIGN.
60770 2013-05-03  Andreas Jaeger  <aj@suse.de>
60772         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60773         Linux 3.9.
60774         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60775         (PF_MAX): Adjust for VSOCK change.
60777 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60781 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60783         [BZ #15264]
60784         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60785         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60786         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60788 2013-05-02  David S. Miller  <davem@davemloft.net>
60790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60792 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60794         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60796 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60798         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60800 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60802         [BZ #14952]
60803         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60804         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60805         Use __attribute__ ((__gnu_inline__)).
60806         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60807         Don't use __attribute__ ((__gnu_inline__)).
60809 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60811         [BZ #15423]
60812         * math/s_catan.c (__catan): Handle small real or imaginary part of
60813         input specially to avoid spurious underflow.
60814         * math/s_catanf.c (__catanf): Likewise.
60815         * math/s_catanh.c (__catanh): Likewise.
60816         * math/s_catanhf.c (__catanhf): Likewise.
60817         * math/s_catanhl.c (__catanhl): Likewise.
60818         * math/s_catanl.c (__catanl): Likewise.
60819         * math/libm-test.inc (catan_test): Add more tests.
60820         (catanh_test): Likewise.
60821         * sysdeps/i386/fpu/libm-test-ulps: Update.
60822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60824 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60826         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60828 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60830         [BZ #15416]
60831         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60832         accurately for denominator in atan2.
60833         * math/s_catanf.c (__catanf): Likewise.
60834         * math/s_catanh.c (__catanh): Likewise.
60835         * math/s_catanhf.c (__catanhf): Likewise.
60836         * math/s_catanhl.c (__catanhl): Likewise.
60837         * math/s_catanl.c (__catanl): Likewise.
60838         * math/libm-test.inc (catan_test): Add more tests.
60839         (catanh_test): Likewise.
60840         * sysdeps/i386/fpu/libm-test-ulps: Update.
60841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60843 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60845         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60847         * benchtests/Makefile (bench): Remove slow benchmarks.
60848         * benchtests/atan-inputs: Add slow benchmark inputs.
60849         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60850         (BENCH_FUNC): Accept variant offset.
60851         (VARIANT): Define.
60852         * benchtests/bench-skeleton.c (main): Run benchmark for each
60853         variant.
60854         * benchtests/cos-inputs: Add slow benchmark inputs.
60855         * benchtests/exp-inputs: Likewise.
60856         * benchtests/pow-inputs: Likewise.
60857         * benchtests/sin-inputs: Likewise.
60858         * benchtests/slowatan-inputs: Remove.
60859         * benchtests/slowatan.c: Remove.
60860         * benchtests/slowcos-inputs: Remove.
60861         * benchtests/slowcos.c: Remove.
60862         * benchtests/slowexp-inputs: Remove.
60863         * benchtests/slowexp.c: Remove.
60864         * benchtests/slowpow-inputs: Remove.
60865         * benchtests/slowpow.c: Remove.
60866         * benchtests/slowsin-inputs: Remove.
60867         * benchtests/slowsin.c: Remove.
60868         * benchtests/slowtan-inputs: Remove.
60869         * benchtests/slowtan.c: Remove.
60870         * benchtests/tan-inputs: Add slow benchmark inputs.
60871         * scripts/bench.pl: Parse comments and directives.
60873         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60874         in CPPFLAGS.
60875         ($(objpfx)bench-%.c): Remove *-ITER.
60876         * benchtests/bench-modf.c: Remove definition of ITER.
60877         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60878         (main): Loop for DURATION seconds instead of fixed number of
60879         iterations.
60880         * scripts/bench.pl: Don't expect iterations in parameters.
60882 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60884         * io/fchdir.c (__fchdir): Renamed from fchdir.
60885         (fchdir): Define as weak alias.
60887 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60889         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60890         (ERRNO_EDOM): Likewise.
60891         (ERRNO_ERANGE): Likewise.
60892         (noErrnoTests): New variable.
60893         (init_max_error): Set errno to 0.
60894         (test_single_errno): New function.
60895         (test_errno): Likewise.
60896         (check_float_internal): Call test_errno.  Set errno to 0.
60897         (check_complex): Refer to errno tests in comment.
60898         (check_int): Call test_errno.  Set errno to 0.
60899         (check_long): Likewise.
60900         (check_bool): Likewise.
60901         (check_longlong): Likewise.
60902         (cos_test): Use ERRNO_* flags for errno tests instead of
60903         check_int.
60904         (expm1_test): Likewise.
60905         (fmod_test): Likewise.
60906         (ilogb_test): Likewise.
60907         (lgamma_test): Likewise.
60908         (pow_test): Likewise.
60909         (remainder_test): Likewise.
60910         (sin_test): Likewise.
60911         (tan_test): Likewise.
60912         (yn_test): Likewise.
60913         (initialize): Set errno to 0.
60914         (main): Print number of errno tests.
60915         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60917 2013-04-29  Andreas Jaeger  <aj@suse.de>
60919         [BZ #15084]
60920         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60921         and RES_USEVC.
60923         [BZ #15085]
60924         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60925         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60926         unimplemented.
60928         [BZ #15380]
60929         * stdlib/random.c (__initstate): Return NULL if
60930         __initstate fails.
60932         [BZ #15086]
60933         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60934         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60935         RES_SNGLKUPREOP.
60937 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60941 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60943         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60944         of individual tests.
60945         (casin_test): Likewise.
60946         (casinh_test): Likewise.
60948 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60950         [BZ #15409]
60951         * math/s_catan.c (__catan): Handle arguments with large real or
60952         imaginary part separately without squaring.
60953         * math/s_catanf.c (__catanf): Likewise.
60954         * math/s_catanh.c (__catanh): Likewise.
60955         * math/s_catanhf.c (__catanhf): Likewise.
60956         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60957         and redefine.
60958         (__catanhl): Handle arguments with large real or imaginary part
60959         separately without squaring.
60960         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60961         and redefine.
60962         (__catanl): Handle arguments with large real or imaginary part
60963         separately without squaring.
60964         * math/libm-test.inc (catan_test): Add more tests.
60965         (catanh_test): Likewise.
60966         * sysdeps/i386/fpu/libm-test-ulps: Update.
60967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60969 2013-04-27  Andreas Jaeger  <aj@suse.de>
60971         [BZ #15007]
60972         * stdlib/stdlib.h: Update guards for qecvt.
60973         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60974         <stdlib.h>.
60976 2013-04-27  Allan McRae  <allan@archlinux.org>
60978         * sysdeps/i386/fpu/libm-test-ulps: Update.
60980 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60982         [BZ #15406]
60983         * math/s_catan.c: Include <float.h>.
60984         (__catan): Ensure underflow exception occurs for underflowed
60985         result.
60986         * math/s_catanf.c: Include <float.h>.
60987         (__catanf): Ensure underflow exception occurs for underflowed
60988         result.
60989         * math/s_catanh.c: Include <float.h>.
60990         (__catanh): Ensure underflow exception occurs for underflowed
60991         result.
60992         * math/s_catanhf.c: Include <float.h>.
60993         (__catanhf): Ensure underflow exception occurs for underflowed
60994         result.
60995         * math/s_catanhl.c: Include <float.h>.
60996         (__catanhl): Ensure underflow exception occurs for underflowed
60997         result.
60998         * math/s_catanl.c: Include <float.h>.
60999         (__catanl): Ensure underflow exception occurs for underflowed
61000         result.
61001         * math/libm-test.inc (catan_test): Add more tests.
61002         (catanh_test): Likewise.
61004         [BZ #15405]
61005         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
61006         underflowed result.
61007         * math/s_ccoshf.c (__ccoshf): Likewise.
61008         * math/s_ccoshl.c (__ccoshl): Likewise.
61009         * math/s_csin.c (__csin): Likewise.
61010         * math/s_csinf.c (__csinf): Likewise.
61011         * math/s_csinh.c (__csinh): Likewise.
61012         * math/s_csinhf.c (__csinhf): Likewise.
61013         * math/s_csinhl.c (__csinhl): Likewise.
61014         * math/s_csinl.c (__csinl): Likewise.
61015         * math/libm-test.inc (ccos_test): Add more tests.
61016         (ccosh_test): Likewise.
61017         (csin_test): Likewise.
61018         (csinh_test): Likewise.
61020 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61022         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
61023         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
61024         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
61025         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
61026         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
61027         powerpc/power5+/fpu folders.
61028         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
61031 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
61033         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61035 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
61037         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
61038         additions to variable.
61039         [$(config-machine) = x86_64] (modules-names): Likewise.
61040         ($(objpfx)tst-audit3): Remove dependency.
61041         ($(objpfx)tst-audit3.out): Likewise.
61042         ($(objpfx)tst-audit4): Likewise.
61043         ($(objpfx)tst-audit4.out): Likewise.
61044         ($(objpfx)tst-audit5): Likewise.
61045         ($(objpfx)tst-audit5.out): Likewise.
61046         ($(objpfx)tst-audit6): Likewise.
61047         ($(objpfx)tst-audit6.out): Likewise.
61048         ($(objpfx)tst-audit7): Likewise.
61049         ($(objpfx)tst-audit7.out): Likewise.
61050         (tst-audit3-ENV): Remove variable.
61051         (tst-audit4-ENV): Likewise.
61052         (tst-audit5-ENV): Likewise.
61053         (tst-audit6-ENV): Likewise.
61054         (tst-audit7-ENV): Likewise.
61055         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61056         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61057         addition to variable.
61058         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61059         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61060         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61061         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61062         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61063         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61064         tst-audit3, tst-audit4 and tst-audit5.
61065         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61066         tst-audit6 and tst-audit7.
61067         [$(subdir) = elf] (modules-names): Add audit modules for those
61068         tests.
61069         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61070         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61071         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61072         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61073         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61074         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61075         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61076         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61077         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61078         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61079         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61080         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61081         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61082         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61083         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61084         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61085         Likewise.
61086         [$(subdir) = elf && $(config-cflags-avx) = yes]
61087         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61088         [$(subdir) = elf && $(config-cflags-avx) = yes]
61089         (CFLAGS-tst-auditmod4a.c): Likewise.
61090         [$(subdir) = elf && $(config-cflags-avx) = yes]
61091         (CFLAGS-tst-auditmod4b.c): Likewise.
61092         [$(subdir) = elf && $(config-cflags-avx) = yes]
61093         (CFLAGS-tst-auditmod6b.c): Likewise.
61094         [$(subdir) = elf && $(config-cflags-avx) = yes]
61095         (CFLAGS-tst-auditmod6c.c): Likewise.
61096         [$(subdir) = elf && $(config-cflags-avx) = yes]
61097         (CFLAGS-tst-auditmod7b.c): Likewise.
61098         * elf/tst-audit3.c: Move to ...
61099         * sysdeps/x86_64/tst-audit3.c: ... here.
61100         * elf/tst-audit4.c: Move to ...
61101         * sysdeps/x86_64/tst-audit4.c: ... here.
61102         * elf/tst-audit5.c: Move to ...
61103         * sysdeps/x86_64/tst-audit5.c: ... here.
61104         * elf/tst-audit6.c: Move to ...
61105         * sysdeps/x86_64/tst-audit6.c: ... here.
61106         * elf/tst-audit7.c: Move to ...
61107         * sysdeps/x86_64/tst-audit7.c: ... here.
61108         * elf/tst-auditmod3a.c: Move to ...
61109         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61110         * elf/tst-auditmod3b.c: Move to ...
61111         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61112         * elf/tst-auditmod4a.c: Move to ...
61113         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61114         * elf/tst-auditmod4b.c: Move to ...
61115         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61116         * elf/tst-auditmod5a.c: Move to ...
61117         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61118         * elf/tst-auditmod5b.c: Move to ...
61119         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61120         * elf/tst-auditmod6a.c: Move to ...
61121         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61122         * elf/tst-auditmod6b.c: Move to ...
61123         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61124         * elf/tst-auditmod6c.c: Move to ...
61125         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61126         * elf/tst-auditmod7a.c: Move to ...
61127         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61128         * elf/tst-auditmod7b.c: Move to ...
61129         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61131 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61133         [BZ #15366]
61134         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61135         define unconditionally.
61136         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61137         define unconditionally.
61138         (INT8_C, INT16_C, etc.): Likewise.
61140 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61142         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61143         __ehdr_start with hidden visibility.
61145         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61147 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61149         * math/libm-test.inc (cos_test): Use accurate hex constants.
61150         (sincost_test): Likewise.
61152 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61154         * math/libm-test.inc (catan_test): Add more tests.
61155         (catanh_test): Likewise.
61157         * math/s_catanf.c (__catanf): Use suffixed floating-point
61158         constants.
61159         * math/s_catanhf.c (__catanhf): Likewise.
61160         * math/s_catanhl.c (__catanhl): Likewise.
61161         * math/s_catanl.c (__catanl): Likewise.
61163         [BZ #15394]
61164         * math/s_catan.c (__catan): Calculate imaginary part of result
61165         with log1p not log unless computing log of number close to 0.
61166         * math/s_catanf.c (__catanf): Likewise.
61167         * math/s_catanl.c (__catanl): Likewise.
61168         * math/s_catanh.c (__catanh): Calculate real part of result with
61169         log1p not log unless computing log of number close to 0.
61170         * math/s_catanhf.c (__catanhf): Likewise.
61171         * math/s_catanhl.c (__catanhl): Likewise.
61172         * math/libm-test.inc (catan_test): Add more tests.
61173         (catanh_test): Likewise.
61174         * sysdeps/i386/fpu/libm-test-ulps: Update.
61175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61177 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61179         * benchtests/Makefile: Mention files in which fast and slow
61180         paths of math functions are implemented.
61182 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61184         * sysdeps/posix/timespec_get.c: New file.
61186 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61188         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61189         POWER.
61190         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61191         for POWER.
61192         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61193         powerpc/power5/fpu folders.
61194         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61195         * benchtests/Makefile: Add modf testcase.
61196         * benchtests/bench-modf.c: New file: Benchmark test for mo
61198 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61200         [BZ #14888]
61201         * time/Makefile (tests): Add tst-strptime-whitespace.
61202         * time/strptime_l.c (get_number): Use ISSPACE.
61203         (__strptime_internal): Likewise.
61204         * time/tst-strptime-whitespace.c: New test case.
61206 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61208         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61209         member.
61210         (_nss_files_init): Set it here.
61212 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61214         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61215         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61216         unsigned.
61218 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61220         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61222 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61224         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61225         size just once.
61227 2013-04-21  David S. Miller  <davem@davemloft.net>
61229         * po/ru.po: Update Russion translation from translation project.
61231 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61233         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61234         and setfsgid.
61236 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61238         * configure.in: Remove i386 configure warning. Remove i386 case.
61239         * configure: Regenerate.
61240         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61241         Add example to error message.
61242         * sysdeps/i386/configure: Regenerate.
61244 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61246         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61247         slowtan.
61248         * benchtests/cos-inputs: New file.
61249         * benchtests/slowcos-inputs: New file.
61250         * benchtests/slowcos.c: New file.
61251         * benchtests/slowtan-inputs: New file.
61252         * benchtests/slowtan.c: New file.
61253         * benchtests/tan-inputs: New file.
61255 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61257         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61258         considered kosher.
61260 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61262         * benchtests/Makefile: Include cppflags-iterator.mk to add
61263         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61265         * Makefile.in (bench-clean): New target.
61266         * benchtests/Makefile (bench-clean): Likewise.
61268 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61270         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61272 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61274         * stdio-common/tstdiomisc.c: Fix coding-style violation.
61276 2013-04-15  Andreas Schwab  <schwab@suse.de>
61278         * nscd/grpcache.c (cache_addgr): Properly check for short write.
61279         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61280         * nscd/pwdcache.c (cache_addpw): Likewise.
61281         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
61282         more than recsize.
61284 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61286         * benchtests/Makefile (bench): Write all output to
61287         bench-out.tmp together.
61289 2013-04-15  Andreas Schwab  <schwab@suse.de>
61291         * nscd/nscd.c (main): Don't fork again after closing files.
61293 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61295         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61297         * benchtests/Rules (bench-deps): Collect dependencies into a
61298         single variable.  Add Makefile to dependencies.
61299         ($(objpfx)bench-%.c): Depend on bench-deps.
61301 2013-04-12  Roland McGrath  <roland@hack.frob.com>
61302             Xavier Roche  <roche+kml2@exalead.com>
61304         [BZ #15361]
61305         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61306         just that it's a file descriptor.
61307         * manual/llio.texi (Synchronizing AIO Operations): Update description
61308         for EBADF error from aio_fsync.
61310 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61312         * Rules (bench): Move target definition...
61313         * benchtests/Makefile: ... here.
61315 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
61317         * math/libm-test.inc (cos_test): Fix PI/2 test.
61318         (sincos_test): Likewise.
61319         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61320         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
61322 2013-04-11  Andreas Schwab  <schwab@suse.de>
61324         [BZ #13988]
61325         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61326         accept exponent character only when digits were seen.
61327         * stdio-common/Makefile (tests): Add bug26.
61328         * stdio-common/bug26.c: New file.
61330         [BZ #14293]
61331         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61332         non-freeable.
61334 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61336         * Makeconfig (rtld-prefix): Define built linker prefix.
61337         * Rules (run-bench): Use it.
61338         * math/Makefile (run-regen-ulps): Likewise.
61340         * Rules (bench): Remove eval.
61342 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61343             Roland McGrath  <roland@hack.frob.com>
61344             Ondrej Bilka  <neleai@seznam.cz>
61346         [BZ #15346]
61347         * time/getdate.c: Include ctype.h and alloca.h.
61348         (__getdate_r): Trim leading and trailing spaces of input.
61349         * time/tst-getdate.c (tests): Add tests with leading and
61350         trailing spaces.
61352 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61354         [BZ #14280]
61355         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61356         when computing value.
61358 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61360         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61361         Use testrun.sh to run libm tests.
61363         [BZ #15309]
61364         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61366 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61368         [BZ #15264]
61369         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61371 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61373         * Makefile.in (regen-ulps): New target.
61374         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61375         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61376         [ifneq (no,$(PERL)] (regen-ulps): New target.
61377         [ifeq (no,$(PERL)] (regen-ulps): New target.
61378         * math/libm-test.inc (ulps_file_name): Define.
61379         (output_dir): New variable.
61380         (options): Add "output-dir" option.
61381         (parse_opt): Handle 'o' case.
61382         (main): If output_dir is non-NULL use it as a prefix
61383         otherwise use "".
61384         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61386 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61388         [BZ #10060, #10062]
61389         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61390         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61391         fail configure if __sync_val_compare_and_swap is not inlined.
61392         * sysdeps/i386/configure: Regenerate.
61393         * configure.in: Build for i686 when configured for i386.
61394         * configure: Regenerate.
61395         * README: Remove i386 reference.
61397 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61399         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61400         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61402 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61404         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61405         (lmsnanval): New variables.
61406         (F): Add conversion tests.
61407         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61408         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61410         * stdio-common/tstdiomisc.c (F): Properly collect individual
61411         tests' results.
61413         [BZ #14686, #15336]
61414         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61415         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61416         Instead, use input NaN values or generate a qNaN by arithmetic
61417         operation.  Also fix bugs to comply with the standard.
61418         * math/libm-test.inc (remainder_test): Add more tests.
61420         [BZ #15335, #15342]
61421         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61422         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61423         input NaN values or generate a qNaN by arithmetic operation.
61425         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61426         unreachable code.
61428         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61429         definitions.
61431 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
61433         [BZ #14478]
61434         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61435         underflowed result.
61436         * math/s_cexpf.c (__cexpf): Likewise.
61437         * math/s_cexpl.c (__cexpl): Likewise.
61438         * math/libm-test.inc (cexp_test): Add more tests.
61440 2013-04-03  Andreas Schwab  <schwab@suse.de>
61442         [BZ #15330]
61443         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61444         order arrays from heap if bigger than alloca cutoff.
61446 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
61448         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61449         (SNAN_TESTS_double): Refer to GCC PR56831.
61450         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61451         GCC PR56828.
61453 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61455         * Rules (bench): Move bench.out after the run is complete.
61457         * Rules (bench): Echo currently running benchmark.
61459         * benchtests/Makefile (bench): Add atan and slowatan.
61460         * benchtests/atan-inputs: New file.
61461         * benchtests/slowatan-inputs: New file.
61462         * benchtests/slowatan.c: New file.
61464         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61465         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61466         its value.
61468         [BZ #15305]
61469         * sysdeps/unix/sysv/linux/kernel-features.h
61470         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61471         __ASSUME_XFS_RESTRICTED_CHOWN.
61472         * sysdeps/unix/sysv/linux/pathconf.c
61473         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61474         Save and restore errno.
61476 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
61478         [BZ #15327]
61479         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61480         arguments using __kernel_casinh.
61481         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61482         arguments using __kernel_casinhf.
61483         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61484         arguments using __kernel_casinhl.
61485         * math/libm-test.inc (cacosh_test): Add more tests.
61486         * sysdeps/i386/fpu/libm-test-ulps: Update.
61487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61489 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61491         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61492         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61494         * bench/Makefile (bench): Add sin and slowsin.
61495         * benchtests/sin-inputs: New file.
61496         * benchtests/slowsin-inputs: New file.
61497         * benchtests/slowsin.c: New file.
61499         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61500         (bench): Add slowexp and slowpow.
61501         (exp-ITER): Increase iterations.
61502         (pow-ITER): Likewise.
61503         * benchtests/exp-inputs: Change input.
61504         * benchtests/pow-inputs: Likewise.
61505         * benchtests/slowexp-inputs: New file.
61506         * benchtests/slowexp.c: New file.
61507         * benchtests/slowpow-inputs: New file.
61508         * benchtests/slowpow.c: New file.
61510 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61512         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61513         instructions.
61514         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61515         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61516         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61517         * benchtests/Makefile: Add rint benchtest.
61518         * benchtests/rint-inputs: Input for rint benchtest.
61520 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61522         * Versions.def (libm): Add GLIBC_2.18.
61523         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61524         hidden libm prototypes.
61525         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61526         * math/Makefile (libm-calls): Add s_issignaling.
61527         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61528         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61529         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61530         declaration.
61531         * math/math.h [__USE_GNU] (issignaling): New macro.
61532         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61533         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61534         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61535         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61536         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61537         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61538         * manual/arith.texi (issignaling): New section.
61539         * manual/libm-err-tab.pl (@all_functions): Update comment.
61540         * math/gen-libm-test.pl (parse_args): Apply special handling for
61541         issignaling.
61542         * math/libm-test.inc (print_float, issignaling_test): New
61543         functions.
61544         (check_float_internal): Add issignaling checks.
61545         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61546         default definition.
61547         * sysdeps/powerpc/math-tests.h: New file.
61548         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61549         tests.
61550         * math/test-snan.c (TEST_FUNC): Likewise.
61552 2013-03-30  David S. Miller  <davem@davemloft.net>
61554         * po/de.po: Update from translation team.
61556 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61558         [BZ #10357]
61559         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61560         imaginary part less than 1.0 and real part less than 0.5
61561         specially.
61562         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61563         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61564         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61565         (cacos_test): Add more tests.
61566         (casin_test): Likewise.
61567         (casinh_test): Likewise.
61568         * sysdeps/i386/fpu/libm-test-ulps: Update.
61569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61571 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61573         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61574         ONE with its value.
61576         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61577         (__pow_mp): Replace ONE and MONE with their values.
61578         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61579         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61580         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61581         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61582         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61583         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61585         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61587         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61588         (__pow_mp): Replace ZERO and MZERO with their values.
61589         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61590         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61591         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61592         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61593         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61594         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61595         (__sqr): Likewise.
61597         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61599         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61601 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61603         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61604         Declare with __attribute__ ((weak)).
61605         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61606         Call __call_tls_dtors only if it's not NULL.
61608 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61610         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61611         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61612         magic __ehdr_start linker symbol if it's defined.
61613         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61614         them up here if it was already done.
61616         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61617         (_dl_aux_init): Use const in cast when setting it.
61618         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61619         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61620         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61622         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61623         Declare them here.
61624         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61625         * csu/libc-tls.c: Nor here.
61626         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61628         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61629         (__libc_message): Never call vsyslog.
61631 2013-03-28  Alan Modra  <amodra@gmail.com>
61633         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61634         Define as empty.
61635         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61636         Likewise.
61638 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61640         [BZ #15214]
61641         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61642         underflow.
61643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61645 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61647         [BZ #15304]
61648         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61649         Don't add gid passed as argument.
61651         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61653 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61655         [BZ #15307]
61656         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61657         imaginary part between 1.0 and 1.5 and real part less than 0.5
61658         specially.
61659         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61660         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61661         * math/libm-test.inc (cacos_test): Add more tests.
61662         (casin_test): Likewise.
61663         (casinh_test): Likewise.
61664         * sysdeps/i386/fpu/libm-test-ulps: Update.
61665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61667 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61669         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61670         constants.
61671         (norm): Likewise.
61672         (denorm): Likewise.
61673         (__dbl_mp): Likewise.
61674         (add_magnitudes): Likewise.
61675         (sub_magnitudes): Likewise.
61676         (__add): Likewise.
61677         (__sub): Likewise.
61678         (__mul): Likewise.
61679         (__sqr): Likewise.
61680         (__inv): Likewise.
61681         (__dvd): Likewise.
61683         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61684         commented code.
61685         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61686         (__dubcos): Likewise.
61687         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61688         (__ieee754_acos): Likewise.
61689         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61690         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61691         (__exp1): Likewise.
61692         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61693         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61694         (log1): Likewise.
61695         (my_log2): Likewise.
61696         (checkint): Likewise.
61697         * sysdeps/ieee754/dbl-64/e_remainder.c
61698         (__ieee754_remainder): Likewise.
61699         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61700         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61701         (bsloww): Likewise.
61702         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61704         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61705         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61706         MANTISSA_STORE_T to store computations on mantissa.  Use
61707         macros for rounding and division.
61708         (denorm): Likewise.
61709         (__dbl_mp): Likewise.
61710         (add_magnitudes): Likewise.
61711         (sub_magnitudes): Likewise.
61712         (__mul): Likewise.
61713         (__sqr): Likewise.
61714         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61715         powers of two in terms of TWOPOW macro.
61716         (mp_no): Make type of mantissa as MANTISSA_T.
61717         [!RADIXI]: Define RADIXI.
61718         [!TWO52]: Define TWO52.
61719         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61721 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61723         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61724         llroundl symbol when building for PPC32.
61726 2013-03-24  Mark H Weaver  <mhw@netris.org>
61728         * manual/arith.texi (Normalization Functions): Fix prototypes for
61729         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61731 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61733         [BZ #13889]
61734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61735         high value to check if expl overflow.
61736         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61737         to check for underflow and overflow.
61738         * math/libm-test.inc: Add exp test.
61740 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61742         [BZ #11120]
61743         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61744         with NOT_IN_libc.
61746 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61748         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61749         symbol.
61751 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61753         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61754         wrap blocks consisting of several statements.
61756         * sysdeps/generic/math-tests.h: New file.
61757         * sysdeps/i386/fpu/math-tests.h: Likewise.
61758         * math/test-snan.c: Include it.
61759         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61761 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61763         [BZ #15285]
61764         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61765         (__ieee754_j0l): Do not improve calculations using cos of twice
61766         input for inputs above LDBL_MAX / 2.0L.
61767         (__ieee754_y0l): Likewise.
61768         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61769         (__ieee754_j1l): Do not improve calculations using cos of twice
61770         input for inputs above LDBL_MAX / 2.0L.
61771         (__ieee754_y1l): Likewise.
61772         * math/libm-test.inc (j0_test): Add another test.
61773         (j1_test): Likewise.
61774         (y0_test): Likewise.
61775         (y1_test): Likewise.
61776         * sysdeps/i386/fpu/libm-test-ulps: Update.
61778 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61780         * Rules ($(objpfx)bench-%.c): Include code from a C source
61781         file.
61783 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61785         [BZ #15287]
61786         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61787         imaginary part 1.0 and real part less than 0.5 specially.
61788         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61789         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61790         * math/libm-test.inc (cacos_test): Add more tests.
61791         (casin_test): Likewise.
61792         (casinh_test): Likewise.
61793         * sysdeps/i386/fpu/libm-test-ulps: Update.
61794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61796 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61798         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61799         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61801 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61803         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61804         * config.make.in (config-cflags-sse4): Remove variable.
61805         (config-cflags-avx): Likewise.
61806         (config-cflags-sse2avx): Likewise.
61807         (config-cflags-novzeroupper): Likewise.
61808         (config-asflags-i686): Likewise.
61809         (have-mfma4): Likewise.
61810         (have-as-vis3): Likewise.
61811         (MIG): Likewise.
61812         * configure.in (MIG): Do not AC_SUBST.
61813         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61814         (libc_cv_cc_sse4): Do not AC_SUBST.
61815         (libc_cv_cc_avx): Likewise.
61816         (libc_cv_cc_sse2avx): Likewise.
61817         (libc_cv_cc_novzeroupper): Likewise.
61818         (libc_cv_cc_fma4): Likewise.
61819         (libc_cv_as_i686): Likewise.
61820         (libc_cv_sparc_as_vis3): Likewise.
61821         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61822         LIBC_CONFIG_VAR.
61823         (config-asflags-i686): Likewise.
61824         (config-cflags-avx): Likewise.
61825         (config-cflags-sse2avx): Likewise.
61826         (have-mfma4): Likewise.
61827         (config-cflags-novzeroupper): Likewise.
61828         * sysdeps/mach/configure.in (MIG): Likewise.
61829         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61830         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61831         LIBC_CONFIG_VAR.
61832         (config-cflags-avx): Likewise.
61833         (config-cflags-sse2avx): Likewise.
61834         (have-mfma4): Likewise.
61835         (config-cflags-novzeroupper): Likewise.
61836         * configure: Regenerated.
61837         * sysdeps/i386/configure: Likewise.
61838         * sysdeps/mach/configure: Likewise.
61839         * sysdeps/sparc/configure: Likewise.
61840         * sysdeps/x86_64/configure: Likewise.
61842 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61844         [BZ #14812]
61845         * locale/programs/localedef.c (options): Put N_ translation marker
61846         on argument names, not just descriptions.
61848 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61850         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61852 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61854         [BZ #14176]
61855         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61857 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61859         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61860         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61861         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61862         [!BEFORE_ABORT] (before_abort): New function.
61863         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61864         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61865         (writev_for_fatal): New function.
61866         (WRITEV_FOR_FATAL): New macro; call that.
61867         (backtrace_and_maps): New function.
61868         (BEFORE_ABORT): New macro; call that.
61869         (struct str_list): Type removed.
61870         (__libc_message, __libc_fatal): Functions removed.
61871         Include <sysdeps/posix/libc_fatal.c> instead.
61873 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61875         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61876         constants.
61877         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61878         double constants.
61880 2013-03-19  Andreas Schwab  <schwab@suse.de>
61882         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61883         * sysdeps/gnu/configure: Regenerate.
61885         * configure.in: Substitute libc_cv_rtlddir.
61886         * configure: Regenerate.
61887         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61888         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61889         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61890         * elf/Makefile (install-others, CFLAGS-interp.c)
61891         (ldso_install, common-ldd-rewrite): Likewise.
61892         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61893         $(inst_slibdir)/$(rtld-installed-name).
61894         * scripts/rellns-sh: Add -p option.
61895         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61896         for source.
61898 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61900         * manual/nptl.texi: Renamed to ...
61901         * manual/threads.texi: ... this.
61902         * manual/Makefile (chapters): Update.
61904 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61906         [BZ #14812]
61907         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61908         on argument names, not just descriptions.
61909         * malloc/memusagestat.c (options): Likewise.
61910         * nss/getent.c (options): Likewise.
61912 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61914         [BZ #14812]
61915         * iconv/iconv_prog.c (options): Put N_ translation marker
61916         on argument names, not just descriptions.
61917         * iconv/iconvconfig.c (options): Likewise.
61919 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61921         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61922         implementation which is faster on all x86_64 architectures.
61923         Tested on AMD, Intel Nehalem, SNB, IVB.
61924         * sysdeps/x86_64/strnlen.S: Likewise.
61926         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61927         Remove all multiarch strlen and strnlen versions.
61928         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61929         Remove strlen and strnlen related parts.
61931         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61932         Inline strlen part.
61933         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61935         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61936         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61937         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61938         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61939         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61940         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61942 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61944         * manual/memory.texi (Malloc Tunable Parameters):
61945         Sort parameters alphabetically. Add comments for missing entries.
61947 2013-03-17  David S. Miller  <davem@davemloft.net>
61949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61951 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61953         [BZ #15283]
61954         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61955         for arguments at most half maximum finite value.
61956         * math/libm-test.inc (j0_test): Add more tests.
61957         (j1_test): Likewise.
61958         (y0_test): Likewise.
61959         (y1_test): Likewise.
61960         * sysdeps/i386/fpu/libm-test-ulps: Update.
61961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61963         [BZ #14155]
61964         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61965         1 / x and functions P and Q for arguments above 0x1p256L.
61966         (__ieee754_y0l): Likewise.
61967         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61968         (__ieee754_y1l): Likewise.
61969         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61970         (j1_test): Likewise.
61971         (y0_test): Likewise.
61972         (y1_test): Likewise.
61974 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61976         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61977         variable.
61979 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61981         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61982         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61983         zero since it's initialized to EXEC_PAGESIZE.
61985         * sysdeps/unix/sysv/linux/ldsodefs.h
61986         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61987         * sysdeps/generic/ldsodefs.h: ... here.
61989 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61991         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61993         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61994         math/test-snan.c.
61995         * math/test-snan.c: Renamed from
61996         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61997         * math/Makefile (tests): Add test-snan.
61998         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61999         test-powerpc-snan.
62001         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
62002         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
62003         functions.
62004         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
62005         __builtin_nan family of functions.
62006         * math/libm-test.inc (initialize): Initialize qnan_value with
62007         __builtin_nan family of functions.
62008         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
62009         Remove variables.
62010         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
62011         Remove functions.
62012         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
62013         storage class.  Initialize qNaN_var and sNaN_var with
62014         __builtin_nan and __builtin_nans families of functions,
62015         respectively.
62017         * math/libm-test.inc (acosh_test): Also test with qNaN input.
62018         (sqrt_test): Remove duplicate test with qNaN input.
62019         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
62020         (round_test, signbit_test, significand_test): Note missing +/-Inf
62021         as well as qNaN tests.
62023         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
62024         qNaN_var.  Fix a few strings, too.
62025         * math/libm-test.inc (nan_value): Rename to qnan_value.
62026         * math/gen-libm-test.pl (%beautify): Adjust to that.
62027         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
62028         * math/test-misc.c (main): Likewise.
62029         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
62030         to __qnan_bytes, and __qnan_union, respectively.
62031         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
62032         Likewise.
62033         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
62034         and lqnanval, respectively.
62035         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
62036         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
62037         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
62038         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
62040         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
62041         * math/test-misc.c (main) [__x86_64__]: Enable test for long
62042         doubles.
62044         * math/test-misc.c (main): Fix copy'n'pastos.
62045         * misc/tst-efgcvt.c (special): Likewise.
62047         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
62048         Remove declarations.
62050 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62052         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
62053         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62054         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62055         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62057 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62059         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62060         macro to return vdso values correctly in IFUNC implementations.
62061         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62062         Optimization by using IFUNC.
62064 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62065             Richard Henderson  <rth@redhat.com>
62066             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62068         * Makefile.in (bench): New target.
62069         * NEWS: Mention the benchmark framework.
62070         * Rules (bench): Likewise.
62071         (binaries-bench): Generate binaries for functions to
62072         benchmark.
62073         * benchtests/Makefile: New makefile for benchmark tests.
62074         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62075         programs.
62076         * benchtests/exp-inputs: New input file for EXP function.
62077         * benchtests/pow-inputs: New input file for POW function.
62078         * scripts/bench.pl: New script to generate source files for
62079         benchmark programs.
62081 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62083         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62084         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62085         computations on mantissa.  Use macros for rounding and
62086         division.
62087         (denorm): Likewise.
62088         (__dbl_mp): Likewise.
62089         (add_magnitudes): Likewise.
62090         (sub_magnitudes): Likewise.
62091         (__mul): Likewise.
62092         (__sqr): Likewise.
62093         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62094         powers of two in terms of TWOPOW macro.
62095         (mp_no): Make type of mantissa as MANTISSA_T.
62096         [!RADIXI]: Define RADIXI.
62097         [!TWO52]: Define TWO52.
62098         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62100         * manual/nptl.texi (cindex): Modify threads to pthreads.
62102 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62104         * sysdeps/x86_64/preconfigure: Regenerated.
62106 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62108         [BZ #14155]
62109         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62110         0x1p28 and above.
62111         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62112         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62113         0x1p28 and above.
62114         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62115         * math/libm-test.inc (j0_test): Do not allow one spurious
62116         underflow exception.
62117         (y1_test): Likewise.
62119 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62121         * manual/Makefile (chapters): Add nptl.
62122         * manual/debug.texi (Debugging Support): Add link to Threads
62123         chapter.
62124         * manual/nptl.texi: New file.
62126         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62128 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62130         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62131         for non-NULL pointer before the memory validity test. Pointed
62132         out by Holger Brunck <holger.brunck@keymile.com>.
62134 2013-03-13  Andreas Schwab  <schwab@suse.de>
62136         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62137         instead of .os.
62139 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62141         * timezone/zic.c: Update from tzcode 2013b.
62143 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62145         * manual/install.texi (Configuring and compiling):
62146         Mention i686 and i586.
62147         * INSTALL: Regenerate.
62149 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62151         * sysdeps/init_array/elf-init.c: New file.
62152         * csu/elf-init.c
62153         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62154         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62156         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62157         __gmon_start__ as global, but as static with a .preinit_array pointer.
62158         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62159         * sysdeps/init_array/crti.S: New file, empty except for comments.
62160         * sysdeps/init_array/crtn.S: Likewise.
62162 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62164         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62165         definining bcopy.
62166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62167         Remove Prefer_SSE_for_memop.
62168         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62169         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62170         HAS_PREFER_SSE_FOR_MEMOP.
62171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62172         memset-x86-64.
62173         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62174         Remove bzero, memset ifunc support.
62175         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62176         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62177         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62178         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62180 2013-03-11  Andreas Schwab  <schwab@suse.de>
62182         [BZ #15234]
62183         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62184         by SHLIB_COMPAT.
62185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62186         (GLIBC_2.16): Remove pthread_atfork.
62188 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62190         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62191         (ptestcases.h): Likewise.
62193 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62195         * Makeconfig ($(common-objpfx)config.status): Depend on
62196         sysdeps/*/preconfigure{,.in} too.
62198 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62200         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62201         (__free_hook): Use void * instead of __malloc_ptr_t.
62202         (__malloc_hook): Likewise.
62203         (__realloc_hook): Likewise.
62204         (__memalign_hook): Likewise.
62205         (__after_morecore_hook): Likewise.
62206         * malloc/arena.c (save_malloc_hook): Likewise.
62207         (save_free_hook): Likewise.
62208         * malloc/hooks.c (malloc_hook_ini): Likewise.
62209         (realloc_hook_ini): Likewise.
62210         (memalign_hook_ini): Likewise.
62211         * malloc/malloc.c (malloc_hook_ini): Likewise.
62212         (realloc_hook_ini): Likewise.
62213         (memalign_hook_ini): Likewise.
62214         (__free_hook): Likewise.
62215         (__malloc_hook): Likewise.
62216         (__realloc_hook): Likewise.
62217         (__memalign_hook): Likewise.
62218         (__libc_malloc): Likewise.
62219         (__libc_free): Likewise.
62220         (__libc_realloc): Likewise.
62221         (__libc_memalign): Likewise.
62222         (__libc_valloc): Likewise.
62223         (__libc_pvalloc): Likewise.
62224         (__libc_calloc): Likewise.
62225         (__posix_memalign): Likewise.
62226         * malloc/morecore.c (__sbrk): Likewise.
62227         (__default_morecore): Likewise.
62229         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62231         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62232         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62233         __malloc_ptrdiff_t.
62235         * malloc/malloc.h (__malloc_size_t): Remove macro.
62236         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62237         __malloc_size_t.
62238         (old_memalign_hook): Likewise.
62239         (old_realloc_hook): Likewise.
62240         (struct hdr): Likewise.
62241         (flood): Likewise.
62242         (mallochook): Likewise.
62243         (memalignhook): Likewise.
62244         (reallochook): Likewise.
62245         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62246         (tr_old_realloc_hook): Likewise.
62247         (tr_old_memalign_hook): Likewise.
62248         (tr_mallochook): Likewise.
62249         (tr_reallochook): Likewise.
62250         (tr_memalignhook): Likewise.
62252 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62254         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62255         default_ldbl_pack and using as default implementation.
62256         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62257         implementation.
62258         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62259         redundant definition.
62260         (ldbl_insert_mantissa): Likewise.
62261         (ldbl_canonicalize): Likewise.
62262         (ldbl_nearbyint): Likewise.
62263         (ldbl_pack): Rename to ldbl_pack_ppc.
62264         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62265         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62266         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62268 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62271         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62272         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62273         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62275         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62276         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62277         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62279 2013-03-07  Andreas Jaeger  <aj@suse.de>
62281         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62282         bits/mman-linux.h.
62284 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62286         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62287         Include mpa.h and declare __MPEXP.
62288         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62289         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62290         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62291         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62292         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62293         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62294         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62296         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62297         (__slowpow): Use long double EXPL and LOGL functions to
62298         compute POW.
62299         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62300         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62301         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62302         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62303         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62304         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62306         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62307         intermediate variable to calculate exponent.
62308         (__sqr): Likewise.
62309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62310         Likewise.
62311         (__sqr): Likewise.
62313         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62314         [!NO__SQR]: Define __sqr.
62315         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62316         and NO__SQR.  Remove all code except __mul and __sqr.  Include
62317         sysdeps/ieee754/dbl-64/mpa.c.
62318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62320         [BZ #12723]
62321         * posix/Makefile (tests): Add tst-pathconf.
62322         * posix/tst-pathconf.c: New test case.
62323         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62324         _PC_PIPE_BUF.
62325         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62327 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
62329         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62331 2013-03-06  Andreas Jaeger  <aj@suse.de>
62333         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62334         definition via __MAP_ANONYMOUS.
62336         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62337         it's not part of Linux headers.
62339         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62340         (MAP_HUGE_MASK): Define.
62342         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62343         Define.
62344         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62345         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62346         Define.
62347         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62348         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62349         Define.
62350         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62351         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62352         Define.
62353         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62355         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62356         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62357         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62358         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62359         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62360         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62362         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62363         Handle f2fs.
62365         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62366         Handle f2fs and efivarfs.
62368         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62369         f2fs.
62371         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62372         (EFIVARFS_MAGIC): Add.
62373         (F2FS_LINK_MAX): Add.
62375 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62377         * stdio-common/vfprintf.c: Replace __builtin_expect with
62378         __glibc_unlikely.
62380 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62382         [BZ #13550]
62383         * sysdeps/generic/bp-sym.h: Remove file.
62384         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62385         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62386         <bp-sym.h> and <bp-asm.h>.
62387         (__longjmp): Don't use BP_SYM.
62388         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62389         and <bp-asm.h>.
62390         (memcpy): Don't use BP_SYM.
62391         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62392         <bp-sym.h> and <bp-asm.h>.
62393         (memcpy): Don't use BP_SYM.
62394         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62395         <bp-asm.h>.
62396         (memcpy): Don't use BP_SYM.
62397         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62398         <bp-asm.h>.
62399         (memset): Don't use BP_SYM.
62400         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62401         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62402         (__bzero): Don't use BP_SYM.
62403         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62404         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62405         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62406         <bp-sym.h> and <bp-asm.h>.
62407         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62408         pointers.
62409         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62410         <bp-sym.h> and <bp-asm.h>.
62411         (memcpy): Don't use BP_SYM.
62412         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62413         <bp-sym.h> and <bp-asm.h>.
62414         (memset): Don't use BP_SYM.
62415         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62416         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62417         (__bzero): Don't use BP_SYM.
62418         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62419         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62420         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62421         <bp-sym.h> and <bp-asm.h>.
62422         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62423         pointers.
62424         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62425         <bp-sym.h> and <bp-asm.h>.
62426         (memcpy): Don't use BP_SYM.
62427         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62428         <bp-sym.h> and <bp-asm.h>.
62429         (memset): Don't use BP_SYM.
62430         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62431         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62432         (__bzero): Don't use BP_SYM.
62433         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62434         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62435         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62436         <bp-sym.h> and <bp-asm.h>.
62437         (__memchr): Don't use BP_SYM.
62438         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62439         <bp-sym.h> and <bp-asm.h>.
62440         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62441         pointers.
62442         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62443         <bp-sym.h> and <bp-asm.h>.
62444         (memcpy): Don't use BP_SYM.
62445         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62446         <bp-sym.h> and <bp-asm.h>.
62447         (__mempcpy): Don't use BP_SYM.
62448         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62449         <bp-sym.h> and <bp-asm.h>.
62450         (__memrchr): Don't use BP_SYM.
62451         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62452         <bp-sym.h> and <bp-asm.h>.
62453         (memset): Don't use BP_SYM.
62454         (__bzero): Likewise.
62455         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62456         <bp-sym.h> and <bp-asm.h>.
62457         (__rawmemchr): Don't use BP_SYM.
62458         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62459         <bp-sym.h> and <bp-asm.h>.
62460         (__STRCMP): Don't use BP_SYM.
62461         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62462         <bp-sym.h> and <bp-asm.h>.
62463         (strchr): Don't use BP_SYM.
62464         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62465         <bp-sym.h> and <bp-asm.h>.
62466         (__strchrnul): Don't use BP_SYM.
62467         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62468         <bp-sym.h> and <bp-asm.h>.
62469         (strlen): Don't use BP_SYM.
62470         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62471         <bp-sym.h> and <bp-asm.h>.
62472         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62473         pointers.
62474         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62475         <bp-sym.h> and <bp-asm.h>.
62476         (__strnlen): Don't use BP_SYM.
62477         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62478         <bp-sym.h> and <bp-asm.h>.
62479         (__GI__setjmp): Don't use BP_SYM.
62480         (_setjmp): Likewise.
62481         (__sigsetjmp): Likewise.
62482         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62483         (L(start_addresses)): Don't use BP_SYM.
62484         (_start): Likewise.
62485         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62486         <bp-asm.h>.
62487         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62488         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62489         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62490         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62491         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62492         <bp-asm.h>.
62493         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62494         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
62495         about bounded pointers.
62496         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62497         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62498         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62499         <bp-asm.h>.
62500         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62501         about bounded pointers.  Remove GKM FIXME comments.
62502         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62503         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62504         <bp-asm.h>.
62505         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62506         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
62507         Remove GKM FIXME comments.
62508         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62509         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62510         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62511         <bp-asm.h>.
62512         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62513         about bounded pointers.  Remove GKM FIXME comment.
62514         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62515         and <bp-asm.h>.
62516         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62517         pointers.
62518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62519         <bp-sym.h> and <bp-asm.h>.
62520         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62522         <bp-sym.h> and <bp-asm.h>.
62523         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62524         comment.
62526 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62528         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62529         call free(NULL).
62531 2013-03-05  David S. Miller  <davem@davemloft.net>
62533         * po/es.po: Update from translation team.
62535 2013-03-05  Andreas Jaeger  <aj@suse.de>
62537         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62538         <bits/mman-linux.h>.
62539         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62540         is fine.
62541         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62542         <bits/mman-linux.h> to end of file.
62543         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62544         is fine.
62545         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62546         <bits/mman-linux.h> to end of file.
62547         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62548         is fine.
62549         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62550         <bits/mman-linux.h> to end of file.
62552         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62553         (MCL_CURRENT, MCL_FUTURE): Define here.
62555 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62557         [BZ #15232]
62558         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62559         attribute_hidden.
62560         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62562 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62564         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62565         fourth parameter needed for rt_sigprocmask syscall.
62566         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62567         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62568         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62569         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62570         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62571         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62573 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62575         [BZ #13550]
62576         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62577         comment about bounded pointers.
62578         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62579         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62581 2013-03-04  Andreas Jaeger  <aj@suse.de>
62583         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62584         common definitions.
62586         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62587         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62588         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62589         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62590         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62591         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62593 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62595         [BZ #15055]
62596         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62597         __ieee754_sqrl instead of __sqrl.
62599 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62601         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62602         * sysdeps/powerpc/fpu_control.h: ... here.
62603         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62604         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62605         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62606         * sysdeps/powerpc/bits/mathinline.h: ... here.
62608 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62610         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62611         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62612         to just [NEED_DL_SYSINFO_DSO].
62613         * elf/dl-support.c: Likewise.
62614         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62615         * elf/rtld.c (dl_main): Likewise.
62616         * elf/setup-vdso.h (setup_vdso): Likewise.
62617         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62618         * sysdeps/unix/sysv/linux/dl-sysdep.c
62619         (_dl_discover_osversion): Likewise.
62621 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62623         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62624         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62626 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62628         * NEWS: Mention libm performance improvements and non-x86 PI
62629         futex support.
62631         * csu/libc-start.c (__pthread_initialize_minimal): Change
62632         function arguments.
62633         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62635 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62637         [BZ #13550]
62638         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62639         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62640         <bp-sym.h> and <bp-asm.h>.
62641         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62642         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62643         and <bp-asm.h>.
62644         (memcpy): Don't use BP_SYM.
62645         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62646         <bp-asm.h>.
62647         (__mpn_add_n): Don't use BP_SYM.
62648         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62649         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62650         and <bp-asm.h>.
62651         (__mpn_addmul_1): Don't use BP_SYM.
62652         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62653         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62654         <bp-sym.h>.
62655         (_setjmp): Don't use BP_SYM.
62656         (__novmx_setjmp): Likewise.
62657         (__GI__setjmp): Likewise.
62658         (__vmx_setjmp): Likewise.
62659         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62660         <bp-sym.h>.
62661         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62662         (__bzero): Don't use BP_SYM.
62663         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62664         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62665         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62666         <bp-sym.h> and <bp-asm.h>.
62667         (memcpy): Don't use BP_SYM.
62668         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62669         <bp-sym.h> and <bp-asm.h>.
62670         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62671         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62672         <bp-sym.h> and <bp-asm.h>.
62673         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62674         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62675         <bp-asm.h>.
62676         (__mpn_lshift): Don't use BP_SYM.
62677         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62678         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62679         <bp-asm.h>.
62680         (memset): Don't use BP_SYM.
62681         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62682         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62683         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62684         <bp-asm.h>.
62685         (__mpn_mul_1): Don't use BP_SYM.
62686         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62687         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62688         <bp-sym.h> and <bp-asm.h>.
62689         (memcmp): Don't use BP_SYM.
62690         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62691         <bp-sym.h> and <bp-asm.h>.
62692         (memcpy): Don't use BP_SYM.
62693         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62694         <bp-sym.h> and <bp-asm.h>.
62695         (memset): Don't use BP_SYM.
62696         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62697         <bp-sym.h> and <bp-asm.h>.
62698         (strncmp): Don't use BP_SYM.
62699         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62700         <bp-sym.h> and <bp-asm.h>.
62701         (memcpy): Don't use BP_SYM.
62702         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62703         <bp-sym.h> and <bp-asm.h>.
62704         (memset): Don't use BP_SYM.
62705         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62706         <bp-sym.h> and <bp-asm.h>.
62707         (__memchr): Don't use BP_SYM.
62708         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62709         <bp-sym.h> and <bp-asm.h>.
62710         (memcmp): Don't use BP_SYM.
62711         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62712         <bp-sym.h> and <bp-asm.h>.
62713         (memcpy): Don't use BP_SYM.
62714         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62715         <bp-sym.h> and <bp-asm.h>.
62716         (__mempcpy): Don't use BP_SYM.
62717         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62718         <bp-sym.h> and <bp-asm.h>.
62719         (__memrchr): Don't use BP_SYM.
62720         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62721         <bp-sym.h> and <bp-asm.h>.
62722         (memset): Don't use BP_SYM.
62723         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62724         <bp-sym.h> and <bp-asm.h>.
62725         (__rawmemchr): Don't use BP_SYM.
62726         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62727         <bp-sym.h> and <bp-asm.h>.
62728         (__STRCMP): Don't use BP_SYM.
62729         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62730         <bp-sym.h> and <bp-asm.h>.
62731         (strchr): Don't use BP_SYM.
62732         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62733         <bp-sym.h> and <bp-asm.h>.
62734         (__strchrnul): Don't use BP_SYM.
62735         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62736         <bp-sym.h> and <bp-asm.h>.
62737         (strlen): Don't use BP_SYM.
62738         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62739         <bp-sym.h> and <bp-asm.h>.
62740         (strncmp): Don't use BP_SYM.
62741         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62742         <bp-sym.h> and <bp-asm.h>.
62743         (__strnlen): Don't use BP_SYM.
62744         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62745         <bp-asm.h>.
62746         (__mpn_rshift): Don't use BP_SYM.
62747         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62748         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62749         <bp-sym.h> and <bp-asm.h>.
62750         (__sigsetjmp): Don't use BP_SYM.
62751         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62752         (L(start_addresses)): Don't use BP_SYM.
62753         (_start): Likewise.
62754         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62755         <bp-asm.h>.
62756         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62757         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62758         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62759         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62760         <bp-asm.h>.
62761         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62762         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62763         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62764         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62765         <bp-asm.h>.
62766         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62767         comments.
62768         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62769         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62770         <bp-asm.h>.
62771         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62772         FIXME comments.
62773         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62774         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62775         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62776         <bp-asm.h>.
62777         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62778         comment.
62779         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62780         and <bp-asm.h>.
62781         (strncmp): Don't use BP_SYM,
62782         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62783         <bp-asm.h>.
62784         (__mpn_sub_n): Don't use BP_SYM.
62785         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62786         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62787         and <bp-asm.h>.
62788         (__mpn_submul_1): Don't use BP_SYM.
62789         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62791         <bp-sym.h> and <bp-asm.h>.
62792         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62794         <bp-sym.h> and <bp-asm.h>.
62795         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62796         comment.
62798 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62801         Use ZK to minimize writes to Z.
62802         (sub_magnitudes): Simplify code a bit.
62803         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62804         Use ZK to minimize writes to Z.
62805         (sub_magnitudes): Simplify code a bit.
62807 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62809         * csu/gmon-start.c: Add special exception to license text.
62811 2013-02-27  Richard Henderson  <rth@redhat.com>
62813         * scripts/config.guess: Update from config.git.
62814         * scripts/config.sub: Likewise.
62816 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62818         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62820         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62822         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62824         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62826         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62828 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62830         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62831         [$(build-shared = yes].
62833 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62835         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62836         (__mul): Reduce iterations for calculating mantissa.
62838         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62839         MPTWO.
62840         (__mpranred): Likewise.
62842         [BZ #15160]
62843         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62844         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62846 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62848         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62849         Define __attribute__.
62851 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62853         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62854         unused.
62855         * posix/regex_internal.h (__attribute): Remove.
62856         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62857         (re_string_context_at): Likewise.
62858         (bitset_not): Use __attribute__ and mark function as possibly
62859         unused.
62860         (bitset_merge): Likewise.
62861         (bitset_mask): Likewise.
62862         (re_string_char_size_at): Likewise.
62863         (re_string_wchar_at): Likewise.
62864         (re_string_elem_size_at): Likewise.
62866 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62868         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62869         code.
62870         (cc32): Likewise.
62872         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62873         (__acr): Likewise.
62874         (__cpy): Likewise.
62875         (norm): Likewise.
62876         (denorm): Likewise.
62877         (__dbl_mp): Likewise.
62878         (add_magnitudes): Likewise.
62879         (sub_magnitudes): Likewise.
62880         (__mul): Likewise.
62881         (__inv): Likewise.
62883         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62884         style.
62886         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62887         style.
62889         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62890         code.
62892         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62893         up changes with default code.
62894         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62895         Likewise.
62897 2013-02-24  Allan McRae  <allan@archlinux.org>
62899         * manual/socket.texi (The Internet Namespace): Order menu items
62900         to match that in the file.
62902         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62903         node listing of the info page menu.
62905 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62907         [BZ #13550]
62908         * sysdeps/i386/bp-asm.h: Remove file.
62909         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62910         (PARMS): Do not use macros from bp-asm.h.
62911         (S1): Likewise.
62912         (S2): Likewise.
62913         (SIZE): Likewise.
62914         (__mpn_add_n): Do not use BP_SYM
62915         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62916         "bp-asm.h".
62917         (PARMS): Do not use macros from bp-asm.h.
62918         (S1): Likewise.
62919         (SIZE): Likewise.
62920         (__mpn_addmul_1): Do not use BP_SYM
62921         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62922         "bp-asm.h".
62923         (PARMS): Do not use macros from bp-asm.h.
62924         (SIGMSK): Likewise.
62925         (_setjmp): Likewise.  Do not use BP_SYM.
62926         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62927         "bp-asm.h".
62928         (PARMS): Do not use macros from bp-asm.h.
62929         (SIGMSK): Likewise.
62930         (setjmp): Likewise.  Do not use BP_SYM.
62931         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62932         "bp-asm.h".
62933         (PARMS): Do not use macros from bp-asm.h.
62934         (__frexp): Do not use BP_SYM.
62935         (frexp): Likewise.
62936         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62937         "bp-asm.h".
62938         (PARMS): Do not use macros from bp-asm.h.
62939         (__frexpf): Do not use BP_SYM.
62940         (frexpf): Likewise.
62941         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62942         "bp-asm.h".
62943         (PARMS): Do not use macros from bp-asm.h.
62944         (__frexpl): Do not use BP_SYM.
62945         (frexpl): Likewise.
62946         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62947         "bp-asm.h".
62948         (PARMS): Do not use macros from bp-asm.h.
62949         (__remquo): Do not use BP_SYM.
62950         (remquo): Likewise.
62951         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62952         "bp-asm.h".
62953         (PARMS): Do not use macros from bp-asm.h.
62954         (__remquof): Do not use BP_SYM.
62955         (remquof): Likewise.
62956         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62957         "bp-asm.h".
62958         (PARMS): Do not use macros from bp-asm.h.
62959         (__remquol): Do not use BP_SYM.
62960         (remquol): Likewise.
62961         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
62962         "bp-asm.h".
62963         (PARMS): Do not use macros from bp-asm.h.
62964         (DEST): Likewise.
62965         (SRC): Likewise.
62966         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62967         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62968         "bp-asm.h".
62969         (PARMS): Do not use macros from bp-asm.h.
62970         (strlen): Do not use BP_SYM.
62971         * sysdeps/i386/i586/add_n.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         (S2): Likewise.
62976         (SIZE): Likewise.
62977         (__mpn_add_n): Do not use BP_SYM.
62978         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62979         "bp-asm.h".
62980         (PARMS): Do not use macros from bp-asm.h.
62981         (S1): Likewise.
62982         (SIZE): Likewise.
62983         (__mpn_addmul_1): Do not use BP_SYM.
62984         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62985         weak_alias.
62986         (bzero): Likewise.
62987         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62988         "bp-asm.h".
62989         (PARMS): Do not use macros from bp-asm.h.
62990         (S): Likewise.
62991         (SIZE): Likewise.
62992         (__mpn_lshift): Do not use BP_SYM.
62993         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62994         "bp-asm.h".
62995         (PARMS): Do not use macros from bp-asm.h.
62996         (DEST): Likewise.
62997         (SRC): Likewise.
62998         (LEN): Likewise.
62999         (memcpy): Likewise.  Do not use BP_SYM.
63000         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
63001         libc_hidden_def and weak_alias.
63002         (mempcpy): Do not use BP_SYM in weak_alias.
63003         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
63004         "bp-asm.h".
63005         (PARMS): Do not use macros from bp-asm.h.
63006         (DEST): Likewise.
63007         (LEN): Likewise.
63008         [!BZERO_P] (CHR): Likewise.
63009         (memset): Likewise.  Do not use BP_SYM.
63010         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
63011         "bp-asm.h".
63012         (PARMS): Do not use macros from bp-asm.h.
63013         (S1): Likewise.
63014         (SIZE): Likewise.
63015         (__mpn_mul_1): Do not use BP_SYM.
63016         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
63017         "bp-asm.h".
63018         (PARMS): Do not use macros from bp-asm.h.
63019         (S): Likewise.
63020         (SIZE): Likewise.
63021         (__mpn_rshift): Do not use BP_SYM.
63022         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
63023         "bp-asm.h".
63024         (PARMS): Do not use macros from bp-asm.h.
63025         (STR): Likewise.
63026         (CHR): Likewise.
63027         (strchr): Likewise.  Do not use BP_SYM.
63028         (index): Do not use BP_SYM in weak_alias.
63029         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
63030         "bp-asm.h".
63031         (PARMS): Do not use macros from bp-asm.h.
63032         (DEST): Likewise.
63033         (SRC): Likewise.
63034         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
63035         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
63036         "bp-asm.h".
63037         (PARMS): Do not use macros from bp-asm.h.
63038         (strlen): Do not use BP_SYM.
63039         * sysdeps/i386/i586/sub_n.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         (S2): Likewise.
63044         (SIZE): Likewise.
63045         (__mpn_sub_n): Do not use BP_SYM.
63046         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
63047         "bp-asm.h".
63048         (PARMS): Do not use macros from bp-asm.h.
63049         (S1): Likewise.
63050         (SIZE): Likewise.
63051         (__mpn_submul_1): Do not use BP_SYM.
63052         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
63053         "bp-asm.h".
63054         (PARMS): Do not use macros from bp-asm.h.
63055         (S1): Likewise.
63056         (S2): Likewise.
63057         (SIZE): Likewise.
63058         (__mpn_add_n): Do not use BP_SYM.
63059         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63060         weak_alias.
63061         (bzero): Likewise.
63062         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63063         "bp-asm.h".
63064         (PARMS): Do not use macros from bp-asm.h.
63065         (BLK2): Likewise.
63066         (LEN): Likewise.
63067         (memcmp): Do not use BP_SYM.
63068         (bcmp): Do not use BP_SYM in weak_alias.
63069         * sysdeps/i386/i686/memcpy.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         (memcpy): Likewise.  Do not use BP_SYM.
63076         * sysdeps/i386/i686/memmove.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         (memmove): Likewise.  Do not use BP_SYM.
63083         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
63084         "bp-asm.h".
63085         (PARMS): Do not use macros from bp-asm.h.
63086         (DEST): Likewise.
63087         (SRC): Likewise.
63088         (LEN): Likewise.
63089         (__mempcpy): Likewise.  Do not use BP_SYM.
63090         (mempcpy): Do not use BP_SYM in weak_alias.
63091         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63092         "bp-asm.h".
63093         (PARMS): Do not use macros from bp-asm.h.
63094         (DEST): Likewise.
63095         (LEN): Likewise.
63096         [!BZERO_P] (CHR): Likewise.
63097         (memset): Likewise.  Do not use BP_SYM.
63098         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63099         "bp-asm.h".
63100         (PARMS): Do not use macros from bp-asm.h.
63101         (STR2): Likewise.
63102         (strcmp): Do not use BP_SYM.
63103         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63104         "bp-asm.h".
63105         (PARMS): Do not use macros from bp-asm.h.
63106         (STR): Likewise.
63107         (DELIM): Likewise.
63108         [USE_AS_STRTOK_R] (SAVE): Likewise.
63109         (FUNCTION): Likewise.  Do not use BP_SYM.
63110         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63111         aliases.
63112         (strtok_r): Likewise.
63113         (__GI___strtok_r): Likewise.
63114         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63115         (PARMS): Do not use macros from bp-asm.h.
63116         (S): Likewise.
63117         (SIZE): Likewise.
63118         (__mpn_lshift): Do not use BP_SYM.
63119         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63120         (PARMS): Do not use macros from bp-asm.h.
63121         (STR): Likewise.
63122         (CHR): Likewise.
63123         (__memchr): Do not use BP_SYM.
63124         (memchr): Do not use BP_SYM in weak_alias.
63125         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63126         (PARMS): Do not use macros from bp-asm.h.
63127         (BLK2): Likewise.
63128         (LEN): Likewise.
63129         (memcmp): Do not use BP_SYM.
63130         (bcmp): Do not use BP_SYM in weak_alias.
63131         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63132         (PARMS): Do not use macros from bp-asm.h.
63133         (S1): Likewise.
63134         (SIZE): Likewise.
63135         (__mpn_mul_1): Do not use BP_SYM.
63136         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63137         "bp-asm.h".
63138         (PARMS): Do not use macros from bp-asm.h.
63139         (STR): Likewise.
63140         (CHR): Likewise.
63141         (__rawmemchr): Do not use BP_SYM.
63142         (rawmemchr): Do not use BP_SYM in weak_alias.
63143         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63144         (PARMS): Do not use macros from bp-asm.h.
63145         (S): Likewise.
63146         (SIZE): Likewise.
63147         (__mpn_rshift): Do not use BP_SYM.
63148         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63149         (PARMS): Do not use macros from bp-asm.h.
63150         (SIGMSK): Likewise.
63151         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63152         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63153         (_start): Do not use BP_SYM.
63154         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63155         (PARMS): Do not use macros from bp-asm.h.
63156         (DEST): Likewise.
63157         (SRC): Likewise.
63158         (__stpcpy): Likewise.  Do not use BP_SYM.
63159         (stpcpy): Do not use BP_SYM in weak_alias.
63160         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63161         "bp-asm.h".
63162         (PARMS): Do not use macros from bp-asm.h.
63163         (DEST): Likewise.
63164         (SRC): Likewise.
63165         (LEN): Likewise.
63166         (__stpncpy): Likewise.  Do not use BP_SYM.
63167         (stpncpy): Do not use BP_SYM in weak_alias.
63168         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63169         (PARMS): Do not use macros from bp-asm.h.
63170         (STR): Likewise.
63171         (CHR): Likewise.
63172         (strchr): Likewise.  Do not use BP_SYM.
63173         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63174         "bp-asm.h".
63175         (PARMS): Do not use macros from bp-asm.h.
63176         (STR): Likewise.
63177         (CHR): Likewise.
63178         (__strchrnul): Likewise.  Do not use BP_SYM.
63179         (strchrnul): Do not use BP_SYM in weak_alias.
63180         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63181         "bp-asm.h".
63182         (PARMS): Do not use macros from bp-asm.h.
63183         (STOP): Likewise.
63184         (strcspn): Do not use BP_SYM.
63185         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63186         "bp-asm.h".
63187         (PARMS): Do not use macros from bp-asm.h.
63188         (STR): Likewise.
63189         (STOP): Likewise.
63190         (strpbrk): Likewise.  Do not use BP_SYM.
63191         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63192         "bp-asm.h".
63193         (PARMS): Do not use macros from bp-asm.h.
63194         (STR): Likewise.
63195         (CHR): Likewise.
63196         (strrchr): Likewise.  Do not use BP_SYM.
63197         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63198         (PARMS): Do not use macros from bp-asm.h.
63199         (SKIP): Likewise.
63200         (strspn): Do not use BP_SYM.
63201         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63202         (PARMS): Do not use macros from bp-asm.h.
63203         (STR): Likewise.
63204         (DELIM): Likewise.
63205         (SAVE): Likewise.
63206         (FUNCTION): Likewise.  Do not use BP_SYM.
63207         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63208         aliases.
63209         (strtok_r): Likewise.
63210         (__GI___strtok_r): Likewise.
63211         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63212         (PARMS): Do not use macros from bp-asm.h.
63213         (S1): Likewise.
63214         (S2): Likewise.
63215         (SIZE): Likewise.
63216         (__mpn_sub_n): Do not use BP_SYM.
63217         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63218         "bp-asm.h".
63219         (PARMS): Do not use macros from bp-asm.h.
63220         (S1): Likewise.
63221         (SIZE): Likewise.
63222         (__mpn_submul_1): Do not use BP_SYM.
63223         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63224         <bp-sym.h>.
63225         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63226         and <bp-asm.h>.
63227         (PARMS): Do not use macros from bp-asm.h.
63228         (FLAGS): Likewise.
63229         (PTID): Likewise.
63230         (TLS): Likewise.
63231         (CTID): Likewise.
63232         (__clone): Do not use BP_SYM.
63233         (clone): Do not use BP_SYM in weak_alias.
63234         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63235         and <bp-asm.h>.
63236         (PARMS): Do not use macros from bp-asm.h.
63237         (LEN): Likewise.
63238         (__mmap64): Do not use BP_SYM.
63239         (mmap64): Do not use BP_SYM in weak_alias.
63240         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63241         <bp-sym.h> and <bp-asm.h>.
63242         (PARMS): Do not use macros from bp-asm.h.
63243         (__posix_fadvise64_l64): Do not use BP_SYM.
63244         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63245         (PARMS): Do not use macros from bp-asm.h.
63246         (NSOPS): Likewise.
63247         (semtimedop): Do not use BP_SYM.
63248         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63249         and <bp-asm.h>.
63251 2013-02-21  Allan McRae  <allan@archlinux.org>
63253         * manual/message.texi (Charset conversion in gettext):
63254         Move @end statement to beginning of line.
63256 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63259         static.
63260         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63261         Likewise.
63263         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63264         (denorm): Likewise.
63265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63266         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63268 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63270         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63271         tail-call to the resolved function if pltexit isn't needed.
63273 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63276         or Y being zero as being unlikely.
63277         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63278         Likewise.
63280 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
63282         * manual/nss.texi (System Databases and Name Service Switch):
63283         Remove frobnicate @pxref.
63285 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63287         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63288         __attribute__ ((unused)) to __attribute__ ((__unused__)).
63290 2013-02-20  Petr Machata  <pmachata@redhat.com>
63292         * elf/elf.h (R_ARM_TARGET1): New macro.
63293         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63294         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63295         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63296         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63297         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63298         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63299         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63300         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63301         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63302         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63303         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63304         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63305         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63306         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63307         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63308         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63309         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63310         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63311         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63312         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63313         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63314         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63315         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63316         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63317         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63318         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63319         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63320         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63321         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
63322         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63323         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63324         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63325         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63326         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63327         (R_ARM_THM_GOT_BREL12): Likewise.
63328         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63329         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63330         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63331         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63332         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63333         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63334         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63335         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63336         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63338 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63340         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63341         __attribute_used__ to __attribute__ ((unused)).
63343 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63345         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63346         powerpc mpa.c.
63347         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63348         comment formatting.
63349         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63351 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63353         [BZ #13550]
63354         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63355         Remove macro.
63356         (ENTER): Remove both macro definitions.
63357         (LEAVE): Likewise.
63358         (CHECK_BOUNDS_LOW): Likewise.
63359         (CHECK_BOUNDS_HIGH): Likewise.
63360         (CHECK_BOUNDS_BOTH): Likewise.
63361         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63362         (RETURN_BOUNDED_POINTER): Likewise.
63363         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63364         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63365         (POP_ERRNO_LOCATION_RETURN): Likewise.
63366         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63367         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63368         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63369         macros.
63370         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63371         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63372         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63373         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63374         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63375         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63376         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63377         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63378         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63379         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63380         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63381         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63382         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63383         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63384         removed macros.
63385         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63386         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63387         macros.
63388         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63389         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63390         * sysdeps/i386/i586/memset.S (memset): Likewise.
63391         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63392         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63393         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63394         macros.
63395         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63396         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63397         Change uses of L(2) to L(out).
63398         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63399         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63400         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63401         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63402         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63403         removed macros.
63404         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63405         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63406         macros.
63407         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63408         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63409         (RETURN): Do not use macro LEAVE.
63410         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63411         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63412         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63413         * sysdeps/i386/i686/memset.S (memset): Likewise.
63414         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63415         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63416         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63417         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63418         Likewise.
63419         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63420         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63421         L(1_2) and L(1_3) into L(1).
63422         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63423         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63424         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63425         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63426         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63427         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63428         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63429         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63430         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63431         macros.
63432         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63433         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63434         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63435         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63436         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63437         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63438         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63439         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63440         * sysdeps/i386/strcspn.S (strcspn): Likewise.
63441         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63442         * sysdeps/i386/strrchr.S (strrchr): Likewise.
63443         * sysdeps/i386/strspn.S (strspn): Likewise.
63444         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63445         conditional code.
63446         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63447         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63448         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63449         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
63450         L(1_3) into L(1_1).
63451         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63452         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63453         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63454         macros.
63455         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63457 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
63459         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63460         macro.
63462 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63464         * math/atest-exp.c (exp_mpn): Remove ROUND.
63465         * math/atest-exp2.c (exp_mpn): Likewise.
63466         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63468         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63469         * stdlib/tst-tls-atexit-lib.c: Likewise.
63470         * stdlib/tst-tls-atexit.c: Likewise.
63472 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63474         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63475         and __attribute_alloc_size__.
63477 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63479         * include/programs/xmalloc.h: Change __attribute_alloc_size to
63480         __attribute_alloc_size__.
63481         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63482         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63484 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63486         * include/programs/xmalloc.h: New file.
63487         * catgets/gencat.c: Include it.
63488         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63489         * elf/pldd.c: Likewise.
63490         * iconv/iconv_charmap.c: Likewise.
63491         * iconv/iconvconfig.c: Likewise.
63492         * iconv/strtab.c: Likewise.
63493         * locale/programs/locale.c: Likewise.
63494         * locale/programs/localedef.h: Likewise.
63495         * locale/programs/simple-hash.c: Likewise.
63496         * nscd/nscd.h: Likewise.
63497         * nss/makedb.c: Likewise.
63498         * sysdeps/generic/ldconfig.h: Likewise.
63500 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63502         * Versions.def: Add GLIBC_2.18.
63503         * include/link.h (struct link_map): New member l_tls_dtor_count.
63504         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63505         (__call_tls_dtors): Likewise.
63506         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63507         __cxa_thread_atexit_impl.
63508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63509         Likewise.
63510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63511         Likewise.
63512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63513         Likewise.
63514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63515         Likewise.
63516         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63518         Likewise.
63519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63520         Likewise.
63521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63523         Likewise.
63524         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63525         (tests): Add test case tst-tls-atexit.
63526         (modules-names): Add shared library for tst-tls-atexit.
63527         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63528         (GLIBC_PRIVATE): Add __call_tls_dtors.
63529         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63530         for libstdc++.
63531         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63532         * stdlib/tst-tls-atexit.c: New test case.
63533         * stdlib/tst-tls-atexit-lib.c: New test case.
63535         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63537         * elf/Versions (ld): Add _dl_find_dso_for_object.
63538         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63539         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63540         (dl_open_worker): Use _dl_find_dso_for_object.
63541         * elf/dl-sym.c (do_sym): Likewise.
63542         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63544 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63546         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63547         Syntactic changes only.
63548         (_dl_runtime_profile): Do a tail-call to the resolved function.
63550 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63552         [BZ #13550]
63553         * sysdeps/x86_64/bp-asm.h: Remove file.
63554         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63555         <bp-sym.h> and <bp-asm.h>.
63556         (__clone): Do not use BP_SYM.
63557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63558         <bp-sym.h> and <bp-asm.h>.
63559         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63560         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63561         "bp-asm.h".
63562         (_setjmp): Do not use BP_SYM.
63563         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63564         "bp-asm.h".
63565         (setjmp): Do not use BP_SYM.
63566         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63567         libc_hidden_def.
63568         (mempcpy): Do not use BP_SYM in weak_alias.
63569         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63570         "bp-asm.h".
63571         (strchr): Do not use BP_SYM.
63572         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63573         "bp-asm.h".
63574         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63575         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63576         (_start): Do not use BP_SYM.
63577         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63578         "bp-asm.h".
63579         (strcat): Do not use BP_SYM.
63580         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63581         "bp-asm.h".
63582         (STRCMP): Do not use BP_SYM.
63583         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63584         "bp-asm.h".
63585         (STRCPY): Do not use BP_SYM.
63586         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63587         "bp-asm.h".
63588         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63589         "bp-asm.h".
63590         (FUNCTION): Do not use BP_SYM.
63591         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63592         weak_alias.
63593         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63595 2013-02-17  Andreas Jaeger  <aj@suse.de>
63597         * time/Versions: Sort entries.
63598         * string/Versions: Likewise.
63599         * resolv/Versions: Likewise.
63600         * posix/Versions: Likewise.
63601         * iconv/Versions: Likewise.
63602         * elf/Versions: Likewise.
63603         * wcsmbs/Versions: Likewise.
63605 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63607         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63608         loop termination condition.
63610         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63611         variable to calculate EZ.
63612         (__sqr): Likewise.
63614         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63615         the lower precision input.
63617 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63619         [BZ #13550]
63620         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63621         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63622         (run-via-rtld-prefix): Do not handle %-bp tests.
63623         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63624         (all-object-suffixes): Remove .ob.
63625         (bppfx): Remove variable.
63626         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63627         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63628         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63629         [$(build-bounded) = yes] (libtype.ob): Likewise.
63630         * Makerules (elide-routines.ob): Remove variable.
63631         (do-tests-clean): Do not handle *-bp.out.
63632         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63633         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63634         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63635         (tests): Do not include $(tests-bp.out).
63636         (xtests): Do not include $(xtests-bp.out).
63637         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63638         [$(build-bounded) = yes] ($(addprefix
63639         $(objpfx),$(binaries-bounded))): Remove rule.
63640         ($(objpfx)%-bp.out): Remove rule.
63641         * config.make.in (build-bounded): Remove variable.
63642         * crypt/Makefile [$(build-bounded) = yes]
63643         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63644         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63645         append to variable.
63646         [$(build-bounded) = yes] (install-lib): Likewise.
63647         [$(build-bounded) = yes] (generated): Likewise.
63648         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63649         Remove rule.
63650         * intl/Makefile [$(build-bounded) = yes]
63651         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63652         * math/Makefile [$(build-bounded) = yes]
63653         ($(tests:%=$(objpfx)%-bp): Likewise.
63654         * misc/Makefile [$(build-bounded) = yes]
63655         ($(objpfx)tst-tsearch-bp): Likewise.
63656         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63657         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63658         Remove dependency.
63659         * string/Makefile (o-objects.ob): Remove variable.
63660         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63661         (CFLAGS-.ob): Remove variable.
63662         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63663         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63664         both definitions of variable.
63665         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63666         (ASFLAGS-.ob): Remove variable.
63668 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63670         [BZ #13550]
63671         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63672         Remove __BOUNDED_POINTERS__ from condition.
63673         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63674         * string/bits/string2.h [!__NO_STRING_INLINES &&
63675         !__BOUNDED_POINTERS__]: Likewise.
63676         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63677         Likewise.
63678         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63679         Remove conditional code.
63680         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63681         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63682         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63683         condition.
63685         [BZ #13550]
63686         * csu/libc-start.c: Do not include <bp-sym.h>.
63687         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63688         * elf/dl-open.c: Do not include <bp-sym.h>.
63689         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63690         * math/fegetenv.c: Do not include <bp-sym.h>.
63691         (fegetenv): Do not use BP_SYM in versioned symbols.
63692         * nptl/sysdeps/pthread/bits/libc-lockP.h
63693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63694         <bp-sym.h>.
63695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63696         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63698         (__pthread_mutex_destroy): Likewise.
63699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63700         (__pthread_mutex_lock): Likewise.
63701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63702         (__pthread_mutex_trylock): Likewise.
63703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63704         (__pthread_mutex_unlock): Likewise.
63705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63706         (__pthread_mutexattr_init): Likewise.
63707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63708         (__pthread_mutexattr_destroy): Likewise.
63709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63710         (__pthread_mutexattr_settype): Likewise.
63711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63712         (__pthread_rwlock_init): Likewise.
63713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63714         (__pthread_rwlock_destroy): Likewise.
63715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63716         (__pthread_rwlock_rdlock): Likewise.
63717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63718         (__pthread_rwlock_tryrdlock): Likewise.
63719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63720         (__pthread_rwlock_wrlock): Likewise.
63721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63722         (__pthread_rwlock_trywrlock): Likewise.
63723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63724         (__pthread_rwlock_unlock): Likewise.
63725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63726         (__pthread_key_create): Likewise.
63727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63728         (__pthread_setspecific): Likewise.
63729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63730         (__pthread_getspecific): Likewise.
63731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63732         Likewise.
63733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63734         (_pthread_cleanup_push_defer): Likewise.
63735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63736         (_pthread_cleanup_pop_restore): Likewise.
63737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63738         (pthread_setcancelstate): Likewise.
63739         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63740         <bp-sym.h>.
63741         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63742         (memchr): Do not use BP_SYM in weak_alias.
63743         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63744         (fegetenv): Do not use BP_SYM in versioned symbols.
63745         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63746         (fesetenv): Do not use BP_SYM in versioned symbols.
63747         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63748         (feupdateenv): Do not use BP_SYM in versioned symbols.
63749         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63750         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63751         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63752         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63753         (open64): Do not use BP_SYM in weak_alias.
63754         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63755         (fegetenv): Do not use BP_SYM in versioned symbols.
63756         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63757         (fesetenv): Do not use BP_SYM in versioned symbols.
63758         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63759         (feupdateenv): Do not use BP_SYM in versioned symbols.
63760         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63761         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63762         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63763         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63764         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63765         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63766         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63767         <bp-sym.h>.
63768         (__libc_start_main): Do not use BP_SYM.
63770 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63772         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63773         redundant return line.
63774         (norm): Likewise.
63775         (denorm): Likewise.
63776         (dbl_mp): Likewise.
63777         (sub_magnitudes): Likewise.
63778         (__add): Likewise.
63779         (__sub): Likewise.
63780         (__mul): Likewise.
63781         (__inv): Likewise.
63782         (__dvd): Likewise.
63783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63784         (norm): Likewise.
63785         (denorm): Likewise.
63786         (dbl_mp): Likewise.
63787         (sub_magnitudes): Likewise.
63788         (__add): Likewise.
63789         (__sub): Likewise.
63790         (__mul): Likewise.
63791         (__inv): Likewise.
63792         (__dvd): Likewise.
63794         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63795         instead of __mul.
63796         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63797         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63798         (cc32): Likewise.
63800         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63801         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63802         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63803         of __mul for squares.
63804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63805         function
63806         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63807         Likewise.
63808         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63809         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63811 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63813         [BZ #13550]
63814         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63815         code.
63816         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63817         prototype or function definition.  Rename ubp_* variables and
63818         parameters.  Remove argv definitions conditional on
63819         [__BOUNDED_POINTERS__].
63820         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63821         * elf/dl-runtime.c (_dl_fixup): Likewise.
63822         * include/set-hooks.h (RUN_HOOK): Likewise.
63823         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63824         definition.
63825         * string/strcpy.c (strcpy): Do not use __unbounded.
63826         * sysdeps/generic/frame.h (struct layout): Likewise.
63827         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63828         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63829         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63830         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63831         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63832         (__backtrace): Likewise.
63833         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63834         use __ptrvalue.
63835         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63836         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63837         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63838         Likewise.
63839         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63840         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63841         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63842         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63843         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63844         Do not use __unbounded.
63845         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63846         Rename __unboundedrlimits parameter to rlimits in prototype.
63847         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63848         Do not use __unbounded.
63849         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63850         not use __ptrvalue.
63851         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63852         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63853         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63854         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63855         __ptrvalue or __unbounded.
63856         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63857         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63858         use __unbounded.
63859         (__new_msgctl): Do not use __ptrvalue.
63860         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63861         __unbounded.
63862         (__libc_msgrcv): Do not use __ptrvalue.
63863         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63864         startup_info): Do not use __unbounded.
63865         (__libc_start_main): Likewise.  Rename ubp_* variables and
63866         parameters.  Remove argv definitions conditional on
63867         [__BOUNDED_POINTERS__].
63868         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63869         __ptrvalue.
63870         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63871         use __unbounded.
63872         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63873         or __ptrvalue.
63874         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63875         use __unbounded.
63876         (__new_shmctl): Do not use __ptrvalue.
63877         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63878         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63879         Likewise.
63880         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63881         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63882         (__libc_sigaction): Likewise.
63883         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63884         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63885         Likewise.
63886         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63888 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63890         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63892         * string/mempcpy.c: Implement by calling memcpy.
63894 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63896         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63898         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63899         evaluation.
63901         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63902         values in the mantissa.
63904         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63905         minimize writes to Z.
63906         (sub_magnitudes): Simplify code a bit.
63908 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63910         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63911         from the message.  The linker prefixes all warnings with that already.
63913 2013-02-12  Andreas Schwab  <schwab@suse.de>
63915         [BZ #15078]
63916         * posix/regexec.c (extend_buffers): Add parameter min_len.
63917         (check_matching): Pass minimum needed length.
63918         (clean_state_log_if_needed): Likewise.
63919         (get_subexp): Likewise.
63920         * posix/Makefile (tests): Add bug-regex34.
63921         (bug-regex34-ENV): Define.
63922         * posix/bug-regex34.c: New file.
63924         [BZ #11561]
63925         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63926         elements compare against the byte sequence of it, not its name.
63927         * posix/Makefile (tests): Add bug-regex35.
63928         (bug-regex35-ENV): Define.
63929         * posix/bug-regex35.c: New file.
63931 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63933         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63934         comment.
63935         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63936         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63937         (CHECK_EOL): Add undef.
63939 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63941         * bits/stdlib-bsearch.h: New file.
63942         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63943         * stdlib/stdlib.h: Likewise.
63945 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63947         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63948         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63949         declaration.
63950         * manual/search.texi (Array Search Function): Add missing const in
63951         lfind prototype.
63952         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63953         declaration to use rlim_t.
63954         (Basic Scheduling Functions): Remove erroneous const from
63955         sched_getparam prototype.  Remove erroneous * from
63956         sched_get_priority_max and sched_get_priority_min prototypes.
63957         (Resource Usage): Fix summary @comment on vtimes to refer to
63958         sys/vtimes.h rather than vtimes.h.
63959         Add missing *s in vtimes prototype.
63960         (Limits on Resources): Fix ulimit prototype to return long int.
63961         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63962         prototypes to use long int rather than double.
63963         (BSD Random): Fix initstate and setstate to use char *, not void *.
63964         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63965         prototype to make second argument 'struct aiocb64 *const[]'.
63966         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63967         (Status of AIO Operations): Remove erroneous const in aio_return and
63968         aio_return64 prototypes.
63969         (Synchronizing I/O): Fix sync prototype to return void.
63970         * manual/startup.texi (Suboptions): Remove an erroneous const in
63971         getsubopt prototype.
63972         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63973         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63974         use size_t rather than int.
63975         (Scanning All Users): Likewise for getpwent_r.
63976         (Setting Groups): Add missing const to setgroups prototype.
63977         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63978         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63979         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63980         'const void *' rather than 'const char *'.
63981         (Host Address Functions): Likewise for inet_ntop.
63982         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63983         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63984         ssize_t for return value.
63985         (Sending Data): Likewise for send, sendto, sendmsg.
63986         (Socket Option Functions): Add a missing const in setsockopt prototype.
63987         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63988         use wchar_t for the argument.
63989         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63990         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63991         take no arguments.
63992         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63993         double/float/long double for second argument.
63994         Fix return types of significand, significandf, significandl.
63995         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63996         argument in fchmod prototype.
63997         (File Owner): Use uid_t and gid_t in fchown prototype.
63998         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63999         (Making Special Files): Use mode_t and dev_t in mknod prototype.
64000         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
64001         use 'const struct dirent **' as argument types to CMP function pointer
64002         argument.
64003         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
64004         (File Times): Fix summary magic @comment for struct utimbuf and utime
64005         to refer to utime.h, not time.h.
64006         * manual/string.texi (Argz Functions): Add missing const in
64007         argz_extract and argz_next prototypes.
64008         (Finding Tokens in a String): Likewise for basename.
64009         (String/Array Comparison): Fix typo in wcscasecmp prototype.
64010         (Copying and Concatenation): Fix typo in wmemmove prototype.
64011         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
64012         (Signal Stack): Remove erroneous const in sigstack prototype.
64013         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
64014         prototype.
64015         (Simple Calendar Time): Likewise for stime.
64016         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
64017         prototype.
64018         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
64019         say sys/sysctl.h instead.
64020         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
64021         and vsyslog prototypes.
64023 2013-02-11  Tom de Vries  <tom@codesourcery.com>
64025         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
64026         Remove.
64028 2013-02-11  Roland McGrath  <roland@hack.frob.com>
64030         * misc/sys/mman.h: Fix typo in mremap comment.
64032 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64034         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
64035         the '\0' terminator.
64037 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64039         [BZ #13550]
64040         * debug/segfault.c: Don't include <bp-checks.h>.
64041         * sysdeps/generic/bp-checks.h: Remove file.
64042         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
64043         (__GETDENTS): Don't use CHECK_N.
64044         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
64045         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
64046         (__getgroups): Don't use CHECK_N.
64047         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
64048         (setgroups): Don't use CHECK_N.
64049         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
64050         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
64051         (__libc_msgrcv): Don't use CHECK_N.
64052         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
64053         (__libc_msgsnd): Don't use CHECK_N.
64054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64055         <bp-checks.h>.
64056         (__libc_pread): Don't use CHECK_N.
64057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64058         include <bp-checks.h>.
64059         (__libc_pread64): Don't use CHECK_N.
64060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64061         include <bp-checks.h>.
64062         (__libc_pwrite): Don't use CHECK_N.
64063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64064         include <bp-checks.h>.
64065         (__libc_pwrite64): Don't use CHECK_N.
64066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64067         <bp-checks.h>.
64068         (__libc_pread): Don't use CHECK_N.
64069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64070         include <bp-checks.h>.
64071         (__libc_pread64): Don't use CHECK_N.
64072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64073         include <bp-checks.h>.
64074         (__libc_pwrite): Don't use CHECK_N.
64075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64076         include <bp-checks.h>.
64077         (__libc_pwrite64): Don't use CHECK_N.
64078         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64079         (do_pread): Don't use CHECK_N.
64080         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64081         (do_pread64): Don't use CHECK_N.
64082         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64083         (do_pwrite): Don't use CHECK_N.
64084         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64085         (do_pwrite64): Don't use CHECK_N.
64086         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64087         (__libc_readv): Don't use CHECK_N.
64088         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64089         (semop): Don't use CHECK_N.
64090         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64091         <bp-checks.h>.
64092         (semtimedop): Don't use CHECK_N.
64093         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64094         (__libc_pread): Don't use CHECK_N.
64095         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64096         <bp-checks.h>.
64097         (__libc_pread64): Don't use CHECK_N.
64098         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64099         <bp-checks.h>.
64100         (__libc_pwrite): Don't use CHECK_N.
64101         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64102         <bp-checks.h>.
64103         (__libc_pwrite64): Don't use CHECK_N.
64104         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64105         <bp-checks.h>.
64106         (__libc_msgrcv): Don't use CHECK_N.
64107         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64108         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64109         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64110         (__libc_writev): Don't use CHECK_N.
64112 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64114         * string/strcpy.c: Removed unused variable.
64116         * Makeconfig (+sysdep-includes): Define with := rather than =.
64117         Use an existing include/ subdir of each sysdeps dir before it.
64119 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64121         * nscd/connection.c (register_traced_file): Comment function.
64122         [HAVE_INOTIFY] (union __inev): Define.
64123         [HAVE_INOTIFY] (inotify_check_files): New function.
64124         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64125         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64126         clear_db_cache.
64127         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64129 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64131         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64132         loaded if not already and that a failure is permanent.
64134 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64136         [BZ #15006]
64137         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64138         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64140 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64142         [BZ #13550]
64143         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64144         (CHECK_1_NULL_OK): Likewise.
64145         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64146         (__fxstat): Do not use CHECK_1.
64147         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64148         <bp-checks.h>.
64149         (___fxstat64): Do not use CHECK_1.
64150         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64151         <bp-checks.h>.
64152         (__fxstatat): Do not use CHECK_1.
64153         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64154         <bp-checks.h>.
64155         (__fxstatat64): Do not use CHECK_1.
64156         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64157         <bp-checks.h>.
64158         (__fxstat): Do not use CHECK_1.
64159         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64160         <bp-checks.h>.
64161         (__fxstatat): Do not use CHECK_1.
64162         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64163         <bp-checks.h>.
64164         (__getresgid): Do not use CHECK_1.
64165         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64166         <bp-checks.h>.
64167         (__getresuid): Do not use CHECK_1.
64168         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64169         <bp-checks.h>.
64170         (__lxstat): Do not use CHECK_1.
64171         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64172         <bp-checks.h>.
64173         (__old_msgctl): Do not use CHECK_1.
64174         (__new_msgctl): Likewise.
64175         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64176         <bp-checks.h>.
64177         (__new_setrlimit): Do not use CHECK_1.
64178         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64179         <bp-checks.h>.
64180         (__old_shmctl): Do not use CHECK_1.
64181         (__new_shmctl): Likewise.
64182         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64183         <bp-checks.h>.
64184         (__xstat): Do not use CHECK_1.
64185         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64186         (__lxstat): Do not use CHECK_1.
64187         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64188         <bp-checks.h>.
64189         (___lxstat64): Do not use CHECK_1.
64190         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64191         (__old_msgctl): Do not use CHECK_1.
64192         (__new_msgctl): Likewise.
64193         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64194         <bp-checks.h>.
64195         (__gettimeofday): Do not use CHECK_1.
64196         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64197         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64198         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64199         <bp-checks.h>.
64200         (__gettimeofday): Do not use CHECK_1.
64201         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64202         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64203         (__new_shmctl): Do not use CHECK_1.
64204         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64205         <bp-checks.h>.
64206         (do_sigtimedwait): Do not use CHECK_1.
64207         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64208         <bp-checks.h>.
64209         (do_sigwaitinfo): Do not use CHECK_1.
64210         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64211         <bp-checks.h>.
64212         (msgctl): Do not use CHECK_1.
64213         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64214         <bp-checks.h>.
64215         (shmctl): Do not use CHECK_1.
64216         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64217         (ustat): Do not use CHECK_1.
64218         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64219         <bp-checks.h>.
64220         (__fxstat): Do not use CHECK_1.
64221         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64222         <bp-checks.h>.
64223         (__fxstatat): Do not use CHECK_1.
64224         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64225         <bp-checks.h>.
64226         (__lxstat): Do not use CHECK_1.
64227         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64228         <bp-checks.h>.
64229         (__xstat): Do not use CHECK_1.
64230         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64231         (__xstat): Do not use CHECK_1.
64232         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64233         (___xstat64): Do not use CHECK_1.
64235         [BZ #13550]
64236         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64237         definitions.
64238         (CHECK_BOUNDS_HIGH): Likewise.
64239         * string/strcpy.c: Do not include <bp-checks.h>.
64240         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64242 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64244         * nscd/nscd-client.h (__nscd_drop_map_ref):
64245         Add __attribute__ ((unused)).
64246         * nis/nss-nisplus.h (niserr2nss): Likewise.
64248         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64249         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64251         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64252         Remove inline keyword.
64253         * include/rounding-mode.h (round_away): Likewise.
64254         * libio/wfileops.c (adjust_wide_data): Likewise.
64255         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64256         (__m128i_strloadu_tolower): Likewise.
64257         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64258         (__m128i_strloadu_tolower): Likewise.
64259         * time/mktime.c (ydhms_diff): Likewise.
64260         * locale/elem-hash.h (elem_hash): Likewise.
64261         * locale/setlocale.c (setdata): Likewise.
64262         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64263         (re_string_wchar_at): Likewise.
64264         (bitset_not, bitset_merge, bitset_mask): Likewise.
64265         [!(__GNUC__ > 3)] (inline): Remove macro.
64266         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64267         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64268         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64269         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64270         * string/memcmp.c (memcmp_bytes): Likewise.
64271         * locale/programs/locarchive.c (compute_hashval): Likewise.
64272         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64273         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64274         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64275         * nss/getent.c (print_rpc, print_protocols): Likewise.
64276         (print_passwd, print_group, print_aliases): Likewise.
64277         * nis/nss-nisplus.h (niserr2nss): Likewise.
64278         * nscd/connections.c (restart_p): Likewise.
64279         Change return type to bool.
64281 2013-02-05  Roland McGrath  <roland@hack.frob.com>
64283         * Makeconfig (all-Depend-files): Add existing
64284         $(sorted-subdirs:=/Depend) files.
64285         (all-subdirs): Remove nss.
64286         * sysdeps/unix/inet/Subdirs: Add it here instead.
64287         * hesiod/Depend: New file.
64289         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64290         instead of calling alloca.
64292         * io/lseek.c (__lseek): Rename to __libc_lseek.
64293         Define __lseek as an alias.
64295         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64297 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
64299         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64300         else clause and remove check for non-standard endianness.
64302 2013-02-04  David S. Miller  <davem@davemloft.net>
64304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64306 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
64308         [BZ #13550]
64309         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64310         (__ubp_memchr): Remove prototype.
64311         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64312         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64313         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64314         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64315         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64316         Remove alias.
64317         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64318         (__ubp_memchr): Likewise.
64319         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64320         (__ubp_memchr): Likewise.
64321         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
64322         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64323         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64324         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64325         CHECK_STRING.
64326         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64327         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64328         (__getcwd): Do not use CHECK_STRING.
64329         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64330         <bp-checks.h>.
64331         (__real_chown): Do not use CHECK_STRING.
64332         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64333         <bp-checks.h>.
64334         (fchownat): Do not use CHECK_STRING.
64335         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64336         CHECK_STRING.
64337         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64338         <bp-checks.h>.
64339         (__lchown): Do not use CHECK_STRING.
64340         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64341         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64342         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64343         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64345         include <bp-checks.h>.
64346         (truncate64): Do not use CHECK_STRING.
64347         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64348         <bp-checks.h>.
64349         (__real_chown): Do not use CHECK_STRING.
64350         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64351         <bp-checks.h>.
64352         (__lchown): Do not use CHECK_STRING.
64353         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64354         <bp-checks.h>.
64355         (__chown): Do not use CHECK_STRING.
64356         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64357         <bp-checks.h>.
64358         (truncate64): Do not use CHECK_STRING.
64359         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64360         Likewise.
64361         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64362         (__xmknod): Do not use CHECK_STRING.
64363         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64364         <bp-checks.h>.
64365         (__xmknodat): Do not use CHECK_STRING.
64366         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64367         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64369 2013-02-04  Andreas Schwab  <schwab@suse.de>
64371         [BZ #14142]
64372         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64373         * include/netdb.h: Likewise for h_errno.
64374         * elf/tst-stackguard1.c: Include <tls.h>.
64376 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64378         * elf/link.h (struct link_map): Extend the l_addr comment.
64379         * include/link.h (struct link_map): Likewise.
64381 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64383         [BZ #13550]
64384         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64385         (BOUNDED_1): Remove macro.
64386         * debug/backtrace.c: Don't include <bp-checks.h>.
64387         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64388         (__backtrace): Likewise.
64389         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64390         <bp-checks.h>.
64391         (__backtrace): Don't use BOUNDED_1.
64392         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64393         <bp-checks.h>.
64394         (__backtrace): Don't use BOUNDED_1.
64395         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64396         (__backtrace): Don't use BOUNDED_1.
64397         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64398         (shmat): Don't use BOUNDED_N.
64400 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64402         [BZ #13550]
64403         * sysdeps/generic/bp-start.h: Remove file.
64404         * csu/libc-start.c: Don't include <bp-start.h>.
64405         (LIBC_START_MAIN): Set up __environ directly instead of using
64406         INIT_ARGV_and_ENVIRON.
64407         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64408         <bp-start.h>.
64410         [BZ #13550]
64411         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64412         definitions.
64413         (CHECK_FCNTL): Likewise.
64414         (CHECK_N_PAGES): Likewise.
64416         [BZ #13550]
64417         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64418         definitions.
64419         (CHECK_SIGSET_NULL_OK): Likewise.
64420         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64421         <bp-checks.h>.
64422         (sigpending): Don't use CHECK_SIGSET.
64423         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64424         <bp-checks.h>.
64425         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64426         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64427         <bp-checks.h>.
64428         (do_sigsuspend): Don't use CHECK_SIGSET.
64429         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64430         use CHECK_SIGSET.
64431         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64432         (do_sigwait): Don't use CHECK_SIGSET.
64433         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64434         use CHECK_SIGSET.
64435         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64436         include <bp-checks.h>.
64437         (sigpending): Don't use CHECK_SIGSET.
64438         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64439         include <bp-checks.h>.
64440         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64441         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64442         <bp-checks.h>.
64443         (sigpending): Don't use CHECK_SIGSET.
64444         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64445         <bp-checks.h>.
64446         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64448         [BZ #13550]
64449         * sysdeps/generic/bp-semctl.h: Remove file.
64450         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64451         <bp-checks.h> and <bp-semctl.h>.
64452         (__old_semctl): Don't use CHECK_SEMCTL.
64453         (__new_semctl): Likewise.
64454         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64455         and <bp-semctl.h>.
64456         (__old_semctl): Don't use CHECK_SEMCTL.
64457         (__new_semctl): Likewise.
64458         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64459         <bp-checks.h> and <bp-semctl.h>.
64460         (__old_semctl): Don't use CHECK_SEMCTL.
64461         (__new_semctl): Likewise.
64462         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64463         <bp-checks.h> and <bp-semctl.h>.
64464         (semctl): Don't use CHECK_SEMCTL.
64466         [BZ #13550]
64467         * Makerules (elide-bp-thunks): Remove variable.
64468         (elide-routines.oS): Don't use $(elide-bp-thunks).
64469         (elide-routines.os): Likewise.
64470         (elide-routines.o): Likewise.
64471         (elide-routines.op): Likewise.
64472         (elide-routines.og): Likewise.
64473         (objects): Don't use $(bp-thunks).
64474         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64475         include.
64476         (common-generated): Do not add s-proto-bp.d.
64477         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64478         (int): Likewise.
64479         (typ): Likewise.
64480         Do not generate makefile rules for bounded-pointer thunks.
64481         * sysdeps/generic/bp-thunks.h: Remove file.
64482         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64483         * sysdeps/unix/s-proto-bp.S: Likewise.
64485         [BZ #15062]
64486         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64487         parts of result separately when argument is not close to line from
64488         -i to i and one part of argument is small.
64489         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64490         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64491         * math/libm-test.inc (cacos_test): Add more tests.
64492         (casin_test): Likewise.
64493         (casinh_test): Likewise.
64494         * sysdeps/i386/fpu/libm-test-ulps: Update.
64495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64497 2013-01-31  David S. Miller  <davem@davemloft.net>
64499         * po/de.po: Update from translation team.
64501 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
64503         * time/tzfile.c: Include stdint.h for SIZE_MAX.
64505 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
64507         * configure.in (_AC_PROG_CC_C89): New definition.
64508         * configure: Regenerate.
64510         * configure.in (AC_PROG_CPP): New definition.
64511         * configure: Regenerate.
64513 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64515         * debug/tst-backtrace.h: New file.
64516         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64517         (ret): Remove variable.
64518         (x): Likewise.
64519         (FAIL): Remove macro.
64520         (NO_INLINE): Likewise.
64521         (fn1): Use match function instead of strstr.
64522         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64523         (ret): Remove variable.
64524         (x): Likewise.
64525         (FAIL): Remove macro.
64526         (NO_INLINE): Likewise.
64527         (fn): Use match function instead of strstr.
64528         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64529         (ret): Remove variable.
64530         (x): Likewise.
64531         (FAIL): Remove macro.
64532         (NO_INLINE): Likewise.
64533         (handle_signal): Use match function instead of strstr.
64534         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64535         (ret): Remove variable.
64536         (x): Likewise.
64537         (FAIL): Remove macro.
64538         (NO_INLINE): Likewise.
64539         (handle_signal): Use match function instead of strstr.
64541 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64543         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64545 2013-01-23  David S. Miller  <davem@davemloft.net>
64547         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64548         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64549         argument of CAS if possible.
64550         * sysdeps/sparc/sparc64/bits/atomic.h
64551         (__arch_compare_and_exchange_val_32_acq): Likewise.
64552         (__arch_compare_and_exchange_val_64_acq): Likewise.
64554 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64556         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64557         * sysdeps/posix/ulimit.c: ... this.
64558         Include <limits.h>.
64559         * sysdeps/unix/bsd/ulimit.c: Remove file.
64561 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64563         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64564         (LDFLAGS-tst-array5): Likewise.
64566 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64568         [BZ #15036]
64569         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64570         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64571         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64572         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64574 2013-01-21  David S. Miller  <davem@davemloft.net>
64576         * sysdeps/sparc/backtrace.c: New file.
64577         * sysdeps/sparc/sparc32/backtrace.h: New file.
64578         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64579         * sysdeps/sparc/sparc64/backtrace.h: New file.
64580         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64581         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64582         -funwind-tables.
64584 2013-01-21  Andreas Schwab  <schwab@suse.de>
64586         [BZ #15020]
64587         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64588         closed its stdout.
64590 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64592         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64593         "mpa2.h".
64594         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64596 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64597             Mark Mitchell  <mark@codesourcery.com>
64598             Tom de Vries  <tom@codesourcery.com>
64599             Paul Pluzhnikov  <ppluzhnikov@google.com>
64601         * debug/tst-backtrace2.c: New file.
64602         * debug/tst-backtrace3.c: Likewise.
64603         * debug/tst-backtrace4.c: Likewise.
64604         * debug/tst-backtrace5.c: Likewise.
64605         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64606         (CFLAGS-tst-backtrace3.c): Likewise.
64607         (CFLAGS-tst-backtrace4.c): Likewise.
64608         (CFLAGS-tst-backtrace5.c): Likewise.
64609         (LDFLAGS-tst-backtrace2): Likewise.
64610         (LDFLAGS-tst-backtrace3): Likewise.
64611         (LDFLAGS-tst-backtrace4): Likewise.
64612         (LDFLAGS-tst-backtrace5): Likewise.
64613         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64614         tst-backtrace4 and tst-backtrace5.
64616 2013-01-18  Anton Blanchard  <anton@samba.org>
64617             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64619         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64620         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64622         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64624         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64625         "+r" and remove output regs list as redundant.  Add explicit inline
64626         asm to specify register of return val to work around compiler codegen
64627         bug.  Remove (int) cast on return value.  Add return type parameter to
64628         use in macro so that this macro does not truncate return value for
64629         64-bit values.
64630         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64631         pass to INTERNAL_VSYSCALL_NCS.
64632         (INLINE_VSYSCALL): Add 'long int' as return type to
64633         INTERNAL_VSYSCALL_NCS macro invocation.
64634         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64635         INTERNAL_VSYSCALL_NCS macro invocation.
64636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64638 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64640         [BZ #14496]
64641         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64642         Fix application of SIMD FP exception mask.
64644         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64645         mp_no from a power of two.
64646         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64647         __mpexp_twomm1.  Use __pow_mp.
64649         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64650         multiplication.
64652 2013-01-17  David S. Miller  <davem@davemloft.net>
64654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64656 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64658         [BZ #15023]
64659         * include/complex.h: Condition contents on [!_COMPLEX_H].
64660         (__kernel_casinhf): New prototype.
64661         (__kernel_casinh): Likewise.
64662         (__kernel_casinhl): Likewise.
64663         * math/Makefile (libm_calls): Add k_casinh.
64664         * math/k_casinh.c: New file.
64665         * math/k_casinhf.c: Likewise.
64666         * math/k_casinhl.c: Likewise.
64667         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64668         finite nonzero arguments.
64669         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64670         finite nonzero arguments.
64671         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64672         finite nonzero arguments.
64673         * math/s_casinh.c: Do not include <float.h>.
64674         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64675         * math/s_casinhf.c: Do not include <float.h>.
64676         (__casinhf): Move code for finite nonzero arguments to
64677         k_casinhf.c.
64678         * math/s_casinhl.c: Do not include <float.h>.
64679         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64680         redefine.
64681         (__casinhl): Move code for finite nonzero arguments to
64682         k_casinhl.c.
64683         * math/libm-test.inc (cacos_test): Add more tests.
64684         * sysdeps/i386/fpu/libm-test-ulps: Update.
64685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64687 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64689         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64690         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64691         [!HAVE_MREMAP]: Remove [defined linux] case.
64692         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64694 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64696         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64698 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64700         * elf/elf.h (R_386_SIZE32): New relocation.
64701         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64702         R_386_SIZE32.
64703         (elf_machine_rela): Likewise.
64704         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64705         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64707 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64709         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64710         (FP_FAST_FMA): Do not define.
64711         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64712         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64713         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64714         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64715         !_SOFT_FLOAT]: Likewise.
64716         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64717         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64718         value.
64719         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64720         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64721         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64722         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64723         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64724         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64725         file.
64727 2013-01-16  Andreas Schwab  <schwab@suse.de>
64729         [BZ #14327]
64730         * include/stdlib.h (__mktemp): Add declaration.
64731         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64732         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64734 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64736         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64737         definitions.
64738         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64739         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64740         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64741         definitions here.
64742         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64743         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64744         definitions.
64745         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64746         and ONE.
64747         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64748         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64749         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64750         definitions.
64751         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64752         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64753         definitions.
64754         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64756         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64758 2013-01-15  David S. Miller  <davem@davemloft.net>
64760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64761         trunc{,f} to libm-sysdep_routes.
64762         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64764         file.
64765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64767         file.
64768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64769         file.
64770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64772         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64773         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64774         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64775         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64776         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64777         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64780         nearbyint{,f} to libm-sysdep_routes.
64781         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64783         New file.
64784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64785         file.
64786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64787         New file.
64788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64789         file.
64790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64792         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64793         file.
64794         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64795         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64796         file.
64797         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64798         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64799         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64801         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64802         libc_feholdexcept and libc_fesetenv.
64804 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64806         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64808 2013-01-14  David S. Miller  <davem@davemloft.net>
64810         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64811         (SPARC_ASM_VIS2_IFUNC): Likewise.
64812         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64814         use of 'siam' instruction.
64815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64816         Likewise.
64817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64818         Likewise.
64819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64820         Likewise.
64821         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64822         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64823         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64824         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64826         file.
64827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64828         file.
64829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64830         file.
64831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64832         file.
64833         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64834         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64835         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64836         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64838         new VIS2 routines.
64839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64842         Likewise.
64843         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64844         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64846         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64848         routines to libm-sysdep_routines.
64849         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64852         fdim/fdimf to libm-sysdep_routines.
64853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64854         file.
64855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64857         file.
64858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64859         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64860         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64861         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64862         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64863         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64864         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64866 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64868         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64869         to optimize copies.
64871         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64872         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64876         local variable MPTWO.
64877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64878         Likewise.
64880 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64882         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64883         GLOB_NOESCAPE.
64885 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64887         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64889 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64891         * manual/pattern.texi (glob_t): Document gl_flags.
64892         (glob64_t): Likewise.
64894 2013-01-11  David S. Miller  <davem@davemloft.net>
64896         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64897         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64898         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64899         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64900         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64901         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64902         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64903         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64904         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64905         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64906         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64907         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64908         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64910         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64911         sparc V9 rather than using V8 code.
64912         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64913         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64915         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64916         Move to...
64917         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64918         Here.
64920 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64922         [BZ #14941]
64923         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64924         not in the main loop.
64925         * configure: Regenerated.
64927 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64929         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64930         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64931         to just #else.
64932         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64933         [!__GLIBC_HAVE_LONG_LONG] case.
64934         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64935         condition to just #else.
64936         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64937         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64938         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64939         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64940         unconditional.
64941         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64942         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64943         #elif condition to just #else.
64944         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64945         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64946         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64947         #elif condition to just #else.
64949 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64951         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64952         (EF_MIPS_ARCH_64): Fix value.
64953         (EF_MIPS_ARCH_32R2): New.
64954         (EF_MIPS_ARCH_64R2): New.
64956 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64958         * Makeconfig (+link-pie-before-libc): New.
64959         (+link-pie-after-libc): Likewise.
64960         (+link-pie-tests): Likewise.
64961         (+link-pie): Rewritten.
64962         (link-before-libc): Remove $(config-LDFLAGS).
64963         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64964         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64965         (config-LDFLAGS): Renamed to ...
64966         (rtld-LDFLAGS): This.
64967         (rtld-tests-LDFLAGS): New macro.
64968         (link-libc-rpath-link): Likewise.
64969         (link-libc-tests-rpath-link): Likewise.
64970         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64971         (link-libc): Prepand $(link-libc-rpath-link).
64972         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64973         (test-program-prefix): New macro.
64974         (test-via-rtld-prefix): Likewise.
64975         (test-program-cmd): Likewise.
64976         (host-test-program-cmd): Likewise.
64977         * Makefile ($(common-objpfx)testrun.sh): Replace
64978         $(run-program-prefix) with $(test-program-prefix).
64979         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64980         $(rtld-LDFLAGS).
64981         ($(common-objpfx)shlib.lds): Likewise.
64982         (build-module-helper): Likewise.
64983         ($(common-objpfx)format.lds): Likewise.
64984         * Rules (binaries-pie-tests): New.
64985         (binaries-pie-notests): Likewise.
64986         (binaries-pie): Rewritten.
64987         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64988         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64989         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64990         (make-test-out): Replace $(host-built-program-cmd) with
64991         $(host-test-program-cmd).
64992         * config.make.in (build-hardcoded-path-in-tests): New variable.
64993         * configure.in (--enable-hardcoded-path-in-tests): New configure
64994         option.
64995         (hardcoded_path_in_tests): New AC_SUBST.
64996         * configure: Regenerated.
64997         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64998         $(built-program-cmd) with $(test-program-cmd).
64999         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
65000         (test_program_cmd): This.
65001         * elf/Makefile ($(objpfx)order.out): Run test with
65002         $(test-program-prefix).
65003         ($(objpfx)order2.out): Likewise.
65004         ($(objpfx)tst-initorder.out): Likewise.
65005         ($(objpfx)tst-initorder2.out): Likewise.
65006         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
65007         $(test-program-cmd).
65008         ($(objpfx)tst-array1-static.out): Likewise.
65009         ($(objpfx)tst-array2.out): Likewise.
65010         ($(objpfx)tst-array3.out): Likewise.
65011         ($(objpfx)tst-array4.out): Likewise.
65012         ($(objpfx)tst-array5.out): Likewise.
65013         ($(objpfx)tst-array5-static.out): Likewise.
65014         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
65015         $(test-program-cmd).
65016         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
65017         $(run-program-prefix) with $(test-program-prefix).
65018         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
65019         (test_program_prefix): This.
65020         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
65021         $(run-program-prefix) with $(test-program-prefix).
65022         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
65023         (test_program_prefix): This.
65024         * iconvdata/tst-tables.sh: Likewise.
65025         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
65026         $(run-program-prefix) with $(test-program-prefix).
65027         ($(objpfx)tst-translit.out): Likewise.
65028         ($(objpfx)tst-gettext2.out): Likewise.
65029         ($(objpfx)tst-gettext4.out): Likewise.
65030         ($(objpfx)tst-gettext6.out): Likewise.
65031         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
65032         (test_program_prefix): This.
65033         * intl/tst-gettext2.sh: Likewise.
65034         * intl/tst-gettext4.sh  Likewise.
65035         * intl/tst-gettext6.sh: Likewise.
65036         * intl/tst-translit.sh: Likewise.
65037         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
65038         with $(test-program-cmd).
65039         * libio/Makefile ($(objpfx)test-freopen.out): Replace
65040         $(run-program-prefix) with $(test-program-prefix).
65041         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
65042         (test_program_prefix): This.
65043         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
65044         $(run-program-prefix) with $(test-program-prefix).
65045         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
65046         (test_program_prefix): This.
65047         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
65048         * posix/Makefile ($(objpfx)globtest.out): Replace
65049         $(run-via-rtld-prefix) and $(test-wrapper) with
65050         $(test-program-prefix) and $(test-via-rtld-prefix).
65051         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
65052         $(test-program-prefix).
65053         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65054         $(host-test-program-cmd).
65055         (tst-spawn-ARGS): Likewise.
65056         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65057         $(test-program-prefix).
65058         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65059         (test_via_rtld_prefix): This.
65060         (test_wrapper): Renamed to ...
65061         (test_program_prefix): This.
65062         (run_program_prefix): Replaced by test_program_prefix.
65063         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65064         (test_program_prefix): This.
65065         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65066         with $(host-test-program-cmd).
65067         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65068         $(run-program-prefix) with $(test-program-prefix).
65069         ($(objpfx)tst-printf.out): Likewise.
65070         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65071         $(test-program-cmd).
65072         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65073         (test_program_prefix): This.
65074         * stdio-common/tst-unbputc.sh: Likewise.
65075         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65076         $(run-program-prefix) with $(test-program-prefix).
65077         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65078         (test_program_prefix): This.
65079         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65080         $(built-program-cmd) with $(test-program-cmd).
65082 2013-01-11  Andreas Jaeger  <aj@suse.de>
65084         [BZ #15003]
65085         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65086         value. Sync with Linux 3.7.
65088 2013-01-10  David S. Miller  <davem@davemloft.net>
65090         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65091         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65092         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65094 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65096         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65097         never set.
65098         * configure: Regenerated.
65100 2013-01-10  David S. Miller  <davem@davemloft.net>
65102         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65103         sparc V9 rather than using V8 code.
65104         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65105         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65107 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65109         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65110         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65111         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65112         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65113         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65114         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65115         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65116         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65117         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65118         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65119         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65120         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65121         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65122         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65123         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65124         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65125         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65126         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65127         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65128         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65129         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65130         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65131         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65132         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65133         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65134         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65135         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65137 2013-01-10  David S. Miller  <davem@davemloft.net>
65139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65141 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65143         * posix/Makefile (tests-static): New variable.
65144         (tests): Add $(tests-static).
65145         (tst-exec-static-ARGS): New variable.
65146         (tst-spawn-static-ARGS): Likewise.
65147         * posix/tst-exec-static.c: New file.
65148         * posix/tst-spawn-static.c: Likewise.
65149         * posix/tst-exec.c: Support run directly.
65150         * posix/tst-spawn.c: Likewise.
65152 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65154         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65155         long.
65156         * math/bits/mathcalls.h (llrint): Likewise.
65157         (llround): Likewise.
65158         * stdlib/stdlib.h (struct drand48_data): Likewise.
65159         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65160         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65161         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65162         Likewise.
65163         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65164         Likewise.
65165         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65166         (elf_greg_t): Likewise.
65167         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65168         (__jmp_buf): Likewise.
65169         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65170         definitions.
65171         (llrint): Likewise, for all definitions.
65172         (llrintl): Likewise.
65174         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65175         Remove [__GNUC__] condition.
65176         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65177         condition to just [__USE_ISOC99].
65178         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65180 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65182         [BZ #14200]
65183         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65184         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65185         defined.
65186         (_POSIX_V6_ILP32_OFF32): Likewise.
65187         (_XBS5_ILP32_OFF32): Likewise.
65188         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65189         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65191 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65193         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65196         doubles __mpexp_twomm1.  Adjust usage.
65197         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65198         Remove.
65200 2013-01-10  Andreas Schwab  <schwab@suse.de>
65202         [BZ #14964]
65203         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65204         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65206 2013-01-09  David S. Miller  <davem@davemloft.net>
65208         [BZ #15003]
65209         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65210         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65211         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65212         (TCP_FASTOPEN): Define.
65213         (tcp_repair_opt): New structure.
65214         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65215         enum values.
65216         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65217         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65218         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65219         (tcp_cookie_transactions): New structure.
65221 2013-01-09  Anton Blanchard  <anton@samba.org>
65223         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65224         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65225         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65226         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65228 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65230         * include/features.h (__USE_ANSI): Remove.
65232 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65234         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65236         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65238 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65240         * sysdeps/s390/fpu/libm-test-ulps: Update.
65242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65244         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65245         (__acr): Likewise.
65246         (__cpy): Likewise.
65247         (norm): Likewise.
65248         (denorm): Likewise.
65249         (__mp_dbl): Likewise.
65250         (__dbl_mp): Likewise.
65251         (add_magnitudes): Likewise.
65252         (sub_magnitudes): Likewise.
65253         (__add): Likewise.
65254         (__sub): Likewise.
65255         (__mul): Likewise.
65256         (__inv): Likewise.
65257         (__dvd): Likewise.
65258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65259         (__acr): Likewise.
65260         (__cpy): Likewise.
65261         (norm): Likewise.
65262         (denorm): Likewise.
65263         (__mp_dbl): Likewise.
65264         (__dbl_mp): Likewise.
65265         (add_magnitudes): Likewise.
65266         (sub_magnitudes): Likewise.
65267         (__add): Likewise.
65268         (__sub): Likewise.
65269         (__mul): Likewise.
65270         (__inv): Likewise.
65271         (__dvd): Likewise.
65272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65273         (__acr): Likewise.
65274         (__cpy): Likewise.
65275         (norm): Likewise.
65276         (denorm): Likewise.
65277         (__mp_dbl): Likewise.
65278         (__dbl_mp): Likewise.
65279         (add_magnitudes): Likewise.
65280         (sub_magnitudes): Likewise.
65281         (__add): Likewise.
65282         (__sub): Likewise.
65283         (__mul): Likewise.
65284         (__inv): Likewise.
65285         (__dvd): Likewise.
65287 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
65289         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65290         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65291         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65292         2 && __USE_EXTERN_INLINES]: Likewise.
65294 2013-01-08  Andreas Jaeger  <aj@suse.de>
65296         [BZ# 14985]
65297         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65298         Remove.
65299         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65300         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65302 2013-01-07  Anton Blanchard  <anton@samba.org>
65304         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65305         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65306         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65307         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65308         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65309         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65310         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65311         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65312         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65313         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65314         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65315         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65316         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65317         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65318         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65319         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65320         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65321         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65322         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65323         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65324         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65325         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65326         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65327         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65328         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65329         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65330         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65331         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65332         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65333         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65334         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65335         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65336         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65337         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65338         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65339         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65340         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65341         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65342         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65343         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65344         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65345         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65346         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65348 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65350         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65351         (__MALLOC_PMT): Likewise.
65352         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65353         [__GNUC__], only on [_LIBC].
65354         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65355         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65356         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65357         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65358         forward declaration.
65359         (realloc_hook_ini): Likewise.
65360         (memalign_hook_ini): Likewise.
65361         (__libc_memalign): Do not use __MALLOC_PMT in variable
65362         declaration.
65363         (__libc_valloc): Likewise.
65364         (__libc_pvalloc): Likewise.
65365         (__libc_calloc): Likewise.
65366         (__posix_memalign): Likewise.
65368         [BZ #14996]
65369         * math/s_casinh.c: Include <float.h>.
65370         (__casinh): Do not do computation with squaring and square root
65371         for large arguments.
65372         * math/s_casinhf.c: Include <float.h>.
65373         (__casinhf): Do not do computation with squaring and square root
65374         for large arguments.
65375         * math/s_casinhl.c: Include <float.h>.
65376         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65377         (__casinhl): Do not do computation with squaring and square root
65378         for large arguments.
65379         * math/libm-test.inc (casin_test): Add more tests.
65380         (casinh_test): Likewise.
65381         * sysdeps/i386/fpu/libm-test-ulps: Update.
65382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65384 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65386         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65387         (__x86_64_raw_data_cache_size): Likewise.
65388         (__x86_64_data_cache_size_half): Likewise.
65389         (__x86_64_raw_data_cache_size_half): Likewise.
65390         (__x86_64_shared_cache_size): Likewise.
65391         (__x86_64_raw_shared_cache_size): Likewise.
65392         (__x86_64_shared_cache_size_half): Likewise.
65393         (__x86_64_raw_shared_cache_size_half): Likewise.
65394         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65395         to ...
65396         (__x86_data_cache_size): This.
65397         (__x86_64_raw_data_cache_size): Renamed to ...
65398         (__x86_raw_data_cache_size): This.
65399         (__x86_64_data_cache_size_half): Renamed to ...
65400         (__x86_data_cache_size_half): This.
65401         (__x86_64_raw_data_cache_size_half): Renamed to ...
65402         (__x86_raw_data_cache_size_half): This.
65403         (__x86_64_shared_cache_size): Renamed to ...
65404         (__x86_shared_cache_size): This.
65405         (__x86_64_raw_shared_cache_size): Renamed to ...
65406         (__x86_raw_shared_cache_size): This.
65407         (__x86_64_shared_cache_size_half): Renamed to ...
65408         (__x86_shared_cache_size_half): This.
65409         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65410         (__x86_raw_shared_cache_size_half): This.
65411         * sysdeps/x86_64/memcpy.S: Updated.
65412         * sysdeps/x86_64/memset.S: Likewise.
65413         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65414         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65415         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65417 2013-01-04  David S. Miller  <davem@davemloft.net>
65419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65421 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65423         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65424         1 to avoid redefinition warning.
65425         (__USE_GNU): Don't define.
65426         (init_signaling_nan): Protoize.
65428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65430 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65432         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65433         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65434         (__cpymn): Likewise.
65435         (norm): Remove commented code.
65436         (denorm): Likewise.
65437         (__mp_dbl): Likewise.
65438         (__inv): Likewise.
65439         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65440         (__cpymn): Likewise.
65441         (norm): Remove commented code.
65442         (denorm): Likewise.
65443         (__mp_dbl): Likewise.
65444         (__inv): Likewise.
65446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65447         mp_no value for 1.0 and 2.0.
65448         (norm): Use RADIXI instead of radixi.d.
65449         (denorm): Likewise.
65450         (__mul): Use 0.0 instead of zero.d.
65451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65452         mp_no value for 1.0 and 2.0.
65453         (norm): Use RADIXI instead of radixi.d.
65454         (denorm): Likewise.
65455         (__mul): Use 0.0 instead of zero.d.
65457 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
65459         [BZ #14994]
65460         * math/s_casinh.c (__casinh): Reduce finite argument to first
65461         quadrant then set signs of results at the end.
65462         * math/s_casinhf.c (__casinhf): Likewise.
65463         * math/s_casinhl.c (__casinhl): Likewise.
65464         * math/libm-test.inc (casin_test): Add more tests.
65465         (casinh_test): Likewise.
65466         * sysdeps/i386/fpu/libm-test-ulps: Update.
65467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65469 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65471         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65473         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65475         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65476         declarations.
65477         (denorm): Likewise.
65478         (__mp_dbl): Likewise.
65479         (__inv): Likewise.
65481         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65482         and adjust the header comment.
65484         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65485         variable name from declaration.
65487 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
65489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65490         Initialize COMMON_CPUID_INDEX_7 element.
65491         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65492         (CPUID_RTM): Likewise.
65493         (HAS_RTM): Likewise.
65494         (COMMON_CPUID_INDEX_7): New enum.
65496 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
65498         [BZ #14981]
65499         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65500         size is zero, record memory as freed.
65502 2013-01-03  Andreas Jaeger  <aj@suse.de>
65504         * po/ia.po: Add new Interlingua translation.
65506 2012-01-03  Allan McRae  <allan@archlinux.org>
65508         * locale/programs/localedef.c: Fix description of '--posix' flag.
65510 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
65512         * NEWS: Update dates in second copyright notice.
65513         * README: Update copyright dates in example.
65514         * manual/libc.texinfo: Update copyright dates.
65515         * scripts/test-installation.pl: Update copyright date in --version
65516         output.
65518         * hurd/ctty-input.c: Fix copyright notice formatting.
65519         * hurd/ctty-output.c: Likewise.
65520         * hurd/dtable.c: Likewise.
65521         * hurd/hurd-raise.c: Likewise.
65522         * hurd/hurdprio.c: Likewise.
65523         * hurd/msgportdemux.c: Likewise.
65524         * misc/sys/file.h: Likewise.
65525         * misc/sys/ioctl.h: Likewise.
65526         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65527         * sysdeps/mach/hurd/chdir.c: Likewise.
65528         * sysdeps/mach/hurd/fchdir.c: Likewise.
65529         * sysdeps/mach/hurd/rename.c: Likewise.
65530         * sysdeps/mach/hurd/rmdir.c: Likewise.
65531         * sysdeps/mach/hurd/seekdir.c: Likewise.
65532         * sysdeps/mach/hurd/setsid.c: Likewise.
65533         * sysdeps/posix/wait3.c: Likewise.
65535         * All files with FSF copyright notices: Update copyright dates
65536         using scripts/update-copyrights.
65537         * intl/plural.c: Regenerated.
65538         * locale/programs/charmap-kw.h: Likewise.
65539         * locale/programs/locfile-kw.h: Likewise.
65541 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65543         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65544         four values.
65546         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65547         calculation loop and add branch prediction.
65549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65550         check access beyond bounds of m1np.
65552         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65553         MPTWO.
65554         (__inv): Remove local variable MPTWO to use the global
65555         constant.
65556         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65557         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65558         variable MPTWO.
65559         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65560         MP3HALFS static const.
65562 2013-01-01  David S. Miller  <davem@davemloft.net>
65564         * po/ca.po: Update from translation team.
65566 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65568         * scripts/update-copyrights: New file.
65569         * Makeconfig: Reformat copyright notice.
65570         * ctype/ctype.h: Likewise.
65571         * debug/swprintf_chk.c: Likewise.
65572         * elf/dl-cache.c: Likewise.
65573         * elf/dl-debug.c: Likewise.
65574         * elf/dl-object.c: Likewise.
65575         * grp/initgroups.c: Likewise.
65576         * hurd/Makefile: Likewise.
65577         * hurd/hurd/signal.h: Likewise.
65578         * hurd/hurdfault.c: Likewise.
65579         * hurd/hurdioctl.c: Likewise.
65580         * hurd/hurdlookup.c: Likewise.
65581         * hurd/intr-msg.c: Likewise.
65582         * iconv/gconv_open.c: Likewise.
65583         * libio/swprintf.c: Likewise.
65584         * locale/lc-ctype.c: Likewise.
65585         * locale/nl_langinfo.c: Likewise.
65586         * mach/Machrules: Likewise.
65587         * mach/Makefile: Likewise.
65588         * malloc/obstack.h: Likewise.
65589         * manual/Makefile: Likewise.
65590         * manual/tsort.awk: Likewise.
65591         * misc/bits/stab.def: Likewise.
65592         * nis/nis_print_group_entry.c: Likewise.
65593         * nis/nis_table.c: Likewise.
65594         * nis/nss_compat/compat-pwd.c: Likewise.
65595         * nis/nss_compat/compat-spwd.c: Likewise.
65596         * po/Makefile: Likewise.
65597         * posix/fnmatch.c: Likewise.
65598         * posix/regex.h: Likewise.
65599         * resolv/Makefile: Likewise.
65600         * resolv/nss_dns/dns-network.c: Likewise.
65601         * resolv/res_hconf.c: Likewise.
65602         * scripts/gen-sorted.awk: Likewise.
65603         * soft-fp/soft-fp.h: Likewise.
65604         * stdio-common/printf.h: Likewise.
65605         * stdlib/monetary.h: Likewise.
65606         * stdlib/random.c: Likewise.
65607         * stdlib/random_r.c: Likewise.
65608         * sysdeps/generic/Makefile: Likewise.
65609         * sysdeps/gnu/Makefile: Likewise.
65610         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65611         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65612         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65613         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65614         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65615         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65616         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65617         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65618         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65619         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65620         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65621         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65622         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65623         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65624         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65625         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65626         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65627         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65628         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65629         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65630         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65631         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65632         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65633         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65634         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65635         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65636         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65637         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65638         * sysdeps/mach/hurd/errnos.awk: Likewise.
65639         * sysdeps/mach/hurd/fork.c: Likewise.
65640         * sysdeps/mach/hurd/getcwd.c: Likewise.
65641         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65642         * sysdeps/mach/hurd/mmap.c: Likewise.
65643         * sysdeps/mach/hurd/utimes.c: Likewise.
65644         * sysdeps/mach/hurd/xmknod.c: Likewise.
65645         * sysdeps/posix/profil.c: Likewise.
65646         * sysdeps/posix/readdir_r.c: Likewise.
65647         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65648         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65649         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65650         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65651         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65652         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65653         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65654         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65656         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65657         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65658         * sysdeps/pthread/lio_listio.c: Likewise.
65659         * sysdeps/sparc/dl-procinfo.h: Likewise.
65660         * sysdeps/unix/i386/sysdep.S: Likewise.
65661         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65662         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65663         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65664         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65666         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65667         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65668         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65669         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65670         * sysdeps/wordsize-32/divdi3.c: Likewise.
65671         * time/sys/time.h: Likewise.
65672         * wcsmbs/Makefile: Likewise.
65674 2013-01-01  David S. Miller  <davem@davemloft.net>
65676         * po/fr.po: Update from translation team.
65678         * catgets/gencat.c: Update copyright year.
65679         * csu/version.c: Likewise.
65680         * debug/catchsegv.sh: Likewise.
65681         * debug/pcprofiledump.c: Likewise.
65682         * debug/xtrace.sh: Likewise.
65683         * elf/ldconfig.c: Likewise.
65684         * elf/ldd.bash.in: Likewise.
65685         * elf/pldd.c: Likewise.
65686         * elf/sotruss.ksh: Likewise.
65687         * elf/sprof.c: Likewise.
65688         * iconv/iconv_prog.c: Likewise.
65689         * iconv/iconvconfig.c: Likewise.
65690         * locale/programs/locale.c: Likewise.
65691         * locale/programs/localedef.c: Likewise.
65692         * login/programs/pt_chown.c: Likewise.
65693         * malloc/memusage.sh: Likewise.
65694         * malloc/memusagestat.c: Likewise.
65695         * malloc/mtrace.pl: Likewise.
65696         * nscd/nscd.c: Likewise.
65697         * nss/getent.c: Likewise.
65698         * nss/makedb.c: Likewise.
65699         * posix/getconf.c: Likewise.
65701 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65703         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65704         numbers.
65706 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65708         * math/bits/mathcalls.h (modf): Use __nonnull.
65710 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65712         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65713         (split): Use macro CN instead of the bare value.
65714         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65715         could be used.
65716         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65717         instead of the bare value.
65718         (power1): Likewise.
65720 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65723         __ATAN_TWOM.
65724         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65726         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65727         their values.
65728         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65729         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65730         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65731         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65733 2012-12-28  Andreas Jaeger  <aj@suse.de>
65735         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65736         values are from Linux 3.7.
65738         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65739         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65741 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65743         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65744         TRUE case.
65746         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65747         (norm): Likewise.
65748         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65749         variables with preprocessor constants.
65750         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65751         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65752         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65754 2012-12-27  Bruno Haible  <bruno@clisp.org>
65756         [BZ #14317]
65757         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65758         only if needed.
65760 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65762         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65763         and use variable directly.
65764         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65766         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65767         MPONE.
65768         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65769         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65770         variable MPONE.
65771         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65772         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65773         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65774         include directive.  Remove local variable MPONE.
65775         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65776         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65777         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65779 2012-12-25  David S. Miller  <davem@davemloft.net>
65781         * version.h (RELEASE): Set to "development".
65782         (VERSION): Set to "2.17.90".
65783         * NEWS: Add 2.18 section.
65785 2012-12-21  David S. Miller  <davem@davemloft.net>
65787         * po/hr.po: Update from translation team.
65789 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65791         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65793 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65795         * NEWS:  Mention new memcpy for MIPS.
65797 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65799         * manual/contrib.texi (Contributors): Spelling correction.
65801 2012-12-15  David S. Miller  <davem@davemloft.net>
65803         * po/ru.po: Update from translation team.
65805 2012-12-13  David S. Miller  <davem@davemloft.net>
65807         * NEWS: Mention IFUNC testsuite enhancements.
65809         * po/pl.po: Update from translation team.
65810         * po/bg.po: Likewise.
65812         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65813         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65815 2012-12-11  David S. Miller  <davem@davemloft.net>
65817         * po/sv.po: Update from translation team.
65819         * po/vi.po: Update from translation team.
65821         * po/cs.po: Update from translation team.
65823         * po/de.po: Update from translation team.
65824         * po/eo.po: Likewise.
65825         * po/nl.po: Likewise.
65827 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65829         [BZ #14246]
65830         * manual/argp.texi (Argp Helper Functions): Move node to follow
65831         Argp Parsing State.
65833         [BZ #14872]
65834         * manual/conf.texi (Limits on File System Capacity): Mention if
65835         terminating null is included in the max size.
65837 2012-12-10  Andreas Jaeger  <aj@suse.de>
65839         * po/cs.po: Update from translation team.
65841 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65843         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65844         void pointer and cast to uintptr_t.
65845         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65846         path.
65847         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65848         * sysdeps/s390/s390-64/memset.S: Likewise.
65850 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65852         [BZ #14833]
65853         * menual/message.texi (Message Translation): Fix typos.
65854         (Helper programs for gettext): Likewise.
65856 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65858         [BZ #14898]
65859         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65860         Change to -1.
65862 2012-12-07  David S. Miller  <davem@davemloft.net>
65864         * po/libc.pot: Update.
65866 2012-12-07  Richard Henderson  <rth@redhat.com>
65868         [BZ #10114]
65869         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65870         normal/normal case to before the switch.
65871         (_FP_DIV): Likewise.
65873 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65874             Mike Frysinger  <vapier@gentoo.org>
65876         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65877         check for __NR_fadvise64_64.
65879 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65881         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65882         0, not just to plain "0" as a statement.
65883         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65884         with cw.
65886 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65888         * NEWS: Use sourceware.org in Bugzilla URL.
65890 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65893         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65895         * stdio-common/tst-put-error.c (do_test): Add newline to the
65896         padded test to ensure flush.
65898 2012-12-05  Jeff Law  <law@redhat.com>
65900         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65902 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65904         * README: Don't refer to ports add-on as distributed separately.
65905         Mention AArch64 in list of systems supported in the ports add-on.
65907         * LICENSES: Add more non-FSF copyright and license notices.
65909         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65910         ((unused)).
65912         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65914         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65915         10000 as width of padded output.
65917 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65919         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65921         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65922         variable LX with __attribute__ ((unused)).
65923         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65924         Likewise.
65925         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65926         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65927         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65928         with __attribute__ ((unused)).
65930 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65932         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65934 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65936         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65937         (CFLAGS-nldbl-acos.c): New variable.
65938         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65939         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65940         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65941         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65942         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65943         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65944         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65945         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65946         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65947         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65948         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65949         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65950         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65951         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65952         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65953         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65954         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65955         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65956         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65957         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65958         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65959         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65960         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65961         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65962         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65963         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65964         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65965         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65966         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65967         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65968         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65969         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65970         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65971         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65972         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65973         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65974         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65975         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65976         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65977         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65978         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65979         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65980         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65981         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65982         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65983         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65984         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65985         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65986         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65987         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65988         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65989         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65990         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65991         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65992         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65993         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65994         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65995         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65996         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65997         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65998         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65999         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
66000         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
66001         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
66002         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
66003         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
66004         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
66005         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
66006         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
66007         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
66008         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
66009         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
66010         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
66011         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
66012         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
66013         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
66014         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
66015         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
66016         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
66017         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
66018         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
66019         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
66020         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
66021         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
66022         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
66023         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
66024         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
66025         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
66026         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
66027         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
66028         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
66029         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
66030         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
66031         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
66032         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
66033         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
66034         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
66036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66037         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
66039         [BZ #14914]
66040         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
66041         whole low double instead of just low 47 bits when splitting values
66042         into two parts.
66044 2012-12-03  Allan McRae  <allan@archlinux.org>
66046         * manual/stdio.texi (Predefined Printf Handlers): Remove
66047         @hsep and @vsep usage.
66049 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
66051         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
66052         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66054 2012-12-03  Jeff Law  <law@redhat.com>
66056         * time/sys/time.h (settimeofday): Do not mark TV argument
66057         as __nonnull.
66059 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66061         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66062         when currently writing and seek to current position when not.
66063         * libio/Makefile (tests): Remove bug-fclose1.
66064         * libio/bug-fclose1.c: Delete.
66066 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66068         * manual/arith.texi (feenableexcept): Fix typo.
66069         (fedisableexcept): Likewise.
66071 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66073         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66074         second, differently-typed declaration, rather than a cast.
66076 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66078         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66079         * include/rpc/svc.h: ... here.
66081 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66083         [BZ #13013]
66084         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66085         depending n and resplen2 to catch cases where answer
66086         equals answerp2.
66088 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66090         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66091         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66093 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66095         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66097 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66099         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66101 2012-11-28  Jeff Law  <law@redhat.com>
66103         [BZ #13761]
66104         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66105         dataset_temporary.  Track alloca usage into alloca_used.
66106         If dataset is large allocate and release it via malloc/free.
66108 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66110         [BZ #14197]
66111         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66113 2012-11-28  David S. Miller  <davem@davemloft.net>
66115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66117 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66119         [BZ #14803]
66120         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66121         of pi/2 rounded to nearest to 64 bits.
66122         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66123         nearest to 64 bits.
66124         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66125         bits.
66127 2012-11-28  Jeff Law <law@redhat.com>
66128             Martin Osvald <mosvald@redhat.com>
66130         [BZ #14889]
66131         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66132         * sunrpc/svc.c: Include time.h.
66133         (__svc_accept_failed): New function.
66134         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66135         any reason other than EINTR, call __svc_accept_failed.
66136         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66137         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66139 2012-11-28  Andreas Schwab  <schwab@suse.de>
66141         * scripts/abilist.awk: Also handle indirect functions in .opd
66142         section.
66144 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66146         [BZ #13881]
66147         * sysdeps/x86/fpu/powl_helper.c: New file.
66148         * sysdeps/x86/fpu/Makefile: Likewise.
66149         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66150         (p3): New object.
66151         (__ieee754_powl): Use __powl_helper for finite arguments except
66152         integer exponents below 8.
66153         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66154         (p3): New object.
66155         (__ieee754_powl): Use __powl_helper for finite arguments except
66156         integer exponents below 8.
66157         * math/libm-test.inc (pow_test): Add more tests and enable some
66158         previously disabled tests.
66159         * sysdeps/i386/fpu/libm-test-ulps: Update.
66160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66162 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66163             Carlos O'Donell  <carlos_odonell@mentor.com>
66165         * nss/makedb.c (is_prime): Assert that input is odd and greater
66166         than 4.  Note that fact in a comment too.
66167         (next_prime): Add 4 to input.
66169 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66171         [BZ #11741]
66172         * libio/Makefile (tests): Add test case tst-fwrite-error.
66173         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66174         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66175         * libio/tst-fwrite-error.c: New test case.
66177 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66179         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66180         before casting to void *.
66181         * include/libc-internal.h (__pointer_type): New macro.
66182         (__integer_if_pointer_type_sub): Likewise.
66183         (__integer_if_pointer_type): Likewise.
66184         (cast_to_integer): Likewise.
66185         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66186         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66187         before casting to atomic64_t.
66188         (atomic_exchange_acq): Likewise.
66189         (__arch_exchange_and_add_body): Likewise.
66190         (__arch_add_body): Likewise.
66191         (atomic_add_negative): Likewise.
66192         (atomic_add_zero): Likewise.
66194 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66196         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66197         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66198         (add_fdes): Likewise.
66199         (linear_search_fdes): Likewise.
66200         (binary_search_unencoded_fdes): Likewise.
66202 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66204         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66206 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66208         * configure.in: Autodetect C++ header directories.
66209         * configure: Regenerated.
66211 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66213         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66215 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66217         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66219 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66221         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66222         LDBL_MANT_DIG == 106]: Disable some tests.
66223         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66224         Likewise.
66225         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66226         Likewise.
66228         [BZ #14871]
66229         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66230         input for small inputs.  Return +/- pi/2 for large inputs.
66231         * math/libm-test.inc (atan_test): Add more tests.
66233         * sysdeps/generic/unwind-dw2-fde-glibc.c
66234         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66235         __attribute__ ((unused)).
66237         [BZ #14645]
66238         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66239         x * y if x and y are nonzero and z is zero.
66241         [BZ #14811]
66242         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66243         nonzero exponents with absolute value below 0x1p-117 to +/-
66244         0x1p-117.
66246         [BZ #14869]
66247         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66248         up arguments below 2**-450, not just those below 2**-500.
66249         * math/libm-test.inc (hypot_test): Add another test.
66251         [BZ #14868]
66252         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66253         Return a+b for ratio over 2**120, not 2**60.
66254         * math/libm-test.inc (hypot_test): Add another test.
66256         * math/libm-test.inc (clog_test): Use
66257         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66258         (clog10_test): Likewise.
66260         [BZ #6778]
66261         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66263 2012-11-22  Andreas Schwab  <schwab@suse.de>
66265         * sysdeps/i386/fpu/libm-test-ulps: Update.
66267 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66269         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66270         printf output with newline.
66272 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66274         [BZ #14865]
66275         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66276         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66277         -z nodlopen, -z initfirst and -z execstack support.
66278         * configure: Regenerated.
66280         * elf/elf.h (DF_1_NODIRECT): New macro.
66281         (DF_1_IGNMULDEF): Likewise.
66282         (DF_1_NOKSYMS): Likewise.
66283         (DF_1_NOHDR): Likewise.
66284         (DF_1_EDITED): Likewise.
66285         (DF_1_NORELOC): Likewise.
66286         (DF_1_SYMINTPOSE): Likewise.
66287         (DF_1_GLOBAUDIT): Likewise.
66288         (DF_1_SINGLETON): Likewise.
66289         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66290         DT_1_SUPPORTED_MASK bits.
66291         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66293 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
66295         * sysdeps/unix/make-syscalls.sh: Document prefixes.
66297 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
66299         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66300         macro.
66302         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66303         (sendmmsg): Move declarations...
66304         * socket/sys/socket.h: ... here.
66305         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66306         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66307         include it from...
66308         * socket/recvmmsg.c: ... this new file.
66309         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66310         (sendmmsg): Rename to __sendmmsg, create weak alias and make
66311         definition of __sendmmsg hidden.
66312         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66313         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66314         Move ENOSYS stub into and include it from...
66315         * socket/sendmmsg.c: ... this new file.
66316         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66317         (sysdep_routines): Move recvmmsg and sendmmsg...
66318         * socket/Makefile (routines): ... here.
66319         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66320         (GLIBC_PRIVATE): Add __sendmmsg.
66321         * include/sys/socket.h (__sendmmsg): Add declarations.
66322         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66323         sendmmsg.
66325 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
66327         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66328         variable I1 with __attribute__ ((unused)).
66329         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66331 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66333         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66334         DUMMY variables with __attribute__ ((unused)).
66336         * bits/byteswap.h: Include <bits/types.h>.
66337         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66339 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66341         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66342         string_t.  Do not manually set errno.
66343         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66344         length with __strnlen.  Make sure to both set errno and return it on
66345         failure.
66347 2012-11-19  David S. Miller  <davem@davemloft.net>
66349         With help from Joseph Myers.
66350         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66351         very large arguments properly.
66352         * math/libm-test.inc (atan_test): New tests.
66353         (atan2_test): New tests.
66354         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66357 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66359         [BZ #14856]
66360         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66361         Define to 3.
66363         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66364         [POSIX] (EADDRNOTAVAIL): Likewise.
66365         [POSIX] (EAFNOSUPPORT): Likewise.
66366         [POSIX] (EALREADY): Likewise.
66367         [POSIX] (ECONNABORTED): Likewise.
66368         [POSIX] (ECONNREFUSED): Likewise.
66369         [POSIX] (ECONNRESET): Likewise.
66370         [POSIX] (EDESTADDRREQ): Likewise.
66371         [POSIX] (EDQUOT): Likewise.
66372         [POSIX] (EHOSTUNREACH): Likewise.
66373         [POSIX] (EIDRM): Likewise.
66374         [POSIX] (EISCONN): Likewise.
66375         [POSIX] (ELOOP): Likewise.
66376         [POSIX] (EMULTIHOP): Likewise.
66377         [POSIX] (ENETDOWN): Likewise.
66378         [POSIX] (ENETUNREACH): Likewise.
66379         [POSIX] (ENOBUFS): Likewise.
66380         [POSIX] (ENODATA): Likewise.
66381         [POSIX] (ENOLINK): Likewise.
66382         [POSIX] (ENOMSG): Likewise.
66383         [POSIX] (ENOPROTOOPT): Likewise.
66384         [POSIX] (ENOSR): Likewise.
66385         [POSIX] (ENOSTR): Likewise.
66386         [POSIX] (ENOTCONN): Likewise.
66387         [POSIX] (ENOTSOCK): Likewise.
66388         [POSIX] (EOPNOTSUPP): Likewise.
66389         [POSIX] (EOVERFLOW): Likewise.
66390         [POSIX] (EPROTO): Likewise.
66391         [POSIX] (EPROTONOSUPPORT): Likewise.
66392         [POSIX] (EPROTOTYPE): Likewise.
66393         [POSIX] (ESTALE): Likewise.
66394         [POSIX] (ETIME): Likewise.
66395         [POSIX] (ETXTBSY): Likewise.
66396         [POSIX] (EWOULDBLOCK): Likewise.
66397         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66398         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66399         [POSIX] (SEEK_CUR): Likewise.
66400         [POSIX] (SEEK_END): Likewise.
66401         [POSIX || UNIX98] (mode_t): Do not require.
66402         [POSIX] (off_t): Likewise.
66403         [POSIX] (pid_t): Likewise.
66404         [POSIX] (sys/stat.h): Do not allow header.
66405         [POSIX] (unistd.h): Likewise.
66406         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66407         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66408         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66409         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66410         require.
66411         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66412         sigevent): Specify elements.
66413         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66414         entry.
66415         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66416         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66418         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66419         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66420         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66421         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66422         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66423         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66424         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66425         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66426         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66427         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66428         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66429         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66430         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66431         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66432         Likewise.
66433         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66434         Likewise.
66435         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66436         Likewise.
66437         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66438         Likewise.
66439         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66440         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66441         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66442         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66443         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66444         Specify lower bound on value.
66445         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66446         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66447         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66448         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66449         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66450         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66451         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66452         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66453         value.
66454         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66455         as optional.
66456         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66457         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66458         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66459         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66460         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66461         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66462         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66463         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66464         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66465         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66466         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66467         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66468         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66469         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66470         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66471         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66472         entry.
66473         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66474         optional.
66475         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66476         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66477         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66478         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66479         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66480         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66481         Likewise.
66482         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66483         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66484         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66485         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66486         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
66487         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66488         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66489         as optional.
66490         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66491         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66492         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66493         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66494         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66495         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66496         specify as optional.
66497         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66498         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66499         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66500         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66501         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66502         [XPG3] (NL_LANGMAX): Likewise.
66503         [POSIX || XPG3] (NL_MSGMAX): Likewise.
66504         [POSIX || XPG3] (NL_NMAX): Likewise.
66505         [POSIX || XPG3] (NL_SETMAX): Likewise.
66506         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66507         [XPG3] (NZERO): Likewise.
66508         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66509         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66510         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66511         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66512         (REG_ERANGE): Expect.
66513         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66514         optional-constant.
66515         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66516         Use (void) in prototype.
66517         [POSIX] (*_t): Allow.
66518         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66519         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66520         (WRDE_BADVAL): Expect.
66522         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66523         expect.
66524         [XPG3 || XPG4] (O_RSYNC): Likewise.
66525         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66526         Likewise.
66527         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66528         [XPG3 || XPG4] (sigqueue): Likewise.
66529         [XPG3 || XPG4] (sigtimedwait): Likewise.
66530         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66531         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66532         [XPG3 || XPG4] (vsnprintf): Likewise.
66533         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66534         Likewise.
66535         [XPG3 || XPG4] (blksize_t): Likewise.
66536         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66537         Likewise.
66538         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66539         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66540         [XPG3 || XPG4] (struct itimerspec): Likewise.
66541         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66542         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66543         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66544         [XPG3 || XPG4] (clockid_t): Likewise.
66545         [XPG3 || XPG4] (timer_t): Likewise.
66546         [XPG3 || XPG4] (clock_getres): Likewise.
66547         [XPG3 || XPG4] (clock_gettime): Likewise.
66548         [XPG3 || XPG4] (clock_settime): Likewise.
66549         [XPG3 || XPG4] (nanosleep): Likewise.
66550         [XPG3 || XPG4] (timer_create): Likewise.
66551         [XPG3 || XPG4] (timer_delete): Likewise.
66552         [XPG3 || XPG4] (timer_gettime): Likewise.
66553         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66554         [XPG3 || XPG4] (timer_settime): Likewise.
66555         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66556         [XPG3 || XPG4] (getlogin_r): Likewise.
66557         [XPG3 || XPG4] (pread): Likewise.
66558         [XPG3 || XPG4] (pthread_atfork): Likewise.
66559         [XPG3 || XPG4] (pwrite): Likewise.
66561         [BZ #14835]
66562         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66563         <bits/siginfo.h>.
66565 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66567         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66568         finalizing MALLSTREAM.
66570         * sysdeps/mach/hurd/syncfs.c: New file.
66572 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66574         [BZ #14719]
66575         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66576         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66577         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66578         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66579         (_nss_dns_gethostbyname4_r): Likewise.
66580         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66581         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66583 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66585         [BZ #13763]
66586         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66588 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66590         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66591         * elf/cache.c (print_entry): Print ",AArch64" for
66592         FLAG_AARCH64_LIB64
66594         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66595         * elf/cache.c (print_entry): Print ",hard-float" for
66596         FLAG_ARM_LIBHF.
66598 2012-11-18  David S. Miller  <davem@davemloft.net>
66600         With help from Joseph Myers.
66601         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66602         cutoff to 2**-13.
66603         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66604         cutoff to 2**-25.
66605         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66606         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66607         small.
66608         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66609         * math/libm-test.inc (y0_test): New tests.
66610         (y1_test): New tests.
66611         * sysdeps/i386/fpu/libm-test-ulps: Update.
66612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66613         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66615 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66617         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66618         64-bit targets.
66619         * configure: Regenerated.
66621 2012-11-17  David S. Miller  <davem@davemloft.net>
66623         [BZ #14811]
66624         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66625         nonzero exponents with absolute value below 0x1p-128 to +/-
66626         0x1p-128.
66628 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66630         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66632         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66634         * posix/getconf-speclist.c: New file.
66635         * posix/posix-envs.def: Likewise.
66636         * posix/confstr.c (START_ENV_GROUP): New macro.
66637         (END_ENV_GROUP): Likewise.
66638         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66639         (KNOWN_PRESENT_ENV_STRING): Likewise.
66640         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66641         (UNKNOWN_ENVIRONMENT): Likewise.
66642         (confstr): Include posix-envs.def instead of handling
66643         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66644         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66645         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66646         (END_ENV_GROUP): Likewise.
66647         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66648         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66649         (UNKNOWN_ENVIRONMENT): Likewise.
66650         (__sysconf): Include posix-envs.def instead of handling associated
66651         cases directly here.
66652         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66653         preprocessing getconf-speclist.c rather than running getconf or
66654         generating empty file.
66656 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66658         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66660 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66662         [BZ #14672]
66663         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66665 2012-11-16  David S. Miller  <davem@davemloft.net>
66667         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66668         smaller than LDBL_EPSILON/2.0L, just return xm1.
66670 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66672         * elf/tst-array1.c (init): Set constructor priority to 1000.
66673         (fini): Set destructor priority to 1000.
66674         * elf/tst-array2dep.c: Likewise.
66676 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66678         [BZ #11741]
66679         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66680         (_IO_new_file_xsputn): Also return EOF if none of the input
66681         data was written when overflow failed.
66682         * libio/iopadn.c (_IO_padn): Likewise.
66683         * libio/iowpadn.c (_IO_wpadn): Likewise.
66684         * stdio-common/tst-put-error.c: Add copyright notice.
66685         (do_test): Add case for printing padded string.
66686         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66687         _IO_padn returned error.
66688         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66689         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66690         return EOF.
66692 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66694         * libio/libioP.h: Add comment note that the references to C++
66695         bits are now obsolete.
66697 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66699         * math/libm-test.inc (check_complex): Use asprintf.
66701 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66703         * debug/pcprofiledump.c (print_version): Update copyright year.
66704         * malloc/memusagestat.c (print_version): Likewise.
66706 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66708         [BZ #14831]
66709         * elf/Makefile (tests): Add tst-audit8.
66710         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66711         ($(objpfx)tst-audit8.out): New target.
66712         (tst-audit8-ENV): New variable.
66713         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66714         audit if l_reloc_result is NULL.
66715         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66716         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66717         * elf/tst-audit8.c: New file.
66719 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66721         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66722         * misc/Makefile (CFLAGS-select.c): Define.
66723         * posix/Makefile (CFLAGS-pause.c): Define.
66725 2012-11-13  David S. Miller  <davem@davemloft.net>
66727         * crypt/Makefile: Move test targets after toplevel Rules
66728         inclusion.  Grab any necessary sysdep routines when linking.
66729         * crypt/md5.c (md5_process_block): Remove define, we will always
66730         name it __md5_process_block.
66731         (md5_finish_ctx): Update md5_process_block call.
66732         (md5_stream): Likewise.
66733         (md5_process_bytes): Likewise.
66734         (md5_process_block): Rename to __md5_process_block and move to ...
66735         * crypt/md5-block.c: ... here.
66736         * crypt/sha256.c (sha256_process_block): Move to ...
66737         * crypt/sha256-block.c: ... here.
66738         * crypt/sha512.c (sha512_process_block): Move to ...
66739         * crypt/sha512-block.c: ... here.
66740         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66741         path.
66742         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66743         * sysdeps/sparc/sparc64/multiarch/Makefile
66744         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66745         crypt subdir.
66746         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66747         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66748         multiarch changes.
66749         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66750         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66751         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66752         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66753         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66754         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66755         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66756         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66757         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66758         file.
66759         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66760         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66761         file.
66762         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66764 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66766         * timezone/tzselect.ksh: Update from tzcode git revision
66767         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66768         * timezone/zdump.c: Likewise.
66769         * timezone/zic.c: Likewise.
66770         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66771         in TZVERSION setting, not $(PKGVERSION).
66772         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66773         REPORT_BUGS_TO settings.
66775         [BZ #14838]
66776         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66777         macro.
66779 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66781         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66782         detection to immediately after _FP_ROUND().
66783         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66784         bits are 0.
66786 2012-11-11  David S. Miller  <davem@davemloft.net>
66788         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66789         inttypes.h
66790         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66791         __close rather than their public counterparts.
66793 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66795         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66796         file.
66797         [UNIX98] (sem_timedwait): Do not expect.
66798         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66799         [XPG4 || UNIX98] (sockatmark): Do not expect.
66800         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66801         (clock_getcpuclockid): Do not expect.
66802         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66803         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66804         Do not expect.
66805         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66806         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66807         [UNIX98] (vwscanf): Likewise.
66808         [UNIX98] (vswscanf): Likewise.
66810 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66812         * timezone/version.h: Remove file.
66813         * timezone/README: Do not refer to version.h.
66814         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66815         $(objpfx)version.h.
66816         ($(objpfx)zdump.o): Likewise.
66817         ($(objpfx)version.h): New target.
66819         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66820         2012i.
66821         * timezone/README: Don't mention modification to tzselect.ksh.
66822         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66823         work on unmodified tzselect.ksh.  Substitute version numbers in
66824         tzselect.ksh.
66826         * Makefile (format-me): Remove.
66827         (INSTALL): Adjust indentation.  Use commands directly instead of
66828         using $(format-me).
66830         * aclocal.m4 (ACX_PKGVERSION): New macro.
66831         (ACX_BUGURL): Likewise.
66832         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66833         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66834         (REPORT_BUGS_TO): Likewise.
66835         * configure: Regenerated.
66836         * config.h.in (PKGVERSION): New macro.
66837         (REPORT_BUGS_TO): Likewise.
66838         * config.make.in (PKGVERSION): New variable.
66839         (PKGVERSION_TEXI): Likewise.
66840         (REPORT_BUGS_TO): Likewise.
66841         (REPORT_BUGS_TEXI): Likewise.
66842         * Makefile (format-me): Use -I$(common-objpfx)manual.
66843         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66844         ($(common-objpfx)manual/%): New target.
66845         (manual/%): Remove target.
66846         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66847         (print_version): Use PKGVERSION.
66848         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66849         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66850         and REPORT_BUGS_TO.
66851         ($(objpfx)xtrace): Likewise.
66852         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66853         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66854         (print_version): Use PKGVERSION.
66855         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66856         (do_version): Use PKGVERSION.
66857         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66858         REPORT_BUGS_TO.
66859         (common-ldd-rewrite): Likewise.
66860         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66861         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66862         (print_version): Use PKGVERSION.
66863         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66864         * elf/pldd.c (argp_program_bug_address): Remove variable.
66865         (more_help): New function.
66866         (argp): Use more_help.
66867         (print_version): Use PKGVERSION.
66868         * elf/sln.c (main): Use PKGVERSION.
66869         (usage): Use REPORT_BUGS_TO.
66870         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66871         (top level): Use PKGVERSION.
66872         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66873         (print_version): Use PKGVERSION.
66874         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66875         (print_version): Use PKGVERSION.
66876         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66877         (print_version): Use PKGVERSION.
66878         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66879         (print_version): Use PKGVERSION.
66880         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66881         (print_version): Use PKGVERSION.
66882         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66883         (print_version): Use PKGVERSION.
66884         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66885         and BUGURL.
66886         ($(objpfx)memusage): Likewise.
66887         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66888         (do_version): Use PKGVERSION.
66889         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66890         (print_version): Use PKGVERSION.
66891         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66892         ($PKGVERSION): New variable.
66893         ($REPORT_BUGS_TO): Likewise.
66894         (usage): Use $REPORT_BUGS_TO.
66895         (top level): Use $PKGVERSION.
66896         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66897         ($(objpfx)pkgvers.texi): New rule.
66898         ($(objpfx)stamp-pkgvers): Likewise.
66899         * manual/install.texi: Include pkgvers.texi.
66900         (--with-pkgversion): Document new configure option.
66901         (--with-bugurl): Likewise.
66902         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66903         than necessarily for this particular distribution.  Use
66904         REPORT_BUGS_TO for where to report bugs.
66905         * INSTALL: Regenerated.
66906         * manual/libc.texinfo: Include pkgvers.texi.
66907         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66908         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66909         (print_version): Use PKGVERSION.
66910         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66911         (print_version): Use PKGVERSION.
66912         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66913         (print_version): Use PKGVERSION.
66914         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66915         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66916         macro.
66917         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66918         (print_version): Use PKGVERSION.
66919         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66920         (print_version): Use PKGVERSION.
66921         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66922         and PKGVERSION.
66924         * timezone/checktab.awk: Update from tzcode 2012i.
66925         * timezone/ialloc.c: Likewise.
66926         * timezone/private.h: Likewise.
66927         * timezone/scheck.c: Likewise.
66928         * timezone/tzfile.h: Likewise.
66929         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66930         (TZVERSION): Hardcode tzcode version number.
66931         * timezone/zdump.c: Update from tzcode 2012i.
66932         * timezone/zic.c: Likewise.
66933         * timezone/version.h: New file.
66934         * timezone/README: Describe version.h.  Update upstream location.
66936         [BZ #14824]
66937         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66938         (mktemp): Enable declaration.
66939         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66940         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66941         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66942         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66943         Likewise.
66944         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66945         Likewise.
66946         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66947         Likewise.
66948         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66949         Likewise.
66950         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66951         Likewise.
66952         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66953         Likewise.
66955         [BZ #14821]
66956         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66957         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66958         for copies of such integer values.
66959         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66960         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66962 2012-11-09  Andreas Jaeger  <aj@suse.de>
66964         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66965         definitions and declarations that are provided by
66966         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66968 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66970         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66971         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66972         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66973         definition.
66975 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66977         * elf/elf.h: Update comment before AArch64 relocations.
66979 2012-11-07  David S. Miller  <davem@davemloft.net>
66981         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66982         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66983         (__start_context): Declare.
66984         (__makecontext_ret): Delete.
66985         (__makecontext): Hook up __start_context instead of
66986         __makecontext_ret.
66987         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66988         (sysdep_routines): Add __start_context when in stdlib.
66990 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66992         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66993         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66994         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66995         hardcoded "nm".
66996         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66997         (READELF): New variable.  Use it instead of hardcoded "readelf".
66999 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
67001         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
67002         * sysdeps/x86/Makefile: Here.
67003         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
67004         * sysdeps/x86/tst-xmmymm.sh: This.
67006 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67008         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
67009         expectations.
67010         [UNIX98] (pthread_barrier_t): Do not expect.
67011         [UNIX98] (pthread_barrierattr_t): Likewise.
67012         [UNIX98] (pthread_spinlock_t): Likewise.
67013         [UNIX98] (pthread_barrier_destroy): Likewise.
67014         [UNIX98] (pthread_barrier_init): Likewise.
67015         [UNIX98] (pthread_barrier_wait): Likewise.
67016         [UNIX98] (pthread_barrierattr_destroy): Likewise.
67017         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
67018         [UNIX98] (pthread_barrierattr_init): Likewise.
67019         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
67020         [UNIX98] (pthread_getcpuclockid): Likewise.
67021         [UNIX98] (pthread_mutex_timedlock): Likewise.
67022         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
67023         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
67024         [UNIX98] (pthread_sigmask): Likewise.
67025         [UNIX98] (pthread_spin_destroy): Likewise.
67026         [UNIX98] (pthread_spin_init): Likewise.
67027         [UNIX98] (pthread_spin_lock): Likewise.
67028         [UNIX98] (pthread_spin_trylock): Likewise.
67029         [UNIX98] (pthread_spin_unlock): Likewise.
67030         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
67031         Do not expect.
67032         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
67033         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
67034         [XPG3 || XPG4] (pthread_cond_t): Likewise.
67035         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
67036         [XPG3 || XPG4] (pthread_key_t): Likewise.
67037         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
67038         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
67039         [XPG3 || XPG4] (pthread_once_t): Likewise.
67040         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
67041         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
67042         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
67043         [XPG3 || XPG4] (pthread_t): Likewise.
67045         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
67046         not expect.
67047         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
67049         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
67050         Change function return type to int.
67052         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
67053         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67054         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67055         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67056         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67057         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67058         [!POSIX] (posix_madvise): Likewise.
67059         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67060         && !UNIX98].
67061         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67062         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67063         (mode_t): Likewise.
67064         (posix_mem_offset): Likewise.
67065         (posix_typed_mem_get_info): Likewise.
67066         (posix_typed_mem_open): Likewise.
67068         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67069         Change condition to [XOPEN2K8].
67071         * conform/conformtest.pl: Preprocess allow-header data with -x c
67072         instead of from stdin.
67073         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67074         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67075         [C99-based standards] (cerfc): Likewise.
67076         [C99-based standards] (cexp2): Likewise.
67077         [C99-based standards] (cexpm1): Likewise.
67078         [C99-based standards] (clog10): Likewise.
67079         [C99-based standards] (clog1p): Likewise.
67080         [C99-based standards] (clog2): Likewise.
67081         [C99-based standards] (clgamma): Likewise.
67082         [C99-based standards] (ctgamma): Likewise.
67083         [C99-based standards] (cerff): Likewise.
67084         [C99-based standards] (cerfcf): Likewise.
67085         [C99-based standards] (cexp2f): Likewise.
67086         [C99-based standards] (cexpm1f): Likewise.
67087         [C99-based standards] (clog10f): Likewise.
67088         [C99-based standards] (clog1pf): Likewise.
67089         [C99-based standards] (clog2f): Likewise.
67090         [C99-based standards] (clgammaf): Likewise.
67091         [C99-based standards] (ctgammaf): Likewise.
67092         [C99-based standards] (cerfl): Likewise.
67093         [C99-based standards] (cerfcl): Likewise.
67094         [C99-based standards] (cexp2l): Likewise.
67095         [C99-based standards] (cexpm1l): Likewise.
67096         [C99-based standards] (clog10l): Likewise.
67097         [C99-based standards] (clog1pl): Likewise.
67098         [C99-based standards] (clog2l): Likewise.
67099         [C99-based standards] (clgammal): Likewise.
67100         [C99-based standards] (ctgammal): Likewise.
67101         * conform/data/inttypes.h-data [C99-based standards]: Include
67102         stdint.h-data.  Remove all expectations for stdint.h contents.
67103         [C99-based standards] (PRI*): Do not allow.
67104         [C99-based standards] (SCN*): Likewise.
67105         [C99-based standards] (*_t): Likewise.
67106         [C99-based-standards] (PRId8): Expect macro.
67107         [C99-based-standards] (PRIi8): Likewise.
67108         [C99-based-standards] (PRIo8): Likewise.
67109         [C99-based-standards] (PRIu8): Likewise.
67110         [C99-based-standards] (PRIx8): Likewise.
67111         [C99-based-standards] (PRIX8): Likewise.
67112         [C99-based-standards] (SCNd8): Likewise.
67113         [C99-based-standards] (SCNi8): Likewise.
67114         [C99-based-standards] (SCNo8): Likewise.
67115         [C99-based-standards] (SCNu8): Likewise.
67116         [C99-based-standards] (SCNx8): Likewise.
67117         [C99-based-standards] (PRIdLEAST8): Likewise.
67118         [C99-based-standards] (PRIiLEAST8): Likewise.
67119         [C99-based-standards] (PRIoLEAST8): Likewise.
67120         [C99-based-standards] (PRIuLEAST8): Likewise.
67121         [C99-based-standards] (PRIxLEAST8): Likewise.
67122         [C99-based-standards] (PRIXLEAST8): Likewise.
67123         [C99-based-standards] (SCNdLEAST8): Likewise.
67124         [C99-based-standards] (SCNiLEAST8): Likewise.
67125         [C99-based-standards] (SCNoLEAST8): Likewise.
67126         [C99-based-standards] (SCNuLEAST8): Likewise.
67127         [C99-based-standards] (SCNxLEAST8): Likewise.
67128         [C99-based-standards] (PRIdFAST8): Likewise.
67129         [C99-based-standards] (PRIiFAST8): Likewise.
67130         [C99-based-standards] (PRIoFAST8): Likewise.
67131         [C99-based-standards] (PRIuFAST8): Likewise.
67132         [C99-based-standards] (PRIxFAST8): Likewise.
67133         [C99-based-standards] (PRIXFAST8): Likewise.
67134         [C99-based-standards] (SCNdFAST8): Likewise.
67135         [C99-based-standards] (SCNiFAST8): Likewise.
67136         [C99-based-standards] (SCNoFAST8): Likewise.
67137         [C99-based-standards] (SCNuFAST8): Likewise.
67138         [C99-based-standards] (SCNxFAST8): Likewise.
67139         [C99-based-standards] (PRId16): Likewise.
67140         [C99-based-standards] (PRIi16): Likewise.
67141         [C99-based-standards] (PRIo16): Likewise.
67142         [C99-based-standards] (PRIu16): Likewise.
67143         [C99-based-standards] (PRIx16): Likewise.
67144         [C99-based-standards] (PRIX16): Likewise.
67145         [C99-based-standards] (SCNd16): Likewise.
67146         [C99-based-standards] (SCNi16): Likewise.
67147         [C99-based-standards] (SCNo16): Likewise.
67148         [C99-based-standards] (SCNu16): Likewise.
67149         [C99-based-standards] (SCNx16): Likewise.
67150         [C99-based-standards] (PRIdLEAST16): Likewise.
67151         [C99-based-standards] (PRIiLEAST16): Likewise.
67152         [C99-based-standards] (PRIoLEAST16): Likewise.
67153         [C99-based-standards] (PRIuLEAST16): Likewise.
67154         [C99-based-standards] (PRIxLEAST16): Likewise.
67155         [C99-based-standards] (PRIXLEAST16): Likewise.
67156         [C99-based-standards] (SCNdLEAST16): Likewise.
67157         [C99-based-standards] (SCNiLEAST16): Likewise.
67158         [C99-based-standards] (SCNoLEAST16): Likewise.
67159         [C99-based-standards] (SCNuLEAST16): Likewise.
67160         [C99-based-standards] (SCNxLEAST16): Likewise.
67161         [C99-based-standards] (PRIdFAST16): Likewise.
67162         [C99-based-standards] (PRIiFAST16): Likewise.
67163         [C99-based-standards] (PRIoFAST16): Likewise.
67164         [C99-based-standards] (PRIuFAST16): Likewise.
67165         [C99-based-standards] (PRIxFAST16): Likewise.
67166         [C99-based-standards] (PRIXFAST16): Likewise.
67167         [C99-based-standards] (SCNdFAST16): Likewise.
67168         [C99-based-standards] (SCNiFAST16): Likewise.
67169         [C99-based-standards] (SCNoFAST16): Likewise.
67170         [C99-based-standards] (SCNuFAST16): Likewise.
67171         [C99-based-standards] (SCNxFAST16): Likewise.
67172         [C99-based-standards] (PRId32): Likewise.
67173         [C99-based-standards] (PRIi32): Likewise.
67174         [C99-based-standards] (PRIo32): Likewise.
67175         [C99-based-standards] (PRIu32): Likewise.
67176         [C99-based-standards] (PRIx32): Likewise.
67177         [C99-based-standards] (PRIX32): Likewise.
67178         [C99-based-standards] (SCNd32): Likewise.
67179         [C99-based-standards] (SCNi32): Likewise.
67180         [C99-based-standards] (SCNo32): Likewise.
67181         [C99-based-standards] (SCNu32): Likewise.
67182         [C99-based-standards] (SCNx32): Likewise.
67183         [C99-based-standards] (PRIdLEAST32): Likewise.
67184         [C99-based-standards] (PRIiLEAST32): Likewise.
67185         [C99-based-standards] (PRIoLEAST32): Likewise.
67186         [C99-based-standards] (PRIuLEAST32): Likewise.
67187         [C99-based-standards] (PRIxLEAST32): Likewise.
67188         [C99-based-standards] (PRIXLEAST32): Likewise.
67189         [C99-based-standards] (SCNdLEAST32): Likewise.
67190         [C99-based-standards] (SCNiLEAST32): Likewise.
67191         [C99-based-standards] (SCNoLEAST32): Likewise.
67192         [C99-based-standards] (SCNuLEAST32): Likewise.
67193         [C99-based-standards] (SCNxLEAST32): Likewise.
67194         [C99-based-standards] (PRIdFAST32): Likewise.
67195         [C99-based-standards] (PRIiFAST32): Likewise.
67196         [C99-based-standards] (PRIoFAST32): Likewise.
67197         [C99-based-standards] (PRIuFAST32): Likewise.
67198         [C99-based-standards] (PRIxFAST32): Likewise.
67199         [C99-based-standards] (PRIXFAST32): Likewise.
67200         [C99-based-standards] (SCNdFAST32): Likewise.
67201         [C99-based-standards] (SCNiFAST32): Likewise.
67202         [C99-based-standards] (SCNoFAST32): Likewise.
67203         [C99-based-standards] (SCNuFAST32): Likewise.
67204         [C99-based-standards] (SCNxFAST32): Likewise.
67205         [C99-based-standards] (PRId64): Likewise.
67206         [C99-based-standards] (PRIi64): Likewise.
67207         [C99-based-standards] (PRIo64): Likewise.
67208         [C99-based-standards] (PRIu64): Likewise.
67209         [C99-based-standards] (PRIx64): Likewise.
67210         [C99-based-standards] (PRIX64): Likewise.
67211         [C99-based-standards] (SCNd64): Likewise.
67212         [C99-based-standards] (SCNi64): Likewise.
67213         [C99-based-standards] (SCNo64): Likewise.
67214         [C99-based-standards] (SCNu64): Likewise.
67215         [C99-based-standards] (SCNx64): Likewise.
67216         [C99-based-standards] (PRIdLEAST64): Likewise.
67217         [C99-based-standards] (PRIiLEAST64): Likewise.
67218         [C99-based-standards] (PRIoLEAST64): Likewise.
67219         [C99-based-standards] (PRIuLEAST64): Likewise.
67220         [C99-based-standards] (PRIxLEAST64): Likewise.
67221         [C99-based-standards] (PRIXLEAST64): Likewise.
67222         [C99-based-standards] (SCNdLEAST64): Likewise.
67223         [C99-based-standards] (SCNiLEAST64): Likewise.
67224         [C99-based-standards] (SCNoLEAST64): Likewise.
67225         [C99-based-standards] (SCNuLEAST64): Likewise.
67226         [C99-based-standards] (SCNxLEAST64): Likewise.
67227         [C99-based-standards] (PRIdFAST64): Likewise.
67228         [C99-based-standards] (PRIiFAST64): Likewise.
67229         [C99-based-standards] (PRIoFAST64): Likewise.
67230         [C99-based-standards] (PRIuFAST64): Likewise.
67231         [C99-based-standards] (PRIxFAST64): Likewise.
67232         [C99-based-standards] (PRIXFAST64): Likewise.
67233         [C99-based-standards] (SCNdFAST64): Likewise.
67234         [C99-based-standards] (SCNiFAST64): Likewise.
67235         [C99-based-standards] (SCNoFAST64): Likewise.
67236         [C99-based-standards] (SCNuFAST64): Likewise.
67237         [C99-based-standards] (SCNxFAST64): Likewise.
67238         [C99-based-standards] (PRIdMAX): Likewise.
67239         [C99-based-standards] (PRIiMAX): Likewise.
67240         [C99-based-standards] (PRIoMAX): Likewise.
67241         [C99-based-standards] (PRIuMAX): Likewise.
67242         [C99-based-standards] (PRIxMAX): Likewise.
67243         [C99-based-standards] (PRIXMAX): Likewise.
67244         [C99-based-standards] (SCNdMAX): Likewise.
67245         [C99-based-standards] (SCNiMAX): Likewise.
67246         [C99-based-standards] (SCNoMAX): Likewise.
67247         [C99-based-standards] (SCNuMAX): Likewise.
67248         [C99-based-standards] (SCNxMAX): Likewise.
67249         [C99-based-standards] (PRIdPTR): Likewise.
67250         [C99-based-standards] (PRIiPTR): Likewise.
67251         [C99-based-standards] (PRIoPTR): Likewise.
67252         [C99-based-standards] (PRIuPTR): Likewise.
67253         [C99-based-standards] (PRIxPTR): Likewise.
67254         [C99-based-standards] (PRIXPTR): Likewise.
67255         [C99-based-standards] (SCNdPTR): Likewise.
67256         [C99-based-standards] (SCNiPTR): Likewise.
67257         [C99-based-standards] (SCNoPTR): Likewise.
67258         [C99-based-standards] (SCNuPTR): Likewise.
67259         [C99-based-standards] (SCNxPTR): Likewise.
67260         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67261         allow.
67262         * conform/data/stdint.h-data: Update comments to clarify
67263         requirements.
67264         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67265         type.
67266         [C99-based standards] (INT8_MAX): Likewise.
67267         [C99-based standards] (INT16_MIN): Likewise.
67268         [C99-based standards] (INT16_MAX): Likewise.
67269         [C99-based standards] (INT32_MIN): Likewise.
67270         [C99-based standards] (INT32_MAX): Likewise.
67271         [C99-based standards] (INT64_MIN): Likewise.
67272         [C99-based standards] (INT64_MAX): Likewise.
67273         [C99-based standards] (UINT8_MAX): Likewise.
67274         [C99-based standards] (UINT16_MAX): Likewise.
67275         [C99-based standards] (UINT32_MAX): Likewise.
67276         [C99-based standards] (UINT64_MAX): Likewise.
67277         [C99-based standards] (INT_LEAST8_MIN): Likewise.
67278         [C99-based standards] (INT_LEAST8_MAX): Likewise.
67279         [C99-based standards] (INT_LEAST16_MIN): Likewise.
67280         [C99-based standards] (INT_LEAST16_MAX): Likewise.
67281         [C99-based standards] (INT_LEAST32_MIN): Likewise.
67282         [C99-based standards] (INT_LEAST32_MAX): Likewise.
67283         [C99-based standards] (INT_LEAST64_MIN): Likewise.
67284         [C99-based standards] (INT_LEAST64_MAX): Likewise.
67285         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67286         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67287         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67288         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67289         [C99-based standards] (INT_FAST8_MIN): Likewise.
67290         [C99-based standards] (INT_FAST8_MAX): Likewise.
67291         [C99-based standards] (INT_FAST16_MIN): Likewise.
67292         [C99-based standards] (INT_FAST16_MAX): Likewise.
67293         [C99-based standards] (INT_FAST32_MIN): Likewise.
67294         [C99-based standards] (INT_FAST32_MAX): Likewise.
67295         [C99-based standards] (INT_FAST64_MIN): Likewise.
67296         [C99-based standards] (INT_FAST64_MAX): Likewise.
67297         [C99-based standards] (UINT_FAST8_MAX): Likewise.
67298         [C99-based standards] (UINT_FAST16_MAX): Likewise.
67299         [C99-based standards] (UINT_FAST32_MAX): Likewise.
67300         [C99-based standards] (UINT_FAST64_MAX): Likewise.
67301         [C99-based standards] (INTPTR_MIN): Likewise.
67302         [C99-based standards] (INTPTR_MAX): Likewise.
67303         [C99-based standards] (UINTPTR_MAX): Likewise.
67304         [C99-based standards] (INTMAX_MIN): Likewise.
67305         [C99-based standards] (INTMAX_MAX): Likewise.
67306         [C99-based standards] (UINTMAX_MAX): Likewise.
67307         [C99-based standards] (PTRDIFF_MIN): Likewise.
67308         [C99-based standards] (PTRDIFF_MAX): Likewise.
67309         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67310         [C99-based standards] (SIZE_MAX): Likewise.
67311         [C99-based standards] (WCHAR_MAX): Likewise.
67312         [C99-based standards] (WINT_MAX): Likewise.
67313         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
67314         constraint on value.
67315         [C99-based standards] (WCHAR_MIN): Likewise.
67316         [C99-based standards] (WINT_MIN): Likewise.
67317         [C99-based standards] (*_t): Allow.
67318         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67319         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67320         Include math.h-data and complex.h-data.  Remove all expectations
67321         of math.h and complex.h contents.
67322         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67323         at end of line.
67324         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67325         (struct tm): Expect tag.
67326         [C99-based-standards] (wcstof): Expect function.
67327         [C99-based-standards] (wcstold): Likewise.
67328         [C99-based-standards] (wcstoll): Likewise.
67329         [C99-based-standards] (wcstoull): Likewise.
67330         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67331         macro-int-constant.  Specify type.
67332         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
67333         constraint on value.
67334         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67335         Specify type.
67336         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67337         Specify value.
67338         [ISO C standards]: Do not allow headers.
67339         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67340         wcs[abcdefghijklmnopqrstuvwxyz]*.
67341         [ISO C standards] (*_t): Do not allow.
67342         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67343         Expect function.
67344         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67345         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67346         Specify type.
67347         [ISO C standards]: Do not allow headers.
67348         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67349         is[abcdefghijklmnopqrstuvwxyz]*.
67350         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67351         to[abcdefghijklmnopqrstuvwxyz]*.
67352         [ISO C standards] (*_t): Do not allow.
67353         * conform/data/stdalign.h-data: New file.
67354         * conform/data/stdbool.h-data: Likewise.
67355         * conform/data/stdnoreturn.h-data: Likewise.
67357 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67359         [BZ #14815]
67360         * manual/filesys.texi (Directory Entries): Typo fix.
67361         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67363 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67365         * elf/elf.h (EM_AARCH64): New macro.
67366         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67367         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67368         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67369         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67370         (R_AARCH64_TLSDESC): Likewise.
67371         (NT_ARM_TLS): Likewise.
67372         (NT_ARM_HW_BREAK): Likewise.
67373         (NT_ARM_HW_WATCH): Likewise.
67375 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67377         [BZ #14811]
67378         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67379         (__ieee754_powl): Saturate nonzero exponents with absolute value
67380         below 0x1p-79 to +/- 0x1p-79.
67381         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67382         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67383         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67384         nonzero exponents with absolute value below 0x1p-32 to +/-
67385         0x1p-32.
67386         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67387         (__ieee754_powl): Saturate nonzero exponents with absolute value
67388         below 0x1p-79 to +/- 0x1p-79.
67389         * math/libm-test.inc (pow_test): Add more tests.
67391 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67393         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67394         _dl_s390_cap_flags with kernel. Increase string length.
67395         (_dl_s390_platforms): Add z196 and zEC12.
67397 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67399         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67400         Change XOPEN21K to XOPEN2K.
67402 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67404         * string/memmove.c: Use memcpy when possible.
67406 2012-11-06  Andreas Jaeger  <aj@suse.de>
67408         * po/eo.po: Update from translation team.
67410 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67412         [BZ #14793]
67413         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67414         exponent and small x and y exponents, scale x or y up.  Increase
67415         by 2 the exponent used in scaling up.
67416         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67417         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67418         * math/libm-test.inc (fma_test): Add more tests.
67419         (fma_test_towardzero): Likewise.
67420         (fma_test_downward): Likewise.
67421         (fma_test_upward): Likewise.
67423 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
67425         [BZ #14805]
67426         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67427         fenv_t *.
67429         [BZ #14801]
67430         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67431         namespace for names of struct fields.
67432         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67433         fenv_t fields.
67434         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67435         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67437 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67439         [BZ #3665]
67440         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67442 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67444         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67445         PTR_DEMANGLE.
67447         [BZ #5246]
67448         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67449         PTR_DEMANGLE.
67451 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
67453         [BZ #14797]
67454         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67455         definitely overflow as x * y not x * y + z.
67456         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67457         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67458         * math/libm-test.inc (fma_test): Add more tests.
67459         (fma_test_towardzero): Likewise.
67460         (fma_test_downward): Likewise.
67461         (fma_test_upward): Likewise.
67463 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67465         [BZ #157]
67467         * include/stub-tag.h: Remove file.
67468         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67469         '#include' of it.
67470         * manual/maint.texi (Porting): Don't reference it.
67471         * Makerules ($(objpfx)stubs): Likewise.
67472         * dirent/closedir.c: Don't include <stub-tag.h>.
67473         * dirent/dirfd.c: Likewise.
67474         * dirent/fdopendir.c: Likewise.
67475         * dirent/getdents.c: Likewise.
67476         * dirent/getdents64.c: Likewise.
67477         * dirent/opendir.c: Likewise.
67478         * dirent/readdir.c: Likewise.
67479         * dirent/readdir64.c: Likewise.
67480         * dirent/readdir64_r.c: Likewise.
67481         * dirent/readdir_r.c: Likewise.
67482         * dirent/rewinddir.c: Likewise.
67483         * dirent/seekdir.c: Likewise.
67484         * dirent/telldir.c: Likewise.
67485         * gmon/profil.c: Likewise.
67486         * grp/setgroups.c: Likewise.
67487         * inet/if_index.c: Likewise.
67488         * io/access.c: Likewise.
67489         * io/chdir.c: Likewise.
67490         * io/chmod.c: Likewise.
67491         * io/chown.c: Likewise.
67492         * io/close.c: Likewise.
67493         * io/dup.c: Likewise.
67494         * io/dup2.c: Likewise.
67495         * io/dup3.c: Likewise.
67496         * io/euidaccess.c: Likewise.
67497         * io/faccessat.c: Likewise.
67498         * io/fchdir.c: Likewise.
67499         * io/fchmod.c: Likewise.
67500         * io/fchmodat.c: Likewise.
67501         * io/fchown.c: Likewise.
67502         * io/fchownat.c: Likewise.
67503         * io/fcntl.c: Likewise.
67504         * io/flock.c: Likewise.
67505         * io/fstatfs.c: Likewise.
67506         * io/fstatfs64.c: Likewise.
67507         * io/fstatvfs.c: Likewise.
67508         * io/fstatvfs64.c: Likewise.
67509         * io/futimens.c: Likewise.
67510         * io/fxstat.c: Likewise.
67511         * io/fxstat64.c: Likewise.
67512         * io/fxstatat.c: Likewise.
67513         * io/fxstatat64.c: Likewise.
67514         * io/getcwd.c: Likewise.
67515         * io/isatty.c: Likewise.
67516         * io/lchmod.c: Likewise.
67517         * io/lchown.c: Likewise.
67518         * io/link.c: Likewise.
67519         * io/linkat.c: Likewise.
67520         * io/lseek.c: Likewise.
67521         * io/lseek64.c: Likewise.
67522         * io/lxstat64.c: Likewise.
67523         * io/mkdir.c: Likewise.
67524         * io/mkdirat.c: Likewise.
67525         * io/mkfifo.c: Likewise.
67526         * io/mkfifoat.c: Likewise.
67527         * io/open.c: Likewise.
67528         * io/open64.c: Likewise.
67529         * io/openat.c: Likewise.
67530         * io/openat64.c: Likewise.
67531         * io/pipe.c: Likewise.
67532         * io/pipe2.c: Likewise.
67533         * io/poll.c: Likewise.
67534         * io/posix_fadvise.c: Likewise.
67535         * io/posix_fadvise64.c: Likewise.
67536         * io/posix_fallocate.c: Likewise.
67537         * io/posix_fallocate64.c: Likewise.
67538         * io/read.c: Likewise.
67539         * io/readlink.c: Likewise.
67540         * io/readlinkat.c: Likewise.
67541         * io/rmdir.c: Likewise.
67542         * io/sendfile.c: Likewise.
67543         * io/sendfile64.c: Likewise.
67544         * io/statfs.c: Likewise.
67545         * io/statfs64.c: Likewise.
67546         * io/statvfs.c: Likewise.
67547         * io/statvfs64.c: Likewise.
67548         * io/symlink.c: Likewise.
67549         * io/symlinkat.c: Likewise.
67550         * io/ttyname.c: Likewise.
67551         * io/ttyname_r.c: Likewise.
67552         * io/umask.c: Likewise.
67553         * io/unlink.c: Likewise.
67554         * io/unlinkat.c: Likewise.
67555         * io/utime.c: Likewise.
67556         * io/utimensat.c: Likewise.
67557         * io/write.c: Likewise.
67558         * io/xmknod.c: Likewise.
67559         * io/xmknodat.c: Likewise.
67560         * io/xstat.c: Likewise.
67561         * io/xstat64.c: Likewise.
67562         * login/getpt.c: Likewise.
67563         * login/grantpt.c: Likewise.
67564         * login/unlockpt.c: Likewise.
67565         * math/e_acoshl.c: Likewise.
67566         * math/e_acosl.c: Likewise.
67567         * math/e_asinl.c: Likewise.
67568         * math/e_atan2l.c: Likewise.
67569         * math/e_atanhl.c: Likewise.
67570         * math/e_coshl.c: Likewise.
67571         * math/e_expl.c: Likewise.
67572         * math/e_fmodl.c: Likewise.
67573         * math/e_gammal_r.c: Likewise.
67574         * math/e_hypotl.c: Likewise.
67575         * math/e_j0l.c: Likewise.
67576         * math/e_j1l.c: Likewise.
67577         * math/e_jnl.c: Likewise.
67578         * math/e_lgammal_r.c: Likewise.
67579         * math/e_log10l.c: Likewise.
67580         * math/e_log2l.c: Likewise.
67581         * math/e_logl.c: Likewise.
67582         * math/e_powl.c: Likewise.
67583         * math/e_rem_pio2l.c: Likewise.
67584         * math/e_sinhl.c: Likewise.
67585         * math/e_sqrtl.c: Likewise.
67586         * math/fclrexcpt.c: Likewise.
67587         * math/fedisblxcpt.c: Likewise.
67588         * math/feenablxcpt.c: Likewise.
67589         * math/fegetenv.c: Likewise.
67590         * math/fegetexcept.c: Likewise.
67591         * math/fegetround.c: Likewise.
67592         * math/feholdexcpt.c: Likewise.
67593         * math/fesetenv.c: Likewise.
67594         * math/fesetround.c: Likewise.
67595         * math/feupdateenv.c: Likewise.
67596         * math/fgetexcptflg.c: Likewise.
67597         * math/fraiseexcpt.c: Likewise.
67598         * math/fsetexcptflg.c: Likewise.
67599         * math/ftestexcept.c: Likewise.
67600         * math/k_cosl.c: Likewise.
67601         * math/k_rem_pio2l.c: Likewise.
67602         * math/k_sinl.c: Likewise.
67603         * math/k_tanl.c: Likewise.
67604         * math/s_asinhl.c: Likewise.
67605         * math/s_atanl.c: Likewise.
67606         * math/s_cbrtl.c: Likewise.
67607         * math/s_erfl.c: Likewise.
67608         * math/s_expm1l.c: Likewise.
67609         * math/s_log1pl.c: Likewise.
67610         * math/s_tanhl.c: Likewise.
67611         * misc/acct.c: Likewise.
67612         * misc/brk.c: Likewise.
67613         * misc/chflags.c: Likewise.
67614         * misc/chroot.c: Likewise.
67615         * misc/fchflags.c: Likewise.
67616         * misc/fgetxattr.c: Likewise.
67617         * misc/flistxattr.c: Likewise.
67618         * misc/fremovexattr.c: Likewise.
67619         * misc/fsetxattr.c: Likewise.
67620         * misc/fsync.c: Likewise.
67621         * misc/ftruncate.c: Likewise.
67622         * misc/futimes.c: Likewise.
67623         * misc/futimesat.c: Likewise.
67624         * misc/getdomain.c: Likewise.
67625         * misc/getdtsz.c: Likewise.
67626         * misc/gethostid.c: Likewise.
67627         * misc/gethostname.c: Likewise.
67628         * misc/getloadavg.c: Likewise.
67629         * misc/getpagesize.c: Likewise.
67630         * misc/getsysstats.c: Likewise.
67631         * misc/getxattr.c: Likewise.
67632         * misc/gtty.c: Likewise.
67633         * misc/ioctl.c: Likewise.
67634         * misc/lgetxattr.c: Likewise.
67635         * misc/listxattr.c: Likewise.
67636         * misc/llistxattr.c: Likewise.
67637         * misc/lremovexattr.c: Likewise.
67638         * misc/lsetxattr.c: Likewise.
67639         * misc/lutimes.c: Likewise.
67640         * misc/madvise.c: Likewise.
67641         * misc/mincore.c: Likewise.
67642         * misc/mlock.c: Likewise.
67643         * misc/mlockall.c: Likewise.
67644         * misc/mmap.c: Likewise.
67645         * misc/mprotect.c: Likewise.
67646         * misc/msync.c: Likewise.
67647         * misc/munlock.c: Likewise.
67648         * misc/munlockall.c: Likewise.
67649         * misc/munmap.c: Likewise.
67650         * misc/preadv.c: Likewise.
67651         * misc/preadv64.c: Likewise.
67652         * misc/ptrace.c: Likewise.
67653         * misc/pwritev.c: Likewise.
67654         * misc/pwritev64.c: Likewise.
67655         * misc/readv.c: Likewise.
67656         * misc/reboot.c: Likewise.
67657         * misc/remap_file_pages.c: Likewise.
67658         * misc/removexattr.c: Likewise.
67659         * misc/revoke.c: Likewise.
67660         * misc/select.c: Likewise.
67661         * misc/setdomain.c: Likewise.
67662         * misc/setegid.c: Likewise.
67663         * misc/seteuid.c: Likewise.
67664         * misc/sethostid.c: Likewise.
67665         * misc/sethostname.c: Likewise.
67666         * misc/setregid.c: Likewise.
67667         * misc/setreuid.c: Likewise.
67668         * misc/setxattr.c: Likewise.
67669         * misc/sstk.c: Likewise.
67670         * misc/stty.c: Likewise.
67671         * misc/swapoff.c: Likewise.
67672         * misc/swapon.c: Likewise.
67673         * misc/sync.c: Likewise.
67674         * misc/syncfs.c: Likewise.
67675         * misc/syscall.c: Likewise.
67676         * misc/truncate.c: Likewise.
67677         * misc/ualarm.c: Likewise.
67678         * misc/usleep.c: Likewise.
67679         * misc/ustat.c: Likewise.
67680         * misc/utimes.c: Likewise.
67681         * misc/vhangup.c: Likewise.
67682         * misc/writev.c: Likewise.
67683         * posix/_exit.c: Likewise.
67684         * posix/alarm.c: Likewise.
67685         * posix/execve.c: Likewise.
67686         * posix/fexecve.c: Likewise.
67687         * posix/fork.c: Likewise.
67688         * posix/fpathconf.c: Likewise.
67689         * posix/getaddrinfo.c: Likewise.
67690         * posix/getegid.c: Likewise.
67691         * posix/geteuid.c: Likewise.
67692         * posix/getgid.c: Likewise.
67693         * posix/getgroups.c: Likewise.
67694         * posix/getlogin.c: Likewise.
67695         * posix/getlogin_r.c: Likewise.
67696         * posix/getpgid.c: Likewise.
67697         * posix/getpid.c: Likewise.
67698         * posix/getppid.c: Likewise.
67699         * posix/getresgid.c: Likewise.
67700         * posix/getresuid.c: Likewise.
67701         * posix/getsid.c: Likewise.
67702         * posix/getuid.c: Likewise.
67703         * posix/glob64.c: Likewise.
67704         * posix/nanosleep.c: Likewise.
67705         * posix/pathconf.c: Likewise.
67706         * posix/pause.c: Likewise.
67707         * posix/posix_madvise.c: Likewise.
67708         * posix/pread.c: Likewise.
67709         * posix/pread64.c: Likewise.
67710         * posix/pwrite.c: Likewise.
67711         * posix/pwrite64.c: Likewise.
67712         * posix/sched_getaffinity.c: Likewise.
67713         * posix/sched_getp.c: Likewise.
67714         * posix/sched_gets.c: Likewise.
67715         * posix/sched_primax.c: Likewise.
67716         * posix/sched_primin.c: Likewise.
67717         * posix/sched_rr_gi.c: Likewise.
67718         * posix/sched_setaffinity.c: Likewise.
67719         * posix/sched_setp.c: Likewise.
67720         * posix/sched_sets.c: Likewise.
67721         * posix/sched_yield.c: Likewise.
67722         * posix/setgid.c: Likewise.
67723         * posix/setlogin.c: Likewise.
67724         * posix/setpgid.c: Likewise.
67725         * posix/setresgid.c: Likewise.
67726         * posix/setresuid.c: Likewise.
67727         * posix/setsid.c: Likewise.
67728         * posix/setuid.c: Likewise.
67729         * posix/sleep.c: Likewise.
67730         * posix/spawni.c: Likewise.
67731         * posix/sysconf.c: Likewise.
67732         * posix/times.c: Likewise.
67733         * posix/wait.c: Likewise.
67734         * posix/wait3.c: Likewise.
67735         * posix/wait4.c: Likewise.
67736         * posix/waitpid.c: Likewise.
67737         * resolv/gai_sigqueue.c: Likewise.
67738         * resource/getpriority.c: Likewise.
67739         * resource/getrlimit.c: Likewise.
67740         * resource/getrusage.c: Likewise.
67741         * resource/nice.c: Likewise.
67742         * resource/setpriority.c: Likewise.
67743         * resource/setrlimit.c: Likewise.
67744         * resource/ulimit.c: Likewise.
67745         * rt/aio_cancel.c: Likewise.
67746         * rt/aio_fsync.c: Likewise.
67747         * rt/aio_read.c: Likewise.
67748         * rt/aio_sigqueue.c: Likewise.
67749         * rt/aio_suspend.c: Likewise.
67750         * rt/aio_write.c: Likewise.
67751         * rt/clock_getres.c: Likewise.
67752         * rt/clock_gettime.c: Likewise.
67753         * rt/clock_nanosleep.c: Likewise.
67754         * rt/clock_settime.c: Likewise.
67755         * rt/lio_listio.c: Likewise.
67756         * rt/mq_close.c: Likewise.
67757         * rt/mq_getattr.c: Likewise.
67758         * rt/mq_notify.c: Likewise.
67759         * rt/mq_open.c: Likewise.
67760         * rt/mq_receive.c: Likewise.
67761         * rt/mq_send.c: Likewise.
67762         * rt/mq_setattr.c: Likewise.
67763         * rt/mq_timedreceive.c: Likewise.
67764         * rt/mq_timedsend.c: Likewise.
67765         * rt/mq_unlink.c: Likewise.
67766         * rt/shm_open.c: Likewise.
67767         * rt/shm_unlink.c: Likewise.
67768         * rt/timer_create.c: Likewise.
67769         * rt/timer_delete.c: Likewise.
67770         * rt/timer_getoverr.c: Likewise.
67771         * rt/timer_gettime.c: Likewise.
67772         * rt/timer_settime.c: Likewise.
67773         * setjmp/__longjmp.c: Likewise.
67774         * setjmp/setjmp.c: Likewise.
67775         * signal/kill.c: Likewise.
67776         * signal/killpg.c: Likewise.
67777         * signal/raise.c: Likewise.
67778         * signal/sigaction.c: Likewise.
67779         * signal/sigaltstack.c: Likewise.
67780         * signal/sigblock.c: Likewise.
67781         * signal/sigignore.c: Likewise.
67782         * signal/sigintr.c: Likewise.
67783         * signal/signal.c: Likewise.
67784         * signal/sigpause.c: Likewise.
67785         * signal/sigpending.c: Likewise.
67786         * signal/sigqueue.c: Likewise.
67787         * signal/sigreturn.c: Likewise.
67788         * signal/sigset.c: Likewise.
67789         * signal/sigsetmask.c: Likewise.
67790         * signal/sigstack.c: Likewise.
67791         * signal/sigsuspend.c: Likewise.
67792         * signal/sigtimedwait.c: Likewise.
67793         * signal/sigvec.c: Likewise.
67794         * signal/sigwait.c: Likewise.
67795         * signal/sigwaitinfo.c: Likewise.
67796         * signal/sysv_signal.c: Likewise.
67797         * socket/accept.c: Likewise.
67798         * socket/accept4.c: Likewise.
67799         * socket/bind.c: Likewise.
67800         * socket/connect.c: Likewise.
67801         * socket/getpeername.c: Likewise.
67802         * socket/getsockname.c: Likewise.
67803         * socket/getsockopt.c: Likewise.
67804         * socket/isfdtype.c: Likewise.
67805         * socket/listen.c: Likewise.
67806         * socket/recv.c: Likewise.
67807         * socket/recvfrom.c: Likewise.
67808         * socket/recvmsg.c: Likewise.
67809         * socket/send.c: Likewise.
67810         * socket/sendmsg.c: Likewise.
67811         * socket/sendto.c: Likewise.
67812         * socket/setsockopt.c: Likewise.
67813         * socket/shutdown.c: Likewise.
67814         * socket/sockatmark.c: Likewise.
67815         * socket/socket.c: Likewise.
67816         * socket/socketpair.c: Likewise.
67817         * stdio-common/ctermid.c: Likewise.
67818         * stdio-common/cuserid.c: Likewise.
67819         * stdio-common/remove.c: Likewise.
67820         * stdio-common/rename.c: Likewise.
67821         * stdio-common/renameat.c: Likewise.
67822         * stdio-common/tempname.c: Likewise.
67823         * stdlib/getcontext.c: Likewise.
67824         * stdlib/makecontext.c: Likewise.
67825         * stdlib/setcontext.c: Likewise.
67826         * stdlib/swapcontext.c: Likewise.
67827         * stdlib/system.c: Likewise.
67828         * streams/fattach.c: Likewise.
67829         * streams/fdetach.c: Likewise.
67830         * streams/getmsg.c: Likewise.
67831         * streams/getpmsg.c: Likewise.
67832         * streams/putmsg.c: Likewise.
67833         * streams/putpmsg.c: Likewise.
67834         * sysdeps/unix/bsd/getpt.c: Likewise.
67835         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67836         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67837         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67839         Likewise.
67840         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67841         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67842         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67843         * sysvipc/msgctl.c: Likewise.
67844         * sysvipc/msgget.c: Likewise.
67845         * sysvipc/msgrcv.c: Likewise.
67846         * sysvipc/msgsnd.c: Likewise.
67847         * sysvipc/semctl.c: Likewise.
67848         * sysvipc/semget.c: Likewise.
67849         * sysvipc/semop.c: Likewise.
67850         * sysvipc/semtimedop.c: Likewise.
67851         * sysvipc/shmat.c: Likewise.
67852         * sysvipc/shmctl.c: Likewise.
67853         * sysvipc/shmdt.c: Likewise.
67854         * sysvipc/shmget.c: Likewise.
67855         * termios/tcdrain.c: Likewise.
67856         * termios/tcflow.c: Likewise.
67857         * termios/tcflush.c: Likewise.
67858         * termios/tcgetattr.c: Likewise.
67859         * termios/tcgetpgrp.c: Likewise.
67860         * termios/tcsendbrk.c: Likewise.
67861         * termios/tcsetattr.c: Likewise.
67862         * termios/tcsetpgrp.c: Likewise.
67863         * time/adjtime.c: Likewise.
67864         * time/clock.c: Likewise.
67865         * time/getitimer.c: Likewise.
67866         * time/gettimeofday.c: Likewise.
67867         * time/setitimer.c: Likewise.
67868         * time/settimeofday.c: Likewise.
67869         * time/stime.c: Likewise.
67870         * time/time.c: Likewise.
67872 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67874         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67875         /usr/old/bin.
67877         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67878         instead of spaces.
67879         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67881 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67883         [BZ #14796]
67884         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67885         FE_TONEAREST before applying Dekker multiplication and Knuth
67886         addition.  Clear inexact exceptions and check for exact zero
67887         results afterwards.
67888         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67889         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67890         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67891         * math/libm-test.inc (fma_test): Add more tests.
67892         (fma_test_towardzero): Likewise.
67893         (fma_test_downward): Likewise.
67894         (fma_test_upward): Likewise.
67895         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67896         function.
67897         (libc_fesetround): New macro.
67898         (libc_fesetroundf): Likewise.
67899         (libc_fesetroundl): Likewise.
67900         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67901         function.
67902         (libc_fesetround_387): Likewise.
67903         (libc_fesetroundf): New macro.
67904         (libc_fesetround): Likewise.
67905         (libc_fesetroundl): Likewise.
67906         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67907         function.
67908         (libc_fesetroundf): New macro.
67909         (libc_fesetround): Likewise.
67910         (libc_fesetroundl): Likewise.
67911         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67912         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67913         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67914         libm_hidden_ver.
67915         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67916         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67917         libm_hidden_def.
67918         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67919         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67920         libm_hidden_ver.
67921         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67922         libm_hidden_def.
67924         [BZ #3439]
67925         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67926         integer constant usable in #if and use that to give value to enum
67927         constant.
67928         (FE_DIVBYZERO): Likewise.
67929         (FE_UNDERFLOW): Likewise.
67930         (FE_OVERFLOW): Likewise.
67931         (FE_INVALID): Likewise.
67932         (FE_INVALID_SNAN): Likewise.
67933         (FE_INVALID_ISI): Likewise.
67934         (FE_INVALID_IDI): Likewise.
67935         (FE_INVALID_ZDZ): Likewise.
67936         (FE_INVALID_IMZ): Likewise.
67937         (FE_INVALID_COMPARE): Likewise.
67938         (FE_INVALID_SOFTWARE): Likewise.
67939         (FE_INVALID_SQRT): Likewise.
67940         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67941         (FE_TONEAREST): Likewise.
67942         (FE_TOWARDZERO): Likewise.
67943         (FE_UPWARD): Likewise.
67944         (FE_DOWNWARD): Likewise.
67945         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67946         (FE_DIVBYZERO): Likewise.
67947         (FE_OVERFLOW): Likewise.
67948         (FE_UNDERFLOW): Likewise.
67949         (FE_INEXACT): Likewise.
67950         (FE_TONEAREST): Likewise.
67951         (FE_DOWNWARD): Likewise.
67952         (FE_UPWARD): Likewise.
67953         (FE_TOWARDZERO): Likewise.
67954         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67955         (FE_UNDERFLOW): Likewise.
67956         (FE_OVERFLOW): Likewise.
67957         (FE_DIVBYZERO): Likewise.
67958         (FE_INVALID): Likewise.
67959         (FE_TONEAREST): Likewise.
67960         (FE_TOWARDZERO): Likewise.
67961         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67962         (FE_OVERFLOW): Likewise.
67963         (FE_UNDERFLOW): Likewise.
67964         (FE_DIVBYZERO): Likewise.
67965         (FE_INEXACT): Likewise.
67966         (FE_TONEAREST): Likewise.
67967         (FE_TOWARDZERO): Likewise.
67968         (FE_UPWARD): Likewise.
67969         (FE_DOWNWARD): Likewise.
67970         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67971         (FE_DIVBYZERO): Likewise.
67972         (FE_OVERFLOW): Likewise.
67973         (FE_UNDERFLOW): Likewise.
67974         (FE_INEXACT): Likewise.
67975         (FE_TONEAREST): Likewise.
67976         (FE_DOWNWARD): Likewise.
67977         (FE_UPWARD): Likewise.
67978         (FE_TOWARDZERO): Likewise.
67980 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67982         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67984 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67986         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67987         commands.  Quote $PWD.
67988         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67989         -x" by "export".
67990         (remove_newlines): Remove.
67992 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67994         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67995         * stdlib/stdlib.h (atof): Moved to ...
67996         * include/bits/stdlib-float.h: Here.  New file.
67997         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67998         * stdlib/bits/stdlib-float.h: New file.
67999         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
68000         -mno-sse -mno-mmx.
68001         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
68002         <xmmintrin.h>.
68004 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68006         * conform/conformtest.pl (@headers): Add fenv.h.
68007         * conform/data/fenv.h-data: New file.
68008         * include/fenv.h [_ISOMAC]: Disable all contents of file except
68009         include of <math/fenv.h>.
68011         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
68012         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
68013         && !UNIX98].  Enables tests for XOPEN2K8.
68014         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
68015         POSIX2008]: Likewise.
68017         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
68018         (struct rusage): Do not expect type or its members.
68020         [BZ #3439]
68021         * math/math.h (FP_NAN): Define macro to integer constant usable in
68022         #if and use that to give value to enum constant.
68023         (FP_INFINITE): Likewise.
68024         (FP_ZERO): Likewise.
68025         (FP_SUBNORMAL): Likewise.
68026         (FP_NORMAL): Likewise.
68028 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
68030         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
68031         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
68032         arguments.
68034 2012-11-02  Roland McGrath  <roland@hack.frob.com>
68036         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
68037         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
68038         autoconf-time if not.
68039         * configure.in: Remove AC_PREREQ.
68041 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68043         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
68044         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
68045         of the internal implementation.
68047 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
68049         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
68050         except include of <misc/sys/syslog.h>.
68052 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68055         function returns with a NULL context exit with zero.
68057 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68059         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68061 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68063         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68064         (run_program_cmd): This.
68065         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68066         (tst_langinfo): New variable.  Use it.
68068 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68070         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68071         floating point opcodes.
68073 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68075         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68076         variable.
68078         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68080         * sysdeps/mach/hurd/powerpc: Remove directory.
68081         * sysdeps/mach/powerpc: Likewise.
68083 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68085         * scripts/check-local-headers.sh: Ignore c++ headers.
68087 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68089         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68090         __libc_cleanup_region_start argument.
68092 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68094         [BZ #14784]
68095         [BZ #14785]
68096         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68097         x * y using scaling, not as x * y + z.
68098         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68099         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68100         * math/libm-test.inc (fma_test): Add more tests.
68101         (fma_test_towardzero): Likewise.
68102         (fma_test_downward): Likewise.
68103         (fma_test_upward): Likewise.
68105 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68107         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68109 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68111         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68112         New variable.
68114 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68116         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68118 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68121         Fix sort order.
68122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68123         Likewise.
68125 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68128         Fix the order of the list for glibc 2.17.
68129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68130         Likewise.
68132 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68136 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68138         [BZ #14610]
68139         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68140         for low part of x being zero before using __atanl (y).
68141         * math/libm-test.inc (atan2_test): Add another test.
68143         * manual/install.texi (Configuring and compiling): Document
68144         general use of test-wrapper and test-wrapper-env.
68145         * INSTALL: Regenerated.
68147         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68148         (__fma): Do not extract and scale down low bits on after-rounding
68149         systems when result rounded to normal precision would have normal
68150         exponent.
68151         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68152         (__fmal): Do not extract and scale down low bits on after-rounding
68153         systems when result rounded to normal precision would have normal
68154         exponent.
68155         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68156         (__fmal): Do not extract and scale down low bits on after-rounding
68157         systems when result rounded to normal precision would have normal
68158         exponent.
68159         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68160         macro.
68161         (fma_test): Add more tests.
68162         (fma_test_towardzero): Likewise.
68163         (fma_test_downward): Likewise.
68164         (fma_test_upward): Likewise.
68166 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68168         * sysdeps/i386/tininess.h: Renamed to ...
68169         * sysdeps/x86/tininess.h: This.
68170         * sysdeps/x86_64/tininess.h: Removed.
68172 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68174         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68175         input.  Use $(build-program-cmd).
68176         ($(objpfx)tst-array1-static.out): Likewise.
68177         ($(objpfx)tst-array2.out): Likewise.
68178         ($(objpfx)tst-array3.out): Likewise.
68179         ($(objpfx)tst-array4.out): Likewise.
68180         ($(objpfx)tst-array5.out): Likewise.
68181         ($(objpfx)tst-array5-static.out): Likewise.
68183 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68185         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68186         if defined.
68188         * nss/nsswitch.h (nss_interface_function): Provide new
68189         macro for use with NSS functions.
68190         * grp/initgroups.c: Use new macro.
68191         * nss/getXXbyYY.c: Likewise.
68192         * nss/getXXbyYY_r.c: Likewise.
68193         * nss/getXXent.c: Likewise.
68194         * nss/getXXent_r.c: Likewise.
68195         * sysdeps/posix/getaddrinfo.c: Likewise.
68197 2012-10-30  Andreas Jaeger  <aj@suse.de>
68199         * po/ru.po: Update Russion translation from translation project.
68201 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68203         [BZ #14152]
68204         [BZ #14783]
68205         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68206         result and shift together with sticky bit instead of replicating
68207         round-to-nearest rounding.
68208         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68209         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68210         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68211         missing underflow exceptions.
68212         (fma_test_towardzero): Add more tests.
68213         (fma_test_downward): Likewise.
68214         (fma_test_upward): Likewise.
68216         [BZ #14047]
68217         * sysdeps/generic/tininess.h: New file.
68218         * sysdeps/i386/tininess.h: Likewise.
68219         * sysdeps/sh/tininess.h: Likewise.
68220         * sysdeps/x86_64/tininess.h: Likewise.
68221         * stdlib/tst-strtod-underflow.c: Likewise.
68222         * stdlib/tst-tininess.c: Likewise.
68223         * stdlib/strtod_l.c: Include <tininess.h>.
68224         (round_and_return): Do not set errno for exact underflow cases.
68225         Force an underflow exception when setting errno for underflow.
68226         Determine underflow based on rounding to normal precision if
68227         TININESS_AFTER_ROUNDING.
68228         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68229         ERANGE for exact underflow cases.
68230         * stdlib/Makefile (tests): Add tst-tininess and
68231         tst-strtod-underflow.
68232         ($(objpfx)tst-tininess): Use $(link-libm).
68233         ($(objpfx)tst-strtod-underflow): Likewise.
68235 2012-10-30  Andreas Jaeger  <aj@suse.de>
68237         [BZ#14767]
68238         * elf/Makefile (tests): Remove conditional for have-initfini-array
68239         since this is now always required and the variable does not exist
68240         anymore.
68241         (tests-static): Likewise.
68242         (modules-names): Likewise.
68244         * po/eo.po: Add Esperanto translation from translation project.
68246         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68247         merged with constructor/destructor.
68248         (init_array): Likewise.
68249         * elf/tst-array2dep.c (fini_array): Likewise.
68250         (init_array): Likewise.
68252 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68254         * manual/message.texi: Delete @cartouche tags.
68256 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68258         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68259         EOPNOTSUPP.
68260         * sysdeps/mach/hurd/fsync.c: Likewise.
68262         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68263         [_POSIX_REALTIME_SIGNALS]: Change condition to
68264         [_POSIX_REALTIME_SIGNALS > 0].
68266 2012-10-27  Andreas Jaeger  <aj@suse.de>
68268         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68269         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68270         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68271         [__WORDSIZE != 64]: Likewise.
68273 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68275         *  iconvdata/tst-table.sh: Remove ${SHELL}.
68276         *  iconvdata/tst-tables.sh: Likewise.
68278 2012-10-25  David S. Miller  <davem@davemloft.net>
68280         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68281         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68282         of strtoull.
68284         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68285         ifunc-impl-list.c
68286         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68287         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68288         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68289         file.
68291 2012-10-25  Roland McGrath  <roland@hack.frob.com>
68293         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68294         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68295         __getdirentries.
68297 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68298             Jim Blandy  <jimb@codesourcery.com>
68300         * scripts/cross-test-ssh.sh: New file.
68301         * manual/install.texi (Configuring and compiling): Document use of
68302         cross-test-ssh.sh.
68303         * INSTALL: Regenerated.
68305 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
68307         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68308         EOPNOTSUPP.
68310 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68312         * Makeconfig (run-program-prefix): Fix comment.
68314 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68315             Jim Blandy  <jimb@codesourcery.com>
68317         * Makeconfig (test-wrapper): New variable,
68318         (test-wrapper-env): Likewise.
68319         [$(cross-compiling) = yes && $(test-wrapper) != ""]
68320         (run-built-tests): Define to yes.
68321         (run-program-prefix): Use $(test-wrapper).
68322         (built-program-cmd): Likewise.
68323         * Rules (make-test-out): Use $(test-wrapper-env) and
68324         $(host-built-program-cmd).
68325         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68326         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68327         tst-pathopt.sh.
68328         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68329         $(test-wrapper-env) to tst-rtld-load-self.sh.
68330         ($(objpfx)order2.out): Use $(test-wrapper).
68331         ($(objpfx)tst-initorder.out): Likewise.
68332         ($(objpfx)tst-initorder2.out): Likewise.
68333         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68334         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68335         (test_wrapper_env): New variable.  Use it to run ld.so.
68336         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68337         Use it to run ld.so.
68338         (test_wrapper_env): Likewise.
68339         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68340         $(test-wrapper) to run-iconv-test.sh.
68341         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68342         (ICONV): Use $test_wrapper.
68343         * posix/Makefile ($(objpfx)globtest.out): Pass
68344         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68345         globtest.sh, not $(run-program-prefix).
68346         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68347         (test_wrapper): Likewise.
68348         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68349         set together with run_via_rtld_prefix.
68350         (run_program_prefix): Define in terms of test_wrapper and
68351         run_via_rtld_prefix.
68353 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68355         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68356         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68357         Targets removed.
68359         [BZ #14743]
68360         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68361         Declare __clock_getres, __clock_gettime, __clock_settime,
68362         __clock_nanosleep, and __clock_getcpuclockid.
68363         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68364         Remove librt_hidden_def (clock_gettime).
68365         * sysdeps/unix/clock_gettime.c: Likewise.
68366         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68367         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68368         * rt/clock_getres.c: Define __clock_getres as an alias.
68369         * sysdeps/posix/clock_getres.c: Likewise.
68370         * rt/clock_settime.c: Define __clock_settime as an alias.
68371         * sysdeps/unix/clock_settime.c: Likewise.
68372         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68373         * sysdeps/unix/clock_nanosleep.c: Likewise.
68374         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68375         * rt/clock-compat.c: New file.
68376         * rt/Makefile (librt-routines): Add clock-compat and move
68377         $(clock-routines) to ...
68378         (routines): ... here, new variable.
68379         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68380         Don't add get_clockfreq here.
68381         * rt/Versions (libc: GLIBC_2.17): New version set.
68382         Add clock_* symbols here.
68383         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68384         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68385         (GLIBC_2.17): Add clock_* symbols.
68386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68388         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68390         Likewise.
68391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68392         Likewise.
68393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68397         * NEWS: Mention the move.
68399         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68400         Use __open, __read, __close rather than their public counterparts.
68401         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68402         (__get_clockfreq_via_cpuinfo): Likewise.
68403         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68404         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68406         * config.h.in (HAVE_IFUNC): New #undef.
68407         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68408         was successful.
68409         * configure: Regenerated.
68411 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68413         * configure.in: Move READELF check to start of file.
68414         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68415         libc_cv_asm_gnu_indirect_function in the process.
68416         * configure: Regenerated.
68418 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68420         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68421         send the output to /dev/null.
68422         (libc_cv_cc_with_libunwind): Likewise.
68423         (libc_cv_as_noexecstack): Likewise.
68424         * configure: Regenerate.
68426 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68428         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68430         * posix/globtest.sh (TMPDIR): Do not set.
68431         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68432         (testout): Likewise.
68434 2012-10-24  Andreas Jaeger  <aj@suse.de>
68436         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68437         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68438         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68439         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68440         posix_fadvise64, posix_fallocate64.
68442         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68443         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68444         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68445         Likewise.
68446         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68447         Likewise.
68448         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68450         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68451         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68452         <bits/fcntl-linux.h>.
68453         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68455         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68456         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68457         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68458         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68459         [__WORDSIZE != 64]: Likewise.
68461 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68463         * Makeconfig (run-built-tests): New variable.
68464         * Rules [$(cross-compiling) = yes]: Change condition to
68465         [$(run-built-tests) = no].
68466         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68467         to [$(run-built-tests) = yes].
68468         * elf/Makefile [$(cross-compiling) = no]: Likewise.
68469         * grp/Makefile [$(cross-compiling) = no]: Likewise.
68470         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68471         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68472         * intl/Makefile [$(cross-compiling) = no]: Likewise.
68473         * io/Makefile [$(cross-compiling) = no]: Likewise.
68474         * libio/Makefile [$(cross-compiling) = no]: Likewise.
68475         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68476         * misc/Makefile [$(cross-compiling) = no]: Likewise.
68477         * posix/Makefile [$(cross-compiling) = no]: Likewise.
68478         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68479         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68480         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68481         * string/Makefile [$(cross-compiling) = no]: Likewise.
68483         * posix/Makefile ($(objpfx)globtest.out): Pass
68484         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68485         $(rtld-installed-name).
68486         * posix/globtest.sh (elf_objpfx): Remove variable.
68487         (rtld_installed_name): Likewise.
68488         (library_path): Likewise.
68489         (run_program_prefix): New variable.  Use for running globtest
68490         binary.
68492 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
68493             Joseph Myers  <joseph@codesourcery.com>
68495         * Makeconfig (host-built-program-cmd): New variable.
68496         * elf/Makefile (tst-stackguard1-ARGS): Use
68497         $(host-built-program-cmd).
68498         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68499         (tst-spawn-ARGS): Likewise.
68500         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68502 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68503             Jim Blandy  <jimb@codesourcery.com>
68505         * Makeconfig (run-via-rtld-prefix): New variable.
68506         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68507         (built-program-cmd): Likewise.
68509 2012-10-22  Andreas Jaeger  <aj@suse.de>
68511         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68512         __O_RSYNC if it exists, otherwise to O_SYNC.
68514 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
68515             Joseph Myers  <joseph@codesourcery.com>
68517         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68518         /dev/null.
68519         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68520         from /dev/null
68521         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68522         /dev/null.
68524 2012-10-22  Andreas Jaeger  <aj@suse.de>
68526         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68527         Define always.
68528         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68531         bits/fcntl-linux.h.
68533         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68534         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68536         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68537         to __O_LARGEFILE.
68538         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68539         to __O_LARGEFILE.
68541 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68542             Joseph Myers  <joseph@codesourcery.com>
68544         * config.make.in (NM): New variable.
68546 2012-10-21  Andreas Jaeger  <aj@suse.de>
68548         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68549         definitions and declarations that are provided by
68550         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68552 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68554         [BZ #14683]
68555         * elf/Makefile (tests-static): Add tst-leaks1-static.
68556         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68557         ($(objpfx)tst-leaks1-static): New rule.
68558         ($(objpfx)tst-leaks1-static-mem): Likewise.
68559         (tst-leaks1-static-ENV): New macro.
68560         * elf/dl-open.c (dl_open_worker): Check the main application
68561         only if SHARED is defined.
68562         * elf/tst-leaks1-static.c: New file.
68564 2012-10-20  Andreas Jaeger  <aj@suse.de>
68566         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68567         generic values for Linux.
68568         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68569         and declarations that are provided by <bits/fcntl-linux.h> and
68570         include <bits/fcntl-linux.h>.
68571         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68572         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68574 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68576         * io/fcntl.h: Move include of <bits/types.h> to the top and
68577         include it unconditionally.
68579 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68581         * wcsmbs/Makefile (tests-ifunc): New variable.
68582         (tests): Add $(tests-ifunc).
68583         * wcsmbs/test-wcschr-ifunc.c: New file.
68584         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68585         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68586         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68587         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68588         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68590         * string/Makefile (tests-ifunc): New variable.
68591         (tests): Add $(tests-ifunc).
68592         * string/test-memccpy.c (TEST_NAME): New macro.
68593         * string/test-memchr.c (TEST_NAME): Likewise.
68594         * string/test-memcmp.c (TEST_NAME): Likewise.
68595         * string/test-memcpy.c (TEST_NAME): Likewise.
68596         * string/test-memmem.c (TEST_NAME): Likewise.
68597         * string/test-memmove.c (TEST_NAME): Likewise.
68598         * string/test-memset.c (TEST_NAME): Likewise.
68599         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68600         * string/test-stpcpy.c (TEST_NAME): Likewise.
68601         * string/test-stpncpy.c (TEST_NAME): Likewise.
68602         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68603         * string/test-strcasestr.c (TEST_NAME): Likewise.
68604         * string/test-strcat.c (TEST_NAME): Likewise.
68605         * string/test-strchr.c (TEST_NAME): Likewise.
68606         * string/test-strcmp.c(TEST_NAME): Likewise.
68607         * string/test-strcpy.c (TEST_NAME): Likewise.
68608         * string/test-strcspn.c (TEST_NAME): Likewise.
68609         * string/test-strlen.c (TEST_NAME): Likewise.
68610         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68611         * string/test-strncmp.c (TEST_NAME): Likewise.
68612         * string/test-strncpy.c (TEST_NAME): Likewise.
68613         * string/test-strnlen.c (TEST_NAME): Likewise.
68614         * string/test-strpbrk.c (TEST_NAME): Likewise.
68615         * string/test-strrchr.c (TEST_NAME): Likewise.
68616         * string/test-strspn.c (TEST_NAME): Likewise.
68617         * string/test-strstr.c (TEST_NAME): Likewise.
68618         * string/test-bcopy-ifunc.c: New file.
68619         * string/test-bzero-ifunc.c: Likewise.
68620         * string/test-memccpy-ifunc.c: Likewise.
68621         * string/test-memchr-ifunc.c: Likewise.
68622         * string/test-memcmp-ifunc.c: Likewise.
68623         * string/test-memcpy-ifunc.c: Likewise.
68624         * string/test-memmem-ifunc.c: Likewise.
68625         * string/test-memmove-ifunc.c: Likewise.
68626         * string/test-mempcpy-ifunc.c: Likewise.
68627         * string/test-memset-ifunc.c: Likewise.
68628         * string/test-rawmemchr-ifunc.c: Likewise.
68629         * string/test-stpcpy-ifunc.c: Likewise.
68630         * string/test-stpncpy-ifunc.c: Likewise.
68631         * string/test-strcasecmp-ifunc.c: Likewise.
68632         * string/test-strcasestr-ifunc.c: Likewise.
68633         * string/test-strcat-ifunc.c: Likewise.
68634         * string/test-strchr-ifunc.c: Likewise.
68635         * string/test-strchrnul-ifunc.c: Likewise.
68636         * string/test-strcmp-ifunc.c: Likewise.
68637         * string/test-strcpy-ifunc.c: Likewise.
68638         * string/test-strcspn-ifunc.c: Likewise.
68639         * string/test-strlen-ifunc.c: Likewise.
68640         * string/test-strncasecmp-ifunc.c: Likewise.
68641         * string/test-strncat-ifunc.c: Likewise.
68642         * string/test-strncmp-ifunc.c: Likewise.
68643         * string/test-strncpy-ifunc.c: Likewise.
68644         * string/test-strnlen-ifunc.c: Likewise.
68645         * string/test-strpbrk-ifunc.c: Likewise.
68646         * string/test-strrchr-ifunc.c: Likewise.
68647         * string/test-strspn-ifunc.c: Likewise.
68648         * string/test-strstr-ifunc.c: Likewise.
68650         * debug/Makefile (tests-ifunc): New variable.
68651         (tests): Add $(tests-ifunc).
68652         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68653         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68654         * debug/test-stpcpy_chk-ifunc.c: New file.
68655         * debug/test-strcpy_chk-ifunc.c: Likewise.
68657 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68659         [BZ #13601]
68660         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68661         header is not read in.
68663 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68665         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68666         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68667         directly.  Pass built executable to script as
68668         $(built-program-cmd).
68669         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68670         $testprogram without using LD_LIBRARY_PATH and $ldso.
68672         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68673         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68674         $(rtld-installed-name).
68675         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68676         (rtld_installed_name): Likewise.
68677         (library_path): Likewise.
68678         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68679         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68680         $(run-program-prefix) to tst-tables.sh.
68681         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68682         it to run tst-table-from and tst-table-to.
68683         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68684         Pass it to tst-table.sh.
68685         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68686         $(run-program-prefix) to tst-gettext.sh.
68687         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68688         tst-translit.sh.
68689         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68690         tst-gettext2.sh.
68691         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68692         to run tst-gettext.
68693         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68694         to run tst-gettext2.
68695         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68696         to run tst-translit.
68697         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68698         $(run-program-prefix) to tst-mtrace.sh.
68699         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68700         to run tst-mtrace.
68701         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68702         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68703         $(rtld-installed-name).
68704         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68705         (rtld_installed_name): Likewise.
68706         (run_program_prefix): New variable.  Use it to run wordexp-test.
68708         * Makeconfig (ARCH): Remove all definitions.
68709         (machine): Likewise.
68710         [ARCH]: Remove conditional code.
68711         [!objdir]: Give error.
68712         [!objdir] (objpfx): Remove.
68713         [!objdir] (common-objpfx): Likewise.
68714         [!objdir] (common-objdir): Likewise.
68715         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68716         AC_CONFIG_FILES call.
68717         * configure: Regenerated.
68719         [BZ #13888]
68720         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68721         or TMPDIR.
68722         (testout): Likewise.
68724         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68725         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68726         $(rtld-installed-name).
68727         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68728         (rtld_installed_name): Likewise.
68729         (runit): Remove function.
68730         (run_getconf): New variable,  Use it for running getconf binary.
68732 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68734         [BZ #14716]
68735         * string/test-memmem.c (check_result): New function.
68736         (do_one_test): Use it.
68737         (check1): New function.
68738         (test_main): Use it.
68740 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68742         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68744 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68746         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68747         (_G_LSEEK64): Likewise.
68748         (_G_MMAP64): Likewise.
68749         (_G_FSTAT64): Likewise.
68750         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68751         (_G_LSEEK64): Likewise.
68752         (_G_MMAP64): Likewise.
68753         (_G_FSTAT64): Likewise.
68754         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68755         unconditional.  Call __mmap64 directly.
68756         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68757         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68758         __lseek64 directly.
68759         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68760         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68761         __mmap64 directly.
68762         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68763         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68764         __lseek64 directly.
68765         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68766         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68767         __lseek64 directly.
68768         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68769         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68770         __lseek64 directly.
68771         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68772         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68773         __fxstat64 directly.
68774         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68775         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68776         unconditional.
68777         (freopen64) [!_G_OPEN64]: Remove conditional code.
68778         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68779         unconditional.
68780         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68781         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68782         unconditional.
68783         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68784         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68785         unconditional.
68786         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68787         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68788         unconditional.
68789         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68790         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68791         unconditional.
68792         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68793         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68794         unconditional.
68795         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68796         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68797         unconditional.
68798         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68800 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68802         [BZ #12140]
68803         * manual/memory.texi (Malloc Tunable Parameters): Add note
68804         about free list pointers overwriting some perturb bytes.
68805         Wording suggested by Roland McGrath.
68807 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68809         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68810         (lgamma_test): Likewise.
68811         (tgamma_test): Likewise.
68813 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68815         [BZ #14700]
68816         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68817         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68819 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68821         * NEWS: Mention BZ #14716.
68822         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68823         when removing AVAILABLE1_USES_J macro.
68825 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68827         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68828         (__bswap_64): __uint64_t for unsigned 64-bit int.
68830 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68832         * include/string.h (memmem): Declare libc hidden alias.
68833         * string/memmem.c (memmem): Define libc hidden alias.
68834         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68835         __read, __close instead of open, read, close.
68837 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68839         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68840         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68841         global and hidden.
68842         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68843         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68844         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68845         Likewise.
68846         (__rawmemchr_sse2): Likewise.
68847         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68848         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68849         (__strchr_sse2): Likewise.
68850         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68851         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68852         (__strcasecmp_sse2): Likewise.
68853         (__strncasecmp_sse2): Likewise.
68854         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68855         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68856         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68857         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68858         (__strrchr_sse2): Likewise.
68859         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68860         ifunc-impl-list.c.
68861         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68862         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68863         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68864         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68865         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68866         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68867         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68868         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68869         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68870         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68871         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68872         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68873         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68874         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68875         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68876         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68877         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68878         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68879         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68880         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68881         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68882         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68883         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68884         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68885         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68886         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68887         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68888         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68889         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68890         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68892         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68893         global and hidden.
68894         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68895         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68896         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68897         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68898         Likewise.
68899         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68900         Likewise.
68901         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68902         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68903         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68904         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68905         ifunc-impl-list.c.
68906         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68907         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68908         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68909         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68910         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68911         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68912         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68913         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68914         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68915         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68916         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68917         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68918         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68919         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68920         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68921         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68922         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68923         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68924         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68925         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68926         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68927         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68928         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68929         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68930         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68931         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68932         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68933         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68934         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68935         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68936         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68937         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68938         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68939         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68940         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68941         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68942         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68943         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68944         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68945         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68946         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68948         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68949         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68950         * include/ifunc-impl-list.h: New file.
68951         * misc/ifunc-impl-list.c: Likewise.
68952         * misc/Makefile (routines): Add ifunc-impl-list.
68953         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68954         * string/test-string.h: Include <ifunc-impl-list.h>.
68955         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68956         TEST_NAME]: New variables.
68957         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68958         are defined.
68959         (test_init): Call __libc_ifunc_impl_list to initialize
68960         func_list if TEST_IFUNC and TEST_NAME are defined.
68962         * string/Makefile (strop-tests): Add bcopy and bzero.
68963         * string/test-bcopy.c: New file.
68964         * string/test-bzero.c: Likewise.
68965         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68966         defined.
68967         * string/test-memset.c: Support bzero test if TEST_BZERO is
68968         defined.
68969         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68970         __libc_memmove.
68971         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68972         __libc_memset.
68973         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68974         of memset.
68976 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68978         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68979         * configure: Regenerated.
68981         * Makeconfig (+link-static-before-libc): Don't include
68982         $(link-static-libc).
68984         * libio/libio.h (_IO_pos_t): Remove.
68986 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68988         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68989         McGrath.
68991 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68993         * crypt/crypt-entry.c: Include fips-private.h.
68994         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68995         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68996         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68997         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68999 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
69001         * crypt/crypt-private.h: Include stdbool.h.
69002         (_ufc_setup_salt_r): Return bool.
69003         * crypt/crypt-entry.c: Include errno.h.
69004         (__crypt_r): Return NULL with EINVAL for bad salt.
69005         * crypt/crypt_util.c (bad_for_salt): New.
69006         (_ufc_setup_salt_r): Check that salt is long enough and within
69007         the specified alphabet.
69008         * crypt/badsalttest.c: New file.
69009         * crypt/Makefile (tests): Add it.
69010         ($(objpfx)badsalttest): New.
69012 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
69014         * NEWS: Add entry for BZ #14602.
69016 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69018         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
69019         type-generic.
69020         * math/libm-test.inc: Update comment listing what functions and
69021         macros are tested.
69022         (isgreater_test): New function.
69023         (isgreaterequal_test): Likewise.
69024         (isless_test): Likewise.
69025         (islessequal_test): Likewise.
69026         (islessgreater_test): Likewise.
69027         (isunordered_test): Likewise.
69028         (main): Call the new functions.
69030 2012-10-09  Roland McGrath  <roland@hack.frob.com>
69032         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
69033         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
69034         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
69035         * sysdeps/i386/configure: Regenerated.
69036         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
69037         * sysdeps/mach/configure: Regenerated.
69038         * sysdeps/mach/hurd/configure: Regenerated.
69039         * sysdeps/powerpc/configure: Regenerated.
69040         * sysdeps/powerpc/powerpc32/configure: Regenerated.
69041         * sysdeps/powerpc/powerpc64/configure: Regenerated.
69042         * sysdeps/s390/s390-32/configure: Regenerated.
69043         * sysdeps/s390/s390-64/configure: Regenerated.
69044         * sysdeps/sh/configure: Regenerated.
69045         * sysdeps/sparc/configure: Regenerated.
69046         * sysdeps/unix/sysv/linux/configure: Regenerated.
69047         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
69048         * sysdeps/x86_64/configure: Regenerated.
69050         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
69051         defined.  Don't check if MAP is NULL.
69053 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69055         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69056         (_G_stat64): Likewise.
69057         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69058         (_G_stat64): Likewise.
69059         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69060         instead of struct _G_stat64.
69061         * libio/fileops.c (mmap_remap_check): Likewise.
69062         (decide_maybe_mmap): Likewise.
69063         (_IO_new_file_seekoff): Likewise.
69064         (_IO_file_stat): Likewise.
69065         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69066         _G_off64_t.
69067         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69068         instead of struct _G_stat64.
69069         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69071 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69073         [BZ #14602]
69074         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69075         Replace with ...
69076         (CHECK_EOL): New macro.
69077         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69078         CHECK_EOL.
69079         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69080         Replace with CHECK_EOL.
69081         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69082         Replace with CHECK_EOL.
69084 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69086         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69087         type-generic.
69088         * math/libm-test.inc: Update comment listing what functions and
69089         macros are tested.
69090         (finite_test): New function.
69091         (isinf_test): Likewise.
69092         (isnan_test): Likewise.
69093         (fpclassify_test): Test subnormal input.
69094         (isfinite_test): Likewise.
69095         (isnormal_test): Likewise.
69096         (main): Call the new functions.
69098 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69100         [BZ #14660]
69101         * Makerules (%.dynsym): Force C locale when running
69102         $(OBJDUMP) --dynamic-syms.
69104 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69106         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69107         <stdint.h>.
69109 2012-10-06  David S. Miller  <davem@davemloft.net>
69111         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69112         upper 32-bits of the length value in %o2 since we use branch-on-register
69113         tests which consider the entire 64-bit register.
69115 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69117         * string/test-strstr.c (check2): Add a test for page boundary.
69119 2012-10-05  David S. Miller  <davem@davemloft.net>
69121         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69122         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69123         file.
69124         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69125         sysdep_routines.
69126         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69127         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69128         and bzero when HWCAP_SPARC_CRYPTO is present.
69130 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69132         [BZ #14602]
69133         * string/test-strstr.c (check2): New function.
69134         (test_main): Call check2.
69136         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69137         and bug-strchr1.
69138         * string/bug-strcasestr1.c (do_test): Moved to ...
69139         * string/test-strcasestr.c (check1): Here.  New function.
69140         (do_one_test): Break out result checking code into ...
69141         (check_result): This.  New function.
69142         (do_one_test): Call check_result.
69143         (test_main): Call check1.
69144         * string/bug-strchr1.c (do_test): Moved to ...
69145         * string/test-strchr.c (check1): Here.  New function.
69146         (do_one_test): Break out result checking code into ...
69147         (check_result): This.  New function.
69148         (do_one_test): Call check_result.
69149         (test_main): Call check1.
69150         * string/bug-strstr1.c (main): Moved to ...
69151         * string/test-strstr.c (check1): Here.  New function.
69152         (do_one_test): Break out result checking code into ...
69153         (check_result): This.  New function.
69154         (do_one_test): Call check_result.
69155         (test_main): Call check1.
69156         * string/bug-strcasestr1.c: Removed.
69157         * string/bug-strchr1.c: Likewise.
69158         * string/bug-strstr1.c: Likewise.
69160         * elf/Makefile (dl-routines): Add hwcaps.
69161         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69162         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69163         (_dl_important_hwcaps): Moved to ...
69164         * elf/dl-hwcaps.c: Here.  New file.
69165         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69167         [BZ #14557]
69168         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69169         if IS_IN_rtld isn't defined.
69171         * elf/dl-support.c (_dl_sysinfo_map): New.
69172         Include "get-dynamic-info.h" and "setup-vdso.h".
69173         (_dl_non_dynamic_init): Call setup_vdso.
69174         * elf/dynamic-link.h: Don't include <assert.h>.
69175         (elf_get_dynamic_info): Moved to ...
69176         * elf/get-dynamic-info.h: Here.  New file.
69177         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69178         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69179         * elf/setup-vdso.h: Here.  New file.
69180         * elf/rtld.c: Include "setup-vdso.h".
69181         (dl_main): Call setup_vdso.
69183 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69185         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69186         creal in comment listing functions tested.  List finite, isinf,
69187         isnan, isless, islessequal, isgreater, isgreaterequal,
69188         islessgreater, isunordered, lgamma_r and pow10 as functions and
69189         macros not tested.  Mention which functions not tested are aliases
69190         for other functions.  Fix typo.  Note that signs of NaNs are not
69191         tested.
69193         * scripts/config.guess: Update from config.git.
69194         * scripts/config.sub: Likewise.
69196 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69198         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69199         * misc/madvise.c (madvise): Renamed to __madvise.
69200         Make madvise a weak alias.
69201         * include/sys/mman.h: Declare __madvise.
69202         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69203         * sysdeps/unix/syscalls.list
69204         (madvise): Make __madvise the strong name, and madvise a weak alias.
69205         * sysdeps/unix/sysv/linux/syscalls.list
69206         (madvise, mmap): Remove redundant entries.
69207         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69208         * malloc/malloc.c (mtrim): Likewise.
69209         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69211 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69213         * sysdeps/mach/hurd/dl-cache.c: File removed.
69214         * config.h.in (USE_LDCONFIG): New #undef.
69215         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69216         * configure: Regenerated.
69217         * elf/Makefile (dl-routines): Add dl-cache only under
69218         [$(use-ldconfig) = yes].
69219         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69220         cache on [USE_LDCONFIG].
69221         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69222         [USE_LDCONFIG].
69223         * elf/rtld.c (dl_main): Likewise.
69225 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69227         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69228         _SC_LEVEL4_CACHE_LINESIZE.
69230 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69232         * sysdeps/unix/bsd/confstr.h: File removed.
69234 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69236         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69237         sys/sdt-config.h.
69239 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69241         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69242         Make 'mapoff' field ElfW(Off) rather than off_t.
69244 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69246         * nscd/Makefile: Remove nscd-cflags and all its users.
69247         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69248         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69250         [BZ #10631]
69251         * malloc.c (malloc_printerr): Clarify error message.
69253 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69255         [BZ #14648]
69256         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69257         Set bit_FMA_Usable if FMA is supported.
69258         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69259         macro.
69260         (bit_FMA4_Usable): Updated.
69261         (index_FMA_Usable): New macro.
69262         (CPUID_FMA): Likewise.
69263         (HAS_FMA): Defined with bit_FMA_Usable.
69265 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69267         * bits/types.h (__swblk_t): Type removed.
69268         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69269         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69270         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69271         (__SWBLK_T_TYPE): Likewise.
69272         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69273         (__SWBLK_T_TYPE): Likewise.
69274         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69275         (__SWBLK_T_TYPE): Likewise.
69276         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69277         (__SWBLK_T_TYPE): Likewise.
69279 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
69280             Honza Horak <hhorak@redhat.com>
69282         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69283         (xdr_mapname): Use YPMAXMAP as maxsize.
69284         (xdr_peername): Use YPMAXPEER as maxsize.
69285         (xdr_keydat): Use YPAXRECORD as maxsize.
69286         (xdr_valdat): Use YPMAXRECORD as maxsize.
69288 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69290         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69292         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69293         * csu/init-first.c: ... here.
69294         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69295         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69296         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69297         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69298         * sysdeps/i386/init-first.c: File removed.
69299         * sysdeps/sh/init-first.c: File removed.
69301 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
69303         [BZ #14645]
69304         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69305         if x * y might underflow to zero and z is zero.
69306         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69307         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69308         * math/libm-test.inc (min_subnorm_value): New variable.
69309         (fma_test): Add more tests.
69310         (fma_test_towardzero): Likewise.
69311         (fma_test_downward): Likewise.
69312         (fma_test_upward): Likewise.
69313         (initialize): Set min_subnorm_value.
69315 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
69317         [BZ #14638]
69318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69319         0 + 0.
69320         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69321         mode for addition resulting in exact zero.
69322         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69324         exact 0 + 0.
69325         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69326         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69327         * math/libm-test.inc (fma_test): Add more tests.
69328         (fma_test_towardzero): New function.
69329         (fma_test_downward): Likewise.
69330         (fma_test_upward): Likewise.
69331         (main): Call the new functions.
69333 2012-09-28  David S. Miller  <davem@davemloft.net>
69335         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69337 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69339         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69340         instead of SIGALRM.
69342         * sysdeps/gnu/_G_config.h: Moved to ...
69343         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69344         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69345         * sysdeps/generic/_G_config.h: ... here.
69347         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69349         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69351         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69352         Conditionalize target on [libnss_test1.so-version].
69354         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69356         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69357         (elfobjdir): Move out of conditionals.
69359         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69360         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69361         (__nss_lookup_function): Conditionalize label remove_from_tree on
69362         [!DO_STATIC_NSS || SHARED], matching its only use.
69364 2012-09-28  David S. Miller  <davem@davemloft.net>
69366         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69367         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69368         file.
69369         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69370         sysdep_routines.
69371         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69372         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69373         when HWCAP_SPARC_CRYPTO is present.
69375 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69377         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69379 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69381         [BZ #6530]
69382         * stdio-common/vfprintf.c (process_string_arg): Revert
69383         2000-07-22 change.
69385 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69387         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69388         for testcase.
69389         * stdio-common/tst-sprintf.c: Include <locale.h>
69390         (main): Test sprintf's handling of incomplete multibyte
69391         characters.
69393 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69395         * elf/dl-runtime.c (VERSYMIDX): Removed.
69396         * elf/dl-version.c (VERSYMIDX): Likewise.
69397         * elf/do-rel.h (VERSYMIDX): Likewise.
69398         (VALIDX): Likewise.
69399         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69400         * elf/rtld.c (VALIDX): Likewise.
69401         (ADDRIDX): Likewise.
69402         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69403         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69404         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69405         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69406         (VALIDX): Likewise.
69407         (ADDRIDX): Likewise.
69409 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69411         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69413 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69415         [BZ #11438]
69416         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69417         to global scope.
69418         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69419         addresses are in the same scope as 192.0.2/24.
69420         * posix/gai.conf: Document new scope table defaults.
69422 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69424         [BZ #5298]
69425         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69426         for ftell.  Compute offsets from write pointers instead.
69427         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69429 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69431         [BZ #14543]
69432         * libio/Makefile (tests): New test case tst-fseek.
69433         * libio/tst-fseek.c: New test case to verify that fseek/ftell
69434         combination works in wide mode.
69435         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69436         state when the external buffer state changes.
69438 2012-09-27  David S. Miller  <davem@davemloft.net>
69440         [BZ #14376]
69441         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69442         pass reloc->r_addend in as the 'high' argument to
69443         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69447 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69449         * rt/tst-aio2.c: Include <pthread.h>.
69450         * rt/tst-aio3.c: Likewise.
69452 2012-09-27  Steve Ellcey  <sellcey@mips.com>
69454         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69456 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
69458         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69459         contents on [SHARED].
69461 2012-09-26  Marek Polacek  <polacek@redhat.com>
69463         [BZ #14530]
69464         [BZ #13741]
69465         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69466         for C++ and GCC <4.3 as well as for non GCC compilers.
69468 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
69470         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69472 2012-09-25  Roland McGrath  <roland@hack.frob.com>
69474         * Makefile.in (all, install): Declare with .PHONY.
69475         Reported by Michael Hope <michael.hope@linaro.org>.
69477 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69479         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69480         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69481         system header.
69482         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69483         Likewise.
69484         (sydep_routines): Add the new and the internal functions.
69485         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69486         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69488         (GLIBC_2.17): Add the new function.
69489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69490         (GLIBC_2.17): Likewise.
69491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69492         (GLIBC_2.17): Likewise.
69493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69494         (GLIBC_2.17): Likewise.
69495         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69497 2012-09-25  Alan Modra  <amodra@gmail.com>
69499         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69500         Add release barrier before setting once_control to say
69501         initialisation is done.  Add hints on lwarx.  Use macro in
69502         place of isync.
69503         (clear_once_control): Add release barrier.
69505 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69507         [BZ #13629]
69508         * math/s_clog.c (__clog): Handle more values close to |z| = 1
69509         specially.
69510         * math/s_clog10.c (__clog10): Likewise.
69511         * math/s_clog10f.c (__clog10f): Likewise.
69512         * math/s_clog10l.c (__clog10l): Likewise.
69513         * math/s_clogf.c (__clogf): Likewise.
69514         * math/s_clogl.c (__clogl): Likewise.
69515         * math/Makefile (libm-calls): Add x2y2m1.
69516         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69517         (__x2y2m1): Likewise.
69518         (__x2y2m1l): Likewise.
69519         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69520         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69521         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69522         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69523         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69524         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69525         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69526         * sysdeps/i386/fpu/libm-test-ulps: Update.
69527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69529         [BZ #14621]
69530         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69531         int as type of variable DEPTH.
69532         (glob): Use size_t instead of int as type of variables NEWCOUNT
69533         and OLD_PATHC.
69535 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69537         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69538         Add s_sincosf-sse2.
69539         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69540         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69541         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69542         macros for using routine as __sincosf_ia32.
69543         Use macro for function declaration and weak_alias.
69544         * sysdeps/i386/fpu/libm-test-ulps: Update.
69546         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69547         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69549         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69550         subnormal argument.
69551         * math/s_cexpf.c (__cexpf): Likewise.
69552         * math/s_csinf.c (__csinf): Likewise.
69553         * math/s_csinhf.c (__csinhf): Likewise.
69554         * math/s_ctanf.c (__ctanf): Likewise.
69555         * math/s_ctanhf.c (__ctanhf): Likewise.
69556         * math/s_ccosh.c (__ccoshf): Likewise.
69557         * math/s_cexp.c (__cexpl): Likewise.
69558         * math/s_csin.c (__csin): Likewise.
69559         * math/s_csinh.c (__csinh): Likewise.
69560         * math/s_ctan.c (__ctan): Likewise.
69561         * math/s_ctanh.c (ctanh): Likewise.
69562         * math/s_ccoshl.c (__ccoshl): Likewise.
69563         * math/s_cexpl.c (__cexpl): Likewise.
69564         * math/s_csinl.c (__csinl): Likewise.
69565         * math/s_csinhl.c (__csinhl): Likewise.
69566         * math/s_ctanl.c (__ctanl): Likewise.
69567         * math/s_ctanhl.c (__ctanhl): Likewise.
69569 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69571         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69572         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69573         (_IO_off_t): Define to __off_t, not _G_off_t.
69574         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69575         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69576         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69577         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69578         type of __dummy and __dummy2 fields.
69579         * sysdeps/generic/_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/gnu/_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.
69593         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69594         (_G_ssize_t): Likewise.
69595         (_G_off_t): Likewise.
69596         (_G_pid_t): Likewise.
69597         (_G_uid_t): Likewise.
69598         (_G_wchar_t): Likewise.
69599         (_G_wint_t): Likewise.
69601 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69603         * malloc/arena.c: Include malloc-sysdep.h.
69604         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69605         is sufficient to shrink the heap or an unmap is needed.
69606         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69607         new function check_may_shrink_heap.
69608         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69609         new function check_may_shrink_heap.
69611 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69613         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69614         comments.
69616 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69618         * catgets/test-gencat.sh: Add "set -e".
69619         * elf/tst-pathopt.sh: Likewise.
69620         * grp/tst_fgetgrent.sh: Likewise.
69621         * iconvdata/run-iconv-test.sh: Likewise.
69622         * intl/tst-gettext.sh: Likewise.
69623         * intl/tst-gettext2.sh: Likewise.
69624         * intl/tst-gettext4.sh: Likewise.
69625         * intl/tst-gettext6.sh: Likewise.
69626         * intl/tst-translit.sh: Likewise.
69627         * io/ftwtest-sh: Likewise.
69628         * libio/test-freopen.sh: Likewise.
69629         * malloc/tst-mtrace.sh: Likewise.
69630         * posix/globtest.sh: Likewise.
69631         * posix/tst-getconf.sh: Likewise.
69632         * posix/wordexp-tst.sh: Likewise.
69633         * stdio-common/tst-printf.sh: Likewise.
69634         * stdio-common/tst-unbputc.sh: Likewise.
69635         * stdlib/tst-fmtmsg.sh: Likewise.
69636         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69637         * catgets/Makefile: Do not specify -e option when running
69638         testsuite shell scripts.
69639         * elf/Makefile: Likewise.
69640         * grp/Makefile: Likewise.
69641         * iconvdata/Makefile: Likewise.
69642         * intl/Makefile: Likewise.
69643         * io/Makefile: Likewise.
69644         * libio/Makefile: Likewise.
69645         * malloc/Makefile: Likewise.
69646         * posix/Makefile: Likewise.
69647         * stdio-common/Makefile: Likewise.
69648         * stdlib/Makefile: Likewise.
69649         * sysdeps/x86_64/Makefile: Likewise.
69651         * io/ftwtest-sh: Add copyright header.
69652         * posix/globtest.sh: Likewise.
69653         * posix/tst-getconf.sh: Likewise.
69654         * posix/wordexp-tst.sh: Likewise.
69655         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69657 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69659         [BZ #13679]
69660         * Makeconfig (+link): Defined as $(+link-static) if
69661         $(build-shared) isn't yes.
69662         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69663         isn't yes.
69664         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69666         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69668         [BZ #14562]
69669         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69670         new chunk size with MALLOC_ALIGN_MASK.
69672 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69674         [BZ #5044]
69675         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69676         <rounding-mode.h>.
69677         (__printf_fphex): Determine rounding using get_rounding_mode and
69678         round_away.
69679         * stdio-common/tst-printf-round.c (struct hex_test): New
69680         structure.
69681         (hex_tests): New variable.
69682         (test_hex_in_one_mode): New function.
69683         (do_test): Also run tests for hex float output.
69685 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69687         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69688         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69689         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69690         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69691         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69692         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69693         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69694         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69696 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69698         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69699         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69700         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69701         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69703 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69705         [BZ #14579]
69706         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69707         mode only.
69708         * elf/tst-rtld-load-self.sh: New test.
69709         * elf/Makefile: Run it.
69711 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69713         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69714         (tst-writev-ENV): Remove.
69715         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69717 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69719         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69721 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69723         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69724         unconditional.
69725         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69726         Likewise.
69727         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69728         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69729         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69730         Likewise.
69732 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69734         [BZ #14587]
69735         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69736         * config.make.in (have-cpp-asm-debuginfo): Removed.
69737         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69738         * configure: Regenerated.
69740 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69742         [BZ #5044]
69743         * stdio-common/printf_fp.c: Include <stdbool.h> and
69744         <rounding-mode.h>.
69745         (___printf_fp): Determine rounding using get_rounding_mode and
69746         round_away.
69747         * stdio-common/tst-printf-round.c: New file.
69748         * stdio-common/Makefile (tests): Add tst-printf-round.
69749         (link-libm): New variable.
69750         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69752 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69754         [BZ #14576]
69755         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69756         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69757         Likewise.
69758         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69759         Likewise.
69761 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69763         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69764         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69765         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69766         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69768 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69770         [BZ #14518]
69771         * include/rounding-mode.h: New file.
69772         * sysdeps/generic/get-rounding-mode.h: Likewise.
69773         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69774         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69775         (MAX_VALUE): New macro.
69776         (MIN_VALUE): Likewise.
69777         (overflow_value): New function.
69778         (underflow_value): Likewise.
69779         (round_and_return): Use overflow_value and underflow_value to
69780         determine return values in overflow and underflow cases.  Use
69781         round_away to determine rounding depending on rounding mode.
69782         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69783         determine return values in overflow and underflow cases.
69784         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69785         (struct test_results): New structure.
69786         (struct test): Use struct test_results to store expected results
69787         for all rounding modes.
69788         (TEST): Include expected results for all rounding modes.
69789         (test_in_one_mode): New function.
69790         (do_test): Use test_in_one_mode to compute and check results.
69791         Check results for all rounding modes.
69792         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69793         $(link-libm).
69795 2012-12-09  Allan McRae  <allan@archlinux.org>
69797         * sysdeps/i386/fpu/libm-test-ulps: Update
69799 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69801         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69802         (_G_int32_t): Likewise.
69803         (_G_uint16_t): Likewise.
69804         (_G_uint32_t): Likewise.
69805         (_G_HAVE_BOOL): Likewise.
69806         (_G_HAVE_ATEXIT): Likewise.
69807         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69808         (_G_HAVE_IO_FILE_OPEN): Likewise.
69809         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69810         (_G_int32_t): Likewise.
69811         (_G_uint16_t): Likewise.
69812         (_G_uint32_t): Likewise.
69813         (_G_HAVE_BOOL): Likewise.
69814         (_G_HAVE_ATEXIT): Likewise.
69815         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69816         (_G_HAVE_IO_FILE_OPEN): Likewise.
69817         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69818         (_G_int32_t): Likewise.
69819         (_G_uint16_t): Likewise.
69820         (_G_uint32_t): Likewise.
69821         (_G_HAVE_BOOL): Likewise.
69822         (_G_HAVE_ATEXIT): Likewise.
69823         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69824         (_G_HAVE_IO_FILE_OPEN): Likewise.
69826 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69828         * csu/libc-tls.c: Update copyright years.
69830 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69832         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69833         [!_G_USING_THUNKS]: Remove conditional code.
69834         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69835         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69837         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69838         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69839         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69840         (_G_VTABLE_LABEL_PREFIX): Likewise.
69841         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69842         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69843         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69844         (_G_VTABLE_LABEL_PREFIX): Likewise.
69845         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69846         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69847         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69848         (_G_VTABLE_LABEL_PREFIX): Likewise.
69849         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69851 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69853         * libio/Makefile: Include ../Makeconfig before tests.
69854         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69855         only if $(build-shared) is yes.
69857         * iconv/gconv_db.c: Update copyright years.
69859 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69861         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69862         unwind info if defined PIC. Fix special cases description.
69863         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69865         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69866         DP_HI_MASK entry.
69867         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69869 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69871         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69873         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69874         is NULL.
69876         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69877         (LDLIBS-tst-chk4): This.
69878         (LDFLAGS-tst-chk5): Renamed to ...
69879         (LDLIBS-tst-chk5): This.
69880         (LDFLAGS-tst-chk6): Renamed to ...
69881         (LDLIBS-tst-chk6): This.
69882         (LDFLAGS-tst-lfschk4): Renamed to ...
69883         (LDLIBS-tst-lfschk4): This.
69884         (LDFLAGS-tst-lfschk5): Renamed to ...
69885         (LDLIBS-tst-lfschk5): This.
69886         (LDFLAGS-tst-lfschk6): Renamed to ...
69887         (LDLIBS-tst-lfschk6): This.
69889         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69890         on $(common-objpfx)soversions.mk.
69892 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69894         [BZ #10014]
69895         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69896         example host name.
69898 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69900         * malloc/arena.c (arena_get_retry): New function that gets
69901         another arena for the caller to try its request on.
69902         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69903         current arena cannot fulfill the request.
69904         (__libc_memalign): Likewise.
69905         (__libc_memalign): Likewise.
69906         (__libc_pvalloc): Likewise.
69907         (__libc_calloc): Likewise.
69909 2012-09-05  John Tobey  <john.tobey@gmail.com>
69911         [BZ #13542]
69912         * manual/arith.texi (Operations on Complex): Fix description
69913         of carg branch cut.
69915 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69917         [BZ #10014]
69918         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69919         host name.
69921         [BZ #10038]
69922         * manual/memory.texi (Memory): Make order of menu items match
69923         order of sections.
69925 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69927         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69928         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69929         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69931 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69933         * csu/libc-tls.c (static_dtv): Renamed to ...
69934         (_dl_static_dtv): This.  Make it global.
69935         (_dl_initial_dtv): Removed.
69936         (__libc_setup_tls): Updated.
69937         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69938         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69939         DL_INITIAL_DTV.
69941 2012-09-06  Petr Machata  <pmachata@redhat.com>
69943         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69944         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69945         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69946         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69948 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69950         [BZ #14545]
69951         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69952         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69953         freeing dtv[-1].
69955 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69957         [BZ #14544]
69958         * Makeconfig (link-static-before-libc): Replace $(+prector)
69959         with $(+prectorT).
69960         (link-static-after-libc): Replace $(+postctor) with
69961         $(+postctorT).
69962         (link-bounded): Replace $(+prector)/$(+postctor) with
69963         $(+prectorT)/$(+postctorT).
69964         (+prectorT): New macro.
69965         (+postctorT): Likewise.
69967 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69969         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69970         (round_str): Handle values above the maximum for IBM long double
69971         as inexact.
69972         * stdlib/tst-strtod-round.c (tests): Regenerated.
69974 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69976         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69977         assembler flag.
69978         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69979         zarch_nohighgprs around the zarch optimized routines.
69980         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69981         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69982         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69983         for zarch.
69985 2012-09-05  David S. Miller  <davem@davemloft.net>
69987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69989         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69990         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69991         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69992         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69993         entries.
69995 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69997         * malloc/arena.c: Fold copyright years.
69998         * malloc/mcheck.c, malloc/memusage.c: Likewise.
70000 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70002         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
70004 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70006         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
70008 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70010         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
70011         change internal state upon failure.
70013 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
70015         * malloc/mcheck.c (mcheck_check_all): Fix typo.
70016         * malloc/memusage.c (mmap): Likewise.
70017         (mmap64, mremap): Likewise.  Adjust name in comment.
70019 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70021         * libio/fileops.c: Fix typos in comments.
70022         * libio/oldfileops.c: Likewise.
70023         * libio/wfileops.c: Likewise.
70025 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
70027         [BZ #1349]
70028         * malloc/Makefile (tests): Add tst-malloc-usable test case.
70029         (tst-malloc-usable-ENV): Set environment for test case.
70030         * malloc/hooks.c (malloc_check_get_size): New function to get
70031         requested size.
70032         * malloc/malloc.c (musable): Use malloc_check_get_size.
70033         * malloc/tst-malloc-usable.c: New test case.
70035 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70037         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
70039 2012-09-05  Allan McRae  <allan@archlinux.org>
70041         [BZ #13966]
70042         * configure.in (CXX_SYSINCLUDES): Use compiler output to
70043         determine header location.
70044         * configure: Regenerated.
70046 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
70048         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
70049         float format.
70050         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
70051         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
70052         format.
70053         (test): Regenerate.
70055 2012-09-04  David S. Miller  <davem@davemloft.net>
70057         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70058         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70059         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70061 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70063         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70064         failures.
70066         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70068 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70070         [BZ #9914]
70071         * libio/iogetdelim.c: Include <limits.h>.
70072         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70073         + len + 1 would overflow.
70075 2012-09-03  Andreas Jaeger  <aj@suse.de>
70077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70078         * sysdeps/i386/fpu/libm-test-ulps: Update.
70080 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70082         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70083         Add s_sinf-sse2, s_conf-sse2.
70085         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70086         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70087         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70088         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70090         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70091         for using routine as __sinf_ia32.
70092         Use macro for function declaration and weak_alias.
70093         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70094         for using routine as __cosf_ia32.
70095         Use macro for function declaration and weak_alias.
70097         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70098         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70100         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70101         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70104         * math/libm-test.inc (cos_test): Add more test cases.
70105         (sin_test): Likewise.
70106         (sincos_test): Likewise.
70108 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70110         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70111         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70112         hidden.
70113         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70115 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70117         [BZ #14538]
70118         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70119         first element of the GOT.
70120         (elf_machine_load_address): Return the difference between
70121         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70123 2012-09-01  Allan McRae  <allan@archlinux.org>
70125         [BZ #13412]
70126         * configure.in (AWK): Require gawk version 3.0 or later.
70127         * configure: Regenerated.
70129 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70131         * sysdeps/unix/sysv/linux/kernel-features.h
70132         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70133         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70134         [__NR_clock_getres]: Make code unconditional.
70135         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70136         (clock_getcpuclockid): Remove code left unreachable by removal of
70137         conditionals.
70138         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70139         code unconditional.
70140         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70141         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70142         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70143         Make code unconditional.
70144         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70145         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70146         * sysdeps/unix/sysv/linux/clock_settime.c
70147         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70148         conditional code.
70149         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70150         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70152 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70154         [BZ #14476]
70155         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70156         scripts/test-installation.pl.
70158         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70159         and $ld_so_version if it is set.
70161 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70163         [BZ #14516]
70164         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70165         failure if reading from procfs failed.
70166         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70168 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70170         * sysdeps/unix/sysv/linux/kernel-features.h
70171         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70172         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70173         Remove conditional code.
70174         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70175         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70176         Remove conditional code.
70177         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70178         * sysdeps/unix/sysv/linux/i386/fxstat.c
70179         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70180         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70181         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70182         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70183         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70184         * sysdeps/unix/sysv/linux/i386/lxstat.c
70185         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70186         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70187         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70188         Remove conditional code.
70189         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70190         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70191         Remove conditional code.
70192         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70193         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70194         <kernel-features.h>.
70195         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70196         Remove.
70197         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70198         Remove conditional code.
70199         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70200         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70201         Remove conditional.
70203 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70205         [BZ #5400]
70206         * NEWS: Add fixed bug number.
70208 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70210         [BZ #14519]
70211         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70212         underflowing exponent in case of negative sign.
70213         * stdlib/tst-strtod-round-data: Add more tests.
70214         * stdlib/tst-strtod-round.c (tests): Regenerated.
70216         [BZ #3479]
70217         * stdlib/strtod_l.c (NDIG): Remove.
70218         (HEXNDIG): Likewise.
70219         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70220         smallest representable value.
70221         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70222         lie within an exact representation of 1/2 ulp of the result.
70223         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70224         unconditionally.
70225         (TENS_P9_IDX): Define unconditionally.
70226         (TENS_P9_SIZE): Likewise.
70227         (TENS_P10_IDX): Likewise.
70228         (TENS_P10_SIZE): Likewise.
70229         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70230         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70231         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70232         entries for 10^2^13 and 10^2^14.
70233         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70234         (TENS_P13_IDX): Define.
70235         (TENS_P13_SIZE): Likewise.
70236         (TENS_P14_IDX): Likewise.
70237         (TENS_P14_SIZE): Likewise.
70238         (_fpioconst_pow10): Change array size to
70239         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70240         unconditional.
70241         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70242         1024]: Add entries for 10^2^13 and 10^2^14.
70243         [LAST_POW10 > _LAST_POW10]: Remove #error.
70244         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70245         (_fpioconst_pow10): Change array size to
70246         FPIOCONST_POW10_ARRAY_SIZE.
70247         * stdlib/gen-fpioconst.c: New file.
70248         * stdlib/gen-tst-strtod-round.c: Likewise.
70249         * stdlib/tst-strtod-round-data: Likewise.
70250         * stdlib/tst-strtod-round.c: Likewise.
70251         * stdlib/Makefile (tests): Add tst-strtod-round.
70253         [BZ #14459]
70254         * stdlib/strtod_l.c: Include <stdint.h>.
70255         (NDEBUG): Do not define.
70256         (round_and_return): Change EXPONENT parameter to type intmax_t.
70257         Rearrange calculations to avoid internal overflow possibilities.
70258         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70259         Rearrange calculations to avoid internal overflow possibilities.
70260         Assert that number fits inside MPNSIZE limbs.
70261         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70262         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70263         calculations and add assertions to avoid internal overflow
70264         possibilities.  Add casts to avoid signed/unsigned operations.
70265         * stdlib/tst-strtod-overflow.c: New file.
70266         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70268 2012-08-25  Marek Polacek  <polacek@redhat.com>
70270         * time/time.h: Fix some typos in comments.
70272 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70274         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70275         * posix/tst-rfc3484-2.c: Likewise.
70276         * posix/tst-rfc3484-3.c: Likewise.
70278 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
70280         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70281         (EF_ARM_ABI_FLOAT_HARD): Likewise.
70283 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
70285         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70286         #include of fxstatat64.c.
70288 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70290         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70291         * shadow/getspent_r.c: Likewise.
70292         * shadow/getspnam.c: Likewise.
70293         * shadow/getspnam_r.c: Likewise.
70294         * gshadow/getsgent.c: Likewise.
70295         * gshadow/getsgent_r.c: Likewise.
70296         * gshadow/getsgnam.c: Likewise.
70297         * gshadow/getsgnam_r.c: Likewise.
70298         * inet/getnetbyad.c: Likewise.
70299         * inet/getnetbyad_r.c: Likewise.
70300         * inet/getnetbynm.c: Likewise.
70301         * inet/getnetbynm_r.c: Likewise.
70302         * inet/getnetent.c: Likewise.
70303         * inet/getnetent_r.c: Likewise.
70304         * inet/getproto.c: Likewise.
70305         * inet/getproto_r.c: Likewise.
70306         * inet/getprtent.c: Likewise.
70307         * inet/getprtent_r.c: Likewise.
70308         * inet/getprtname.c: Likewise.
70309         * inet/getprtname_r.c: Likewise.
70310         * inet/getrpcbyname.c: Likewise.
70311         * inet/getrpcbyname_r.c: Likewise.
70312         * inet/getrpcbynumber.c: Likewise.
70313         * inet/getrpcbynumber_r.c: Likewise.
70314         * inet/getrpcent.c: Likewise.
70315         * inet/getrpcent_r.c: Likewise.
70316         * inet/getaliasent.c: Likewise.
70317         * inet/getaliasent_r.c: Likewise.
70318         * inet/getaliasname.c: Likewise.
70319         * inet/getaliasname_r.c: Likewise.
70320         * nscd/getgrgid_r.c: Likewise.
70321         * nscd/getgrnam_r.c: Likewise.
70322         * nscd/gethstbyad_r.c: Likewise.
70323         * nscd/gethstbynm3_r.c: Likewise.
70324         * nscd/getpwnam_r.c: Likewise.
70325         * nscd/getpwuid_r.c: Likewise.
70326         * nscd/getsrvbynm_r.c: Likewise.
70327         * nscd/getsrvbypt_r.c: Likewise.
70328         * nscd/gai.c: Likewise.
70330         * configure.in (build_nscd): New substituted variable, set
70331         by --disable-build-nscd and defaults to $use_nscd.
70332         * configure: Regenerated.
70333         * config.make.in (build-nscd): New substituted variable.
70334         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70335         Change conditional to require [$(build-nscd) = yes] as well.
70336         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70338         [BZ# 13696]
70339         * configure.in (use_nscd): New substituted variable, set by
70340         --disable-nscd.  If enabled, define USE_NSCD.
70341         * configure: Regenerated.
70342         * config.h.in: Add USE_NSCD.
70343         * config.make.in (use-nscd): New substituted variable.
70344         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70345         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70346         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70347         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70348         (CFLAGS-getgrnam_r.c): Likewise.
70349         (CFLAGS-initgroups.c): Likewise.
70350         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70351         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70352         Variables removed.
70353         * inet/getnetgrent_r.c
70354         (nscd_setnetgrent): New function, broken out of ...
70355         (setnetgrent): ... here.  Call it.
70356         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70357         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70358         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70359         * nscd/Makefile (routines, aux): Move definitions after include of
70360         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70361         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70362         Conditionalize on [USE_NSCD].
70363         (is_nscd, nscd_init_cb): Likewise.
70364         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70365         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70366         * nss/nss_db/db-init.c: Likewise.
70367         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70368         [USE_NSCD].
70369         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70370         (make_request): Use it.
70371         (cache_valid_p): New function.
70372         (__check_pf): Use it.
70373         * NEWS: Add item for --disable-nscd.
70375 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70377         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70378         to support sed >= 4.2.1-20-ga9bf076.
70379         * configure: Regenerated.
70381 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70383         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70384         Conditionalize whole body on [IREL].
70386 2012-08-22  Jeff Law <law@redhat.com>
70388         [BZ #14505]
70389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70390         if the family is PF_UNSPEC.
70392 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70394         * Makerules (lib-version): Rename from V.
70395         (install-lib-nosubdir): Change V to lib-version.
70397 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70399         [BZ #14252]
70400         * powerpc32/power6/wcschr.c: New file.
70401         * powerpc32/power6/wcscpy.c: New file.
70402         * powerpc32/power6/wcsrchr.c: New file.
70403         * powerpc64/power6/wcschr.c: New file.
70404         * powerpc64/power6/wcscpy.c: New file.
70405         * powerpc64/power6/wcsrchr.c: New file.
70407 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70409         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70410         (two_way_short_needle): Use it.
70411         * string/strstr.c (AVAILABLE1_USES_J): Define.
70412         * string/strcasestr.c: Likewise.
70414         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70415         array references.
70416         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70418         [BZ #11607]
70419         * NEWS: Add an entry.
70420         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70421         define their defaults.
70422         (two_way_short_needle): Detect end-of-string on-the-fly.
70423         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70424         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70425         * string/bug-strcasestr1.c: New test.
70426         * string/Makefile: Run it.
70428 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70430         [BZ #11607]
70431         * string/str-two-way.h (two_way_short_needle): Optimize matching of
70432         the first character.
70434 2012-08-21  Roland McGrath  <roland@hack.frob.com>
70436         * csu/elf-init.c (__libc_csu_irel): Function removed.
70437         * csu/libc-start.c (apply_irel): New function.
70438         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70440 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
70442         * sysdeps/unix/sysv/linux/kernel-features.h
70443         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70444         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70445         <kernel-features.h>.
70446         [__NR_fadvise64_64]: Make code unconditional.
70447         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70448         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70449         !__NR_fadvise64_64)]: Likewise.
70450         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70451         !__NR_fadvise64_64))]: Likewise.
70452         [__NR_fadvise64]: Make code unconditional.
70453         [!__NR_fadvise64]: Remove conditional code.
70454         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70455         <kernel-features.h>.
70456         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70457         unconditional.
70458         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70459         conditional code.
70460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70461         not include <kernel-features.h>.
70462         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70463         unconditional.
70464         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70465         conditional code.
70466         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70467         include <kernel-features.h>.
70468         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70469         unconditional.
70470         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70471         conditional code.
70473 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70475         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70476         slight instruction rearrangements per scrollpipe analysis.
70477         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70479 2012-08-20  Roland McGrath  <roland@hack.frob.com>
70481         * manual/syslog.texi (syslog; vsyslog, closelog):
70482         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70483         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70485         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70486         DSOCAPS to match condition on defining it.
70488 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
70490         * sysdeps/unix/sysv/linux/kernel-features.h
70491         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70493         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70494         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70495         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70496         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70497         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70499         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70500         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70502         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70503         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70505         * sysdeps/unix/sysv/linux/kernel-features.h
70506         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70507         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70508         unconditional.
70509         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70510         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70511         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70512         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70513         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70514         Make code unconditional.
70515         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70516         (__mmap64) [!__NR_mmap2]: Likewise.
70517         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70518         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70519         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70520         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70521         [__NR_mmap2]: Make code unconditional.
70522         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70523         (__mmap64) [!__NR_mmap2]: Likewise.
70525 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70527         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70529 2012-08-18  Andreas Jaeger  <aj@suse.de>
70531         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70533 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70535         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70536         * include/unistd.h (__have_sock_cloexec): Likewise.
70537         (__have_pipe2): Likewise.
70538         (__have_dup3): Likewise.
70540 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70542         [BZ #9685]
70543         * include/unistd.h (__have_pipe2): Change define into an extern int.
70544         (__have_dup3): Likewise.
70545         * socket/have_sock_cloexec.c: Include fcntl.h.
70546         (__have_pipe2): New variable.
70547         (__have_dup3): Likewise.
70549 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70551         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70553 2012-08-17  Marek Polacek  <polacek@redhat.com>
70555         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70556         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70558 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70560         * configure.in: Add AC_SUBST for sysheaders.
70561         * configure: Regenerated.
70562         * config.make.in (sysheaders): New substituted variable.
70564         * sysdeps/unix/mkfifo.c: Moved ...
70565         * sysdeps/posix/mkfifo.c: ... here.
70566         * sysdeps/unix/mkfifoat.c: Moved ...
70567         * sysdeps/posix/mkfifoat.c: ... here.
70569         * sysdeps/unix/utime.c: Moved ...
70570         * sysdeps/posix/utime.c: ... here.
70572         * sysdeps/unix/time.c: Moved ...
70573         * sysdeps/posix/time.c: ... here.
70574         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70575         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70577         * sysdeps/unix/nice.c: Moved ...
70578         * sysdeps/posix/nice.c: ... here.
70580         * sysdeps/unix/alarm.c: Moved ...
70581         * sysdeps/posix/alarm.c: ... here.
70583         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70585 2012-08-17  Jeff Law <law@redhat.com>
70587         * intl/Makefile (codeset_mo): New variable.
70588         ($(codeset_mo)): New target.
70589         (tst-codeset.out): Depend on that.  Remove explicit rule.
70590         (tst-gettext3.out, tst-gettext5.out): Likewise.
70591         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70592         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70593         * intl/tst-codeset.sh: Remove.
70594         * intl/tst-gettext3.sh: Likewise.
70595         * intl/tst-gettext5.sh: Likewise.
70597 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70599         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70600         * sysdeps/unix/syscalls.list: ... here.
70602         * sysdeps/posix/getaddrinfo.c
70603         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70604         (gaiconf_init, gaiconf_reload): Use them.
70605         [!_STATBUF_ST_NSEC]
70606         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70607         Define using time_t rather than struct timespec.
70609         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70610         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70611         Macros removed.
70612         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70613         [!NO_THREADS].
70614         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70615         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70616         Likewise.
70618         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70619         __libc_cleanup_push argument.
70621         * bits/param.h: New file.
70622         * misc/sys/param.h: New file.
70623         * include/sys/param.h: New file.
70624         * misc/Makefile (headers): Add bits/param.h.
70625         * sysdeps/generic/sys/param.h: File removed.
70626         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70627         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70628         * sysdeps/mach/hurd/bits/param.h: New file.
70629         * sysdeps/mach/hurd/sys/param.h: File removed.
70631         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70632         last change.
70634         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70635         [_IO_MTSAFE_IO].
70636         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70637         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70638         New macros.
70640         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70641         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70642         rather than -D_IO_MTSAFE_IO conditionally.
70643         * stdio-common/Makefile (CPPFLAGS): Likewise.
70644         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70645         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70646         Use $(libio-mtsafe).
70647         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70648         of -D_IO_MTSAFE_IO.
70649         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70650         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70651         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70652         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70653         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70654         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70655         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70656         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70657         (CFLAGS-fread_u_chk.c): Likewise.
70658         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70659         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70660         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70661         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70662         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70663         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70664         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70665         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70666         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70668         * libio/Makefile: Test [$(libc-reentrant) = yes]
70669         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70671         * Makeconfig
70672         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70673         * sysdeps/pthread/configure: File removed.
70674         * sysdeps/pthread/Makeconfig: New file.
70675         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70676         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70678 2012-08-16  Gary Benson  <gbenson@redhat.com>
70680         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70681         unmapping the first object in a namespace.
70683 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70685         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70686         (__internal_setnetgrent): ... this.  Add internal_function to
70687         definition.  Add libc_hidden_def.
70688         (setnetgrent): Update caller.
70689         (internal_endnetgrent): Renamed to ...
70690         (__internal_endnetgrent): ... this.  Add internal_function to
70691         definition.  Add libc_hidden_def.
70692         (endnetgrent): Update caller.
70693         (internal_getnetgrent_r): Renamed to ...
70694         (__internal_getnetgrent_r): ... this.  Add internal_function to
70695         definition.  Add libc_hidden_def.
70696         (__getnetgrent_r): Update caller.
70697         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70699 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70701         * stdlib/longlong.h: Update from GCC.
70703 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70705         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70706         on _QL, which is set by umul_ppmm but never used.
70707         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70708         variables, which are set by GMP macros but never used.
70709         * stdio-common/_itowa.c (_itowa): Likewise.
70710         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70711         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70713 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70715         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70716         struct La_sh_regs is not constant.
70717         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70718         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70719         and struct La_sparc64_regs are not constant.
70721 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70723         * sysdeps/unix/sysv/linux/kernel-features.h
70724         (__ASSUME_POSIX_TIMERS): Remove.
70725         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70726         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70727         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70728         Make code unconditional.
70729         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70730         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70731         Make code unconditional.
70732         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70733         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70734         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70735         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70736         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70737         Make code unconditional.
70738         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70739         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70740         (__libc_missing_posix_timers): Remove.
70742 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70744         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70745         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70747         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70749         * elf/dl-sym.c: Include <stdlib.h>.
70751         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70752         constants, which avoids warnings in 32-bit builds.
70754         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70755         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70757         * misc/lseek.c: File moved to ...
70758         * io/lseek.c: ... here.
70760         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70762         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70763         shifting LEN more than 31 bits at once.
70765 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70767         [BZ #14195]
70768         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70769         segmentation fault for a case of two empty input strings.
70770         * string/test-strncasecmp.c (check1): Renamed to...
70771         (bz12205): ...this.
70772         (bz14195): Add new testcase for two empty input strings and N > 0.
70773         (test_main): Call new testcase, adapt for renamed function.
70775 2012-08-15  Andreas Jaeger  <aj@suse.de>
70777         [BZ #14090]
70778         * crypt/md5test2.c: New test, based on test supplied by Serge
70779         Belyshev <belyshev@depni.sinp.msu.ru>.
70780         * crypt/Makefile (xtests): Add md5test-giant..
70781         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70783 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70785         [BZ #14090]
70786         * crypt/md5.c (md5_process_block): Don't assume the buffer
70787         length is less than 2**32.
70788         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70789         length is less than 2**64.
70791 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70793         * string/str-two-way.h: Include <sys/param.h>.
70794         (MAX): Macro removed.
70796         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70797         Move #define and #undef of memmove to just before and after
70798         including <string.h>.
70800         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70801         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70802         and after including <string.h>.  Move declarations of
70803         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70804         to before #include "string/memmove.c".
70806         * include/dirent.h: Declare __getdirentries.
70808         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70809         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70811 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70813         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70814         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70815         * sysdeps/i386/configure: Regenerated.
70816         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70817         STABS_CURRENT_FILE, and STABS_FUN.
70818         (END): Remove call to STABS_FUN_END.
70819         (STABS_CURRENT_FILE1): Delete.
70820         (STABS_CURRENT_FILE): Likewise.
70821         (STABS_FUN): Likewise.
70822         (STABS_FUN_END): Likewise.
70823         (STABS_FUN2): Likewise.
70824         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70825         * sysdeps/x86_64/configure: Regenerated.
70827 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70829         * elf/dl-open.c: Include <atomic.h>.
70830         * elf/dl-lookup.c: Likewise.
70832 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70834         * sysdeps/unix/sysv/linux/kernel-features.h
70835         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70836         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70837         unconditionally.
70838         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70839         unconditionally.
70840         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70841         condition on __ASSUME_CLONE_THREAD_FLAGS.
70843 2012-08-14  Andreas Jaeger  <aj@suse.de>
70845         * sysdeps/i386/fpu/libm-test-ulps: Update.
70847 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70849         * include/atomic.h (atomic_exchange_and_add): Split into ...
70850         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70851         New atomic macros.
70853 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70857 2012-08-13  Jeff Law <law@redhat.com>
70859         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70860         null byte in the output string.
70862 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70864         * sysdeps/unix/sysv/linux/kernel-features.h
70865         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70866         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70867         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70868         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70869         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70870         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70871         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70873 2012-08-09  Jeff Law <law@redhat.com>
70875         [BZ #13939]
70876         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70877         When avoid_arena is set, don't retry in the that arena.  Pick the
70878         next one, whatever it might be.
70879         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70880         (arena_lock): Pass in new parameter to arena_get2.
70881         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70882         arena_get2.
70883         (__libc_malloc): Unify retrying after main arena failure with
70884         __libc_memalign version.
70885         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70887 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70889         [BZ #14166]
70890         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70891         to __redirect_strstr.
70892         (__strstr_sse42): Use typeof __redirect_strstr.
70893         (__strstr_ia32): Likewise.
70894         (__libc_strstr): New prototype.
70895         (strstr): Renamed to ...
70896         (__libc_strstr): This.
70897         (strstr): New strong alias of __libc_strstr.
70898         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70899         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70900         __redirect_time.
70901         Include <time.h>.
70902         (__libc_time): New prototype.
70903         (time_ifunc): Replace time with __libc_time.
70904         (time): New strong alias and hidden definition of __libc_time.
70905         (__GI_time): Remove strong alias.
70906         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70907         Include <stddef.h>.
70908         (memmove): Redefined to __redirect_memmove.
70909         (__memmove_sse2): Use typeof __redirect_memmove.
70910         (__memmove_ssse3): Likewise.
70911         (__memmove_ssse3_back): Likewise.
70912         (__libc_memmove): New prototype.
70913         (memmove): Renamed to ...
70914         (__libc_memmove): This.
70915         (memmove): New strong alias of __libc_memmove.
70917 2012-08-08  Mark Salter  <msalter@redhat.com>
70919         * elf/elf.h
70920         (R_MN10300_TLS_GD): Define.
70921         (R_MN10300_TLS_LD): Likewise.
70922         (R_MN10300_TLS_LDO): Likewise.
70923         (R_MN10300_TLS_GOTIE): Likewise.
70924         (R_MN10300_TLS_IE): Likewise.
70925         (R_MN10300_TLS_LE): Likewise.
70926         (R_MN10300_TLS_DTPMOD): Likewise.
70927         (R_MN10300_TLS_DTPOFF): Likewise.
70928         (R_MN10300_TLS_TPOFF): Likewise.
70929         (R_MN10300_SYM_DIFF): Likewise.
70930         (R_MN10300_ALIGN): Likewise.
70931         (R_MN10300_NUM): Update.
70933 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70935         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70936         Remove.
70938 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70940         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70942         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70943         sysdeps/unix -> sysdeps/posix move.
70944         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70946 2012-08-07      Allan McRae     <allan@archlinux.org>
70948         [BZ #14303]
70949         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70950         (SUNOS_CPP): Likewise.
70951         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70952         not found.
70953         (open_input): Call CPP using execvp.
70955 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70957         * sysdeps/unix/sysv/linux/kernel-features.h
70958         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70959         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70960         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70961         (__ASSUME_WAITID_SYSCALL): Likewise.
70962         * sysdeps/unix/sysv/linux/dl-execstack.c
70963         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70964         code unconditional.
70965         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70966         conditional code.
70967         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70968         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70969         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70970         code.
70971         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70972         unconditional.
70973         [__ASSUME_WAITID_SYSCALL]: Likewise.
70974         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70976 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70978         * sysdeps/unix/closedir.c: Renamed to ...
70979         * sysdeps/posix/closedir.c: ... here.
70980         * sysdeps/unix/dirfd.c: Renamed to ...
70981         * sysdeps/posix/dirfd.c: ... here.
70982         * sysdeps/unix/dirstream.h: Renamed to ...
70983         * sysdeps/posix/dirstream.h: ... here.
70984         * sysdeps/unix/fdopendir.c: Renamed to ...
70985         * sysdeps/posix/fdopendir.c: ... here.
70986         * sysdeps/unix/opendir.c: Renamed to ...
70987         * sysdeps/posix/opendir.c: ... here.
70988         * sysdeps/unix/readdir.c: Renamed to ...
70989         * sysdeps/posix/readdir.c: ... here.
70990         * sysdeps/unix/readdir_r.c: Renamed to ...
70991         * sysdeps/posix/readdir_r.c: ... here.
70992         * sysdeps/unix/rewinddir.c: Renamed to ...
70993         * sysdeps/posix/rewinddir.c: ... here.
70994         * sysdeps/unix/seekdir.c: Renamed to ...
70995         * sysdeps/posix/seekdir.c: ... here.
70996         * sysdeps/unix/telldir.c: Renamed to ...
70997         * sysdeps/posix/telldir.c: ... here.
70998         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70999         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
71000         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
71001         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
71003         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
71004         * bits/fcntl.h: ... here.
71006         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
71007         not 0.
71008         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
71009         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
71010         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
71011         (struct flock): Move l_start, l_len to the beginning.
71012         Use __pid_t for l_pid.
71013         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
71014         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
71015         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
71016         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
71017         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
71018         [__USE_LARGEFILE64] (struct flock64): New type.
71019         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
71021         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
71022         * bits/dirent.h: ... here.
71024         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
71025         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
71027 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
71029         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71030         Change from 2.6.0 to 2.6.16.
71031         * sysdeps/unix/sysv/linux/configure: Regenerated.
71032         * sysdeps/unix/sysv/linux/kernel-features.h
71033         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
71034         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
71035         version.
71036         (__ASSUME_UTIMES): Likewise.
71037         (__ASSUME_CLONE_STOPPED): Remove.
71038         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
71039         architectures, not kernel version.
71040         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
71041         (__ASSUME_NO_CLONE_DETACHED): Likewise.
71042         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
71043         (__ASSUME_WAITID_SYSCALL): Likewise.
71044         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
71045         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
71046         * README: State 2.6.16 as minimum Linux kernel version.  Do not
71047         refer to older versions.
71049 2012-08-06  Roland McGrath  <roland@hack.frob.com>
71051         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
71052         Define alphasort64 as an alias.
71053         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71054         Define versionsort64 as an alias.
71055         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71056         Define scandir64 as an alias.
71057         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71058         Define scandirat64 as an alias.
71059         * dirent/alphasort64.c (alphasort64):
71060         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71061         * dirent/versionsort64.c: Likewise.
71062         * dirent/scandir64.c: Likewise.
71063         * dirent/scandirat64.c: Likewise.
71064         * sysdeps/wordsize-64/alphasort.c: File removed.
71065         * sysdeps/wordsize-64/alphasort64.c: File removed.
71066         * sysdeps/wordsize-64/scandir.c: File removed.
71067         * sysdeps/wordsize-64/scandir64.c: File removed.
71068         * sysdeps/wordsize-64/scandirat.c: File removed.
71069         * sysdeps/wordsize-64/scandirat64.c: File removed.
71070         * sysdeps/wordsize-64/versionsort.c: File removed.
71071         * sysdeps/wordsize-64/versionsort64.c: File removed.
71072         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71073         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71074         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71075         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71076         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71077         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71078         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71079         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71081         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71082         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71083         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71084         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71085         [defined __arch64__ || defined __sparcv9]
71086         (__INO_T_MATCHES_INO64_T): New macro.
71087         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71088         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71089         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71090         * sysdeps/unix/sysv/linux/bits/dirent.h
71091         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71092         (_DIRENT_MATCHES_DIRENT64): New macro.
71094         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71095         Define lockf64 as an alias.
71096         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71097         Define fseeko64 as an alias.
71098         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71099         Define ftello64 as an alias.
71100         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71101         Define _IO_fgetpos64 and fgetpos64 as aliases.
71102         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71103         Define _IO_fsetpos64 and fsetpos64 as aliases.
71104         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71105         Conditionalize body on this.
71106         * libio/fseeko64.c: Likewise.
71107         * libio/ftello64.c: Likewise.
71108         * libio/iofgetpos64.c: Likewise.
71109         * libio/iofsetpos64.c: Likewise.
71110         * sysdeps/wordsize-64/lockf.c: File removed.
71111         * sysdeps/wordsize-64/lockf64.c: File removed.
71112         * sysdeps/wordsize-64/fseeko.c: File removed.
71113         * sysdeps/wordsize-64/fseeko64.c: File removed.
71114         * sysdeps/wordsize-64/ftello.c: File removed.
71115         * sysdeps/wordsize-64/ftello64.c: File removed.
71116         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71117         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71118         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71119         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71120         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71121         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71122         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71123         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71124         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71125         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71126         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71127         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71128         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71129         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71131         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71132         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71133         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71134         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71135         [defined __arch64__ || defined __sparcv9]
71136         (__OFF_T_MATCHES_OFF64_T): New macro.
71137         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71138         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71139         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71140         (__OFF_T_MATCHES_OFF64_T): New macro.
71142 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71144         * stdlib/secure-getenv.c (__secure_getenv): Replace
71145         GLIBC_2_16 with GLIBC_2_17.
71147 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71149         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71150         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71152 2012-08-03  David S. Miller  <davem@davemloft.net>
71154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71156 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71158         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71159         Remove.
71160         (__ASSUME_CORRECT_SI_PID): Likewise.
71161         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71162         (__ASSUME_TMPFS_NAME): Likewise.
71163         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71164         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71165         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71166         (HAVE_AUX_SECURE): Make definition unconditional.
71167         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71168         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71170 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71172         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71173         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71174         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71175         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71176         __eloop_threshold instead of SYMLOOP_MAX.
71178         * sysdeps/generic/eloop-threshold.h: New file.
71179         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71180         of MAXSYMLINKS.
71181         * elf/chroot_canon.c (chroot_canon): Likewise.
71183 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71185         [BZ #13717]
71186         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71187         Change to 2.6.0 everywhere.
71188         * sysdeps/unix/sysv/linux/configure: Regenerated.
71189         * sysdeps/unix/sysv/linux/kernel-features.h
71190         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71191         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71192         kernel versions.
71193         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71194         (__ASSUME_FUTEX_REQUEUE): Remove.
71195         (__ASSUME_STATFS64): Define unconditionally.
71196         (__ASSUME_AT_SECURE): Likewise.
71197         (__ASSUME_CORRECT_SI_PID): Likewise.
71198         (__ASSUME_TGKILL): Define without depending on kernel version for
71199         i386.
71200         (__ASSUME_UTIMES): Likewise.
71201         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71202         kernel version.
71203         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71204         (__ASSUME_TMPFS_NAME): Likewise.
71205         * README: Update reference to Linux kernel versions.
71207 2012-08-02  Marek Polacek  <polacek@redhat.com>
71209         [BZ# 14150]
71210         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71211         libc_cv_asm_type_prefix with %.
71212         * configure: Regenerated.
71213         * include/libc-symbols.h: Remove comment about
71214         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71215         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71216         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71217         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71218         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71219         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71220         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71221         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71222         * elf/tst-unique2mod1.c: Likewise.
71223         * elf/tst-unique1mod2.c: Likewise.
71224         * elf/tst-unique1mod1.c: Likewise.
71225         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71226         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71227         Replace ASM_TYPE_DIRECTIVE with .type.
71228         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71229         * sysdeps/i386/sysdep.h: Likewise.
71230         * sysdeps/x86_64/sysdep.h: Likewise.
71231         * sysdeps/sh/sysdep.h: Likewise.
71232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71233         Do not define ASM_TYPE_DIRECTIVE.
71234         * sysdeps/powerpc/sysdep.h: Likewise.
71235         * sysdeps/powerpc/powerpc32/sysdep.h:
71236         Replace ASM_TYPE_DIRECTIVE with .type.
71237         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71238         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71239         * sysdeps/i386/fpu/e_powf.S: Likewise.
71240         * sysdeps/i386/fpu/e_expl.S: Likewise.
71241         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71242         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71243         * sysdeps/i386/fpu/e_pow.S: Likewise.
71244         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71245         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71246         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71247         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71248         * sysdeps/i386/fpu/e_log2.S: Likewise.
71249         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71250         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71251         * sysdeps/i386/fpu/e_powl.S: Likewise.
71252         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71253         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71254         * sysdeps/i386/fpu/e_logl.S: Likewise.
71255         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71256         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71257         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71258         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71259         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71260         * sysdeps/i386/fpu/e_log.S: Likewise.
71261         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71262         * sysdeps/i386/fpu/e_logf.S: Likewise.
71263         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71264         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71265         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71266         * sysdeps/i386/fpu/e_log10.S: Likewise.
71267         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71268         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71269         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71270         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71271         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71272         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71273         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71274         * sysdeps/i386/i686/strtok.S: Likewise.
71275         * sysdeps/i386/i386-mcount.S: Likewise.
71276         * sysdeps/i386/strtok.S: Likewise.
71277         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71278         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71279         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71280         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71281         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71282         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71283         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71284         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71285         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71286         * sysdeps/x86_64/_mcount.S: Likewise.
71287         * sysdeps/x86_64/strtok.S: Likewise.
71288         * sysdeps/sh/_mcount.S: Likewise.
71290 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71292         * libio/iofopen.c: Include <fcntl.h>.
71293         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71294         (_IO_fopen64, fopen64): Define as aliases.
71295         * libio/iofopen64.c: Include <fcntl.h>.
71296         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71297         Conditionalize body on this.
71298         * sysdeps/wordsize-64/iofopen.c: File removed.
71299         * sysdeps/wordsize-64/iofopen64.c: File removed.
71301 2012-08-01  Marek Polacek  <polacek@redhat.com>
71303         * libc/Makeconfig: Use elf in place of binfmt-subdir.
71304         Use dlfcn directly instead of a variable.
71305         (binfmt-subdir): Do not define.
71306         (dlfcn): Likewise.
71308 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
71310         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71311         Remove all definitions.
71312         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71313         <kernel-features.h>.
71314         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71315         (miss_F_GETOWN_EX): Remove all definitions.
71316         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71317         macro definition.
71318         [!__ASSUME_FCNTL64]: Remove conditional code.
71319         [__ASSUME_FCNTL64]: Make code unconditional.
71320         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71321         <kernel-features.h>.
71322         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71323         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71324         (lockf64) [__NR_fcntl64]: Make code unconditional.
71325         (lockf64) [__ASSUME_FCNTL64]: Likewise.
71327         * sysdeps/unix/sysv/linux/kernel-features.h
71328         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71329         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71330         Make code unconditional.
71331         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71332         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71334         [__NR_vfork]: Make code unconditional.
71335         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71336         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71338         [__NR_vfork]: Make code unconditional.
71339         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71340         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71342 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71344         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71345         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71347         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71348         Define mkstemp64 as an alias.
71349         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71350         Define mkstemps64 as an alias.
71351         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71352         Define mkostemp64 as an alias.
71353         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71354         Define mkostemps64 as an alias.
71355         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71356         Conditionalize body on this.
71357         * misc/mkostemp64.c: Likewise.
71358         * misc/mkostemps64.c: Likewise.
71359         * misc/mkstemps64.c: Likewise.
71360         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71361         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71362         * sysdeps/wordsize-64/mkostemp.c: File removed.
71363         * sysdeps/wordsize-64/mkstemp.c: File removed.
71364         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71365         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71366         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71367         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71369         [BZ #14138]
71370         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71371         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71372         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71373         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71375         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71376         compat_symbol macros from <shlib-compat.h> rather than the underlying
71377         default_symbol_version and symbol_version macros, so that DEFAULT
71378         lines in shlib-versions are respected.
71379         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71381 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71383         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71384         Declare with warn_unused_result.
71385         (setgid, setregid, setegid, setresgid): Likewise.
71386         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71387         Likewise.
71388         * WUR-REPORT: Remove set*id functions.
71390 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71392         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71394 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71396         [BZ #10191]
71397         * include/sys/socket.h (__libc_accept, __libc_accept4):
71398         Add attribute_hidden.
71399         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71401         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71402         use of PTR_MANGLE.
71403         * inet/getnetgrent_r.c (setup): Likewise.
71405         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71407 2012-07-31  David S. Miller  <davem@davemloft.net>
71409         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71411 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71413         [BZ #13629]
71414         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71415         value between 1.0 and 2.0 and smaller part has absolute value less
71416         than 1.0.
71417         * math/s_clog10.c (__clog10): Likewise.
71418         * math/s_clog10f.c (__clog10f): Likewise.
71419         * math/s_clog10l.c (__clog10l): Likewise.
71420         * math/s_clogf.c (__clogf): Likewise.
71421         * math/s_clogl.c (__clogl): Likewise.
71422         * math/libm-test.inc (clog_test): Add more tests.
71423         (clog10_test): Likewise.
71424         * sysdeps/i386/fpu/libm-test-ulps: Update.
71425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71427 2012-07-31  Florian Weimer  <fweimer@redhat.com>
71429         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71430         Exit with zero in case no suitable GID is found, and write a
71431         message to standard error.
71433 2012-07-30  Roland McGrath  <roland@hack.frob.com>
71435         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71436         rather than to 1.
71437         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71438         (MAXPATHLEN): Removed.
71439         (NOGROUP, NODEV): New macros.
71440         (setbit, clrbit, isset, isclr): New macros.
71441         (howmany, roundup, powerof2): New macros.
71442         (DEV_BSIZE): New macro.
71444         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71445         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71447         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71448         definition on [!__NO_LONG_DOUBLE_MATH].
71450         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71451         PTR_MANGLE and PTR_DEMANGLE.
71453         * socket/accept4.c (accept4): Rename to __libc_accept4.
71454         Define accept4 as a weak alias.
71456         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71457         on [_DIRENT_HAVE_D_TYPE].
71458         * io/ftw.c (ftw_dir): Likewise.
71460         * io/xmknod.c (__xmknod): Don't check PATH for being null.
71462         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71464         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71465         Use the BSD numbers rather than the arbitrary ones we had.
71466         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71467         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71468         (SIGXCPU, SIGXFSZ): New macros.
71469         (_NSIG): Now 32.
71471         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71472         initializer on [_LIBC_REENTRANT].
71474         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71475         definitions inside [_POSIX_MAPPED_FILES].
71477         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71479         * dirent/opendir.c: Include <fcntl.h>.
71481         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71482         (__libc_getspecific): Likewise.
71483         (__libc_key_create): Likewise.
71485         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71486         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71487         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71488         (tmpfile64): Define as alias.
71489         * sysdeps/wordsize-64/tmpfile.c: File removed.
71490         * sysdeps/wordsize-64/tmpfile64.c: File removed.
71491         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71492         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71494         * stdio-common/vfscanf.c: Include <stdbool.h>.
71495         * nss/makedb.c: Likewise.
71496         * stdio-common/_i18n_number.h: Likewise.
71497         * argp/argp-help.c: Likewise.
71498         * posix/wordexp.c: Likewise.
71499         * sysdeps/posix/spawni.c: Likewise.
71500         * nss/nss_files/files-initgroups.c: Likewise.
71501         * stdio-common/reg-modifier.c: Include <stdlib.h>.
71502         * nss/nss_files/files-initgroups.c: Likewise.
71503         * nss/nss_db/db-netgrp.c: Likewise.
71504         * nss/nss_db/db-initgroups.c: Likewise.
71505         * io/fchmodat.c: Include <sys/stat.h>.
71507         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71508         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71510         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71511         [HAVE_MMAP].
71513         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71514         Add multiple inclusion protection.
71516 2012-07-27  David S. Miller  <davem@davemloft.net>
71518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71520 2012-07-27  Gary Benson  <gbenson@redhat.com>
71522         [BZ #14298]
71523         * elf/rtld.c: Include <stap-probe.h>.
71524         (dl_main): Added static probes "init_start" and "init_complete".
71525         * elf/dl-load.c: Include <stap-probe.h>.
71526         (lose): Take new parameter "nsid".
71527         Added static probe "map_failed".
71528         (_dl_map_object_from_fd): Pass namespace id to lose.
71529         Added static probe "map_start".
71530         (open_verify): Pass namespace id to lose.
71531         * elf/dl-open.c: Include <stap-probe.h>.
71532         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71533         and "reloc_complete".
71534         * elf/dl-close.c: Include <stap-probe.h>.
71535         (_dl_close_worker): Added static probes "unmap_start" and
71536         "unmap_complete".
71537         * elf/rtld-debugger-interface.txt: New file documenting the above.
71539 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71541         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71542         rather than a string variable.
71543         * sunrpc/rpc_main.c (h_output): Likewise.
71544         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71546 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71548         * inet/check_native.c: New file.
71550 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71552         [BZ #13629]
71553         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71554         if larger part has absolute value 1.0.
71555         * math/s_clog10.c (__clog10): Likewise.
71556         * math/s_clog10f.c (__clog10f): Likewise.
71557         * math/s_clog10l.c (__clog10l): Likewise.
71558         * math/s_clogf.c (__clogf): Likewise.
71559         * math/s_clogl.c (__clogl): Likewise.
71560         * math/libm-test.inc (clog_test): Add more tests.
71561         (clog10_test): Likewise.
71562         * sysdeps/i386/fpu/libm-test-ulps: Update.
71563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71565         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71566         (pltexit): Likewise.
71567         (La_regs): Likewise.
71568         (La_retval): Likewise.
71569         (int_retval): Likewise.
71570         Update #error for removed macros to refer only to definitions in
71571         tst-audit.h.
71572         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71573         macro.
71574         (pltexit): Likewise.
71575         (La_regs): Likewise.
71576         (La_retval): Likewise.
71577         (int_retval): Likewise.
71578         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71579         macro.
71580         (pltexit): Likewise.
71581         (La_regs): Likewise.
71582         (La_retval): Likewise.
71583         (int_retval): Likewise.
71584         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71585         macro.
71586         (pltexit): Likewise.
71587         (La_regs): Likewise.
71588         (La_retval): Likewise.
71589         (int_retval): Likewise.
71590         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71591         macro.
71592         (pltexit): Likewise.
71593         (La_regs): Likewise.
71594         (La_retval): Likewise.
71595         (int_retval): Likewise.
71596         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71597         macro.
71598         (pltexit): Likewise.
71599         (La_regs): Likewise.
71600         (La_retval): Likewise.
71601         (int_retval): Likewise.
71602         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71603         macro.
71604         (pltexit): Likewise.
71605         (La_regs): Likewise.
71606         (La_retval): Likewise.
71607         (int_retval): Likewise.
71608         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71609         macro definitions in tst-audit.h.
71610         * sysdeps/i386/tst-audit.h: New file.
71611         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71612         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71613         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71614         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71615         * sysdeps/sh/tst-audit.h: Likewise.
71616         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71617         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71618         * sysdeps/x86_64/tst-audit.h: Likewise.
71620 2012-07-26  Andreas Jaeger  <aj@suse.de>
71622         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71623         ptrace.
71625         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71626         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71627         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71628         PTRACE_O_MASK.
71629         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71630         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71631         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71633         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71634         value.
71636         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71637         _sigsys.
71638         (si_call_addr, si_syscall, si_arch): Define new macro.
71639         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71640         _sigsys.
71641         (si_call_addr, si_syscall, si_arch): Define new marcro.
71642         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71643         _sigsys.
71644         (si_call_addr, si_syscall, si_arch): Define new macro.
71645         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71646         _sigsys.
71647         (si_call_addr, si_syscall, si_arch): Define new macro.
71649 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71651         [BZ #13717]
71652         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71653         Change to 2.4.21 where previously 2.4.1.
71654         * sysdeps/unix/sysv/linux/configure: Regenerated.
71655         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71656         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71657         Linux kernel version.
71658         (__ASSUME_STD_AUXV): Remove.
71659         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71660         kernel version.
71661         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71662         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71663         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71664         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71665         (__ASSUME_NETLINK_SUPPORT): Likewise.
71666         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71667         (__no_netlink_support): Remove conditional definition.
71668         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71669         Remove.
71670         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71671         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71672         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71673         (if_nameindex_ioctl): Remove.
71674         (if_nameindex_netlink): Do not handle __no_netlink_support.
71675         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71676         code.
71677         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71678         Remove conditional code.
71679         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71680         code.
71681         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71682         unconditional.
71683         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71684         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71685         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71686         Remove.
71687         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71688         [!__ASSUME_STD_AUXV]: Remove conditional code.
71689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71690         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71691         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71693         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71694         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71695         code.
71696         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71698         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71699         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71700         conditional code.
71701         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71703         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71704         code.
71705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71706         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71707         conditional code.
71708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71709         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71710         code unconditional.
71711         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71712         conditional code.
71713         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71714         unconditional.
71715         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71716         conditional code.
71717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71718         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71719         unconditional.
71720         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71721         conditional code.
71722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71723         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71724         code unconditional.
71725         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71726         conditional code.
71727         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71728         unconditional.
71729         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71730         conditional code.
71731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71732         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71733         code unconditional.
71734         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71735         conditional code.
71736         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71737         unconditional.
71738         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71739         conditional code.
71741 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71743         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71744         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71745         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71746         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71747         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71748         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71749         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71750         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71751         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71752         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71753         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71754         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71755         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71756         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71757         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71758         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71759         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71760         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71761         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71762         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71763         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71764         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71765         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71767 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71769         * Versions.def: Add GLIBC_2.17.
71770         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71771         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71772         Introduce __libc_secure_getenv.
71773         * stdlib/Versions (2.17): Add secure_getenv
71774         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71775         * stdlib/secure-getenv.c: Rename __secure_getenv to
71776         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71777         symbol __secure_getenv for GLIBC_2.0.
71778         * stdlib/tst-secure-getenv.c: New.
71779         * stdlib/Makefile (tests): Add testcase.
71780         * manual/startup.texi (Environment Access): Document
71781         secure_getenv.
71782         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71783         __libc_secure_getenv.
71784         * inet/ruserpass.c (ruserpass): Likewise.
71785         * malloc/mtrace.c (mtrace): Likewise.
71786         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71787         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71788         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71789         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71790         HAVE_SECURE_GETENV.
71791         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71792         __secure_getenv to __libc_secure_getenv.
71793         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71795         Likewise.
71796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71797         Likewise.
71798         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71800         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71806 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71808         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71809         (struct La_i86_retval): Likewise.
71810         (struct La_x86_64_regs): Likewise.
71811         (struct La_x86_64_retval): Likewise.
71812         (struct La_x32_regs): Likewise.
71813         (struct La_x32_retval): Likewise.
71814         (struct La_ppc32_regs): Likewise.
71815         (struct La_ppc32_retval): Likewise.
71816         (struct La_ppc64_regs): Likewise.
71817         (struct La_ppc64_retval): Likewise.
71818         (struct La_sh_regs): Likewise.
71819         (struct La_sh_retval): Likewise.
71820         (struct La_s390_32_regs): Likewise.
71821         (struct La_s390_32_retval): Likewise.
71822         (struct La_s390_64_regs): Likewise.
71823         (struct La_s390_64_retval): Likewise.
71824         (struct La_sparc32_regs): Likewise.
71825         (struct La_sparc32_retval): Likewise.
71826         (struct La_sparc64_regs): Likewise.
71827         (struct La_sparc64_retval): Likewise.
71828         (struct audit_ifaces): Remove architecture-specific pltenter and
71829         pltexit members.
71830         * sysdeps/i386/ldsodefs.h: New file.
71831         * sysdeps/powerpc/ldsodefs.h: Likewise.
71832         * sysdeps/s390/ldsodefs.h: Likewise.
71833         * sysdeps/sh/ldsodefs.h: Likewise.
71834         * sysdeps/sparc/ldsodefs.h: Likewise.
71835         * sysdeps/x86_64/ldsodefs.h: Likewise.
71837 2012-07-25  Marek Polacek  <polacek@redhat.com>
71839         [BZ #6808]
71840         * math/libm-test.inc (yn_test): Add another test.
71841         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71842         to ERANGE when the result is +-Inf.
71843         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71844         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71845         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71846         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71848 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71850         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71851         equal to 0.
71852         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71853         clock_t.
71854         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71856 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71858         * configure.in <sysdeps resolving>: Correct printing
71859         Implies_before.
71860         * configure: Regenerate.
71862 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71864         * math/w_ilogb.c: Include <limits.h>.
71865         * math/w_ilogbl.c: Likewise.
71867 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71869         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71870         va_copy.  Document allowing for unavailable va_copy only as
71871         pre-C99 compatibility.
71872         * manual/string.texi (Copying and Concatenation): Use va_copy
71873         instead of __va_copy in concat example.
71875 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71877         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71878         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71879         it if not null.
71881         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71882         with O_NOLINK passed to __file_name_lookup.
71884         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71885         with O_NOLINK passed to __file_name_lookup.
71887         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71888         negative N or less than NGIDS.
71890         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71891         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71892         enough.  Use memcpy instead of strncpy.
71894 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71896         * elf/Makefile (check-data): Remove.
71897         (localplt.data): New vpath directive.
71898         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71899         instead of $(check-data).
71900         * scripts/data/localplt-generic.data: Move to ...
71901         * sysdeps/generic/localplt.data: ... here.
71902         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71903         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71904         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71906         ... here.
71907         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71909         ... here.
71910         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71912         ... here.
71913         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71914         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71915         ... here.
71916         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71917         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71918         ... here.
71919         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71920         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71921         ... here.
71923 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71925         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71926         PPC32 and PPC64 files.
71927         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71928         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71930 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71932         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71933         __makecontext_ret to ...
71934         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71935         ... here and call exit if uc_link is NULL.  New file.
71936         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71937         __makecontext_ret.S.
71938         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71939         __makecontext_ret to ...
71940         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71941         ... here and call exit if uc_link is NULL.  New file.
71942         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71943         __makecontext_ret.S.
71945 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71947         * elf/elf.h (R_390_IRELATIVE): New definition.
71948         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71949         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71950         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71951         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71952         (elf_machine_lazy_rel): Likewise.
71953         * sysdeps/s390/dl-irel.h: New file.
71954         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71955         * sysdeps/s390/s390-64/memset.S: New asm code.
71956         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71957         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71958         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71959         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71960         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71961         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71962         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71963         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71964         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71965         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71966         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71967         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71968         * sysdeps/s390/s390-32/memset.S: New asm code.
71969         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71971 2012-07-17  Marek Polacek  <polacek@redhat.com>
71973         [BZ #14349]
71974         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71975         * sysdeps/s390/s390-64/configure.in: Likewise.
71976         * sysdeps/sparc/configure.in: Likewise.
71977         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71978         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71979         * sysdeps/i386/configure.in: Likewise.
71980         * sysdeps/x86_64/configure.in: Likewise.
71981         * sysdeps/sh/configure.in: Likewise.
71982         * sysdeps/s390/s390-32/configure: Regenerated.
71983         * sysdeps/s390/s390-64/configure: Likewise.
71984         * sysdeps/x86_64/configure: Likewise.
71985         * sysdeps/sh/configure: Likewise.
71986         * sysdeps/powerpc/powerpc64/configure: Likewise.
71987         * sysdeps/powerpc/powerpc32/configure: Likewise.
71988         * sysdeps/sparc/configure: Likewise.
71989         * sysdeps/i386/configure: Likewise.
71991         * elf/dl-open.c: Comment fixes.
71993 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71995         * Makefile [CXX] (check-data): Remove.
71996         [CXX] (c++-types.data): New vpath directive.
71997         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71998         vpath.  Do not allow for C++ type data being missing.
71999         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
72000         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
72001         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
72002         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
72003         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
72004         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
72005         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
72006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
72007         ... here.
72008         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
72009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
72010         ... here.
72011         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
72012         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
72013         ... here.
72014         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
72015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
72016         ... here.
72017         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
72018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
72019         ... here.
72020         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
72021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
72022         ... here.
72023         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
72024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
72025         ... here.
72026         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
72027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
72029         * elf/tls-macros.h (TLS_LE): Move architecture-specific
72030         definitions to architecture-specific files.
72031         (TLS_IE): Likewise.
72032         (TLS_LD): Likewise.
72033         (TLS_GD): Likewise.
72034         * sysdeps/i386/tls-macros.h: New file.
72035         * sysdeps/powerpc/tls-macros.h: Likewise.
72036         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
72037         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
72038         * sysdeps/sh/tls-macros.h: Likewise.
72039         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
72040         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
72041         * sysdeps/x86_64/tls-macros.h: Likewise.
72043 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72045         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
72046         zero value for regular exit case.
72048         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
72049         (__start_context): Preserve zero value for regular exit case.
72051 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
72052             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72054         * manual/setjmp.texi (setcontext): Clarify normal process
72055         termination when uc_link is the null pointer.
72056         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72057         exit call.
72059 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72061         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72062         preprocessor.  Test for each exception mask separately.
72064 2012-07-16  Andreas Jaeger  <aj@suse.de>
72066         * po/ru.po: Update from translation team.
72068 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72070         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72071         equal to 0.
72072         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72073         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72074         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72075         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72076         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72078 2012-07-13  Andreas Jaeger  <aj@suse.de>
72080         * po/fr.po: Update from translation team.
72082 2012-07-12  Marek Polacek  <polacek@redhat.com>
72084         [BZ #14173]
72085         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72086         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72087         loop condition.
72089 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72091         [BZ #13717]
72092         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72093         Change to 2.4.1 where previously 2.4.0.
72094         * sysdeps/unix/sysv/linux/configure: Regenerated.
72095         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72096         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72097         version.
72098         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72099         (__ASSUME_AT_CLKTCK): Remove.
72100         (__ASSUME_AT_PAGESIZE): Likewise.
72101         (__ASSUME_AT_XID): Likewise.
72102         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72103         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72104         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72105         unconditionally.
72106         (HAVE_AUX_PAGESIZE): Likewise.
72107         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72108         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72109         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72111 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72113         [BZ #14307]
72114         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72115         the temporary buffer used to invoke __gethostbyname2_r,
72116         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72117         host_data / struct gaih_addrtuple.
72118         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72119         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72120         header file nss/nsswitch.h.
72121         * nss/nsswitch.h (global scope): Add definition of implementation
72122         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72123         resolv/nss_dns/dns-host.c).
72125 2012-07-11  Andreas Jaeger  <aj@suse.de>
72127         * po/fr.po: Update from translation team.
72129         * po/sv.po: Update from translation team
72130         * po/fr.po: Another update from translation team.
72132 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72134         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72135         for subnormals or multiply small sinh result by itself.
72136         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72139 2012-07-11  David S. Miller  <davem@davemloft.net>
72141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72143 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72145         [BZ #14347]
72146         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72147         (INTERNAL_MARK): Shift it here.
72149 2012-07-10  Marek Polacek  <polacek@redhat.com>
72151         [BZ #14151]
72152         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72153         libc_cv_asm_global_directive with .globl.
72154         * configure: Regenerated.
72155         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72156         with .globl.
72157         * sysdeps/i386/configure: Regenerated.
72158         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72159         with .globl.
72160         * sysdeps/x86_64/configure: Regenerated.
72161         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72162         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72163         * elf/tst-unique2mod2.c: Likewise.
72164         * elf/tst-unique2mod1.c: Likewise.
72165         * elf/tst-unique1mod2.c: Likewise.
72166         * elf/tst-unique1mod1.c: Likewise.
72167         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72168         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72169         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72170         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72171         * sysdeps/mach/sysdep.h: Likewise.
72172         * sysdeps/i386/sysdep.h: Likewise.
72173         * sysdeps/i386/i386-mcount.S: Likewise.
72174         * sysdeps/x86_64/_mcount.S: Likewise.
72175         * sysdeps/x86_64/sysdep.h: Likewise.
72176         * sysdeps/sh/_mcount.S: Likewise.
72177         * sysdeps/sh/sysdep.h: Likewise.
72178         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72179         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72180         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72181         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72182         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72183         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72184         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72185         * locale/localeinfo.h: Likewise.
72186         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72187         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72189 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72191         [BZ #14336]
72192         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72193         system".
72194         * manual/message.texi (The Uniforum approach): Likewise.
72195         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72196         (glibc iconv Implementation): Likewise.
72198 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72200         [BZ #14337]
72201         * math/s_clog.c (__clog): Avoid scaling a value down where that
72202         could result in underflow.
72203         * math/s_clog10.c (__clog10): Likewise.
72204         * math/s_clog10f.c (__clog10f): Likewise.
72205         * math/s_clog10l.c (__clog10l): Likewise.
72206         * math/s_clogf.c (__clogf): Likewise.
72207         * math/s_clogl.c (__clogl): Likewise.
72208         * math/libm-test.inc (clog_test): Add more tests.
72209         (clog10_test): Likewise.
72210         * sysdeps/i386/fpu/libm-test-ulps: Update.
72211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72213 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72215         [BZ #14283]
72216         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72217         by 7 not 8 to examine high bit of fractional part.
72219         [BZ #14042]
72220         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72221         for call to __mcount_internal.
72222         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72223         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72224         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72226 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72228         [BZ #14154]
72229         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72230         approximation for values within 0x1p-13f of an odd multiple of
72231         pi/4.
72232         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72233         exception.  Add more tests.
72234         * sysdeps/i386/fpu/libm-test-ulps: Update.
72236         [BZ #6778]
72237         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72238         inputs and return -1 for them.  Do not check for +Inf in case not
72239         reachable for +Inf.
72240         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72241         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72242         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72243         and return -1 for them.  Do not check for +Inf in case not
72244         reachable for +Inf.
72245         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72246         define.
72247         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72248         and return -1 for them.  Do not check for +Inf in case not
72249         reachable for +Inf.
72250         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72251         spurious underflow.
72252         * sysdeps/i386/fpu/libm-test-ulps: Update.
72253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72255 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72257         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72259 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72261         [BZ #14157]
72262         [BZ #14331]
72263         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72264         could result in spurious underflow.  Scale down values above
72265         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72266         * math/s_csqrtf.c (__csqrtf): Likewise.
72267         * math/s_csqrtl.c (__csqrtl): Likewise.
72268         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72269         spurious underflow.
72270         * sysdeps/i386/fpu/libm-test-ulps: Update.
72271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72273 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72275         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72276         xopen-msg.sed.
72277         * catgets/xopen-msg.awk: New file.
72278         * catgets/xopen-msg.sed: Removed.
72280         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72281         po2text.sed.
72282         * intl/po2test.awk: New file.
72283         * intl/po2test.sed: Removed.
72285 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
72287         [BZ #14328]
72288         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72289         or multiply small sinh result by itself.
72290         * math/s_ctanf.c (__ctanf): Likewise.
72291         * math/s_ctanh.c (__ctanh): Likewise.
72292         * math/s_ctanhf.c (__ctanhf): Likewise.
72293         * math/s_ctanhl.c (__ctanhl): Likewise.
72294         * math/s_ctanl.c (__ctanl): Likewise.
72295         * math/libm-test.inc (ctan_test_tonearest): New function.
72296         (ctan_test_towardzero): Likewise.
72297         (ctan_test_downward): Likewise.
72298         (ctan_test_upward): Likewise.
72299         (ctanh_test_tonearest): Likewise.
72300         (ctanh_test_towardzero): Likewise.
72301         (ctanh_test_downward): Likewise.
72302         (ctanh_test_upward): Likewise.
72303         (main): Call these new functions.
72304         * sysdeps/i386/fpu/libm-test-ulps: Update.
72305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72307 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
72309         * .gitignore: Delete /ports entry.
72311 2012-07-03  Andreas Jaeger  <aj@suse.de>
72313         * po/bg.po: Update from translation team.
72314         * po/cs.po: Likewise.
72315         * po/de.po: Likewise.
72316         * po/hr.po: Likewise.
72317         * po/nl.pl: Likewise.
72318         * po/pl.po: Likewise.
72319         * po/vi.po: Likewise.
72321 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
72323         * Makeconfig [!+link] (+link-before-libc): New variable.
72324         [!+link] (+link-after-libc): Likewise.
72325         [!+link] (+link-tests): Likewise.
72326         [!+link] (+link): Define in terms of $(+link-before-libc) and
72327         $(+link-after-libc).
72328         [!+link-static] (+link-static-before-libc): New variable.
72329         [!+link-static] (+link-static-after-libc): Likewise.
72330         [!+link-static] (+link-static-tests): Likewise.
72331         [!+link-static] (+link-static): Define in terms of
72332         $(+link-static-before-libc) and $(+link-static-after-libc).
72333         [build-shared] (link-libc-before-gnulib): New variable.
72334         [build-shared] (link-libc-tests): Likewise.
72335         [build-shared] (link-libc): Define in terms of
72336         $(link-libc-before-gnulib).
72337         [!build-shared] (link-libc-tests): New variable.
72338         (link-libc-static-tests): New variable.
72339         [!gnulib] (gnulib-arch): New variable.
72340         [!gnulib] (gnulib-tests): Likewise.
72341         [!gnulib] (static-gnulib-arch): Likewise.
72342         [!gnulib] (static-gnulib-tests): Likewise.
72343         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72344         Define with "=" instead of ":=".
72345         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72346         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72347         * Rules (binaries-all-notests): New variable.
72348         (binaries-all-tests): Likewise.
72349         (binaries-static-notests): Likewise.
72350         (binaries-static-tests): Likewise.
72351         (binaries-all): Define using $(binaries-all-notests) and
72352         $(binaries-all-tests).
72353         (binaries-static): Define using $(binaries-static-notests) and
72354         $(binaries-static-tests).
72355         (binaries-shared-tests): New variable.
72356         (binaries-shared-notests): Likewise.
72357         (binaries-shared): Remove variable.
72358         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72359         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72360         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72361         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72362         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72363         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72364         * elf/Makefile (sln-modules): New variable.
72365         (extra-objs): Add $(sln-modules:=.o).
72366         (ldconfig-modules): Add static-stubs.
72367         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72368         * elf/static-stubs.c: New file.
72370         [BZ #14283]
72371         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72372         by 7 not 8 to examine high bit of fractional part.  Use volatile
72373         variables when splitting into final array of floats if
72374         __FLT_EVAL_METHOD__ != 0.
72375         * math/libm-test.inc (cos_test): Add another test.
72376         (sin_test): Likewise.
72377         * sysdeps/i386/fpu/libm-test-ulps: Update.
72379         [BZ #14273]
72380         * math/libm-test.inc (cosh_test): Add more tests.
72382         * version.h (RELEASE): Set to "development".
72383         (VERSION): Set to "2.16.90".
72385 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72387         * NEWS: Update copyright. Remove last-updated date.
72388         Mention math library bug fixes and timezone data changes.
72389         * README: Mention GNU/Hurd, x32, and HPPA support status.
72391 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72393         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72395 2012-06-27  Andreas Jaeger  <aj@suse.de>
72397         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72399 2012-06-25  Andreas Jaeger  <aj@suse.de>
72401         * sysdeps/s390/fpu/libm-test-ulps: Update.
72403 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72404             Thomas Schwinge  <thomas@codesourcery.com>
72406         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72407         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72408         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72409         fanotify_mark.
72411 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72413         * sysdeps/mach/start.c: Remove file.
72414         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72415         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72416         * sysdeps/sh/init-first.c: Likewise.
72418         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72419         registers for frame unwinding purposes, add CFI directives.
72420         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72421         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72422         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72423         Likewise.
72425         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72426         __fortify_fail returning.
72427         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72429         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72430         sysdeps/sh/____longjmp_chk.S.
72431         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72432         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72433         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72434         (gen-as-const-headers): Append sigaltstack-offsets.sym.
72436         * sysdeps/sh/abort-instr.h: New file.
72437         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72438         process in case exit returns.
72440         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72441         initialize the GOT register before use.
72443         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72444         calculation of ARGC > 4.
72446         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72447         meaningful names to some local labels.
72449 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72450             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72452         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72453         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72454         (__arch_compare_and_exchange_val_16_acq): Likewise.
72455         (__arch_compare_and_exchange_val_32_acq): Likewise.
72456         (atomic_exchange_and_add): Fix gUSA sequence.
72457         (atomic_add): Likewise.
72458         (atomic_add_negative): Likewise.
72459         (atomic_add_zero): Likewise.
72460         (atomic_bit_test_set): Likewise.
72462 2012-06-22  Andreas Schwab  <schwab@redhat.com>
72464         [BZ #13579]
72465         * include/link.h (struct link_map): Add l_free_initfini.
72466         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72467         l_initfini.
72468         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72469         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72470         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72471         set.
72473 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
72475         * configure.in: Use AC_LANG_SOURCE.
72476         * configure: Regenerate.
72478 2012-06-22  Roland McGrath  <roland@hack.frob.com>
72480         * configure.in (libc_cv_localstatedir): New substituted variable.
72481         * configure: Regenerated.
72482         * config.make.in (localstatedir): New variable, substituted from
72483         libc_cv_localstatedir.
72484         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72485         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72486         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72487         * sysdeps/gnu/configure: Regenerated.
72489 2012-06-21  Jeff Law  <law@redhat.com>
72491         [BZ #14277]
72492         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72493         free.  Simplify list management for _LIBC case.
72495 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
72497         [BZ #14273]
72498         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72499         Clear sign bit of 64-bit integer value before comparing against
72500         overflow value.
72502         * sysdeps/mach/configure: Regenerated.
72504 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
72506         [BZ #14278]
72507         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72509 2012-06-21  Jeff Law  <law@redhat.com>
72511         [BZ #13882]
72512         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
72513         uint16_t for elements in the "seen" array to avoid char overflows.
72514         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72515         * elf/dl-open.c (dl_open_worker): Likewise.
72517 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72519         * scripts/list-sources.sh: Scan PORTS for translations.
72520         * po/libc.pot: Regenerated.
72522 2012-06-21  Andreas Jaeger  <aj@suse.de>
72524         [BZ #12194]
72525         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72526         warning.
72527         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72528         * bits/byteswap-16.h (__bswap_16): Likewise.
72529         * bits/byteswap.h (__bswap_constant_16): Likewise.
72531 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72533         [BZ #14117]
72534         * sysdeps/i386/fpu_control.h: Removed.
72535         * sysdeps/x86_64/fpu_control.h: Moved to ...
72536         * sysdeps/x86/fpu_control.h: Here.
72538         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72539         (_FPU_SETCW): Likewise.
72541 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72543         [BZ #14117]
72544         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72545         * sysdeps/x86/fpu/bits/mathinline.h: This.
72546         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72548         [BZ #14050]
72549         [BZ #14117]
72550         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72551         functions if __x86_64__ is defined.
72553 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72555         * string/endian.h: Add !__ASSEMBLER__ condition for including
72556         conversion interfaces.
72558 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72560         [BZ #14241]
72561         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72562         of ABS(x) in calculating zero to negative powers other than odd
72563         integers.
72564         * math/libm-test.inc (pow_test): Add more tests.
72566 2012-06-15  Andreas Jaeger  <aj@suse.de>
72568         * manual/contrib.texi (Contributors): Update entry of Liubov
72569         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72570         Machado Filho.
72572 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72574         * string/string.h: Add __wur to GNU version of strerror_r.
72576 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72578         [BZ #14229]
72579         * string/Makefile (tests): Add tst-strtok_r.
72580         * string/tst-strtok_r.c: New file.
72581         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72582         RAX_LP/RDX_LP on SAVE_PTR.
72584 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72586         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72588 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72590         * libm_test.inc (csqrt_test): Allow more spurious underflow
72591         exceptions.
72592         (j0_test): Likewise.
72593         (j1_test): Likewise.
72594         (y0_test): Likewise.
72595         (y1_test): Likewise.
72597 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72599         * po/Makefile (libc.pot): Use UTF-8 charset.
72601 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72603         [BZ #14210]
72604         Suppress sign-conversion warning from FD_SET.
72605         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72606         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72607         not unsigned long int.
72608         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72610 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72612         [BZ #14050]
72613         [BZ #14117]
72614         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72615         __extern_always_inline instead of __extern_inline.
72616         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72617         (__signbit): Likewise.
72618         (__signbitl): Support C++ namespace.
72619         (lrintf): New inline function.
72620         (lrint): Likewise.
72621         (llrintf): Likewise.
72622         (llrint): Likewise.
72623         (fmaxf): Likewise.
72624         (fmax): Likewise.
72625         (fminf): Likewise.
72626         (fmin): Likewise.
72627         (rint): Likewise.
72628         (rintf): Likewise.
72629         (ceil): Likewise.
72630         (ceilf): Likewise.
72631         (floor): Likewise.
72632         (floorf): Likewise.
72633         (nearbyint): Likewise.
72634         (nearbyintf): Likewise.
72636 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72638         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72639         non-default versions.
72641 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72643         [BZ #14218]
72644         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72646 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72648         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72649         (FE_UPWARD, FE_DOWNWARD): Don't define.
72650         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72651         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72653         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72654         reading it.
72655         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72656         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72658 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72660         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72661         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72662         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72663         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72665 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72667         [BZ #14117]
72668         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72669         * sysdeps/i386/fpu/Implies: New file.
72670         * sysdeps/x86_64/fpu/Implies: Likewise.
72671         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72672         * sysdeps/x86/fpu/bits/fenv.h: This.
72674         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72675         __SSE_MATH__.
72677 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72679         [BZ #14134]
72680         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72681         character 0xffff that matches the last element of the
72682         conversion table.
72684 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72686         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72687         fmodl commit.
72689 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72691         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72692         values higher than 25.6283.
72694 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72696         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72697         subnormal exponent extraction and add some __builtin_expect.
72698         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72699         Fix for subnormal mantissa calculation.
72701 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72703         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72704         cpu2 is -1 and errno is not ENOSYS.
72706 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72708         [BZ #14117]
72709         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72710         * sysdeps/x86/bits/string.h: This.
72711         * sysdeps/x86_64/bits/string.h: Removed.
72713         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72714         if not compiling for x86-64, but compiling for >= i486.
72716         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72717         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72719         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72720         New macro from Linux kernel 3.4.0.
72721         (FP_XSTATE_MAGIC2): Likewise.
72722         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72723         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72724         (struct _fpx_sw_bytes): New struct.
72725         (struct _xsave_hdr): Likewise.
72726         (struct _ymmh_state): Likewise.
72727         (struct _xstate): Likewise.
72729         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72730         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72731         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72732         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72733         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72734         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72736         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72737         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72738         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72739         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72740         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72741         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72743 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72745         [BZ #13743]
72746         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72747         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72748         (sysdep_headers): Include sys/platform/ppc.h.
72749         * sysdeps/powerpc/test-gettimebase.c: Test for
72750         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72751         * manual/Makefile (appendices): Include platform.texi.
72752         * manual/contrib.texi (Contributors): Update @node pointers.
72753         * manual/maint.texi (Maintenance): Likewise.
72754         (Platform): New node.
72755         * manual/platform.texi: New file.  Document the new features.
72757 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72758             Jakub Jelinek  <jakub@redhat.com>
72760         [BZ #14188]
72761         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72762         where __builtin_expect is unavailable.
72764 2012-06-03  David S. Miller  <davem@davemloft.net>
72766         * stdlib/longlong.h: Updated from GCC.
72768 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72770         [BZ #14042]
72771         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72772         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72773         __mcount_internal.
72774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72775         (GLIBC_2.16): Likewise.
72777 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72779         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72781 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72784         (default-abi): New variable.
72785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72786         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72787         variable.
72788         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72789         Likewise.
72790         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72791         Likewise.
72792         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72793         Likewise.
72795         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72796         definition.  Document in comment.
72798 2012-06-01  David S. Miller  <davem@davemloft.net>
72800         * stdlib/longlong.h: Updated from GCC.
72802 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72804         [BZ #14117]
72805         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72806         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72807         sys/debugreg.h sys/io.h here.
72808         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72809         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72810         sys/io.h.
72811         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72812         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72813         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72814         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72815         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72816         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72818         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72819         Define only if __x86_64__ is defined.
72821 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72823         [BZ #14048]
72824         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72825         Use int64_t for variable i.
72826         * math/libm-test.inc (fmod_test): Add more tests.
72828         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72829         z computation is not scheduled after fetestexcept.
72830         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72831         Use math_force_eval instead of asm to ensure calculation scheduled
72832         before exception test.
72833         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72834         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72836 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72838         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72839         computation is not scheduled after fetestexcept.
72841 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72843         [BZ #14117]
72844         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72845         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72847 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72849         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72850         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72852 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72854         [BZ #14117]
72855         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72856         <bits/wordsize.h>.
72857         (__WCHAR_MIN): Support __WORDSIZE == 64.
72858         (__WCHAR_MAX): Likewise.
72860         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72861         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72863         [BZ #14183]
72864         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72865         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72867         [BZ #14117]
72868         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72869         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72871         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72872         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72874         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72875         Defined to 1 if __x86_64__ isn't defined.
72876         (_STAT_VER_LINUX_OLD): New.
72877         (st_atime): Remove duplicate.
72878         (st_mtime): Likewise.
72879         (st_ctime): Likewise.
72881 2012-05-31  David S. Miller  <davem@davemloft.net>
72883         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72884         entries.
72886 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72888         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72889         gen-libm-test.pl.
72891         [BZ #14132]
72892         * elf/dl-reloc.c: Include <_itoa.h>.
72893         (_dl_reloc_bad_type): Remove use of INTUSE.
72894         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72895         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72896         * stdio-common/psiginfo.c (psiginfo): Likewise.
72897         * stdio-common/psignal.c (psignal): Likewise.
72898         * string/strsignal.c (strsignal): Likewise.
72899         * include/signal.h (_sys_siglist): Declare hidden proto.
72900         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72901         INTVARDEF with libc_hidden_data_def.
72902         * stdio-common/itoa-udigits.c: Likewise.
72903         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72904         (_itoa_lower_digits_internal): Remove declaration.
72905         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72906         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72907         (_sys_sigabbrev_internal): Remove aliases.
72908         (_sys_siglist): Define hidden alias.
72910 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72912         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72913         bits/sysctl.h.
72915 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72917         [BZ #14117]
72918         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72919         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72921         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72922         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72923         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72924         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72925         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72926         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72928         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72929         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72930         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72932         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72933         with __addr.
72934         (insw): Likewise.
72935         (insl): Likewise.
72936         (outsb): Likewise.
72937         (outsw): Likewise.
72938         (outsl): Likewise.
72940         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72941         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72942         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72944         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72945         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72946         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72947         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72948         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72949         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72951         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72952         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72954         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72955         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72957         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72958         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72959         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72961         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72962         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72963         to ...
72964         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72966         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72967         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72968         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72970         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72971         for x86-64.
72972         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72974 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72976         * math/math.h (M_El): Use two more decimal places.
72977         (M_LOG2El): Likewise.
72978         (M_LOG10El): Likewise.
72979         (M_LN2l): Likewise.
72980         (M_LN10l): Likewise.
72981         (M_PIl): Likewise.
72982         (M_PI_2l): Likewise.
72983         (M_PI_4l): Likewise.
72984         (M_1_PIl): Likewise.
72985         (M_2_PIl): Likewise.
72986         (M_2_SQRTPIl): Likewise.
72987         (M_SQRT2l): Likewise.
72988         (M_SQRT1_2l): Likewise.
72990 2012-05-31  David S. Miller  <davem@davemloft.net>
72992         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72993         values between float registers.
72994         * sysdeps/sparc/sparc64/memset.S: Likewise.
72995         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72997 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72999         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
73000         -D_FORTIFY_SOURCE=1.
73001         (CPPFLAGS-tst-longjmp_chk.c): Define.
73002         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
73003         (CPPFLAGS-tst-longjmp_chk2.c): Define.
73004         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
73005         CFLAGS-tst-wchar-h.c.
73007 2012-05-31  Marek Polacek  <polacek@redhat.com>
73009         [BZ #14132]
73010         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
73011         __endmntent_internal): Remove declaration.
73012         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
73013         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
73014         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
73016 2012-05-30  David S. Miller  <davem@davemloft.net>
73018         * sysdeps/sparc/sparc32/soft-fp/q_util.c
73019         (___Q_simulate_exceptions): Use real FP ops rather than writing
73020         into the %fsr.
73021         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
73022         Likewise.
73024 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73026         [BZ #14117]
73027         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
73028         * sysdeps/x86/bits/xtitypes.h: This.
73030         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
73031         * sysdeps/x86/bits/wordsize.h: This.
73033         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
73034         * sysdeps/x86/bits/huge_vall.h: This.
73036         * sysdeps/i386/bits/select.h: Removed.
73037         * sysdeps/x86_64/bits/select.h: Renamed to ...
73038         * sysdeps/x86/bits/select.h: This.
73040         * sysdeps/i386/bits/setjmp.h: Removed.
73041         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
73042         * sysdeps/x86/bits/setjmp.h: This.
73044         * sysdeps/i386/bits/mathdef.h: Removed.
73045         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
73046         * sysdeps/x86/bits/mathdef.h: This.
73048 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
73050         [BZ #14132]
73051         * include/sys/socket.h (__connect_internal)
73052         (__libc_sa_len_internal): Remove declaration.
73053         (__connect, __libc_sa_len): Declare hidden_proto.
73054         (SA_LEN): Remove use of INTUSE.
73055         * socket/connect.c: Add libc_hidden_def.
73056         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73057         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73058         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73059         alias.
73060         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73061         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73062         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73063         of adding _internal alias.
73065 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73067         [BZ #14117]
73068         * sysdeps/i386/bits/link.h: Removed.
73069         * sysdeps/i386/bits/linkmap.h: Likewise.
73070         * sysdeps/x86_64/bits/link.h: Renamed to ...
73071         * sysdeps/x86/bits/link.h: This.
73072         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73073         * sysdeps/x86/bits/linkmap.h: This.
73075         * sysdeps/i386/bits/endian.h: Removed.
73076         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73077         * sysdeps/x86/bits/endian.h: This.
73079         * sysdeps/i386/bits/byteswap.h: Removed.
73080         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73081         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73082         * sysdeps/x86/bits/byteswap.h: This.
73083         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73084         * sysdeps/x86/bits/byteswap-16.h: This.
73085         * sysdeps/i386/Implies: Add x86.
73086         * sysdeps/x86_64/Implies: Likewise.
73088 2012-05-30  David S. Miller  <davem@davemloft.net>
73090         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73091         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73092         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73093         (FP_TRAPPING_EXCEPTIONS): Define.
73094         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73095         (FP_TRAPPING_EXCEPTIONS): Define.
73096         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73097         subnormals only when inexact has been signalled or underflow
73098         exceptions are enabled.
73099         (_FP_PACK_CANONICAL): Likewise.
73101 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73103         [BZ #14183]
73104         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73105         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73107 2012-05-30  Richard Henderson  <rth@twiddle.net>
73109         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73110         with #ifndef NOT_IN_libc.
73112         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73113         marked to avoid plt entry.
73115 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73117         [BZ #14112]
73118         * Makeconfig (default-abi): New macro.
73119         (abi-includes): Likewise.
73120         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73121         $(abi-$(default-abi)-lib-soname) for soname if defined.
73122         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73123         abi-variants.
73124         * Makefile (installed-stubs): Likewise.
73125         * include/stubs-biarch.h: Removed.
73126         * scripts/lib-names.awk: Only handle one library at a time.
73127         * scripts/soversions.awk: Remove WORDSIZE support.
73128         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73129         entries.
73130         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73131         Removed.
73132         (syscall-list-default-condition): Likewise.
73133         (syscall-list-default-condition): Likewise.
73134         (syscall-list-includes): Likewise.
73135         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73136         syscall-list-* with abi-*.  Handle undefined abi-variants.
73137         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73138         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73139         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73140         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73141         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73142         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73143         Removed.
73144         (syscall-list-32-options): Likewise.
73145         (syscall-list-32-condition): Likewise.
73146         (syscall-list-64-options): Likewise.
73147         (syscall-list-64-condition): Likewise.
73148         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73149         macro.
73150         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73151         Renamed to ...
73152         (abi-*): This.
73153         (abi-64-ld-soname): New macro.
73154         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73155         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73156         Renamed to ...
73157         (abi-*): This.
73158         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73159         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73161 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73163         * sysdeps/unix/sysv/linux/kernel-features.h
73164         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73165         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73166         include <kernel-features.h>.
73167         [!__NR_ftruncate64]: Remove conditional code.
73168         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73169         [__NR_ftruncate64]: Make code unconditional.
73170         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73171         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73172         include <kernel-features.h>.
73173         [!__NR_ftruncate64]: Remove conditional code.
73174         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73175         [__NR_ftruncate64]: Make code unconditional.
73176         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73178         include <kernel-features.h>.
73179         [!__NR_ftruncate64]: Remove conditional code.
73180         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73181         [__NR_ftruncate64]: Make code unconditional.
73182         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73184         include <kernel-features.h>.
73185         [!__NR_ftruncate64]: Remove conditional code.
73186         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73187         [__NR_ftruncate64]: Make code unconditional.
73188         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73190         * configure.in (libc_cv_fpie): Weaken to a compile test using
73191         LIBC_TRY_CC_OPTION.
73192         * configure: Regenerated.
73194 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73200         Refreshed.
73201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73207         Refreshed.
73209 2012-05-27  David S. Miller  <davem@davemloft.net>
73211         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73212         (___Q_zero): New.
73213         (__Q_simulate_exceptions): Return void.  Change to simulate
73214         exceptions by writing into the %fsr.
73215         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73216         (__Qp_handle_exceptions): Likewise.
73217         (numbers): Delete.
73218         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73219         __Qp_handle_exceptions.
73220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73221         __Qp_handle_exceptions.
73222         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73223         as unused and give dummy FP_RND_NEAREST initializer.
73224         (FP_INHIBIT_RESULTS): Define.
73225         (___Q_simulate_exceptions): Update declaration.
73226         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73227         formatting.
73228         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73229         as unused and give dummy FP_RND_NEAREST initializer.
73230         (__Qp_handle_exceptions): Update declaration.
73231         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73232         formatting.
73234 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73236         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73237         the temporary FPU control word.
73238         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73239         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73240         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73241         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73242         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73243         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73244         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73245         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73246         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73247         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73248         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73250 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73252         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73253         fields.
73255 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73257         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73258         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73259         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73260         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73261         Likewise.
73262         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73263         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73264         Likewise.
73266 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73268         * po/h.po: Update from translation team.
73270 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73272         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73274         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73275         handling of denormals.
73276         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73277         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73278         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73279         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73280         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73281         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73282         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73283         Likewise.
73285 2012-05-26  Marek Polacek  <polacek@redhat.com>
73287         [BZ #14152]
73288         * math/libm-test.inc (fma_test): Don't always expect underflow
73289         exception.
73291 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73293         [BZ #12416]
73294         * elf/tst-execstack.c: Include stackinfo.h.
73295         (do_test): Adjust test case to ensure that pthread_getattr_np
73296         behaviour remains the same after marking stack executable.
73298 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73300         * sysdeps/unix/sysv/linux/kernel-features.h
73301         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73302         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73303         kernel-features.h.
73304         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73305         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73306         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73307         kernel-features.h.
73308         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73309         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73311 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
73313         * configure.in: Define the default includes to being none.
73314         * configure: Regenerated.
73316 2012-05-25  Roland McGrath  <roland@hack.frob.com>
73318         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73319         * sysdeps/x86_64/setjmp.S: Likewise.
73320         * sysdeps/i386/bsd-setjmp.S: Likewise.
73321         * sysdeps/i386/bsd-_setjmp.S: Likewise.
73322         * sysdeps/i386/setjmp.S: Likewise.
73323         * sysdeps/i386/__longjmp.S: Likewise.
73324         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73325         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73327         * include/stap-probe.h: New file.
73328         * configure.in: Handle --enable-systemtap.
73329         * configure: Regenerated.
73330         * config.h.in (USE_STAP_PROBE): New #undef.
73331         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73332         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73333         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73335 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73337         [BZ #13717]
73338         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73339         to 2.4.0 where earlier.
73340         * sysdeps/unix/sysv/linux/configure: Regenerated.
73341         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73342         <kernel-features.h>.
73343         [__ASSUME_32BITUIDS]: Make code unconditional.
73344         [!__ASSUME_32BITUIDS]: Remove conditional code.
73345         * sysdeps/unix/sysv/linux/i386/fchown.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/fchownat.c (fchownat)
73350         [__ASSUME_32BITUIDS]: Make code unconditional.
73351         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73352         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
73353         <kernel-features.h>.
73354         [__ASSUME_32BITUIDS]: Make code unconditional.
73355         [!__ASSUME_32BITUIDS]: Remove conditional code.
73356         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
73357         <kernel-features.h>.
73358         [__ASSUME_32BITUIDS]: Make code unconditional.
73359         [!__ASSUME_32BITUIDS]: Remove conditional code.
73360         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
73361         <kernel-features.h>.
73362         [__ASSUME_32BITUIDS]: Make code unconditional.
73363         [!__ASSUME_32BITUIDS]: Remove conditional code.
73364         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
73365         <kernel-features.h>.
73366         [__ASSUME_32BITUIDS]: Make code unconditional.
73367         [!__ASSUME_32BITUIDS]: Remove conditional code.
73368         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
73369         <kernel-features.h>.
73370         [__ASSUME_32BITUIDS]: Make code unconditional.
73371         [!__ASSUME_32BITUIDS]: Remove conditional code.
73372         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
73373         <kernel-features.h>.
73374         [__ASSUME_32BITUIDS]: Make code unconditional.
73375         [!__ASSUME_32BITUIDS]: Remove conditional code.
73376         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
73377         <kernel-features.h>.
73378         [__ASSUME_32BITUIDS]: Make code unconditional.
73379         [!__ASSUME_32BITUIDS]: Remove conditional code.
73380         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
73381         <kernel-features.h>.
73382         [__ASSUME_32BITUIDS]: Make code unconditional.
73383         [!__ASSUME_32BITUIDS]: Remove conditional code.
73384         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73385         <kernel-features.h>.
73386         [__ASSUME_32BITUIDS]: Make code unconditional.
73387         [!__ASSUME_32BITUIDS]: Remove conditional code.
73388         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73389         <kernel-features.h>.
73390         [__ASSUME_32BITUIDS]: Make code unconditional.
73391         [!__ASSUME_32BITUIDS]: Remove conditional code.
73392         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73393         <kernel-features.h>.
73394         [__NR_setresgid] (__setresgid): Do not declare.
73395         [__ASSUME_32BITUIDS]: Make code unconditional.
73396         [!__ASSUME_32BITUIDS]: Remove conditional code.
73397         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73398         <kernel-features.h>.
73399         [__NR_setresuid] (__setresuid): Do not declare.
73400         [__ASSUME_32BITUIDS]: Make code unconditional.
73401         [!__ASSUME_32BITUIDS]: Remove conditional code.
73402         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
73403         <kernel-features.h>.
73404         [__ASSUME_32BITUIDS]: Make code unconditional.
73405         [!__ASSUME_32BITUIDS]: Remove conditional code.
73406         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
73407         <kernel-features.h>.
73408         [__ASSUME_32BITUIDS]: Make code unconditional.
73409         [!__ASSUME_32BITUIDS]: Remove conditional code.
73410         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
73411         <kernel-features.h>.
73412         [__ASSUME_32BITUIDS]: Make code unconditional.
73413         [!__ASSUME_32BITUIDS]: Remove conditional code.
73414         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
73415         <kernel-features.h>.
73416         [__ASSUME_32BITUIDS]: Make code unconditional.
73417         [!__ASSUME_32BITUIDS]: Remove conditional code.
73418         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
73419         <kernel-features.h>.
73420         [__ASSUME_32BITUIDS]: Make code unconditional.
73421         [!__ASSUME_32BITUIDS]: Remove conditional code.
73422         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
73423         <kernel-features.h>.
73424         [__ASSUME_32BITUIDS]: Make code unconditional.
73425         [!__ASSUME_32BITUIDS]: Remove conditional code.
73426         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
73427         <kernel-features.h>.
73428         [__ASSUME_32BITUIDS]: Make code unconditional.
73429         [!__ASSUME_32BITUIDS]: Remove conditional code.
73430         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
73431         <kernel-features.h>.
73432         [__ASSUME_32BITUIDS]: Make code unconditional.
73433         [!__ASSUME_32BITUIDS]: Remove conditional code.
73434         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
73435         <kernel-features.h>.
73436         [__ASSUME_32BITUIDS]: Make code unconditional.
73437         [!__ASSUME_32BITUIDS]: Remove conditional code.
73438         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
73439         <kernel-features.h>.
73440         [__ASSUME_32BITUIDS]: Make code unconditional.
73441         [!__ASSUME_32BITUIDS]: Remove conditional code.
73442         * sysdeps/unix/sysv/linux/kernel-features.h
73443         (__ASSUME_SETRESUID_SYSCALL): Remove.
73444         (__ASSUME_SETRESGID_SYSCALL): Likewise.
73445         (__ASSUME_32BITUIDS): Likewise.
73446         (__ASSUME_LDT_WORKS): Likewise.
73447         (__ASSUME_O_DIRECTORY): Likewise.
73448         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73449         architecture but not kernel version.
73450         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73451         (__ASSUME_MMAP2_SYSCALL): Likewise.
73452         (__ASSUME_STAT64_SYSCALL): Likewise.
73453         (__ASSUME_IPC64): Likewise.
73454         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73455         <kernel-features.h>.
73456         [__ASSUME_32BITUIDS]: Make code unconditional.
73457         [!__ASSUME_32BITUIDS]: Remove conditional code.
73458         * sysdeps/unix/sysv/linux/opendir.c: Do not include
73459         <kernel-features.h>.
73460         [__ASSUME_O_DIRECTORY]: Make code unconditional.
73461         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73462         132096]: Remove conditional code.
73463         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73464         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
73465         <kernel-features.h>.
73466         [__ASSUME_32BITUIDS]: Make code unconditional.
73467         [!__ASSUME_32BITUIDS]: Remove conditional code.
73468         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
73469         <kernel-features.h>.
73470         [__ASSUME_32BITUIDS]: Make code unconditional.
73471         [!__ASSUME_32BITUIDS]: Remove conditional code.
73472         * sysdeps/unix/sysv/linux/setegid.c: Do not include
73473         <kernel-features.h>.
73474         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73475         unconditional.
73476         (__setresgid): Do not declare.
73477         [__ASSUME_32BITUIDS]: Make code unconditional.
73478         [!__ASSUME_32BITUIDS]: Remove conditional code.
73479         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73480         <kernel-features.h>.
73481         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73482         unconditional.
73483         (__setresuid): Do not declare.
73484         [__ASSUME_32BITUIDS]: Make code unconditional.
73485         [!__ASSUME_32BITUIDS]: Remove conditional code.
73486         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73487         <kernel-features.h>.
73488         [__ASSUME_32BITUIDS]: Make code unconditional.
73489         [!__ASSUME_32BITUIDS]: Remove conditional code.
73490         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73491         <kernel-features.h>.
73492         [__ASSUME_32BITUIDS]: Make code unconditional.
73493         [!__ASSUME_32BITUIDS]: Remove conditional code.
73495 2012-05-25  Richard Henderson  <rth@twiddle.net>
73497         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73498         dl_hwcap to ifunc resolver.
73499         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73500         elf_ifunc_invoke.
73501         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73502         dl_hwcap to ifunc resolver.
73503         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73505 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73507         [BZ #14153]
73508         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73509         for |x| <= 2**-26, not 2**-57.
73510         * math/libm-test.inc (acos_test): Do not allow spurious underflow
73511         exception.
73513 2012-05-24  Jeff Law  <law@redhat.com>
73515         * stdio-common/Makefile (tests): Add bug25.
73516         * stdio-common/bug25.c: New test.
73518 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73520         [BZ #13576]
73521         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73522         multiple of MALLOC_ALIGNMENT in size.
73523         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73525 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73527         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73528         Require >= 256.
73529         (FILENAME_MAX): Use macro-int-constant.
73530         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73531         (_IOFBF): Use macro-int-constant.
73532         (_IOLBF): Likewise.
73533         (_IONBF): Likewise.
73534         (SEEK_CUR): Likewise.
73535         (SEEK_END): Likewise.
73536         (SEEK_SET): Likewise.
73537         (TMP_MAX): Likewise.
73538         (EOF): Use macro-int-constant.  Require < 0.
73539         (NULL): Use macro-constant.  Require == 0.
73540         (stdin): Require type to be FILE *.
73541         (stdout): Likewise.
73542         (stderr): Likewise.
73543         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73544         macro-int-constant.
73545         (EXIT_SUCCESS): Likewise.
73546         (NULL): Use macro-constant.  Require == 0.
73547         (RAND_MAX): Use macro-int-constant.
73548         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73549         [C99-based standards] (strtof): Require function.
73550         [C99-based standards] (strtold): Likewise.
73551         [C99-based standards] (strtoll): Likewise.
73552         [C99-based standards] (strtoull): Likewise.
73553         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73554         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73555         [ISO || ISO99 || ISO11] (math.h): Likewise.
73556         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73557         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73558         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73560 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73562         [BZ #14132]
73563         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73564         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73565         * intl/dgettext.c (DCGETTEXT): Likewise.
73566         * intl/gettext.c (DCGETTEXT): Likewise.
73567         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73568         * posix/regex_internal.h (gettext): Likewise.
73569         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73570         Remove declaration.
73571         * include/argz.h (__argz_count_internal)
73572         (__argz_stringify_internal): Remove declaration.
73573         (__argz_count, __argz_stringify): Declare hidden proto.
73574         * intl/dcgettext.c: Remove use of INTDEF.
73575         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73576         * string/argz-stringify.c: Likewise.
73577         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73578         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73579         Declare hidden proto.
73580         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73581         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73582         Declare hidden proto.
73583         * include/stdio.h (__asprintf_internal): Don't declare.
73584         (__asprintf): Don't define as macro.  Declare hidden proto.
73585         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73586         (__fsetlocking): Declare hidden proto.
73587         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73588         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73589         hidden proto.
73590         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73591         (_IO_setlinebuf): Remove use of INTUSE.
73592         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73593         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73594         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73595         Remove declaration.
73596         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73597         (_IO_do_flush): Remove use of INTUSE.
73598         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73599         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73600         (_IO_adjust_column, _IO_least_wmarker)
73601         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73602         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73603         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73604         (_IO_default_doallocate, _IO_wdefault_doallocate)
73605         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73606         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73607         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73608         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73609         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73610         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73611         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73612         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73613         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73614         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73615         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73616         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73617         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73618         proto.
73619         (_IO_flush_all_internal, _IO_adjust_column_internal)
73620         (_IO_default_uflow_internal, _IO_default_finish_internal)
73621         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73622         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73623         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73624         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73625         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73626         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73627         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73628         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73629         (_IO_file_close_internal, _IO_file_close_it_internal)
73630         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73631         (_IO_file_init_internal, _IO_file_attach_internal)
73632         (_IO_file_fopen_internal, _IO_file_read_internal)
73633         (_IO_file_sync_internal, _IO_file_seek_internal)
73634         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73635         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73636         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73637         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73638         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73639         (_IO_list_all_internal, _IO_link_in_internal)
73640         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73641         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73642         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73643         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73644         (_IO_do_write_internal, _IO_padn_internal)
73645         (_IO_getline_info_internal, _IO_getline_internal)
73646         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73647         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73648         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73649         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73650         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73651         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73652         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73653         with libc_hidden_ver, remove use of INTUSE.
73654         * libio/genops.c: Likewise.
73655         * libio/freopen.c: Likewise.
73656         * libio/freopen64.c: Likewise.
73657         * libio/iofclose.c: Likewise.
73658         * libio/iofdopen.c: Likewise.
73659         * libio/iofflush.c: Likewise.
73660         * libio/iofflush_u.c: Likewise.
73661         * libio/iofgets.c: Likewise.
73662         * libio/iofgets_u.c: Likewise.
73663         * libio/iofopen.c: Likewise.
73664         * libio/iofopncook.c: Likewise.
73665         * libio/iofread.c: Likewise.
73666         * libio/iofread_u.c: Likewise.
73667         * libio/ioftell.c: Likewise.
73668         * libio/iofwrite.c: Likewise.
73669         * libio/iogetline.c: Likewise.
73670         * libio/iogets.c: Likewise.
73671         * libio/iogetwline.c: Likewise.
73672         * libio/iopadn.c: Likewise.
73673         * libio/iopopen.c: Likewise.
73674         * libio/ioseekoff.c: Likewise.
73675         * libio/ioseekpos.c: Likewise.
73676         * libio/iosetbuffer.c: Likewise.
73677         * libio/iosetvbuf.c: Likewise.
73678         * libio/ioungetc.c: Likewise.
73679         * libio/ioungetwc.c: Likewise.
73680         * libio/iovdprintf.c: Likewise.
73681         * libio/iovsprintf.c: Likewise.
73682         * libio/iovsscanf.c: Likewise.
73683         * libio/memstream.c: Likewise.
73684         * libio/obprintf.c: Likewise.
73685         * libio/oldfileops.c: Likewise.
73686         * libio/oldiofclose.c: Likewise.
73687         * libio/oldiofdopen.c: Likewise.
73688         * libio/oldiofopen.c: Likewise.
73689         * libio/oldiopopen.c: Likewise.
73690         * libio/oldstdfiles.c: Likewise.
73691         * libio/putc.c: Likewise.
73692         * libio/setbuf.c: Likewise.
73693         * libio/setlinebuf.c: Likewise.
73694         * libio/stdfiles.c: Likewise.
73695         * libio/strops.c: Likewise.
73696         * libio/vasprintf.c: Likewise.
73697         * libio/vscanf.c: Likewise.
73698         * libio/vsnprintf.c: Likewise.
73699         * libio/vswprintf.c: Likewise.
73700         * libio/wfiledoalloc.c: Likewise.
73701         * libio/wfileops.c: Likewise.
73702         * libio/wgenops.c: Likewise.
73703         * libio/wmemstream.c: Likewise.
73704         * libio/wstrops.c: Likewise.
73705         * libio/__fpurge.c: Likewise.
73706         * libio/__fsetlocking.c: Likewise.
73707         * assert/assert.c: Likewise.
73708         * debug/fgets_chk.c: Likewise.
73709         * debug/fgets_u_chk.c: Likewise.
73710         * debug/fread_chk.c: Likewise.
73711         * debug/fread_u_chk.c: Likewise.
73712         * debug/gets_chk.c: Likewise.
73713         * debug/obprintf_chk.c: Likewise.
73714         * debug/vasprintf_chk.c: Likewise.
73715         * debug/vdprintf_chk.c: Likewise.
73716         * debug/vsnprintf_chk.c: Likewise.
73717         * debug/vsprintf_chk.c: Likewise.
73718         * malloc/mtrace.c: Likewise.
73719         * misc/error.c: Likewise.
73720         * misc/syslog.c: Likewise.
73721         * stdio-common/asprintf.c: Likewise.
73722         * stdio-common/fxprintf.c: Likewise.
73723         * stdio-common/getw.c: Likewise.
73724         * stdio-common/isoc99_fscanf.c: Likewise.
73725         * stdio-common/isoc99_scanf.c: Likewise.
73726         * stdio-common/isoc99_vfscanf.c: Likewise.
73727         * stdio-common/isoc99_vscanf.c: Likewise.
73728         * stdio-common/isoc99_vsscanf.c: Likewise.
73729         * stdio-common/printf-prs.c: Likewise.
73730         * stdio-common/printf_fp.c: Likewise.
73731         * stdio-common/printf_fphex.c: Likewise.
73732         * stdio-common/printf_size.c: Likewise.
73733         * stdio-common/putw.c: Likewise.
73734         * stdio-common/scanf.c: Likewise.
73735         * stdio-common/sprintf.c: Likewise.
73736         * stdio-common/tmpfile.c: Likewise.
73737         * stdio-common/vfprintf.c: Likewise.
73738         * stdio-common/vfscanf.c: Likewise.
73739         * stdlib/strfmon_l.c: Likewise.
73740         * sunrpc/openchild.c: Likewise.
73741         * sunrpc/xdr_stdio.c: Likewise.
73742         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73743         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73745 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73747         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73749         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73750         in the third column, to generate for the shared library an IFUNC
73751         that uses _dl_vdso_vsym.
73752         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73753         * Makeconfig (object-suffixes-noshared): New variable.
73755         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73756         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73757         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73758         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73760         [BZ #14132]
73761         * include/sys/time.h (__gettimeofday): Remove macro.
73762         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73763         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73764         Remove INTDEF.
73765         (__gettimeofday): Add libc_hidden_def.
73766         (gettimeofday): Add libc_hidden_weak.
73767         * sysdeps/mach/gettimeofday.c: Likewise.
73768         * sysdeps/posix/gettimeofday.c: Likewise.
73769         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73770         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73771         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73772         (__gettimeofday_internal): Remove strong_alias.
73773         (__gettimeofday): Add libc_hidden_def.
73774         (gettimeofday): Add libc_hidden_weak.
73775         * sysdeps/unix/syscalls.list (gettimeofday):
73776         Remove __gettimeofday_internal alias.
73778 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73779             H.J. Lu  <hongjiu.lu@intel.com>
73781         [BZ #12495]
73782         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73783         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73784         (largebin_index_32_big): New.
73785         (largebin_index): Use it for 16-byte alignment.
73786         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73787         correction with front_misalign.
73789 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73791         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73792         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73793         Likewise.
73794         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73795         Likewise.
73796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73797         Likewise.
73798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73799         Likewise.
73800         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73801         Likewise.
73802         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73803         Likewise.
73804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73805         Likewise.
73806         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73807         Likewise.
73808         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73809         Likewise.
73810         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73811         Likewise.
73812         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73813         Likewise.
73814         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73815         Likewise.
73817         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73818         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73820 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73822         [BZ #10846]
73823         [BZ #14036]
73824         * math/libm-test.inc (exp_test): Add test from bug 14036.
73825         (pow_test): Add test from bug 10846.
73827         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73828         and other flags.
73829         (special_function): Do not include flags in test name.
73830         (parse_args): Likewise.
73831         * sysdeps/i386/fpu/libm-test-ulps: Update.
73832         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73833         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73834         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73837         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73838         exceptions.
73839         * math/libm-test.inc ("Philosophy"): Update comment about
73840         exception testing.
73841         (UNDERFLOW_EXCEPTION): New macro.
73842         (UNDERFLOW_EXCEPTION_OK): Likewise.
73843         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73844         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73845         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73846         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73847         (INVALID_EXCEPTION_OK): Update value.
73848         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73849         (OVERFLOW_EXCEPTION_OK): Likewise.
73850         (IGNORE_ZERO_INF_SIGN): Likewise.
73851         (test_exceptions): Handle underflow exceptions.
73852         (acos_test): Update for underflow exception expectations.
73853         (cexp_test): Likewise.
73854         (clog_test): Likewise.
73855         (clog10_test): Likewise.
73856         (csqrt_test): Likewise.
73857         (ctan_test): Likewise.
73858         (ctanh_test): Likewise.
73859         (exp_test): Likewise.
73860         (exp10_test): Likewise.
73861         (exp2_test): Likewise.
73862         (expm1_test): Likewise.
73863         (fma_test): Likewise.
73864         (j0_test): Likewise.
73865         (jn_test): Likewise.
73866         (nexttoward_test): Likewise.
73867         (pow_test): Likewise.
73868         (scalbn_test): Likewise.
73869         (scalbln_test): Likewise.
73870         (tan_test): Likewise.
73871         (y1_test): Likewise.
73872         * sysdeps/i386/fpu/libm-test-ulps: Update.
73873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73875 2012-05-23  David S. Miller  <davem@davemloft.net>
73877         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73878         (__libc_sigaction): Remove unused local variables.
73880 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73882         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73884 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73886         mktime: avoid signed integer overflow
73887         * time/mktime.c (__mktime_internal): Do not mishandle the case
73888         where diff == INT_MIN.
73890         mktime: simplify computation of average
73891         * time/mktime.c (ranged_convert): Use new time_t_avg function
73892         instead of rolling our own (probably-slower) code.
73894         mktime: do not assume signed right shift propagates sign bit
73895         * time/mktime.c (isdst_differ): New static function.
73896         (__mktime_internal): No need to normalize tm_isdst now.
73897         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73898         tm_isdst values.
73900         mktime: merge another wrapv change from gnulib
73901         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73902         from some compilers.
73904         mktime: remove incorrect attempt at unusual arithmetics
73905         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73906         The code didn't really work on such machines anyway.
73907         (TYPE_MINIMUM): Assume two's complement.
73908         (twos_complement_arithmetic): Verify that long_int and time_t
73909         are two's complement (or unsigned, in the latter case).
73911         mktime: check signed shifts on long_int and time_t, too
73912         * time/mktime.c (SHR): Check that shifts work as desired
73913         on the types long_int and time_t too, as SHR is used on
73914         such types.
73916         mktime: do not assume 'long' is wide enough
73917         * time/mktime.c (verify): Move decl up.
73918         (long_int): New type.
73919         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73920         to remove assumption in the code that 'long' is wide enough to
73921         store year values.  This assumption is not true on x32 and on
73922         some non-glibc platforms.
73924         mktime: merge wrapv change from gnulib
73925         * time/mktime.c (WRAPV): New macro.
73926         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73927         (guess_time_tm, __mktime_internal): Do not assume that signed
73928         integer overflow wraps around; modern compilers generate code
73929         where this assumption is no longer valid.
73931 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73933         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73934         Replace "jmp L(pseudo_end)" with "ret".
73935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73936         Likewise.
73938 2012-05-23  Andreas Jaeger  <aj@suse.de>
73940         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73941         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73943 2012-05-23  Andreas Jaeger  <aj@suse.de>
73944             Maximilian Attems  <max@stro.at>
73946         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73947         New macros.
73949 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73951         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73952         code so that pseudo_end is just ret and the stack pointer is
73953         correct also for static library in error case.
73955 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73957         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73958         move to syscalls.list.
73959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73964         * manual/install.texi (Running make install): Do not mention Linux
73965         kernel version for which pt_chown is not needed.
73966         (Linux): Do not mention problems with nscd with 2.0 kernels.
73967         * INSTALL: Regenerated.
73969 2012-05-23  Andreas Jaeger  <aj@suse.de>
73971         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73972         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73973         macro.
73974         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73975         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73976         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73977         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73978         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73979         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73980         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73981         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73982         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73983         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73984         * sysdeps/unix/sysv/linux/bits/in.h
73985         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73987 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73989         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73990         (PREPARE_VERSION): Just use assert instead, it will be elided
73991         under [NDEBUG] anyway.
73993 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73995         * sysdeps/unix/sysv/linux/Makefile: Include
73996         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73997         (sysdep_routines): Remove sysctl.
73998         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73999         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
74000         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
74001         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
74002         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
74004 2012-05-22  Andreas Jaeger  <aj@suse.de>
74006         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
74007         that pseudo_end is just ret and the stack pointer is correct also
74008         for static library in error case.
74010 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
74012         [BZ #14122]
74013         * nss/nsswitch.c (defconfig_entries): New variable.
74014         (__nss_database_lookup): Don't leak defconfig entries.
74015         (nss_parse_service_list): Don't leak on error paths.
74016         (free_database_entries): New function.
74017         (free_defconfig): New function.
74018         (free_mem): Move common code to free_database_entries.
74020 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74022         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
74023         Add arch_prctl.
74024         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
74026         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74027         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
74028         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
74029         New macro.
74030         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
74031         (INTERNAL_SYSCALL_TYPES): Likewise.
74032         (LOAD_ARGS_TYPES_[1-6]): Likewise.
74033         (LOAD_REGS_TYPES_[1-6]): Likewise.
74034         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
74035         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
74037 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74039         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
74040         copysignl for GLIBC_2_0.
74041         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
74042         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
74043         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
74044         logbl for GLIBC_2_0.
74045         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
74046         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
74048 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74050         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
74051         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74053         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74054         Use "neg %eax".
74056         * time/mktime.c: Update copyright years.
74058 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74060         mktime: merge comment-quoting-style change from gnulib
74061         * time/mktime.c: Quote 'like this' in comments.
74062         The GNU coding standards suggest that we no longer quote `like this',
74063         as "`" and "'" are typically rendered asymmetrically nowadays.
74064         The typical gnulib style is to quote 'like this' when quoting
74065         code, and "like this" when quoting English.
74067         * time/mktime.c (compile-command): Add "-I.".
74069         mktime: merge mktime-internal.h change from gnulib
74070         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74072         mktime: merge time_r change from gnulib
74073         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74075         mktime: merge DEBUG change from gnulib
74076         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74077         case system <time.h> has a #define.
74079         mktime: merge <sys/types.h> change from gnulib
74080         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74081         since <time.t> is now guaranteed to define time_t.
74083         mktime: merge HAVE_CONFIG_H change from gnulib
74084         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74086 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74089         Use "neg %eax".
74091         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74092         __rlim_t cast.
74093         (struct rusage): Use anonymous union to pad each field to
74094         __syscall_slong_t.
74096 2012-05-21  David S. Miller  <davem@davemloft.net>
74098         * Makefules (o-iterator): Remove .s cases.
74099         (compile-command.s): Delete.
74100         (COMPILE.s): Delete.
74101         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74103 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74105         * configure.in (libc_cv_predef_stack_protector): Only consider
74106         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74107         * configure: Regenerated.
74109 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74112         New macro.  Use R*LP on int and pointer.
74113         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74114         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74115         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74116         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74118         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74119         [__WORDSIZE_TIME64_COMPAT32] instead of
74120         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74121         (struct utmp): Likewise.
74122         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74123         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74124         Renamed to ...
74125         (__WORDSIZE_TIME64_COMPAT32): This.
74126         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74127         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74128         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74129         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74130         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74131         (__WORDSIZE_TIME64_COMPAT32): New macro.
74133 2012-05-21  Andreas Jaeger  <aj@suse.de>
74135         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74136         only if [SHARED]. Add prototype for __wcschr_ia32.
74138 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74140         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74141         of %rbp unmolested in the jmp_buf while mangling the low bits.
74142         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74143         unmolested high bits of %rbp while demangling the low bits.
74144         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74146 2012-05-21  Andreas Jaeger  <aj@suse.de>
74148         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74149         * sunrpc/svc_simple.c: Use it for registerrpc.
74150         * sunrpc/xcrypt.c: Use it for passwd2des.
74152         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74154 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74156         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74157         Don't define if [__SYSCALL_WORDSIZE != 32].
74158         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74159         New macro.
74161 2012-05-21  Bruno Haible  <bruno@clisp.org>
74162             Andreas Jaeger  <aj@suse.de>
74164         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74165         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74166         inptr and inend for must_buffer_ch.
74167         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74168         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74169         * stdio-common/Makefile (tests): Remove bug15.
74170         (bug15-ENV): Remove macro.
74171         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74172         anymore.
74174 2012-05-19  Andreas Jaeger  <aj@suse.de>
74175             Roland McGrath  <roland@hack.frob.com>
74177         * manual/contrib.texi: Completely rewritten. It contains now an
74178         alphabetical list of contributors and their contributions.
74180 2012-05-21  Richard Henderson  <rth@twiddle.net>
74182         * misc/getauxval.c (__getauxval): Use unsigned long int.
74183         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74184         (getauxval): Use unsigned long int.
74186 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74188         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74190 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74192         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74193         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74194         __alignof__ (long double).
74196 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74198         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74200 2012-05-20  Richard Henderson  <rth@twiddle.net>
74202         * misc/getauxval.c: New file.
74203         * misc/sys/auxv.h: New file.
74204         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74205         (routines): Add getauxval.
74206         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74207         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74208         * elf/dl-sysdep.c (_dl_auxv): Remove.
74209         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74210         * elf/dl-support.c (_dl_auxv): New variable.
74211         (_dl_aux_init): Initialize it.
74212         * manual/startup.texi (Auxiliary Vector): New node.
74213         * sysdeps/generic/bits/hwcap.h: New file.
74214         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74215         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74216         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74217         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74218         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74219         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74221         Update.
74222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74225         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74231 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74233         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74235 2012-05-19  David S. Miller  <davem@davemloft.net>
74237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74239 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74241         [BZ #14123]
74242         * math/s_ccosh.c: Include <float.h>
74243         (__ccosh): Avoid internal overflow calculating sinh and cosh
74244         values before multiplying by sin and cos values.
74245         * math/s_ccoshf.c: Likewise.
74246         * math/s_ccoshl.c: Likewise.
74247         * math/s_csin.c: Likewise.
74248         * math/s_csinf.c: Likewise.
74249         * math/s_csinl.c: Likewise.
74250         * math/s_csinh.c: Likewise.
74251         * math/s_csinhf.c: Likewise.
74252         * math/s_csinhl.c: Likewise.
74253         * math/libm-test.inc (ccos_test): Add more tests.
74254         (ccosh_test): Likewise.
74255         (csin_test): Likewise.
74256         (csinh_test): Likewise.
74257         * sysdeps/i386/fpu/libm-test-ulps: Update.
74258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74260 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74262         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74263         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74265         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74267 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74269         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74270         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74271         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74272         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74273         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74274         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74275         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74276         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74277         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74278         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74279         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74280         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74281         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74282         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74283         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74284         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74285         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74286         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74287         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74288         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74289         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74290         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74291         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74292         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74293         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74294         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74295         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74296         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74297         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74298         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74299         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74301 2012-05-18  Andreas Jaeger  <aj@suse.de>
74303         * csu/.gitignore: Delete.
74305 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74307         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74308         (timex): Use __syscall_slong_t.
74310 2012-05-18  Andreas Jaeger  <aj@suse.de>
74311             Carlos O'Donell  <carlos_odonell@mentor.com>
74313         * manual/install.texi (Configuring and compiling): Update
74314         description about files modified in the source directory.
74315         * INSTALL: Regenerated.
74317 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74319         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74320         value.  Use "or" to set return value to -1.
74321         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
74322         negate return value.
74324 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74326         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74327         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74328         failure if the compiler has Graphite support disabled.
74329         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74330         Likewise.
74331         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74332         (CFLAGS-memmove.c): Likewise.
74333         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74334         Likewise.
74336 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74338         * sysdeps/x86_64/x32/_itoa.h: New file.
74340         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74341         getdents system call only if kernel and user dirents have the
74342         same d_ino and d_off.
74344         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74345         LLONG_MAX != LONG_MAX.
74346         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74347         (_fitoa_word): Likewise.
74349         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74350         years.
74351         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74352         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74353         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74355         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74356         include <bits/wordsize.h>.  Check __x86_64__ instead of
74357         __WORDSIZE.
74358         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74359         if __x86_64__ is defined.  Use anonymous union on fpstate.
74361         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74362         anonymous union.
74364 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74366         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74367         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74368         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74369         Refer to _rtld_local_ro instead of _rtld_global_ro.
74370         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74371         Likewise.
74372         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74373         Likewise.
74374         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74375         Likewise.
74376         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74377         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74378         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74380         [BZ #10882]
74381         * sysdeps/powerpc/powerpc32/dl-machine.c
74382         (__elf_machine_runtime_setup) [PROF]: Don't reference
74383         _dl_prof_resolve.
74385 2012-05-18  Andreas Jaeger  <aj@suse.de>
74387         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74388         function only available for GCCs before 3.4 since GCC 3.4
74389         introduced a builtin.
74390         (lrint): Likewise.
74391         (llrintf): Likewise.
74392         (llrint): Likewise.
74393         (fmaxf): Likewise.
74394         (fmax): Likewise.
74395         (fminf): Likewise.
74396         (fmin): Likewise.
74397         (rint): Likewise.
74398         (rintf): Likewise.
74399         (nearbyint): Likewise.
74400         (nearbyintf): Likewise.
74401         (ceil): Likewise.
74402         (ceilf): Likewise.
74403         (floor): Likewise.
74404         (floorf): Likewise.
74406 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74408         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74409         on both fields and cast pointer to __syscall_ulong_t.
74411         * bits/types.h (__fsword_t): New type.
74412         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74413         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74414         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74415         (__FSWORD_T_TYPE): Likewise.
74416         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74417         (__FSWORD_T_TYPE): Likewise.
74418         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74419         (__FSWORD_T_TYPE): Likewise.
74420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74421         (__FSWORD_T_TYPE): Likewise.
74422         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74423         __SWORD_TYPE with __fsword_t.
74424         (statfs64): Likewise.
74426 2012-05-17  David S. Miller  <davem@davemloft.net>
74428         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74430 2012-05-17  Andreas Jaeger  <aj@suse.de>
74432         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74433         warning.
74435 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74437         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74439 2012-05-17  Andreas Jaeger  <aj@suse.de>
74441         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74442         when it is used.
74444 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74446         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74448 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74450         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74451         * sysdeps/x86_64/tst-mallocalign1.c: New file.
74453 2012-05-17  Andreas Jaeger  <aj@suse.de>
74454             Carlos O'Donell  <carlos_odonell@mentor.com>
74456         [BZ #14059]
74457         * sysdeps/x86_64/multiarch/init-arch.h
74458         (bit_YMM_Usable): Rename to...
74459         (bit_AVX_Usable): ... this.
74460         (bit_FMA4_Usable): New macro.
74461         (bit_XMM_state): New macro.
74462         (bit_YMM_state): New macro.
74463         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74464         [__ASSEMBLER__] (index_AVX_Usable): ... this.
74465         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74466         (CPUID_OSXSAVE): New macro.
74467         (CPUID_AVX): New macro.
74468         (CPUID_FMA4): New macro.
74469         (index_YMM_Usable): Rename to...
74470         (index_AVX_Usable): ... this.
74471         (HAS_AVX): Use HAS_ARCH_FEATURE.
74472         (HAS_FMA4): Likewise.
74473         (HAS_YMM_USABLE): Remove.
74474         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74475         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74476         are present.
74477         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74478         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74479         * sysdeps/x86_64/multiarch/Makefile: Likewise.
74480         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74481         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74483 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74485         * math/libm-test.c: Support platforms without multiple rounding modes.
74486         * math/bug-nextafter.c: Support platforms without FP exceptions.
74487         * math/bug-nexttoward.c: Likewise.
74488         * math/test-fenv.c: Likewise.
74489         * math/test-misc.c: Likewise.
74490         * stdlib/bug-getcontext.c: Likewise.
74492 2012-05-17  Andreas Jaeger  <aj@suse.de>
74494         * manual/examples/search.c (critter_cmp): Change signature to
74495         avoid warnings.
74496         * manual/string.texi (Collation Functions): Likewise.
74498 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74500         * bits/types.h: Fold copyright years.
74501         * bits/typesizes.h: Likewise.
74502         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74503         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74504         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74506         * time/time.h: Likewise.
74508 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
74510         [BZ #208]
74511         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74512         in instead of returning them.  Return void.
74513         (__libc_mallinfo): Accumulate over all arenas.
74514         (__malloc_stats): Adjust for change in int_mallinfo interface.
74516 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74518         [BZ #10375]
74519         * configure.in (NM): Add AC_CHECK_TOOL for it.
74520         (libc_extra_cflags): New substituted variable.
74521         Check for -fstack-protector being used implicitly.
74522         * configure: Regenerated.
74523         * config.make.in (config-extra-cflags): New variable,
74524         gets @libc_extra_cflags@.
74525         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74527         [BZ #10375]
74528         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74529         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74530         * configure: Regenerated.
74531         * config.make.in (CPPUNDEFS): New substituted variable.
74532         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74533         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74534         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74536 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74538         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74539         (mq_attr): Use __syscall_slong_t.
74541 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74543         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74544         Check __x86_64__ instead of __WORDSIZE.
74545         (_STAT_VER_LINUX): Likewise.
74546         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74547         __syscall_ulong_t and __syscall_slong_t.
74548         (stat64): Likewise.
74550 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74552         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74554 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74556         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74558 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74560         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74561         __syscall_ulong_t.
74563         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74564         include <bits/wordsize.h>.  Check __x86_64__ instead of
74565         __WORDSIZE.
74566         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74567         defined.
74568         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74570         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74571         include <bits/wordsize.h>.  Check __x86_64__ instead of
74572         __WORDSIZE.
74573         (user_regs_struct): Use "__extension__ unsigned long long"
74574         instead of "unsigned long" if __x86_64__ is defined.
74575         (user): Likewise.  Pad after pointer field if __ILP32__ is
74576         defined.
74578 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74580         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74581         versions 5 to 9.
74582         * configure: Regenerated.
74583         * manual/install.texi (texinfo): Increase version requirement to
74584         4.5 or later.
74585         * INSTALL: Regenerated.
74587         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74589 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74591         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74593         * sysdeps/x86_64/x32/ffs.c: New file.
74595         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74596         __syscall_ulong_t.
74597         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74598         defined.  Use __syscall_ulong_t.
74599         (shminfo): Use __syscall_ulong_t.
74600         (shm_info): Likewise.
74602         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74603         __syscall_ulong_t.
74605         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74606         <bits/wordsize.h>.
74607         (msgqnum_t): Use __syscall_ulong_t.
74608         (msglen_t): Likewise.
74609         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74610         __syscall_ulong_t.
74612         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74613         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74615         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74617         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74618         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74620         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74621         __syscall_slong_t.
74623         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74624         include <bits/wordsize.h>.  Check __x86_64__ instead of
74625         __WORDSIZE.
74627         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74628         "unsigned long long int" if __x86_64__ is defined.
74629         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74631         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74632         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74633         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74635         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74636         <stdint.h>.
74637         (GET_PC): Cast to uintptr_t first.
74638         (GET_FRAME): Likewise.
74639         (GET_STACK): Likewise.
74641         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74642         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74643         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74644         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74645         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74646         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74647         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74648         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74649         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74650         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74651         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74652         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74653         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74654         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74655         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74656         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74657         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74658         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74659         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74660         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74661         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74662         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74663         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74664         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74665         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74666         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74667         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74668         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74669         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74671 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74673         * Makerules (+depfiles): Also collect depfiles from .oS in
74674         $(extra-objs).
74675         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74676         .oS, $(libnldbl-routines)).
74678         * Makerules (native-compile-mkdep-flags): Define.
74679         * sunrpc/Makefile (extra-objs): Add $(addprefix
74680         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74681         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74682         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74683         calling $(make-target-directory).
74685 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74687         * bits/types.h (__snseconds_t): Removed.
74688         * time/time.h (struct timespec): Replace __snseconds_t with
74689         __syscall_slong_t.
74690         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74691         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74692         Likewise.
74693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74694         (__SNSECONDS_T_TYPE): Likewise.
74695         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74696         (__SNSECONDS_T_TYPE): Likewise.
74697         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74698         (__SNSECONDS_T_TYPE): Likewise.
74700 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74702         * sysdeps/mach/hurd/bits/typesizes.h
74703         (__SYSCALL_SLONG_TYPE): New macro.
74704         (__SYSCALL_ULONG_TYPE): Likewise.
74706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74708         * bits/types.h (__syscall_slong_t): New type.
74709         (__syscall_ulong_t): Likewise.
74711         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74712         (__SYSCALL_ULONG_TYPE): Likewise.
74713         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74714         (__SYSCALL_SLONG_TYPE): Likewise.
74715         (__SYSCALL_ULONG_TYPE): Likewise.
74716         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74717         (__SYSCALL_SLONG_TYPE): Likewise.
74718         (__SYSCALL_ULONG_TYPE): Likewise.
74719         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74720         (__SYSCALL_SLONG_TYPE): Likewise.
74721         (__SYSCALL_ULONG_TYPE): Likewise.
74723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74725         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74726         Add sigaltstack-offsets.sym.
74727         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74728         <sigaltstack-offsets.h>.
74729         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74730         longjmp_msg pointer.
74731         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74732         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74733         signal stack.
74734         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74736 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74738         * elf/stackguard-macros.h: Remove file.
74739         * sysdeps/generic/stackguard-macros.h: New file.
74740         * sysdeps/i386/stackguard-macros.h: Likewise.
74741         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74742         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74743         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74744         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74745         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74746         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74747         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74748         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74749         <elf/stackguard-macros.h>.
74751         [BZ #14109]
74752         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74753         __aligned__ in attribute.
74754         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74755         (gregset_t): Likewise.
74757 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74759         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74760         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74761         * sysdeps/x86_64/x32/Implies-after: New file.
74763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74765         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74766         and access return value for _dl_profile_fixup.  Use R10_LP to
74767         load frame size.
74769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74771         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74775         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74776         * sysdeps/x86_64/x32/sysdep.h: New file.
74778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74780         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74781         * sysdeps/x86_64/setjmp.S: Likewise.
74783 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74785         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74786         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74787         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74788         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74789         remove unused global constant.
74791 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74793         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74794         include of <not-cancel.h>.
74796 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74798         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74800 2012-05-15  Jeff Law  <law@redhat.com>
74801             Andreas Jaeger  <aj@suse.de>
74803         [BZ #13594]
74804         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74805         out from...
74806         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74807         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74808         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74809         code changing __hst_map_handle.map.
74811 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74813         * configure.in (sysnames): Look for Implies-before and Implies-after
74814         files.
74815         * configure: Regenerated.
74817 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74819         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74820         8-byte data alignment with LP_SIZE alignment.
74822 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74824         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74825         into R10_LP.
74827 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74829         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74831 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74833         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74834         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74835         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74836         Likewise.
74837         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74839 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74841         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74842         (stackinfo_sub_sp): Likewise.
74844 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74846         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74847         RAX_LP.
74849 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74851         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74852         into R*_LP.
74854 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74856         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74857         sizes into R*_LP.
74859 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74861         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74863 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74865         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74866         into R11_LP and load __x86_64_shared_cache_size_half into
74867         R8_LP.
74869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74871         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74872         R8_LP.
74874 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74876         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74877         logb for POWER7.
74878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74879         logbf for POWER7.
74880         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74881         logbl for POWER7.
74882         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74883         powerpc32/power7/fpu/s_logb.c via #include.
74884         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74885         powerpc32/power7/fpu/s_logbf.c via #include.
74886         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74887         powerpc32/power7/fpu/s_logbl.c via #include.
74889 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74891         * README.libm: Remove file.
74893 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74895         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74896         count for x32.  Use R*_LP and omit operand-size suffix.
74898 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74900         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74901         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74902         * sysdeps/x86_64/x32/shlib-versions: New file.
74904 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74906         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74907         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74908         Use _dl_fatal_printf instead.
74910 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74912         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74913         set if not set by the user.  Do not allow for being unset.
74914         * sysdeps/unix/sysv/linux/configure: Regenerated.
74916 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74918         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74919         the `q' suffix from lea and replace .quad with ASM_ADDR.
74921 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74923         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74924         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74925         instead of $17.
74926         (PTR_DEMANGLE): Likewise.
74928 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74930         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74931         (LP_OP): Likewise.
74932         (ASM_ADDR): Likewise.
74933         (RAX_LP): Likewise.
74934         (RBP_LP): Likewise.
74935         (RBX_LP): Likewise.
74936         (RCX_LP): Likewise.
74937         (RDI_LP): Likewise.
74938         (RSI_LP): Likewise.
74939         (RSP_LP): Likewise.
74940         (R8_LP): Likewise.
74941         (R9_LP): Likewise.
74942         (R10_LP): Likewise.
74943         (R10_LP): Likewise.
74944         (R11_LP): Likewise.
74945         (R12_LP): Likewise.
74946         (R13_LP): Likewise.
74947         (R14_LP): Likewise.
74948         (R15_LP): Likewise.
74950 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74952         * sysdeps/x86_64/x32/dl-machine.h: New file.
74954 2012-05-14  Andreas Jaeger  <aj@suse.de>
74956         * manual/Makefile (subdir): Remove export of subdir.
74957         (all): Remove target.
74958         (.PHONY): Remove all from list.
74959         (mkinstalldirs): Remove.
74960         (.PHONY): Remove installdirs from list.
74961         ($(inst_infodir)/libc.info): Use make-target-directory.
74962         (installdirs): Remove.
74963         (subdir_%): Remove.
74964         (glibc-targets): Remove.
74965         (lib): Remove.
74966         (stubs): Remove.
74967         ($(objpfx)stubs ../po/manual.pot): Remove.
74968         ($(objpfx)stamp%): Remove.
74969         (make-target-directory): Remove.
74970         (subdir_install): Remove.
74971         (routines): Remove.
74972         (aux): Remove.
74973         (sources): Remove.
74974         (objects): Remove.
74975         (headers): Remove.
74977         [BZ #13750]
74978         * manual/.gitignore: Remove, it's not needed anymore.
74979         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74980         all files in it.
74981         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74982         directory.
74983         (texis): Renamed to $(objpfx)texis.
74984         (texis-path): New, contains path to generated files.
74985         (chapters.%): Use texis-path for complete path, add extra argument
74986         libc-texinfo.sh.
74987         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74988         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74989         (summary,texi, stamp-summary): Use complete path of
74990         files. Generate files in build dir.
74991         (dir-add.texi): Build in build dir.
74992         (libm-err.texi,stamp-libm-err): Likewise.
74993         (version.texi, stamp-version): Likewise.
74994         (.%c.texi): Likewise.
74995         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74996         (mostlyclean): Remove target.
74997         (realclean): Remove target.
74998         (generated): Add new variable with contents from mostlyclean and
74999         realclean, remove entries duplicated in common-mostlyclean, add
75000         stamp-libm-err and stamp-version.
75001         (generated-dirs): Add libc directory.
75002         ($(inst_infodir)/libc.info): Install files from build dir.
75004         * manual/install.texi (Configuring and compiling): Adjust since
75005         the info files are not part of the tar ball anymore.
75007 2012-05-14  Andreas Jaeger  <aj@suse.de>
75009         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
75010         variable.
75012 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
75014         [BZ #13717]
75015         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75016         to 2.2.0 where earlier.
75017         * sysdeps/unix/sysv/linux/configure: Regenerated.
75018         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
75019         Remove conditional code.
75020         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
75021         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
75022         Remove conditional code.
75023         [!__NR_lchown]: Likewise.
75024         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75025         [__NR_lchown]: Likewise.
75026         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
75027         comment referencing __ASSUME_LCHOWN_SYSCALL.
75028         * sysdeps/unix/sysv/linux/i386/sigaction.c
75029         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75030         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75031         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
75032         Remove conditional code.
75033         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
75034         (__protocol_available): Remove #if 0 code.
75035         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
75036         conditional code.
75037         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
75038         * sysdeps/unix/sysv/linux/kernel-features.h
75039         (__ASSUME_GETCWD_SYSCALL): Don't define.
75040         (__ASSUME_REALTIME_SIGNALS): Likewise.
75041         (__ASSUME_PREAD_SYSCALL): Likewise.
75042         (__ASSUME_PWRITE_SYSCALL): Likewise.
75043         (__ASSUME_POLL_SYSCALL): Likewise.
75044         (__ASSUME_LCHOWN_SYSCALL): Likewise.
75045         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
75046         non-SPARC.
75047         (__ASSUME_SIOCGIFNAME): Don't define.
75048         (__ASSUME_MSG_NOSIGNAL): Likewise.
75049         (__ASSUME_SENDFILE): Define unconditionally.
75050         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
75051         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
75052         conditional code.
75053         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75054         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75055         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75056         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75057         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75058         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75059         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75061         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75062         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75064         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75065         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75067         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75068         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75070         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75071         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75073         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75076         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75079         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75082         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75084         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75085         Remove conditional code.
75086         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75087         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75088         Remove conditional code.
75089         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75090         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75091         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75092         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75093         Remove conditional code.
75094         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75095         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75096         Remove conditional code.
75097         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75098         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75099         Remove conditional code.
75100         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75101         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75102         Remove conditional code.
75103         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75104         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75105         Remove conditional code.
75106         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75107         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75108         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75109         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75110         * sysdeps/unix/sysv/linux/sigaction.c
75111         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75112         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75113         * sysdeps/unix/sysv/linux/sigpending.c
75114         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75115         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75116         * sysdeps/unix/sysv/linux/sigprocmask.c
75117         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75118         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75119         * sysdeps/unix/sysv/linux/sigsuspend.c
75120         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75121         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75122         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75123         (__libc_missing_rt_sigs): Remove.
75124         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75125         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75126         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75127         Remove conditional code.
75128         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75129         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75130         return 1.
75131         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75132         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75133         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75134         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75136 2012-05-14  Andreas Jaeger  <aj@suse.de>
75138         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75139         it's not used in glibc.
75140         (__coshm1): Likewise.
75141         (__acosh1p): Likewise.
75142         (__sgn): Likewise.
75144         * manual/string.texi (Copying and Concatenation): Add missing
75145         variable in concat example.
75146         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75148 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75150         [BZ #14103]
75151         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75152         __builtin_clzl with __builtin_clzll.
75154 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75156         [BZ #14104]
75157         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75158         libc_freeres_ptr.
75160 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75162         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75163         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75164         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75165         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75167 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75169         * NEWS: Update ia64 info.
75171 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75173         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75174         used as bcopy.
75176 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75178         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75179         * sysdeps/unix/syscalls.list (dup3): Likewise.
75180         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75181         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75183 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75185         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75186         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75188 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75190         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75191         thread pointer.
75192         (TLS_IE): Use mov/add instead of movq/addq to load thread
75193         pointer.
75194         (TLS_GD_PREFIX): New.
75195         (TLS_GD): Use it.
75197 2012-05-11  David S. Miller  <davem@davemloft.net>
75199         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75200         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75201         (_FPU_SETCW): Likewise.
75203 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75205         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75206         is 32-byte aligned.
75208 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75210         [BZ #11837]
75211         * iconvdata/gb18030.c: Update tables.
75212         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75213         characters specially.
75214         (BODY for TO_LOOP): Add encoding of missing ranges.
75216 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75218         [BZ #13673]
75219         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75220         * sysdeps/mach/hurd/dup3.c: Likewise.
75221         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75222         * sysdeps/powerpc/memmove.c:: Likewise.
75224 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75226         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75227         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75229 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75231         * elf/elf.h (R_X86_64_RELATIVE64): New.
75232         (R_X86_64_NUM): Updated.
75233         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75234         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75235         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75236         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75237         tst-quad1pie tst-quad2pie
75238         (modules-names): Add tst-quadmod1 tst-quadmod2.
75239         ($(objpfx)tst-quad1): New dependency.
75240         ($(objpfx)tst-quad2): Likewise.
75241         ($(objpfx)tst-quad1pie): Likewise.
75242         ($(objpfx)tst-quad2pie): Likewise.
75243         * sysdeps/x86_64/tst-quad1.c: New file.
75244         * sysdeps/x86_64/tst-quad1pie.c: New file.
75245         * sysdeps/x86_64/tst-quad2.c: Likewise.
75246         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75247         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75248         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75249         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75250         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75252 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75254         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75255         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75256         * streams/stropts.h (t_scalar_t): Define type.
75258         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75259         (_PATH_PRESERVE): Set to "/var/lib".
75260         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75262         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75263         instead of int.
75265         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75266         if __dir_mkfile succeeded.
75268         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75269         checking for _hurd_dtablesize.  Unlock it right after having
75270         finished _hurd_dtable allocation.
75272 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75274         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75275         * sysdeps/mach/hurd/configure: Regenerated.
75276         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75277         special-casing to...
75278         * sysdeps/gnu/configure.in: ... this new file.
75279         * sysdeps/unix/sysv/linux/configure: Regenerated.
75280         * sysdeps/gnu/configure: New generated file.
75282         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75283         for Linux: use nsec instead of usec, as well as:
75284         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75285         members of type struct timespec.
75286         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75287         New macros.
75288         (struct stat64): Likewise.
75289         (_STATBUF_ST_NSEC): New macro.
75290         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75292         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75293         __strtoul_internal rather than strtoul.
75295 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75297         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75298         and reject them.
75300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75302         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75303         which preserves existing values.
75304         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75306 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75308         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75309         TIMEOUT values.  Return EINVAL for NFDS values either negative or
75310         greater than FD_SETSIZE.
75312 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75314         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75315         allocated, call __vm_protect to finish enabling the existing space, and
75316         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75317         allocate the remainder.
75319 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75321         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
75322         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
75324 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75326         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75327         sysdeps/mach/hurd/readlink.c.
75329         * posix/tst-sysconf.c (posix_options): Only use
75330         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75331         _POSIX_SYNCHRONIZED_IO when they are defined
75332         * sysdeps/mach/hurd/bits/posix_opt.h:
75333         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75334         (_XOPEN_REALTIME): Undefine macro.
75335         (_XOPEN_REALTIME_THREADS): Undefine macro.
75336         (_XOPEN_SHM): Undefine macro.
75337         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75338         macro to -1.
75339         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75340         macro to -1.
75341         (_POSIX_ASYNC_IO): Undefine macro.
75342         (_POSIX_PRIORITIZED_IO): Undefine macro.
75343         (_POSIX_SPIN_LOCKS): Define macro to -1.
75345         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75346         SA_NODEFER, SA_RESETHAND.
75347         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75348         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75349         F_DUPFD_CLOEXEC.
75351 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75353         * elf/Makefile (pldd-modules): Define unconditionally.
75355 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75357         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75361         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75362         Return ENOENT when name is empty.
75363         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75365 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75367         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75369         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75371 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75373         Fix mlock in all cases except non-readable pages.
75374         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75375         instead of VM_PROT_ALL as parameter to __vm_wire function.
75377         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75378         (__mkdir): When path is `/', just fail with EEXIST.
75379         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75381 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75383         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75384         <sys/uio.h> (for writev).
75385         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75386         and <sys/param.h> (for MIN).
75388 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75390         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75391         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75392         if interrupted.
75394 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75396         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75397         Depend on against $(link-rpcuserlibs).
75399 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75401         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75402         (__libc_stack_end): Do not use attribute_relro.
75403         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75404         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75405         to libthread-provided value.
75406         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75407         attribute_relro.
75409 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75411         [BZ #3748]
75412         * bits/libc-lock.h (__libc_once_get): New macro.
75413         * sysdeps/mach/bits/libc-lock.h: Likewise.
75414         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75415         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75416         instead of using implementation details.
75418         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75419         * libio/freopen.c: Likewise.
75420         * libio/freopen64.c: Likewise.
75421         * misc/syslog.c: Likewise.
75422         * nscd/connections.c: Likewise.
75423         * nscd/netgroupcache.c: Likewise.
75424         * sysdeps/posix/getcwd.c: Likewise.
75426 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75428         * math/w_ilogbf.c: Add #include <limits.h>.
75430 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75432         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75433         path instead of returning without unlocking.
75435         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75436         immediate-write ioctls.
75437         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75441         * sysdeps/mach/hurd/i386/init-first.c (init): Use
75442         __builtin_frame_address instead of making assumptions about the
75443         location of the return address relative to DATA.  Force early load of
75444         the return address.
75445         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75446         __builtin_frame_address.
75448         dup3 for GNU Hurd.
75449         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75450         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
75451         implement dup3 and do some further code clean-ups.
75452         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75453         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75455 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75457         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75459         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75460         HURD_CRITICAL_END around holding _hurd_dtable_lock.
75461         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75462         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75463         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75464         d->port.lock.
75466         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75467         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
75468         when handler == SIG_ERR, not when handler != SIG_ERR.
75470 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75472         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75473         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75474         definitions.
75476         accept4 for GNU Hurd.
75477         * include/sys/socket.h (__libc_accept4): New prototype.
75478         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
75479         to implement __libc_accept4.
75480         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75481         __libc_accept4.
75482         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75484         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75485         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75486         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75487         signal-defines.sym.
75489 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75491         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75493 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75495         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75496         assertion on O_CLOEXEC flag.
75497         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75498         * hurd/intern-fd.c: Likewise.
75499         * hurd/port2fd.c: Likewise.
75501 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75503         [BZ #3906]
75504         * bits/in.h (IPV6_PKTINFO): Define new macro.
75505         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75507 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75509         [BZ #13954]
75510         [BZ #13955]
75511         [BZ #13956]
75512         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75513         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75514         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75515         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75516         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75517         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75518         * math/libm-test.inc (logb_test) : Additional logb tests.
75520 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75521             Andreas Jaeger  <aj@suse.de>
75523         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75524         * configure: Regenerated.
75525         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75526         * config.make.in (link-obsolete-rpc): New substituted variable.
75527         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75528         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75529         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75530         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75531         so that libc.a contains the symbols.
75532         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75533         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75534         * sunrpc/auth_none.c: Likewise.
75535         * sunrpc/auth_unix.c: Likewise.
75536         * sunrpc/authdes_prot.c: Likewise.
75537         * sunrpc/authuxprot.c: Likewise.
75538         * sunrpc/clnt_gen.c: Likewise.
75539         * sunrpc/clnt_perr.c: Likewise.
75540         * sunrpc/clnt_raw.c: Likewise.
75541         * sunrpc/clnt_simp.c: Likewise.
75542         * sunrpc/clnt_tcp.c: Likewise.
75543         * sunrpc/clnt_udp.c: Likewise.
75544         * sunrpc/clnt_unix.c: Likewise.
75545         * sunrpc/des_crypt.c: Likewise.
75546         * sunrpc/des_soft.c: Likewise.
75547         * sunrpc/get_myaddr.c: Likewise.
75548         * sunrpc/key_call.c: Likewise.
75549         * sunrpc/key_prot.c: Likewise.
75550         * sunrpc/netname.c: Likewise.
75551         * sunrpc/pm_getmaps.c: Likewise.
75552         * sunrpc/pm_getport.c: Likewise.
75553         * sunrpc/pmap_clnt.c: Likewise.
75554         * sunrpc/pmap_prot.c: Likewise.
75555         * sunrpc/pmap_prot2.c: Likewise.
75556         * sunrpc/pmap_rmt.c: Likewise.
75557         * sunrpc/publickey.c: Likewise.
75558         * sunrpc/rpc_cmsg.c: Likewise.
75559         * sunrpc/rpc_common.c: Likewise.
75560         * sunrpc/rpc_dtable.c: Likewise.
75561         * sunrpc/rpc_prot.c: Likewise.
75562         * sunrpc/rpc_thread.c: Likewise.
75563         * sunrpc/rtime.c: Likewise.
75564         * sunrpc/svc.c: Likewise.
75565         * sunrpc/svc_auth.c: Likewise.
75566         * sunrpc/svc_raw.c: Likewise.
75567         * sunrpc/svc_run.c: Likewise.
75568         * sunrpc/svc_tcp.c: Likewise.
75569         * sunrpc/svc_udp.c: Likewise.
75570         * sunrpc/svc_unix.c: Likewise.
75571         * sunrpc/svcauth_des.c: Likewise.
75572         * sunrpc/xcrypt.c: Likewise.
75573         * sunrpc/xdr.c: Likewise.
75574         * sunrpc/xdr_array.c: Likewise.
75575         * sunrpc/xdr_float.c: Likewise.
75576         * sunrpc/xdr_intXX_t.c: Likewise.
75577         * sunrpc/xdr_mem.c: Likewise.
75578         * sunrpc/xdr_rec.c: Likewise.
75579         * sunrpc/xdr_ref.c: Likewise.
75580         * sunrpc/xdr_sizeof.c: Likewise.
75581         * sunrpc/xdr_stdio.c: Likewise.
75583 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75585         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75586         change.  Update copyright years.
75588 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75590         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75592 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75593             Joseph Myers  <joseph@codesourcery.com>
75594             Paul Pluzhnikov  <ppluzhnikov@google.com>
75596         [BZ #14012]
75597         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75598         requiring rpcgen.
75599         [cross-compiling] (extra-libs): Likewise.
75600         [cross-compiling] (extra-libs-others): Likewise.
75601         [cross-compiling] (librpcsvc-routines): Likewise.
75602         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75603         [cross-compiling] (omit-deps): Likewise.
75604         (sunrpc-CPPFLAGS): New variable.
75605         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75606         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75607         (cross-rpcgen-objs): New variable.
75608         (extra-objs): Append $(cross-rpcgen-objs).
75609         ($(cross-rpcgen-objs)): New rule.
75610         ($(objpfx)cross-rpcgen): Likewise.
75611         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75612         comment.
75613         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75614         ($(objpfx)x%.stmp): Likewise.
75615         * sunrpc/proto.h [IS_IN_build] (_): Define.
75616         [IS_IN_build] (_libc_intl_domainname): Likewise.
75618 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75620         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75621         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75622         and R_X86_64_TPOFF64.
75624 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75626         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75627         sysdeps/unix/sysv/syscalls.list.
75628         (stime): Likewise.
75629         (utime): Likewise.
75630         * sysdeps/unix/sysv/syscalls.list: Remove file.
75632 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75634         [BZ #3440]
75635         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75636         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75637         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75638         (__LC_IDENTIFICATION): Make these macros useful in #if
75639         expressions, as required by C99.
75641 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75643         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75644         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75645         after this.
75647 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75649         * stdlib/longlong.h: Updated from GCC.
75651 2012-05-09  Andreas Jaeger  <aj@suse.de>
75653         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75654         default is first entry.
75655         (run_mode): Set type.
75656         (main): Remove informal message about syslog.
75657         (options): Fix typo.
75659         [BZ #14053]
75660         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75661         to asm.
75662         (lrint): Likewise.
75663         (llrintf): Likewise.
75664         (llrint): Likewise.
75665         (rint): Likewise.
75666         (rintf): Likewise.
75667         (nearbyint): Likewise.
75668         (nearbyintf): Likewise.
75670 2012-05-09  Andreas Jaeger  <aj@suse.de>
75671             Pedro Alves  <palves@redhat.com>
75673         * nscd/nscd.c (run_mode): Use enum.
75674         (main): Cleanup coding style issue.
75676 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75677             Andreas Jaeger  <aj@suse.de>
75679         * nscd/nscd.c (go_background): Replaced with...
75680         (run_mode): ... this.
75681         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75682         (options): Add -F --foreground.
75683         (main): Implement it.
75684         (parse_opt): Parse it.
75686 2012-05-09  Andreas Jaeger  <aj@suse.de>
75688         [BZ #14083]
75689         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75690         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75691         -Wconversion warning.
75692         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75693         Likewise.
75695 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75697         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75698         == 0.
75699         (LC_ALL): Use macro-int-constant.
75700         (LC_COLLATE): Likewise.
75701         (LC_CTYPE): Likewise.
75702         (LC_MESSAGES): Likewise.
75703         (LC_MONETARY): Likewise.
75704         (LC_NUMERIC): Likewise.
75705         (LC_TIME): Likewise.
75706         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75707         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75708         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75709         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75710         Specify type.
75711         [C99-based standards] (float_t): Expect type.
75712         [C99-based standards] (double_t): Expect type.
75713         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75714         type.
75715         [C99-based standards] (HUGE_VALL): Likewise.
75716         [C99-based standards] (INFINITY): Likewise.
75717         [C99-based standards] (NAN): Likewise.
75718         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75719         [C99-based standards] (FP_NAN): Likewise.
75720         [C99-based standards] (FP_NORMAL): Likewise.
75721         [C99-based standards] (FP_SUBNORMAL): Likewise.
75722         [C99-based standards] (FP_ZERO): Likewise.
75723         [C99-based standards] (FP_FAST_FMA): Use
75724         optional-macro-int-constant.  Specify type.  Require == 1.
75725         [C99-based standards] (FP_FAST_FMAF): Likewise.
75726         [C99-based standards] (FP_FAST_FMAL): Likewise.
75727         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75728         [C99-based standards] (FP_ILOGBNAN): Likewise.
75729         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75730         Specify type.
75731         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75732         [C99-based standards] (math_errhandling): Specify type.
75733         [ISO99 || ISO11] (signgam): Do not allow.
75734         [non-C99-based standards] (copysignf): Do not allow.
75735         [non-C99-based standards] (exp2f): Likewise.
75736         [non-C99-based standards] (log2f): Likewise.
75737         [non-C99-based standards] (modff): Allow.
75738         [non-C99-based standards] (erff): Do not allow.
75739         [non-C99-based standards] (erfcf): Likewise.
75740         [non-C99-based standards] (gammaf): Likewise.
75741         [non-C99-based standards] (hypotf): Likewise.
75742         [non-C99-based standards] (j0f): Likewise.
75743         [non-C99-based standards] (j1f): Likewise.
75744         [non-C99-based standards] (jnf): Likewise.
75745         [non-C99-based standards] (lgammaf): Likewise.
75746         [non-C99-based standards] (tgammaf): Likewise.
75747         [non-C99-based standards] (y0f): Likewise.
75748         [non-C99-based standards] (y1f): Likewise.
75749         [non-C99-based standards] (ynf): Likewise.
75750         [non-C99-based standards] (isnanf): Likewise.
75751         [non-C99-based standards] (acoshf): Likewise.
75752         [non-C99-based standards] (asinhf): Likewise.
75753         [non-C99-based standards] (atanhf): Likewise.
75754         [non-C99-based standards] (cbrtf): Likewise.
75755         [non-C99-based standards] (expm1f): Likewise.
75756         [non-C99-based standards] (ilogbf): Likewise.
75757         [non-C99-based standards] (log1pf): Likewise.
75758         [non-C99-based standards] (logbf): Likewise.
75759         [non-C99-based standards] (nextafterf): Likewise.
75760         [non-C99-based standards] (remainderf): Likewise.
75761         [non-C99-based standards] (rintf): Likewise.
75762         [non-C99-based standards] (scalbf): Likewise.
75763         [non-C99-based standards] (copysignl): Likewise.
75764         [non-C99-based standards] (exp2l): Likewise.
75765         [non-C99-based standards] (log2l): Likewise.
75766         [non-C99-based standards] (modfl): Allow.
75767         [non-C99-based standards] (erfl): Do not allow.
75768         [non-C99-based standards] (erfcl): Likewise.
75769         [non-C99-based standards] (gammal): Likewise.
75770         [non-C99-based standards] (hypotl): Likewise.
75771         [non-C99-based standards] (j0l): Likewise.
75772         [non-C99-based standards] (j1l): Likewise.
75773         [non-C99-based standards] (jnl): Likewise.
75774         [non-C99-based standards] (lgammal): Likewise.
75775         [non-C99-based standards] (tgammal): Likewise.
75776         [non-C99-based standards] (y0l): Likewise.
75777         [non-C99-based standards] (y1l): Likewise.
75778         [non-C99-based standards] (ynl): Likewise.
75779         [non-C99-based standards] (isnanl): Likewise.
75780         [non-C99-based standards] (acoshl): Likewise.
75781         [non-C99-based standards] (asinhl): Likewise.
75782         [non-C99-based standards] (atanhl): Likewise.
75783         [non-C99-based standards] (cbrtl): Likewise.
75784         [non-C99-based standards] (expm1l): Likewise.
75785         [non-C99-based standards] (ilogbl): Likewise.
75786         [non-C99-based standards] (log1pl): Likewise.
75787         [non-C99-based standards] (logbl): Likewise.
75788         [non-C99-based standards] (nextafterl): Likewise.
75789         [non-C99-based standards] (remainderl): Likewise.
75790         [non-C99-based standards] (rintl): Likewise.
75791         [non-C99-based standards] (scalbl): Likewise.
75792         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75793         [non-C99-based standards] (FP_*): Do not allow.
75794         [C99-based standards] (FP_*): Change to
75795         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75796         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75797         allow.
75798         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75799         (SIG_ERR): Likewise.
75800         [X/Open-based standards] (SIG_HOLD): Likewise.
75801         (SIG_IGN): Likewise.
75802         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75803         positive value.
75804         (SIGFPE): Likewise.
75805         (SIGILL): Likewise.
75806         (SIGINT): Likewise.
75807         (SIGSEGV): Likewise.
75808         (SIGTER): Likewise.
75809         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75810         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75811         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75812         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75813         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75814         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75815         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75816         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75817         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75818         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75819         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75820         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75821         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75822         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75823         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75824         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75825         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75826         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75827         [X/Open-based standards] (SIGTRAP): Likewise.
75828         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75829         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75830         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75831         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75832         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75833         allow.
75835 2012-05-08  Ian Wienand  <ianw@vmware.com>
75837         [BZ #14080]
75838         * time/tzset.c (__tzset_parse_tz): Update default rules for
75839         daylight time changes in the Energy Policy Act of 2005.
75841 2012-05-09  Andreas Jaeger  <aj@suse.de>
75843         [BZ #13983]
75844         * elf/ldconfig.c (parse_conf): Change string to make clear that
75845         ldconfig only issued a warning if ld.so.conf does not exist.
75847 2012-05-08  David S. Miller  <davem@davemloft.net>
75849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75850         movxtod instead of popping the value on the stack.
75852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75854 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75856         * config.h.in: Add HAVE_ARM_PCS_VFP.
75858 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75860         [BZ #13979]
75861         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75862         checking but the checks are disabled for any reason.
75864 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75866         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75867         and ELF64_R_TYPE with ELFW(R_TYPE).
75869 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75871         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75872         (ulimit): Likewise.
75874         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75875         (settimeofday): Likewise.
75877 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75879         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75880         a struct th_u2 inside the union, and move tu_block/tu_code into
75881         a new th_u3 union of tu_block/tu_code inside of that.  Move
75882         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75883         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75884         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75885         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75886         (th_stuff): Change to th_u1.tu_stuff.
75887         (th_data): Define.
75888         (th_msg): Change to th_u1.th_u2.tu_data.
75890 2012-05-07  David S. Miller  <davem@davemloft.net>
75892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75894         [BZ #14074]
75895         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75896         (SETUP_PIC_REG): Use it.
75897         (SETUP_PIC_REG_LEAF): Use it.
75899 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75901         [BZ #13885]
75902         [BZ #13923]
75903         * sysdeps/i386/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/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75909         e_expl.S.
75910         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75911         USE_AS_EXPM1L.
75912         (EXPL_FINITE): Likewise.
75913         (FLDLOG): Likewise.
75914         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75915         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75916         e_expl.S.
75917         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75918         test of -max_value argument for long double.
75919         * sysdeps/i386/fpu/libm-test-ulps: Update.
75920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75922 2012-05-06  David S. Miller  <davem@davemloft.net>
75924         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75925         quad soft-float symbols whose references which are compiler
75926         generated.
75927         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75929 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75931         [BZ #13884]
75932         [BZ #13914]
75933         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75934         USE_AS_EXP10L.
75935         (EXPL_FINITE): Likewise.
75936         (FLDLOG): Likewise.
75937         (c0): Likewise.
75938         (c1): Likewise.
75939         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75940         Adjust comments for base varying.
75941         (__expl_finite): Change alias to EXPL_FINITE.
75942         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75943         e_expl.S.
75944         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75945         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75946         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75947         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75948         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75949         USE_AS_EXP10L.
75950         (EXPL_FINITE): Likewise.
75951         (FLDLOG): Likewise.
75952         (c0): Likewise.
75953         (c1): Likewise.
75954         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75955         Adjust comments for base varying.
75956         (__expl_finite): Change alias to EXPL_FINITE.
75957         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75958         tests for bugs.
75959         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75961         [BZ #14064]
75962         * math/libm-test.inc (check_float_internal): Correct ulp
75963         calculation for subnormal expected results.
75965 2012-05-06  Andreas Jaeger  <aj@suse.de>
75967         * Makeconfig (+math-flags): New, set to -frounding-math.
75968         (+cflags): Add +math-flags so that all of glibc gets compiled with
75969         it.
75971         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75973 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75975         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75976         Disable one test.
75978         [BZ #13787]
75979         [BZ #13922]
75980         [BZ #14036]
75981         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75982         (__ieee754_expl): Allow for and saturate large arguments.
75983         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75984         (u_threshold): Likewise.
75985         (__exp): Call __ieee754_exp before checking for overflow and
75986         underflow.
75987         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75988         (u_threshold): Likewise.
75989         (__expf): Call __ieee754_expf before checking for overflow and
75990         underflow.
75991         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75992         (u_threshold): Likewise.
75993         (__expl): Call __ieee754_expl before checking for overflow and
75994         underflow.
75995         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75996         (__ieee754_expl): Allow for and saturate large arguments.
75997         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75998         missing overflow exception on overflow.
75999         (expm1_test): Do not allow missing overflow exception on overflow.
76001         * sysdeps/i386/fpu/e_expl.c: Move to ...
76002         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
76003         rather than using inline asm.
76004         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
76005         * sysdeps/x86_64/fpu/e_expl.S: Copy from
76006         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
76008         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
76009         (nice): Likewise.
76010         (poll): Likewise.
76011         (signal): Likewise.
76012         (time): Likewise.
76013         (times): Likewise.
76015 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76017         * sysdeps/unix/syscalls.list (adjtime): Add entry from
76018         sysdeps/unix/common/syscalls.list.
76019         (fchmod): Likewise.
76020         (fchown): Likewise.
76021         (ftruncate): Likewise.
76022         (getrusage): Likewise.
76023         (gettimeofday): Likewise.
76024         (setpgid): Likewise.
76025         (setregid): Likewise.
76026         (setreuid): Likewise.
76027         (sigaction): Likewise.
76028         (truncate): Likewise.
76029         (vhangup): Likewise.
76030         * sysdeps/unix/common/syscalls.list: Remove file.
76031         * sysdeps/unix/bsd/Implies: Don't include unix/common.
76032         * sysdeps/unix/sysv/linux/Implies: Likewise.
76034 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
76036         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
76037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
76038         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
76039         Moved to ...
76040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
76041         Here.
76042         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
76043         to ...
76044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
76045         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
76046         to ...
76047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
76048         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
76049         to ...
76050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
76051         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
76052         to ...
76053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76054         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76055         to ...
76056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76057         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76058         to ...
76059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76060         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76061         to ...
76062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76063         Here.
76064         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76065         to ...
76066         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76067         Here.
76068         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76069         to ...
76070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76071         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76072         Moved to ...
76073         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76074         Here.
76075         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76076         to ...
76077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76079 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76081         * sysdeps/unix/common/bits/dirent.h: Remove file.
76082         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76084         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76085         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76086         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76087         * sysdeps/unix/bsd/isatty.c: Likewise.
76088         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76089         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76090         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76092 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76094         [BZ #13563]
76095         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76096         long double comparison inaccuracies.
76097         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76100 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76102         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76103         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76105 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76107         [BZ #14049]
76108         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76109         nonzero digits before rounding a hex value.
76110         * stdlib/tst-strtod.c (tests): Add another test.
76112 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76114         * sysdeps/s390/fpu/libm-test-ulps: Update.
76116 2012-05-03  Andreas Jaeger  <aj@suse.de>
76118         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76119         does not get optimized out.
76120         (malloc_opt_barrier): New.
76122 2012-05-03  Andreas Jaeger  <aj@suse.de>
76123             Roland McGrath  <roland@hack.frob.com>
76125         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76126         intermediate file deletion.
76127         (generated): Add .symlist files.
76129 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76131         [BZ #13775]
76132         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76133         Redirect under this condition.
76134         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76135         [__USE_GNU] (__dprintf_chk): Not under this condition.
76136         [__USE_GNU] (__vdprintf_chk): Likewise.
76137         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76138         under this condition.
76139         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76140         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76141         [__USE_XOPEN2K8] (vdprintf): Likewise.
76142         [__USE_GNU] (__dprintf_chk): Not under this condition.
76143         [__USE_GNU] (__vdprintf_chk): Likewise.
76144         [__USE_GNU] (dprintf): Likewise.
76145         [__USE_GNU] (vdprintf): Likewise.
76147 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76149         * elf/Makefile (common-generated): Set this instead of generated for
76150         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76151         $(all-built-dso)-derived lists.
76153 2012-05-03  Andreas Jaeger  <aj@suse.de>
76155         * sysdeps/i386/fpu/libm-test-ulps: Update.
76157         * FAQ: Removed.
76158         * FAQ.in: Likewise.
76159         * scripts/gen-FAQ.pl: Likewise.
76160         * manual/install.texi (Installation): Point to online location of
76161         FAQ.
76162         * Makefile (files-for-dist): Remove FAQ.
76163         (FAQ): Remove.
76165 2012-05-02  Allan McRae  <allan@archlinux.org>
76167         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76168         (LDFLAGS-reldepmod5.so): Likewise.
76169         (LDFLAGS-reldep6mod1.so): Likewise.
76170         (LDFLAGS-reldep6mod4.so): Likewise.
76171         (LDFLAGS-reldep8mod3.so): Likewise.
76172         (LDFLAGS-unload4mod1.so): Likewise.
76173         (LDFLAGS-unload4mod2.so): Likewise.
76174         (LDFLAGS-tst-initorder): Likewise.
76175         (LDFLAGS-tst-initordera2.so): Likewise.
76176         (LDFLAGS-tst-initordera3.so): Likewise.
76177         (LDFLAGS-tst-initordera4.so): Likewise.
76178         (LDFLAGS-tst-initorderb2.so): Likewise.
76179         (LDFLAGS-noload): Likewise.
76180         (LDFLAGS-next): Likewise.
76181         (LDFLAGS-order2mod1.so): Likewise.
76182         (LDFLAGS-order2mod2.so): Likewise.
76183         (LDFLAGS-tst-initorder2): Likewise.
76184         (LDFLAGS-tst-initorder2a.so): Likewise.
76185         (LDFLAGS-tst-initorder2b.so): Likewise.
76186         (LDFLAGS-tst-initorder2c.so): Likewise.
76187         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76189 2012-05-02  David S. Miller  <davem@davemloft.net>
76191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76193 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76195         [BZ #14055]
76196         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76198 2012-05-02  Andreas Jaeger  <aj@suse.de>
76200         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76201         since we manipulate rounding mode.
76202         (CPPFLAGS-test-idouble.c): Likewise.
76203         (CPPFLAGS-test-ifloat.c): Likewise.
76204         (CFLAGS-test-ldouble.c): Likewise.
76205         (CFLAGS-test-double.c): Likewise.
76206         (CFLAGS-test-float.c): Likewise.
76207         (CFLAGS-test-misc.c): Likewise.
76208         (CFLAGS-test-test-fenv.c): Likewise.
76210 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76212         [BZ #2550]
76213         [BZ #2570]
76214         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76215         comparisons to determine direction to adjust input.
76217 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76219         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76220         output to the target.
76222         * scripts/localplt.awk: New file.
76223         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76224         (check-localplt-CFLAGS): Variable removed.
76225         ($(all-built-dso:=.jmprel)): New static pattern rule.
76226         (generated): Add those targets.
76227         (localplt-built-dso): New variable.
76228         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76230         * elf/check-localplt.c: File removed.
76232         * scripts/check-execstack.awk: New file.
76233         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76234         (check-execstack-CFLAGS): Variable removed.
76235         ($(objpfx)check-execstack.h): Target removed.
76236         ($(objpfx)execstack-default): New target.
76237         (generated): Add that instead of check-execstack.h.
76238         ($(all-built-dso:=.phdr)): New static pattern rule.
76239         (generated): Add those targets.
76240         * elf/check-execstack.c: File removed.
76242         * scripts/check-textrel.awk: New file.
76243         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76244         (check-textrel-CFLAGS): Variable removed.
76245         (all-built-dso): Use := to define.o
76246         ($(all-built-dso:=.dyn)): New static pattern rule.
76247         (generated): Add those targets.
76248         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76249         * config.make.in (READELF): New substituted variable.
76250         * elf/check-textrel.c: File removed.
76252 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76254         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76255         allow.
76256         * conform/data/ctype.h-data [C99-based standards] (isblank):
76257         Expect function.
76258         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76259         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76260         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76261         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76262         Specify type.  Require positive value.
76263         (EILSEQ): Likewise.
76264         (ERANGE): Likewise.
76265         [ISO || POSIX] (EILSEQ): Do not expect.
76266         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76267         Specify type.  Require positive value.
76268         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76269         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76270         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76271         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76272         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76273         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76274         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76275         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76276         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76277         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76278         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76279         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76280         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76281         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76282         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76283         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76284         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76285         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76286         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76287         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76288         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76289         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76290         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76291         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76292         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76293         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76294         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76295         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76296         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76297         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76298         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76299         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76300         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76301         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76302         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76303         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76304         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76305         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76306         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76307         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76308         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76309         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76310         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76311         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76312         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76313         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76314         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76315         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76316         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76317         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76318         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76319         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76320         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76321         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
76322         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76323         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76324         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76325         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76326         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76327         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76328         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76329         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76330         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76331         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76332         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76333         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76334         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76335         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76336         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76337         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76338         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76339         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76340         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76341         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76342         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76343         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76344         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76345         Require >= 2.
76346         (FLT_ROUNDS): Expect as macro, not constant.
76347         (FLT_MANT_DIG): Use macro-int-constant.
76348         (DBL_MANT_DIG): Likewise.
76349         (LDBL_MANT_DIG): Likewise.
76350         (FLT_DIG): Likewise.
76351         (DBL_DIG): Likewise.
76352         (LDBL_DIG): Likewise.
76353         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76354         (DBL_MIN_EXP): Likewise.
76355         (LDBL_MIN_EXP): Likewise.
76356         (FLT_MAX_EXP): Use macro-int-constant.
76357         (DBL_MAX_EXP): Likewise.
76358         (LDBL_MAX_EXP): Likewise.
76359         (FLT_MAX_10_EXP): Likewise.
76360         (DBL_MAX_10_EXP): Likewise.
76361         (LDBL_MAX_10_EXP): Likewise.
76362         (FLT_MAX): Use macro-constant.
76363         (DBL_MAX): Likewise.
76364         (LDBL_MAX): Likewise.
76365         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76366         (DBL_EPSILON): Likewise.
76367         (LDBL_EPSILON): Likewise.
76368         (FLT_MIN): Likewise.
76369         (DBL_MIN): Likewise.
76370         (LDBL_MIN): Likewise.
76371         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76372         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76373         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76374         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76375         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76376         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76377         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76378         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76379         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76380         [ISO11] (FLT_TRUE_MIN): Likewise.
76381         [ISO11] (LDBL_TRUE_MIN): Likewise.
76382         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76383         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76384         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76385         (SCHAR_MAX): Likewise.
76386         (UCHAR_MAX): Likewise.
76387         (CHAR_MIN): Likewise.
76388         (CHAR_MAX): Likewise.
76389         (MB_LEN_MAX): Use macro-int-constant.
76390         (SHRT_MIN): Use macro-int-constant.  Specify type.
76391         (SHRT_MAX): Likewise.
76392         (USHRT_MAX): Likewise.
76393         (INT_MAX): Likewise.
76394         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76395         bound negative.
76396         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76397         bound with "U".
76398         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76399         bound with "L".
76400         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76401         bound negative.  Suffix upper bound with "L".
76402         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76403         bound with "UL".
76404         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76405         Specify type.
76406         [C99-based standards] (LLONG_MAX): Likewise.
76407         [C99-based standards] (ULLONG_MAX): Likewise.
76408         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76409         == 0.
76410         [ISO11] (max_align_t): Require type.
76411         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76413         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76414         from $CFLAGS, without defining away __attribute__ calls.
76415         (checknamespace): Use $CFLAGS_namespace.
76417         * conform/conformtest.pl (@keywords): Only include C99 keywords
76418         for standards based on C99 or C11.
76420         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76421         Disable tests.
76422         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76423         UNIX98]: Likewise.
76425         * conform/conformtest.pl: Handle "macro-int-constant" and test for
76426         usability of symbols in #if.
76428         * conform/conformtest.pl: If macro or constant types start
76429         "promoted:", expect the symbol to be of the following type
76430         promoted by the integer promotions.
76432         * conform/conformtest.pl: Parse all "constant" and "macro" lines
76433         in one place.  Also handle "macro-constant".
76435         * conform/conformtest.pl: Only accept expected macro values with
76436         "==".  Parse all "macro" lines in one place.
76437         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76439         * conform/conformtest.pl: Handle braced types on "constant" lines
76440         instead of handling "typed-constant".
76441         * conform/data/signal.h-data: Use "constant" instead of
76442         "typed-constant".
76444         * conform/conformtest.pl: Handle "optional-" at start of lines in
76445         one place rather than duplicating several cases.  Handle each
76446         format of "macro" line with initial "optional-".
76448         * conform/conformtest.pl: Only accept expected constant or
76449         optional-constant values with "==".  Parse all "constant" lines in
76450         one place.  Parse all "optional-constant" lines in one place.
76451         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76452         * conform/data/fmtmsg.h-data: Likewise.
76453         * conform/data/netinet/in.h-data: Likewise.
76454         * conform/data/tar.h-data: Likewise.
76455         * conform/data/limits.h-data: Use "==" form on "constant" and
76456         "optional-constant" lines.
76458         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76459         Use -std=c99 for XOPEN2K.
76460         (@knownproblems): Remove.
76461         (newtoken): Don't check %isknown.
76463         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76464         Do not expect macro.
76465         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76466         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76467         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76468         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76469         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76470         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76471         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76472         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76473         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76474         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76475         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76476         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76477         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76478         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76479         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76480         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76481         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76482         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76483         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76484         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76485         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76486         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76487         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76488         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76489         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76490         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76491         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76492         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76493         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76494         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76495         [XPG3] (acosh): Likewise.
76496         [XPG3] (asinh): Likewise.
76497         [XPG3] (atanh): Likewise.
76498         [XPG3] (cbrt): Likewise.
76499         [XPG3] (expm1): Likewise.
76500         [XPG3] (ilogb): Likewise.
76501         [XPG3] (log1p): Likewise.
76502         [XPG3] (logb): Likewise.
76503         [XPG3] (nextafter): Likewise.
76504         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76505         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76506         [XPG3] (remainder): Likewise.
76507         [XPG3] (rint): Likewise.
76508         [XPG3 || XPG4 || UNIX98] (round): Likewise.
76509         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76510         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76511         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76512         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76513         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76514         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76515         [UNIX98 || XOPEN2K] (scalb): Expect.
76516         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76517         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76518         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76519         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76520         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76521         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76522         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76523         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76524         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76525         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76526         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76527         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76528         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76529         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76530         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76531         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76532         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76533         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76534         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76535         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76536         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76537         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76538         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76539         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76540         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76541         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76542         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76543         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76544         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76545         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76546         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76547         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76548         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76549         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76550         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76551         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76552         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76553         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76554         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76555         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76556         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76557         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76558         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76559         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76560         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76561         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76562         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76563         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76564         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76565         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76566         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76567         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76568         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76569         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76570         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76571         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76572         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76573         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76574         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76575         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76576         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76577         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76578         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76579         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76580         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76581         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76582         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76583         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76584         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76585         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76586         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76587         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76588         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76589         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76590         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76591         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76592         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76593         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76594         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76595         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76596         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76597         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76598         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76599         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76600         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76601         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76602         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76603         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76604         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76605         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76606         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76607         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76608         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76609         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76610         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76611         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76612         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76613         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76614         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76615         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76616         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76617         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76618         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76619         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76620         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76621         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76622         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76623         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76624         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76625         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76626         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76627         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76628         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76629         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76630         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76631         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76632         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76633         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76634         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76635         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76636         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76637         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76638         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76639         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76640         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76641         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76642         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76643         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76644         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76645         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76646         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76647         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76648         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76649         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76650         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76651         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76652         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76654         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76655         _XOPEN_SOURCE_EXTENDED for XPG4.
76657         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76659         * Makeconfig (localtime): Remove variable.
76660         (inst_localtime-file): Likewise.
76662 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76665         Update.
76666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76667         Update.
76668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76669         Update.
76670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76671         Update.
76672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76673         Update.
76674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76675         Update.
76676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76677         Update.
76678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76679         Update.
76680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76681         Update.
76683 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76685         [BZ #2550]
76686         [BZ #2570]
76687         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76688         comparisons to determine direction to adjust input.
76689         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76690         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76691         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76692         Likewise.
76693         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76694         Likewise.
76695         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76696         Likewise.
76697         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76698         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76699         Likewise.
76700         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76701         Likewise.
76702         * math/libm-test.inc (nexttoward_test): Add more tests.
76704 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76706         [BZ #14040]
76707         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76708         in version GLIBC_2.1, not GLIBC_2.0.
76709         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76710         Likewise.
76712 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76714         [BZ #13942]
76715         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76716         (1 - x) * (1 + x).
76717         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76718         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76719         * math/libm-test.inc (acos_test): Add more tests.
76720         (asin_test): Likewise.
76721         * sysdeps/i386/fpu/libm-test-ulps: Update.
76722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76724         [BZ #14034]
76725         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76726         of square root.
76727         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76728         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76729         * math/libm-test.inc (acos_test_tonearest): New function.
76730         (acos_test_towardzero): Likewise.
76731         (acos_test_downward): Likewise.
76732         (acos_test_upward): Likewise.
76733         (asin_test_tonearest): Likewise.
76734         (asin_test_towardzero): Likewise.
76735         (asin_test_downward): Likewise.
76736         (asin_test_upward): Likewise.
76737         (main): Call the new functions.
76738         * sysdeps/i386/fpu/libm-test-ulps: Update.
76739         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76741         [BZ #13884]
76742         [BZ #13924]
76743         * math/e_exp10.c: Include <float.h>.
76744         (__ieee754_exp10): Handle underflow here rather than multiplying
76745         large negative argument by M_LN10.
76746         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76747         of __ieee754_expf.
76748         * math/e_exp10l.c: Include <float.h>.
76749         (__ieee754_exp10l): Handle underflow here rather than multiplying
76750         large negative argument by M_LN10l.
76751         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76752         spurious overflow exception on underflow.
76754 2012-04-29  Marek Polacek  <polacek@redhat.com>
76756         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76757         (__fortify_function): New macro.
76758         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76759         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76760         __extern_always_inline.
76761         * libio/bits/stdio2.h: Likewise.
76762         * libio/bits/stdio.h: Likewise.
76763         * string/string.h: Likewise.
76764         * string/bits/string3.h: Likewise.
76765         * include/stdio.h: Likewise.
76766         * stdlib/bits/stdlib.h: Likewise.
76767         * stdlib/stdlib.h: Likewise.
76768         * rt/bits/mqueue2.h: Likewise.
76769         * rt/mqueue.h: Likewise.
76770         * posix/bits/unistd.h: Likewise.
76771         * posix/unistd.h: Likewise.
76772         * io/bits/poll2.h: Likewise.
76773         * io/bits/fcntl2.h: Likewise.
76774         * io/fcntl.h: Likewise.
76775         * io/sys/poll.h: Likewise.
76776         * misc/bits/syslog.h: Likewise.
76777         * misc/bits/syslog-ldbl.h: Likewise.
76778         * misc/sys/syslog.h: Likewise.
76779         * socket/bits/socket2.h: Likewise.
76780         * socket/sys/socket.h: Likewise.
76781         * debug/tst-chk1.c: Likewise.
76782         * wcsmbs/bits/wchar2.h: Likewise.
76783         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76784         * wcsmbs/wchar.h: Likewise.
76786 2012-04-29  Andreas Jaeger  <aj@suse.de>
76788         * Makerules (tests): Remove enable-check-abi protection.
76789         (check-abi-warn): Remove.
76790         (check-abi-%): Remove check-abi-warn usage.
76792         * configure.in: Remove check-abi configure option.
76793         * configure: Regenerated.
76794         * config.make.in (enable-check-abi): Remove.
76796 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76798         [BZ #14033]
76799         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76800         double functions to double *_finite functions.
76802         [BZ #13941]
76803         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76804         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76805         LDBL_MIN_EXP.
76806         * stdio-common/Makefile (tests): Add tst-sprintf3.
76807         * stdio-common/tst-sprintf3.c: New file.
76809         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76810         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76812 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76814         * conform/conformtest.pl: Remove duplicate typed-constant
76815         handling.
76817 2012-04-28  David S. Miller  <davem@davemloft.net>
76819         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76820         (check-abi-%): Remove AWK script prerequisite and explicit
76821         abilist directory.
76822         (check-abi): Rewrite to just diff the symlist with the abilist.
76823         (config-tls, config-abi-config): Delete, no longer used.
76824         (update-abi-%): Remove AWK script and explicit abilist directory.
76825         (update-abi): Rewrite to simply compare and conditionally copy the
76826         symlist and the sysdep abilist file.  Remove update-abi-config
76827         checks.
76828         * abilist/ld.abilist: Remove.
76829         * abilist/libBrokenLocale.abilist: Remove.
76830         * abilist/libanl.abilist: Remove.
76831         * abilist/libcrypt.abilist: Remove.
76832         * abilist/libdl.abilist: Remove.
76833         * abilist/librt.abilist: Remove.
76834         * abilist/libthread_db.abilist: Remove.
76835         * abilist/libutil.abilist: Remove.
76836         * scripts/extract-abilist.awk: Remove.
76837         * scripts/merge-abilist.awk: Remove.
76838         * sysdeps/generic/libcidn.abilist: New file.
76839         * sysdeps/generic/libnss_compat.abilist: New file.
76840         * sysdeps/generic/libnss_db.abilist: New file.
76841         * sysdeps/generic/libnss_dns.abilist: New file.
76842         * sysdeps/generic/libnss_files.abilist: New file.
76843         * sysdeps/generic/libnss_hesiod.abilist: New file.
76844         * sysdeps/generic/libnss_nis.abilist: New file.
76845         * sysdeps/generic/libnss_nisplus.abilist: New file.
76846         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76847         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76848         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76849         file.
76850         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76851         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76852         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76853         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76854         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76855         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76856         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76857         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76858         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76859         file.
76860         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76861         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76862         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76863         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76864         file.
76865         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76866         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76867         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76868         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76869         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76870         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76871         file.
76872         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76873         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76874         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76875         file.
76876         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76877         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76878         New file.
76879         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76880         New file.
76881         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76882         New file.
76883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76884         New file.
76885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76886         New file.
76887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76888         New file.
76889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76890         New file.
76891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76892         New file.
76893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76894         New file.
76895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76896         New file.
76897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76898         New file.
76899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76900         New file.
76901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76902         New file.
76903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76904         file.
76905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76906         New file.
76907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76908         New file.
76909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76910         file.
76911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76912         New file.
76913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76914         New file.
76915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76916         file.
76917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76918         New file.
76919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76920         New file.
76921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76922         New file.
76923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76924         New file.
76925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76926         New file.
76927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76928         New file.
76929         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76930         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76931         file.
76932         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76933         New file.
76934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76935         file.
76936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76937         file.
76938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76939         file.
76940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76941         file.
76942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76943         file.
76944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76945         New file.
76946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76947         file.
76948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76949         file.
76950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76951         New file.
76952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76953         file.
76954         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76955         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76956         file.
76957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76958         New file.
76959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76960         file.
76961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76962         file.
76963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76964         file.
76965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76966         file.
76967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76968         file.
76969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76970         New file.
76971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76972         file.
76973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76974         file.
76975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76976         New file.
76977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76978         file.
76979         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76980         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76981         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76982         file.
76983         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76984         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76985         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76986         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76987         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76988         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76989         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76990         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76991         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76992         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76994         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76995         file.
76996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76997         New file.
76998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76999         file.
77000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
77001         file.
77002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
77003         file.
77004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
77005         file.
77006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
77007         file.
77008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
77009         New file.
77010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
77011         New file.
77012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
77013         file.
77014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
77015         New file.
77016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
77017         file.
77018         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
77019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
77020         file.
77021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
77022         New file.
77023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
77024         file.
77025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
77026         file.
77027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
77028         file.
77029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
77030         file.
77031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
77032         file.
77033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77034         New file.
77035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
77036         New file.
77037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
77038         file.
77039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
77040         New file.
77041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
77042         file.
77044 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
77046         * conform/conformtest.pl: Fix typo in handling typed-constant from
77047         allow-header.
77049 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77051         * README: Cut down references to pre-2.6 Linux kernels and
77052         Linuxthreads.  Update lists of configurations in libc and ports
77053         and sort alphabetically.  Say "or newer" with Linux kernel version
77054         requirements.
77056         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77058 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77060         [BZ #887]
77061         * math/libm-test.inc (logb_test_downward): New test to expose
77062         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77063         rounding mode.
77065 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77067         [BZ #14027]
77068         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77069         to be done.
77070         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77071         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77073 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77075         * sysdeps/unix/i386/brk.S: Remove file.
77076         * sysdeps/unix/i386/dl-brk.S: Likewise.
77077         * sysdeps/unix/i386/pipe.S: Likewise.
77078         * sysdeps/unix/i386/sigreturn.S: Likewise.
77079         * sysdeps/unix/i386/syscall.S: Likewise.
77080         * sysdeps/unix/i386/vfork.S: Likewise.
77081         * sysdeps/unix/i386/wait.S: Likewise.
77083         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77084         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77086         * configure.in (arm*-none*): Do not allow without
77087         --enable-hacker-mode.
77088         (netbsd*): Remove case setting base_os.
77089         (386bsd*): Likewise.
77090         (freebsd*): Likewise.
77091         (bsdi*): Likewise.
77092         (osf*): Likewise.
77093         (sunos*): Likewise.
77094         (ultrix*): Likewise.
77095         (newsos*): Likewise.
77096         (dynix*): Likewise.
77097         (*bsd*): Likewise.
77098         (sysv*): Likewise.
77099         (isc*): Likewise.
77100         (esix*): Likewise.
77101         (sco*): Likewise.
77102         (minix*): Likewise.
77103         (irix4*): Likewise.
77104         (irix6*): Likewise.
77105         (solaris[2-9]*): Likewise.
77106         (none): Likewise.
77107         * configure: Regenerated.
77109 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77111         [BZ #11521]
77112         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77113         overflow or cancellation in calculating denominator.
77114         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77115         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77116         down expression to avoid unexpected rounding in newer GCCs.
77117         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77119 2012-04-26  David S. Miller  <davem@davemloft.net>
77121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77122         long-double compat symbols.
77123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77130         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77131         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77132         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77133         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77137 2012-04-25  David S. Miller  <davem@davemloft.net>
77139         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77140         HWCAP_* values only after the memory barriers have been defined.
77141         (atomic_full_barrier): Define.
77142         (atomic_read_barrier): Define.
77143         (atomic_write_barrier): Define.
77145 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77147         * shlib-versions: Add libgcc_s version information.
77148         * sysdeps/generic/libgcc_s.h: Remove.
77149         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77150         libgcc_s.h.
77151         * sysdeps/gnu/unwind-resume.c: Likewise.
77152         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77154 2012-04-25  David S. Miller  <davem@davemloft.net>
77156         * sysdeps/unix/sparc/brk.S: Delete.
77157         * sysdeps/unix/sparc/dl-brk.S: Delete.
77158         * sysdeps/unix/sparc/pipe.S: Delete.
77159         * sysdeps/unix/sparc/sysdep.S: Delete.
77160         * sysdeps/unix/sparc/sysdep.h: Delete.
77161         * sysdeps/unix/sparc/vfork.S: Delete.
77162         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77163         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77164         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77165         (ret_ERRVAL, r0, r1, MOVE): Define.
77166         (JUMPTARGET): Remove.
77167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77168         sysdeps/unix/sparc/sysdep.h
77169         (ENTRY, END): Remove.
77170         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77172 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77174         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77175         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77176         -DIS_IN_build.
77178         * timezone/README: Update upstream location and email address for
77179         tzcode and tzdata.
77180         * timezone/zdump.c: Update from tzcode 2012b.
77181         * timezone/zic.c: Likewise.
77183         * configure.in (libc_cv_as_needed): Remove test.
77184         * configure: Regenerated.
77185         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77186         conditional definition.
77187         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77188         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77189         * config.make.in (have-as-needed): Remove variable.
77191 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77192             Paul Pluzhnikov  <ppluzhnikov@google.com>
77194         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77195         strings correctly.
77197 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77199         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77200         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77201         * sysdeps/sh/strlen.S: Likewise.
77203 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77205         * sysdeps/unix/fork.S: Remove file.
77206         * sysdeps/unix/i386/fork.S: Likewise.
77207         * sysdeps/unix/sparc/fork.S: Likewise.
77209         * sysdeps/unix/system.c: Remove file.
77210         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77212         * sysdeps/unix/getegid.S: Remove file.
77213         * sysdeps/unix/geteuid.S: Likewise.
77215 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77217         * scripts/check-localplt.awk: New file.
77218         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77219         of diff.
77220         * scripts/data/localplt-generic.data: Add a comment.
77222         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77223         NODE when __dir_mkfile failed.
77224         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77225         Reported by Ludovic Courtès <ludo@gnu.org>.
77227 2012-04-24  Andreas Jaeger  <aj@suse.de>
77229         * Makerules (common-clean): Also remove gen-as-const-headers
77230         files.
77232 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77234         * Makerules (native-compile): Do not change working directory for
77235         build.  Use $(OUTPUT_OPTION) in command.
77236         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77238 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77240         [BZ #13886]
77241         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77242         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77243         * math/libm-test.inc (floor_test): Add more tests.
77244         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77246 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77248         * sysdeps/unix/getdents.c: Remove file.
77249         * sysdeps/unix/sysv/getdents.c: Likewise.
77250         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77252         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77253         sysdeps/unix/mman/syscalls.list.
77254         (mmap): Likewise.
77255         (mprotect): Likewise.
77256         (msync): Likewise.
77257         (munmap): Likewise.
77258         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77259         * sysdeps/unix/mman/syscalls.list: Remove.
77260         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77262         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77263         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77264         * configure: Regenerated.
77265         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77266         $(libgcc_s_suffix).
77267         * config.make.in (libgcc_s_suffix): Remove variable.
77269 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77271         * sysdeps/unix/sysv/gethostname.c: Move to ...
77272         * sysdeps/posix/gethostname.c: ... here.
77274         * sysdeps/unix/execve.S: Remove file.
77276         * sysdeps/unix/_exit.S: Remove file.
77278 2012-04-23  Andreas Jaeger  <aj@suse.de>
77280         [BZ #13739]
77281         * manual/Makefile: Remove make dist support, there's no
77282         need for a stand-alone documentation tar ball.
77283         (TEXI2DVI): Define always, it's not in Makeconfig.
77284         (dist): Removed.
77285         (tar-it): Removed.
77286         (edition): Removed.
77287         (glibc-doc-$(edition).tar): Removed
77288         (%.Z): Removed.
77289         (%.gz): Removed.
77290         (%.uu): Removed.
77291         (ETAGS): Remove, it's in Makeconfig.
77292         (move-if-change): Remove, it's in Makeconfig.
77294 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
77296         [BZ #13970]
77297         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77298         (strtod, strtof, strtold, strtol, strtoul, strtoq)
77299         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77300         (strtod_l, strtof_l, strtold_l): Remove __wur.
77301         It is not necessarily an error to ignore strtol's return value.
77302         One can reliably look at the stored endptr to decide whether
77303         the number had valid syntax.
77305 2012-04-21  Andreas Jaeger  <aj@suse.de>
77307         [BZ #13739]
77308         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77310 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
77312         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77313         * sysdeps/unix/sysv/Versions: Remove file.
77315 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
77317         [BZ #13927]
77318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77320 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
77322         [BZ #7064]
77323         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77324         version from __vm86.
77326 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
77328         * sysdeps/unix/common/lxstat.c: Remove file.
77329         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77331         * sysdeps/unix/sysv/Makefile: Remove file.
77333         * sysdeps/unix/sysv/direct.h: Remove file.
77335         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77336         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77337         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77338         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77339         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77340         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77341         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77343         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77345         * sysdeps/unix/xmknod.c: Remove file.
77346         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77348         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77350         * sysdeps/unix/sysv/i386/time.S: Remove file.
77352         * sysdeps/unix/fxstat.c: Remove file.
77353         * sysdeps/unix/xstat.c: Likewise.
77354         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77356         * sysdeps/unix/sysv/sigaction.c: Remove file.
77358         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77359         (sysdep_headers): Remove variable.
77360         [termio.h not in sysdep_headers] (generated): Likewise.
77361         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77362         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77363         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77364         * sysdeps/unix/sysv/tcflow.c: Likewise.
77365         * sysdeps/unix/sysv/tcflush.c: Likewise.
77366         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77367         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77368         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77369         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77370         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77372         * sysdeps/unix/siglist.c: Remove file.
77374         * sysdeps/unix/getppid.S: Remove file.
77376         * sysdeps/unix/mkdir.c: Remove file.
77377         * sysdeps/unix/rmdir.c: Likewise.
77379 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77381         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77382         ERR_MAX value.
77383         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77384         errlist-compat value.
77386 2012-04-18  David S. Miller  <davem@davemloft.net>
77388         * sysdeps/generic/memcopy.h (reg_char): Delete.
77389         * debug/strcat_chk.c: Use char, not reg_char.
77390         * debug/strcpy_chk.c: Likewise.
77391         * debug/strncat_chk.c: Likewise.
77392         * debug/strncpy_chk.c: Likewise.
77393         * string/memchr.c: Likewise.
77394         * string/memrchr.c: Likewise.
77395         * string/rawmemchr.c: Likewise.
77396         * string/strcat.c: Likewise.
77397         * string/strchr.c: Likewise.
77398         * string/strchrnul.c: Likewise.
77399         * string/strcmp.c: Likewise.
77400         * string/strcpy.c: Likewise.
77401         * string/strncat.c: Likewise.
77402         * string/strncmp.c: Likewise.
77403         * string/strncpy.c: Likewise.
77405 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77407         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77408         __builtin_memcopy is called when src and dest ranges are known to not
77409         overlap.
77411 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77413         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77414         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77415         fwd_align_merge macro call.
77416         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77417         bwd_align_merge macro call.
77418         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77420 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77422         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77423         bwd_align_merge macros.
77424         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77425         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77426         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77428 2012-04-18  David S. Miller  <davem@davemloft.net>
77430         * sysdeps/sparc/sparc64/memcopy.h: Delete.
77432 2012-04-18  Andreas Jaeger  <aj@suse.de>
77434         [BZ# 6794]
77435         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77436         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77437         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77439         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77440         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77441         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77443         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77444         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77445         Adjust for changed ldbl-128 files.
77447         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77448         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77449         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77451 2012-04-17  David S. Miller  <davem@davemloft.net>
77453         * sysdeps/sparc/sparc32/memcopy.h: Delete.
77455 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
77457         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77458         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77459         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77460         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77461         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77462         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77464 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77466         [BZ #6794]
77467         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77468         * math/libm-test.inc: Add ilogb errno and exception tests.
77469         * math/w_ilogb.c: New file: ilogb wrapper.
77470         * math/w_ilogbf.c: New file: ilogbf wrapper.
77471         * math/w_ilogbl.c: New file: ilogbl wrapper.
77472         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77473         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77474         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77475         exception being thrown with 0.0 as argument.
77476         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77477         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77478         exception being thrown with 0.0 as argument.
77479         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77480         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77481         exception being thrown with 0.0 as argument.
77482         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77483         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77484         exception being thrown with 0.0 as argument.
77485         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77486         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77487         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77488         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77489         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77490         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77491         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77492         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77493         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77495 2012-04-17  Petr Baudis  <pasky@ucw.cz>
77497         * include/sys/uio.h: Change __vector to __iovec to avoid clash
77498         with altivec.
77500 2012-04-16  Marek Polacek  <polacek@redhat.com>
77502         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77504 2012-04-16  Marek Polacek  <polacek@redhat.com>
77506         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77507         operands of fdivp instruction.
77509 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77511         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77512         * elf/tst-auditmod3b.c: Likewise.
77513         * elf/tst-auditmod4b.c: Likewise.
77514         * elf/tst-auditmod5b.c: Likewise.
77515         * elf/tst-auditmod6b.c: Likewise.
77516         * elf/tst-auditmod6c.c: Likewise.
77517         * elf/tst-auditmod7b.c: Likewise.
77518         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77519         * sysdeps/x86_64/preconfigure.in: Likewise.
77520         * sysdeps/x86_64/preconfigure: Regenerated.
77522 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77524         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77525         __ILP32__.
77527 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77529         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77530         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77532 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77534         [BZ #13973]
77535         * locale/iso-639.def: Fix gl language name. Spotted by
77536         Yaron Shahrabani.
77538 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77540         [BZ #2074]
77541         * libio/libio.h (__io_write_fn): Update comment.
77543 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77545         [BZ #2074]
77546         * stdio.texi (Hook Functions): The user provided writer function
77547         is not allowed to return -1.
77549 2012-04-11  David S. Miller  <davem@davemloft.net>
77551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77553 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77555         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77556         Add a leading slash to rtkaio.
77558 2012-04-11  Jim Meyering  <meyering@redhat.com>
77560         [BZ #11959]
77561         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77562         It is not necessarily an error to ignore fwrite's return
77563         value.  One can reliably use ferror to test for errors after
77564         the fact.
77566 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77568         * bits/types.h (__snseconds_t): New type.
77569         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77571         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77572         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77573         (__SNSECONDS_T_TYPE): Likewise.
77574         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77575         (__SNSECONDS_T_TYPE): Likewise.
77576         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77577         (__SNSECONDS_T_TYPE): Likewise.
77579 2012-04-10  Andreas Jaeger  <aj@suse.de>
77581         [BZ #2636]
77582         * manual/time.texi (Processor Time): Return type of times is
77583         elapsed real time since an arbitrary point in the past.
77584         (CPU Time): Move CLK_TCK from here...
77585         (Processor Time): ...to here.  Correct description.
77586         * manual/conf.texi (Constants for Sysconf): Correct description of
77587         _SC_CLK_TCK.
77589 2012-04-10  David S. Miller  <davem@davemloft.net>
77591         [BZ #13967]
77592         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77593         where the is a gap between DT_REL(A) and DT_JMPREL.
77595 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77597         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77598         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77599         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77601 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77603         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77604         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77605         (dl_main): Handle --inhibit-cache.
77606         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77607         _dl_inhibit_cache.
77608         * elf/dl-load.c (_dl_map_object): Use it.
77609         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77611 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77613         [BZ #13872]
77614         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77615         (__ieee754_powl): Saturate large exponents rather than testing for
77616         overflow of y*log2(x).
77617         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77618         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77619         exceptions.
77621         [BZ #11521]
77622         * math/s_ctan.c: Include <float.h>.
77623         (__ctan): Avoid internal overflow or cancellation in calculating
77624         denominator.
77625         * math/s_ctanf.c: Likewise.
77626         * math/s_ctanl.c: Likewise.
77627         * math/s_ctanh.c: Likewise.
77628         * math/s_ctanhf.c: Likewise.
77629         * math/s_ctanhl.c: Likewise.
77630         * math/libm-test.inc (ctan_test): Add more tests.
77631         (ctanh_test): Likewise.
77632         * sysdeps/i386/fpu/libm-test-ulps: Update.
77633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77635 2012-04-09  Andreas Jaeger  <aj@suse.de>
77637         [BZ #6894]
77638         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77639         is an optional BSD extension.
77641         [BZ #10254]
77642         * manual/stdio.texi (Opening Streams): Document additional fopen
77643         parameters.
77645 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77647         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77648         %eax without telling the compiler.
77650 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77652         [BZ # 13963]
77653         * manual/install.texi: Use sourceware.org.
77655 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77657         [BZ #13873]
77658         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77659         (__ieee754_pow): Generate overflow and underflow using huge*huge
77660         and tiny*tiny rather than just returning constant infinity or zero
77661         for large exponents.
77662         * math/libm-test.inc (pow_test): Require overflow exceptions for
77663         applicable cases of large exponents.
77665         [BZ #706]
77666         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77667         (__ieee754_pow): Use iterative multiplication algorithm only for
77668         integer exponents with absolute value below 1024.  Check for odd
77669         integer exponents when using algorithm for real exponents.
77670         * math/libm-test.inc (pow_test): Add more tests.
77671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77673 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77675         [BZ #13705]
77676         * math/libm-test.inc (exp_test): Do not allow overflow exception
77677         on underflow test.
77679 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77681         [BZ #13705]
77682         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77683         instead of __kernel_standard_f.
77685 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77687         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77688         * sysdeps/x86_64/memset_chk.S: Likewise.
77690 2012-04-08  Andreas Jaeger  <aj@suse.de>
77692         [BZ #10153]
77693         * manual/startup.texi (Environment Access): Describe return value
77694         for putenv and setenv.
77696         [BZ #6895]
77697         * manual/filesys.texi (Directory Entries): Add description for
77698         DT_LNK.
77700         [BZ #6890]
77701         * manual/filesys.texi (Directory Entries): Clarify that it's file
77702         system not operating system in the description of DT_UNKNOWN.
77704         [BZ #6578]
77705         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77707 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77709         [BZ #6649]
77710         * manual/llio.texi (Opening and Closing Files): Add cross
77711         reference to explain mode argument.
77713 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77715         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77716         * sysdeps/x86_64/memset_chk.S: Likewise.
77718 2012-04-07  David S. Miller  <davem@davemloft.net>
77720         * elf/elf.h (R_SPARC_WDISP10): Define.
77721         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77722         R_SPARC_SIZE32.
77723         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77724         R_SPARC_SIZE64 and R_SPARC_H34.
77726 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77728         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77729         conditions and remove no longer applicable assertion.
77731 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77733         * bits/byteswap.h: Include <features.h>.
77734         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77735         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77737 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77739         * bits/byteswap.h (__bswap_16): Removed.
77740         Include <bits/byteswap-16.h> to get __bswap_16.
77741         * sysdeps/i386/bits/byteswap.h: Likewise.
77742         * sysdeps/s390/bits/byteswap.h: Likewise.
77743         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77744         * bits/byteswap-16.h: New file.
77745         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77746         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77747         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77748         * string/Makefile (headers): Add bits/byteswap-16.h.
77750 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77752         [BZ #13895]
77753         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77754         extra indirection.
77755         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77756         * nss/tst-nss-static.c: New.
77758 2012-04-06  Robert Millan  <rmh@gnu.org>
77760         [BZ #6486]
77761         * manual/llio.texi (File Position Primitive): lseek
77762         refers to WHENCE when it really means OFFSET.
77764 2012-04-06  Andreas Jaeger  <aj@suse.de>
77766         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77767         strncmp declarations.
77769         * abilist/libc.abilist: Add __poll and __ppoll.
77771 2012-04-05  David S. Miller  <davem@davemloft.net>
77773         * scripts/check-local-headers.sh: Accept a host triplet in the
77774         path matched by the exclude regexp.
77776         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77777         definition.
77778         * sysdeps/powerpc/powerpc32/dl-machine.h
77779         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77780         * sysdeps/s390/s390-32/dl-machine.h
77781         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77782         * sysdeps/sparc/sparc32/dl-machine.h
77783         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77784         * sysdeps/sparc/sparc64/dl-machine.h
77785         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77787         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77788         lazy binding.
77789         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77790         undefined symbol errors.
77792         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77793         DT_NEEDED entries.
77795 2012-04-05  Michael Matz  <matz@suse.de>
77797         [BZ #13592]
77798         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77800 2012-04-05  Andreas Jaeger  <aj@suse.de>
77802         [BZ #13908]
77803         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77804         comment.
77806 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77808         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77809         which ROUND is no valid rounding mode.
77811 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77813         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77814         read again.
77815         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77817 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77819         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77820         an exception using FPU order intentionally.
77822 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77824         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77825         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77826         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77827         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77829 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77831         [BZ #12340]
77832         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77833         EINVAL when BUFLEN is too smal.
77835 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77837         [BZ #13553]
77838         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77839         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77841 2012-04-03  Andreas Jaeger  <aj@suse.de>
77843         [BZ #13938]
77844         * manual/setjmp.texi (System V contexts): Fix sentence.
77846         [BZ #13926]
77847         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77848         New macro for this case.
77849         [!__GNUC__] (__bswap_64): New inline function for this case.
77850         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77851         * bits/byteswap.h: Likewise.
77852         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77853         ull, guard with __GLIBC_HAVE_LONG_LONG.
77855         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77856         __GLIBC_HAVE_LONG_LONG.
77858         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77859         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77861 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77863         [BZ #13691]
77864         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77865         inptr and inend, rather than using last_ch.
77867 2012-04-02  David S. Miller  <davem@davemloft.net>
77869         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77870         * stdio-common/printf-parse.h (read_int): Change return type to
77871         'int', return -1 on INT_MAX overflow.
77872         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77873         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77874         overflows INT_MAX.  Check for overflow of in-format-string precision
77875         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77876         SIZE_MAX not INT_MAX for integer overflow test.
77877         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77878         skip the construct in the format string but do not record anything.
77879         * stdio-common/bug22.c: Adjust to test both width/prevision
77880         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77881         explicitly for proper errno values.
77883 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77885         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77886         CHAR_MAX.
77887         * string/test-strcmp.c [! WIDE]: Likewise.
77888         * time/tst-mktime2.c: Likewise for INT_MAX.
77889         * string/test-string.h: #include <sys/param.h> for MIN.
77891         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77892         * sysdeps/i386/init-first.c (init): Likewise.
77893         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77894         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77895         * sysdeps/sh/init-first.c (init): Likewise.
77897 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77899         * po/ru.po: Update from translation team.
77900         * po/vi.po: Likewise.
77902 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77904         * resolv/nss_dns/dns-host.c: Merge copyright years.
77906 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77908         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77909         Optimize memcpy with prefetch if
77910         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77911         src, dst pointers have unequal 16 byte alignments.
77913 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77915         [BZ #13928]
77916         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77917         from a CNAME entry and return the minimum ttl for the query.
77918         (gaih_getanswer_slice): Likewise.
77920 2012-03-30  Jeff Law  <law@redhat.com>
77922         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77923         due to long keys.
77924         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77925         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77927         * resolv/nss_dns/dns-host.c: Update copyright year.
77929 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77931         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77932         requests to save a system call.  Fix check that all bytes are sent.
77934         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77935         comments for sendmmsg.
77937 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77939         [BZ #13691]
77940         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77941         with only 1 character between 0x0041 and 0x01b0.
77942         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77943         * wcsmbs/tst-mbsnrtowcs.c: New file.
77945 2012-03-29  David S. Miller  <davem@davemloft.net>
77947         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77948         small copies by hand.
77950 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77952         [BZ #13761]
77953         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77954         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77955         group memberships.
77957 2012-03-28  David S. Miller  <davem@davemloft.net>
77959         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77960         that branches into memcpy.
77961         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77962         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77963         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77964         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77965         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77966         bits.
77967         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77968         implementation too.
77969         * sysdeps/sparc/mempcpy.S: New file.
77971         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77972         the IFUNC routine in the libc case.
77973         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77975         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77976         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77977         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77978         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77979         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77980         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77981         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77982         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77984         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77985         loop to 256 bytes instead of 64 bytes and fix test signedness.
77987         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77988         * sysdeps/sparc/sparc32/Makefile: rather than here...
77989         * sysdeps/sparc/sparc64/Makefile: and here.
77991 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77993         * malloc/mallocbug.c: Avoid warnings about unused variables.
77995 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77997         [BZ #13760]
77998         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77999         in the right place. Discard and retry query if response is
78000         larger than input buffer size.
78002 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
78004         [BZ #369]
78005         [BZ #2678]
78006         [BZ #3866]
78007         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
78008         x for large integer exponent.
78009         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
78010         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
78011         sign of result as needed afterwards.
78012         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
78013         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
78014         result for underflowing pow the same as for overflow.
78015         (__kernel_standard_l): Handle powl overflow and underflow here
78016         rather than calling __kernel_standard.
78017         * math/libm-test.inc (pow_test): Add more tests.
78019         [BZ #3868]
78020         [BZ #13879]
78021         [BZ #13910]
78022         [BZ #13911]
78023         [BZ #13912]
78024         [BZ #13913]
78025         [BZ #13915]
78026         [BZ #13916]
78027         [BZ #13917]
78028         [BZ #13918]
78029         [BZ #13919]
78030         [BZ #13920]
78031         [BZ #13921]
78032         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
78033         * sysdeps/ieee754/k_standard.c: Include <float.h>.
78034         (__kernel_standard_l): New function.
78035         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
78036         __kernel_standard.
78037         * math/w_acosl.c (__acosl): Likewise.
78038         * math/w_asinl.c (__asinl): Likewise.
78039         * math/w_atan2l.c (__atan2l): Likewise.
78040         * math/w_atanhl.c (__atanhl): Likewise.
78041         * math/w_coshl.c (__coshl): Likewise.
78042         * math/w_exp10l.c (__exp10l): Likewise.
78043         * math/w_exp2l.c (__exp2l): Likewise.
78044         * math/w_fmodl.c (__fmodl): Likewise.
78045         * math/w_hypotl.c (__hypotl): Likewise.
78046         * math/w_j0l.c (__j0l, __y0l): Likewise.
78047         * math/w_j1l.c (__j1l, __y1l): Likewise.
78048         * math/w_jnl.c (__jnl, __ynl): Likewise.
78049         * math/w_lgammal.c (__lgammal): Likewise.
78050         * math/w_log10l.c (__log10l): Likewise.
78051         * math/w_log2l.c (__log2l): Likewise.
78052         * math/w_logl.c (__logl): Likewise.
78053         * math/w_powl.c (__powl): Likewise.
78054         * math/w_remainderl.c (__remainderl): Likewise.
78055         * math/w_scalbl.c (sysv_scalbl): Likewise.
78056         * math/w_sinhl.c (__sinhl): Likewise.
78057         * math/w_sqrtl.c (__sqrtl): Likewise.
78058         * math/w_tgammal.c (__tgammal): Likewise.
78059         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78060         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78061         * math/libm-test.inc (acos_test): Add more tests.
78062         (acosh_test): Likewise.
78063         (asin_test): Likewise.
78064         (atanh_test): Likewise.
78065         (exp_test): Likewise.
78066         (exp10_test): Likewise.
78067         (exp2_test): Likewise.
78068         (expm1_test): Likewise.
78069         (lgamma_test): Likewise.
78070         (log_test): Likewise.
78071         (log10_test): Likewise.
78072         (log1p_test): Likewise.
78073         (log2_test): Likewise.
78074         (pow_test): Do not allow some spurious overflow exceptions.
78075         (sqrt_test): Add more tests.
78076         (tgamma_test): Likewise.
78077         (y0_test): Likewise.
78078         (y1_test): Likewise.
78079         (yn_test): Likewise.
78081 2012-03-27  Anton Blanchard  <anton@samba.org>
78083         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78084         MAP_HUGETLB.
78085         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78086         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78087         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78089 2012-03-27  David S. Miller  <davem@davemloft.net>
78091         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78093         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78094         have-as-vis3 check.
78096 2012-03-27  Andreas Jaeger  <aj@suse.de>
78098         * sysdeps/x86_64/elf/configure.in: Moved to ...
78099         * sysdeps/x86_64/configure.in: ... here.
78100         * sysdeps/x86_64/elf/start.S: Moved to ...
78101         * sysdeps/x86_64/start.S: ... here.
78102         * sysdeps/x86_64/elf/configure: Delete.
78104         * sysdeps/x86_64/configure.in: Merge contents from
78105         sysdeps/i386/configure.in (without i686 check).
78107         * sysdeps/i386/elf/Versions: Merge into ...
78108         * sysdeps/i386/Versions: ... this.
78109         * sysdeps/i386/elf/Versions: Delete file.
78110         * sysdeps/i386/elf/start.S: Moved to ...
78111         * sysdeps/i386/start.S: ...here.
78112         * sysdeps/i386/elf/configure.in: Merge into...
78113         * sysdeps/i386/configure.in: ...here.
78114         * sysdeps/i386/elf/configure.in: Delete file.
78115         * sysdeps/i386/elf/configure: Delete file.
78117         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78118         * debug/backtracesyms.c: ... here.
78119         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78120         * debug/backtracesymsfd.c: ... here.
78121         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78122         * sysdeps/generic/ifunc-sel.h: ... here.
78124         * sysdeps/unix/i386/start.c: Delete file.
78125         * sysdeps/unix/sparc/start.c: Delete file.
78126         * sysdeps/unix/start.c: Delete file.
78128         * sysdeps/sh/elf/configure.in: Moved to ...
78129         * sysdeps/sh/configure.in: ... here.
78130         * sysdeps/sh/elf/start.S: Moved to ...
78131         * sysdeps/sh/start.S: ... here.
78132         * sysdeps/sh/elf/configure: Delete file.
78134         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78135         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78136         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78137         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78138         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78139         * sysdeps/powerpc/powerpc64/start.S: here.
78140         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78141         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78142         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78143         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78144         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78146         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78147         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78148         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78149         * sysdeps/powerpc/powerpc32/start.S: ... here.
78150         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78151         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78152         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78154         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78155         * sysdeps/powerpc/ifunc-sel.h: ... here.
78156         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78157         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78159         * sysdeps/sparc/elf/configure.in: Moved to ...
78160         * sysdeps/sparc/configure.in: ... here.
78161         * sysdeps/sparc/elf/configure: Delete file.
78162         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78163         * sysdeps/sparc/sparc32/start.S: ... here.
78164         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78165         * sysdeps/sparc/sparc64/start.S: ... here.
78166         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78167         * sysdeps/sparc/sparc32/Makefile: ... this.
78168         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78169         * sysdeps/sparc/sparc64/Makefile: ... this.
78171         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78172         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78173         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78174         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78175         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78176         * sysdeps/s390/s390-32/setjmp.S: ... here.
78177         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78178         * sysdeps/s390/s390-32/configure.in: ... here.
78179         * sysdeps/s390/s390-32/elf/configure: Delete file.
78180         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78181         * sysdeps/s390/s390-32/start.S: ... here.
78183         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78184         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78185         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78186         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78187         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78188         * sysdeps/s390/s390-64/setjmp.S: ... here.
78189         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78190         * sysdeps/s390/s390-64/configure.in: ... here
78191         * sysdeps/s390/s390-64/elf/configure: Delete file.
78192         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78193         * sysdeps/s390/s390-64/start.S: ... here.
78194         * sysdeps/s390/s390-64/elf/configure: Delete.
78196         * configure.in: Remove support for elf directories in sysdeps.
78198         * configure: Regenerated.
78199         * sysdeps/i386/configure: Regenerated.
78200         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78201         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78202         * sysdeps/s390/s390-32/configure: Regenerated.
78203         * sysdeps/s390/s390-64/configure: Regenerated.
78204         * sysdeps/sh/configure: Regenerated.
78205         * sysdeps/sparc/configure: Regenerated.
78206         * sysdeps/x86_64/configure: Regenerated.
78208 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78212         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78213         denormal result into account.
78215 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78217         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78218         Reported by Allan McRae <allan@archlinux.org>.
78220 2012-03-23  Jeff Law  <law@redhat.com>
78222         * nss/getnssent.c (__nss_getent): Fix typo.
78224 2012-03-23  David S. Miller  <davem@davemloft.net>
78226         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78228 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78230         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78231         to pad to uint64_t for each field.
78232         (dl_tls_index): Replace unsigned long with uint64_t.
78234 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78235         Paul Pluzhnikov  <ppluzhnikov@google.com>
78237         [BZ #6528]
78238         * grp/Makefile (otherlibs): Don't set it.
78239         * inet/Makefile (otherlibs): Likewise.
78240         * login/Makefile (otherlibs): Likewise.
78241         * nscd/Makefile (otherlibs): Likewise.
78242         * posix/Makefile (otherlibs): Likewise.
78243         * pwd/Makefile (otherlibs): Likewise.
78244         * rt/Makefile (otherlibs): Likewise.
78245         * sunrpc/Makefile (otherlibs): Likewise.
78246         * nss/Makefile (otherlibs): Likewise.
78247         Add libnss_files to routines and static-only-routines.
78248         ($(objpfx)getent): Remove rule.
78249         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78250         static-only-routines.
78252 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78254         [BZ #13892]
78255         * math/s_cexp.c: Include <float.h>.
78256         (__cexp): Handle exp result overflowing not necessarily
78257         overflowing both real and imaginary parts of result.
78258         * math/s_cexpf.c: Likewise.
78259         * math/s_cexpl.c: Likewise.
78260         * math/libm-test.inc (cexp_test): Add more tests.
78261         * sysdeps/i386/fpu/libm-test-ulps: Update.
78262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78264 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78266         * include/link.h (ELFW): New macro.
78267         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78268         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78270 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78272         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78273         with uint64_t.
78275 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78277         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78278         declaration.
78279         (struct La_x32_retval): Likewise.
78281 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78283         * sysdeps/x86_64/preconfigure.in: New file.
78284         * sysdeps/x86_64/preconfigure: New generated file.
78286 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78288         [BZ #13824]
78289         * math/e_exp2l.c: Include <float.h>.
78290         (__ieee754_exp2l): Handle overflow and underflow cases
78291         separately.  Only pass fractional part of argument to
78292         __ieee754_expl.
78293         * math/libm-test.inc (exp2_test): Add more tests.
78295         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78296         negating x to take absolute value.
78297         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78298         Likewise.
78299         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78300         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78301         Likewise.
78302         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78303         computing low part if x was negated.
78304         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78306 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78308         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78309         la_x32_gnu_pltexit.
78310         (pltexit): Cast int_retval to ptrdiff_t.
78311         * elf/tst-auditmod3b.c: Likewise.
78312         * elf/tst-auditmod4b.c: Likewise.
78313         * elf/tst-auditmod5b.c: Likewise.
78314         * elf/tst-auditmod6b.c: Likewise.
78315         * elf/tst-auditmod6c.c: Likewise.
78316         * elf/tst-auditmod7b.c: Likewise.
78318         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78319         and x32_gnu_pltexit.
78321         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
78322         __ELF_NATIVE_CLASS.
78323         (La_x32_regs): New macro.
78324         (La_x32_retval): Likewise.
78325         (la_x32_gnu_pltenter): New function prototype.
78326         (la_x32_gnu_pltexit): Likewise.
78328 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
78330         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78331         exponent.
78333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78335         * configure.in (libc_cv_cc_nofma): Check for option to disable
78336         generation of FMA instructions.
78337         * configure: Regenerate.
78338         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78339         * sysdeps/ieee754/dbl-64/Makefile: New file.
78340         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78341         Remove brandred-fma4.
78342         (CFLAGS-brandred-fma4.c): Remove.
78343         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78344         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78345         define.
78346         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78347         define.
78349 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78351         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78352         LLONG_MAX != LONG_MAX.
78353         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78354         (_fitoa_word): Likewise.
78355         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78356         LLONG_MAX != LONG_MAX.
78357         * stdio-common/_itowa.h: Include <_itoa.h>.
78358         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78359         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78360         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78361         only if not defined.
78362         (_ITOA_WORD_TYPE): Likewise.
78363         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78364         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78366 2012-03-21  David S. Miller  <davem@davemloft.net>
78368         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78370 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78372         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78373         of x86_64 when setting libc_cv_slibdir, libdir and
78374         libc_cv_localedir.
78375         * sysdeps/unix/sysv/linux/configure: Regenerated.
78377 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78379         * manual/lang.texi (Old Varargs): Remove section.
78380         (How Variadic): Update menu.
78381         (va_start): Do not mention varargs.h.
78383 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78384             Joseph Myers  <joseph@codesourcery.com>
78386         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78387         link test.
78388         * configure: Regenerated.
78390 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78392         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78393         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78394         conformtest.pl
78396 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78398         * NOTES: Remove.
78399         * Makefile (files-for-dist): Remove NOTES.
78400         (NOTES): Remove rule.
78401         * README: Don't refer to NOTES.
78402         * manual/creature.texi: Don't include macros.texi.
78403         * manual/intro.texi (creature.texi): Remove comment referring to
78404         NOTES.
78406         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78407         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78408         * configure: Regenerated.
78409         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78410         LIBC_TRY_CC_OPTION.
78411         (libc_cv_as_i686): Likewise.
78412         (libc_cv_cc_avx): Likewise.
78413         (libc_cv_cc_sse2avx): Likewise.
78414         (libc_cv_cc_fma4): Likewise.
78415         (libc_cv_cc_novzeroupper): Likewise.
78416         * sysdeps/i386/configure: Regenerated.
78418         [BZ #13883]
78419         * sysdeps/i386/fpu/s_cexp.S: Remove.
78420         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78421         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78422         * math/libm-test.inc (cexp_test): Add more tests.
78423         * sysdeps/i386/fpu/libm-test-ulps: Update.
78424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78426 2012-03-21  Allan McRae  <allan@archlinux.org>
78428         * timezone/Makefile: Do not install iso3166.tab and zone.tab
78430 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78432         [BZ #13871]
78433         * math/w_exp2.c: Do not include <float.h>.
78434         (o_threshold, u_threshold): Remove.
78435         (__exp2): Calculate result before checking finiteness and calling
78436         __kernel_standard.
78437         * math/w_exp2f.c: Likewise.
78438         * math/w_exp2l.c: Likewise.
78439         * math/libm-test.inc (exp2_test): Require overflow exception for
78440         1e6 input.
78442         [BZ #3866]
78443         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78444         range of signed 64-bit integers before using fistpll.  Remove
78445         checks for whether integers fit in mantissa bits.
78446         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78447         the range of signed 32-bit integers before using fistpl.  Remove
78448         checks for whether integers fit in mantissa bits.
78449         * sysdeps/i386/fpu/e_powl.S (p64): New object.
78450         (__ieee754_powl): Test for y outside the range of signed 64-bit
78451         integers before using fistpll.  Reduce 64-bit values to 63-bit
78452         ones as needed.
78453         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78454         divide-by-zero is raised for zero to large negative powers.
78455         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78456         (__ieee754_powl): Test for y outside the range of signed 64-bit
78457         integers before using fistpll.  Reduce 64-bit values to 63-bit
78458         ones as needed.
78459         * math/libm-test.inc (pow_test): Add more tests.
78461 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78463         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78464         <stdio-common/_itoa.h>.
78465         * debug/segfault.c: Likewise.
78466         * elf/dl-cache.c: Likewise.
78467         * elf/dl-minimal.c: Likewise.
78468         * elf/dl-misc.c: Likewise.
78469         * elf/dl-sysdep.c: Likewise.
78470         * elf/dl-version.c: Likewise.
78471         * elf/rtld.c: Likewise.
78472         * hurd/hurdsock.c: Likewise.
78473         * hurd/lookup-retry.c: Likewise.
78474         * malloc/malloc.c: Likewise.
78475         * malloc/mtrace.c: Likewise.
78476         * nscd/nscd_getgr_r.c: Likewise.
78477         * nscd/nscd_getpw_r.c: Likewise.
78478         * nscd/nscd_getserv_r.c: Likewise.
78479         * posix/getopt_init.c: Likewise.
78480         * posix/wordexp.c: Likewise.
78481         * stdio-common/_itoa.c: Likewise.
78482         * stdio-common/printf_fphex.c: Likewise.
78483         * stdio-common/vfprintf.c: Likewise.
78484         * string/_strerror.c: Likewise.
78485         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78486         * sysdeps/i386/i686/hp-timing.h: Likewise.
78487         * sysdeps/mach/_strerror.c: Likewise.
78488         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78489         * sysdeps/mach/hurd/sethostid.c: Likewise.
78490         * sysdeps/mach/hurd/xmknodat.c: Likewise.
78491         * sysdeps/mach/xpg-strerror.c: Likewise.
78492         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78493         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78494         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78495         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78496         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78497         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78498         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78499         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78500         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78501         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78502         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78503         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78504         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78505         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78506         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78507         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78508         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78509         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78510         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78511         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78512         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78514         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78516         * stdio-common/_itoa.h: Moved to ...
78517         * sysdeps/generic/_itoa.h: Here.
78519         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78521         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78522         instead of "_itoa.h" and "_itowa.h".
78523         * stdio-common/vfprintf.: Likewise.
78525 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78527         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78528         <bits/wordsize.h>.
78529         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78530         (__signbit): Likewise.
78531         (llrintf): Likewise.
78532         (llrint): Likewise.
78534 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78536         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78537         __WORDSIZE != 64.
78539 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78541         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78542         OVERFLOW_EXCEPTION_OK.
78543         * math/libm-test.inc ("Philosophy"): Update comment about
78544         exception testing.
78545         (OVERFLOW_EXCEPTION): Define.
78546         (OVERFLOW_EXCEPTION_OK): Likewise.
78547         (INVALID_EXCEPTION_OK): Renumber.
78548         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78549         (IGNORE_ZERO_INF_SIGN): Likewise.
78550         (test_exceptions): Handle FE_OVERFLOW.
78551         (exp10_test): Expect overflow exceptions.
78552         (exp2_test): Likewise.
78553         (expm1_test): Likewise.
78554         (nextafter_test): Likewise.
78555         (pow_test): Likewise.
78556         (scalbn_test): Likewise.
78557         (scalbln_test): Likewise.
78559 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78561         * sysdeps/x86_64/bits/atomic.h
78562         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78563         64bit integer.
78564         (atomic_exchange_acq): Likewise.
78565         (__arch_exchange_and_add_body): Likewise.
78566         (__arch_add_body): Likewise.
78567         (atomic_add_negative): Likewise.
78568         (atomic_add_zero): Likewise.
78570 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78572         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78573         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78575 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78577         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78578         Check __x86_64__ instead of __WORDSIZE.
78580 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78582         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78584 2012-03-19  David S. Miller  <davem@davemloft.net>
78586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78588         * sysdeps/sparc/fpu/fenv_private.h: New file.
78589         * sysdeps/sparc/fpu/math_private.h: Use it.
78590         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78591         Remove.
78592         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78593         (libc_feholdexcept_setroundl): Remove.
78594         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78595         Remove.
78596         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78597         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78599 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78601         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78602         int64_t instead of long int.
78603         (INSERT_WORDS64): Likewise.
78605 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78607         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78608         _Unwind_GetCFA return to _Unwind_Ptr first.
78610 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78612         [BZ #13629]
78613         * math/s_clog.c: Include <float.h>.
78614         (__clog): Scale large or subnormal inputs.
78615         * math/s_clogf.c: Likewise.
78616         * math/s_clogl.c: Likewise.
78617         * math/s_clog10.c: Include <float.h>.
78618         (M_LOG10_2): Define.
78619         (__clog10): Scale large or subnormal inputs.
78620         * math/s_clog10f.c: Likewise.
78621         * math/s_clog10l.c: Likewise.
78622         * math/libm-test.inc (clog_test): Add more tests.
78623         (clog10_test): Likewise.
78624         * sysdeps/i386/fpu/libm-test-ulps: Update.
78625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78627         [BZ #11451]
78628         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78629         x and y.
78630         * math/libm-test.inc (atan2_test): Add another test.
78632         * Makerules (common-objdir-compile): Remove.
78633         * sysdeps/unix/Makefile (config-generated): Do not add
78634         $(unix-generated) to variable.
78635         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78636         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78637         Remove rule.
78638         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78639         Likewise.
78640         [generic bits/local_lim.h] (before-compile): Do not append to
78641         variable.
78642         [generic bits/local_lim.h] (common-generated): Likewise.
78643         [generic sys/param.h] (before-compile): Do not append to variable.
78644         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78645         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78646         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78647         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78648         include.
78649         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78650         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78651         [generic sys/param.h] ($(addprefix
78652         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78653         [generic sys/param.h] (common-generated): Do not append to
78654         variable.
78655         [generic sys/param.h] (sysdep_headers): Likewise.
78656         [generic bits/errno.h] (before-compile): Do not append to
78657         variable.
78658         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78659         rule.
78660         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78661         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78662         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78663         [generic bits/errno.h] (common-generated): Do not append to
78664         variable.
78665         [generic bits/ioctls.h] (before-compile): Do not append to
78666         variable.
78667         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78668         rule.
78669         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78670         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78671         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78672         rule.
78673         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78674         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78675         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78676         [generic bits/ioctls.h] (common-generated): Do not append to
78677         variable.
78678         [generic sys/syscall.h] (syscall.h): Remove variable.
78679         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78680         rule.
78681         [generic sys/syscall.h] (before-compile): Do not append to
78682         variable.
78683         [generic sys/syscall.h] (common-generated): Likewise.
78684         * sysdeps/unix/errnos-tmpl.c: Remove file.
78685         * sysdeps/unix/errnos.awk: Likewise.
78686         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78687         * sysdeps/unix/ioctls.awk: Likewise.
78688         * sysdeps/unix/mk-local_lim.c: Likewise.
78689         * sysdeps/unix/snarf-ioctls: Likewise.
78691 2012-03-19  Richard Henderson  <rth@twiddle.net>
78693         * sysdeps/i386/fpu/fenv_private.h: New file.
78694         * sysdeps/i386/fpu/math_private.h: Use it.
78695         (math_opt_barrier, math_force_eval): Remove.
78696         (libc_feholdexcept_setround_53bit): Remove.
78697         (libc_feupdateenv_53bit): Remove.
78698         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78699         (math_opt_barrier, math_force_eval): Remove.
78700         (libc_feholdexcept): Remove.
78701         (libc_feholdexcept_setround): Remove.
78702         (libc_fetestexcept, libc_fesetenv): Remove.
78703         (libc_feupdateenv_test): Remove.
78704         (libc_feupdateenv, libc_feholdsetround): Remove.
78705         (libc_feresetround): Remove.
78707         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78708         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78710         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78711         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78712         (libc_feupdateenv_testl): New.
78713         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78714         (libc_feupdateenv_testf): New.
78715         (libc_feupdateenv): Use libc_feupdateenv_test.
78716         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78717         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78719         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78720         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78721         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78722         (libc_feresetround_noex): New.
78723         (libc_feresetround_noexf): New.
78724         (libc_feresetround_noexl): New.
78725         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78726         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78727         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78728         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78729         SET_RESTORE_ROUND.
78730         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78731         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78732         (__cos): Likewise.
78733         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78734         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78735         SET_RESTORE_ROUND_NOEX.
78736         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78737         SET_RESTORE_ROUND_NOEXF.
78738         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78739         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78740         (libc_feholdsetroundf): New.
78741         (libc_feresetround, libc_feresetroundf): New.
78743         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78744         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78745         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78747         * sysdeps/generic/math_private.h: Include <fenv.h>.
78748         (default_libc_feholdexcept): New.
78749         (default_libc_feholdexcept_setround): New.
78750         (default_libc_fesetenv, default_libc_feupdateenv): New.
78751         (libc_feholdexcept): Only define if undefined.
78752         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78753         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78754         (libc_feholdexcept_setroundl): Likewise.
78755         (libc_feholdexcept_setround_53bit): Likewise.
78756         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78757         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78758         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78759         (libc_feupdateenv_53bit): Likewise.
78760         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78761         (libc_feholdexcept): Convert from macro to inline function.
78762         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78763         (libc_fesetenv, libc_feupdateenv): Likewise.
78765         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78766         not previously defined.
78767         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78768         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78769         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78770         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78771         * sysdeps/ieee754/flt-32/math_private.h: New file.
78772         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78773         math_private.h below SET_FLOAT_WORD.
78774         (__isnan, __isinf_ns, __finite): Remove.
78775         (__isnanf, __isinf_nsf, __finitef): Remove.
78777 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78781 2012-03-17  David S. Miller  <davem@davemloft.net>
78783         [BZ #6471]
78784         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78785         for 2.16.
78787 2012-03-16  David S. Miller  <davem@davemloft.net>
78789         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78790         warnings.
78792         [BZ #6471]
78793         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78794         properly.
78795         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78796         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78797         sysdep_routines when subdir is sysvipc.
78798         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78799         __getshmlba helper.
78801         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78803 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78805         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78806         [__LP64__].
78808 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78810         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78811         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78812         (__lround): Renamed to ...
78813         (__llround): This.  Replace long int with long long int.
78814         Define lround functions as aliases of llround functions.
78815         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78817 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78819         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78820         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78821         adresses to uintptr_t.  Replace "long int" and "unsigned long
78822         int" with "greg_t" on va_arg.
78824 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78826         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78827         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78829         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78830         Move e_machine check before EI_CLASS check.  Handle x32
78831         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78832         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78833         SKIP_EM_IA_64 and include
78834         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78836         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78837         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78838         (add_system_dir): New macro.
78840         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78841         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78843 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78845         [BZ #2551]
78846         [BZ #2552]
78847         [BZ #2553]
78848         [BZ #2554]
78849         [BZ #2562]
78850         [BZ #2563]
78851         [BZ #2565]
78852         [BZ #2566]
78853         [BZ #2576]
78854         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78855         (y0): Likewise.
78856         * math/w_j0f.c (j0f): Likewise.
78857         (y0f): Likewise.
78858         * math/w_j0l.c (__j0l): Likewise.
78859         (__y0l): Likewise.
78860         * math/w_j1.c (j1): Likewise.
78861         (y1): Likewise.
78862         * math/w_j1f.c (j1f): Likewise.
78863         (y1f): Likewise.
78864         * math/w_j1l.c (__j1l): Likewise.
78865         (__y1l): Likewise.
78866         * math/w_jn.c (jn): Likewise.
78867         (yn): Likewise.
78868         * math/w_jnf.c (jnf): Likewise.
78869         (ynf): Likewise.
78870         * math/w_jnl.c (__jnl): Likewise.
78871         (__ynl): Likewise.
78872         * math/libm-test.inc (j0_test): Add more tests.
78873         (j1_test): Likewise.
78874         (jn_test): Likewise.  Add trailing semicolon to existing test.
78875         (y0_test): Likewise.
78876         (y1_test): Likewise.
78877         * sysdeps/i386/fpu/libm-test-ulps: Update.
78878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78880         [BZ #13851]
78881         [BZ #13854]
78882         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78883         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78884         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78885         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78886         (__tanl): Set errno for infinite argument.
78887         * sysdeps/i386/fpu/mptan.c: Remove.
78888         * sysdeps/i386/fpu/s_tan.S: Likewise.
78889         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78890         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78891         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78892         * math/libm-test.inc (tan_test): Add more tests and enable more
78893         tests for double and long double.
78894         * sysdeps/i386/fpu/libm-test-ulps: Update.
78895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78897 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78899         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78900         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78902 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78904         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78905         * configure.in: Use it for both main tree and add-ons.
78906         * configure: Regenerated.
78908 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78910         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78912 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78914         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78915         in comment.
78917         [BZ #13851]
78918         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78919         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78920         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78921         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78922         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78923         infinite argument.
78924         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78925         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78926         != 0 for prec == 2.
78927         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78928         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78929         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78930         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78931         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78932         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78933         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78934         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78935         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78936         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78937         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78938         * math/libm-test.inc (cos_test): Add more tests and enable more
78939         tests for long double.
78940         (sin_test): Likewise.
78941         (sincos_test): Likewise.
78942         * sysdeps/i386/fpu/libm-test-ulps: Update.
78943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78945 2012-03-16  David S. Miller  <davem@davemloft.net>
78947         * sysdeps/sparc/fpu/math_private.h: New file.
78949 2012-03-15  David S. Miller  <davem@davemloft.net>
78951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78952         file.
78953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78955         file.
78956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78957         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78958         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78959         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78960         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78961         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78962         sysdep routines.
78963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78965         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78966         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78968         * sysdeps/sparc/sparc-ifunc.h: New file.
78969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78970         sparc-ifunc.h
78971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78973         Likewise.
78974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78975         Likewise.
78976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78980         Likewise.
78981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78986         Likewise.
78987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78988         Likewise.
78989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78992         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78995         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78996         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78999         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
79000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
79001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
79002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
79003         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
79004         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
79005         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
79006         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
79007         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
79008         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
79009         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
79010         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
79011         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
79012         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
79014 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79016         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
79017         scaling.
79018         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79020 2012-03-15  Andreas Jaeger  <aj@suse.de>
79022         [BZ #13852]
79023         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
79024         ieee754/flt-32 implementation for sin, cos and sincos.
79025         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
79026         * sysdeps/i386/fpu/s_cosf.S: Likewise.
79027         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
79028         * sysdeps/i386/fpu/s_sinf.S: Likewise.
79029         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
79030         ieee754/flt-32 implementation for tan.
79032         * math/libm-test.inc (cos_test): Enable some large input tests for
79033         float as well
79034         (sin_test): Likewise.
79035         (sincos_test): Likewise.
79036         (tan_test): Add tests for large input.
79038         * sysdeps/i386/fpu/libm-test-ulps: Update.
79040 2012-03-15  Andreas Jaeger  <aj@suse.de>
79042         [BZ #13658]
79043         * math/libm-test.inc (cos_test): Add more test cases.
79044         (sin_test): Likewise.
79045         (sincos_test): Likewise.
79047 2012-03-15  Andreas Jaeger  <aj@suse.de>
79049         [BZ #13837]
79050         * math/libm-test.inc (cos_test): Add a test case for large input
79051         value.
79052         (sin_test): Likewise.
79053         (sincos_test): Likewise.
79055 2012-03-15  Andreas Jaeger  <aj@suse.de>
79056             Joseph Myers  <joseph@codesourcery.com>
79058         [BZ #13658]
79059         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79060         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79061         * sysdeps/i386/fpu/branred.c: Likewise.
79062         * sysdeps/i386/fpu/dosincos.c: Likewise.
79063         * sysdeps/i386/fpu/mpa.c: Likewise.
79064         * sysdeps/i386/fpu/s_cos.S: Likewise.
79065         * sysdeps/i386/fpu/s_sin.S: Likewise.
79066         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79067         * sysdeps/i386/fpu/sincos32.c: Likewise.
79069         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79070         Define.
79071         (libc_feupdateenv_53bit): Define.
79072         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79073         Define.
79074         (libc_feupdateenv_53bit): Define.
79076         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79077         53 bit (without extend i386 double precision).
79079         * math/libm-test.inc (sincos_test): Add tests for large input.
79080         (sin): Likewise.
79081         (cos): Likewise.
79083         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79085 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79089 2012-03-15  David S. Miller  <davem@davemloft.net>
79091         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79092         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79093         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79094         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79099         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79103         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79104         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79107         file.
79108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79110         file.
79111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79113         file.
79114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79116         file.
79117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79118         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79119         fmin/fmax sysdep routines.
79120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79122 2012-03-14  David S. Miller  <davem@davemloft.net>
79124         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79127         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79128         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79129         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79130         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79131         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79132         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79133         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79134         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79135         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79136         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79137         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79138         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79139         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79140         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79141         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79142         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79143         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79144         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79145         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79146         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79147         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79148         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79149         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79150         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79151         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79152         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79153         routines.
79154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79155         file.
79156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79158         file.
79159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79161         file.
79162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79164         file.
79165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79167         file.
79168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79170         file.
79171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79172         file.
79173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79174         file.
79175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79176         file.
79177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79178         New file.
79179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79180         file.
79181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79182         file.
79183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79185         file.
79186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79188         file.
79189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79191         file.
79192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79194         VIS3 routines.
79196         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79197         New file.
79199         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79201         * sysdeps/sparc/configure.in: New file.
79202         * sysdeps/sparc/configure: Generate.
79203         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79204         * configure: Regenerate.
79205         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79206         * config.make.in (have-as-vis3): New.
79207         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79208         available use -Av9d instead of -Av9a.
79209         * sysdeps/sparc/sparc64/Makefile: Likewise.
79210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79212         New file.
79213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79214         file.
79215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79216         New file.
79217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79218         file.
79219         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79220         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79221         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79222         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79223         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79225         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79226         fzeros/fnegs to load 0x80000000 into a float register instead of
79227         using the stack.
79228         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79230 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79232         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79233         bits/syscall.h.
79234         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79235         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79236         ($(inst_includedir)/bits/syscall.h): Remove rule.
79237         ($(objpfx)bits/syscall.d): Include instead of
79238         $(objpfx)syscall-list.d.
79239         (generated): Change syscall-list.h and syscall-list.d to
79240         bits/syscall.h and bits/syscall.d.
79242 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79244         [BZ #13846]
79245         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79247 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79249         [BZ #13841]
79250         * math/s_csqrt.c: Include <float.h>.
79251         (__csqrt): Scale large or subnormal inputs.
79252         * math/s_csqrtf.c: Likewise.
79253         * math/s_csqrtl.c: Likewise.
79254         * math/libm-test.inc (csqrt_test): Add more tests.
79255         * sysdeps/i386/fpu/libm-test-ulps: Update.
79256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79258         [BZ #13840]
79259         * math/libm-test.inc (hypot_test): Add more tests.
79261 2012-03-13  David S. Miller  <davem@davemloft.net>
79263         [BZ #13840]
79264         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79265         double-precision for the calculation instead of scaling.
79267 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79269         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79270         manipulate bits before adding and subtracting TWO52[sx].
79271         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79272         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79273         Likewise.
79274         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79276 2012-03-13  David S. Miller  <davem@davemloft.net>
79278         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79279         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79280         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79281         rtld-global-offsets.h
79282         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79284         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79285         large parameters.
79287         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79289         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79290         'err' in the ifdef scope in which it is actually used.
79292         * nss/nss_db/db-init.c: Include string.h
79294 2012-03-12  David S. Miller  <davem@davemloft.net>
79296         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79297         masking out of the most significant byte of random value used.
79298         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79299         Fix coding style in previous change.
79301         * sysdeps/unix/sysv/linux/kernel-features.h
79302         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79303         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79304         expression.
79305         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79306         later.
79308 2012-03-11  David S. Miller  <davem@davemloft.net>
79310         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79311         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79312         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79313         for 'resultvar' otherwise things get truncated on 64-bit.
79315         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79316         Fix masking out of the most significant byte of random value used.
79318         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79320 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
79322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79324 2012-03-09  David S. Miller  <davem@davemloft.net>
79326         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79327         variables with appropriate CPP guards.
79328         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79329         from the frame pointer, not the stack pointer.  Correct layout
79330         comments.  Fix test on resulting framesize and the management of
79331         the outregs buffer for pltexit.  Preserve floating point return
79332         values across _dl_call_pltexit call.
79333         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79334         framesize and the management of the outregs buffer for pltexit.
79335         Preserve floating point return values across _dl_call_pltexit
79336         call.
79337         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79338         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79339         (la_sparc64_gnu_pltexit): New functions.
79340         (print_exit): Fix format string for return register value.
79342 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79344         * sunrpc/Makefile (others): Add rpcgen.
79345         ($(objpfx)rpcgen): Remove special build rule and dependency on
79346         libc.
79347         * sunrpc/rpcgen.c: New file.
79349 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79351         [BZ #13673]
79352         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79353         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79354         * sysdeps/i386/crti.S: Likewise.
79355         * sysdeps/i386/crtn.S: Likewise.
79356         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79357         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79358         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79359         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79360         * sysdeps/sh/crti.S: Likewise.
79361         * sysdeps/sh/crtn.S: Likewise.
79362         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79364         [BZ #13673]
79365         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79366         with URL.
79367         * locale/programs/locfile-kw.gperf: Likewise.
79368         * locale/programs/charmap-kw.h: Regenerated.
79369         * locale/programs/locfile-kw.h: Likewise.
79371         [BZ #13673]
79372         * intl/plural.y: Replace FSF snail mail address with URL.
79373         * intl/plural.c: Regenerated.
79375 2012-03-09  Richard Henderson  <rth@twiddle.net>
79377         * include/math_private.h: Remove file.
79378         * math/math_private.h: Move file ...
79379         * sysdeps/generic/math_private.h: ... here.
79381         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79382         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79383         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79385         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79386         and <math_private.h>.
79387         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79388         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79389         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79390         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79391         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79392         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79393         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79394         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79395         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79396         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79398         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79399         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79400         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79401         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79402         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79403         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79404         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79405         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79406         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79407         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79408         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79409         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79410         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79411         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79412         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79413         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79414         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79415         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79416         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79417         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79418         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79419         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79420         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79421         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79422         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79423         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79424         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79425         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79426         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79427         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79428         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79429         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79430         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79431         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79432         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79433         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79434         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79435         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79436         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79437         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79438         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79439         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79440         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79441         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79442         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79443         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79444         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79445         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79446         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79447         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79448         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79449         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79450         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79451         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79452         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79453         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79454         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79455         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79456         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79457         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79458         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79459         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79460         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79461         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79462         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79463         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79464         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79465         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79466         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79467         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79468         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79469         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79470         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79471         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79472         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79473         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79474         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79475         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79476         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79477         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79478         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79479         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79480         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79481         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79482         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79483         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79484         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79485         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79486         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79487         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79488         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79489         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79490         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79491         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79492         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79493         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79494         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79495         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79496         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79497         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79498         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79499         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79500         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79501         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79502         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79503         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79504         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79505         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79506         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79507         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79508         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79509         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79510         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79511         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79512         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79513         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79514         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79515         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79516         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79517         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79518         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79519         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79520         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79521         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79522         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79523         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79524         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79525         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79526         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79527         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79528         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79529         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79530         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79531         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79532         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79533         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79534         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79535         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79536         * sysdeps/ieee754/k_standard.c: Likewise.
79537         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79538         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79539         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79540         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79541         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79542         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79543         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79544         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79545         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79546         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79547         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79548         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79549         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79550         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79551         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79552         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79553         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79554         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79555         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79556         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79557         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79558         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79559         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79560         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79561         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79562         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79563         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79564         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79565         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79566         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79567         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79568         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79569         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79570         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79571         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79572         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79573         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79574         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79575         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79576         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79577         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79578         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79579         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79580         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79581         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79582         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79583         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79584         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79585         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79586         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79587         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79588         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79589         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79590         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79591         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79592         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79593         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79594         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79595         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79596         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79597         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79598         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79599         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79600         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79601         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79602         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79603         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79604         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79605         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79606         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79607         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79608         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79609         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79610         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79611         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79612         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79613         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79614         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79615         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79616         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79617         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79618         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79619         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79620         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79621         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79622         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79623         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79624         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79625         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79627         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79628         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79629         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79630         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79631         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79632         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79633         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79634         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79635         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79636         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79637         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79638         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79639         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79640         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79641         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79642         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79643         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79644         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79645         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79646         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79647         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79648         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79649         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79650         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79651         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79652         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79653         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79654         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79655         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79656         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79657         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79658         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79659         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79660         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79661         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79662         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79663         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79664         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79665         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79666         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79667         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79668         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79669         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79670         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79671         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79672         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79673         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79674         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79675         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79676         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79677         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79678         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79679         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79680         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79681         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79682         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79683         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79684         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79685         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79686         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79687         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79688         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79689         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79690         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79691         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79692         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79693         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79694         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79695         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79696         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79697         * sysdeps/ieee754/s_lib_version.c: Likewise.
79698         * sysdeps/ieee754/s_matherr.c: Likewise.
79699         * sysdeps/ieee754/s_signgam.c: Likewise.
79700         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79701         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79702         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79703         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79704         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79705         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79706         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79707         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79708         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79709         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79710         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79711         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79712         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79713         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79714         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79715         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79716         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79717         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79718         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79719         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79720         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79722 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79724         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79725         * sunrpc/rpc_main.c: Likewise.
79726         * sunrpc/rpc_svcout.c: Likewise.
79728 2012-03-09  David S. Miller  <davem@davemloft.net>
79730         * include/math_private.h: New file.
79732 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79734         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79735         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79736         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79737         from <bits/socket_type.h>.
79738         (enum __socket_type): Don't define here.
79739         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79740         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79741         bits/socket_type.h.
79743         [BZ #13566]
79744         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79745         checking __USE_GNU.
79747         * Makerules ($(inst_includedir)/%.h): New rule.
79748         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79749         (install-others): Remove variable setting.
79750         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79752 2012-03-08  Richard Henderson  <rth@twiddle.net>
79754         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79755         from macro to inline function; merge with the
79756         !__LIBC_INTERNAL_MATH_INLINES version.
79757         (__ieee754_sqrtf): Likewise.
79759         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79760         to inline function.
79761         (__rintf, __floor, __floorf): Likewise.
79763         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79764         macro to inline function.
79765         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79767         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79768         not <math/math_private.h>.
79770 2012-03-08  David S. Miller  <davem@davemloft.net>
79772         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79773         copyright year.
79774         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79776 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79778         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79779         normalization.
79780         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79781         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79783 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79785         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79786         be defined individually, they must be defined as a block.  Define
79787         S for printing a string instead of hidint the different by using a
79788         macro for adding the 'l'.
79789         * stdio-common/tst-fphex-wide.c: Adjust.
79791 2012-03-07  Marek Polacek  <polacek@redhat.com>
79793         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79795 2012-03-08  Marek Polacek  <polacek@redhat.com>
79797         [BZ #13806]
79798         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79799         * stdio-common/tst-fphex.c: Define a few macros to make the
79800         test reusable.  Use them.
79801         * stdio-common/tst-fphex-wide.c: New file.
79803 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79805         [BZ #6911]
79806         * manual/macros.texi (gnusystems): New macro.
79807         (nongnusystems): Likewise.
79808         (gnulinuxhurdsystems): Likewise.
79809         (gnuhurdsystems): Likewise..
79810         (gnulinuxsystems): Likewise.
79811         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79812         variants of the GNU system, not "GNU system".
79813         * manual/conf.texi: Likewise.
79814         * manual/errno.texi: Likewise.  Update example of errno macro
79815         expansion.
79816         * manual/filesys.texi: Likewise.
79817         (getumask): Document as specific to GNU/Hurd.
79818         * manual/install.texi: Likewise.  Reword some references to
79819         GNU/Linux.
79820         * manual/intro.texi: Likewise.
79821         * manual/io.texi: Likewise.
79822         (File Name Portability): Detail which constraints are inapplicable
79823         to all GNU systems and which are only inapplicable to GNU/Hurd.
79824         * manual/job.texi: Likewise.
79825         * manual/llio.texi: Likewise.
79826         (O_NOCTTY): Document as present on GNU/Linux.
79827         * manual/maint.texi: Likewise.
79828         * manual/memory.texi: Likewise.
79829         * manual/pattern.texi: Likewise.
79830         * manual/pipe.texi: Likewise.
79831         * manual/process.texi: Likewise.
79832         * manual/resource.texi: Likewise.
79833         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79834         child on GNU/Hurd.
79835         * manual/setjmp.texi: Likewise.
79836         * manual/signal.texi: Likewise.
79837         * manual/startup.texi: Likewise.
79838         * manual/stdio.texi: Likewise.
79839         * manual/terminal.texi: Likewise.
79840         (ONLCR): Document as POSIX.
79841         (OXTABS): Document availability on GNU/Linux as XTABS.
79842         (ONOEOT): Document availability separately from other bits.
79843         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79844         * manual/time.texi: Likewise.
79845         * manual/users.texi: Likewise.
79846         * INSTALL: Regenerated.
79847         * sysdeps/gnu/errlist.c: Regenerated.
79849         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79850         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79851         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79852         puts.
79853         * configure: Regenerated.
79855 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79857         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79858         default includes instead of AC_HEADER_CHECK.
79859         * sysdeps/i386/configure: Regenerated.
79861         [BZ #10716]
79862         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79863         * math/s_cacoshf.c (__cacoshf): Likewise.
79864         * math/s_cacoshl.c (__cacoshl): Likewise.
79865         * math/s_casinh.c (__casinh): Set signs of result from argument.
79866         * math/s_casinhf.c (__casinhf): Likewise.
79867         * math/s_casinhl.c (__casinhl): Likewise.
79868         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79869         (casinh_test): Add more tests.
79870         * sysdeps/i386/fpu/libm-test-ulps: Update.
79871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79873 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79875         * po/zh_TW.po: Update from translation team.
79877         * login/Makefile (distribute): Remove variable.
79878         * catgets/Makefile: Likewise.
79879         * mach/Makefile: Likewise.
79880         * malloc/Makefile: Likewise.
79881         * misc/Makefile: Likewise.
79882         * iconv/Makefile: Likewise.
79883         * nscd/Makefile: Likewise.
79884         * hurd/Makefile: Likewise.
79885         * manual/Makefile: Likewise.
79886         * locale/Makefile: Likewise.
79887         * intl/Makefile: Likewise.
79888         * conform/Makefile: Likewise.
79889         * nss/Makefile: Likewise.
79890         * time/Makefile: Likewise.
79891         * soft-fp/Makefile: Likewise.
79892         * dirent/Makefile: Likewise.
79893         * gmon/Makefile: Likewise.
79894         * po/Makefile: Likewise.
79895         * rt/Makefile: Likewise.
79896         * socket/Makefile: Likewise.
79897         * math/Makefile: Likewise.
79898         * signal/Makefile: Likewise.
79899         * debug/Makefile: Likewise.
79900         * elf/Makefile: Likewise.
79901         * timezone/Makefile: Likewise.
79902         * stdlib/Makefile: Likewise.
79903         * iconvdata/Makefile: Likewise.
79904         * sunrpc/Makefile: Likewise.
79905         * io/Makefile: Likewise.
79906         * argp/Makefile: Likewise.
79907         * inet/Makefile: Likewise.
79908         * hesiod/Makefile: Likewise.
79909         * grp/Makefile: Likewise.
79910         * csu/Makefile: Likewise.
79911         * wctype/Makefile: Likewise.
79912         * crypt/Makefile: Likewise.
79913         * libio/Makefile: Likewise.
79914         * string/Makefile: Likewise.
79915         * nis/Makefile: Likewise.
79916         * resolv/Makefile: Likewise.
79917         * stdio-common/Makefile: Likewise.
79918         * wcsmbs/Makefile: Likewise.
79919         * dlfcn/Makefile: Likewise.
79920         * posix/Makefile: Likewise.
79922         [BZ #6959]
79923         * timezone/Makefile: Don't install timezone files, just the programs
79924         and scripts.
79926 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79928         * nss/databases.def: Add missing gshadow entry.
79930         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79932 2012-03-06  Marek Polacek  <polacek@redhat.com>
79934         [BZ #13726]
79935         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79936         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79937         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79938         * stdio-common/tst-long-dbl-fphex.c: New file.
79940 2012-03-06  David S. Miller  <davem@davemloft.net>
79942         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79943         (set_obp_int): New function.
79944         (get_obp_int): New function.
79945         (__get_clockfreq_via_dev_openprom): Likewise.
79946         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79947         Avoid unused variable warnings on 'val' and use builtin_expect.
79948         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79949         __builtin_expect.
79950         (INLINE_CLONE_SYSCALL): Likewise.
79952 2012-03-05  David S. Miller  <davem@davemloft.net>
79954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79956 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79960         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79961         only for |x| >= 40.
79962         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79964 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79966         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79967         Replace gettimeofday with __vdso_gettimeofday.
79969         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79970         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79971         __vdso_clock_gettime and __vdso_getcpu.
79973         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79974         time with __vdso_time.
79976 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79978         * manual/lang.texi (size_t): Note types to which size_t may be
79979         equivalent with the GNU C Library, but do not describe when
79980         differences between them are significant.
79982 2012-03-05  Andreas Jaeger  <aj@suse.de>
79984         * sysdeps/i386/fpu/libm-test-ulps: Update.
79986 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79988         [BZ #3976]
79989         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79990         (__ieee754_pow): Save and restore rounding mode and use
79991         round-to-nearest for main computations.
79992         * math/libm-test.inc (pow_test_tonearest): New function.
79993         (pow_test_towardzero): Likewise.
79994         (pow_test_downward): Likewise.
79995         (pow_test_upward): Likewise.
79996         (main): Call the new functions.
79997         * sysdeps/i386/fpu/libm-test-ulps: Update.
79998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80000         [BZ #3976]
80001         * math/libm-test.inc (cosh_test_tonearest): New function.
80002         (cosh_test_towardzero): Likewise.
80003         (cosh_test_downward): Likewise.
80004         (cosh_test_upward): Likewise.
80005         (sinh_test_tonearest): Likewise.
80006         (sinh_test_towardzero): Likewise.
80007         (sinh_test_downward): Likewise.
80008         (sinh_test_upward): Likewise.
80009         (main): Call the new functions.
80010         * sysdeps/i386/fpu/libm-test-ulps: Update.
80011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80013 2012-03-05  Tom de Vries  <tom@codesourcery.com>
80015         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
80016         default stack guard is set in last bytes.
80017         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
80019 2012-03-05  Kees Cook  <keescook@chromium.org>
80021         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
80023         [BZ #13656]
80024         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
80025         possibly allocate from heap instead of stack.
80026         * stdio-common/bug-vfprintf-nargs.c: New file.
80027         * stdio-common/Makefile (tests): Add nargs overflow test.
80029 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
80031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80033 2012-03-03  Marek Polacek  <polacek@redhat.com>
80035         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
80036         * math/math_private.h: Likewise.
80037         * stdlib/tst-strtod.c: Likewise.
80038         * sysdeps/i386/i486/bits/atomic.h: Likewise.
80039         * sysdeps/x86_64/bits/atomic.h: Likewise.
80041 2012-03-02  David S. Miller  <davem@davemloft.net>
80043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
80044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
80045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
80046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
80047         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
80048         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
80049         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
80050         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
80052 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80054         [BZ #13792]
80055         * manual/examples/README: New file, says the example source files
80056         can be used under GPL>=2.
80057         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80058         line containing just "*/".
80059         * manual/examples/add.c: Add copyright header (GPL>=2).
80060         * manual/examples/argp-ex1.c: Likewise.
80061         * manual/examples/argp-ex2.c: Likewise.
80062         * manual/examples/argp-ex3.c: Likewise.
80063         * manual/examples/argp-ex4.c: Likewise.
80064         * manual/examples/atexit.c: Likewise.
80065         * manual/examples/db.c: Likewise.
80066         * manual/examples/dir.c: Likewise.
80067         * manual/examples/dir2.c: Likewise.
80068         * manual/examples/execinfo.c: Likewise.
80069         * manual/examples/filecli.c: Likewise.
80070         * manual/examples/filesrv.c: Likewise.
80071         * manual/examples/fmtmsgexpl.c: Likewise.
80072         * manual/examples/genpass.c: Likewise.
80073         * manual/examples/inetcli.c: Likewise.
80074         * manual/examples/inetsrv.c: Likewise.
80075         * manual/examples/isockad.c: Likewise.
80076         * manual/examples/longopt.c: Likewise.
80077         * manual/examples/memopen.c: Likewise.
80078         * manual/examples/memstrm.c: Likewise.
80079         * manual/examples/mkfsock.c: Likewise.
80080         * manual/examples/mkisock.c: Likewise.
80081         * manual/examples/mygetpass.c: Likewise.
80082         * manual/examples/pipe.c: Likewise.
80083         * manual/examples/popen.c: Likewise.
80084         * manual/examples/rprintf.c: Likewise.
80085         * manual/examples/search.c: Likewise.
80086         * manual/examples/select.c: Likewise.
80087         * manual/examples/setjmp.c: Likewise.
80088         * manual/examples/sigh1.c: Likewise.
80089         * manual/examples/sigusr.c: Likewise.
80090         * manual/examples/stpcpy.c: Likewise.
80091         * manual/examples/strdupa.c: Likewise.
80092         * manual/examples/strftim.c: Likewise.
80093         * manual/examples/strncat.c: Likewise.
80094         * manual/examples/subopt.c: Likewise.
80095         * manual/examples/swapcontext.c: Likewise.
80096         * manual/examples/termios.c: Likewise.
80097         * manual/examples/testopt.c: Likewise.
80098         * manual/examples/testpass.c: Likewise.
80099         * manual/examples/timeval_subtract.c: Likewise.
80101         [BZ #13792]
80102         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80103         function to ...
80104         * manual/timeval_subtract.c.texi: ... here, new file.
80106 2012-03-02  David S. Miller  <davem@davemloft.net>
80108         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80110 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80112         [BZ #3976]
80113         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80114         (__sin): Save and restore rounding mode and use round-to-nearest
80115         for all computations.
80116         (__cos): Save and restore rounding mode and use round-to-nearest
80117         for all computations.
80118         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80119         <fenv.h>.
80120         (tan): Save and restore rounding mode and use round-to-nearest for
80121         all computations.
80122         * math/libm-test.inc (cos_test_tonearest): New function.
80123         (cos_test_towardzero): Likewise.
80124         (cos_test_downward): Likewise.
80125         (cos_test_upward): Likewise.
80126         (sin_test_tonearest): Likewise.
80127         (sin_test_towardzero): Likewise.
80128         (sin_test_downward): Likewise.
80129         (sin_test_upward): Likewise.
80130         (tan_test_tonearest): Likewise.
80131         (tan_test_towardzero): Likewise.
80132         (tan_test_downward): Likewise.
80133         (tan_test_upward): Likewise.
80134         (main): Call the new functions.
80135         * sysdeps/i386/fpu/libm-test-ulps: Update.
80136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80138         [BZ #10135]
80139         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80140         small n, then large n, before computing and testing k+n.
80141         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80142         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80143         Likewise.
80144         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80145         Likewise.
80146         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80147         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80148         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80149         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80150         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80151         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80152         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80153         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80154         * math/libm-test.inc (scalbn_test): Add more tests.
80155         (scalbln_test): Likewise.
80157         * manual/filesys.texi (mode_t): Describe constraints on size and
80158         signedness, not exact equivalence to a particular type.
80159         (ino_t): Likewise.
80160         (ino64_t): Likewise.
80161         (dev_t): Likewise.
80162         (nlink_t): Likewise.
80163         (blkcnt_t): Likewise.
80164         (blkcnt64_t): Likewise.
80165         * manual/llio.texi (off_t): Likewise.
80167         [BZ #3976]
80168         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80169         (__ieee754_exp): Save and restore rounding mode and use
80170         round-to-nearest for all computations.
80171         * math/libm-test.inc (exp_test_tonearest): New function.
80172         (exp_test_towardzero): Likewise.
80173         (exp_test_downward): Likewise.
80174         (exp_test_upward): Likewise.
80175         (main): Call the new functions.
80176         * sysdeps/i386/fpu/libm-test-ulps: Update.
80177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80179 2012-03-01  Chris Demetriou  <cgd@google.com>
80181         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80182         have predictable order.
80184 2012-03-01  David S. Miller  <davem@davemloft.net>
80186         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80188         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80189         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80190         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80191         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80193         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80194         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80195         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80197         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80198         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80199         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80200         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80201         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80205         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80206         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80207         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80209         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80210         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80211         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80212         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80213         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80214         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80215         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80216         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80217         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80218         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80219         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80220         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80221         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80222         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80223         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80224         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80225         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80226         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80227         * sysdeps/sparc/elf/configure: Regenerated.
80229 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80231         * configure.in (AS, LD): Require binutils 2.20 or later.
80232         * configure: Regenerated.
80233         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80234         as required minimum version.
80235         * INSTALL: Regenerated.
80237         [BZ #2541]
80238         [BZ #4108]
80239         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80240         before squaring exponent.
80241         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80242         bottom long double and 27 bits of top long double before squaring
80243         exponent.
80244         * math/libm-test.inc (erfc_test): Add more tests.
80245         * sysdeps/i386/fpu/libm-test-ulps: Update.
80246         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80249 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80251         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80252         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80253         containing bit-fields.
80254         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80255         * soft-fp/single.h (_FP_UNION_S): Likewise.
80256         * soft-fp/double.h (_FP_UNION_D): Likewise.
80258 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80260         [BZ #13786]
80261         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80262         not include ../strcmp.S.
80263         [USE_AS_STRNCASECMP_L]: Likewise.
80264         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80265         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80266         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80267         (__strncasecmp_l_ia32): Define as alias to
80268         __strncasecmp_l_nonascii.
80270         [BZ #5794]
80271         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80272         * sysdeps/i386/fpu/libm-test-ulps: Update.
80273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80275         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80278 2012-02-29  Jeff Law  <law@redhat.com>
80280         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80281         out of bounds read.
80283 2012-02-29  Marek Polacek  <polacek@redhat.com>
80285         [BZ #13706]
80286         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80287         * elf/Makefile: Add rules to run tst-unused-dep.out.
80289 2012-02-28  David S. Miller  <davem@davemloft.net>
80291         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80292         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80293         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80294         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80295         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80296         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80298 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80300         * math/libm-test.inc (llround_test): Move one test from
80301         lround_test.  Use TEST_f_L in moved test.
80302         (lround_test): Move misplaced test to llround_test.  Add testcase
80303         from bug 2561.
80305 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
80307         * sysdeps/x86_64/fpu/e_expf.S: New file.
80308         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80310 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
80312         [BZ #13637]
80313         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80314         of remain_len that may cause incomplete multi-byte character and
80315         false match.
80316         * posix/bug-regex33.c: New file.
80317         * posix/Makefile (tests): Add bug-regex33.
80319 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
80321         * manual/macros.texi: New file.
80322         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80323         * manual/libc.texinfo: Include macros.texi.
80324         * manual/creatute.texi: Likewise.
80325         * manual/install.texi: Likewise.
80326         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80327         @glibcadj{} in references to the GNU C Library.
80328         * manual/charset.texi: Likewise.
80329         * manual/conf.texi: Likewise.
80330         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
80331         when not using those macros.
80332         * manual/creature.texi: Likewise.
80333         * manual/crypt.texi: Likewise.
80334         * manual/errno.texi: Likewise.
80335         * manual/filesys.texi: Likewise.
80336         * manual/header.texi: Likewise.
80337         * manual/install.texi: Likewise.
80338         * manual/intro.texi: Likewise.
80339         * manual/io.texi: Likewise.
80340         * manual/job.texi: Likewise.
80341         * manual/lang.texi: Likewise.
80342         * manual/libc.texiinfo: Likewise.
80343         * manual/llio.texi: Likewise.
80344         * manual/locale.texi: Likewise.
80345         * manual/maint.texi: Likewise.
80346         * manual/math.texi: Likewise.
80347         * manual/memory.texi: Likewise.
80348         * manual/message.texi: Likewise.
80349         * manual/nss.texi: Likewise.
80350         * manual/pattern.texi: Likewise.
80351         * manual/process.texi: Likewise.
80352         * manual/resource.texi: Likewise.
80353         * manual/search.texi: Likewise.
80354         * manual/setjmp.texi: Likewise.
80355         * manual/signal.texi: Likewise.
80356         * manual/socket.texi: Likewise.
80357         * manual/startup.texi: Likewise.
80358         * manual/stdio.texi: Likewise.
80359         * manual/string.texi: Likewise.
80360         * manual/sysinfo.texi: Likewise.
80361         * manual/syslog.texi: Likewise.
80362         * manual/terminal.texi: Likewise.
80363         * manual/time.texi: Likewise.
80364         * manual/users.texi: Likewise.
80365         * INSTALL: Regenerated.
80366         * NOTES: Regenerated.
80367         * sysdeps/gnu/errlist.c: Regenerated.
80369 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80371         * include/dirent.h: Include <dirstream.h> before
80372         <dirent/dirent.h>.
80374 2012-02-28  David S. Miller  <davem@davemloft.net>
80376         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80377         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80378         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80379         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80381 2012-02-27  David S. Miller  <davem@davemloft.net>
80383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80385         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80386         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80389         frame pointer instead of stack pointer relative arg slot.
80390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80391         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80392         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80394 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80396         [BZ #3992]
80397         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80399 2012-02-27  David S. Miller  <davem@davemloft.net>
80401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80402         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80403         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80404         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80405         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80406         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80407         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80408         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80410 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80412         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80413         later.  Allow versions 5-9.
80414         * configure: Regenerated.
80415         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80416         required minimum version and 4.6 as recommended version.  Do not
80417         mention bugs in GCC 2.7 and 2.8.
80418         * INSTALL: Regenerated.
80420 2012-02-27  David S. Miller  <davem@davemloft.net>
80422         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80423         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80424         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80425         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80426         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80427         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80428         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80429         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80431         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80432         manipulate bits before adding and subtracting TWO112[sx].
80433         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80435 2012-02-27  Roland McGrath  <roland@hack.frob.com>
80437         [BZ #13775]
80438         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80439         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80440         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80441         being in POSIX, because they are in 1003.1-2008.
80443         * rt/tst-aio.c: Include <fcntl.h>.
80444         * rt/tst-aio7.c: Likewise.
80445         * rt/tst-aio64.c: Likewise.
80447         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80449 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80451         * manual/install.texi (--with-headers): Describe headers as
80452         interface headers, not private headers.
80453         (Specific advice for GNU/Linux systems): Describe use of headers
80454         from "make headers_install", not private headers from older
80455         kernels.
80456         * INSTALL: Regenerated.
80457         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80458         Change to 2.6.19.
80459         * sysdeps/unix/sysv/linux/configure: Regenerated.
80461         * manual/llio.texi (fclean): Remove documentation.
80463         * manual/Makefile (libc-texi-generated): New variable.  Include
80464         version.texi.
80465         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80466         $(libc-texi-generated), not duplicated list of files.
80467         (version.texi, stamp-version): New rules.
80468         (realclean): Remove $(libc-texi-generated), not individual files
80469         from that list.  Do not remove dir-add.texinfo.
80470         * manual/libc.texinfo: Comment out uses of edition numbers and
80471         references to printed manual.  Remove last-updated dates.
80472         (EDITION): Comment out.
80473         (ISBN): Likewise.
80474         (VERSION, UPDATED): Remove.
80475         (version.texi): Include.
80477 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
80479         * sysdeps/posix/spawni.c: Include <signal.h>.
80480         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80481         * sysdeps/pthread/aio_fsync.c: Likewise.
80483 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
80485         * conform/Makefile (tests): Run only when not cross-compiling and
80486         when fast-check is not defined.
80488         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80489         * conform/data/limits.h-data: Fixes for POSIX2008.
80490         * conform/run-conformtest.sh: Run all tests.
80491         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80492         headers.
80493         * include/bits/dlfcn.h: Likewise.
80494         * include/langinfo.h: Likewise.
80495         * include/monetary.h: Likewise.
80496         * include/sys/poll.h: Likewise.
80498         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80499         for __USE_GNU.
80500         * posix/spawn.h: Define __need_sigset_t.
80501         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80502         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80503         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
80504         to get sigevent_t only.
80505         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80506         only for __USE_GNU.
80507         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80508         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80509         process_vm_writev only for __USE_GNU.
80510         * termios/termios.h: Declare tcgetsid also for POSIX2008.
80512         * conform/Makefile: For now ignore errors from run-conformtest.
80513         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
80514         POSIX to avoid namespace pollution.  Don't prepend headers.
80515         * conform/data/aio.h-data: Fixes for POSIX testing.
80516         * conform/data/fcntl.h-data: Likewise.
80517         * conform/data/glob.h-data: Likewise.
80518         * conform/data/grp.h-data: Likewise.
80519         * conform/data/pthread.h-data: Likewise.
80520         * conform/data/pwd.h-data: Likewise.
80521         * conform/data/signal.h-data: Likewise.
80522         * conform/data/spawn.h-data: Likewise.
80523         * conform/data/stdio.h-data: Likewise.
80524         * conform/data/stdlib.h-data: Likewise.
80525         * conform/data/stropts.h-data: Likewise.
80526         * conform/data/sys/mman.h-data: Likewise.
80527         * conform/data/sys/stat.h-data: Likewise.
80528         * conform/data/sys/types.h-data: Likewise.
80529         * conform/data/sys/wait.h-data: Likewise.
80530         * conform/data/time.h-data: Likewise.
80531         * conform/data/unistd.h-data: Likewise.
80532         * conform/data/utime.h-data: Likewise.
80534         * io/sys/stat.h: fchmod was always in POSIX.
80535         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80536         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80537         * rt/aio.h: Define __need_timespec before including <time.h>.
80538         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80539         struct.  Add forward declaration of pthread_attr_t and use it in
80540         sigevent.
80541         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80542         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80543         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80544         always remove CLK_TCK definition.
80546 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80548         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80550 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80552         * conform/run-conformtest.sh: New file.
80553         * conform/Makefile: Run run-conformtest for tests.
80554         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80555         support.
80557         * conform/data/uchar.h-data: New file.
80558         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80559         * conform/data/arpa/inet.h-data: Likewise.
80560         * conform/data/assert.h-data: Likewise.
80561         * conform/data/complex.h-data: Likewise.
80562         * conform/data/cpio.h-data: Likewise.
80563         * conform/data/ctype.h-data: Likewise.
80564         * conform/data/dirent.h-data: Likewise.
80565         * conform/data/dlfcn.h-data: Likewise.
80566         * conform/data/errno.h-data: Likewise.
80567         * conform/data/fcntl.h-data: Likewise.
80568         * conform/data/float.h-data: Likewise.
80569         * conform/data/fmtmsg.h-data: Likewise.
80570         * conform/data/fnmatch.h-data: Likewise.
80571         * conform/data/ftw.h-data: Likewise.
80572         * conform/data/glob.h-data: Likewise.
80573         * conform/data/grp.h-data: Likewise.
80574         * conform/data/iconv.h-data: Likewise.
80575         * conform/data/inttypes.h-data: Likewise.
80576         * conform/data/langinfo.h-data: Likewise.
80577         * conform/data/libgen.h-data: Likewise.
80578         * conform/data/limits.h-data: Likewise.
80579         * conform/data/locale.h-data: Likewise.
80580         * conform/data/math.h-data: Likewise.
80581         * conform/data/monetary.h-data: Likewise.
80582         * conform/data/mqueue.h-data: Likewise.
80583         * conform/data/ndbm.h-data: Likewise.
80584         * conform/data/net/if.h-data: Likewise.
80585         * conform/data/netdb.h-data: Likewise.
80586         * conform/data/netinet/in.h-data: Likewise.
80587         * conform/data/nl_types.h-data: Likewise.
80588         * conform/data/poll.h-data: Likewise.
80589         * conform/data/pthread.h-data: Likewise.
80590         * conform/data/pwd.h-data: Likewise.
80591         * conform/data/regex.h-data: Likewise.
80592         * conform/data/sched.h-data: Likewise.
80593         * conform/data/search.h-data: Likewise.
80594         * conform/data/semaphore.h-data: Likewise.
80595         * conform/data/setjmp.h-data: Likewise.
80596         * conform/data/signal.h-data: Likewise.
80597         * conform/data/spawn.h-data: Likewise.
80598         * conform/data/stdarg.h-data: Likewise.
80599         * conform/data/stdio.h-data: Likewise.
80600         * conform/data/stdlib.h-data: Likewise.
80601         * conform/data/string.h-data: Likewise.
80602         * conform/data/strings.h-data: Likewise.
80603         * conform/data/stropts.h-data: Likewise.
80604         * conform/data/sys/ipc.h-data: Likewise.
80605         * conform/data/sys/mman.h-data: Likewise.
80606         * conform/data/sys/msg.h-data: Likewise.
80607         * conform/data/sys/resource.h-data: Likewise.
80608         * conform/data/sys/select.h-data: Likewise.
80609         * conform/data/sys/sem.h-data: Likewise.
80610         * conform/data/sys/shm.h-data: Likewise.
80611         * conform/data/sys/socket.h-data: Likewise.
80612         * conform/data/sys/stat.h-data: Likewise.
80613         * conform/data/sys/statvfs.h-data: Likewise.
80614         * conform/data/sys/time.h-data: Likewise.
80615         * conform/data/sys/timeb.h-data: Likewise.
80616         * conform/data/sys/times.h-data: Likewise.
80617         * conform/data/sys/types.h-data: Likewise.
80618         * conform/data/sys/uio.h-data: Likewise.
80619         * conform/data/sys/un.h-data: Likewise.
80620         * conform/data/sys/utsname.h-data: Likewise.
80621         * conform/data/sys/wait.h-data: Likewise.
80622         * conform/data/syslog.h-data: Likewise.
80623         * conform/data/tar.h-data: Likewise.
80624         * conform/data/termios.h-data: Likewise.
80625         * conform/data/utime.h-data: Likewise.
80626         * conform/data/utmpx.h-data: Likewise.
80627         * conform/data/varargs.h-data: Likewise.
80628         * conform/data/wchar.h-data: Likewise.
80629         * conform/data/wctype.h-data: Likewise.
80630         * conform/data/wordexp.h-data: Likewise.
80632         * include/stropts.h: New file.
80633         * include/uchar.h: New file.
80634         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80635         * include/assert.h: Likewise.
80636         * include/ctype.h: Likewise.
80637         * include/dirent.h: Likewise.
80638         * include/dlfcn.h: Likewise.
80639         * include/fcntl.h: Likewise.
80640         * include/fnmatch.h: Likewise.
80641         * include/glob.h: Likewise.
80642         * include/grp.h: Likewise.
80643         * include/libio.h: Likewise.
80644         * include/locale.h: Likewise.
80645         * include/math.h: Likewise.
80646         * include/net/if.h: Likewise.
80647         * include/netdb.h: Likewise.
80648         * include/netinet/in.h: Likewise.
80649         * include/pthread.h: Likewise.
80650         * include/pwd.h: Likewise.
80651         * include/regex.h: Likewise.
80652         * include/sched.h: Likewise.
80653         * include/search.h: Likewise.
80654         * include/setjmp.h: Likewise.
80655         * include/signal.h: Likewise.
80656         * include/stdio.h: Likewise.
80657         * include/stdlib.h: Likewise.
80658         * include/string.h: Likewise.
80659         * include/sys/cdefs.h: Likewise.
80660         * include/sys/mman.h: Likewise.
80661         * include/sys/msg.h: Likewise.
80662         * include/sys/resource.h: Likewise.
80663         * include/sys/select.h: Likewise.
80664         * include/sys/socket.h: Likewise.
80665         * include/sys/stat.h: Likewise.
80666         * include/sys/statvfs.h: Likewise.
80667         * include/sys/time.h: Likewise.
80668         * include/sys/times.h: Likewise.
80669         * include/sys/uio.h: Likewise.
80670         * include/sys/utsname.h: Likewise.
80671         * include/sys/wait.h: Likewise.
80672         * include/termios.h: Likewise.
80673         * include/time.h: Likewise.
80674         * include/ulimit.h: Likewise.
80675         * include/unistd.h: Likewise.
80676         * include/utime.h: Likewise.
80677         * include/wchar.h: Likewise.
80678         * include/wctype.h: Likewise.
80679         * include/wordexp.h: Likewise.
80681         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80683         * time/time.h: TIME_UTC must be a macro.
80684         Make timespec_get available for ISO C11 only as well.
80686 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80688         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80689         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80691 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80693         * configure.in: Use -o not -a in test for unsupported multi-arch.
80695 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80697         * manual/texinfo.tex: Update to version 2012-01-19.16.
80699 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80701         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80703 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80705         [BZ #13738]
80706         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80707         * manual/fdl-1.3.texi: New file.
80708         * manual/fdl-1.1.texi: File removed.
80710         [BZ #13738]
80711         * manual/libc.texinfo (FDL_VERSION): New @set.
80712         Use it for mention of FDL in cover text.
80713         (Documentation License): Use it in @include file name.
80715 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80716             Roland McGrath  <roland@hack.frob.com>
80718         [BZ #5461]
80719         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80720         (not LONG_LONG_MAX and LONG_LONG_MIN.
80721         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80722         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80723         name.
80724         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80726 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80728         [BZ #2547]
80729         [BZ #11365]
80730         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80731         manipulate bits before adding and subtracting TWO23[sx].
80732         * math/libm-test.inc (nearbyint_test): Add more tests.
80734 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80736         [BZ #2548]
80737         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80738         bits before adding and subtracting TWO23[sx].
80739         * math/libm-test.inc (rint_test): Add more tests.
80740         (rint_test_tonearest): Likewise.
80741         (rint_test_towardzero): Likewise.
80742         (rint_test_downward): Likewise.
80743         (rint_test_upward: Likewise.
80745 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80747         [BZ #10110]
80748         * include/stdc-predef.h: New file.  Extracted from features.h.
80749         * include/features.h: Include stdc-predef.h.
80750         * Makefile (headers): Add stdc-predef.h.
80751         * CONFORMANCE (Compiler limitations): Update.
80753 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80755         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80757 2012-02-21  David S. Miller  <davem@davemloft.net>
80759         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80760         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80762 2012-02-20  David S. Miller  <davem@davemloft.net>
80764         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80765         using a normal save/restore sequence, rather than allocating a
80766         dummy stack frame just to store a frame pointer and restore.
80767         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80769 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80771         * manual/install.texi: Fix stray word in line-wrapped comment.
80773 2012-02-20  David S. Miller  <davem@davemloft.net>
80775         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80776         both binutils and gcc support GOTDATA.
80778         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80779         "rd %pc" in the PIC register setup sequences.
80781         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80782         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80783         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80784         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80785         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80786         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80787         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80788         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80789         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80790         (SYSCALL_ERROR_HANDLER): Likewise.
80791         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80792         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80793         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80794         (SYSCALL_ERROR_HANDLER): Likewise.
80796         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80797         (HAVE_GCC_GOTDATA): New.
80798         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80799         relocation support in both binutils and gcc.
80800         * sysdeps/sparc/elf/configure: Regenerate.
80802         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80803         * sysdeps/sparc/sparc32/elf/configure: Delete.
80804         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80805         * sysdeps/sparc/sparc64/elf/configure: Delete.
80806         * sysdeps/sparc/elf/configure.in: New file.
80807         * sysdeps/sparc/elf/configure: Generate.
80809         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80810         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80811         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80812         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80813         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80815 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80817         * manual/install.texi: Do not mention specific glibc version
80818         numbers.
80819         * manual/libc.texinfo (VERSION, UPDATED): Update.
80820         (@copying): Use @copyright{} and range of years.
80822 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80824         [BZ #13695]
80825         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80826         [crti.S not in sysdirs] (generated): Do not append.
80827         [crti.S not in sysdirs] (omit-deps): Likewise.
80828         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80829         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80830         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80831         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80832         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80833         Likewise.
80834         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80835         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80836         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80837         * csu/defs.awk: Remove file.
80838         * sysdeps/generic/initfini.c: Likewise.
80839         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80840         variable.
80841         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80842         Likewise.
80844 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80846         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80847         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80848         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80849         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80850         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80851         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80852         <bits/epoll.h>.
80853         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80854         (__EPOLL_PACKED): Define to empty if not defined by
80855         <bits/epoll.h>.
80856         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80858         bits/epoll.h.
80860 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80862         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80863         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80864         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80865         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80866         <bits/timerfd.h>.
80867         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80868         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80869         bits/timerfd.h.
80871 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80873         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80874         in C locale.
80875         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80876         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80877         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80880 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80882         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80883         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80885 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80887         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80888         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80889         defined.
80890         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80891         Likewise.
80892         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80893         entry for 2.16.
80895 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80897         * math/w_acos.c: Use non-signaling floating-point comparisons.
80898         * math/w_acosf.c: Likewise.
80899         * math/w_acosh.c: Likewise.
80900         * math/w_acoshf.c: Likewise.
80901         * math/w_acoshl.c: Likewise.
80902         * math/w_acosl.c: Likewise.
80903         * math/w_asin.c: Likewise.
80904         * math/w_asinf.c: Likewise.
80905         * math/w_asinl.c: Likewise.
80906         * math/w_atanh.c: Likewise.
80907         * math/w_atanhf.c: Likewise.
80908         * math/w_atanhl.c: Likewise.
80909         * math/w_exp2.c: Likewise.
80910         * math/w_exp2f.c: Likewise.
80911         * math/w_exp2l.c: Likewise.
80912         * math/w_j0.c: Likewise.
80913         * math/w_j0f.c: Likewise.
80914         * math/w_j0l.c: Likewise.
80915         * math/w_j1.c: Likewise.
80916         * math/w_j1f.c: Likewise.
80917         * math/w_j1l.c: Likewise.
80918         * math/w_jn.c: Likewise.
80919         * math/w_jnf.c: Likewise.
80920         * math/w_log.c: Likewise.
80921         * math/w_log10.c: Likewise.
80922         * math/w_log10f.c: Likewise.
80923         * math/w_log10l.c: Likewise.
80924         * math/w_log2.c: Likewise.
80925         * math/w_log2f.c: Likewise.
80926         * math/w_log2l.c: Likewise.
80927         * math/w_logf.c: Likewise.
80928         * math/w_logl.c: Likewise.
80929         * math/w_sqrt.c: Likewise.
80930         * math/w_sqrtf.c: Likewise.
80931         * math/w_sqrtl.c: Likewise.
80932         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80933         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80934         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80935         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80936         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80938 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80940         [BZ #9739]
80941         * manual/string.texi (strnlen): Use correct parameter name in
80942         equivalent expression.
80944 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80946         [BZ #11174]
80947         * manual/users.texi (seteuid): Consistently use neweuid for
80948         argument name.
80950 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80952         [BZ #13704]
80953         * manual/nss.texi (Services in the NSS configuration): Correct
80954         list of services in example configuration file.
80956 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80958         [BZ #11322]
80959         * manual/arith.texi: Remove statements about negative zero
80960         behaving identically to zero.
80962 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80964         [BZ #5993]
80965         * manual/install.texi: Do not document upgrading from libc5.
80967 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80969         [BZ #4596]
80970         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80972 2012-02-18  David S. Miller  <davem@davemloft.net>
80974         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80975         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80976         %o7 across the call.
80977         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80978         instead.
80979         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80980         SETUP_PIC_REG_LEAF.
80981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80982         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80983         * sysdeps/sparc/crtn.S: Likewise.
80985 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80987         * aout/Makefile: Remove.
80989 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80991         [BZ #13058]
80992         * manual/examples/argp-ex1.c (main): Format definition in GNU
80993         style.
80994         * manual/examples/argp-ex2.c (main): Likewise.
80995         * manual/examples/argp-ex3.c (main): Likewise.
80996         * manual/examples/argp-ex4.c (main): Likewise.
80997         * manual/examples/longopt.c (main): Use new-style prototype
80998         definition.
80999         * manual/examples/strncat.c (main): Specify return type and use
81000         (void) for arguments.
81001         * manual/examples/subopt.c (main): Use char **argv argument.
81003 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81005         [BZ #5077]
81006         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
81007         rounding modes.
81009 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
81011         [BZ #6907]
81012         * manual/string.texi (strchr): Change when strchrnul is
81013         recommended.
81015 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
81017         [BZ #174]
81018         * manual/locale.texi (setlocale): Document LOCPATH.
81020 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81022         [BZ #10210]
81023         * manual/process.texi (execle): Move @dots{} before last argument.
81025 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
81027         [BZ #12047]
81028         * manual/charset.texi (Generic Charset Conversion): Fix typo
81029         (LC_TYPE -> LC_CTYPE).
81031 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
81033         [BZ #5805]
81034         * manual/arith.texi (scalbn): Use @var{} on parameter names.
81035         (scalbnf): Likewise.
81036         (scalbnl): Likewise.
81037         (scalbln): Likewise.
81038         (scalblnf): Likewise.
81039         (scalblnl): Likewise.
81040         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
81041         (vwarnx): Likewise.
81042         (verr): Likewise.
81043         (verrx): Likewise.
81044         * manual/filesys.texi (telldir): Use braces around return type.
81045         * manual/llio.texi (mmap): Add space after comma.
81046         (mmap64): Likewise.
81047         * manual/math.texi (jn): Use @var{} on parameter names.
81048         (jnf): Likewise.
81049         (jnl): Likewise.
81050         (yn): Likewise.
81051         (ynf): Likewise.
81052         (ynl): Likewise.
81053         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81054         line.
81055         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81056         "...".
81057         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81058         (sched_get_priority_max): Likewise.
81059         * manual/signal.texi (sigvec): Add space after comma.
81060         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81061         names.
81062         (if_indextoname): Likewise.
81063         (if_freenameindex): Likewise.
81064         (sendto): Use ',' instead of '.' in prototype.
81065         * manual/startup.texi (syscall): Use @dots{} instead of literal
81066         "...".
81067         * manual/stdio.texi (__fpending): Separate initial words of
81068         paragraph from @deftypefun line.
81069         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81070         "...".
81071         (vsyslog): Use @var{} on parameter names.
81072         * manual/terminal.texi (stty): Use @var{} on parameter names.
81073         * manual/users.texi (getutmp): Use @var{} on parameter names.
81074         (getutmpx): Likewise.
81076 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81078         [BZ #6884]
81079         * manual/stdio.texi (fopen): Fix typos in description of
81080         ",ccs=STRING".
81082 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81084         [BZ #4026]
81085         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81086         get clock_id definition.
81088 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81090         [BZ #4822]
81091         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81092         (madvise): Cast every argument to void on its own.
81094 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81096         [BZ #9902]
81097         * manual/startup.texi (Exit Status): Fix typo.
81099 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81101         [BZ #10140]
81102         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81103         * manual/examples/argp-ex2.c: Likewise.
81104         * manual/examples/argp-ex3.c: Likewise.
81106 2012-02-16  Richard Henderson  <rth@redhat.com>
81108         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81109         * sysdeps/s390/s390-32/initfini.c: Remove.
81110         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81111         * sysdeps/s390/s390-64/initfini.c: Remove.
81113 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81115         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81116         compiler output for sysdeps/generic/initfini.c.
81117         * sysdeps/sh/elf/initfini.c: Remove file.
81119 2012-02-16  David S. Miller  <davem@davemloft.net>
81121         [BZ #11494]
81122         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81124         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81125         * sysdeps/sparc/crti.S: New file.
81126         * sysdeps/sparc/crtn.S: New file.
81127         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81128         * sysdeps/sparc/sparc64/Makefile: Likewise.
81130 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81132         [BZ #3335]
81133         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81135 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81137         [BZ #4822]
81138         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81140         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81141         (write, read, close): Likewise.
81142         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81144 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81146         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81147         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81148         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81149         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81150         <bits/signalfd.h>.
81151         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81152         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81153         bits/signalfd.h.
81155 2012-02-14  Marek Polacek  <polacek@redhat.com>
81157         * sysdeps/x86_64/crti.S: New file.
81158         * sysdeps/x86_64/crtn.S: New file.
81159         * sysdeps/x86_64/elf/initfini.c: Remove file.
81161 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81163         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81164         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81165         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81166         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81167         <bits/inotify.h>.
81168         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81169         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81170         bits/inotify.h.
81172 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81174         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81175         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81176         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81177         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81178         <bits/eventfd.h>.
81179         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81180         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81181         bits/eventfd.h.
81183 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81185         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81186         __feraiseexcept instead of feraiseexcept.
81188         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81189         nanosleep invocations.
81190         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81191         strings, and add error checking for a nanosleep invocations.
81193 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81195         Replace FSF snail mail address with URLs, as per GNU coding standards.
81196         Most of the snail mail addresses were wrong anyway, and omitting
81197         them makes the source code easier to maintain.  Almost all of the
81198         changes are to license notices and to locale LC_IDENTIFICATION
81199         addresses, except for this one:
81200         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81201         not its snail mail address.
81203 2012-02-09  Richard Henderson  <rth@twiddle.net>
81205         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81206         of kernel-features.h.
81208         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81210 2012-02-08  Marek Polacek  <polacek@redhat.com>
81212         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81213         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81214         * sysdeps/gnu/_G_config.h: Likewise.
81215         * sysdeps/generic/_G_config.h: Likewise.
81217 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81219         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81220         tests.
81221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81223         * sysdeps/powerpc/powerpc32/crti.S: New file.
81224         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81225         * sysdeps/powerpc/powerpc64/crti.S: New file.
81226         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81228         * Makeconfig (have-initfini): Don't set.
81229         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81230         * configure.in (nopic_initfini): Don't substitute.
81231         * config.h.in (HAVE_INITFINI): Don't #undef.
81232         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81233         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81235 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81237         Support crti.S and crtn.S provided directly by architectures.
81238         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81239         [crti.S in sysdirs] (omit-deps): Likewise.
81240         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81241         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81242         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81243         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81244         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81245         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81246         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81247         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81248         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81249         compiler output for sysdeps/generic/initfini.c.
81250         * sysdeps/i386/elf/Makefile: Remove file.
81251         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81253 2012-02-07  Marek Polacek  <polacek@redhat.com>
81255         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81256         * sysdeps/gnu/_G_config.h: Likewise.
81257         * sysdeps/mach/hurd/_G_config.h: Likewise.
81259 2012-02-07  Marek Polacek  <polacek@redhat.com>
81261         * math/Makefile (tests): Add tst-CMPLX2.
81262         * math/tst-CMPLX2.c: New file.
81264 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81266         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81268         * math/libm-test.inc (jn_test): Add missing L suffix.
81270 2012-02-06  Marek Polacek  <polacek@redhat.com>
81272         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81273         * sysdeps/i386/fpu/e_powf.S: Likewise.
81274         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81275         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81276         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81277         * sysdeps/i386/fpu/e_pow.S: Likewise.
81278         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81279         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81280         * sysdeps/i386/fpu/s_expm1.S: Likewise.
81281         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81282         * sysdeps/i386/fpu/e_log2.S: Likewise.
81283         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81284         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81285         * sysdeps/i386/fpu/e_powl.S: Likewise.
81286         * sysdeps/i386/fpu/s_log1p.S: Likewise.
81287         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81288         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81289         * sysdeps/i386/fpu/e_logl.S: Likewise.
81290         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81291         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81292         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81293         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81294         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81295         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81296         * sysdeps/i386/fpu/e_log.S: Likewise.
81297         * sysdeps/i386/fpu/s_cexp.S: Likewise.
81298         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81299         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81300         * sysdeps/i386/fpu/e_logf.S: Likewise.
81301         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81302         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81303         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81304         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81305         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81306         * sysdeps/i386/fpu/e_log10.S: Likewise.
81307         * sysdeps/i386/fpu/s_frexp.S: Likewise.
81308         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81309         * sysdeps/i386/fpu/s_asinh.S: Likewise.
81310         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81311         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81312         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81313         * sysdeps/i386/asm-syntax.h: Likewise.
81314         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81315         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81316         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81317         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81318         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81319         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81320         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81321         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
81322         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81323         * sysdeps/powerpc/sysdep.h: Likewise.
81324         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81325         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81327 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81329         [BZ #411]
81330         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81332 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81334         * sysdeps/i386/sysdep.h: Include <features.h>.
81335         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81336         version.
81338 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81340         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81341         Define.
81342         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81343         LOAD_PIC_REG_STR.
81345 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81347         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81348         (SETUP_PIC_REG): Use GET_PC_THUNK.
81349         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81350         macro.
81352 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81354         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81355         for non-PIC compilation.
81356         (SETUP_PIC_REG): Add .p2align directive.
81357         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81358         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81359         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81360         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81361         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81362         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81363         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81364         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81365         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81366         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81367         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81368         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81369         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81370         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81371         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81372         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81373         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81374         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81375         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81376         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81377         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81378         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81379         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81380         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81381         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81382         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81383         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81384         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81385         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81386         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81387         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81388         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81389         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81390         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81391         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81392         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81393         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81394         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81395         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81396         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81397         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81399 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81401         * math/tst-CMPLX.c: Include <stdio.h>.
81403 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81405         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81406         float.
81407         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81408         * sysdeps/sparc/bits/mathdef.h: Likewise.
81410 2012-01-31  Marek Polacek  <polacek@redhat.com>
81412         * libio/libio.h: Don't define _PARAMS.
81413         * locale/programs/config.h: Don't define PARAMS.
81414         * stdlib/strtol_l.c: Likewise.
81415         (__strtol_l): Remove PARAMS from the prototype.
81417 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81419         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81420         names.  Just use the correct names.  Remove unnecessary wrapper
81421         functions.
81422         * malloc/arena.c: Likewise.
81423         * malloc/hooks.c: Likewise.
81425         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81426         ARENA_TEST says not to.  Simplify test for creation of a new arena.
81427         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81429 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
81431         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81432         into tail calls.
81433         (update_get_addr): New function.
81434         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81435         GET_ADDR_MODULE parameter.
81437 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81439         * crypt/cert.c: Remove __STDC__ conditionals.
81440         * crypt/crypt-entry.c: Likewise.
81441         * crypt/crypt_util.c: Likewise.
81442         * libio/filedoalloc.c: Likewise.
81443         * libio/fileops.c: Likewise.
81444         * libio/genops.c: Likewise.
81445         * libio/iofclose.c: Likewise.
81446         * libio/iofdopen.c: Likewise.
81447         * libio/iofopen.c: Likewise.
81448         * libio/iofopen64.c: Likewise.
81449         * libio/iogetdelim.c: Likewise.
81450         * libio/iopopen.c: Likewise.
81451         * libio/obprintf.c: Likewise.
81452         * libio/oldfileops.c: Likewise.
81453         * libio/oldiofclose.c: Likewise.
81454         * libio/oldiofdopen.c: Likewise.
81455         * libio/oldiofopen.c: Likewise.
81456         * libio/oldiopopen.c: Likewise.
81457         * libio/wfiledoalloc.c: Likewise.
81458         * libio/wgenops.c: Likewise.
81459         * locale/programs/xmalloc.c: Likewise.
81460         * misc/syslog.c: Likewise.
81461         * stdio-common/xbug.c: Likewise.
81462         * string/memchr.c: Likewise.
81463         * string/memcmp.c: Likewise.
81464         * string/memrchr.c: Likewise.
81465         * string/rawmemchr.c: Likewise.
81466         * sysdeps/posix/getcwd.c: Likewise.
81467         * time/strftime_l.c: Likewise.
81469 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81471         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81472         * config.make.in (config-cflags-sse2avx): Define.
81473         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81474         Fix typo.
81476 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
81478         * scripts/config.guess: Update from upstream config git repository.
81479         * scripts/config.sub: Likewise.
81481 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
81483         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81484         (EM_NUM): Update.
81485         (R_TILEPRO_*, R_TILEGX_*): New macros.
81487         * scripts/firstversions.awk: Fix bug in version range handling.
81489         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81491         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81493         * include/sys/epoll.h: New file.
81494         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81495         libc_hidden_def.
81497 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
81499         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81500         Avoid unnecessary __WORDSIZE == 64 test.
81501         (fmaxf): Use VEX format if possible.
81502         (fmax): Likewise.
81503         (fminf): Likewise.
81504         (fmin): Likewise.
81506         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81507         * math/math_private.h: Remove libc_fegetround* and
81508         libc_fesetround*.
81509         * sysdeps/i386/configure.in: Check for -msse2avx.
81510         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81511         also if SSE2AVX is defined.
81512         Remove libc_fegetround* and libc_fesetround*.
81513         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81514         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
81515         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81516         of HAS_YMM_USABLE.
81517         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81518         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81519         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81520         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81521         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81523         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81525 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81527         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81528         size is not set.
81529         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81531 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81533         [BZ #13618]
81534         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81535         relocation.
81536         * Makeconfig (libm): Define.
81537         * elf/Makefile: Add rules to build and run tst-relsort1.
81538         * elf/tst-relsort1.c: New file.
81539         * elf/tst-relsort1mod1.c: New file.
81540         * elf/tst-relsort1mod2.c: New file.
81542 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81544         * math/s_ldexp.c: Remove __STDC__ conditionals.
81545         * math/s_ldexpf.c: Likewise.
81546         * math/s_ldexpl.c: Likewise.
81547         * math/s_nextafter.c: Likewise.
81548         * math/s_nexttowardf.c: Likewise.
81549         * math/s_significand.c: Likewise.
81550         * math/s_significandf.c: Likewise.
81551         * math/s_significandl.c: Likewise.
81552         * math/w_jnl.c: Likewise.
81553         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81554         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81555         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81556         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81557         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81558         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81559         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81560         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81561         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81562         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81563         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81564         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81565         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81566         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81567         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81568         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81569         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81570         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81571         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81572         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81573         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81574         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81575         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81576         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81577         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81578         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81579         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81580         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81581         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81582         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81583         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81584         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81585         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81586         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81587         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81588         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81589         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81590         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81591         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81592         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81593         * sysdeps/ieee754/k_standard.c: Likewise.
81594         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81595         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81596         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81597         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81598         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81599         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81600         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81601         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81602         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81603         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81604         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81605         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81606         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81607         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81608         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81609         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81610         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81611         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81612         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81613         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81614         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81615         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81616         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81617         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81618         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81619         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81620         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81621         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81622         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81623         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81624         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81625         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81626         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81627         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81628         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81629         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81630         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81631         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81632         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81633         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81634         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81635         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81636         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81637         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81638         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81639         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81640         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81641         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81642         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81643         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81644         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81645         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81646         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81647         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81648         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81649         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81650         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81651         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81652         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81653         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81654         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81655         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81656         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81657         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81658         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81659         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81660         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81661         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81662         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81663         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81664         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81665         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81666         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81667         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81668         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81669         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81670         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81671         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81672         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81673         * sysdeps/ieee754/s_matherr.c: Likewise.
81674         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81675         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81676         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81677         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81679 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81681         * crypt/md5.h: Remove __STDC__ conditionals.
81682         * libio/libioP.h: Likewise.
81683         * locale/programs/config.h: Likewise.
81684         * sysdeps/generic/sysdep.h: Likewise.
81685         * sysdeps/i386/asm-syntax.h: Likewise.
81686         * sysdeps/s390/asm-syntax.h: Likewise.
81687         * sysdeps/unix/sysdep.h: Likewise.
81688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81691 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81693         * libio/libio.h: Remove __STDC__ conditionals.
81694         * malloc/obstack.h: Likewise.
81695         * math/complex.h: Likewise.
81696         * math/math.h: Likewise.
81697         * sysdeps/generic/_G_config.h: Likewise.
81698         * sysdeps/gnu/_G_config.h: Likewise.
81699         * sysdeps/mach/hurd/_G_config.h: Likewise.
81700         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81701         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81702         * sysdeps/sparc/bits/mathdef.h: Likewise.
81704 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81706         [BZ #13583]
81707         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81708         Clean up HAS_* macros.
81709         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81710         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81711         possible.
81712         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81713         HAS_AVX.
81714         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81715         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81716         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81717         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81718         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81720 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81722         * elf/tst-unique3.cc (gets): Remove declaration.
81723         * elf/tst-unique3lib.cc (gets): Likewise.
81724         * elf/tst-unique3lib2.cc (gets): Likewise.
81725         * elf/tst-unique4.cc (gets): Likewise.
81727 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81729         * include/stdio.h: Add C++ protection.  Add gets declarations and
81730         definitions.
81731         * debug/tst-chk1.c: Don't declare gets here.
81732         * stdio-common/tst-gets.c: Likewise.
81734 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81736         * posix/glob: Remove directory.
81738 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81740         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81742 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81744         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81745         of the non-standard EPFNOSUPPORT.
81747 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81749         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81750         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81751         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81753 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81755         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81757 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81759         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81760         transient errors.
81761         * nscd/grpcache.c (cache_addgr): Likewise.
81762         * nscd/hstcache.c (cache_addhst): Likewise.
81763         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81764         * nscd/pwdcache.c (cache_addpw): Likewise.
81765         * nscd/servicescache.c (cache_addserv): Likewise.
81767 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81769         * malloc/malloc.c: Various cleanups.
81770         * malloc/hooks.c: Likewise.
81772         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81773         * stdlib/bug-fmtmsg1.c: New file.
81775         * stdlib/fmtmsg.c (init): Add missing unlock.
81776         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81778 2012-01-12  Marek Polacek  <polacek@redhat.com>
81780         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81781         and _GNU_SOURCE.
81783 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81785         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81786         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81787         macro to ensure uniqueness of label name.
81788         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81789         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81791 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81793         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81795         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81796         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81797         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81798         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81800 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81802         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81804         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81805         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81806         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81808         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81810         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81811         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81812         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81813         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81815         * math/bits/math-finite.h: Add ldexp support.
81817 2012-01-10  Marek Polacek  <polacek@redhat.com>
81819         * locale/programs/localedef.h (show_archive_content): Add noreturn
81820         attribute.
81822 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81824         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81826 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81828         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81830         * io/Makefile (headers): Add bits/poll2.h.
81832 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81835         typo #include statement.
81837 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81839         * include/sys/cdefs.h: Define __attribute_alloc_size.
81840         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81841         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81842         * elf/pldd.c: Likewise.
81843         * iconv/iconv_charmap.c: Likewise.
81844         * iconv/iconvconfig.c: Likewise.
81845         * iconv/strtab.c: Likewise.
81846         * locale/programs/locale.c: Likewise.
81847         * locale/programs/localedef.h: Likewise.
81848         * locale/programs/simple-hash.c: Likewise.
81849         * nscd/nscd.h: Likewise.
81850         * nss/makedb.c: Likewise.
81851         * sysdeps/generic/ldconfig.h: Likewise.
81852         * locale/programs/localedef.c: Remove xmalloc prototype.
81853         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81855 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81857         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81858         appropriate.
81860 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81862         * math/Makefile (tests): Add tst-CMPLX.
81863         * math/tst-CMPLX.c: New file.
81865         * math/complex.h (CMPLXL): Fix typo.
81867         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81868         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81869         GLIBC_2.16.
81870         * debug/tst-chk1.c: Add poll and ppoll tests.
81871         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81872         * include/sys/poll.h: Add hidden proto for ppoll.
81873         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81874         * sysdeps/mach/hurd/ppoll.c: Likewise.
81875         * io/ppoll.c: Likewise.
81876         * debug/poll_chk.c: New file.
81877         * debug/ppoll_chk.c: New file.
81878         * include/bits/poll2.h: New file.
81879         * io/bits/poll2.h: New file.
81881         [BZ #1350]
81882         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81884         * configure.in: static is always set to yes.  Remove.
81885         * config.make.in: Don't set build-static.
81886         * Makeconfig: Remove use of build-static.
81887         * dlfcn/Makefile: Likewise.
81888         * elf/Makefile: Likewise.
81889         * math/Makefile: Likewise.
81890         * misc/Makefile: Likewise.
81891         * nptl/Makefile: Likewise.
81892         * sysdeps/mach/hurd/Makefile: Likewise.
81894         * configure.in: PWD_P is not used anymore.
81895         * config.make.in: Remove PWD_P entry.
81897         * configure.in: Remove last remnants of RANLIB.
81898         No need to check for signed size_t anymore.
81899         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81900         and IA-64.
81901         Remove __builtin_expect test because we require at least gcc 3.4.
81902         * aclocal.m4: Likewise.
81904         * wcsmbs/mbrtoc16.c: Implement using towc function.
81905         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81906         * wcsmbs/wcsmbsload.c: Likewise.
81907         * iconv/gconv_simple.c: Likewise.
81908         * iconv/gconv_int.h: Likewise.
81909         * iconv/gconv_builtin.h: Likewise.
81910         * iconv/iconv_prog.c: Remove CHAR16 handling.
81912         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81914         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81916         * configure.in: Remove --with-elf and --enable-bounded options.
81917         Dont set base_machine for ia64.  More non-ELF conditions removed.
81918         Remove testing and setting of leading underscore information.
81919         * config.make.in (build-bounded): Set to no.
81920         * config.h.in: Remove NO_UNDERSCORES entry.
81921         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81922         them.
81923         * csu/start.c: Remove !NO_UNDERSCORE code.
81924         * locale/localeinfo.h: Likewise.
81925         * sysdeps/generic/machine-gmon.h: Likewise.
81926         * sysdeps/generic/sysdep.h: Likewise.
81927         * sysdeps/i386/sysdep.h: Likewise.
81928         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81929         * sysdeps/mach/sysdep.h: Likewise.
81930         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81931         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81932         * sysdeps/sh/sysdep.h: Likewise.
81933         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81934         * sysdeps/unix/i386/sysdep.S: Likewise.
81935         * sysdeps/unix/sparc/start.c: Likewise.
81936         * sysdeps/unix/sparc/sysdep.S: Likewise.
81937         * sysdeps/unix/sparc/sysdep.h: Likewise.
81938         * sysdeps/unix/start.c: Likewise.
81939         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81940         * sysdeps/x86_64/sysdep.h: Likewise.
81942 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81944         [BZ #13553]
81945         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81946         for non-gcc.
81947         * argp/argp-fmtstream.h: Use const instead __const.
81948         * argp/argp.h: Likewise.
81949         * assert/assert.h: Likewise.
81950         * bits/fenv.h: Likewise.
81951         * bits/sched.h: Likewise.
81952         * bits/sigset.h: Likewise.
81953         * bits/sigthread.h: Likewise.
81954         * catgets/nl_types.h: Likewise.
81955         * conform/data/pthread.h-data: Likewise.
81956         * crypt/crypt-private.h: Likewise.
81957         * crypt/crypt.h: Likewise.
81958         * crypt/crypt_util.c: Likewise.
81959         * ctype/ctype.h: Likewise.
81960         * debug/execinfo.h: Likewise.
81961         * debug/mbsnrtowcs_chk.c: Likewise.
81962         * debug/mbsrtowcs_chk.c: Likewise.
81963         * debug/wcsnrtombs_chk.c: Likewise.
81964         * debug/wcsrtombs_chk.c: Likewise.
81965         * debug/wcstombs_chk.c: Likewise.
81966         * dirent/dirent.h: Likewise.
81967         * dlfcn/dlfcn.h: Likewise.
81968         * elf/neededtest4.c: Likewise.
81969         * grp/grp.h: Likewise.
81970         * gshadow/gshadow.h: Likewise.
81971         * iconv/gconv.h: Likewise.
81972         * iconv/gconv_int.h: Likewise.
81973         * iconv/gconv_simple.c: Likewise.
81974         * iconv/iconv.h: Likewise.
81975         * iconv/loop.c: Likewise.
81976         * iconv/skeleton.c: Likewise.
81977         * include/aio.h: Likewise.
81978         * include/aliases.h: Likewise.
81979         * include/argz.h: Likewise.
81980         * include/arpa/inet.h: Likewise.
81981         * include/assert.h: Likewise.
81982         * include/dirent.h: Likewise.
81983         * include/dlfcn.h: Likewise.
81984         * include/execinfo.h: Likewise.
81985         * include/fcntl.h: Likewise.
81986         * include/fenv.h: Likewise.
81987         * include/glob.h: Likewise.
81988         * include/grp.h: Likewise.
81989         * include/libintl.h: Likewise.
81990         * include/mntent.h: Likewise.
81991         * include/netdb.h: Likewise.
81992         * include/pwd.h: Likewise.
81993         * include/rpc/netdb.h: Likewise.
81994         * include/sched.h: Likewise.
81995         * include/search.h: Likewise.
81996         * include/shadow.h: Likewise.
81997         * include/signal.h: Likewise.
81998         * include/stdio.h: Likewise.
81999         * include/stdlib.h: Likewise.
82000         * include/string.h: Likewise.
82001         * include/sys/socket.h: Likewise.
82002         * include/sys/stat.h: Likewise.
82003         * include/sys/statfs.h: Likewise.
82004         * include/sys/statvfs.h: Likewise.
82005         * include/sys/syslog.h: Likewise.
82006         * include/sys/time.h: Likewise.
82007         * include/sys/uio.h: Likewise.
82008         * include/time.h: Likewise.
82009         * include/unistd.h: Likewise.
82010         * include/utmp.h: Likewise.
82011         * include/wchar.h: Likewise.
82012         * include/wctype.h: Likewise.
82013         * inet/aliases.h: Likewise.
82014         * inet/arpa/inet.h: Likewise.
82015         * inet/netinet/ether.h: Likewise.
82016         * inet/netinet/in.h: Likewise.
82017         * intl/libintl.h: Likewise.
82018         * io/bits/fcntl2.h: Likewise.
82019         * io/fcntl.h: Likewise.
82020         * io/ftw.h: Likewise.
82021         * io/sys/poll.h: Likewise.
82022         * io/sys/stat.h: Likewise.
82023         * io/sys/statfs.h: Likewise.
82024         * io/sys/statvfs.h: Likewise.
82025         * io/utime.h: Likewise.
82026         * libio/bits/stdio.h: Likewise.
82027         * libio/bits/stdio2.h: Likewise.
82028         * libio/libio.h: Likewise.
82029         * libio/libioP.h: Likewise.
82030         * libio/stdio.h: Likewise.
82031         * locale/lc-ctype.c: Likewise.
82032         * locale/locale.h: Likewise.
82033         * login/utmp.h: Likewise.
82034         * malloc/arena.c: Likewise.
82035         * malloc/malloc.c: Likewise.
82036         * malloc/malloc.h: Likewise.
82037         * malloc/mcheck.c: Likewise.
82038         * malloc/mtrace.c: Likewise.
82039         * math/bits/mathcalls.h: Likewise.
82040         * math/fenv.h: Likewise.
82041         * math/math_private.h: Likewise.
82042         * misc/bits/error.h: Likewise.
82043         * misc/bits/syslog.h: Likewise.
82044         * misc/err.h: Likewise.
82045         * misc/error.h: Likewise.
82046         * misc/fstab.h: Likewise.
82047         * misc/mntent.h: Likewise.
82048         * misc/regexp.h: Likewise.
82049         * misc/search.h: Likewise.
82050         * misc/sgtty.h: Likewise.
82051         * misc/sys/mman.h: Likewise.
82052         * misc/sys/syslog.h: Likewise.
82053         * misc/sys/uio.h: Likewise.
82054         * misc/sys/xattr.h: Likewise.
82055         * misc/ttyent.h: Likewise.
82056         * nis/rpcsvc/ypclnt.h: Likewise.
82057         * nss/nss.h: Likewise.
82058         * posix/bits/unistd.h: Likewise.
82059         * posix/fnmatch.h: Likewise.
82060         * posix/glob.h: Likewise.
82061         * posix/sched.h: Likewise.
82062         * posix/spawn.h: Likewise.
82063         * posix/sys/wait.h: Likewise.
82064         * posix/unistd.h: Likewise.
82065         * posix/wordexp.h: Likewise.
82066         * pwd/pwd.h: Likewise.
82067         * resolv/netdb.h: Likewise.
82068         * resource/sys/resource.h: Likewise.
82069         * rt/aio.h: Likewise.
82070         * rt/bits/mqueue2.h: Likewise.
82071         * rt/mqueue.h: Likewise.
82072         * shadow/shadow.h: Likewise.
82073         * signal/signal.h: Likewise.
82074         * socket/send.c: Likewise.
82075         * socket/sendto.c: Likewise.
82076         * socket/sys/socket.h: Likewise.
82077         * stdio-common/printf.h: Likewise.
82078         * stdlib/bits/stdlib.h: Likewise.
82079         * stdlib/fmtmsg.h: Likewise.
82080         * stdlib/monetary.h: Likewise.
82081         * stdlib/stdlib.h: Likewise.
82082         * stdlib/ucontext.h: Likewise.
82083         * streams/stropts.h: Likewise.
82084         * string/argz.h: Likewise.
82085         * string/bits/string2.h: Likewise.
82086         * string/string.h: Likewise.
82087         * string/strings.h: Likewise.
82088         * sunrpc/rpc/auth.h: Likewise.
82089         * sunrpc/rpc/auth_des.h: Likewise.
82090         * sunrpc/rpc/clnt.h: Likewise.
82091         * sunrpc/rpc/netdb.h: Likewise.
82092         * sunrpc/rpc/pmap_clnt.h: Likewise.
82093         * sunrpc/rpc/xdr.h: Likewise.
82094         * sysdeps/generic/inttypes.h: Likewise.
82095         * sysdeps/generic/net/if.h: Likewise.
82096         * sysdeps/generic/sys/swap.h: Likewise.
82097         * sysdeps/gnu/net/if.h: Likewise.
82098         * sysdeps/gnu/utmpx.h: Likewise.
82099         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82100         * sysdeps/i386/i486/bits/string.h: Likewise.
82101         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82102         * sysdeps/s390/bits/string.h: Likewise.
82103         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82104         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82105         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82106         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82107         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82108         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82109         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82110         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82111         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82112         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82113         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82114         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82115         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82116         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82117         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82118         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82119         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82120         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82121         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82122         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82123         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82124         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82125         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82126         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82127         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82128         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82129         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82130         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82131         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82132         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82133         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82134         * sysvipc/sys/ipc.h: Likewise.
82135         * sysvipc/sys/msg.h: Likewise.
82136         * sysvipc/sys/sem.h: Likewise.
82137         * sysvipc/sys/shm.h: Likewise.
82138         * termios/termios.h: Likewise.
82139         * time/sys/time.h: Likewise.
82140         * time/time.h: Likewise.
82141         * wcsmbs/bits/wchar2.h: Likewise.
82142         * wcsmbs/uchar.h: Likewise.
82143         * wcsmbs/wchar.h: Likewise.
82144         * wctype/wctype.h: Likewise.
82146         [BZ #13551]
82147         * Makeconfig: Remove all but ELF support including AIX support.
82148         * Makerules: Likewise.
82149         * config.h.in: Likewise.
82150         * config.make.in: Likewise.
82151         * configure: Likewise.
82152         * configure.in: Likewise.
82153         * csu/Makefile: Likewise.
82154         * csu/version.c: Likewise.
82155         * debug/Makefile: Likewise.
82156         * dlfcn/Makefile: Likewise.
82157         * elf/Makefile: Likewise.
82158         * extra-lib.mk: Likewise.
82159         * iconv/Makefile: Likewise.
82160         * include/libc-symbols.h: Likewise.
82161         * include/shlib-compat.h: Likewise.
82162         * resolv/Makefile: Likewise.
82163         * resolv/res_libc.c: Likewise.
82164         * rt/Makefile: Likewise.
82165         * sysdeps/i386/asm-syntax.h: Likewise.
82166         * sysdeps/i386/sysdep.h: Likewise.
82167         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82168         * sysdeps/mach/sysdep.h: Likewise.
82169         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82170         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82171         * sysdeps/s390/asm-syntax.h: Likewise.
82172         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82173         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82174         * sysdeps/sh/sysdep.h: Likewise.
82175         * sysdeps/unix/sparc/sysdep.h: Likewise.
82176         * sysdeps/wordsize-32/divdi3.c: Likewise.
82177         * sysdeps/x86_64/sysdep.h: Likewise.
82179         * argp/Versions: Remove _argp_unlock_xxx.
82181         [BZ #13559]
82182         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82183         * abilist/libBrokenLocale.abilist: Likewise.
82184         * abilist/libanl.abilist: Likewise.
82185         * abilist/libc.abilist: Likewise.
82186         * abilist/libcrypt.abilist: Likewise.
82187         * abilist/libdl.abilist: Likewise.
82188         * abilist/libm.abilist: Likewise.
82189         * abilist/libnsl.abilist: Likewise.
82190         * abilist/libpthread.abilist: Likewise.
82191         * abilist/libresolv.abilist: Likewise.
82192         * abilist/librt.abilist: Likewise.
82193         * abilist/libthread_db.abilist: Likewise.
82194         * abilist/libutil.abilist: Likewise.
82195         * abilist/libnss_db.abilist: New file.
82197         * scripts/abilist.awk: Add support for indirect functions.
82199         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82201         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82203         * shlib-versions: Remove entries for ports architectures.
82205         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82206         files in ports.
82207         * elf/stackguard-macros.h: Remove support for IA-64.
82208         * elf/tst-auditmod1.c: Likewise.
82209         * sysdeps/generic/ldsodefs.h: Likewise.
82211         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82212         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82213         configure files.
82215         [BZ #13552]
82216         * configure.in: Remove --enable-omitfp support.
82217         * FAQ.in: Adjust.
82218         * config.make.in: Likewise.
82219         * Makeconfig: Likewise.
82220         * manual/install.texi: Likewise.
82222         In case anyone cares, the IA-64 architecture could move to ports.
82223         * sysdeps/ia64/*: Removed.
82224         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82225         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82227         [BZ #13555]
82228         * configure.in: Remove entries for unsupported architectures.
82230         [BZ #13533]
82231         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82232         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82233         routines.
82234         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82235         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82236         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82237         fall back to using wcrtomb.
82238         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82239         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82240         renaming.
82241         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82242         * wcsmbs/tst-c16c32-1.c: New file.
82244         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82245         local variable.
82247         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82249         * elf/tst-unique3.cc: Add explicit declaration of gets.
82250         * elf/tst-unique3lib.cc: Likewise.
82251         * elf/tst-unique3lib2.cc: Likewise.
82252         * elf/tst-unique4.cc: Likewise.
82254         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82256 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82258         [BZ #13566]
82259         * assert/assert.h (static_assert): Don't define for C++.
82260         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82261         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82263 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82265         * iconv/loop.c (single loop): Fix assertion in storing of
82266         remaining bytes.
82268         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82270 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82272         * posix/getconf.c: Update copyright year.
82273         * nss/getent.c: Likewise.
82274         * nss/makedb.c: Likewise.
82275         * iconv/iconvconfig.c: Likewise.
82276         * iconv/iconv_prog.c: Likewise.
82277         * elf/ldconfig.c: Likewise.
82278         * elf/pldd.c: Likewise.
82279         * elf/sotruss.ksh: Likewise.
82280         * catgets/gencat.c: Likewise.
82281         * csu/version.c: Likewise.
82282         * elf/ldd.bash.in: Likewise.
82283         * elf/sprof.c (print_version): Likewise.
82284         * locale/programs/locale.c: Likewise.
82285         * locale/programs/localedef.c: Likewise.
82286         * login/programs/pt_chown.c: Likewise.
82287         * nscd/nscd.c (print_version): Likewise.
82288         * debug/xtrace.sh: Likewise.
82289         * malloc/memusage.sh: Likewise.
82290         * malloc/mtrace.pl: Likewise.
82291         * debug/catchsegv.sh: Likewise.
82293 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
82295         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82296         pure attribute.
82298 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
82300         [BZ #13533]
82301         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82302         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82303         transformations.
82304         * iconv/gconv_int.h: Likewise.
82305         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82306         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82307         from libc for GLIBC_2.16.
82308         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82309         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82310         * wcsmbs/uchar.h: Really define mbstate_t.
82311         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82312         * wcsmbs/c16rtomb.c: New file.
82313         * wcsmbs/mbrtoc16.c: New file.
82314         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82315         for C/POSIX locale.
82316         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82317         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82319         * wcsmbs/wchar.h: Add missing __restrict.
82321 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82323         [BZ #13532]
82324         * time/Makefile (routines): Add timespec_get.
82325         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82326         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
82327         timespec for ISO C11.
82328         * time/timespec_get.c: New file.
82329         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82330         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82332         [BZ #13531]
82333         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82334         * stdlib/stdlib.h: Declare aligned_alloc.
82335         * Versions.def: Add GLIBC_2.16 for libc.
82336         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82338         [BZ 13527]
82339         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82340         ISO C11.
82342         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82343         code.
82345         [BZ #13528]
82346         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82348         [BZ #13529]
82349         * assert/assert.h (static_assert): Define.
82351         * version.h: Update for 2.16 development version.
82353         [BZ #13526]
82354         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82355         _ISOC11_SOURCE.
82357         * version.h (RELEASE): Bump for 2.15 release.
82358         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82360         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82361         Patch by Marek Polacek <mpolacek@redhat.com>.
82363         * bits/byteswap.h: Protect long long constants with __extension__.
82364         * sysdeps/i386/bits/byteswap.h: Likewise.
82365         * sysdeps/ia64/bits/byteswap.h: Likewise.
82366         * sysdeps/s390/bits/byteswap.h: Likewise.
82367         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82369 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82371         [BZ #13540]
82372         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82373         destination buffer.
82374         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82376 2011-12-23  Marek Polacek  <polacek@redhat.com>
82378         * elf/dl-addr.c (determine_info): Add inline keyword.
82379         * elf/tst-auditmod4b.c (check_avx): Likewise.
82380         * elf/tst-auditmod6b.c (check_avx): Likewise.
82381         * elf/tst-auditmod6c.c (check_avx): Likewise.
82382         * elf/tst-auditmod7b.c (check_avx): Likewise.
82384 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82386         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82387         !__SSE_MATH__.
82389 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82391         [BZ #13540]
82392         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82393         processing for last bytes.
82395 2011-08-06  Bruno Haible  <bruno@clisp.org>
82397         [BZ #13061]
82398         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82399         U+0385, not to U+1FEE.
82401         [BZ #13062]
82402         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82403         entry for U+00A5 U+0301.
82405 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82407         [BZ #13166]
82408         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82409         buffer for the output is too small.
82411         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82412         optimization.
82414         [BZ #13185]
82415         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82416         SSE flags if possible.
82418 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82420         [BZ #13540]
82421         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82422         processing for last bytes.
82424 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
82426         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82427         (syscall-list-default-options, syscall-list-default-condition)
82428         (syscall-list-includes): Define.
82429         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82430         list of ABIs and options and #if conditions for each ABI.  Do not
82431         handle common syscalls between ABIs specially.
82432         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82433         Remove.
82434         (syscall-list-variants, syscall-list-32bit-options)
82435         (syscall-list-32bit-condition, syscall-list-64bit-options)
82436         (syscall-list-64bit-condition): Define.
82437         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82438         (syscall-list-variants, syscall-list-32bit-options)
82439         (syscall-list-32bit-condition, syscall-list-64bit-options)
82440         (syscall-list-64bit-condition): Define.
82441         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82442         Remove.
82443         (syscall-list-variants, syscall-list-32bit-options)
82444         (syscall-list-32bit-condition, syscall-list-64bit-options)
82445         (syscall-list-64bit-condition): Define.
82446         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82447         Remove.
82448         (syscall-list-variants, syscall-list-32bit-options)
82449         (syscall-list-32bit-condition, syscall-list-64bit-options)
82450         (syscall-list-64bit-condition): Define.
82452 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82454         * locale/iso-639.def: Add brx entry.
82456         [BZ #13328]
82457         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82458         Proposed by Mariusz_Cukr <marcukr@op.pl>.
82460         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82461         __feraiseexcept_renamed.
82463 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82465         [BZ #13538]
82466         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82467         EPOLLET with unsigned values.
82468         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82469         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82471         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82472         to large cancellation.
82473         * math/s_cacoshf.c: Likewise.
82474         * math/s_cacoshl.c: Likewise.
82476 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
82478         [BZ #13305]
82479         [BZ #12786]
82480         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82481         * math/s_cacoshf.c: Likewise.
82482         * math/s_cacoshl.c: Likewise.
82484 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82486         [BZ #13439]
82487         * iconv/gconv.h: Define __GCONV_SWAP.
82488         * iconvdata/unicode.c: The swap bit must be stored in __flags.
82489         * iconvdata/utf-16.c: Likewise.
82490         * iconvdata/utf-32.c: Likewise.
82492 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
82494         [BZ #13524]
82495         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82496         numerator after shifting it by one limb.
82498 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
82500         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82501         under [__USE_EXTERN_INLINES].
82503 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82505         [BZ #13446]
82506         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82508 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82510         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82511         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82512         optimized code.
82513         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82514         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82515         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82516         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82517         for strncasecmp/strncasecmp_l compilation.
82518         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82519         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82521 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82523         [BZ #13484]
82524         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82525         of __asm__.
82527 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82529         [BZ #13506]
82530         * time/tzfile.c (__tzfile_read): Check values from file header.
82532 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82534         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82535         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82536         * powerpc/powerpc32/dl-start.S: Likewise.
82537         * powerpc/powerpc32/elf/start.S: Likewise.
82538         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82539         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82540         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82541         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82542         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82543         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82544         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82545         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82546         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82547         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82548         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82549         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82550         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82551         * powerpc/powerpc32/memset.S: Likewise.
82552         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82553         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82554         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82555         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82556         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82557         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82558         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82559         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82560         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82561         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82562         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82563         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82564         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82566 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82568         * math/libm-test.inc: Added more nearbyint tests.
82569         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82570         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82571         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82572         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82574 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82576         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82577         FD_CLOEXEC.
82579 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82581         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82582         Add wcscpy-ssse3 wcscpy-c.
82583         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82584         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82585         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82586         * sysdeps/x86_64/wcschr.S: New file.
82587         * sysdeps/x86_64/wcsrchr.S: New file.
82588         * string/test-strcmp.c: Remove checking of wcscmp function for
82589         wrong alignments.
82590         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82591         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82592         wcsrchr-sse2 wcsrchr-c.
82593         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82594         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82595         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82596         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82597         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82598         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82599         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82600         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82601         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82602         * wcsmbc/wcschr.c (WCSCHR): New macro.
82604 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82606         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82607         * wcsmbs/test-wcsrchr.c: New file.
82608         * string/test-strrchr.c: Add wcsrchr support.
82609         (WIDE): New macro.
82610         * wcsmbs/test-wcscpy.c: New file.
82611         * string/test-strcpy.c: Add wcscpy support.
82612         (WIDE): New macro.
82614 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82616         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82617         the inner loop.
82619 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82621         [BZ #13472]
82622         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82624 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82626         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82627         Minor optimizations.
82629         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82630         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82631         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82633 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82635         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82636         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82637         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82638         for gcc to avoid warnings.
82639         * inet/Makefile (tests): Add tst-checks.
82640         * inet/tst-checks.c: New file.
82642         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82643         warning.
82645         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82646         __wmemcmp_sse2.
82648         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82649         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82651         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82653 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82655         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82656         problem.
82658         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82660 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82662         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82663         conditional on GCC version.
82664         (__arch_compare_and_exchange_val_8_acq)
82665         (__arch_compare_and_exchange_val_16_acq)
82666         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82667         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82668         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82670 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82672         * sysdeps/sh/backtrace.c: New file.
82674 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82676         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82677         parenthesis.
82679 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82681         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82682         falling back to utime.
82684 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82686         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82687         expectations for float.
82689 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82691         * locale/weight.h (findidx): Add parameter len.
82692         * locale/weightwc.h (findidx): Likewise.
82693         * posix/fnmatch_loop.c (FCT): Adjust caller.
82694         * posix/regcomp.c (build_equiv_class): Likewise.
82695         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82696         * posix/regexec.c (check_node_accept_bytes): Likewise.
82697         * string/strcoll_l.c (STRCOLL): Likewise.
82698         * string/strxfrm_l.c (STRXFRM): Likewise.
82700 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82702         * Makefile.in: Remove CVSOPT handling.
82703         * configure.in: Remove use of AC_REVISION.
82704         * iconvdata/Makefile (distribute): No need to filter out CVS.
82705         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82706         handling.
82708 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82710         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82711         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82712         [USE_AS_STRNCASECMP_L]: Likewise.
82713         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82714         NO_TLS_DIRECT_SEG_REFS.
82715         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82716         Fix argument offsets for non-PIC.
82717         [USE_AS_STRNCASECMP_L]: Likewise.
82718         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82719         NO_TLS_DIRECT_SEG_REFS.
82721 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82723         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82724         O_CLOEXEC.
82725         * locale/loadlocale.c (_nl_load_locale): Likewise.
82727 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82729         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82730         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82731         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82732         (SYSCALL_GETTIME): Set errno on error.
82734         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82735         count references to noai6ai_cached.
82737 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82739         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82741         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82742         FD_CLOEXEC for /proc/self/maps.
82744         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82745         FD_CLOEXEC for /proc/meminfo.
82747         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82748         gai.conf.
82750         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82751         FD_CLOEXEC for given file.
82753         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82755         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82756         FD_CLOEXEC for /etc/hosts.
82757         (_gethtent): Likewise.
82759         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82761         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82762         cancellation and set FD_CLOEXEC for /etc/netgroup.
82764         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82765         reading /etc/publickey.
82767         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82768         allow cancellation when reading /etc/group.
82770         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82771         cancellation.
82772         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82774         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82775         when using data file.
82777         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82779         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82780         (write_nis_obj): Use "c" and "e" in fopen.
82782         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82784         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82786         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82788         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82790         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82791         locale.alias.
82793         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82795         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82797         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82799         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82800         file parsing and set FD_CLOEXEC.
82802 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82804         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82806 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82808         * malloc/arena.c (arena_get2): Don't call reused_arena when
82809         _int_new_arena failed.
82811 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82813         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82814         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82815         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82816         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82817         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82818         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82819         to compile strcasecmp and strncasecmp.
82820         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82821         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82823         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82825 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82827         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82828         locale-defines.sym to gen-as-const-headers.
82829         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82830         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82831         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82832         to compile strcasecmp and strncasecmp.
82833         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82834         strcasecmp_l and strncasecmp_l.
82835         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82836         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82837         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82838         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82839         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82840         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82841         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82842         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82843         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82844         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82845         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82847 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82849         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82850         result of SYSDEP_GETTIME_CPU to retval.
82851         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82852         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82854         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82855         variable.
82857         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82858         mantissa words.
82859         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82861         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82862         from unused variable.
82864         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82865         DWARF definitions.
82866         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82867         for assembling.
82869         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82870         over namespaces.
82872         * sunrpc/rpc_prot.c (rejected): Fix case value.
82874         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82875         unsigned long long int to avoid warnings in shift.
82877         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82878         of use of trans.
82879         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82880         variable tmp.
82882         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82883         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82884         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82886         * nis/nis_table.c (nis_list): Use variable of correct type for
82887         result of __follow_path call.
82889 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82891         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82892         of math functions ceil, trunc, floor, round, and sqrt, when
82893         avaliable on the platform.
82894         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82895         name clash.
82896         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82897         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82898         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82900 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82902         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82903         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82905 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82907         * include/unistd.h: Fix __readlink return type.
82908         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82910 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82912         * stdlib/ucontext.h: Undo last change for makecontext.
82914 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82916         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82918         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82919         * setjmp/setjmp.h: Mark functions as non-leaf.
82920         * setjmp/bits/setjmp2.h: Likewise.
82921         * stdlib/ucontext.h: Likewise.
82923 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82925         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82926         (reused_arena): Don't check arena limit.
82927         (arena_get2): Atomically check arena limit.
82929 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82931         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82932         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82934         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82935         instructions.
82937 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82939         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82940         handler when locking.
82942         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82943         Fix size of allocated buffer.
82945 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82947         [BZ #10103]
82948         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82949         declarations for long double functions.
82950         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82952         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82954 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82956         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82957         installed.
82959         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82960         is disabled.
82962 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82964         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82966 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82968         * include/alloca.h (stackinfo_alloca_round): Define.
82969         (extend_alloca): Use it.
82970         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82971         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82972         here.
82974         * scripts/check-local-headers.sh: Ignore libaudit.h.
82976         * nscd/Makefile (extra-objs): Make recursively expanded.
82978 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82980         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82981         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82983         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82984         * posix/tst-rfc3484-2.c: Likewise.
82985         * posix/tst-rfc3484-3.c: Likewise.
82987         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82988         process_vm_writev.
82989         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82990         process_vm_writev.
82991         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82992         process_vm_writev from libc using GLIBC_2.15 version.
82994         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82996 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82998         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82999         stack usage.
83001 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
83003         [BZ #13367]
83004         * nss/getent.c (initgroups_keys): Show error message in case no group
83005         names are given.
83007         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
83008         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
83009         __bump_nl_timestamp.
83010         * nscd/connections (nscd_init): When host database is served open
83011         netlink socket and request notification about configuration changes.
83012         (main_loop_poll): Track netlink file descriptor and bump timestamp
83013         in case data becomes available.
83014         (main_loop_epoll): Likewise.
83015         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
83016         (database_pers_head): Add extra_data fileds.
83017         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
83018         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
83019         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
83020         Adjust caller.
83021         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
83022         in6ai data, call __free_in6ai.
83023         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
83024         Add -DHAVE_NETLINK.
83025         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
83026         interface information.  Reuse previous data if netlink timestamp
83027         is not changed.
83028         (__bump_nl_timestamp): New function.
83029         (__free_in6ai): New function.
83031 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
83033         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
83034         close_not_cancel_no_status here.
83035         (__check_pf): Reorganize code a bit to not call close twice if OOM.
83037 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83039         [BZ #13276]
83040         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
83041         return value.
83043         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
83044         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
83045         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
83047 2011-07-03  Andreas Jaeger  <aj@suse.de>
83049         [BZ #10709]
83050         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
83051         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
83052         * math/libm-test.inc (sin_test): Add test case.
83054 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83056         [BZ #13337]
83057         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83058         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83060         * elf/chroot_canon.c (chroot_canon): Cleanups.
83062         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83064         [BZ #13335]
83065         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83066         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83068         * string/test-strchr.c: Make usable for strchrnul testing.
83069         * string/test-strchrnul.c: New file.
83070         * string/Makefile (strop-tests): Add strchrnul.
83072         * po/it.po: Update from translation team.
83073         * po/es.po: Likewise.
83075 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83077         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83078         the three constants needed as parameters.  Drop the others.
83079         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83080         __m128i_strloadu_tolower.
83081         Create and initialize variable zero and use it in all the places
83082         where _mm_setzero_si128 was used.
83084         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83085         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83086         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83087         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83088         anymore.
83089         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83090         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83091         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83092         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83093         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83094         __mpranred, __mptan.
83095         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83096         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83097         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83098         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83099         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83100         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83101         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83102         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83103         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83105 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83107         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83108         redefine if SHARED.
83109         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83111         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83112         wide char related routines to wcsmbs subdir.
83114 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83116         [BZ #13344]
83117         * misc/sys/cdefs.h (__THROWNL): Define.
83118         * posix/unistd.h: Use __THREADNL instead of __THREAD
83119         for memory synchronization functions.
83121 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83123         [BZ #13349]
83124         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83125         doesn't exist.
83126         * manual/stdio.texi (Obstack Streams): Node removed.
83128 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83130         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83131         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83132         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83134         * math/math_private.h (math_force_eval): Allow non-addressable
83135         arguments.
83136         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83138 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83140         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83141         file is not needed.
83143         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83144         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83145         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83146         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83147         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83148         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83149         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83150         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83151         Add AVX variants.
83152         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83153         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83154         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83155         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83156         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83157         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83158         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83159         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83160         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83161         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83162         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83163         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83164         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83165         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83166         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83167         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83168         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83169         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83170         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83172         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83173         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83175         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83176         place.  Use VEX encoding when compiling for AVX.
83178 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83180         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83181         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83183         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83185 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83187         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83188         useless if() expression.
83189         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83190         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83191         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83192         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83193         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83194         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83195         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83196         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83197         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83198         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83199         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83200         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83201         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83202         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83203         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83204         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83205         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83206         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83207         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83209         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83211 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83213         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83214         condition.
83215         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83217 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83219         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83220         .text section.  Avoid duplicate constants.
83221         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83222         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83223         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83224         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83225         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83226         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83227         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83228         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83229         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83230         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83231         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83232         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83233         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83234         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83235         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83236         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83237         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83238         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83239         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83240         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83241         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83242         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83243         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83244         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83245         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83246         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83247         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83248         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83249         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83250         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83251         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83252         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83253         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83254         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83255         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83256         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83257         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83258         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83259         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83260         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83261         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83262         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83263         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83264         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83265         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83267 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83269         * sysdeps/x86_64/dla.h: Move to ...
83270         * sysdeps/x86_64/fpu/dla.h: ...here.
83271         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83272         situations.  Use __builtin_fma only for gcc 4.6 and up.
83274         * config.make.in: Add have-mfma4 entry.
83275         * configure.in: Substitute libc_cv_cc_fma4.
83276         * math/Makefile (dbl-only-routines): Add sincostab.
83277         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83278         Use __sincostab not sincos.
83279         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83280         name is a macro.
83281         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83282         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83283         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83284         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
83285         using __copysign.
83286         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
83287         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
83288         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83289         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83290         and __inv.
83291         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83292         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83293         __copysign.
83294         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
83295         define aliases when function name is a macro.
83296         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83297         sysdeps/ieee754/dbl-64/sincos.tbl.
83298         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83299         fma4-enabled routines.
83300         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83301         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83302         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83303         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83304         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83305         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83306         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83307         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83308         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83309         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83310         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83311         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83312         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83313         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83314         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83315         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83316         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83317         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83318         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83319         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83320         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83321         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
83322         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83323         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83324         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83325         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83326         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83327         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83328         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83329         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83331         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83332         rename.
83333         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83334         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83335         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83336         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83337         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83338         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83339         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83340         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83342 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83344         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83346 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83348         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83350         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83351         prediction.
83352         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83354         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83355         Remove unused variable magic_bits.
83356         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83358         * string/strnlen.c: Define and use STRNLEN macro.
83359         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83360         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83361         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83362         * wcsmbs/wcslen.c: Define and use WCSLEN.
83363         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83364         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83365         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83366         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83367         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83368         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83369         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83371 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83374         strnlen-sse2-no-bsf.
83375         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83376         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83377         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83378         Add strnlen support.
83379         (USE_AS_STRNLEN): New macro.
83380         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83381         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83382         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83383         * sysdeps/x86_64/wcslen.S: New file.
83385 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83387         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83388         XMM-moves are used for copying on small sizes.
83390 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83392         * wcsmbs/Makefile (strop-tests): Add wcschr.
83393         * wcsmbs/test-wcschr.c: New file.
83394         * string/test-strchr.c: Update.
83395         Add wcschr support.
83396         (WIDE): New macro.
83398 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83400         * wcsmbs/Makefile (strop-tests): Add wcslen.
83401         * wcsmbs/test-wcslen.c: New file.
83402         * string/test-strlen.c: Update.
83403         Add wcslen support.
83404         (WIDE): New macro.
83406 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83408         * po/it.po: Update from translation team.
83410 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83412         * sysdeps/x86_64/wcscmp.S: Update.
83413         Fix wrong comparison semantics.
83414         wcscmp shall use signed comparison not unsigned.
83415         Don't use substraction to avoid overflow bug.
83416         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83417         * wcsmbc/wcscmp.c: Likewise.
83418         * string/test-strcmp.c: Likewise.
83419         Add new tests to check cases with negative values.
83421 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83423         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83424         * sysdeps/x86_64/dla.h: ...here.  New file.
83425         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83426         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83427         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83428         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83429         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83430         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83431         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83432         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83433         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83435 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
83437         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83438         __ynl_finite aliases.
83440 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83444         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83445         define DLA_FMA.
83446         [DLA_FMA] (EMULV): Use DLA_FMA.
83447         [DLA_FMA] (MUL12): Use EMULV.
83448         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83449         that are not needed.
83450         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83451         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83452         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83453         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83454         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83455         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83456         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83458 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
83460         * math/s_nan.c: Undef __nan.
83461         * math/s_nanf.c: Undef __nanf.
83462         * math/s_nanl.c: Undef __nanl.
83463         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83464         "math_private.h".
83466 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83468         * math/s_catan.c: Add branch predictions.
83469         * math/s_catanf.c: Likewise.
83470         * math/s_catanh.c: Likewise.
83471         * math/s_catanhf.c: Likewise.
83472         * math/s_catanhl.c: Likewise.
83473         * math/s_catanl.c: Likewise.
83474         * math/s_cexp.c: Likewise.
83475         * math/s_cexpf.c: Likewise.
83476         * math/s_cexpl.c: Likewise.
83477         * math/s_clog.c: Likewise.
83478         * math/s_clog10.c: Likewise.
83479         * math/s_clog10f.c: Likewise.
83480         * math/s_clog10l.c: Likewise.
83481         * math/s_clogf.c: Likewise.
83482         * math/s_clogl.c: Likewise.
83483         * math/s_csqrt.c: Likewise.
83484         * math/s_csqrtf.c: Likewise.
83485         * math/s_csqrtl.c: Likewise.
83486         * math/s_ctanf.c: Likewise.
83487         * math/s_ctanh.c: Likewise.
83488         * math/s_ctanhf.c: Likewise.
83489         * math/s_ctanhl.c: Likewise.
83490         * math/s_ctanl.c: Likewise.
83492         * math/math_private.h: Define __nan, __nanf, __nanl.
83493         * math/s_cacosh.c: Include <math_private.h>.
83494         * math/s_cacoshl.c: Likewise.
83495         * math/s_casinh.c: Likewise.
83496         * math/s_casinhf.c: Likewise.
83497         * math/s_casinhl.c: Likewise.
83498         * math/s_ccos.c: Rely entire on ccosh.
83499         * math/s_ccosf.c: Rely entire on ccoshf.
83500         * math/s_ccosl.c: Rely entirely on ccoshl.
83501         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
83502         Remove tests for FE_INVALID.
83503         * math/s_ccoshf.c: Likewise.
83504         * math/s_ccoshl.c: Likewise.
83505         * math/s_csin.c: Likewise.
83506         * math/s_csinf.c: Likewise.
83507         * math/s_csinh.c Likewise.
83508         * math/s_csinhf.c: Likewise.
83509         * math/s_csinhl.c: Likewise.
83510         * math/s_csinl.c: Likewise.
83511         * math/s_ctan.c: Likewise.
83512         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83513         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83514         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83516 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83518         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83519         compilation problems.
83521         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83522         __builtin_expect.
83524 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83526         * sysdeps/i386/configure.in: Test for -mfma4 option.
83527         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83528         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83529         COMMON_CPUID_INDEX_80000001.
83530         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83531         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83532         use it if FMA3 is not supported.
83533         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83535         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83536         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83538 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83540         [BZ #12892]
83541         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83542         it would create a cycle with a link time dependency.
83544 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83546         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83547         instruction.
83548         * string/Makefile (strop-tests): Add rawmemchr.
83549         * string/test-rawmemchr.c: New file.
83551         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83552         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83553         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83554         when compiling str{,n}casecmp and when AVX is available.  Hook up
83555         new optimized code in initializers.
83557 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83559         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83560         __feraiseexcept instead of feraiseexcept.
83562 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83564         * math/math_private.h: Define defaults for libc_fetestexcept and
83565         libc_feupdateenv.
83566         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83567         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83568         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83569         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83570         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83571         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83572         libc_fetestexcept and libc_feupdateenv.
83574         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83575         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83576         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83577         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83578         libc_feholdexcept_setround.
83580         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83581         Add s_nearbyint-c and s_nearbyintf-c.
83582         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83583         nearbyintf inlines.
83584         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83585         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83586         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83587         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83589         * math/math_private.h: Define defaults for libc_fegetround,
83590         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83591         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83592         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83593         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83594         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83595         standard functions.
83596         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83597         Remove comments and hacks for old compiler versions.
83598         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83599         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83600         libc_feholdexceptl.
83602 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83604         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83605         (__feraiseexcept_renamed): Add __NTH.
83606         (feraiseexcept): Add __NTH.  Rename local variables to fix
83607         namespace violations.
83609 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83611         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83613         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83615         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83616         recently added interfaces.
83617         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83619         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83620         about macro parameter expansion.
83622         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83623         __NO_MATH_INLINES is defined.  Cleanups.
83625         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83626         and __floorf is target has SSE4.1.
83627         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83628         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83629         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83630         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83632         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83633         name.
83634         (floorf): Likewise.
83636         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83638 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83640         * misc/sys/cdefs.h: Fix last change.
83642         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83643         database lookup.
83645 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83647         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83649         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83650         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83651         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83652         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83653         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83654         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83655         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83656         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83657         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83658         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83659         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83660         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83661         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83662         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83663         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83664         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83665         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83666         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83667         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83668         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83669         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83670         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83672         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83673         ceil, ceilf, floor, floorf.
83675         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83676         Perform IRELATIVE relocations last.
83678         * elf/do-rel.h: Add another parameter nrelative, replacing the
83679         local variable with the same name.  Change name of the function
83680         to end in Rel or Rela (uppercase).
83681         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83682         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83683         elf_dynamic_do_##reloc function.
83685 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83687         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83688         is sufficient, at least on modern CPUs.
83690         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83692         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83693         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83695         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83696         __expl_finite.
83697         * math/bits/math-finite.h: Add entries for exp.
83698         * math/e_expl.c: Add __*_finite alias.
83699         * sysdeps/i386/fpu/e_exp.S: Likewise.
83700         * sysdeps/i386/fpu/e_expf.S: Likewise.
83701         * sysdeps/i386/fpu/e_expl.c: Likewise.
83702         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83703         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83704         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83705         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83706         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83707         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83708         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83710         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83711         is sufficient, at least on modern CPUs.
83713         * ctype/ctype-info.c (__ctype_init): Define.
83714         * include/ctype.h (__ctype_init): Declare.
83715         (__ctype_b_loc): The variable is always initialized.
83716         (__ctype_toupper_loc): Likewise.
83717         (__ctype_tolower_loc): Likewise.
83718         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83719         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83721 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83723         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83725         * configure.in: Also look in $cxxmachine/include for C++ system
83726         headers.
83728 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83730         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83731         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83732         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83733         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83734         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83735         (USE_AS_WMEMCMP): New macro.
83736         Fixing indents.
83737         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83738         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83739         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83740         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83741         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83742         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83743         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83744         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83745         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83746         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83747         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83748         (USE_AS_WMEMCMP): New macro.
83749         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83750         * sysdeps/string/test-memcmp.c: Update.
83751         Fix simple_wmemcmp.
83752         Add new tests.
83753         * wcsmbs/wmemcmp.c: Update.
83754         (WMEMCMP): New macro.
83755         Fix overflow bug.
83757 2011-10-12  Andreas Jaeger  <aj@suse.de>
83759         [BZ #13268]
83760         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83762 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83764         * libio/iofwide.c (do_length): Avoid warning.
83766         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83768 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83770         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83772         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83773         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83774         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83775         * sysdeps/i386/i686/fpu/e_log.S: New file.
83776         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83777         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83779         * ctype/ctype.h: Add support for inlined isXXX functions when
83780         compiling C++ code.
83782 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83784         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83786         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83788 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83790         [BZ #13291]
83791         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83793 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83795         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83796         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83797         feraiseexcept.
83799         * sysdeps/x86_64/memrchr.S: Check for zero size.
83801         * string/stratcliff.c: Add memrchr tests.
83803 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83805         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83806         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83807         rawmemchr-sse2 rawmemchr-sse2-bsf.
83808         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83809         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83810         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83811         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83812         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83813         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83814         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83815         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83816         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83817         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83818         * string/memrchr.c (MEMRCHR): New macro.
83820 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83822         Add integration with gcc's -ffinite-math-only and optimize wrapper
83823         functions in libm.
83824         * Versions.def: Define GLIBC_2.15 version for libm.
83825         * math/Makefile (headers): Add bits/math-finite.h.
83826         * math/bits/math-finite.h: New file.
83827         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83828         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83829         * math/e_acoshl.c: Add __*_finite alias.
83830         * math/e_acosl.c: Likewise.
83831         * math/e_asinl.c: Likewise.
83832         * math/e_atan2l.c: Likewise.
83833         * math/e_atanhl.c: Likewise.
83834         * math/e_coshl.c: Likewise.
83835         * math/e_exp10.c: Likewise.
83836         * math/e_exp10f.c: Likewise.
83837         * math/e_exp10l.c: Likewise.
83838         * math/e_exp2l.c: Likewise.
83839         * math/e_fmodl.c: Likewise.
83840         * math/e_gammal_r.c: Likewise.
83841         * math/e_hypotl.c: Likewise.
83842         * math/e_j0l.c: Likewise.
83843         * math/e_j1l.c: Likewise.
83844         * math/e_jnl.c: Likewise.
83845         * math/e_lgammal_r.c: Likewise.
83846         * math/e_log10l.c: Likewise.
83847         * math/e_log2l.c: Likewise.
83848         * math/e_logl.c: Likewise.
83849         * math/e_powl.c: Likewise.
83850         * math/e_sinhl.c: Likewise.
83851         * math/e_sqrtl.c: Likewise.
83852         * math/e_scalb.c: Completely rewritten and optimized.
83853         * math/e_scalbf.c: Likewise.
83854         * math/e_scalbl.c: Likewise.
83855         * math/w_acos.c: Likewise.
83856         * math/w_acosf.c: Likewise.
83857         * math/w_acosl.c: Likewise.
83858         * math/w_acosh.c: Likewise.
83859         * math/w_acoshf.c: Likewise.
83860         * math/w_acoshl.c: Likewise.
83861         * math/w_asin.c: Likewise.
83862         * math/w_asinf.c: Likewise.
83863         * math/w_asinl.c: Likewise.
83864         * math/w_atan2.c: Likewise.
83865         * math/w_atan2f.c: Likewise.
83866         * math/w_atan2l.c: Likewise.
83867         * math/w_atanh.c: Likewise.
83868         * math/w_atanhf.c: Likewise.
83869         * math/w_atanhl.c: Likewise.
83870         * math/w_exp10.c: Likewise.
83871         * math/w_exp10f.c: Likewise.
83872         * math/w_exp10l.c: Likewise.
83873         * math/w_fmod.c: Likewise.
83874         * math/w_fmodf.c: Likewise.
83875         * math/w_fmodl.c: Likewise.
83876         * math/w_j0.c: Likewise.
83877         * math/w_j0f.c: Likewise.
83878         * math/w_j0l.c: Likewise.
83879         * math/w_j1.c: Likewise.
83880         * math/w_j1f.c: Likewise.
83881         * math/w_j1l.c: Likewise.
83882         * math/w_jn.c: Likewise.
83883         * math/w_jnf.c: Likewise.
83884         * math/w_log.c: Likewise.
83885         * math/w_logf.c: Likewise.
83886         * math/w_logl.c: Likewise.
83887         * math/w_log10.c: Likewise.
83888         * math/w_log10f.c: Likewise.
83889         * math/w_log10l.c: Likewise.
83890         * math/w_log2.c: Likewise.
83891         * math/w_log2f.c: Likewise.
83892         * math/w_log2l.c: Likewise.
83893         * math/w_pow.c: Likewise.
83894         * math/w_powf.c: Likewise.
83895         * math/w_powl.c: Likewise.
83896         * math/w_remainder.c: Likewise.
83897         * math/w_remainderf.c: Likewise.
83898         * math/w_remainderl.c: Likewise.
83899         * math/w_scalb.c: Likewise.
83900         * math/w_scalbf.c: Likewise.
83901         * math/w_scalbl.c: Likewise.
83902         * math/w_sqrt.c: Likewise.
83903         * math/w_sqrtf.c: Likewise.
83904         * math/w_sqrtl.c: Likewise.
83905         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83906         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83907         used.
83908         * math/math_private.h: Declare __kernel_standard_f.
83909         * math/w_cosh.c: Remove cruft and optimize a bit.
83910         * math/w_coshf.c: Likewise.
83911         * math/w_coshl.c: Likewise.
83912         * math/w_exp2.c: Likewise.
83913         * math/w_exp2f.c: Likewise.
83914         * math/w_exp2l.c: Likewise.
83915         * math/w_hypot.c: Likewise.
83916         * math/w_hypotf.c: Likewise.
83917         * math/w_hypotl.c: Likewise.
83918         * math/w_lgamma.c: Likewise.
83919         * math/w_lgamma_r.c: Likewise.
83920         * math/w_lgammaf.c: Likewise.
83921         * math/w_lgammaf_r.c: Likewise.
83922         * math/w_lgammal.c: Likewise.
83923         * math/w_lgammal_r.c: Likewise.
83924         * math/w_sinh.c: Likewise.
83925         * math/w_sinhf.c: Likewise.
83926         * math/w_sinhl.c: Likewise.
83927         * math/w_tgamma.c: Likewise.
83928         * math/w_tgammaf.c: Likewise.
83929         * math/w_tgammal.c: Likewise.
83930         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83931         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83932         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83933         Minor optimizations.  Pretty printing.  Remove cruft.
83934         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83935         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83936         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83937         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83938         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83939         * sysdeps/i386/fpu/e_asin.S: Likewise.
83940         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83941         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83942         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83943         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83944         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83945         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83946         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83947         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83948         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83949         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83950         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83951         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83952         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83953         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83954         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83955         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83956         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83957         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83958         * sysdeps/i386/fpu/e_log.S: Likewise.
83959         * sysdeps/i386/fpu/e_log10.S: Likewise.
83960         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83961         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83962         * sysdeps/i386/fpu/e_log2.S: Likewise.
83963         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83964         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83965         * sysdeps/i386/fpu/e_logf.S: Likewise.
83966         * sysdeps/i386/fpu/e_logl.S: Likewise.
83967         * sysdeps/i386/fpu/e_pow.S: Likewise.
83968         * sysdeps/i386/fpu/e_powf.S: Likewise.
83969         * sysdeps/i386/fpu/e_powl.S: Likewise.
83970         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83971         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83972         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83973         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83974         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83975         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83976         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83977         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83978         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83979         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83980         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83981         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83982         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83983         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83984         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83985         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83986         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83987         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83988         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83989         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83990         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83991         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83992         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83993         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83994         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83995         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83996         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83997         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83998         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83999         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
84000         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
84001         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
84002         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
84003         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
84004         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
84005         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
84006         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
84007         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
84008         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
84009         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84010         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
84011         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84012         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
84013         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
84014         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
84015         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
84016         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
84017         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
84018         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
84019         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
84020         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
84021         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
84022         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
84023         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
84024         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
84025         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
84026         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
84027         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
84028         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
84029         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
84030         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
84031         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
84032         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84033         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
84034         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
84035         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
84036         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
84037         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
84038         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
84039         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
84040         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
84041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
84042         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
84043         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
84044         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
84045         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
84046         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
84047         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
84048         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
84049         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
84050         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
84051         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
84052         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
84053         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84054         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84055         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84056         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84057         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84058         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84059         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84060         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84061         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84062         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84063         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84064         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84065         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84066         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84067         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84068         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84069         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84070         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84071         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84072         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84073         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84074         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84075         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84076         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84077         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84078         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84079         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84080         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84081         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84082         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84083         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84084         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84085         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84086         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84087         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84088         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84089         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84090         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84091         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84092         (__isnanf): Likewise.
84093         (__isinf_ns): Likewise.
84094         (__isinf_nsf): Likewise.
84095         (__finite): Likewise.
84096         (__finitef): Likewise.
84097         (__ieee754_sqrt): Define as macro.
84098         (__ieee754_sqrtf): Define as macro.
84099         (__ieee754_sqrtl): Define as macro.
84100         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84101         inlined copy.
84102         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84103         __FINITE_MATH_ONLY__ consistent.
84104         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84106 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84108         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84109         of rawmemchr.
84111         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84113 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84115         * po/ja.po: Update from translation team.
84117 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84119         * locale/programs/locarchive.c (prepare_address_space): New function.
84120         (create_archive, enlarge_archive, open_archive): Use it.
84122         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84123         inside [SHARED], where it is used.
84125         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84127         * nss/getent.c (netgroup_keys): Remove unused variable.
84128         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84130 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84132         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84133         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84134         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84135         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84136         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84137         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84138         * math/Makefile (libm-calls): Add s_isinf_ns.
84139         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84140         * math/multc3.c: Likewise.
84141         * math/s_casin.c: Likewise.
84142         * math/s_casinf.c: Likewise.
84143         * math/s_casinl.c: Likewise.
84144         * math/s_ccos.c: Likewise.
84145         * math/s_ccosf.c: Likewise.
84146         * math/s_ccosl.c: Likewise.
84147         * math/s_ctan.c: Likewise.
84148         * math/s_ctanf.c: Likewise.
84149         * math/s_ctanh.c: Likewise.
84150         * math/s_ctanhf.c: Likewise.
84151         * math/s_ctanhl.c: Likewise.
84152         * math/s_ctanl.c: Likewise.
84153         * math/w_fmod.c: Likewise.
84154         * math/w_fmodf.c: Likewise.
84155         * math/w_fmodl.c: Likewise.
84156         * math/w_remainder.c: Likewise.
84157         * math/w_remainderf.c: Likewise.
84158         * math/w_remainderl.c: Likewise.
84159         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84160         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84161         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84162         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84163         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84164         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84165         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84166         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84168         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84169         of the number.
84170         * stdio-common/printf_fphex.c: Likewise.
84171         * stdio-common/printf_size.c: Likewise.
84173         * math/e_exp10.c: Include math_private.h using <...> not "...".
84174         * math/e_exp10f.c: Likewise.
84175         * math/e_exp10l.c: Likewise.
84176         * math/e_exp2l.c: Likewise.
84177         * math/e_j0l.c: Likewise.
84178         * math/e_j1l.c: Likewise.
84179         * math/e_jnl.c: Likewise.
84180         * math/e_lgammal_r.c: Likewise.
84181         * math/e_rem_pio2l.c: Likewise.
84182         * math/e_scalb.c: Likewise.
84183         * math/e_scalbf.c: Likewise.
84184         * math/e_scalbl.c: Likewise.
84185         * math/k_cosl.c: Likewise.
84186         * math/k_sinl.c: Likewise.
84187         * math/k_tanl.c: Likewise.
84188         * math/s_cacoshf.c: Likewise.
84189         * math/s_catan.c: Likewise.
84190         * math/s_catanf.c: Likewise.
84191         * math/s_catanh.c: Likewise.
84192         * math/s_catanhf.c: Likewise.
84193         * math/s_catanhl.c: Likewise.
84194         * math/s_catanl.c: Likewise.
84195         * math/s_ccosh.c: Likewise.
84196         * math/s_ccoshf.c: Likewise.
84197         * math/s_ccoshl.c: Likewise.
84198         * math/s_cexp.c: Likewise.
84199         * math/s_cexpf.c: Likewise.
84200         * math/s_cexpl.c: Likewise.
84201         * math/s_clog.c: Likewise.
84202         * math/s_clog10.c: Likewise.
84203         * math/s_clog10f.c: Likewise.
84204         * math/s_clog10l.c: Likewise.
84205         * math/s_clogf.c: Likewise.
84206         * math/s_clogl.c: Likewise.
84207         * math/s_csin.c: Likewise.
84208         * math/s_csinf.c: Likewise.
84209         * math/s_csinh.c: Likewise.
84210         * math/s_csinhf.c: Likewise.
84211         * math/s_csinhl.c: Likewise.
84212         * math/s_csinl.c: Likewise.
84213         * math/s_csqrt.c: Likewise.
84214         * math/s_csqrtf.c: Likewise.
84215         * math/s_csqrtl.c: Likewise.
84216         * math/s_ctan.c: Likewise.
84217         * math/s_ctanf.c: Likewise.
84218         * math/s_ctanh.c: Likewise.
84219         * math/s_ctanhf.c: Likewise.
84220         * math/s_ctanhl.c: Likewise.
84221         * math/s_ctanl.c: Likewise.
84222         * math/s_ldexp.c: Likewise.
84223         * math/s_ldexpf.c: Likewise.
84224         * math/s_ldexpl.c: Likewise.
84225         * math/s_significand.c: Likewise.
84226         * math/s_significandf.c: Likewise.
84227         * math/s_significandl.c: Likewise.
84228         * math/w_acos.c: Likewise.
84229         * math/w_acosf.c: Likewise.
84230         * math/w_acosh.c: Likewise.
84231         * math/w_acoshf.c: Likewise.
84232         * math/w_acoshl.c: Likewise.
84233         * math/w_acosl.c: Likewise.
84234         * math/w_asin.c: Likewise.
84235         * math/w_asinf.c: Likewise.
84236         * math/w_asinl.c: Likewise.
84237         * math/w_atan2.c: Likewise.
84238         * math/w_atan2f.c: Likewise.
84239         * math/w_atan2l.c: Likewise.
84240         * math/w_atanh.c: Likewise.
84241         * math/w_atanhf.c: Likewise.
84242         * math/w_atanhl.c: Likewise.
84243         * math/w_cosh.c: Likewise.
84244         * math/w_coshf.c: Likewise.
84245         * math/w_coshl.c: Likewise.
84246         * math/w_dremf.c: Likewise.
84247         * math/w_exp10.c: Likewise.
84248         * math/w_exp10f.c: Likewise.
84249         * math/w_exp10l.c: Likewise.
84250         * math/w_exp2.c: Likewise.
84251         * math/w_exp2f.c: Likewise.
84252         * math/w_fmod.c: Likewise.
84253         * math/w_fmodf.c: Likewise.
84254         * math/w_fmodl.c: Likewise.
84255         * math/w_hypot.c: Likewise.
84256         * math/w_hypotf.c: Likewise.
84257         * math/w_hypotl.c: Likewise.
84258         * math/w_j0.c: Likewise.
84259         * math/w_j0f.c: Likewise.
84260         * math/w_j0l.c: Likewise.
84261         * math/w_j1.c: Likewise.
84262         * math/w_j1f.c: Likewise.
84263         * math/w_j1l.c: Likewise.
84264         * math/w_jn.c: Likewise.
84265         * math/w_jnf.c: Likewise.
84266         * math/w_jnl.c: Likewise.
84267         * math/w_lgamma.c: Likewise.
84268         * math/w_lgamma_r.c: Likewise.
84269         * math/w_lgammaf.c: Likewise.
84270         * math/w_lgammaf_r.c: Likewise.
84271         * math/w_lgammal.c: Likewise.
84272         * math/w_lgammal_r.c: Likewise.
84273         * math/w_log.c: Likewise.
84274         * math/w_log10.c: Likewise.
84275         * math/w_log10f.c: Likewise.
84276         * math/w_log10l.c: Likewise.
84277         * math/w_log2.c: Likewise.
84278         * math/w_log2f.c: Likewise.
84279         * math/w_log2l.c: Likewise.
84280         * math/w_logf.c: Likewise.
84281         * math/w_logl.c: Likewise.
84282         * math/w_pow.c: Likewise.
84283         * math/w_powf.c: Likewise.
84284         * math/w_powl.c: Likewise.
84285         * math/w_remainder.c: Likewise.
84286         * math/w_remainderf.c: Likewise.
84287         * math/w_remainderl.c: Likewise.
84288         * math/w_scalb.c: Likewise.
84289         * math/w_scalbf.c: Likewise.
84290         * math/w_scalbl.c: Likewise.
84291         * math/w_sinh.c: Likewise.
84292         * math/w_sinhf.c: Likewise.
84293         * math/w_sinhl.c: Likewise.
84294         * math/w_sqrt.c: Likewise.
84295         * math/w_sqrtf.c: Likewise.
84296         * math/w_sqrtl.c: Likewise.
84297         * math/w_tgamma.c: Likewise.
84298         * math/w_tgammaf.c: Likewise.
84299         * math/w_tgammal.c: Likewise.
84301         * po/ja.po: Update from translation team.
84303 2011-09-29  Andreas Jaeger  <aj@suse.de>
84305         [BZ #13179]
84306         * sunrpc/netname.c (netname2host): Fix logic.
84308         [BZ #6779]
84309         [BZ #6783]
84310         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84311         correctly.
84312         * math/w_remainder.c (__remainder): Likewise.
84313         * math/w_remainderf.c (__remainderf): Likewise.
84314         * math/libm-test.inc (remainder_test): Add test cases.
84316 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84318         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
84319         sdiv_qrnnd.
84321 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84323         * string/test-memcmp.c: Avoid unncessary #defines.
84324         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84326 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84328         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84329         Use new sse2 version for core i3 - i7 as it's faster
84330         than sse42 version.
84331         (bit_Prefer_PMINUB_for_stringop): New.
84332         * sysdeps/x86_64/rawmemchr.S: Update.
84333         Replace with faster SSE2 version.
84334         * sysdeps/x86_64/memrchr.S: New file.
84335         * sysdeps/x86_64/memchr.S: Update.
84336         Replace with faster SSE2 version.
84338 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84340         * elf/dl-load.c (lose): Add cast to avoid warning.
84342 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84344         * po/ca.po: Update from translation team.
84346         * inet/getnetgrent_r.c: Hook up nscd.
84347         * nscd/Makefile (routines): Add nscd_netgroup.
84348         (nscd-modules): Add netgroupcache.
84349         (CFLAGS-netgroupcache.c): Define.
84350         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84351         (cache_search): Add const to second parameter.
84352         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84353         INNETGR.
84354         (dbs): Add netgrdb entry.
84355         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84356         (verify_persistent_db): Handle netgrdb.
84357         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84358         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84359         GETFDNETGR.
84360         (netgroup_response_header): Define.
84361         (innetgroup_response_header): Define.
84362         (datahead): Add netgroup_response_header and innetgroup_response_header
84363         elements.
84364         * nscd/nscd.conf: Add entries for netgroup cache.
84365         * nscd/nscd.h (dbtype): Add netgrdb.
84366         (_PATH_NSCD_NETGROUP_DB): Define.
84367         (netgroup_iov_disabled): Declare.
84368         (xmalloc, xcalloc, xrealloc): Move declarations here.
84369         (cache_search): Adjust prototype.
84370         Add netgroup-related prototypes.
84371         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84372         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84373         (__nscd_innetgr): Declare.
84374         * nscd/selinux.c (perms): Use access_vector_t as element type and
84375         add netgroup-related initializers.
84376         * nscd/netgroupcache.c: New file.
84377         * nscd/nscd_netgroup.c: New file.
84378         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84379         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84380         For four parameters use innetgr.
84381         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84382         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84383         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84384         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84386         * nscd/connections.c (register_traced_file): Don't register file
84387         for disabled databases.
84389 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84391         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84393         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84394         from tree and freeing node.
84396 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84398         * nss/nsswitch.c (__nss_database_lookup): Handle
84399         nss_parse_service_list out of memory case.
84401 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84403         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84404         out of memory case.
84406 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84408         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84409         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84410         pass it down.
84411         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84412         elf_machine_rela, elf_machine_lazy_rel.
84413         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84414         (ELF_DYNAMIC_DO_REL): Likewise.
84415         (ELF_DYNAMIC_DO_RELA): Likewise.
84416         (ELF_DYNAMIC_RELOCATE): Likewise.
84417         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84418         to ELF_DYNAMIC_DO_REL.
84419         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84420         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84421         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84422         elf_machine_rela.
84423         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84424         skip_ifunc, don't call ifunc function if non-zero.
84425         (elf_machine_rela): Likewise.
84426         (elf_machine_lazy_rel): Likewise.
84427         (elf_machine_lazy_rela): Likewise.
84428         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84429         (elf_machine_lazy_rel): Likewise.
84430         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84431         Likewise.
84432         (elf_machine_lazy_rel): Likewise.
84433         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84434         Likewise.
84435         (elf_machine_lazy_rel): Likewise.
84436         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84437         (elf_machine_lazy_rel): Likewise.
84438         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84439         (elf_machine_lazy_rel): Likewise.
84440         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84441         (elf_machine_lazy_rel): Likewise.
84442         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84443         (elf_machine_lazy_rel): Likewise.
84444         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84445         (elf_machine_lazy_rel): Likewise.
84446         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84447         (elf_machine_lazy_rel): Likewise.
84449 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
84451         * nss/nss_files/files-init.c (_nss_files_init): Use static
84452         initialization for all the *_traced_file variables.
84454 2011-09-28  Andreas Schwab  <schwab@redhat.com>
84456         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84458 2011-09-27  Roland McGrath  <roland@hack.frob.com>
84460         [BZ #13226]
84461         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84463 2011-09-27  Andreas Schwab  <schwab@redhat.com>
84465         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84466         Reread the line before reparsing it.
84468 2011-09-26  Andreas Schwab  <schwab@redhat.com>
84470         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84472 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
84473             Maxim Kuvyrkov  <maxim@codesourcery.com>
84474             Joseph Myers  <joseph@codesourcery.com>
84476         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84477         if needed for __stack_chk_guard.
84479 2011-09-19  Roland McGrath  <roland@hack.frob.com>
84481         * sysdeps/posix/spawni.c (script_execute): Always define it.
84482         It will be optimized away if unused.
84483         (maybe_script_execute): New function.
84484         (__spawni): Call it.
84486         * Makerules: Don't include tls.make.
84487         (config-tls): Always set to thread.
84488         * tls.make.c: File removed.
84490 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
84492         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84493         * config.make.in (CPPFLAGS-config): New substituted variable.
84495 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84497         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84499         [BZ #13192]
84500         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84501         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84503 2011-09-15  Roland McGrath  <roland@hack.frob.com>
84505         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84506         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84507         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84508         (CALL_FAIL): Likewise.
84509         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84510         (CALL_FAIL): Macro removed.
84511         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84513 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84515         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84516         for __FINITE_MATH_ONLY__ == 1.
84518 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84520         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84521         __ieee754_sqrt instead of sqrt.
84522         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84523         __ieee754_sqrtf instead of sqrtf.
84524         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84525         __floorf instead of floorf.
84526         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84527         __floorf, __truncf instead of floorf, truncf.
84529 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84531         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84533         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84534         __extern_always_inline.
84535         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84536         32-bit.
84538 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84540         * elf/rtld.c (dl_main): Also relocate in dependency order when
84541         doing symbol dependency testing.
84543 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84545         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84546         Always define `refsym'.
84548 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84550         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84551         (__FD_ELT): Renamed from __FDELT.
84552         * misc/bits/select2.h (__FD_ELT): Likewise.
84553         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84554         __FD_MASK instead of __FDELT, __FDMASK.
84555         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84556         Likewise.
84557         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84558         Likewise.
84560         * elf/Makefile (gen-ldd): Fix pattern.
84562         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84563         (init_tls): Likewise.
84565 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84567         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84569 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84571         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84572         `struct cmsghdr *' instead of `void *'.
84573         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84574         Likewise.
84576 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84578         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84579         if non-absolute.
84580         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84581         ldd_rewrite_script.
84583 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84585         * configure.in: Remove --with-tls option.
84586         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84587         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84588         out in case it is missing.
84589         * sysdeps/ia64/elf/configure.in: Likewise.
84590         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84591         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84592         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84593         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84594         * sysdeps/sh/elf/configure.in: Likewise.
84595         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84596         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84597         * sysdeps/x86_64/elf/configure.in: Likewise.
84598         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84599         * sysdeps/mach/hurd/tls.h: Likewise.
84601         [BZ #13067]
84602         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84604         [BZ #13090]
84605         * configure.in: Fix use of AC_INIT.
84607         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84609 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84611         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84612         __set_errno.
84613         * malloc/hooks.c: Likewise.
84615         [BZ #11929]
84616         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84617         variables statically.
84618         (narenas): Initialize.
84619         (list_lock): Initialize.
84620         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84621         initializtion of main_arena and list_lock.  Small cleanups.
84622         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84623         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84624         Add initializers to main_arena and mp_.
84625         (malloc_state): Remove pagesize member.  Change all users to use
84626         GLRO(dl_pagesize).
84628         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84629         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84630         is always initialized.
84632         * malloc/malloc.c: Removed unused configurations and dead code.
84633         * malloc/arena.c: Likewise.
84634         * malloc/hooks.c: Likewise.
84635         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84637         * include/tls.h: Removed.  USE___THREAD must always be defined.
84638         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84639         * elf/dl-libc.c: Likewise.
84640         * elf/dl-tsd.c: Likewise.
84641         * include/errno.h: Likewise.
84642         * include/netdb.h: Likewise.
84643         * include/resolv.h: Likewise.
84644         * inet/herrno-loc.c: Likewise.
84645         * inet/herrno.c: Likewise.
84646         * malloc/arena.c: Likewise.
84647         * malloc/hooks.c: Likewise.
84648         * malloc/malloc.c: Likewise.
84649         * resolv/res-state.c: Likewise.
84650         * resolv/res_libc.c: Likewise.
84651         * sysdeps/i386/dl-machine.h: Likewise.
84652         * sysdeps/ia64/dl-machine.h: Likewise.
84653         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84654         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84655         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84656         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84657         * sysdeps/sh/dl-machine.h: Likewise.
84658         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84659         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84660         * sysdeps/unix/i386/sysdep.S: Likewise.
84661         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84662         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84663         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84664         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84665         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84666         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84667         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84668         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84669         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84670         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84671         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84672         * sysdeps/x86_64/dl-machine.h: Likewise.
84673         * tls.make.c: Likewise.
84675         * configure.in: Remove --with-__thread option.  Make tests for
84676         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84677         tls_model attribute fail if no support is available.  Remove
84678         USE_IN_LIBIO.
84679         * Makeconfig: Adjust for dropped configure option.  All features are
84680         now mandatory.
84681         * Makerules: Likewise.
84682         * Versions.def: Likewise.
84683         * argp/argp-fmtstream.c: Likewise.
84684         * argp/argp-fmtstream.h: Likewise.
84685         * argp/argp-help.c: Likewise.
84686         * assert/assert.c: Likewise.
84687         * config.h.in: Likewise.
84688         * config.make.in: Likewise.
84689         * configure: Likewise.
84690         * configure.in: Likewise.
84691         * csu/Versions: Likewise.
84692         * csu/init.c: Likewise.
84693         * elf/tst-audit2.c: Likewise.
84694         * elf/tst-tls10.c: Likewise.
84695         * elf/tst-tls10.h: Likewise.
84696         * elf/tst-tls11.c: Likewise.
84697         * elf/tst-tls12.c: Likewise.
84698         * elf/tst-tls14.c: Likewise.
84699         * elf/tst-tlsmod11.c: Likewise.
84700         * elf/tst-tlsmod12.c: Likewise.
84701         * elf/tst-tlsmod13.c: Likewise.
84702         * elf/tst-tlsmod13a.c: Likewise.
84703         * elf/tst-tlsmod14a.c: Likewise.
84704         * elf/tst-tlsmod15b.c: Likewise.
84705         * elf/tst-tlsmod16a.c: Likewise.
84706         * elf/tst-tlsmod16b.c: Likewise.
84707         * elf/tst-tlsmod7.c: Likewise.
84708         * elf/tst-tlsmod8.c: Likewise.
84709         * elf/tst-tlsmod9.c: Likewise.
84710         * gmon/gmon.c: Likewise.
84711         * grp/fgetgrent_r.c: Likewise.
84712         * grp/putgrent.c: Likewise.
84713         * hurd/fopenport.c: Likewise.
84714         * include/libc-symbols.h: Likewise.
84715         * include/tls.h: Likewise.
84716         * intl/gettextP.h: Likewise.
84717         * intl/loadinfo.h: Likewise.
84718         * locale/global-locale.c: Likewise.
84719         * locale/localeinfo.h: Likewise.
84720         * mach/devstream.c: Likewise.
84721         * malloc/arena.c: Likewise.
84722         * malloc/set-freeres.c: Likewise.
84723         * misc/err.c: Likewise.
84724         * misc/getttyent.c: Likewise.
84725         * misc/mntent_r.c: Likewise.
84726         * posix/getopt.c: Likewise.
84727         * posix/wordexp.c: Likewise.
84728         * pwd/fgetpwent_r.c: Likewise.
84729         * resolv/Versions: Likewise.
84730         * resolv/res_hconf.c: Likewise.
84731         * shadow/fgetspent_r.c: Likewise.
84732         * shadow/putspent.c: Likewise.
84733         * stdio-common/printf_fphex.c: Likewise.
84734         * stdio-common/tmpfile.c: Likewise.
84735         * stdlib/abort.c: Likewise.
84736         * stdlib/fmtmsg.c: Likewise.
84737         * sunrpc/auth_unix.c: Likewise.
84738         * sunrpc/clnt_perr.c: Likewise.
84739         * sunrpc/clnt_tcp.c: Likewise.
84740         * sunrpc/clnt_udp.c: Likewise.
84741         * sunrpc/clnt_unix.c: Likewise.
84742         * sunrpc/openchild.c: Likewise.
84743         * sunrpc/svc_simple.c: Likewise.
84744         * sunrpc/svc_tcp.c: Likewise.
84745         * sunrpc/svc_udp.c: Likewise.
84746         * sunrpc/svc_unix.c: Likewise.
84747         * sunrpc/xdr.c: Likewise.
84748         * sunrpc/xdr_array.c: Likewise.
84749         * sunrpc/xdr_rec.c: Likewise.
84750         * sunrpc/xdr_ref.c: Likewise.
84751         * sunrpc/xdr_stdio.c: Likewise.
84753 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84755         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84757 2011-07-03  Andreas Jaeger  <aj@suse.de>
84759         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84760         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84761         regenerate with gen-libm-tests.pl.
84763 2010-05-12  Petr Baudis  <pasky@suse.cz>
84765         [BZ #11589]
84766         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84767         around j0() zero points by switching to j1().
84768         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84769         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84770         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84771         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84773 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84775         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84776         instead of 0.
84777         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84778         instead of 0.
84779         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84780         Patch in part by Pavel Roskin <proski@gnu.org>.
84782         [BZ #13138]
84783         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84784         realloc.
84785         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84786         Free memory block if necessary.
84788         [BZ #12847]
84789         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84790         be NULL.  Don't lock in this case.
84792 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84794         * elf/elf.h (ELFOSABI_GNU): New macro.
84795         (ELFOSABI_LINUX): Define to that.
84797 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84799         * string/strncat.c (strncat): Undef the symbol in case it has been
84800         defined in bits/string.h.
84802 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84804         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84806         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84807         link map.
84809 2011-08-17  Andreas Jaeger  <aj@suse.de>
84811         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84813 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84814             Ian Lance Taylor  <iant@google.com>
84816         * math/libm-test.inc (lround_test): New testcase.
84817         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84819 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84821         * Makefile: Remove support for automatic cvs check-ins.
84822         * Makerules: Likewise.
84823         * config.make.in: Likewise.
84824         * configure.in: Likewise.
84825         * intl/Makefile: Likewise.
84826         * locale/Makefile: Likewise.
84827         * po/Makefile: Likewise.
84828         * posix/Makefile: Likewise.
84829         * sysdeps/gnu/Makefile: Likewise.
84830         * sysdeps/mach/hurd/Makefile: Likewise.
84831         * sysdeps/sparc/sparc32/Makefile: Likewise.
84833         [BZ #13118]
84834         * posix/Makefile (bug-regex32-ENV): Define.
84835         Patch by John Stanley <jpsinthemix@verizon.net>.
84837         * misc/Makefile (headers): Add bits/select2.h.
84838         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84839         * misc/bits/select2.h: New file.
84840         * include/bits/select2.h: New file.
84841         * debug/Makefile (routines): Add fdelt_chk.
84842         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84843         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84844         FD_ISSET.
84845         * debug/fdelt_chk.c: New file.
84847         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84848         * wcsmbs/test-wmemcmp.c: Likewise.
84849         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84850         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84852 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84854         * string/Makefile (strop-tests): Add memcmp.
84855         * string/test-wmemcmp.c: New file.
84856         * string/test-memcmp.c: Add wmemcmp support.
84858 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84860         [BZ #13153]
84861         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84862         2011-07-19 change.
84864         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84865         garbage value in a __mach_port_mod_refs call in the cases of the
84866         task-self and thread-self ports.
84868 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84870         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84872 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84874         * elf/dl-load.c (lose): Check for non-null L.
84876 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84878         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84880         * elf/dl-libc.c (dlerror_run): Pass back error code from
84881         dl_catch_error.
84883         [BZ #13123]
84884         * elf/dl-load.c (lose): Free l_origin if it is valid.
84886         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84887         names.
84888         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84889         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84890         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84891         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84892         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84893         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84895 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84897         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84898         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84899         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84900         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84901         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84902         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84903         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84904         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84905         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84906         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84908 2011-08-15  Alan Modra  <amodra@gmail.com>
84910         [BZ #13092]
84911         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84912         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84913         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84914         ppc_mcount to static-only-routines.
84915         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84916         __mcount_internal.
84917         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84918         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84920 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84922         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84923         for finite and infinity parameters.
84925 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84927         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84928         and add nop instructions for throughput optimization.
84929         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84931 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84933         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84934         aligned copy for power7 with vector-scalar instructions.
84935         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84937 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84939         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84940         AVX check.
84942 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84944         [BZ #13144]
84945         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84946         last change.
84948 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84950         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84951         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84952         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84953         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84954         clock_gettime.
84956 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84958         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84959         Forgot to demangle the pointer.
84961         * sysdeps/i386/sysdep.h: Define atom_text_section.
84962         * sysdeps/x86_64/sysdep.h: Likewise.
84963         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84964         section with atom_text_section.
84965         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84966         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84967         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84968         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84969         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84971         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84972         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84973         already be defined.  Change to take two parameters and don't assign
84974         result to variable.  Adjust all users.
84975         Define INTERNAL_GETTIME if not already defined.
84976         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84977         call.
84978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84979         HAVE_CLOCK_GETTIME_VSYSCALL.
84980         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84982         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84983         gettimeofday vsyscall, just use time.
84985 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84987         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84988         <errno.h>.
84990 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84992         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84993         syscall on x86-64.
84994         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84995         syscall.
84996         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84997         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84998         syscall if possible.
85000 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85002         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
85003         e_ident.  Don't pass to find_mapsXX.
85004         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
85006 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85009         strchr-sse2-no-bsf strrchr-sse2-no-bsf
85010         * sysdeps/x86_64/multiarch/strchr.S: Update.
85011         Check bit_slow_BSF bit.
85012         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
85013         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
85014         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
85016 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85018         [BZ #13134]
85019         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
85020         before glibc 2.15.
85021         (tryshell): Define.
85022         (__spawni): Change last parameter to be flag.  Test
85023         SPAWN_XFLAGS_USE_PATH flag to use path or not.
85024         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
85025         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
85026         * posix/spawni.c: Likewise.
85027         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
85028         * posix/spawnp.c: Likewise.  Change normal version to use
85029         SPAWN_XFLAGS_USE_PATH.
85030         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
85031         SPAWN_XFLAGS_TRY_SHELL.
85033         [BZ #13150]
85034         * posix/glob.h: Remove gcc 1.x support.
85036         [BZ #13068]
85037         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
85039 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85041         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85042         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
85043         strrchr-sse2-bsf
85044         * sysdeps/i386/i686/multiarch/strchr.S: New file.
85045         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
85046         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
85047         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
85048         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
85049         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
85051 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85053         * sysdeps/x86_64/wcscmp.S: New file.
85055         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85056         wcscmp-c wcscmp-sse2
85057         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85058         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85059         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85060         * wcsmbs/wcscmp.c: Allow renaming.
85062 2011-09-05  David S. Miller  <davem@davemloft.net>
85064         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85065         stack slot, rather than the struct return pointer slot.
85066         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85067         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85069         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85071 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85073         * po/ja.po: Update from translation team.
85075         [BZ #13144]
85076         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85077         kernel in 64-bit binaries.
85079 2011-09-01  David S. Miller  <davem@davemloft.net>
85081         * elf/elf.h (HWCAP_SPARC_*): Move to..
85082         * sysdeps/sparc/sysdep.h: this new file and add new values.
85083         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85084         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85085         _DL_HWCAP_COUNT to 24.
85086         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85087         entries.
85088         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85089         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85090         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85091         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85092         instead of magic constants.
85093         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85095 2011-08-31  David S. Miller  <davem@davemloft.net>
85097         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85098         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85099         Reimplement to do errno handling inline.
85100         (SYSCALL_ERROR_HANDLER): New macro.
85101         (__SYSCALL_STRING): Do not do errno handling in asm.
85102         (__CLONE_SYSCALL_STRING): Delete.
85103         (__INTERNAL_SYSCALL_STRING): Delete.
85104         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85105         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85106         (PSEUDO): Reimplement to do errno handling inline.
85107         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85108         (SYSCALL_ERROR_HANDLER): New macro.
85109         (__SYSCALL_STRING): Do not do errno handling in asm.
85110         (__CLONE_SYSCALL_STRING): Delete.
85111         (__INTERNAL_SYSCALL_STRING): Delete.
85112         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85113         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85114         i386.
85115         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85116         (inline_syscall*): Add 'err' argument.
85117         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85118         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85119         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85120         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85122         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85123         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85125 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85127         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85129 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85131         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85132         directive.
85134 2011-08-24  David S. Miller  <davem@davemloft.net>
85136         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85138 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85140         * elf/Makefile: Add rules to build and run unload8 test.
85141         * elf/unload8.c: New file.
85142         * elf/unload8mod1.c: New file.
85143         * elf/unload8mod1x.c: New file.
85144         * elf/unload8mod2.c: New file.
85145         * elf/unload8mod3.c: New file.
85147         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85148         it wasn't used.
85150 2011-08-23  David S. Miller  <davem@davemloft.net>
85152         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85153         subtract stack bias.
85154         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85155         %sp not %fp in calculations.
85156         (_JMPBUF_UNWINDS_ADJ): Likewise.
85158         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85159         (aio_suspend): Call it to force an exception region around the
85160         AIO_MISC_WAIT() invocation.
85162 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85164         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85165         backslash.
85167 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85169         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85170         protection macro.
85171         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85172         and <dl-machine.h>.
85173         (Elf64_FuncDesc): Remove.
85175 2011-08-22  David S. Miller  <davem@davemloft.net>
85177         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85178         sigaltstack check, add missing cfi directives.
85179         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85180         missing cfi directives, and sigaltstack handling.
85182 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85184         [BZ #11724]
85185         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85186         object is seen twice.
85187         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85189         * elf/Makefile (distribute): Add tst-initorder2.c.
85190         (tests): Add tst-initorder2.
85191         (modules-names): Add tst-initorder2a tst-initorder2b
85192         tst-initorder2c tst-initorder2d.  Add rules to build them.
85193         ($(objpfx)tst-initorder2.out): New rule.
85194         * elf/tst-initorder2.c: New file.
85195         * elf/tst-initorder2.exp: New file.
85197 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85199         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85201         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85202         dependencies back to end of function.
85204         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85205         $(elfobjdir)/ld.so.
85207 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85209         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85210         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85211         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85212         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85213         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85214         of __vdso_gettimeofday.
85215         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85216         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85217         attribute_hidden.
85218         (_libc_vdso_platform_setup): Remove initialization of
85219         __vdso_gettimeofday and __vdso_time.
85221 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85223         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85224         and fgetc_unlocked.
85225         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85226         getc_unlocked.
85228         * elf/dl-open.c (add_to_global): Report additions to the global scope
85229         for LD_DEBUG=scopes.
85230         (dl_open_worker): Also print scope of newly loaded dependencies.
85231         (_dl_show_scope): Indicate if there is no scope.
85233         [BZ #13114]
85234         * stdio-common/Makefile (tests): Add bug24.
85235         * stdio-common/bug24.c: New file.
85237 2011-08-19  Andreas Jaeger  <aj@suse.de>
85239         [BZ #13114]
85240         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85241         non-existant file when using close-on-exec mode.
85243 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85245         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85246         the very first instruction.
85248         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85249         the CFI state in the end.
85250         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85251         inclusion of dl-trampoline.h.
85252         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85254 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85256         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85257         expectations for long double.
85259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85260         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85262 2011-08-14  David S. Miller  <davem@davemloft.net>
85264         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85265         artificual limit depends upon the system page size.
85267 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85269         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85270         * resolv/Makefile: Define CFLAGS-libresolv.
85272 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85274         * nss/makedb.c (compute_tables): Make variables used in nested
85275         function static.
85277 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85279         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85280         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85281         if buffer was too small.
85283         * elf/pldd.c (main): Attach to all threads in the process.
85284         Rewrite /proc handling to use *at functions.
85286 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
85288         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85289         specifies first scope to show.
85290         (dl_open_worker): Update callers.  Move printing scope of new
85291         object to before the relocation.
85292         * elf/rtld.c (dl_main): Update _dl_show_scope call.
85293         * sysdeps/generic/ldsodefs.h: Update declaration.
85295         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85296         string for the scope number.
85298 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
85300         * nscd/servicescache.c (cache_addserv): Make sure written is always
85301         initialized.
85303 2011-08-14  Roland McGrath  <roland@hack.frob.com>
85305         * sysdeps/i386/i486/bits/atomic.h
85306         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85307         statement expression, so as to suppress "set but not used" warning.
85308         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85310         * string/strncat.c (STRNCAT): Use prototype definition.
85312         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85313         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85314         -Iprograms here.
85315         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85316         (localedef-modules): Add localedef.
85317         (locale-modules): Add locale.
85319         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85320         * elf/rtld.c (dl_main): Invert order of assignment in last change,
85321         to avoid a warning.
85323 2011-08-14  David S. Miller  <davem@davemloft.net>
85325         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85326         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85328 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
85330         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85331         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85332         * elf/rtld.c (dl_main): Set l_name of vDSO.
85333         Call _dl_show_scope when DL_DEBUG_SCOPES.
85334         (process_dl_debug): Recognize scopes flag and also set it for all.
85335         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85336         Declare _dl_show_scope.
85338         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85339         (do_dlopen): Pass caller_dlopen to dl_open.
85340         (__libc_dlopen_mode): Initialize caller_dlopen.
85342         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85343         of libc.  Make tolower call locale-independent.  Optimize a bit by
85344         using isdigit instead of isalnum.
85345         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85347 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85349         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85350         was a dependency or dynamically loaded.
85352 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85354         * intl/l10nflist.c: Allow architecture-specific pop function.
85355         * sysdeps/x86_64/l10nflist.c: New file.
85357         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85358         classification.
85360 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85362         * include/dirent.h: Add libc_hidden_proto for scandirat and
85363         scandirat64.  Don't declare __scandirat64.
85364         * dirent/scandirat.c: Add libc_hidden_def.
85365         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85366         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85368 2011-08-10  David S. Miller  <davem@davemloft.net>
85370         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85371         enum.
85372         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85373         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85374         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85376 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85378         * Versions.def [libc]: Add GLIBC_2.15.
85379         * dirent/Makefile (routines): Add scandirat and scandirat64.
85380         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85381         GLIBC_2.15.
85382         * dirent/dirent.h: Declare scandirat and scandirat64.
85383         * dirent/scandirat.c: New file.
85384         * dirent/scandirat64.c: New file.
85385         * sysdeps/wordsize-64/scandirat.c: New file.
85386         * sysdeps/wordsize-64/scandirat64.c: New file.
85387         * dirent/opendir.c: Define opendirat.
85388         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85389         using scandirat.
85390         * dirent/scandir64.c: Adjust for scandir.c change.
85391         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85392         __scandirat64, and __scandir_cancel_handler.
85393         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85394         additional parameter and use openat instead of open (outside of ld.so).
85395         Add new __opendir as wrapper around __opendirat.
85396         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85397         here without requiring old scandirat implementation.
85399 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85401         * dirent/scandir.c (cancel_handler): Renamed to
85402         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85403         defined.  Adjust users.
85404         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85405         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85407 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85409         * string/test-string.h (IMPL): Use __STRING to expand name and then
85410         stringify it.
85412         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85413         of cleanups.
85415 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85417         * string/Makefile: Update.
85418         (strop-tests): Append strncat.
85419         * string/test-wcscmp.c: New file.
85420         New comprehensive test for wcscmp.
85421         * string/test-strcmp.c: Update.
85422         (WIDE): New define.
85424 2011-07-22  Andreas Schwab  <schwab@redhat.com>
85426         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85427         line.
85429 2011-07-26  Andreas Schwab  <schwab@redhat.com>
85431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85432         encoding to ACE if AI_IDN.
85434 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
85436         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85437         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85439 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85441         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85442         Fix overflow bug in strncat.
85443         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85445         * string/test-strncat.c: Update.
85446         Add new tests for checking overflow bugs.
85448 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85450         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85451         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85452         * sysdeps/i386/i686/multiarch/strcat.S: New file.
85453         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85454         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85455         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85456         * sysdeps/i386/i686/multiarch/strncat.S: New file.
85457         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85458         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85460         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85461         (USE_AS_STRCAT): Define.
85462         Add strcat and strncat support.
85463         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85465 2011-07-25  Andreas Schwab  <schwab@redhat.com>
85467         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85468         __n bigger than INT_MAX+1.
85469         (__strncmp_g): Likewise.
85471 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
85473         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85474         * libio/stido.h: Likewise.
85476         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85477         (AF_NFC): Define.
85478         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85479         (AF_NFC): Define.
85481         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85482         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85483         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85484         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85485         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85487         [BZ #13021]
85488         * scripts/test-installation.pl: Don't expect libnss_test1 to be
85489         installed.
85491         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85492         typo.
85493         (_dl_x86_64_save_sse): Likewise.
85495 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
85497         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85498         OSXSAVE.
85499         (_dl_x86_64_save_sse): Likewise.
85501         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85503         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85505 2011-07-21  Andreas Schwab  <schwab@redhat.com>
85507         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85508         change.
85509         (_dl_x86_64_save_sse): Use correct AVX check.
85511 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85513         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85514         bug in strncpy/strncat.
85515         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85517 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85519         * string/tester.c (test_strcat): Add tests for different alignments
85520         of source and destination.
85521         (test_strncat): Likewise.
85523 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85525         [BZ #12852]
85526         * posix/glob.c (glob): Check passed in values before using them in
85527         expressions to avoid some overflows.
85528         (glob_in_dir): Likewise.
85530         [BZ #13007]
85531         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85532         check for AVX enablement so that we don't crash with old kernels and
85533         new hardware.
85534         * elf/tst-audit4.c: Add same checks here.
85535         * elf/tst-audit6.c: Likewise.
85537         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85539 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85541         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85543 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85545         * po/cs.po: Update from translation team.
85546         * po/bg.po: Likewise.
85548 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85550         * misc/sys/cdefs.h: Add support for const attribute.
85551         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85552         to gnu_dev_{major,minor,makedev} functions.
85554 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85556         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85558 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85560         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85561         strlen results.
85563 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85565         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85566         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85567         register in order to avoid conflicts with the soft frame pointer
85568         being held in r11 when necessary.
85569         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85570         (INTERNAL_VSYSCALL_NCS): Likewise.
85572 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85574         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85575         * elf/dl-fini.c (_dl_fini): Adjust caller.
85576         * elf/dl-close.c (_dl_close_worker): Likewise.
85577         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85579 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85581         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85582         "aux_cache->nlibs < 0".
85584         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85585         in the reload-count case.
85587 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85589         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85590         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85591         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85592         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85593         * sysdeps/x86_64/multiarch/strcat.S: New file.
85594         * sysdeps/x86_64/multiarch/strncat.S: New file.
85595         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85596         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85597         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85598         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85599         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85600         (USE_AS_STRCAT): Define.
85601         Add strcat and strncat support.
85602         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85603         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85604         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85605         * string/strncat.c: Update.
85606         (USE_AS_STRNCAT): Define.
85607         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85608         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85609         and i7.
85610         * sysdeps/x86_64/multiarch/init-arch.h
85611         (bit_Prefer_PMINUB_for_stringop): New.
85612         (index_Prefer_PMINUB_for_stringop): Likewise.
85613         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85614         bit_Prefer_PMINUB_for_stringop.
85616 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85618         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85619         buffer64.
85620         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85621         of casting of buffer.
85622         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85623         buffer32 and buffer64.
85624         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85625         writes instead of casting of buffer.
85626         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85627         buffer32.
85628         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85629         casting of buffer.
85631 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85633         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85635 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85637         * nscd/nscd.c (termination_handler): Don't do anything for a database
85638         if it has not yet been initialized.
85640 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85642         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85644 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85646         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85648 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85650         * po/nl.po: Update from translation team.
85651         * po/sv.po: Likewise.
85653 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85655         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85656         now disallowed by GCC.
85658         * configure.in (use-default-link): Default to yes if a test -shared
85659         link meets our qualifications.
85660         * configure: Regenerated.
85662         * config.make.in (output-format): New variable.
85663         * configure.in: Check for ld --print-output-format support.
85664         * configure: Regenerated.
85665         * Makerules ($(common-objpfx)format.lds)
85666         [$(output-format) != unknown]: Just use $(output-format),
85667         instead of the linker-script munging.
85669 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85671         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85672         of $(common-objpfx)shlib.lds.
85673         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85675         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85676         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85678         * configure.in (-z relro check): Adjust test code to add a large
85679         writable data section after it.
85680         * configure: Regenerated.
85682 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85684         * configure.in (-z relro check): Fix test code to make the variable
85685         truly const.
85686         * configure: Regenerated.
85688 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85690         * nscd/nscd.h (struct traced_file): Define.
85691         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85692         elements.  Add traced_files.
85693         (inotify_fd): Declare.
85694         (register_traced_file): Declare.
85695         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85696         (inotify_fd): Export.
85697         (resolv_conf_descr): Remove.
85698         (nscd_init): Move inotify descriptor creation to main.
85699         Don't register files for notification here.
85700         (register_traced_file): New function.
85701         (invalidate_cache): Don't use reset_res to determine whether to call
85702         res_init, go through the list of registered files.
85703         (main_loop_poll): The inotify descriptors are now stored in the
85704         structures for the traced files.
85705         (main_loop_epoll): Likewise.
85706         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85707         to __nss_disable_nscd.
85708         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85709         for a database anymore.  Check the records for all the registered
85710         files instead.
85711         * nss/Makefile (libnss_files-routines): Add files-init.
85712         (libnss_db-routines): Add db-init.
85713         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85714         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85715         * nss/nss_db/db-init.c: New file.
85716         * nss/nss_files/files-init.c: New file.
85717         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85718         __nss_lookup_function.
85719         (__nss_lookup_function): Call nss_load_library.
85720         (nss_load_all_libraries): New function.
85721         (__nss_disable_nscd): Take parameter with callback function for files
85722         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85723         used for the cached services.
85724         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85725         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85726         options for features to all the files in nscd.
85728         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85730 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85732         * csu/elf-init.c (__libc_csu_init): Comment typo.
85734 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85736         * po/pl.po: Update from translation team.
85737         * po/ja.po: Likewise.
85738         * po/ru.po: Likewise.
85739         * po/ko.po: Likewise.
85740         * po/fr.po: Likewise.
85742 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85744         * configure.in (.ctors/.dtors header and trailer check):
85745         Use an empirical test on a built program.
85746         * configure: Regenerated.
85748         * configure.in (-z relro check): Use an empirical test on a built DSO.
85749         Detect, but do not require, on ia64.
85750         * configure: Regenerated.
85752         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85753         Update tests that use readelf to use $READELF instead.
85754         * configure: Regenerated.
85756 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85758         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85759         if the result is not used.
85761 2011-07-05  Andreas Jaeger  <aj@suse.de>
85763         [BZ#9696]
85764         * stdlib/tst-strtod.c: Add testcase.
85766 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85768         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85769         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85770         The latter has a higher limit.  Take additional parameter to pass to
85771         the new function.
85772         (__pathconf): Pass file to __statfs_link_max.
85773         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85774         __statfs_link_max.
85775         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85776         __statfs_link_max.
85778         [BZ #12868]
85779         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85780         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85781         Handle Lustre.
85782         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85783         (__statfs_filesize_max): Likewise.
85784         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85786 2011-07-05  Andreas Jaeger  <aj@suse.de>
85788         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85790 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85792         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85793         `status' variable.
85794         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85795         Likewise.
85797 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85799         * Makefile (strop-tests): Add strncat.
85800         * string/test-strncat.c: New file.
85802 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85804         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85806 2011-06-21  Andreas Jaeger  <aj@suse.de>
85808         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85809         Copy rule from iconvdata/Makefile.
85811 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85813         [BZ #12922]
85814         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85815         but no long options are defined, just return 'W'.
85817 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85819         [BZ #9696]
85820         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85822 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85824         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85825         netgroups to read.
85826         (innetgr): Likewise.
85828 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85830         * config.make.in (install_root): Default to $(DESTDIR).
85832 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85834         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85836 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85838         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85840         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85841         containing directory rather than embedding absolute directory names.
85843         * scripts/check-local-headers.sh: Rewritten using awk.
85844         Match by word, not by line.  Print error messages for matches.
85845         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85847         * Makerules [shlib-lds-flags empty]:
85848         ($(common-objpfx)libc_pic.opts): New target.
85849         ($(common-objpfx)libc_pic.os.clean): New target.
85850         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85852         * config.make.in (OBJCOPY): New variable.
85853         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85854         * configure: Regenerated.
85856         * config.make.in (use-default-link): New variable.
85857         * configure.in (use_default_link): Grok --with-default-link to set it.
85858         * configure: Regenerated.
85859         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85860         (shlib-lds, shlib-lds-flags): Define to empty.
85862         * Makerules (shlib-lds): New variable.
85863         (shlib-lds-flags): New variable.
85864         (build-shlib, build-moduile, build-module-asneeded): Use it.
85865         ($(common-objpfx)libc.so): Use $(shlib-lds).
85866         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85867         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85869         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85870         DT_FLAGS/DT_FLAGS_1 with zero flags.
85872         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85873         linker script munging.
85875 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85877         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85878         as 128-bit value.
85879         * crypt/sha512.c (sha512_process_block): Perform total addition using
85880         128-bit if possible.
85881         (__sha512_finish_ctx): Likewise.
85882         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85883         as 64-bit value.
85884         * crypt/sha256.c (SWAP64): Define.
85885         (sha256_process_block): Perform total addition using 64-bit if
85886         possible.
85887         (__sha256_finish_ctx): Likewise.
85889 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85891         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85892         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85893         * nscd/hstcache.c (cache_addhst): Likewise.
85894         * nscd/grpcache.c (cache_addgr): Likewise.
85895         * nscd/aicache.c (addhstaiX): Likewise.
85896         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85898 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85900         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85901         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85902         * nscd/hstcache.c (cache_addhst): Likewise.
85903         * nscd/grpcache.c (cache_addgr): Likewise.
85904         * nscd/aicache.c (addhstaiX): Likewise.
85906 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85908         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85909         domain only when needed.
85911 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85914         is always restored.
85916 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85918         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85919         are re-adding the entry.
85920         * nscd/servicescache.c (cache_addserv): Likewise.
85922 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85924         * sysdeps/generic/dl-irel.h: fix protection against multiple
85925         inclusions.
85926         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85928 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85930         [BZ #12935]
85931         * malloc/memusage.sh: Fix quoting in message.
85932         * debug/xtrace.sh: Likewise.
85934         * configure.in: Remove support for --experimental-malloc option, make
85935         it the default.
85936         * config.make.in: Likewise.
85937         * malloc/Makefile: Likewise.
85939 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85941         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85942         two-byte characters.
85944 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85946         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85947         AC_CACHE_CHECK invocation.
85948         * configure: Regenerated.
85950         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85952 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85954         [BZ #12350]
85955         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85956         bit from old_res_options.
85958         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85960         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85961         value type for setfct.
85963 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85965         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85966         __gettimeofday instead of gettimeofday.
85968 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85970         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85972 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85974         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85976         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85977         info.
85979 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85982         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85983         strcpy-sse2-unaligned strncpy-sse2-unaligned
85984         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85985         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85986         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85987         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85988         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85989         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85990         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85991         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85992         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85993         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85994         (STRCPY): Support SSE2 and SSSE3 versions.
85996 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85998         [BZ #12874]
85999         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
86000         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
86001         kernels which artificially limit size of requests.
86003 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
86005         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86006         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
86007         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
86008         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
86009         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
86010         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
86011         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
86012         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
86013         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
86014         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
86015         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
86016         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
86017         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
86018         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
86019         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
86020         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86021         Enable unaligned load optimization for Intel Core i3, i5 and i7
86022         processors.
86023         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
86024         Define.
86025         (index_Fast_Unaligned_Load): Define.
86026         (HAS_FAST_UNALIGNED_LOAD): Define.
86028 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
86030         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
86032 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86034         [BZ #12907]
86035         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
86036         until it is clear that the information is realy needed.
86037         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
86039 2011-06-22  Andreas Schwab  <schwab@redhat.com>
86041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
86043 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
86045         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
86046         /sys/devices/system/cpu/online if it is usable.
86048         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
86049         reading the information from the /proc filesystem to once a second.
86051 2011-06-21  Andreas Jaeger  <aj@suse.de>
86053         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86054         NULL after inclusion of kernel headers.
86056 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86058         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86059         calls to internal_setent.
86061         [BZ #12885]
86062         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86063         addresses using gethostbyname4_r ignore IPv4 addresses.
86065         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86066         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86068         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86070 2011-06-20  David S. Miller  <davem@davemloft.net>
86072         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86073         inclusions.
86074         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86076         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86077         (elf_irel): Use it.
86078         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86079         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86080         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86081         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86082         * sysdeps/x86_64/dl-irel.h: Likewise.
86084         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86085         * elf/dl-sym.c: Likewise.
86087 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86089         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86090         need to dereference resplen2.
86092 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86094         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86096 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86098         * Makeconfig: Define vardbdir and inst_vardbdir.
86099         * nss/Makefile: Add rules to install db-Makefile.
86101         * nss/nss_db/db-XXX.c: Cleanup.
86103         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86104         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86105         GLIBC_PRIVATE.
86106         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86107         * nss/makedb.c: Implement -g option to specify that value strings
86108         are generated and should not be added to table iterated over for
86109         get*ent calls.
86110         * nss/nss_db/db-initgroups.c: New file.
86112         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86113         interface.
86115         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86116         (internal_getgrouplist): Adjust to name change.
86117         Update use_initgroups_entry if this is not the first call.
86118         * nss/databases.def: Add initgroups entry.
86120         * nss/makedb.c (compute_tables): Check result of multiple hash table
86121         sizes to minimize maximum chain length.
86123 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86125         * Versions.def: Add entry for libnss_db.
86126         * shlib-versions: Likewise.
86127         * nss/Makefile: Add rules to build libnss_db.
86128         * nss/Versions: Add libnss_db information.  Organize libnss_files
86129         entries better.
86130         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86131         makedb progra.  Some minor improvements to generate smaller files.
86132         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86133         here from...
86134         * nss/makedb.c: ...here.
86135         Improve database format to be smaller and require less memory at
86136         runtime.
86137         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86138         db anymore.
86139         * nss/nss_db/db-netgrp.c: Likewise.
86140         * nss/nss_db/db-open.c: Likewise.
86141         * nss/nss_files/flies-XXX.x: Adjust comments.
86142         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86143         * nss/nss_files/files-grp.c: Likewise.
86144         * nss/nss_files/files-hosts.c: Likewise.
86145         * nss/nss_files/files-network.c: Likewise.
86146         * nss/nss_files/files-proto.c: Likewise.
86147         * nss/nss_files/files-pwd.c: Likewise.
86148         * nss/nss_files/files-rpc.c: Likewise.
86149         * nss/nss_files/files-service.c: Likewise.
86150         * nss/nss_files/files-sgrp.c: Likewise.
86151         * nss/nss_files/files-spwd.c: Likewise.
86152         * nss/nss_db/db-alias.c: Removed.
86153         * nss/nss_db/dummy-db.h: Removed.
86155 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86157         * nss/makedb.c: Rewritten to not use database library.
86158         * nss/Makefile: Update to build new makedb program.
86160 2011-06-14  Andreas Jaeger  <aj@suse.de>
86162         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86163         memset declaration.
86165 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86167         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86168         tmpbuf.
86170 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86172         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86173         * elf/Makefile ($(objpfx)ld.so): Likewise.
86175         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86176         Don't list ld.so twice in dependencies.
86178         * posix/bug-regex31.c: Include <stdlib.h>.
86180         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86182         * nis/nss_compat/compat-spwd.c
86183         (getspent_next_nss_netgr): Remove unused variable.
86184         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86186         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86187         nonmembers" output to use the right array.
86189         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86191         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86193         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86194         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86195         * catgets/gencat.c (read_input_file): Likewise.
86196         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86198         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86199         variable definition inside #if's controlling its use.
86201         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86203         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86205         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86207         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86208         unreachable code.
86210         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86212         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86213         * configure: Regenerated.
86215         * Makerules: Revert last change.
86216         * elf/Makefile: Likewise.
86218 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86220         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86221         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86222         (reloc-link): Likewise.
86224 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86226         * elf/Makefile: Add rules to build pldd.
86227         * elf/pldd.c: New file.
86228         * elf/pldd-xx.c: New file.
86230 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86232         * version.h: Update for 2.15 development version.
86234 2011-06-07  David S. Miller  <davem@davemloft.net>
86236         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86237         ifuncs.
86238         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86239         elf_machine_lazy_rel): Likewise.
86240         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86241         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86242         elf_machine_lazy_rel): Likewise.
86243         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86244         dl_hwcap via passed in argument.
86245         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86246         Likewise.
86248 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86250         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86252 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86254         [BZ #12849]
86255         * manual/fdl-1.1.texi: New file, verbatim from:
86256         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86257         * manual/lgpl-2.1.texi: New file, verbatim from:
86258         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86259         * manual/Makefile (licenses): New variable, list those new file names.
86260         (texis): Use it.
86261         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86263         * manual/fdl.texi: File removed.
86264         * manual/lesser.texi: File removed.
86265         * manual/libc.texinfo (Copying, Documentation License):
86266         Use new @include file names, put @appendix directive before @include.
86268 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86270         [BZ #12841]
86271         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86272         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86273         (mq_open): Add __NTH.
86275 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
86277         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86278         Assume Intel Core i3/i5/i7 processor if AVX is available.
86280 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86282         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86283         typo.
86285 2011-05-31  Andreas Schwab  <schwab@redhat.com>
86287         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86288         memory.  Use alloca_account.  Fix memory leak when retrying.
86290 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86292         * version.h (RELEASE): Bump for 2.14 release.
86293         * include/features.h (__GLIBC_MINOR__): Bump to 14.
86295         * config.make.in (RANLIB): Remove entry.
86297 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
86299         * po/Makefile (po-sed-cmd): Add ksh to extensions.
86300         (libc.pot): Work around missing support for .ksh extension in xgettext.
86302         [BZ #12684]
86303         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86304         if both request failed.
86305         (send_dg): In case of server errors clear resplen or *resplen2.
86307         [BZ #12454]
86308         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86309         when there are multiple maps.
86310         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86311         (_dl_fini): Remove test here.
86313         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86315 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
86317         [BZ #12350]
86318         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86319         bit from old_res_options.
86320         (gaih_inet): Likewise.
86322         [BZ #11099]
86323         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86324         as signed.
86326         * resolv/res_init.c (res_setoptions): Make the code more compact.
86328         [BZ #11558]
86329         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86330         set RES_USEVC.
86332         [BZ #11634]
86333         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86335         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86337         [BZ #11781]
86338         * malloc/malloc.h: Declare malloc hook variables as volatile.
86340         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86341         in last patch.
86343         [BZ #11799]
86344         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86345         raise in the comment.
86346         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86347         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86348         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86350 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86352         [BZ #12811]
86353         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86354         grow the buffers more if it already has to be sufficient.
86355         (build_wcs_upper_buffer): Likewise.
86356         * posix/regexec.c (check_matching): Likewise.
86357         (clean_state_log_if_needed): Likewise.
86358         (extend_buffers): Don't enlarge buffers beyond size of the input
86359         buffer.
86360         Patches mostly by Emil Wojak <emil@wojak.eu>.
86361         * posix/bug-regex32.c: New file.
86362         * posix/Makefile (tests): Add bug-regex32.
86364         * locale/findlocale.c (_nl_find_locale): Return right away if
86365         _nl_explode_name failed.
86366         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86368         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86370         * debug/xtrace.sh: Unify messages.
86371         * malloc/memusage.sh: Likewise.
86373         [BZ #12813]
86374         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86375         time symbol from vDSO.  Substitute with vsyscall if not available.
86376         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86377         __vdso_time.
86379         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86380         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86381         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86382         Add sendmmsg and internal_sendmmsg.
86383         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86384         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86385         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86387         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86388         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86389         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86391 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86393         [BZ #12813]
86394         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86395         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86396         available.
86397         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86398         __vdso_getcpu.
86400         [BZ #12814]
86401         * iconvdata/Makefile (tests): Add bug-iconv9.
86402         * iconvdata/bug-iconv9.c: New file.
86404 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86406         [BZ #12814]
86407         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86409 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86411         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86412         (struct user_regs_struct): Change intcs field back to cs.
86414 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86416         * po/ja.po: Update from translation team.
86418 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86420         [BZ #12795]
86421         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86422         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86424 2011-05-20  Andreas Schwab  <schwab@redhat.com>
86426         * stdlib/longlong.h: Update from GCC.
86428 2011-05-23  Andreas Schwab  <schwab@redhat.com>
86430         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86431         parameter name.
86432         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86433         Add parameter name.
86434         (__sysconf): Pass it down.
86436 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
86438         [BZ #12671]
86439         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86440         some situations.
86441         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86442         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86443         add in in __libc_use_alloca calls.  Adjust callers.
86444         (glob): Use malloc in some situations.
86446         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86447         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86448         pltexit.
86450 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
86452         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86453         and CLOCK_BOOTTIME_ALARM.
86455         [BZ #12782]
86456         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86457         is returned.
86459         * string/_strerror.c (__strerror_r): Print negative errors as signed
86460         numbers.
86462         [BZ #12777]
86463         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86464         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86465         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86467         * configure.in: Fix typo in redirection and correct removal of test
86468         files in two cases.
86470         [BZ #12788]
86471         * locale/setlocale.c (new_composite_name): Fix test to check for
86472         identical name of all categories.
86474         [BZ #12792]
86475         * libio/filedoalloc.c (local_isatty): New function.
86476         (_IO_file_doallocate): Use local_isatty.
86477         * stdio-common/perror.c (perror): In case a new stream is used
86478         forward the stream error.
86479         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86480         error flag.
86482 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
86484         [BZ #11884]
86485         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86486         alloca.
86487         * include/alloca.h (extend_alloca_account): Define.
86489         [BZ #11857]
86490         * posix/regex.h: Fix comments with documentation of user-accessible
86491         fields after compilation and describe correct free'ing of pattern
86492         after re_compile_pattern.
86493         Patch by Reuben Thomas <rrt@sc3d.org>.
86495 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
86497         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86498         and -mno-altivec to prevent the compiler from using Altivec and/or
86499         VSX instructions when the corresponding registers are not available.
86501 2011-05-19  Andreas Schwab  <schwab@redhat.com>
86503         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86505 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
86507         * libio/freopen.c (freopen): Use __dup2, not dup2.
86508         * libio/freopen64.c (freopen64): Likewise.
86510 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
86512         [BZ #12775]
86513         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86514         * math/Makefile (tests): Add test-powl.
86515         (CFLAGS-test-powl.c): Define.
86516         * math/test-powl.c: New file.
86518 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86520         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86522 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86524         [BZ #11837]
86525         * iconvdata/gb18030.c: Update to GB18020-2005.
86527 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86529         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86530         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86531         Patch by Aharon Robbins <arnold@skeeve.com>.
86533         [BZ #11892]
86534         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86535         on the stack.
86537         [BZ #11895]
86538         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86539         through underflows.
86541         [BZ #12766]
86542         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86543         point to strings before performing equality test for error_one_per_line
86544         mode.
86546         [BZ #11697]
86547         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86549         [BZ #11820]
86550         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86551         (struct user_fpregs_struct): Avoid __uint*_t types.
86553         [BZ #6420]
86554         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86555         symbol info.  Use it instead of calling _dl_addr locally.
86556         (lock_and_info): New function.
86557         (tr_freehook): Call lock_and_info and pass symbol info as additional
86558         parameter to tr_where.
86559         (tr_mallochook): Likewise.
86560         (tr_reallochook): Likewise.
86561         (tr_memalignhook): Likewise.
86563         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86564         used and couldn't be at all thread-safe.
86566 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86568         * libio/freopen.c (freopen): Don't close old file descriptor
86569         before the new one is opened.  Instead dup the new file descriptor
86570         to the old one after the new stream is created.
86571         * libio/freopen64.c (freopen64): Likewise.
86572         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86573         * libio/fileops.c (_IO_new_file_close_it): Handle new
86574         _IO_FLAGS2_NOCLOSE flag.
86575         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86576         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86577         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86578         _IO_FLAGS2_NOCLOSE flag.
86579         * include/unistd.h: Add hidden_proto for dup3.
86580         Define __have_dup3.
86581         * io/dup3.c: Define hidden symbol.
86582         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86584         [BZ #7101]
86585         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86586         when an incomplete long option is used.
86587         * posix/tst-getopt_long1.c: New file.
86588         * posix/Makefile (tests): Add tst-getopt_long1.
86590         [BZ #10138]
86591         * scripts/config.guess: Update from autoconf-2.68.
86592         * scripts/config.sub: Likewise.
86594         [BZ #10157]
86595         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86596         tests into ...
86597         (has_cpuclock): ...this.  New function.
86598         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86599         macro here based on has_cpuclock code.
86601         [BZ #10149]
86602         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86603         First byte (not low byte) is now always NUL.
86604         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86606         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86607         Use non-cancelable interfaces.
86609         [BZ #9809]
86610         * locale/iso-639.def: Add entry for Sorani.
86612         [BZ #11901]
86613         * include/stdlib.h: Move include protection to the right place.
86614         Define abort_msg_s.  Declare __abort_msg with it.
86615         * stdlib/abort.c (__abort_msg): Adjust type.
86616         * assert/assert.c (__assert_fail_base): New function.  Majority
86617         of code from __assert_fail.  Allocate memory for __abort_msg with
86618         mmap.
86619         (__assert_fail): Now call __assert_fail_base.
86620         * assert/assert-perr.c: Remove bulk of implementation.  Use
86621         __assert_fail_base.
86622         * include/assert.hL Declare __assert_fail_base.
86623         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86624         mmap.
86625         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86627 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86629         [BZ #11952]
86630         [BZ #12453]
86631         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86632         until all modules are registered in the DTV.
86633         * elf/Makefile: Add rules to build and run tst-tls19.
86634         * elf/tst-tls19.c: New file.
86635         * elf/tst-tls19mod1.c: New file.
86636         * elf/tst-tls19mod2.c: New file.
86637         * elf/tst-tls19mod3.c: New file.
86638         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86640         [BZ #12083]
86641         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86642         correctly.
86644         [BZ #12601]
86645         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86646         two-byte sequence errors.
86647         * iconvdata/Makefile (tests): Add bug-iconv8.
86648         * iconvdata/bug-iconv8.c: New file.
86650         [BZ #12626]
86651         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86652         buf2 definition.
86654         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86656         [BZ #12432]
86657         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86658         (dummy_getcfa): New function.
86659         (init): Get _Unwind_GetCFA address, use dummy if not found.
86660         (backtrace_helper): In recursion check, also check whether CFA changes.
86661         (__backtrace): Completely initialize arg.
86663         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86664         storing incomplete byte sequence in state object.  Avoid testing for
86665         guaranteed too small input if we know there is enough data available.
86667 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86669         * Makeconfig (+link-pie): Indent.
86670         * Rules (binaries-pie): Define if $(have-fpie) and
86671         $(build-shared).
86672         (binaries-shared): Also filter out $(binaries-pie).
86673         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86674         * nscd/Makefile (others-pie): Add nscd.
86675         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86676         ($(objpfx)nscd): Remove command override.
86677         * login/Makefile (others-pie): Add pt_chown.
86678         ($(objpfx)pt_chown): Remove command override.
86679         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86680         remove command overrides.
86682 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86684         * libio/tst_putwc.c: Fix error messages.
86686         [BZ #12724]
86687         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86688         currently writing and seek to current position when not.
86689         * libio/Makefile (tests): Add bug-fclose1.
86690         * libio/bug-fclose1.c: New file.
86692 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86694         [BZ #12511]
86695         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86696         don't set DF_1_NODELETE here.
86697         (do_lookup_x): When entering new entry test for copy relocation
86698         and if necessary set DF_1_NODELETE flag.
86699         * elf/tst-unique4.cc: New file.
86700         * elf/tst-unique4.h: New file.
86701         * elf/tst-unique4lib.cc: New file.
86702         * elf/Makefile: Add rules to build and run tst-unique4.
86703         Patch by Piotr Bury <pbury@goahead.com>.
86705 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86707         [BZ #12052]
86708         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86710         [BZ #12625]
86711         * misc/mntent_r.c (addmntent): Flush the stream after the output
86713         [BZ #12393]
86714         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86715         (is_trusted_path_normalize): Skip initial colon.  Append slash
86716         to empty buffer.  Duplicate is_trusted_path code but allow
86717         constructed patch to be prefix.
86718         (is_dst): Allow $ORIGIN followed by /.
86719         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86720         Correct testing of result of is_trusted_path_normalize
86721         (decompose_rpath): Fix warning.
86723 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86725         [BZ #11257]
86726         * grp/initgroups.c (internal_getgrouplist): When we found the service
86727         list through the initgroups entry in nsswitch.conf do not always
86728         continue on a successful lookup.  Don't always use the
86729         __nss_group_database value if it is set.
86730         * nss/nsswitch.conf (initgroups): Change action for successful db
86731         lookup to continue for compatibility.
86733 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86735         [BZ #11532]
86736         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86737         and CP774 modules.
86738         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86739         and CP774 modules.
86740         * iconvdata/tst-tables.sh: Likewise.
86741         * iconvdata/cp770.c: New file.
86742         * iconvdata/cp771.c: New file.
86743         * iconvdata/cp772.c: New file.
86744         * iconvdata/cp773.c: New file.
86745         * iconvdata/cp774.c: New file.
86746         * iconvdata/testdata/CP770: New file.
86747         * iconvdata/testdata/CP770..UTF8: New file.
86748         * iconvdata/testdata/CP771: New file.
86749         * iconvdata/testdata/CP771..UTF8: New file.
86750         * iconvdata/testdata/CP772: New file.
86751         * iconvdata/testdata/CP772..UTF8: New file.
86752         * iconvdata/testdata/CP773: New file.
86753         * iconvdata/testdata/CP773..UTF8: New file.
86754         * iconvdata/testdata/CP774: New file.
86755         * iconvdata/testdata/CP774..UTF8: New file.
86757         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86758         END CHARMAP line.
86759         * iconvdata/gen-8bit-gap.sh: Likewise.
86760         * iconvdata/gen-8bit.sh: Likewise.
86762         * locale/iso-639.def: Add ary entry.
86764         [BZ #11258]
86765         * locale/C-translit.h.in: Add U20A1 transliteration.
86767         [BZ #12178]
86768         * locale/iso-639.def: Add wae entry.
86769         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86771         [BZ #12545]
86772         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86773         for n.
86775         [BZ #12711]
86776         * locale/C-translit.h.in: Add entry for U20B9.
86777         Patch by pravin.d.s@gmail.com.
86779 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86781         [BZ #12713]
86782         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86783         ENAMETOOLONG use generic getcwd.
86784         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86785         in rtld.  Use *stat64.
86786         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86787         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86788         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86789         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86790         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86791         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86792         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86793         __fstatat64 macros.
86794         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86795         * dirent/rewinddir.c: Add libc_hidden_def.
86796         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86797         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86799         * include/dirent.h (__alloc_dir): Add flags parameter.
86800         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86801         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86802         __alloc_dir.
86803         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86804         from fdopendir if O_CLOEXEC is already set.
86806 2011-03-15  Alan Modra  <amodra@gmail.com>
86808         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86809         l_tls_firstbyte_offset non-zero.  Save padding offset in
86810         l_tls_firstbyte_offset for later use.
86811         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86812         freeing static tls block.
86814 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86816         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86817         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86818         being defined by the kernel headers.
86820 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86822         [BZ #12734]
86823         * resolv/resolv.h: Define RES_NOTLDQUERY.
86824         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86825         no-tld-query and set RES_NOTLDQUERY.
86826         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86827         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86828         modern BIND to search name as TLD unless forbidden.
86830 2011-05-07  Petr Baudis  <pasky@suse.cz>
86831             Ulrich Drepper  <drepper@gmail.com>
86833         [BZ #12393]
86834         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86835         (is_trusted_path): ...to here.
86836         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86837         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86838         using is_trusted_path_normalize() in setuid scripts.
86840 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86842         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86843         __BEGIN/__END_DECLS.
86845 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86847         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86848         NSS_STATUS_NOTFOUND if no record was found.
86850 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86852         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86853         (headers-not-in-tirpc): Remove rpc/netdb.h
86854         * resolv/netdb.h: Revert last change.
86856 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86858         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86859         circular dependency between libgcc.a and libc.a.
86861 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86863         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86864         * nis/Makefile: Don't install rpcsvc/*.
86865         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86866         instead of <rpc/types.h>.
86867         (MAXHOSTNAMELEN): Define.
86869 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86871         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86873 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86875         [BZ #12714]
86876         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86877         gethostbyname4_r when IPv6 results are possible.
86879 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86881         [BZ #12723]
86882         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86883         _PC_PIPE_BUF handling.
86885 2011-04-30  Bruno Haible  <bruno@clisp.org>
86887         [BZ #12717]
86888         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86889         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86890         to 'int'.
86891         * inet/getnameinfo.c (getnameinfo): Likewise.
86893 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86895         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86896         to groups setting in database lookup.
86897         * nss/nsswitch.conf: Add initgroups entry.
86899 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86901         [BZ #12685]
86902         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86903         mode string.
86904         Patch by Eric Blake <eblake@redhat.com>.
86906 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86908         * sunrpc/Makefile (need-export-routines): Add svc_run.
86909         (routines): Remove svc_run.
86910         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86911         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86912         * sunrpc/svc_run.c (svc_run): Likewise.
86913         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86915 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86917         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86918         problem in reallocation in last patch.
86920 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86922         * sunrpc/Makefile: Move inclusion of Rules.
86924 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86926         * nss/nss_files/files-initgroups.c: New file.
86927         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86928         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86929         _nss_files_initgroups_dyn.
86931 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86933         * elf/elf.h (R_ARM_IRELATIVE): Define.
86935 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86937         * po/ru.po: Update from translation team.
86939 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86941         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86942         dependencies.
86944 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86946         [BZ #12653]
86947         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86948         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86949         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86950         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86951         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86953 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86955         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86956         differing bytes.
86957         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86958         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86959         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86961 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86963         [BZ #12420]
86964         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86965         storing it.
86966         * stdlib/bug-getcontext.c: New file.
86967         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86969 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86971         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86972         instructions into .machine "z9-109".
86973         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86974         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86976 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86978         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86979         between environment variables and auxiliary vector.
86981 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86983         * Makefile: Add rules to build linkobj/libc.so.
86984         * include/libc-symbols.h: Define libc_hidden_nolink.
86985         * include/rpc/auth.h: Mark functions which are to be hidden.
86986         * include/rpc/auth_des.h: Likewise.
86987         * include/rpc/auth_unix.h: Likewise.
86988         * include/rpc/clnt.h: Likewise.
86989         * include/rpc/des_crypt.h: Likewise.
86990         * include/rpc/key_prot.h: Likewise.
86991         * include/rpc/pmap_clnt.h: Likewise.
86992         * include/rpc/pmap_prot.h: Likewise.
86993         * include/rpc/pmap_rmt.h: Likewise.
86994         * include/rpc/rpc_msg.h: Likewise.
86995         * include/rpc/svc.h: Likewise.
86996         * include/rpc/svc_auth.h: Likewise.
86997         * include/rpc/xdr.h: Likewise.
86998         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86999         * nss/Makefile: Likewise.
87000         * sunrpc/Makefile: Don't install headers.  Build library with normal
87001         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
87002         * sunrpc/auth_des.c: Hide exported symbols by default, export some
87003         for the compat linking library.  Remove use of INTDEF/INTUSE.
87004         * sunrpc/auth_none.c: Likewise.
87005         * sunrpc/auth_unix.c: Likewise.
87006         * sunrpc/authdes_prot.c: Likewise.
87007         * sunrpc/authuxprot.c: Likewise.
87008         * sunrpc/clnt_gen.c: Likewise.
87009         * sunrpc/clnt_perr.c: Likewise.
87010         * sunrpc/clnt_raw.c: Likewise.
87011         * sunrpc/clnt_simp.c: Likewise.
87012         * sunrpc/clnt_tcp.c: Likewise.
87013         * sunrpc/clnt_udp.c: Likewise.
87014         * sunrpc/clnt_unix.c: Likewise.
87015         * sunrpc/des_crypt.c: Likewise.
87016         * sunrpc/des_soft.c: Likewise.
87017         * sunrpc/get_myaddr.c: Likewise.
87018         * sunrpc/key_call.c: Likewise.
87019         * sunrpc/key_prot.c: Likewise.
87020         * sunrpc/netname.c: Likewise.
87021         * sunrpc/pm_getmaps.c: Likewise.
87022         * sunrpc/pm_getport.c: Likewise.
87023         * sunrpc/pmap_clnt.c: Likewise.
87024         * sunrpc/pmap_prot.c: Likewise.
87025         * sunrpc/pmap_prot2.c: Likewise.
87026         * sunrpc/pmap_rmt.c: Likewise.
87027         * sunrpc/publickey.c: Likewise.
87028         * sunrpc/rpc_cmsg.c: Likewise.
87029         * sunrpc/rpc_common.c: Likewise.
87030         * sunrpc/rpc_dtable.c: Likewise.
87031         * sunrpc/rpc_prot.c: Likewise.
87032         * sunrpc/rpc_thread.c: Likewise.
87033         * sunrpc/rtime.c: Likewise.
87034         * sunrpc/svc.c: Likewise.
87035         * sunrpc/svc_auth.c: Likewise.
87036         * sunrpc/svc_authux.c: Likewise.
87037         * sunrpc/svc_raw.c: Likewise.
87038         * sunrpc/svc_run.c: Likewise.
87039         * sunrpc/svc_simple.c: Likewise.
87040         * sunrpc/svc_tcp.c: Likewise.
87041         * sunrpc/svc_udp.c: Likewise.
87042         * sunrpc/svc_unix.c: Likewise.
87043         * sunrpc/svcauth_des.c: Likewise.
87044         * sunrpc/xcrypt.c: Likewise.
87045         * sunrpc/xdr.c: Likewise.
87046         * sunrpc/xdr_array.c: Likewise.
87047         * sunrpc/xdr_float.c: Likewise.
87048         * sunrpc/xdr_intXX_t.c: Likewise.
87049         * sunrpc/xdr_mem.c: Likewise.
87050         * sunrpc/xdr_rec.c: Likewise.
87051         * sunrpc/xdr_ref.c: Likewise.
87052         * sunrpc/xdr_sizeof.c: Likewise.
87053         * sunrpc/xdr_stdio.c: Likewise.
87055 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87057         [BZ #12650]
87058         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87059         * sysdeps/ia64/dl-tls.h: Likewise.
87060         * sysdeps/powerpc/dl-tls.h: Likewise.
87061         * sysdeps/s390/dl-tls.h: Likewise.
87062         * sysdeps/sh/dl-tls.h: Likewise.
87063         * sysdeps/sparc/dl-tls.h: Likewise.
87064         * sysdeps/x86_64/dl-tls.h: Likewise.
87065         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87067 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87069         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87070         rpath element also skip the following colon.
87071         (expand_dynamic_string_token): Add is_path parameter and pass
87072         down to DL_DST_REQUIRED and _dl_dst_substitute.
87073         (decompose_rpath): Call expand_dynamic_string_token with
87074         non-zero is_path.  Ignore empty rpaths.
87075         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87076         with zero is_path.
87078 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87081         Make cancelable.
87083 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87085         [BZ #12655]
87086         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87087         Patch by Filipe David Manana <fdmanana@apache.org>.
87089 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87091         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87092         Maintain aligned stack.
87093         (CHECK_RSP): Remove unused macro.
87095 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87097         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87098         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87100 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87102         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87104         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87106 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87108         [BZ #12518]
87109         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87110         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87111         * sysdeps/x86_64/memmove.c: New file.
87112         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87113         (memcpy): Renamed to ...
87114         (__new_memcpy): This.
87115         (memcpy): Provide GLIBC_2_14 memcpy.
87116         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87117         (memcpy): Provide GLIBC_2_2_5 memcpy.
87119 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87121         [BZ #12631]
87122         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87124 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87126         * misc/syncfs.c: New file.
87127         * misc/Makefile (routines): Add syncfs.
87128         * posix/unistd.h: Declare syncfs.
87129         * sysdeps/unix/syscalls.list: Add syncfs.
87131 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87133         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87134         open_by_handle_at.
87135         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87136         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87137         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87138         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87139         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87140         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87141         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87143 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87145         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87146         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87147         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87148         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87149         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87150         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87151         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87153         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87154         sync_file_range.c with -fexceptions.
87155         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87156         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87157         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87158         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87159         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87160         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87161         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87162         sync_file_range as cancellation point
87163         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87164         now a wrapper around __call_sync_file_range with cancellation handling.
87165         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87166         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87167         function name to __call_sync_file_range.
87168         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87169         Add call_sync_file_range.
87171 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87174         bits/timex.h.
87176 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87178         * iconv/iconv.h: Fix typo in comment.
87179         * io/fcntl.h: Likewise.
87180         * libio/stdio.h: Likewise.
87181         * posix/spawn.h: Likewise.
87182         * posix/unistd.h: Likewise.
87183         * stdlib/stdlib.h: Likewise.
87184         * time/time.h: Likewise.
87185         * wcsmbs/wchar.h: Likewise.
87187         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87188         open_by_handle): Add.
87189         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87190         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87191         Augment a few comments.
87192         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87193         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87194         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87195         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87196         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87197         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87198         open_by_handle.
87200         * io/fcntl.h (AT_EMPTY_PATH): Define.
87202 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87204         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87205         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87206         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87207         to...
87208         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87209         * Versions.def: Add GLIBC_2.14.
87210         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87211         Export.
87213 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87215         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87216         round counter.
87217         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87219 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87221         [BZ #12597]
87222         * string/test-strncmp.c (do_page_test): New function.
87223         (check2): Likewise.
87224         (test_main): Call check2.
87225         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87227 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87229         [BZ #12587]
87230         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87231         Handle cache information in CPU leaf 4.
87232         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87234 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87236         [BZ #12583]
87237         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87238         character representation.
87239         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87241 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87243         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87244         END(__isnan) to END(__isnanf) to match function entry point/label
87245         EALIGN(__isnanf,...).
87247 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87249         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87251 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87253         [BZ #12510]
87254         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87255         copy from the symbol referenced in the relocation to initialize the
87256         used variable.
87257         Patch by Piotr Bury <pbury@goahead.com>.
87258         * elf/Makefile: Add rules to build and tst-unique3.
87259         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87260         * elf/tst-unique3.cc: New file.
87261         * elf/tst-unique3.h: New file.
87262         * elf/tst-unique3lib.cc: New file.
87263         * elf/tst-unique3lib2.cc: New file.
87265         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87267 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87269         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87270         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87271         to _start.
87273 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87275         * elf/dl-load.c (_dl_map_object): If we are looking for the first
87276         to-be-loaded object along a path to loader is ld.so.
87278 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87279             Ulrich Drepper  <drepper@gmail.com>
87281         * sysdeps/x86_64/memset.S: After aligning destination, code
87282         branches to different locations depending on the value of
87283         misalignment, when multiarch is enabled. Fix this.
87285 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87287         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87288         Set _x86_64_preferred_memory_instruction for AMD processsors.
87289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87290         Set bit_Prefer_SSE_for_memop for AMD processors.
87292 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
87294         * libio/fmemopen.c (fmemopen): Optimize a bit.
87296 2011-03-03  Andreas Schwab  <schwab@redhat.com>
87298         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87300 2011-03-03  Roland McGrath  <roland@redhat.com>
87302         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87304 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
87306         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87307         __bzero_ultra1 instead of __memset_ultra1.
87309 2011-02-23  Andreas Schwab  <schwab@redhat.com>
87310             Ulrich Drepper  <drepper@gmail.com>
87312         [BZ #12509]
87313         * include/link.h (struct link_map): Add l_orig_initfini.
87314         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87315         returning unsuccessfully.
87316         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87317         close of a file loaded at startup, restore the original l_initfini
87318         list.
87319         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87320         list, store the pointer.
87321         * elf/Makefile ($(objpfx)noload-mem): New rule.
87322         (noload-ENV): Define.
87323         (tests): Add $(objpfx)noload-mem.
87324         * elf/noload.c: Include <memcheck.h>.
87325         (main): Call mtrace.  Close all opened handles.
87327 2011-02-17  Andreas Schwab  <schwab@redhat.com>
87329         [BZ #12454]
87330         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87331         dependencies are missing.
87333 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87335         Fix __if_freereq crash: Unlike the generic version which uses free,
87336         Hurd needs munmap.
87337         * sysdeps/mach/hurd/ifreq.h: New file.
87339 2011-01-27  Petr Baudis  <pasky@suse.cz>
87340             Ulrich Drepper  <drepper@gmail.com>
87342         [BZ 12445]#
87343         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87344         to extend_alloca().
87345         * stdio-common/bug23.c: New file.
87346         * stdio-common/Makefile (tests): Add bug23.
87348 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87349             Ulrich Drepper  <drepper@gmail.com>
87351         [BZ #12489]
87352         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87353         before performing relro protection.  At old place add assertion
87354         to make sure nothing changed.
87356 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87357             Glauber de Oliveira Costa  <glommer@gmail.com>
87359         * elf/elf.h: Add new ARM TLS relocs.
87361 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87364         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87365         cast from r3.
87366         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87367         'tests' variable.
87368         * sysdeps/wordsize-64/tst-writev.c: New file.
87370 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87372         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87373         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87374         insns in _dl_start to prevent a TOC reference before relocs are
87375         resolved.
87377 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87379         [BZ #12469]
87380         * Makeconfig: Remove RANLIB definition.
87381         * Makerules: Don't use RANLIB.
87382         * aclocal.m4: Remove ranlib test.
87383         * configure.in: No need to check for ranlib.
87384         * elf/rtld-Rules: Don't use RANLIB.
87386 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87388         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87389         protection macro.
87390         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87391         inclusion protection macro.
87393         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87394         SIGRTMIN and SIGRTMAX and print information in that case only when
87395         SIGRTMIN is defined.
87397 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87399         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87400         arginfo fn returning -1.
87402         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87403         and thousands string is zero terminated.
87405 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87407         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87408         sysdeps/unix/sysv/linux/bits/socket.h.
87410 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87412         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87413         (__CPU_COUNT): Remove old macros.
87414         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87415         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87416         (__CPU_ALLOC, __CPU_FREE): Add macros.
87417         (__sched_cpualloc, __sched_cpufree): Add declarations.
87419 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87421         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87422         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87423         * nscd/aicache.c (addhstaiX): Return timeout of added value.
87424         (readdhstai): Return value of addhstaiX call.
87425         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87426         (addgrbyX): Return value returned by cache_addgr.
87427         (readdgrbyname): Return value returned by addgrbyX.
87428         (readdgrbygid): Likewise.
87429         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87430         (addpwbyX): Return value returned by cache_addpw.
87431         (readdpwbyname): Return value returned by addhstbyX.
87432         (readdpwbyuid): Likewise.
87433         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87434         (addservbyX): Return value returned by cache_addserv.
87435         (readdservbyname): Return value returned by addservbyX:
87436         (readdservbyport): Likewise.
87437         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87438         (addhstbyX): Return value returned by cache_addhst.
87439         (readdhstbyname): Return value returned by addhstbyX.
87440         (readdhstbyaddr): Likewise.
87441         (readdhstbynamev6): Likewise.
87442         (readdhstbyaddrv6): Likewise.
87443         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87444         (readdinitgroups): Return value returned by addinitgroupsX.
87445         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87446         (prune_cache): Keep track of timeout value of re-added entries.
87447         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87448         * nscd/nscd.h: Adjust prototypes of readd* functions.
87450 2011-02-04  Roland McGrath  <roland@redhat.com>
87452         * nis/nis_server.c (nis_servstate): Use the right name for 0.
87453         (nis_stats): Likewise.
87454         * nis/nis_modify.c (nis_modify): Likewise.
87455         * nis/nis_remove.c (nis_remove): Likewise.
87456         * nis/nis_add.c (nis_add): Likewise.
87458         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87460         * posix/fnmatch_loop.c: Add some consts.
87462         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87464 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
87466         [BZ #12460]
87467         * config.make.in (config-cflags-novzeroupper): Define.
87468         * configure.in: Substitute libc_cv_cc_novzeroupper.
87469         * elf/Makefile (AVX-CFLAGS): Define.
87470         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87471         (CFLAGS-tst-auditmod4a.c): Likewise.
87472         (CFLAGS-tst-auditmod4b.c): Likewise.
87473         (CFLAGS-tst-auditmod6b.c): Likewise.
87474         (CFLAGS-tst-auditmod6c.c): Likewise.
87475         (CFLAGS-tst-auditmod7b.c): Likewise.
87476         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87478 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
87480         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87481         function to the callback.
87482         Patch partly by Jiri Olsa <jolsa@redhat.com>.
87484 2011-02-02  Andreas Schwab  <schwab@redhat.com>
87486         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87487         of errno.
87489 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
87491         [BZ #11724]
87492         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87493         of constructors.
87494         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87495         of destructors.
87496         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87498         [BZ #11724]
87499         * elf/Makefile: Add rules to build and run new test.
87500         * elf/tst-initorder.c: New file.
87501         * elf/tst-initorder.exp: New file.
87502         * elf/tst-initordera1.c: New file.
87503         * elf/tst-initordera2.c: New file.
87504         * elf/tst-initordera3.c: New file.
87505         * elf/tst-initordera4.c: New file.
87506         * elf/tst-initorderb1.c: New file.
87507         * elf/tst-initorderb2.c: New file.
87508         * elf/tst-order-a1.c: New file.
87509         * elf/tst-order-a2.c: New file.
87510         * elf/tst-order-a3.c: New file.
87511         * elf/tst-order-a4.c: New file.
87512         * elf/tst-order-b1.c: New file.
87513         * elf/tst-order-b2.c: New file.
87514         * elf/tst-order-main.c: New file.
87515         New test case by George Gensure <werkt0@gmail.com>.
87517 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87519         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87520         decoding ACE if AI_CANONIDN.
87522 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87524         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87526 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87528         * version.h (RELEASE): Bump for 2.13 release.
87529         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87531         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87533         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87534         MADV_NOHUGEPAGE.
87535         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87536         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87537         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87538         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87539         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87540         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87542         * posix/getconf.c: Update copyright year.
87543         * catgets/gencat.c: Likewise.
87544         * csu/version.c: Likewise.
87545         * debug/catchsegv.sh: Likewise.
87546         * debug/xtrace.sh: Likewise.
87547         * elf/ldconfig.c: Likewise.
87548         * elf/ldd.bash.in: Likewise.
87549         * elf/sprof.c (print_version): Likewise.
87550         * iconv/iconv_prog.c: Likewise.
87551         * iconv/iconvconfig.c: Likewise.
87552         * locale/programs/locale.c: Likewise.
87553         * locale/programs/localedef.c: Likewise.
87554         * malloc/memusage.sh: Likewise.
87555         * malloc/mtrace.pl: Likewise.
87556         * nscd/nscd.c (print_version): Likewise.
87557         * nss/getent.c: Likewise.
87559         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87560         PF_CAIF, and PF_ALG.
87561         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87563 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87565         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87566         (modules-names): Use them.
87567         (ifunc-test-modules, ifunc-pie-tests): Define.
87568         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87569         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87570         (test-extras): Likewise.
87571         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87572         $(compile-command.c).
87573         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87574         (all-built-dso): Define.
87575         (check-textrel.out, check-execstack.out): Depend on it.
87577         * configure.in: Don't override --enable-multi-arch.
87579 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87581         [BZ #6812]
87582         * nscd/hstcache.c (tryagain): Define.
87583         (cache_addhst): Return tryagain not notfound for temporary errors.
87584         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87585         failed.
87587 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87589         [BZ #10563]
87590         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87591         to make the syscall.
87592         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87594         [BZ #12378]
87595         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87596         and fall back to matching as normal character if the string ends before
87597         the matching ']' is found.  This is what POSIX requires.
87598         * posix/testfnm.c: Adjust test result.
87599         * posix/globtest.sh: Adjust test result.  Add new test.
87600         * posix/tst-fnmatch.input: Likewise.
87601         * posix/tst-fnmatch2.c: Add new test.
87603 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87605         * elf/Makefile (check-execstack): Revert last change.  Depend on
87606         check-execstack.h.
87607         (check-execstack.h): New target.
87608         (generated): Add check-execstack.h.
87609         * elf/check-execstack.c: Include "check-execstack.h".
87610         (main): Revert last change.
87611         (handle_file): Return zero if GNU_STACK is absent and
87612         DEFAULT_STACK_PERMS doesn't include PF_X.
87614 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87616         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87617         in child fails because the descriptor is already closed.
87618         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87619         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87620         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87622         [BZ #12397]
87623         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87624         syscall.
87626         [BZ #10484]
87627         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87628         temporary buffer used to handle multi lookups locally.
87629         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87631 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87633         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87634         loader is ld.so.
87636 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87638         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87639         alignment for SSE2.
87641 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87643         [BZ #12394]
87644         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87645         characters.  When rounding increased number of integer digits recompute
87646         number of groups.
87647         * stdio-common/tst-grouping.c: New file.
87648         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87650 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87652         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87653         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87655         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87656         void.
87657         * bits/select.h: Likewise.
87659 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87661         * po/ja.po: Update from translation team.
87663 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87665         [BZ #11155]
87666         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87667         implementation just like for lxstat, fxstatat, et al.
87669 2010-12-27  Jim Meyering  <meyering@redhat.com>
87671         [BZ #12348]
87672         * posix/regexec.c (build_trtable): Return failure indication upon
87673         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87675 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87677         [BZ #12201]
87678         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87679         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87680         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87681         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87683         [BZ #12207]
87684         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87686         [BZ #12204]
87687         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87688         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87690 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87692         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87693         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87694         script has SORT_BY_INIT_PRIORITY.
87695         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87696         NO_CTORS_DTORS_SECTIONS is defined.
87697         * elf/soinit.c: Likewise.
87698         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87699         NO_CTORS_DTORS_SECTIONS is defined.
87700         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87701         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87702         * sysdeps/sh/init-first.c: Likewise.
87703         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87705 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87707         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87708         always use the slow path.
87710 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87712         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87713         similar rule which adds the sysdep directories to the header search in
87714         order to pick up the correct platform stackinfo.h.
87715         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87716         perform test if it is, otherwise return successfully without testing.
87717         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87718         DEFAULT_STACK_PERMS define in stackinfo.h.
87719         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87720         defined in stackinfo.h.
87721         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87722         DEFAULT_STACK_PERMS defined in stackinfo.h.
87723         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87724         * sysdeps/ia64/stackinfo.h: Likewise.
87725         * sysdeps/s390/stackinfo.h: Likewise.
87726         * sysdeps/sh/stackinfo.h: Likewise.
87727         * sysdeps/sparc/stackinfo.h: Likewise.
87728         * sysdeps/x86_64/stackinfo.h: Likewise.
87729         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87730         PF_X for powerpc64.  Retain PF_X for powerpc32.
87732 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87734         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87735         accurately.
87736         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87737         GETDENTS_64BIT_ALIGNED.
87739 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87741         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87743 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87745         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87746         _GNU_SOURCE.
87748         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87749         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87750         Remove __restrict.
87751         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87752         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87754 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87756         [BZ #11655]
87757         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87758         are initialized.
87760 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87762         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87764 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87766         * po/it.po: Update from translation team.
87768 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87770         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87771         unused codes.
87773 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87775         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87777 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87779         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87780         specially.
87781         (gaih_getanswer_slice): Likewise.
87783 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87785         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87787 2010-05-31  Petr Baudis  <pasky@suse.cz>
87789         [BZ #11149]
87790         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87791         silently even in the chroot mode.
87793 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87795         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87796         last patch a bit.  Pretty printing
87798 2010-05-31  Petr Baudis <pasky@suse.cz>
87800         [BZ #10085]
87801         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87802         initialization of skip_initgroups_dyn.
87804 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87806         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87807         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87809 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87811         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87813 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87815         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87816         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87817         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87818         ($(objpfx)tst-fnmatch-mem): New rule.
87819         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87820         * posix/tst-fnmatch.c (main): Call mtrace.
87822 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87825         Support Intel processor model 6 and model 0x2c.
87827 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87829         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87830           signed comparison.
87832 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87834         [BZ #12205]
87835         * string/test-strncasecmp.c (check_result): New function.
87836         (do_one_test): Use it.
87837         (check1): New function.
87838         (test_main): Use it.
87839         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87840         Support strcasecmp and strncasecmp.
87842 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87844         [BZ #12194]
87845         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87846         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87848 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87850         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87851         IFUNC support.
87852         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87853         memset-x86-64.
87854         * sysdeps/x86_64/multiarch/bzero.S: New file.
87855         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87856         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87857         * sysdeps/x86_64/multiarch/memset.S: New file.
87858         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87860         Set bit_Prefer_SSE_for_memop for Intel processors.
87861         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87862         Define.
87863         (index_Prefer_SSE_for_memop): Define.
87864         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87866 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87868         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87869         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87871 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87873         [BZ #12191]
87874         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87875         (__x86_64_raw_data_cache_size_half): Likewise.
87876         (__x86_64_raw_shared_cache_size): Likewise.
87877         (__x86_64_raw_shared_cache_size_half): Likewise.
87879         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87880         (__x86_64_raw_data_cache_size_half): Likewise.
87881         (__x86_64_raw_shared_cache_size): Likewise.
87882         (__x86_64_raw_shared_cache_size_half): Likewise.
87883         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87884         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87885         and __x86_64_raw_shared_cache_size_half.  Round
87886         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87887         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87888         to multiple of 256 bytes.
87890 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87892         [BZ #12167]
87893         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87894         of inacessible symlinks.  Verify result of symlink before returning it.
87895         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87896         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87898 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87900         * math/math.h (isinf): Fix typo in comment.
87902 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87904         * po/da.po: Update from translation team.
87906 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87908         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87909         is added to the list.
87911 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87912             Ulrich Drepper  <drepper@gmail.com>
87914         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87915         the global list here.  Move code to...
87916         (_dl_add_to_namespace_list): ...here.  New function.
87917         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87918         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87919         * elf/dl-load.c (lose): Don't remove the element from the list.
87920         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87921         (_dl_map_object): Likewise.
87923 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87925         [BZ #12159]
87926         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87927         into all bytes of SSE register.
87928         Patch by Richard Li <richardpku@gmail.com>.
87930 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87932         [BZ #12140]
87933         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87934         perturbing.
87936 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87938         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87939         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87940         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87941         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87943         submachine.
87944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87946 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87948         * include/dlfcn.h (__RTLD_SECURE): Define.
87949         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87950         mode & __RTLD_SECURE instead.
87951         (open_path): Rename preloaded parameter to secure.
87952         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87953         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87954         * elf/dl-deps.c (openaux): Likewise.
87955         * elf/rtld.c (struct map_args): Remove is_preloaded.
87956         (map_doit): Don't use it.
87957         (dl_main): Likewise.
87958         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87959         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87961 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87963         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87964         (sysd-rules-targets): Remove duplicates.
87965         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87966         rtld-%.$o dependency.
87968 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87970         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87971         _dl_map_object do it.
87973 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87975         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87976         fast fma builtins, define the macros in the C99 standard.
87977         (FP_FAST_FMAF): Likewise.
87978         (FP_FAST_FMAL): Likewise.
87979         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87981         * bits/mathdef.h: Update copyright year.
87982         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87984 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87986         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87987         builtins, define the macros in the C99 standard.
87988         (FP_FAST_FMAF): Likewise.
87989         (FP_FAST_FMAL): Likewise.
87990         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87991         multiply/add.
87992         (FP_FAST_FMAF): Likewise.
87994 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87996         [BZ #3268]
87997         * math/libm-test.inc (fma_test): Some new testcases.
87998         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87999         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
88000         y and infinite z.  Do multiplication by C already in long double.
88001         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
88002         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
88003         y and infinite z.  Do bitwise or of inexact bit into u.d.
88004         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
88005         * sysdeps/i386/fpu/s_fmaf.S: Removed.
88006         * sysdeps/i386/fpu/s_fma.S: Removed.
88007         * sysdeps/i386/fpu/s_fmal.S: Removed.
88009 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
88011         [BZ #3268]
88012         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
88013         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
88014         computation is not scheduled after fetestexcept.  Fix value
88015         of minimum denormal long double.
88017 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
88019         [BZ #3268]
88020         * math/libm-test.inc (fma_test): Add some more tests.
88021         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
88022         correctly.
88024 2010-10-15  Andreas Schwab  <schwab@redhat.com>
88026         * scripts/data/localplt-s390-linux-gnu.data: New file.
88027         * scripts/data/localplt-s390x-linux-gnu.data: New file.
88029 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
88031         [BZ #3268]
88032         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
88033         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
88034         instead of dbl-64.
88035         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
88036         inlines.
88037         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
88038         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
88039         if one of x and y is very large and the other is subnormal.
88040         * sysdeps/s390/fpu/s_fmaf.c: New file.
88041         * sysdeps/s390/fpu/s_fma.c: New file.
88042         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
88043         * sysdeps/powerpc/fpu/s_fma.S: New file.
88044         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
88045         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
88046         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
88048 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
88050         [BZ #3268]
88051         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
88052         fma tests.
88053         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88054         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88055         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88056         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88057         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88058         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88059         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88061 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88063         [BZ #12078]
88064         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88065         * posix/bug-regex31.input: Add test case.
88067 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88069         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88070         * posix/bug-regex31.input: New file.
88072         [BZ #12078]
88073         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88074         (parse_sub_exp): Fix last change, use postorder.
88076         * posix/bug-regex31.c: New file.
88077         * posix/Makefile: Add rules to build and run bug-regex31.
88079         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88081         [BZ #12078]
88082         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88084         [BZ #12108]
88085         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88086         to have entries in sys_siglist.
88088         [BZ #12093]
88089         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88090         be NULL.
88092 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88094         [BZ #3268]
88095         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88096         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88097         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88098         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88099         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88100         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88101         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88102         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88103         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88104         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88105         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88106         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88107         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88108         * math/ftestexcept.c (fetestexcept): Likewise.
88109         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88110         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88111         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88112         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88113         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88114         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88115         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88117 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88119         [BZ #12107]
88120         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88121         newline.
88123 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88125         * string/bug-strstr1.c: New file.
88126         * string/Makefile: Add rules to build and run bug-strstr1.
88128 2010-10-05  Eric Blake  <eblake@redhat.com>
88130         [BZ #12092]
88131         * string/str-two-way.h (two_way_long_needle): Always clear memory
88132         when skipping input due to the shift table.
88134 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88136         [BZ #12005]
88137         * malloc/mcheck.c: Handle large requests.
88139         [BZ #12077]
88140         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88141         for strncmp and strncasecmp.
88142         * string/stratcliff.c: Add tests for strcmp and strncmp.
88143         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88145 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88147         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88148         __set_fpscr.
88150 2010-09-30  Andreas Jaeger  <aj@suse.de>
88152         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88153         (CGROUP_SUPER_MAGIC): Define.
88154         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88155         Handle btrfs and cgroup file systems.
88156         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88157         Likewise.
88159 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88161         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88162         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88164 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88166         [BZ #12067]
88167         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88168         trying to locate the ELF header.
88170 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88172         [BZ #11611]
88173         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88174         Mask out sign-bit copies when constructing f_fsid.
88176 2010-09-24  Petr Baudis <pasky@suse.cz>
88178         * debug/stack_chk_fail_local.c: Add missing licence exception.
88179         * debug/warning-nop.c: Likewise.
88181 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88183         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88184         implementing getdents64 using getdents syscall, set d_type if
88185         __ASSUME_GETDENTS32_D_TYPE.
88187 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88189         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88190         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88192 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88194         [BZ #12037]
88195         * posix/unistd.h: Undo change of feature selection for ftruncate from
88196         2010-01-11.
88198 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88200         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88201         detection.
88203 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88205         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88206         fanotify_mark.
88207         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88209 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88211         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88212         variables after CHECK_SP call.
88213         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88215 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88216             Ulrich Drepper  <drepper@redhat.com>
88218         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88219         re-relocationg ld.so.
88220         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88221         _dl_init_paths call.
88222         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88223         here anymore.
88225 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88227         * resolv/res_init.c (__res_vinit): Count the default server we added.
88229 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88230             Ulrich Drepper  <drepper@redhat.com>
88232         [BZ #11968]
88233         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88234         (____longjmp_chk): Use %ebx for saving value across system call.
88235         Add unwind info.
88237 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88239         * manual/Makefile: Don't mix pattern rules with normal rules.
88241 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88243         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88244         operation.
88245         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88246         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88247         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88248         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88249         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88250         Likewise.
88252 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88254         [BZ #11979]
88255         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88256         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88258 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88260         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88261         * sysdeps/x86_64/addmul_1.S: Likewise.
88262         * sysdeps/x86_64/lshift.S: Likewise.
88263         * sysdeps/x86_64/mul_1.S: Likewise.
88264         * sysdeps/x86_64/rshift.S: Likewise.
88265         * sysdeps/x86_64/sub_n.S: Likewise.
88266         * sysdeps/x86_64/submul_1.S: Likewise.
88268 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88270         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88271         Define __sched_param instead of SCHED_* and sched_param when
88272         <bits/sched.h> is included with __need_schedparam defined.
88273         * bits/sched.h [__need_schedparam]
88274         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88275         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88276         (__defined_schedparam): Define to 1.
88277         (__sched_param): New structure, identical to sched_param.
88278         (__need_schedparam): Undefine.
88280 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
88282         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88283         (epoll_create1): Declare.
88285         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88287 2010-08-31  Andreas Schwab  <schwab@redhat.com>
88289         [BZ #7066]
88290         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88291         shifting retval into place.
88293 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
88295         * nis/rpcsvc/nis.h: Update copyright notice.
88296         * nis/rpcsvc/nis.x: Likewise.
88297         * nis/rpcsvc/nis_callback.h: Likewise.
88298         * nis/rpcsvc/nis_callback.x: Likewise.
88299         * nis/rpcsvc/nis_object.x: Likewise.
88300         * nis/rpcsvc/nis_tags.h: Likewise.
88301         * nis/rpcsvc/yp.h: Likewise.
88302         * nis/rpcsvc/yp.x: Likewise.
88303         * nis/rpcsvc/ypupd.h: Likewise.
88304         * nis/yp_xdr.c: Likewise.
88305         * nis/ypupdate_xdr.c: Likewise.
88307         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
88308         mainly the body of pmap_getport.  Add parameters to specify timeouts.
88309         (pmap_getport): Use __libc_rpc_getport.
88310         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88311         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88312         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88314 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
88316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88317         fanotify_mark.
88319 2010-08-27  Roland McGrath  <roland@redhat.com>
88321         * sysdeps/i386/i686/multiarch/Makefile
88322         (CFLAGS-varshift.c): New variable.
88324 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
88326         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88327         * sysdeps/i386/i686/multiarch/varshift.c: New file.
88329         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88331         * sysdeps/x86_64/strlen.S: Minimal code improvement.
88333 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88335         * sysdeps/x86_64/strlen.S: Unroll the loop.
88336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88337         strlen-sse2 strlen-sse2-bsf.
88338         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88339         __strlen_no_bsf if bit_Slow_BSF is set.
88340         (__strlen_sse42): Removed.
88341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88342         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88344 2010-08-25  Roland McGrath  <roland@redhat.com>
88346         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88347         * sysdeps/x86_64/multiarch/varshift.c: New file.
88348         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88349         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88350         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88351         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88353 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88355         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88356         strlen-sse2 strlen-sse2-bsf.
88357         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88358         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88359         (__strlen_sse2): Removed.
88360         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88361         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88362         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88363         bit_Slow_BSF for Atom.
88364         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88365         (index_Slow_BSF): Define.
88366         (HAS_SLOW_BSF): Define.
88368 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88370         [BZ #10851]
88371         * resolv/res_init.c (__res_vinit): When no server address at all
88372         is given default to loopback.
88374 2010-08-24  Roland McGrath  <roland@redhat.com>
88376         * configure.in: Remove config-name.h generation.
88377         * configure: Regenerated.
88378         * config-name.in: File removed.
88379         * scripts/config-uname.sh: New file.
88380         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88381         ($(objdir)config-name.h): New target.
88383         * sunrpc/rpc_parse.h: Avoid nested comment.
88385 2010-08-24  Richard Henderson  <rth@redhat.com>
88386             Ulrich Drepper  <drepper@redhat.com>
88387             H.J. Lu  <hongjiu.lu@intel.com>
88389         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88390         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88391         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88392         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88393         _mm_alignr_epi8 with _mm_loadu_si128.
88394         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88395         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88396         (__m128i_shift_right): Removed.
88397         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88398         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88399         * sysdeps/x86_64/multiarch/varshift.h: New file.
88400         * sysdeps/x86_64/multiarch/varshift.S: New file.
88402 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88404         * configure.in: Move assembler checks to before sysdep dir checking.
88406 2010-08-20  Petr Baudis  <pasky@suse.cz>
88408         * LICENSES: Sync the sunrpc license.
88410 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88412         * sunrpc/auth_des.c: Update copyright notice once again.
88413         * sunrpc/auth_none.c: Likewise.
88414         * sunrpc/auth_unix.c: Likewise.
88415         * sunrpc/authdes_prot.c: Likewise.
88416         * sunrpc/authuxprot.c: Likewise.
88417         * sunrpc/bindrsvprt.c: Likewise.
88418         * sunrpc/clnt_gen.c: Likewise.
88419         * sunrpc/clnt_perr.c: Likewise.
88420         * sunrpc/clnt_raw.c: Likewise.
88421         * sunrpc/clnt_simp.c: Likewise.
88422         * sunrpc/clnt_tcp.c: Likewise.
88423         * sunrpc/clnt_udp.c: Likewise.
88424         * sunrpc/clnt_unix.c: Likewise.
88425         * sunrpc/des_crypt.c: Likewise.
88426         * sunrpc/des_soft.c: Likewise.
88427         * sunrpc/get_myaddr.c: Likewise.
88428         * sunrpc/getrpcport.c: Likewise.
88429         * sunrpc/key_call.c: Likewise.
88430         * sunrpc/key_prot.c: Likewise.
88431         * sunrpc/openchild.c: Likewise.
88432         * sunrpc/pm_getmaps.c: Likewise.
88433         * sunrpc/pm_getport.c: Likewise.
88434         * sunrpc/pmap_clnt.c: Likewise.
88435         * sunrpc/pmap_prot.c: Likewise.
88436         * sunrpc/pmap_prot2.c: Likewise.
88437         * sunrpc/pmap_rmt.c: Likewise.
88438         * sunrpc/rpc/auth.h: Likewise.
88439         * sunrpc/rpc/auth_unix.h: Likewise.
88440         * sunrpc/rpc/clnt.h: Likewise.
88441         * sunrpc/rpc/des_crypt.h: Likewise.
88442         * sunrpc/rpc/key_prot.h: Likewise.
88443         * sunrpc/rpc/netdb.h: Likewise.
88444         * sunrpc/rpc/pmap_clnt.h: Likewise.
88445         * sunrpc/rpc/pmap_prot.h: Likewise.
88446         * sunrpc/rpc/pmap_rmt.h: Likewise.
88447         * sunrpc/rpc/rpc.h: Likewise.
88448         * sunrpc/rpc/rpc_des.h: Likewise.
88449         * sunrpc/rpc/rpc_msg.h: Likewise.
88450         * sunrpc/rpc/svc.h: Likewise.
88451         * sunrpc/rpc/svc_auth.h: Likewise.
88452         * sunrpc/rpc/types.h: Likewise.
88453         * sunrpc/rpc/xdr.h: Likewise.
88454         * sunrpc/rpc_clntout.c: Likewise.
88455         * sunrpc/rpc_cmsg.c: Likewise.
88456         * sunrpc/rpc_common.c: Likewise.
88457         * sunrpc/rpc_cout.c: Likewise.
88458         * sunrpc/rpc_dtable.c: Likewise.
88459         * sunrpc/rpc_hout.c: Likewise.
88460         * sunrpc/rpc_main.c: Likewise.
88461         * sunrpc/rpc_parse.c: Likewise.
88462         * sunrpc/rpc_parse.h: Likewise.
88463         * sunrpc/rpc_prot.c: Likewise.
88464         * sunrpc/rpc_sample.c: Likewise.
88465         * sunrpc/rpc_scan.c: Likewise.
88466         * sunrpc/rpc_scan.h: Likewise.
88467         * sunrpc/rpc_svcout.c: Likewise.
88468         * sunrpc/rpc_tblout.c: Likewise.
88469         * sunrpc/rpc_util.c: Likewise.
88470         * sunrpc/rpc_util.h: Likewise.
88471         * sunrpc/rpcinfo.c: Likewise.
88472         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88473         * sunrpc/rpcsvc/key_prot.x: Likewise.
88474         * sunrpc/rpcsvc/klm_prot.x: Likewise.
88475         * sunrpc/rpcsvc/mount.x: Likewise.
88476         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88477         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88478         * sunrpc/rpcsvc/rex.x: Likewise.
88479         * sunrpc/rpcsvc/rstat.x: Likewise.
88480         * sunrpc/rpcsvc/rusers.x: Likewise.
88481         * sunrpc/rpcsvc/sm_inter.x: Likewise.
88482         * sunrpc/rpcsvc/spray.x: Likewise.
88483         * sunrpc/rpcsvc/yppasswd.x: Likewise.
88484         * sunrpc/rtime.c: Likewise.
88485         * sunrpc/svc.c: Likewise.
88486         * sunrpc/svc_auth.c: Likewise.
88487         * sunrpc/svc_authux.c: Likewise.
88488         * sunrpc/svc_raw.c: Likewise.
88489         * sunrpc/svc_run.c: Likewise.
88490         * sunrpc/svc_simple.c: Likewise.
88491         * sunrpc/svc_tcp.c: Likewise.
88492         * sunrpc/svc_udp.c: Likewise.
88493         * sunrpc/svc_unix.c: Likewise.
88494         * sunrpc/svcauth_des.c: Likewise.
88495         * sunrpc/xcrypt.c: Likewise.
88496         * sunrpc/xdr.c: Likewise.
88497         * sunrpc/xdr_array.c: Likewise.
88498         * sunrpc/xdr_float.c: Likewise.
88499         * sunrpc/xdr_mem.c: Likewise.
88500         * sunrpc/xdr_rec.c: Likewise.
88501         * sunrpc/xdr_ref.c: Likewise.
88502         * sunrpc/xdr_sizeof.c: Likewise.
88503         * sunrpc/xdr_stdio.c: Likewise.
88505         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88506         handling.
88508 2010-08-19  Andreas Schwab  <schwab@redhat.com>
88510         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88512 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
88514         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88515         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88516         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88517         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88518         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88519         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88520         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88521         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88522         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88523         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88524         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88525         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88526         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88527         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88529 2010-07-26  Anton Blanchard  <anton@samba.org>
88531         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88532         * malloc/arena.c (heap_trim): Likewise.
88534 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88536         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88537         here.  Not...
88538         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88539         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88541 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88543         * sysdeps/i386/elf/Makefile: New file.
88545 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88547         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88548         from fanotify_init.
88549         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88550         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88552 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88554         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88555         of strncasecmp_l.
88556         * sysdeps/multiarch/strcmp.S: Likewise.
88558 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88560         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88561         strncase_l-nonascii.
88562         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88563         Add strncase_l-ssse3.
88564         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88565         * sysdeps/x86_64/strcmp.S: Likewise.
88566         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88567         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88568         * sysdeps/x86_64/strncase.S: New file.
88569         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88570         * sysdeps/x86_64/strncase_l.S: New file.
88571         * string/Makefile (strop-tests): Add strncasecmp.
88572         * string/test-strncasecmp.c: New file.
88574         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88575         warning.
88577         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88578         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88580 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88582         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88584 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88586         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88587         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88588         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88590 2010-05-01  Alan Modra  <amodra@gmail.com>
88592         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88593         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88594         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88595         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88596         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88597         tidying.  Don't tail-call __sigjmp_save for static lib.
88598         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88599         save location.
88600         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88601         (CALL_MCOUNT): Add eh info, and nop after bl.
88602         (TAIL_CALL_SYSCALL_ERROR): New macro.
88603         (PSEUDO_RET): Use it.
88604         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88605         Correct save location of integer regs and cr.
88606         (_dl_profile_resolve): Correct cr save location.  Delete nops
88607         after bl when SHARED.  Reduce cfi size a little by better
88608         placement of cfi directives.
88609         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88610         make a stack frame.  Instead use parm save area as a temp.
88611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88612         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88614         Don't make a stack frame for parent, use parm save area.
88615         Increase child stack frame to 112 bytes.  Don't save unused reg,
88616         and adjust reg usage.  Set up cfi on error recovery and
88617         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88619         (__makecontext): Add dummy nop after jump to exit.
88620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88621         Use correct parm save area and cr save, reduce stack frame.
88622         Correct cfi for possible PSEUDO_RET frame setup.
88623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88624         Branch to local label emitted by PSEUDO_RET rather than
88625         __syscall_error.
88627 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88629         [BZ #11904]
88630         * locale/programs/locale.c (print_assignment): New function.
88631         (show_locale_vars): Use it.
88633 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88635         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88636         field.
88637         (struct statfs64): Likewise.
88638         (_STATFS_F_FLAGS): Define.
88639         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88640         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88641         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88642         (ST_VALID): Define locally.
88643         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88644         __statvfs_getflags, use the provided value.
88645         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88646         __ASSUME_STATFS_F_FLAGS.
88648         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88650         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88651         Add sys/fanotify.h.
88652         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88653         fanotify_mask for GLIBC_2.13.
88654         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88655         fanotify_init and fanotify_mark.
88656         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88657         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88659         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88660         Add prlimit.
88661         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88662         prlimit64 for GLIBC_2.13.
88663         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88664         prlimit64.
88665         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88666         syscall.
88667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88668         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88669         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88670         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88671         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88672         add prlimit alias.
88673         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88675         [BZ #11903]
88676         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88677         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88679         * nss/Makefile: Add rules to build and run tst-nss-test1.
88680         * shlib-versions: Add entry for libnss_test1.
88681         * nss/nss_test1.c: New file.
88682         * nss/tst-nss-test1.c: New file.
88684         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88685         (__nss_configure_lookup): Set appropriate entry in
88686         __nss_configure_lookup to true.
88687         * nss/nsswitch.h: Define enum with indeces of databases in
88688         databases and __nss_database_custom arrays.  Declare
88689         __nss_database_custom.
88690         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88691         to avoid using nscd when custom rules are installed.
88692         * nss/getXXbyYY_r.c: Likewise.
88693         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88695         * nss/nss_files/files-parse.c: Whitespace fixes.
88697 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88699         [BZ #11883]
88700         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88701         * posix/fnmatch_loop.c: Likewise.
88703 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88705         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88706         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88707         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88708         * Versions.def [GLIBC_2.13]: Add.
88710 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88712         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88713         Also fail if tpwd after pwuid call is NULL.
88715 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88717         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88718         when converting to ms.
88720 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88722         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88723         EOPNOTSUPP errors with ENOTTY.
88724         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88725         EOPNOTSUPP errors with ENOTTY.
88727 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88729         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88730         Add strcasecmp_l-ssse3.
88731         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88732         strcasecmp.
88733         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88734         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88735         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88737 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88739         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88741         * string/Makefile (strop-tests): Add strcasecmp.
88742         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88743         strcasecmp_l-nonascii.
88744         (gen-as-const-headers): Add locale-defines.sym.
88745         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88746         * sysdeps/x86_64/strcasecmp.S: New file.
88747         * sysdeps/x86_64/strcasecmp_l.S: New file.
88748         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88749         * sysdeps/x86_64/locale-defines.sym: New file.
88750         * string/test-strcasecmp.c: New file.
88752         * string/test-strcasestr.c: Test both ends of the range of characters.
88753         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88755 2010-07-29  Roland McGrath  <roland@redhat.com>
88757         [BZ #11856]
88758         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88760 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88762         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88763         for ld.so.
88765 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88767         * manual/memory.texi (Malloc Tunable Parameters): Document
88768         M_PERTURB.
88770 2010-07-26  Roland McGrath  <roland@redhat.com>
88772         [BZ #11840]
88773         * configure.in (-fgnu89-inline check): Set and substitute
88774         gnu89_inline, not libc_cv_gnu89_inline.
88775         * configure: Regenerated.
88776         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88778 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88780         * string/test-strnlen.c: New file.
88781         * string/Makefile (strop-tests): Add strnlen.
88782         * string/tester.c (test_strnlen): Add a few more test cases.
88783         * string/tst-strlen.c: Better error reporting.
88785         * sysdeps/x86_64/strnlen.S: New file.
88787 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88789         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88790         lower-latency instructions.
88792 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88794         * string/test-strcasestr.c: New file.
88795         * string/test-strstr.c: New file.
88796         * string/Makefile (strop-tests): Add strstr and strcasestr.
88797         * string/str-two-way.h: Don't undefine MAX.
88798         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88800 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88802         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88803         strcasestr-nonascii.
88804         (CFLAGS-strcasestr-nonascii.c): Define.
88805         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88806         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88807         Remove unused attribute.
88809 2010-07-20  Roland McGrath  <roland@redhat.com>
88811         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88812         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88813         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88814         like LD_HWCAP_MASK can disable hwcaps.
88816 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88818         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88820 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88822         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88823         call in strcasestr.
88824         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88825         __strcasestr_sse42_nonascii.
88826         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88827         strcasestr-nonascii.c.
88828         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88830 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88832         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88833         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88834         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88835         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88837 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88839         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88840         fcntl.
88842 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88844         [BZ #11577]
88845         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88846         dl_signal_cerror.
88848 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88850         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88851         _PC_PIPE_BUF using F_GETPIPE_SZ.
88853 2010-07-05  Roland McGrath  <roland@redhat.com>
88855         * manual/arith.texi (Rounding Functions): Fix rint description
88856         implicit in round description.
88858 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88860         * elf/Makefile: Fix linking for a few tests to make recent linker
88861         happy.
88863 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88865         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88866         $(common-objpfx)libc_nonshared.a.
88868 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88870         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88871         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88872         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88873         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88874         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88875         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88876         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88877         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88892         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88893         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88894         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88895         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88896         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88897         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88898         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88899         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88900         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88901         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88902         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88903         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88919 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88921         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88922         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88923         * string/memmove.c (memmove): Renamed to ...
88924         (MEMMOVE): ...this.  Default to memmove.
88925         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88926         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88927         (END_CHK): Define.
88928         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88929         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88930         mempcpy-ssse3-back memmove-ssse3-back.
88931         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88932         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88933         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88934         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88935         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88936         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88937         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88938         * sysdeps/x86_64/multiarch/memmove.c: New file.
88939         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88940         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88941         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88942         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88943         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88944         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88945         Define.
88946         (index_Fast_Copy_Backward): Define.
88947         (HAS_ARCH_FEATURE): Define.
88948         (HAS_FAST_REP_STRING): Define.
88949         (HAS_FAST_COPY_BACKWARD): Define.
88951 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88953         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88954         Restore proper fallback handling.
88956 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88958         [BZ #11701]
88959         * posix/group_member.c (__group_member): Correct checking loop.
88961         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88962         OOM in getpwuid_r correctly.  Return error number when the caller
88963         should return, otherwise -1.
88964         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88965         call returning > 0 value.
88966         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88968 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88970         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88971         libc_nonshared.a from targets in modules-names.
88973 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88975         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88976         requires it.
88978 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88980         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88981         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88982         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88983         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88985 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88987         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88989 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88991         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88992         and F_GETPIPE_SZ.
88993         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88994         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88995         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88996         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88997         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88998         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
89000 2010-06-14  Roland McGrath  <roland@redhat.com>
89002         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
89004 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
89006         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
89007         __REDIRECT followed by __THROW.
89008         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
89009         * posix/getopt.h (getopt): Likewise.
89011 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
89013         * hurd/lookup-at.c (__file_name_lookup_at): Accept
89014         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
89015         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
89016         in AT_FLAGS.
89017         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
89018         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
89020 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
89022         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
89024 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
89026         [BZ #11640]
89027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89028         Properly check family and model.
89030 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
89032         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
89034 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
89036         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
89038 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
89040         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
89041         symbol reference.
89043 2010-05-19  Andreas Schwab  <schwab@redhat.com>
89045         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
89046         symbol reference.
89048 2010-05-21  Andreas Schwab  <schwab@redhat.com>
89050         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
89051         and internal_recvmmsg.
89052         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
89053         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89054         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89055         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89057         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89058         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89059         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89061 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89063         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89065 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89067         POWER7 optimizations.
89068         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89069         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89071 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89073         * version.h: Update for 2.13 development version.
89075 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89077         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89078         exceptions.  Return 0.
89080 2010-05-07  Roland McGrath  <roland@redhat.com>
89082         * elf/ldconfig.c (main): Add a const.
89084 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89086         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89087         (args_options): Add no-idn option.
89088         (ahosts_keys_int): Add idn_flags to ai_flags.
89089         (parse_option): Handle 'i' option to clear idn_flags.
89091         * malloc/malloc.c (_int_free): Possible race in the most recently
89092         added check.  Only act on the data if no current modification
89093         happened.
89095 See ChangeLog.17 for earlier changes.