Use CPU_FEATURES_CPU_P to check if AVX is available
[glibc.git] / ChangeLog
blob4bafcd183c25140c1126b44f49710487df7df130
1 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
4         CPU_FEATURES_CPU_P.
6 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
8         [BZ #21259]
9         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
10         unconditionally, not just for [__USE_MISC].
12         [BZ #17786]
13         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
14         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
15         mips-o32-linux.
17         [BZ #21260]
18         * sysdeps/unix/sysv/linux/alpha/Makefile
19         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
20         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
22         * conform/conformtest.pl ($cross): New variable.
23         (--cross): New command-line option.
24         (runtest): Skip test execution when cross-compiling.
25         * conform/Makefile (conformtest-cross): New variable.
26         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
27         conformtest.pl.
29         * conform/conformtest.pl ($xfail_str): New variable.
30         (--xfail=): New command-line option.
31         (top level): Handle expectations starting xfail[cond]-.
32         * conform/Makefile (conformtest-xfail): New variable.
33         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
34         conformtest.pl.
36 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
38         * conform/conformtest.pl: Use compilation instead of execution
39         tests for testing values of constants and usability in #if.
41 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43         * math/auto-libm-test-in: Mark some catan and catanh as
44         xfail-rounding:ibm128-libgcc.
45         * math/auto-libm-test-out-catan: Regenerate.
46         * math/auto-libm-test-out-catanh: Likewise.
48 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
50         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
51         (__END_NAMESPACE_STD): Likewise.
52         (__USING_NAMESPACE_STD): Likewise.
53         (__BEGIN_NAMESPACE_C99): Likewise.
54         (__END_NAMESPACE_C99): Likewise.
55         (__USING_NAMESPACE_C99): Likewise.
56         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
57         undefine macro.
58         (_Mdouble_END_NAMESPACE): Likewise.
59         * ctype/ctype.h: Do not handle C++ namespaces.
60         * libio/bits/stdio-ldbl.h: Likewise.
61         * libio/stdio.h: Likewise.
62         * locale/locale.h: Likewise.
63         * math/bits/mathcalls.h: Likewise.
64         * setjmp/setjmp.h: Likewise.
65         * signal/signal.h: Likewise.
66         * stdlib/bits/stdlib-float.h: Likewise.
67         * stdlib/bits/stdlib-ldbl.h: Likewise.
68         * stdlib/stdlib.h: Likewise.
69         * string/string.h: Likewise.
70         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
71         * time/bits/types/clock_t.h: Likewise.
72         * time/bits/types/struct_tm.h: Likewise.
73         * time/bits/types/time_t.h: Likewise.
74         * time/time.h: Likewise.
75         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76         * wcsmbs/uchar.h: Likewise.
77         * wcsmbs/wchar.h: Likewise.
78         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
79         * wctype/wctype.h: Do not handle C++ namespaces.
80         * scripts/begin-end-check.pl: Remove.
81         * Makefile (installed-headers): Likewise.
82         (tests-special): Do not add $(objpfx)begin-end-check.out.
83         ($(objpfx)begin-end-check.out): Remove.
85 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
86             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
88         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
89         (DL_PLATFORM_INIT): New define.
90         (dl_platform_init): New function.
91         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
92         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
93         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
94         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
95         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
97 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
99         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
100         instead of PIC.
102 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
104         [BZ #21094]
105         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
106         24+24+24-bit pi for wider range of values around pi/2.
107         * math/auto-libm-test-in: Add more tests of cos and tan.
108         * math/auto-libm-test-out-cos: Regenerated.
109         * math/auto-libm-test-out-tan: Likewise.
111 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
113         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
114         (RTLD_START): Don't record stack end address in _dl_start_user.
116 2017-03-15  Alexey Neyman  <stilor@att.net>
118         [BZ #21088]
119         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
120         around definitions match those around use.
122 2017-03-15  Alexey Neyman  <stilor@att.net>
124         * configure.ac: Avoid empty subexpression in grep.
125         * configure: Regenerate.
127 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
129         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
130         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
131         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
132         (test_wrp_rv): Fix format.
133         (test_wrp_rv2): New macro.
134         (do_test): Handle mlock return on 64 bits kernels with 32 bits
135         binaries.
137 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
139         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
140         Use a union when storing pointers.
141         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
142         cast result when passing to INIT_VEC_PTRS_LOOP.
143         (VECTOR_WRAPPER_fFF_3): Likewise.
144         (VECTOR_WRAPPER_fFF_4): Likewise.
146 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
148         * include/bits/mathcalls-helper-functions.h: New file.
149         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
150         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
151         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
152         math/bits/mathcalls-helper-functions.h.
153         * math/bits/mathcalls-helper-functions.h: New file.
154         * math/math.h: Include bits/mathcalls-helper-functions.h for
155         float, double, and long double.
157 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
159         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
160         instead of feraiseexcept.
162 2017-03-15  Florian Weimer  <fweimer@redhat.com>
164         [BZ #21243]
165         * support/temp_file.c (support_delete_temp_files): Add comment
166         about ignored errors.
168 2017-03-15  Florian Weimer  <fweimer@redhat.com>
170         [BZ #21244]
171         * support/xclose.c: New file.
172         * support/Makefile (libsupport-routines): Add xclose.
173         * support/xunistd.h (xclose): Declare.
174         * support/resolv_test.c (server_thread_tcp_client)
175         (server_thread_tcp, make_server_sockets, resolv_test_start)
176         (resolv_test_end): Call xclose instead of close.
177         * support/support_enter_network_namespace.c
178         (support_enter_network_namespace): Likewise.
179         * support/support_run_diff.c (write_to_temp_file): Likewise.
181 2017-03-15  Florian Weimer  <fweimer@redhat.com>
183         * support/support_format_dns_packet.c (support_format_dns_packet):
184         Handle CNAME records in the response.  Extract RDATA names from
185         rdata, not the whole packet.  Check AAAA record length.
186         * support/tst-support_format_dns_packet.c: New file.
187         * support/Makefile (tests): Add tst-support_format_dns_packet.
188         (tst-support_format_dns_packet): Link against libresolv.
190 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
192         [BZ #21232]
193         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
194         posix_fadvise64 weak_alias for static build.
196 2017-03-14  Andreas Schwab  <schwab@suse.de>
198         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
199         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
200         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
201         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
202         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
203         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
204         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
205         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
207 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
209         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
210         posix error code.
211         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
213 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
215         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
216         no_isolate usage for SH.
218 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
220         [BZ #15105]
221         [BZ #19463]
222         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
223         * inet/rcmd.c (rcmd_af): Likewise.
224         * inet/rexec.c   (rexec_af): Likewise.
225         * intl/dcigettext.c (_LIBC): Likewise.
226         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
227         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
228         * locale/setlocale.c (setlocale): Likewise.
229         * posix/spawn_faction_addopen.c
230         (posix_spawn_file_actions_addopen): Likewise.
231         * stdlib/putenv.c (putenv): Use __strndup.
232         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
234         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
235         (__Need_M_And_C) Remove define/undef.
236         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
237         (__malloc_and_calloc_defined): Remove define.
238         * string/bits/string2.h (__strdup): Remove define.
239         (strdup): Likewise.
240         (__strndup): Likewise.
241         (strndup): Likewise.
243 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
245         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
246         macro.
247         (IPV6_ADDR_PREFERENCES): Likewise.
248         (IPV6_MINHOPCOUNT): Likewise.
249         (IPV6_ORIGDSTADDR): Likewise.
250         (IPV6_RECVORIGDSTADDR): Likewise.
251         (IPV6_TRANSPARENT): Likewise.
252         (IPV6_UNICAST_IF): Likewise.
253         (IPV6_RECVFRAGSIZE): Likewise.
255 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
257         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
259 2017-03-12  Alexey Neyman <stilor@att.net>
261         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
262         in R_SH_DIR32 case is always false when inlined from
263         dl-conflict.c. Ifdef out to prevent GCC from insertin an
265 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
267         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
268         (__ASSUME_RECV_SYSCALL): Replace duplicate by
269         __ASSUME_SEND_SYSCALL.
271 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
273         * sunrpc/Makefile: don't build and install rpcsvc header
274         files, rpcgen and librpcsvc.a by default.
276 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
278         * math/auto-libm-test-out-catan: Regenerated.
279         * math/auto-libm-test-out-catanh: Likewise.
280         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
282 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
284         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
285         for long double with corrected test expectations.
287 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
289         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
290         Define.
291         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
292         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
293         * sysdeps/unix/sysv/linux/nios2/sysdep.h
294         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
295         * sysdeps/unix/sysv/linux/tile/sysdep.h
296         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
297         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
298         (__ASSUME_RECV_SYSCALL): Define.
299         * sysdeps/unix/sysv/linux/arm/kernel-features.h
300         (__ASSUME_RECV_SYSCALL): Likewise.
301         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
302         (__ASSUME_RECV_SYSCALL): Likewise.
303         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
304         (__ASSUME_RECV_SYSCALL): Likewise.
305         * sysdeps/unix/sysv/linux/mips/kernel-features.h
306         (__ASSUME_RECV_SYSCALL): Likewise.
307         * sysdeps/unix/sysv/linux/i386/kernel-features.h
308         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
309         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
310         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
311         * sysdeps/unix/sysv/linux/s390/kernel-features.h
312         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
313         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
314         auto-generation list.
315         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
316         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
317         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
318         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
319         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
320         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
321         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
322         __ASSUME_SENDTO_SYSCALL.
323         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
324         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
325         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
327         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
328         auto-generation list.
329         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
330         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
331         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
332         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
333         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
334         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
335         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
336         * sysdeps/unix/sysv/linux/kernel-features.h
337         (__ASSUME_SENDTO_SYSCALL): Define by default.
338         * sysdeps/unix/sysv/linux/i386/kernel-features.h
339         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
340         __NR_sendto.
341         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
342         (__ASSUME_SENDTO_SYSCALL): Likewise.
343         * sysdeps/unix/sysv/linux/s390/kernel-features.h
344         (__ASSUME_SENDTO_SYSCALL): Likewise.
345         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
346         (__ASSUME_SENDTO_SYSCALL): Remove definition.
347         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
348         (__ASSUME_SENDTO_SYSCALL): Likewise.
349         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
350         (__ASSUME_SENDTO_SYSCALL): Likewise.
351         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
353         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
354         auto-generation list.
355         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
356         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
357         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
358         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
359         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
360         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
361         (__ASSUME_RECV_SYSCALL): New define.
362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
363         (__ASSUME_RECV_SYSCALL): Likewise.
364         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
365         (__ASSUME_RECV_SYSCALL): Likewise.
366         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
367         (__ASSUME_RECV_SYSCALL): Likewise.
368         * sysdeps/unix/sysv/linux/mips/kernel-features.h
369         (__ASSUME_RECV_SYSCALL): Likewise.
370         * sysdeps/unix/sysv/linux/i386/kernel-features.h
371         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
373         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
374         * sysdeps/unix/sysv/linux/s390/kernel-features.h
375         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
376         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
377         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
378         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
379         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
380         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
381         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
383         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
384         auto-generation list.
385         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
386         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
387         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
388         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
389         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
390         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
391         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
392         * sysdeps/unix/sysv/linux/i386/kernel-features.h
393         (__ASSUME_RECVFROM_SYSCALL): Define by default.
394         * sysdeps/unix/sysv/linux/kernel-features.h
395         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
396         __NR_recvfrom.
397         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
398         (__ASSUME_RECVFROM_SYSCALL): Likewise.
399         * sysdeps/unix/sysv/linux/s390/kernel-features.h
400         (__ASSUME_RECVFROM_SYSCALL): Likewise.
401         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
402         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
403         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
404         (__ASSUME_RECVFROM_SYSCALL): Likewise.
405         * sysdeps/unix/sysv/linux/sh/kernel-features.h
406         (__ASSUME_RECVFROM_SYSCALL): Likewise.
407         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
408         (__ASSUME_RECVFROM_SYSCALL): Likewise.
409         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
411         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
412         auto-generation list.
413         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
414         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
415         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
416         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
417         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
418         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
419         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
420         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
421         * sysdeps/unix/sysv/linux/kernel-features.h
422         (__ASSUME_CONNECT_SYSCALL): Define.
423         * sysdeps/unix/sysv/linux/i386/kernel-features.h
424         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
425         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
426         (__ASSUME_CONNECT_SYSCALL): Likewise.
427         * sysdeps/unix/sysv/linux/s390/kernel-features.h
428         (__ASSUME_CONNECT_SYSCALL): Likewise.
429         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
430         (__ASSUME_CONNECT_SYSCALL): Likewise.
432         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
433         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
434         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
435         auto-generation list.
436         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
437         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
438         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
439         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
440         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
441         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
442         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
443         * sysdeps/unix/sysv/linux/i386/kernel-features.h
444         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
445         (__ASSUME_ACCEPT_SYSCALL): Undefine.
446         * sysdeps/unix/sysv/linux/kernel-features.h
447         (__ASSUME_ACCEPT_SYSCALL): New define.
448         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
449         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
450         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
451         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
452         (__ASSUME_ACCEPT_SYSCALL): Define.
453         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
454         (__ASSUME_ACCEPT_SYSCALL): Undefine.
455         * sysdeps/unix/sysv/linux/s390/kernel-features.h
456         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
457         (__ASSUME_ACCEPT_SYSCALL): Undefine.
458         * sysdeps/unix/sysv/linux/sh/kernel-features.h
459         (__ASSUME_ACCEPT_SYSCALL): Undefine.
460         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
461         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
463 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
464             Zack Weinberg  <zackw@panix.com>
466         * posix/test-errno.c: New file.
467         * posix/Makefile (tests): Add test-errno.
468         * sysdeps/unix/sysv/linux/test-errno.c: New file.
469         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
471 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
473         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
475 2017-03-07  Florian Weimer  <fweimer@redhat.com>
477         * time/tzset.c (compute_offset): Open-code min macro.
478         (min, max, sign): Remove.
480 2017-03-07  Florian Weimer  <fweimer@redhat.com>
482         [BZ #15576]
483         Remove TZNAME_MAX limit from sysconf.
484         * include/time.h (__tzname_cur_max, __tzname_max): Remove
485         declaration.
486         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
487         compute_tzname_max.
488         (compute_tzname_max): Remove.
489         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
490         (update_vars): Do not update __tzname_cur_max.
491         (tzset_internal): Remove argument.
492         (__tzset): Adjust call to tzset_internal.
493         (__tz_convert): Likewise.
495         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
496         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
497         * manual/conf.texi (Sysconf Definition): Update comment.
499 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
501         [BZ #21209]
502         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
503         AT_SECURE processes.
504         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
505         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
506         (test_child): Likewise.
507         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
509 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
511         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
513 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
515         * sysdeps/s390/atomic-machine.h
516         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
517         (__arch_compare_and_exchange_val_8_acq,
518         __arch_compare_and_exchange_val_16_acq,
519         __arch_compare_and_exchange_val_32_acq,
520         __arch_compare_and_exchange_val_64_acq):
521         Delete macro.
522         (atomic_compare_and_exchange_val_acq,
523         atomic_compare_and_exchange_val_rel,
524         atomic_compare_and_exchange_bool_acq,
525         catomic_compare_and_exchange_bool_acq,
526         atomic_exchange_acq, atomic_exchange_rel,
527         atomic_exchange_and_add_acq,
528         atomic_exchange_and_add_rel,
529         catomic_exchange_and_add, atomic_or_val,
530         atomic_or, catomic_or, atomic_bit_test_set,
531         atomic_and_val, atomic_and, catomic_and):
532         Define macros with help of C11 atomic builtins.
534 2017-03-03  Justus Winter <justus@gnupg.org>
536         * sysdeps/mach/hurd/ftruncate64.c: New file.
537         * sysdeps/mach/hurd/truncate64.c: Likewise.
539 2017-03-03  Florian Weimer  <fweimer@redhat.com>
541         * time/tzfile.c (NOID): Do not define.
542         * time/tzset.c (NOID): Likewise.
544 2017-03-03  Florian Weimer  <fweimer@redhat.com>
546         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
548 2017-03-02  Florian Weimer  <fweimer@redhat.com>
550         * elf/get-dynamic-info.h: Remove header file inclusion guard.
552 2017-03-02  Florian Weimer  <fweimer@redhat.com>
554         [BZ #21015]
555         * manual/install.texi (Configuring and compiling): Document
556         --enable-bind-now.
557         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
558         (build-shlib-helper): Use $(LDFLAGS-lib.so).
559         (format.lds): Likewise.
560         [bind-now] (LDFLAGS-c.so): Remove.
561         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
562         be R_X86_64_GLOB_DAT.
563         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
564         relocation can be R_386_GLOB_DAT.
565         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
566         relocaiton can be R_ALPHA_GLOB_DAT.
567         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
569 2017-03-01  Zack Weinberg  <zackw@panix.com>
571         * include/libc-pointer-arith.h: New file.  Define
572         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
573         PTR_ALIGN_DOWN here.
574         * include/libc-internal.h: Definitions of above macros
575         moved from here.  Don't include libc-diag.h anymore either.
576         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
577         Don't include libc-internal.h.
579         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
580         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
581         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
582         * string/strcoll_l.c, sysdeps/nacl/brk.c
583         * sysdeps/unix/clock_settime.c
584         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
585         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
586         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
588         Don't include libc-internal.h.
590         * elf/get-dynamic-info.h, iconv/loop.c
591         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
592         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
593         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
594         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
595         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
596         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
597         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
598         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
599         * sysdeps/ieee754/ldbl-128/k_tanl.c
600         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
601         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
602         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
603         Include libc-diag.h instead of libc-internal.h.
605         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
606         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
607         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
608         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
609         * sysdeps/unix/sysv/linux/spawni.c
610         * sysdeps/x86_64/nptl/tls.h:
611         Include libc-pointer-arith.h instead of libc-internal.h.
613         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
614         * sysdeps/x86_64/atomic-machine.h:
615         Add multiple include guard.
617         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
618         * string/strcasestr.c: No need to include config.h.
619         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
620         sys/auxv.h. Don't include sysdep.h.
621         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
623         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
624         DL_LOOKUP_ADDRESS.
625         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
626         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
627         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
628         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
629         of ARTIFICIAL_LIMIT.
630         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
631         declaration of __clone2.
633 2017-02-28  Florian Weimer  <fweimer@redhat.com>
635         * scripts/backport-support.sh (latest_commit): New file.
637 2017-02-28  Florian Weimer  <fweimer@redhat.com>
639         [BZ #20257]
640         * inet/Makefile (routines): Add deadline.
641         (tests-static): Add tst-deadline.
642         * inet/net-internal.h (struct deadline_current_time)
643         (__deadline_current_time, struct deadline, __deadline_is_infinite)
644         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
645         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
646         * inet/deadline.c: New file.
647         * inet/tst-deadline.c: Likewise.
648         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
649         tst-udp-timeout, tst-udp-garbage.
650         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
651         explicitly.
652         (tst-udp-garbage): Likewise.  Also link against thread library.
653         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
654         struct layout is part of the ABI.
655         (clntudp_call): Rework timeout handling.
656         * sunrpc/tst-udp-garbage.c: New file.
657         * sunrpc/tst-udp-nonblocking.c: Likewise.
658         * sunrpc/tst-udp-timeout.c: Likewise.
660 2017-02-28  Florian Weimer  <fweimer@redhat.com>
662         [BZ #5010]
663         * sunrpc/svc.c (svc_is_mapped): Remove.
664         (svc_unregister): Obtain mapped status while the service is still
665         registered.
666         * sunrpc/Makefile [have-thread-library] (tests): Add
667         tst-svc_register.
668         (tst-svc_register): Link against libc.so explicitly and the thread
669         library.
670         * sunrpc/tst-svc_register.c: New file.
672 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
674         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
675         * sysdeps/pthread/bits/sigthread.h: Likewise.
677 2017-02-27  Florian Weimer  <fweimer@redhat.com>
679         [BZ #21115]
680         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
681         * sunrpc/Makefile (tests): Add tst-udp-error.
682         (tst-udp-error): Link against libc.so explicitly.
683         * sunrpc/tst-udp-error: New file.
685 2017-02-25  Zack Weinberg  <zackw@panix.com>
687         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
688         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
690         * sysdeps/generic/math_ldbl.h
691         * sysdeps/ia64/fpu/math_ldbl.h
692         * sysdeps/ieee754/ldbl-128/math_ldbl.h
693         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
694         * sysdeps/ieee754/ldbl-96/math_ldbl.h
695         * sysdeps/powerpc/fpu/math_ldbl.h
696         * sysdeps/x86_64/fpu/math_ldbl.h:
697         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
698         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
699         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
700         Add copyright notices.
702         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
703         Don't use EXTRACT_WORDS64.
705         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
706         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
707         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
708         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
709         Include math_ldbl.h, not math_private.h.
711 2017-02-25  Zack Weinberg  <zackw@panix.com>
713         * include/libc-diag.h: New file.  Define ignore_value,
714         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
715         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
717         * include/libc-internal.h: Definitions of above macros moved from
718         here.  Include libc-diag.h.  Add copyright notice.
720         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
721         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
722         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
723         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
724         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
725         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
726         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
727         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
728         Include libc-diag.h instead of libc-internal.h.
730         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
731         call to unsetenv (NULL).
732         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
733         call to pthread_mutexattr_destroy (NULL).
735 2017-02-25  Zack Weinberg  <zackw@panix.com>
737         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
738         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
739         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
740         gets was removed from C++ in C++14.
741         * include/stdio.h: Remove redundant declaration of gets.
742         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
743         be declared, since we are testing it.
744         * stdio-common/Makefile (tst-gets.c): Compile with
745         -Wno-deprecated-declarations.
746         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
747         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
748         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
749         Compile with -Wno-deprecated-declarations.
751 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
753         * math/libm-test-support.c (check_ulp): Use LIT() around literal
754         numbers.
756 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
758         * resolv/tst-resolv-qtypes.c (domain):
759         Change type to const pointer to const char.
761 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
763         * math/Makefile (libm-tests-generated): Remove variable.
764         (libm-tests-base-normal): New variable.
765         (libm-tests-base-finite): Likewise.
766         (libm-tests-base-inline): Likewise.
767         (libm-tests-base): Likewise.
768         (libm-tests-normal): Likewise.
769         (libm-tests-finite): Likewise.
770         (libm-tests-inline): Likewise.
771         (libm-tests-vector): Likewise.
772         (libm-tests): Define in terms of these new variables.
773         (libm-tests-for-type): New variable.
774         (libm-tests.o): Move definition.
775         (tests): Move addition of $(libm-tests).
776         (generated): Update for new and removed libm test files.
777         ($(objpfx)libm-test.c): Remove target.
778         ($(objpfx)libm-have-vector-test.h): Likewise.
779         (CFLAGS-test-double-vlen2.c): Remove variable.
780         (CFLAGS-test-double-vlen4.c): Likewise.
781         (CFLAGS-test-double-vlen8.c): Likewise.
782         (CFLAGS-test-float-vlen4.c): Likewise.
783         (CFLAGS-test-float-vlen8.c): Likewise.
784         (CFLAGS-test-float-vlen16.c): Likewise.
785         (CFLAGS-test-float.c): Likewise.
786         (CFLAGS-test-float-finite.c): Likewise.
787         (CFLAGS-libm-test-support-float.c): Likewise.
788         (CFLAGS-test-double.c): Likewise.
789         (CFLAGS-test-double-finite.c): Likewise.
790         (CFLAGS-libm-test-support-double.c): Likewise.
791         (CFLAGS-test-ldouble.c): Likewise.
792         (CFLAGS-test-ldouble-finite.c): Likewise.
793         (CFLAGS-libm-test-support-ldouble.c): Likewise.
794         (libm-test-inline-cflags): New variable.
795         (CFLAGS-test-ifloat.c): Remove variable.
796         (CFLAGS-test-idouble.c): Likewise.
797         (CFLAGS-test-ildouble.c): Likewise.
798         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
799         dependencies.
800         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
801         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
802         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
803         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
804         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
805         Likewise.
806         (dependencies on libm-test-support-*.o): Remove.
807         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
808         rules using iterators.
809         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
810         Likewise.
811         ($(objpfx)libm-test-support-$(o).o): Likewise.
812         ($(addprefix $(objpfx),$(filter-out $(tests-static)
813         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
814         instead.
815         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
816         define rule instead.
817         * math/README.libm-test: Update.
818         * math/libm-test-acos.inc: Include libm-test-driver.c.
819         (do_test): New function.
820         * math/libm-test-acosh.inc: Include libm-test-driver.c.
821         (do_test): New function.
822         * math/libm-test-asin.inc: Include libm-test-driver.c.
823         (do_test): New function.
824         * math/libm-test-asinh.inc: Include libm-test-driver.c.
825         (do_test): New function.
826         * math/libm-test-atan.inc: Include libm-test-driver.c.
827         (do_test): New function.
828         * math/libm-test-atan2.inc: Include libm-test-driver.c.
829         (do_test): New function.
830         * math/libm-test-atanh.inc: Include libm-test-driver.c.
831         (do_test): New function.
832         * math/libm-test-cabs.inc: Include libm-test-driver.c.
833         (do_test): New function.
834         * math/libm-test-cacos.inc: Include libm-test-driver.c.
835         (do_test): New function.
836         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
837         (do_test): New function.
838         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
839         (do_test): New function.
840         * math/libm-test-carg.inc: Include libm-test-driver.c.
841         (do_test): New function.
842         * math/libm-test-casin.inc: Include libm-test-driver.c.
843         (do_test): New function.
844         * math/libm-test-casinh.inc: Include libm-test-driver.c.
845         (do_test): New function.
846         * math/libm-test-catan.inc: Include libm-test-driver.c.
847         (do_test): New function.
848         * math/libm-test-catanh.inc: Include libm-test-driver.c.
849         (do_test): New function.
850         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
851         (do_test): New function.
852         * math/libm-test-ccos.inc: Include libm-test-driver.c.
853         (do_test): New function.
854         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
855         (do_test): New function.
856         * math/libm-test-ceil.inc: Include libm-test-driver.c.
857         (do_test): New function.
858         * math/libm-test-cexp.inc: Include libm-test-driver.c.
859         (do_test): New function.
860         * math/libm-test-cimag.inc: Include libm-test-driver.c.
861         (do_test): New function.
862         * math/libm-test-clog.inc: Include libm-test-driver.c.
863         (do_test): New function.
864         * math/libm-test-clog10.inc: Include libm-test-driver.c.
865         (do_test): New function.
866         * math/libm-test-conj.inc: Include libm-test-driver.c.
867         (do_test): New function.
868         * math/libm-test-copysign.inc: Include libm-test-driver.c.
869         (do_test): New function.
870         * math/libm-test-cos.inc: Include libm-test-driver.c.
871         (do_test): New function.
872         * math/libm-test-cosh.inc: Include libm-test-driver.c.
873         (do_test): New function.
874         * math/libm-test-cpow.inc: Include libm-test-driver.c.
875         (do_test): New function.
876         * math/libm-test-cproj.inc: Include libm-test-driver.c.
877         (do_test): New function.
878         * math/libm-test-creal.inc: Include libm-test-driver.c.
879         (do_test): New function.
880         * math/libm-test-csin.inc: Include libm-test-driver.c.
881         (do_test): New function.
882         * math/libm-test-csinh.inc: Include libm-test-driver.c.
883         (do_test): New function.
884         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
885         (do_test): New function.
886         * math/libm-test-ctan.inc: Include libm-test-driver.c.
887         (do_test): New function.
888         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
889         (do_test): New function.
890         * math/libm-test-erf.inc: Include libm-test-driver.c.
891         (do_test): New function.
892         * math/libm-test-erfc.inc: Include libm-test-driver.c.
893         (do_test): New function.
894         * math/libm-test-exp.inc: Include libm-test-driver.c.
895         (do_test): New function.
896         * math/libm-test-exp10.inc: Include libm-test-driver.c.
897         (do_test): New function.
898         * math/libm-test-exp2.inc: Include libm-test-driver.c.
899         (do_test): New function.
900         * math/libm-test-expm1.inc: Include libm-test-driver.c.
901         (do_test): New function.
902         * math/libm-test-fabs.inc: Include libm-test-driver.c.
903         (do_test): New function.
904         * math/libm-test-fdim.inc: Include libm-test-driver.c.
905         (do_test): New function.
906         * math/libm-test-floor.inc: Include libm-test-driver.c.
907         (do_test): New function.
908         * math/libm-test-fma.inc: Include libm-test-driver.c.
909         (do_test): New function.
910         * math/libm-test-fmax.inc: Include libm-test-driver.c.
911         (do_test): New function.
912         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
913         (do_test): New function.
914         * math/libm-test-fmin.inc: Include libm-test-driver.c.
915         (do_test): New function.
916         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
917         (do_test): New function.
918         * math/libm-test-fmod.inc: Include libm-test-driver.c.
919         (do_test): New function.
920         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
921         (do_test): New function.
922         * math/libm-test-frexp.inc: Include libm-test-driver.c.
923         (do_test): New function.
924         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
925         (do_test): New function.
926         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
927         (do_test): New function.
928         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
929         (do_test): New function.
930         * math/libm-test-hypot.inc: Include libm-test-driver.c.
931         (do_test): New function.
932         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
933         (do_test): New function.
934         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
935         (do_test): New function.
936         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
937         (do_test): New function.
938         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
939         (do_test): New function.
940         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
941         (do_test): New function.
942         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
943         (do_test): New function.
944         * math/libm-test-isinf.inc: Include libm-test-driver.c.
945         (do_test): New function.
946         * math/libm-test-isless.inc: Include libm-test-driver.c.
947         (do_test): New function.
948         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
949         (do_test): New function.
950         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
951         (do_test): New function.
952         * math/libm-test-isnan.inc: Include libm-test-driver.c.
953         (do_test): New function.
954         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
955         (do_test): New function.
956         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
957         (do_test): New function.
958         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
959         (do_test): New function.
960         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
961         (do_test): New function.
962         * math/libm-test-iszero.inc: Include libm-test-driver.c.
963         (do_test): New function.
964         * math/libm-test-j0.inc: Include libm-test-driver.c.
965         (do_test): New function.
966         * math/libm-test-j1.inc: Include libm-test-driver.c.
967         (do_test): New function.
968         * math/libm-test-jn.inc: Include libm-test-driver.c.
969         (do_test): New function.
970         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
971         (do_test): New function.
972         * math/libm-test-llogb.inc: Include libm-test-driver.c.
973         (do_test): New function.
974         * math/libm-test-llrint.inc: Include libm-test-driver.c.
975         (do_test): New function.
976         * math/libm-test-llround.inc: Include libm-test-driver.c.
977         (do_test): New function.
978         * math/libm-test-log.inc: Include libm-test-driver.c.
979         (do_test): New function.
980         * math/libm-test-log10.inc: Include libm-test-driver.c.
981         (do_test): New function.
982         * math/libm-test-log1p.inc: Include libm-test-driver.c.
983         (do_test): New function.
984         * math/libm-test-log2.inc: Include libm-test-driver.c.
985         (do_test): New function.
986         * math/libm-test-logb.inc: Include libm-test-driver.c.
987         (do_test): New function.
988         * math/libm-test-lrint.inc: Include libm-test-driver.c.
989         (do_test): New function.
990         * math/libm-test-lround.inc: Include libm-test-driver.c.
991         (do_test): New function.
992         * math/libm-test-modf.inc: Include libm-test-driver.c.
993         (do_test): New function.
994         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
995         (do_test): New function.
996         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
997         (do_test): New function.
998         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
999         (do_test): New function.
1000         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
1001         (do_test): New function.
1002         * math/libm-test-nextup.inc: Include libm-test-driver.c.
1003         (do_test): New function.
1004         * math/libm-test-pow.inc: Include libm-test-driver.c.
1005         (do_test): New function.
1006         * math/libm-test-remainder.inc: Include libm-test-driver.c.
1007         (do_test): New function.
1008         * math/libm-test-remquo.inc: Include libm-test-driver.c.
1009         (do_test): New function.
1010         * math/libm-test-rint.inc: Include libm-test-driver.c.
1011         (do_test): New function.
1012         * math/libm-test-round.inc: Include libm-test-driver.c.
1013         (do_test): New function.
1014         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
1015         (do_test): New function.
1016         * math/libm-test-scalb.inc: Include libm-test-driver.c.
1017         (do_test): New function.
1018         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
1019         (do_test): New function.
1020         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
1021         (do_test): New function.
1022         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
1023         (do_test): New function.
1024         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
1025         (do_test): New function.
1026         * math/libm-test-signbit.inc: Include libm-test-driver.c.
1027         (do_test): New function.
1028         * math/libm-test-significand.inc: Include libm-test-driver.c.
1029         (do_test): New function.
1030         * math/libm-test-sin.inc: Include libm-test-driver.c.
1031         (do_test): New function.
1032         * math/libm-test-sincos.inc: Include libm-test-driver.c.
1033         (do_test): New function.
1034         * math/libm-test-sinh.inc: Include libm-test-driver.c.
1035         (do_test): New function.
1036         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
1037         (do_test): New function.
1038         * math/libm-test-tan.inc: Include libm-test-driver.c.
1039         (do_test): New function.
1040         * math/libm-test-tanh.inc: Include libm-test-driver.c.
1041         (do_test): New function.
1042         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
1043         (do_test): New function.
1044         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
1045         (do_test): New function.
1046         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
1047         (do_test): New function.
1048         * math/libm-test-trunc.inc: Include libm-test-driver.c.
1049         (do_test): New function.
1050         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
1051         (do_test): New function.
1052         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
1053         (do_test): New function.
1054         * math/libm-test-y0.inc: Include libm-test-driver.c.
1055         (do_test): New function.
1056         * math/libm-test-y1.inc: Include libm-test-driver.c.
1057         (do_test): New function.
1058         * math/libm-test-yn.inc: Include libm-test-driver.c.
1059         (do_test): New function.
1060         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
1061         (HAVE_VECTOR): Remove macro.
1062         (START): Do not call HAVE_VECTOR.
1063         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
1064         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
1065         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
1066         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
1067         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
1068         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
1069         * math/test-math-vector.h (FUNC_TEST): New macro.
1070         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
1071         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
1072         (double-vlen4-funcs): Likewise.
1073         (double-vlen4-avx2-funcs): Likewise.
1074         (double-vlen8-funcs): Likewise.
1075         (float-vlen4-funcs): Likewise.
1076         (float-vlen8-funcs): Likewise.
1077         (float-vlen8-avx2-funcs): Likewise.
1078         (float-vlen16-funcs): Likewise.
1079         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
1080         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
1081         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
1082         macro.
1083         (TEST_VECTOR_sin): Likewise.
1084         (TEST_VECTOR_sincos): Likewise.
1085         (TEST_VECTOR_log): Likewise.
1086         (TEST_VECTOR_exp): Likewise.
1087         (TEST_VECTOR_pow): Likewise.
1088         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
1089         Likewise.
1090         (TEST_VECTOR_sin): Likewise.
1091         (TEST_VECTOR_sincos): Likewise.
1092         (TEST_VECTOR_log): Likewise.
1093         (TEST_VECTOR_exp): Likewise.
1094         (TEST_VECTOR_pow): Likewise.
1095         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
1096         Likewise.
1097         (TEST_VECTOR_sinf): Likewise.
1098         (TEST_VECTOR_sincosf): Likewise.
1099         (TEST_VECTOR_logf): Likewise.
1100         (TEST_VECTOR_expf): Likewise.
1101         (TEST_VECTOR_powf): Likewise.
1102         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
1103         Likewise.
1104         (TEST_VECTOR_sinf): Likewise.
1105         (TEST_VECTOR_sincosf): Likewise.
1106         (TEST_VECTOR_logf): Likewise.
1107         (TEST_VECTOR_expf): Likewise.
1108         (TEST_VECTOR_powf): Likewise.
1109         * math/gen-libm-have-vector-test.sh: Remove file.
1110         * math/libm-test.inc: Likewise.
1111         * math/libm-test-support-double.c: Likewise.
1112         * math/libm-test-support-float.c: Likewise.
1113         * math/libm-test-support-ldouble.c: Likewise.
1114         * math/test-double-finite.c: Likewise.: Likewise.
1115         * math/test-double.c: Likewise.
1116         * math/test-float-finite.c: Likewise.
1117         * math/test-float.c: Likewise.
1118         * math/test-idouble.c: Likewise.
1119         * math/test-ifloat.c: Likewise.
1120         * math/test-ildouble.c: Likewise.
1121         * math/test-ldouble-finite.c: Likewise.
1122         * math/test-ldouble.c: Likewise.
1123         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
1124         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
1125         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
1126         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
1127         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
1128         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
1129         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
1130         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
1131         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
1132         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
1134 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1135            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1137         * math/Makefile: Add wrappers to gen-libm-calls.
1138         * math/w_acos_template.c: New file.
1139         * math/w_acosh_template.c: Likewise.
1140         * math/w_asin_template.c: Likewise.
1141         * math/w_atan2_template.c: Likewise.
1142         * math/w_atanh_template.c: Likewise.
1143         * math/w_cosh_template.c: Likewise.
1144         * math/w_exp10_template.c: Likewise.
1145         * math/w_exp2_template.c: Likewise.
1146         * math/w_exp_template.c: Likewise.
1147         * math/w_fmod_template.c: Likewise.
1148         * math/w_hypot_template.c: Likewise.
1149         * math/w_j0_template.c: Likewise.
1150         * math/w_j1_template.c: Likewise.
1151         * math/w_jn_template.c: Likewise.
1152         * math/w_lgamma_r_template.c: Likewise.
1153         * math/w_lgamma_template.c: Likewise.
1154         * math/w_log10_template.c: Likewise.
1155         * math/w_log2_template.c: Likewise.
1156         * math/w_log_template.c: Likewise.
1157         * math/w_pow_template.c: Likewise.
1158         * math/w_remainder_template.c: Likewise.
1159         * math/w_sinh_template.c: Likewise.
1160         * math/w_sqrt_template.c: Likewise.
1161         * math/w_tgamma_template.c: Likewise.: Likewise.
1162         * sysdeps/generic/math-type-macros-double.h
1163         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
1164         the new wrappers.
1165         * sysdeps/generic/math-type-macros-float.h: Likewise.
1166         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1168 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
1170         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
1171         New enum constant and macro.
1173         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
1174         kernel version to 4.10.
1176 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
1178         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
1180 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1184 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1186         * sysdeps/powerpc/tst-set_ppr.c: New file.
1187         Implement test cases for __ppc_set_ppr_* functions.
1188         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
1189         in the list of tests.
1191 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1193         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
1194         instead of test-skeleton.c.
1195         (do_test): Replaced pthread_create and pthread_join with
1196         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
1197         Removed unneeded status variable.
1198         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
1199         instead of test-skeleton.c.
1200         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
1202 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
1204         [BZ #20313]
1205         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1206         201605L, for Unicode 9.
1208 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
1210         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
1211         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1212         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1213         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1214         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1215         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1217 2017-02-19  Zack Weinberg  <zackw@panix.com>
1219         * rt/tst-mqueue4.c: Include stdint.h.
1221 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1223         * sysdeps/arm/libm-test-ulps: Update.
1224         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1225         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1226         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1228 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1230         [BZ #21029]
1231         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
1232         * sysdeps/unix/sysv/linux/i386/Makefile
1233         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
1234         (uses-6-syscall-arguments): Remove.
1235         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
1236         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
1237         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
1238         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
1239         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
1240         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
1241         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
1242         [$(subdir) = misc] (cflags-pselect.o): Likewise.
1243         [$(subdir) = misc] (cflags-pselect.os): Likewise.
1244         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
1245         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
1246         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
1247         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
1248         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
1249         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
1250         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
1251         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
1252         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
1253         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
1254         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
1255         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
1256         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
1257         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
1258         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
1259         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
1260         Likewise.
1261         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
1262         Likewise.
1263         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
1264         Likewise.
1265         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
1266         Likewise.
1267         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
1268         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
1269         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
1270         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
1271         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
1272         ebp on inline assembly.
1273         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
1274         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
1275         Set if CAN_USE_REGISTER_ASM_EBP is set.
1277 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
1279         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
1280         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
1282 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
1284         * math/auto-libm-test-in: Add tests of catan and catanh.
1285         * math/auto-libm-test-out-catan: New generated file.
1286         * math/auto-libm-test-out-catanh: Likewise.
1287         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
1288         Move tests with finite inputs, except divide-by-zero cases, to
1289         auto-libm-test-in.
1290         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
1291         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
1292         (libm-test-funcs-noauto): Remove catan and catanh.
1293         * sysdeps/i386/fpu/libm-test-ulps: Update.
1294         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1297         * math/auto-libm-test-in: Add tests of casin and casinh.
1298         * math/auto-libm-test-out-casin: New generated file.
1299         * math/auto-libm-test-out-casinh: Likewise.
1300         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
1301         Move tests with finite inputs to auto-libm-test-in.
1302         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
1303         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
1304         (libm-test-funcs-noauto): Remove casin and casinh.
1305         * sysdeps/i386/fpu/libm-test-ulps: Update.
1306         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1309         * math/auto-libm-test-in: Add tests of cacos and cacosh.
1310         * math/auto-libm-test-out-cacos: New generated file.
1311         * math/auto-libm-test-out-cacosh: Likewise.
1312         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
1313         Move tests with finite inputs to auto-libm-test-in.
1314         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
1315         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
1316         (libm-test-funcs-noauto): Remove cacos and cacosh.
1317         * sysdeps/i386/fpu/libm-test-ulps: Update.
1318         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1321         Revert:
1322         2017-02-16  Zack Weinberg  <zackw@panix.com>
1324         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1325         Don't include init-arch.h.
1326         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1327         Don't include init-arch.h.
1329 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1331         [BZ #21171]
1332         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
1333         +Inf and raise divide-by-zero when x is negative.
1334         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
1335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
1336         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
1337         -Inf and raise divide-by-zero when x = +-0.
1338         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1339         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
1340         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
1341         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
1342         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
1343         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1344         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1346 2017-02-16  Zack Weinberg  <zackw@panix.com>
1348         * scripts/build-many-glibcs.py (bot_build_mail): If the
1349         bot_config does not contain all of the necessary email-
1350         related settings, just print a warning and continue.
1352 2017-02-16  Zack Weinberg  <zackw@panix.com>
1354         * crypt/md5.h: Test _LIBC with #if defined, not #if.
1355         * dirent/opendir-tst1.c: Include sys/stat.h.
1356         * dirent/tst-fdopendir.c: Include sys/stat.h.
1357         * dirent/tst-fdopendir2.c: Include stdlib.h.
1358         * dirent/tst-scandir.c: Include stdbool.h.
1359         * elf/tst-auditmod1.c: Include link.h and stddef.h.
1360         * elf/tst-tls15.c: Include stdlib.h.
1361         * elf/tst-tls16.c: Include stdlib.h.
1362         * elf/tst-tls17.c: Include stdlib.h.
1363         * elf/tst-tls18.c: Include stdlib.h.
1364         * iconv/tst-iconv6.c: Include endian.h.
1365         * iconvdata/bug-iconv11.c: Include limits.h.
1366         * io/test-utime.c: Include stdint.h.
1367         * io/tst-faccessat.c: Include sys/stat.h.
1368         * io/tst-fchmodat.c: Include sys/stat.h.
1369         * io/tst-fchownat.c: Include sys/stat.h.
1370         * io/tst-fstatat.c: Include sys/stat.h.
1371         * io/tst-futimesat.c: Include sys/stat.h.
1372         * io/tst-linkat.c: Include sys/stat.h.
1373         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
1374         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
1375         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
1376         * io/tst-openat.c: Include stdbool.h.
1377         * io/tst-readlinkat.c: Include sys/stat.h.
1378         * io/tst-renameat.c: Include sys/stat.h.
1379         * io/tst-symlinkat.c: Include sys/stat.h.
1380         * io/tst-unlinkat.c: Include stdbool.h.
1381         * libio/bug-memstream1.c: Include stdlib.h.
1382         * libio/bug-wmemstream1.c: Include stdlib.h.
1383         * libio/tst-fwrite-error.c: Include stdlib.h.
1384         * libio/tst-memstream1.c: Include stdlib.h.
1385         * libio/tst-memstream2.c: Include stdlib.h.
1386         * libio/tst-memstream3.c: Include stdlib.h.
1387         * malloc/tst-interpose-aux.c: Include stdint.h.
1388         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
1389         * nptl/tst-basic7.c: Include limits.h.
1390         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
1391         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
1392         * nptl/tst-cancel4_1.c: Include stddef.h.
1393         * nptl/tst-cancel4_2.c: Include stddef.h.
1394         * nptl/tst-cond16.c: Include limits.h.
1395         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1396         * nptl/tst-cond18.c: Include limits.h.
1397         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
1398         * nptl/tst-cond4.c: Include stdint.h.
1399         * nptl/tst-cond6.c: Include stdint.h.
1400         * nptl/tst-stack2.c: Include limits.h.
1401         * nptl/tst-stackguard1.c: Include stddef.h.
1402         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
1403         * nptl/tst-tls4moda.c: Include stddef.h.
1404         Don't include stdio.h, unistd.h, or tls.h.
1405         * nptl/tst-tls4modb.c: Include stddef.h.
1406         Don't include stdio.h, unistd.h, or tls.h.
1407         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
1408         * posix/tst-getaddrinfo2.c: Include stdio.h.
1409         * posix/tst-getaddrinfo5.c: Include stdio.h.
1410         * posix/tst-pathconf.c: Include sys/stat.h.
1411         * posix/tst-posix_fadvise-common.c: Include stdint.h.
1412         * posix/tst-preadwrite-common.c: Include sys/stat.h.
1413         * posix/tst-regex.c: Include stdint.h.
1414         Don't include spawn.h or spawn_int.h.
1415         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
1416         * posix/tst-vfork3.c: Include sys/stat.h.
1417         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
1418         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
1419         * resolv/tst-resolv-search.c: Include stdlib.h.
1420         * stdio-common/tst-fmemopen2.c: Include stdint.h.
1421         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
1422         * stdlib/test-canon.c: Include sys/stat.h.
1423         * stdlib/tst-tls-atexit.c: Include stdbool.h.
1424         * string/test-memchr.c: Include stdint.h.
1425         * string/tst-cmp.c: Include stdint.h.
1426         * sysdeps/pthread/tst-timer.c: Include stdint.h.
1427         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
1428         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
1429         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
1430         Don't include init-arch.h.
1431         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
1432         Don't include init-arch.h.
1433         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
1434         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
1435         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
1436         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
1437         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
1438         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
1439         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
1440         * time/clocktest.c: Include stdint.h.
1441         * time/tst-posixtz.c: Include stdint.h.
1442         * timezone/tst-timezone.c: Include stdint.h.
1444 2017-02-16  Zack Weinberg  <zackw@panix.com>
1446         * string/string.h [__USE_MISC]: Include strings.h.
1447         (__bzero, bcmp, bcopy, bzero, index, rindex)
1448         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
1449         (ffs, ffsl, ffsll): Don't declare.
1450         * string/strings.h: Do not suppress the file if string.h has
1451         already been included.
1452         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
1453         annotations.
1454         (index, rindex): Define inline forwarders even if
1455         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
1456         (ffs): Use __attribute_const__.
1457         (ffsl, ffsll): Declare here.
1458         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
1459         have now been standardized.
1460         * include/string.h (__bzero): Declare here.
1462         * bits/types.h: Move to posix/bits.
1463         * include/bits/types.h: New wrapper.
1465 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1467         * string/bits/string2.h (strcmp): Remove define.
1468         (__strcmp_cg): Likewise.
1469         (strncmp): Likewise.
1471 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
1473         * include/string.h: Add __cplusplus check.
1475 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1477         [BZ #21134]
1478         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
1479         "divide by zero" exception when the input is zero.
1480         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
1481         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
1482         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
1483         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
1484         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1486 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
1488         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
1489         and include ...
1490         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
1491         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
1492         to, and include ...
1493         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
1494         file.
1495         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
1496         and include ...
1497         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
1498         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
1499         and include ...
1500         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
1501         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
1502         and include ...
1503         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
1504         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
1505         and include ...
1506         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
1507         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
1508         to, and include ...
1509         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
1510         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
1511         and include ...
1512         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
1514 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
1516         * math/libm-test-support.h: Do not include <math-tests-arch.h>
1517         here.
1518         * math/libm-test-support.c (libm_test_init): Do not call
1519         INIT_ARCH_EXT here.
1520         * math/libm-test-driver.c: Include <math-tests-arch.h>.
1521         (main): Call INIT_ARCH_EXT.
1523 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1525         [BZ #21130]
1526         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
1527         with the "invalid" exception raised when x is -Inf.
1528         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
1530 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
1532         * string/bits/string2.h (strchr): Remove define.
1534 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
1536         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
1537         tst-avx512.
1538         (test-extras): Add tst-avx-aux and tst-avx512-aux.
1539         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
1540         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
1541         ($(objpfx)tst-sse): New rule.
1542         ($(objpfx)tst-avx): Likewise.
1543         ($(objpfx)tst-avx512): Likewise.
1544         (CFLAGS-tst-avx-aux.c): New.
1545         (CFLAGS-tst-avxmod.c): Likewise.
1546         (CFLAGS-tst-avx512-aux.c): Likewise.
1547         (CFLAGS-tst-avx512mod.c): Likewise.
1548         * sysdeps/x86_64/tst-avx-aux.c: New file.
1549         * sysdeps/x86_64/tst-avx.c: Likewise.
1550         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
1551         * sysdeps/x86_64/tst-avx512.c: Likewise.
1552         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
1553         * sysdeps/x86_64/tst-avxmod.c: Likewise.
1554         * sysdeps/x86_64/tst-sse.c: Likewise.
1555         * sysdeps/x86_64/tst-ssemod.c: Likewise.
1557 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1559         * math/auto-libm-test-in: Add more tests of csin and csinh.
1560         * math/auto-libm-test-out-csin: Regenerated.
1561         * math/auto-libm-test-out-csinh: Likewise.
1562         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
1563         auto-libm-test-in.
1564         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
1566 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1568         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
1569         libm-compat-calls-auto.
1570         (libm-compat-calls): Likewise.
1571         (libm-compat-calls-auto): Rename to libm-compat-calls and add
1572         w_lgamma_compatF and k_standardF (merged from the items above).
1573         (libm-routines): Use libm-compat-calls, instead of
1574         libm-compat-calls-auto, with type-foreach.
1576 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
1578         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
1579         macro.
1580         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
1581         (CFLAGS-test-ifloat.c): ... this.  Remove
1582         -U__LIBC_INTERNAL_MATH_INLINES.
1583         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
1584         (CFLAGS-test-idouble.c): ... this.  Remove
1585         -U__LIBC_INTERNAL_MATH_INLINES.
1586         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
1587         (CFLAGS-test-ildouble.c): ... this.  Remove
1588         -U__LIBC_INTERNAL_MATH_INLINES.
1590 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
1592         * math/libm-test-support.c: New file.  Content from
1593         math/libm-test-driver.c.
1594         * math/libm-test-support.h: Likewise.
1595         * math/libm-test-support-double.c: New file.
1596         * math/libm-test-support-float.c: Likewise.
1597         * math/libm-test-support-ldouble.c: Likewise.
1598         * math/libm-test-driver.c: Remove main comment and header
1599         includes.  Include libm-test-support.h.
1600         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
1601         (flag_test_errno): Remove static.
1602         (flag_test_exceptions): Likewise.
1603         (flag_test_finite): Likewise.
1604         (flag_test_inline): Likewise.
1605         (flag_test_mathvec): Likewise.
1606         (test_msg): Likewise.
1607         (NO_EXCEPTION): Remove.
1608         (INVALID_EXCEPTION): Likewise.
1609         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
1610         (OVERFLOW_EXCEPTION): Likewise.
1611         (UNDERFLOW_EXCEPTION): Likewise.
1612         (INEXACT_EXCEPTION): Likewise.
1613         (INVALID_EXCEPTION_OK): Likewise.
1614         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
1615         (OVERFLOW_EXCEPTION_OK): Likewise.
1616         (UNDERFLOW_EXCEPTION_OK): Likewise.
1617         (NO_INEXACT_EXCEPTION): Likewise.
1618         (EXCEPTIONS_OK): Likewise.
1619         (IGNORE_ZERO_INF_SIGN): Likewise.
1620         (TEST_NAN_SIGN): Likewise.
1621         (TEST_NAN_PAYLOAD): Likewise.
1622         (NO_TEST_INLINE): Likewise.
1623         (XFAIL_TEST): Likewise.
1624         (ERRNO_UNCHANGED): Likewise.
1625         (ERRNO_EDOM): Likewise.
1626         (ERRNO_ERANGE): Likewise.
1627         (IGNORE_RESULT): Likewise.
1628         (NON_FINITE): Likewise.
1629         (TEST_SNAN): Likewise.
1630         (NO_TEST_MATHVEC): Likewise.
1631         (__CONCATX): Likewise.
1632         (TYPE_MIN): Likewise.
1633         (TYPE_TRUE_MIN): Likewise.
1634         (TYPE_MAX): Likewise.
1635         (MIN_EXP): Likewise.
1636         (MAX_EXP): Likewise.
1637         (MANT_DIG): Likewise.
1638         (FSTR_MAX): Likewise.
1639         (ulp_idx): Likewise.
1640         (qtype_str): Remove static.
1641         (TEST_COND_binary32): Remove.
1642         (TEST_COND_binary64): Likewise.
1643         (TEST_COND_binary128): Likewise.
1644         (TEST_COND_ibm128): Likewise.
1645         (TEST_COND_intel96): Likewise.
1646         (TEST_COND_m68k96): Likewise.
1647         (TEST_COND_ibm128_libgcc): Likewise.
1648         (XFAIL_IBM128_LIBGCC): Likewise.
1649         (PAYLOAD_DIG): Likewise.
1650         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
1651         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
1652         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
1653         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
1654         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
1655         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
1656         (TEST_COND_long32): Likewise.
1657         (TEST_COND_long64): Likewise.
1658         (TEST_COND_before_rounding): Likewise.
1659         (TEST_COND_after_rounding): Likewise.
1660         (ulps_file_name): Likewise.
1661         (ulps_file): Likewise.
1662         (output_ulps): Likewise.
1663         (output_dir): Likewise.
1664         (noErrors): Likewise.
1665         (noTests): Likewise.
1666         (noExcTests): Likewise.
1667         (noErrnoTests): Likewise.
1668         (verbose): Likewise.
1669         (output_max_error): Likewise.
1670         (output_points): Likewise.
1671         (ignore_max_ulp): Likewise.
1672         (max_error): Likewise.
1673         (real_max_error): Likewise.
1674         (imag_max_error): Likewise.
1675         (prev_max_error): Likewise.
1676         (prev_real_max_error): Likewise.
1677         (prev_imag_max_error): Likewise.
1678         (max_valid_error): Likewise.
1679         (TYPE_DECIMAL_DIG): Likewise.
1680         (TYPE_HEX_DIG): Likewise.
1681         (fmt_ftostr): Likewise.
1682         (compare_ulp_data): Likewise.
1683         (find_ulps): Likewise.
1684         (init_max_error): Likewise.
1685         (set_max_error): Likewise.
1686         (print_float): Likewise.
1687         (print_screen): Likewise.
1688         (print_screen_max_error): Likewise.
1689         (update_stats): Likewise.
1690         (print_function_ulps): Likewise.
1691         (print_complex_function_ulps): Likewise.
1692         (fpstack_test): Likewise.
1693         (print_max_error): Likewise.
1694         (print_complex_max_error): Likewise.
1695         (test_single_exception): Likewise.
1696         (test_exceptions): Likewise.
1697         (test_single_errno): Likewise.
1698         (test_errno): Likewise.
1699         (ULPDIFF): Likewise.
1700         (ulp): Likewise.
1701         (check_float_internal): Likewise.
1702         (check_float): Likewise.
1703         (check_complex): Likewise.
1704         (check_int): Likewise.
1705         (check_long): Likewise.
1706         (check_bool): Likewise.
1707         (check_longlong): Likewise.
1708         (check_intmax_t): Likewise.
1709         (check_uintmax_t): Likewise.
1710         (enable_test): Likewise.
1711         (matherr): Likewise.
1712         (initialize): Likewise.
1713         (options): Likewise.
1714         (doc): Remove static.
1715         (argp): Likewise.
1716         (parse_opt): Remove.
1717         (check_ulp): Likewise.
1718         (libm_test_init): Likewise.
1719         (libm_test_finish): Likewise.
1720         * math/Makefile (libm-test-support): New variable.
1721         (test-extras): Add libm-test-support files.
1722         (extra-test-objs): Likewise.
1723         (CFLAGS-libm-test-support-float.c): New variable.
1724         (CFLAGS-libm-test-support-double.c): Likewise.
1725         (CFLAGS-libm-test-support-ldouble.c): Likewise.
1726         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
1727         libm-test-support objects.
1729 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1731         * math/Makefile (libm-calls): Move w_exp...
1732         (libm-compat-calls-auto): Here.
1734         * math/w_expl.c: Add suffix "_compat" to filename.
1735         * sysdeps/ia64/fpu/w_expl.c: Likewise.
1736         * sysdeps/ia64/fpu/w_expf.c: Likewise.
1737         * sysdeps/ia64/fpu/w_exp.c: Likewise.
1738         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1739         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1740         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1741         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1742         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1744         * math/w_expl_compat.c: New file, copied from above.
1745         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
1746         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
1747         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
1748         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
1749         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
1750         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
1751         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
1752         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
1754         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
1755         to filename.
1756         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
1758         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
1759         copied from above and adjusted for the new filenames.
1760         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
1762 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1764         * math/Makefile (libm-calls): Move w_lgammaF...
1765         (libm-compat-calls-auto): Here.
1767         * math/w_lgamma.c: Add suffix "_compat2" to filename.
1768         * math/w_lgammaf.c: Likewise.
1769         * math/w_lgammal.c: Likewise.
1771         * math/w_lgamma_compat2.c: New file, copied from above.
1772         * math/w_lgammaf_compat2.c: Likewise.
1773         * math/w_lgammal_compat2.c: Likewise.
1775 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1777         * math/Makefile (libm-calls): Move w_lgammaF_r...
1778         (libm-compat-calls-auto): Here.
1780         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
1781         * math/w_lgammaf_r.c: Likewise.
1782         * math/w_lgammal_r.c: Likewise.
1783         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
1784         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
1785         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
1787         * math/w_lgamma_r_compat.c: New file, copied from above.
1788         * math/w_lgammaf_r_compat.c: Likewise.
1789         * math/w_lgammal_r_compat.c: Likewise.
1790         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
1791         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
1792         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
1794         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
1795         to filename.
1796         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
1798         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
1799         copied from above and adjusted for the new filenames.
1800         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
1802 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
1804         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
1805         calculation in SYSCALL_ERROR_HANDLER().
1807 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
1809         * manual/contrib.texi: Fix typo.
1811 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1813         [BZ #21109]
1814         * elf/dl-tunable-types.h (tunable_callback_t): Accept
1815         tunable_val_t as argument.
1816         * elf/dl-tunables.c (__tunable_set_val): Add comment.
1817         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
1818         argument.
1819         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
1821 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
1823         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
1824         Add PTRACE_EVENT_STOP.
1825         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
1826         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
1827         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
1828         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
1829         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
1830         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
1832 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
1834         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
1835         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
1836         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
1837         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
1838         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
1839         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
1840         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
1841         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
1842         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
1843         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
1845         [BZ #21112]
1846         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
1847         12 bits zero.
1848         (cp_l): Update for new value of cp_h.
1849         * math/auto-libm-test-in: Add another test of pow.
1850         * math/auto-libm-test-out-pow: Regenerated.
1852 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1854         * manual/contrib.texi: Fix typo.
1856 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1858         [BZ #15998]
1859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1860         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
1861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1863 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1865         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
1866         STRCHR as __strchr_power8.
1867         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
1868         strlen as __strlen_power8.
1870 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1872         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
1873         unaligned load for shorter strings.
1874         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
1876 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
1878         * math/libm-test-driver.c (flag_test_errno): New variable.
1879         (flag_test_exceptions): Likewise.
1880         (flag_test_finite): Likewise.
1881         (flag_test_inline): Likewise.
1882         (flag_test_mathvec): Likewise.
1883         (test_msg): Likewise.
1884         (ulp_idx): Likewise.
1885         (qtype_str): Likewise.
1886         (ULP_IDX): Remove macro.
1887         (QTYPE_STR): Likewise.
1888         (find_ulps): Use ulp_idx not ULP_IDX.
1889         (print_function_ulps): Use qtype_str, printed with %s, not
1890         QTYPE_STR, printed with concatentation to format string.
1891         (print_complex_function_ulps): Likewise.
1892         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
1893         (test_errno): Use flag_test_errno not TEST_ERRNO.
1894         (enable_test): Use flag_test_inline, flag_test_finite and
1895         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
1896         TEST_MATHVEC.
1897         (libm_test_init): New function.  Factored out of main.
1898         (libm_test_finish): Likewise.
1899         (main): Call libm_test_init and libm_test_finish and move most
1900         code to those functions.
1902         * math/libm-test-driver.c (STRX): New macro.
1903         (STR): Likewise.
1904         (STR_FLOAT): Likewise.
1905         (STR_VEC_LEN): Likewise.
1906         (TEST_MSG): Likewise.  Define here instead of expecting to be
1907         defined by including file.
1908         * math/test-double-finite.c (TEST_MSG): Remove macro.
1909         * math/test-double-vlen2.h (TEST_MSG): Likewise.
1910         * math/test-double-vlen4.h (TEST_MSG): Likewise.
1911         * math/test-double-vlen8.h (TEST_MSG): Likewise.
1912         * math/test-double.c (TEST_MSG): Likewise.
1913         * math/test-float-finite.c (TEST_MSG): Likewise.
1914         * math/test-float-vlen16.h (TEST_MSG): Likewise.
1915         * math/test-float-vlen4.h (TEST_MSG): Likewise.
1916         * math/test-float-vlen8.h (TEST_MSG): Likewise.
1917         * math/test-float.c (TEST_MSG): Likewise.
1918         * math/test-idouble.c (TEST_MSG): Likewise.
1919         * math/test-ifloat.c (TEST_MSG): Likewise.
1920         * math/test-ildouble.c (TEST_MSG): Likewise.
1921         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
1922         * math/test-ldouble.c (TEST_MSG): Likewise.
1924         * math/libm-test.inc: Move all tests of individual functions to
1925         libm-test-*.inc and #include libm-test-*.c files.
1926         (acos_test_data): Remove.
1927         (acos_test): Likewise.
1928         (acosh_test_data): Likewise.
1929         (acosh_test): Likewise.
1930         (asin_test_data): Likewise.
1931         (asin_test): Likewise.
1932         (asinh_test_data): Likewise.
1933         (asinh_test): Likewise.
1934         (atan_test_data): Likewise.
1935         (atan_test): Likewise.
1936         (atanh_test_data): Likewise.
1937         (atanh_test): Likewise.
1938         (atan2_test_data): Likewise.
1939         (atan2_test): Likewise.
1940         (cabs_test_data): Likewise.
1941         (cabs_test): Likewise.
1942         (cacos_test_data): Likewise.
1943         (cacos_test): Likewise.
1944         (cacosh_test_data): Likewise.
1945         (cacosh_test): Likewise.
1946         (canonicalize_test_data): Likewise.
1947         (canonicalize_test): Likewise.
1948         (carg_test_data): Likewise.
1949         (carg_test): Likewise.
1950         (casin_test_data): Likewise.
1951         (casin_test): Likewise.
1952         (casinh_test_data): Likewise.
1953         (casinh_test): Likewise.
1954         (catan_test_data): Likewise.
1955         (catan_test): Likewise.
1956         (catanh_test_data): Likewise.
1957         (catanh_test): Likewise.
1958         (cbrt_test_data): Likewise.
1959         (cbrt_test): Likewise.
1960         (ccos_test_data): Likewise.
1961         (ccos_test): Likewise.
1962         (ccosh_test_data): Likewise.
1963         (ccosh_test): Likewise.
1964         (ceil_test_data): Likewise.
1965         (ceil_test): Likewise.
1966         (cexp_test_data): Likewise.
1967         (cexp_test): Likewise.
1968         (cimag_test_data): Likewise.
1969         (cimag_test): Likewise.
1970         (clog_test_data): Likewise.
1971         (clog_test): Likewise.
1972         (clog10_test_data): Likewise.
1973         (clog10_test): Likewise.
1974         (conj_test_data): Likewise.
1975         (conj_test): Likewise.
1976         (copysign_test_data): Likewise.
1977         (copysign_test): Likewise.
1978         (cos_test_data): Likewise.
1979         (cos_test): Likewise.
1980         (cosh_test_data): Likewise.
1981         (cosh_test): Likewise.
1982         (cpow_test_data): Likewise.
1983         (cpow_test): Likewise.
1984         (cproj_test_data): Likewise.
1985         (cproj_test): Likewise.
1986         (creal_test_data): Likewise.
1987         (creal_test): Likewise.
1988         (csin_test_data): Likewise.
1989         (csin_test): Likewise.
1990         (csinh_test_data): Likewise.
1991         (csinh_test): Likewise.
1992         (csqrt_test_data): Likewise.
1993         (csqrt_test): Likewise.
1994         (ctan_test_data): Likewise.
1995         (ctan_test): Likewise.
1996         (ctanh_test_data): Likewise.
1997         (ctanh_test): Likewise.
1998         (erf_test_data): Likewise.
1999         (erf_test): Likewise.
2000         (erfc_test_data): Likewise.
2001         (erfc_test): Likewise.
2002         (exp_test_data): Likewise.
2003         (exp_test): Likewise.
2004         (exp10_test_data): Likewise.
2005         (exp10_test): Likewise.
2006         (pow10_test): Likewise.
2007         (exp2_test_data): Likewise.
2008         (exp2_test): Likewise.
2009         (expm1_test_data): Likewise.
2010         (expm1_test): Likewise.
2011         (fabs_test_data): Likewise.
2012         (fabs_test): Likewise.
2013         (fdim_test_data): Likewise.
2014         (fdim_test): Likewise.
2015         (floor_test_data): Likewise.
2016         (floor_test): Likewise.
2017         (fma_test_data): Likewise.
2018         (fma_test): Likewise.
2019         (fmax_test_data): Likewise.
2020         (fmax_test): Likewise.
2021         (fmaxmag_test_data): Likewise.
2022         (fmaxmag_test): Likewise.
2023         (fmin_test_data): Likewise.
2024         (fmin_test): Likewise.
2025         (fminmag_test_data): Likewise.
2026         (fminmag_test): Likewise.
2027         (fmod_test_data): Likewise.
2028         (fmod_test): Likewise.
2029         (fpclassify_test_data): Likewise.
2030         (fpclassify_test): Likewise.
2031         (frexp_test_data): Likewise.
2032         (frexp_test): Likewise.
2033         (fromfp_test_data): Likewise.
2034         (fromfp_test): Likewise.
2035         (fromfpx_test_data): Likewise.
2036         (fromfpx_test): Likewise.
2037         (getpayload_test_data): Likewise.
2038         (getpayload_test): Likewise.
2039         (hypot_test_data): Likewise.
2040         (hypot_test): Likewise.
2041         (ilogb_test_data): Likewise.
2042         (ilogb_test): Likewise.
2043         (iscanonical_test_data): Likewise.
2044         (iscanonical_test): Likewise.
2045         (iseqsig_test_data): Likewise.
2046         (iseqsig_test): Likewise.
2047         (isfinite_test_data): Likewise.
2048         (isfinite_test): Likewise.
2049         (finite_test): Likewise.
2050         (isgreater_test_data): Likewise.
2051         (isgreater_test): Likewise.
2052         (isgreaterequal_test_data): Likewise.
2053         (isgreaterequal_test): Likewise.
2054         (isinf_test_data): Likewise.
2055         (isinf_test): Likewise.
2056         (isless_test_data): Likewise.
2057         (isless_test): Likewise.
2058         (islessequal_test_data): Likewise.
2059         (islessequal_test): Likewise.
2060         (islessgreater_test_data): Likewise.
2061         (islessgreater_test): Likewise.
2062         (isnan_test_data): Likewise.
2063         (isnan_test): Likewise.
2064         (isnormal_test_data): Likewise.
2065         (isnormal_test): Likewise.
2066         (issignaling_test_data): Likewise.
2067         (issignaling_test): Likewise.
2068         (issubnormal_test_data): Likewise.
2069         (issubnormal_test): Likewise.
2070         (isunordered_test_data): Likewise.
2071         (isunordered_test): Likewise.
2072         (iszero_test_data): Likewise.
2073         (iszero_test): Likewise.
2074         (j0_test_data): Likewise.
2075         (j0_test): Likewise.
2076         (j1_test_data): Likewise.
2077         (j1_test): Likewise.
2078         (jn_test_data): Likewise.
2079         (jn_test): Likewise.
2080         (lgamma_test_data): Likewise.
2081         (lgamma_test): Likewise.
2082         (gamma_test): Likewise.
2083         (llogb_test_data): Likewise.
2084         (llogb_test): Likewise.
2085         (lrint_test_data): Likewise.
2086         (lrint_test): Likewise.
2087         (llrint_test_data): Likewise.
2088         (llrint_test): Likewise.
2089         (log_test_data): Likewise.
2090         (log_test): Likewise.
2091         (log10_test_data): Likewise.
2092         (log10_test): Likewise.
2093         (log1p_test_data): Likewise.
2094         (log1p_test): Likewise.
2095         (log2_test_data): Likewise.
2096         (log2_test): Likewise.
2097         (logb_test_data): Likewise.
2098         (logb_test): Likewise.
2099         (lround_test_data): Likewise.
2100         (lround_test): Likewise.
2101         (llround_test_data): Likewise.
2102         (llround_test): Likewise.
2103         (modf_test_data): Likewise.
2104         (modf_test): Likewise.
2105         (nearbyint_test_data): Likewise.
2106         (nearbyint_test): Likewise.
2107         (nextafter_test_data): Likewise.
2108         (nextafter_test): Likewise.
2109         (nextup_test_data): Likewise.
2110         (nextup_test): Likewise.
2111         (nextdown_test_data): Likewise.
2112         (nextdown_test): Likewise.
2113         (nexttoward_test_data): Likewise.
2114         (nexttoward_test): Likewise.
2115         (pow_test_data): Likewise.
2116         (pow_test): Likewise.
2117         (remainder_test_data): Likewise.
2118         (remainder_test): Likewise.
2119         (drem_test): Likewise.
2120         (remquo_test_data): Likewise.
2121         (remquo_test): Likewise.
2122         (rint_test_data): Likewise.
2123         (rint_test): Likewise.
2124         (round_test_data): Likewise.
2125         (round_test): Likewise.
2126         (roundeven_test_data): Likewise.
2127         (roundeven_test): Likewise.
2128         (scalb_test_data): Likewise.
2129         (scalb_test): Likewise.
2130         (scalbn_test_data): Likewise.
2131         (scalbn_test): Likewise.
2132         (ldexp_test): Likewise.
2133         (scalbln_test_data): Likewise.
2134         (scalbln_test): Likewise.
2135         (setpayload_test_data): Likewise.
2136         (setpayload_test): Likewise.
2137         (setpayloadsig_test_data): Likewise.
2138         (setpayloadsig_test): Likewise.
2139         (signbit_test_data): Likewise.
2140         (signbit_test): Likewise.
2141         (sin_test_data): Likewise.
2142         (sin_test): Likewise.
2143         (sincos_test_data): Likewise.
2144         (sincos_test): Likewise.
2145         (sinh_test_data): Likewise.
2146         (sinh_test): Likewise.
2147         (sqrt_test_data): Likewise.
2148         (sqrt_test): Likewise.
2149         (tan_test_data): Likewise.
2150         (tan_test): Likewise.
2151         (tanh_test_data): Likewise.
2152         (tanh_test): Likewise.
2153         (tgamma_test_data): Likewise.
2154         (tgamma_test): Likewise.
2155         (totalorder_test_data): Likewise.
2156         (totalorder_test): Likewise.
2157         (totalordermag_test_data): Likewise.
2158         (totalordermag_test): Likewise.
2159         (trunc_test_data): Likewise.
2160         (trunc_test): Likewise.
2161         (ufromfp_test_data): Likewise.
2162         (ufromfp_test): Likewise.
2163         (ufromfpx_test_data): Likewise.
2164         (ufromfpx_test): Likewise.
2165         (y0_test_data): Likewise.
2166         (y0_test): Likewise.
2167         (y1_test_data): Likewise.
2168         (y1_test): Likewise.
2169         (yn_test_data): Likewise.
2170         (yn_test): Likewise.
2171         (significand_test_data): Likewise.
2172         (significand_test): Likewise.
2173         * math/Makefile (auto-libm-test-out-files): Remove variable.
2174         (libm-test-funcs-noauto): New variable.
2175         (libm-test-funcs-all): Likewise.
2176         (libm-test-c-auto): Likewise.
2177         (libm-test-c-noauto): Likewise.
2178         (libm-tests-generated): Add $(libm-test-c-auto) and
2179         $(libm-test-c-noauto).
2180         (generated): Do not add auto-libm-test-out.
2181         (libm-test-c-auto-obj): New variable.
2182         (libm-test-c-noauto-obj): Likewise.
2183         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
2184         ($(libm-test-c-noauto-obj)): New static pattern rule.
2185         ($(libm-test-c-auto-obj)): Likewise.
2186         (libm-test-incs): New variable.
2187         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
2188         and pass it to gen-libm-have-vector-test.sh.
2189         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
2190         be passed on command line.
2191         * math/libm-test-acos.inc: New file.  Content from
2192         math/libm-test.inc.
2193         * math/libm-test-acosh.inc: Likewise.
2194         * math/libm-test-asin.inc: Likewise.
2195         * math/libm-test-asinh.inc: Likewise.
2196         * math/libm-test-atan.inc: Likewise.
2197         * math/libm-test-atan2.inc: Likewise.
2198         * math/libm-test-atanh.inc: Likewise.
2199         * math/libm-test-cabs.inc: Likewise.
2200         * math/libm-test-cacos.inc: Likewise.
2201         * math/libm-test-cacosh.inc: Likewise.
2202         * math/libm-test-canonicalize.inc: Likewise.
2203         * math/libm-test-carg.inc: Likewise.
2204         * math/libm-test-casin.inc: Likewise.
2205         * math/libm-test-casinh.inc: Likewise.
2206         * math/libm-test-catan.inc: Likewise.
2207         * math/libm-test-catanh.inc: Likewise.
2208         * math/libm-test-cbrt.inc: Likewise.
2209         * math/libm-test-ccos.inc: Likewise.
2210         * math/libm-test-ccosh.inc: Likewise.
2211         * math/libm-test-ceil.inc: Likewise.
2212         * math/libm-test-cexp.inc: Likewise.
2213         * math/libm-test-cimag.inc: Likewise.
2214         * math/libm-test-clog.inc: Likewise.
2215         * math/libm-test-clog10.inc: Likewise.
2216         * math/libm-test-conj.inc: Likewise.
2217         * math/libm-test-copysign.inc: Likewise.
2218         * math/libm-test-cos.inc: Likewise.
2219         * math/libm-test-cosh.inc: Likewise.
2220         * math/libm-test-cpow.inc: Likewise.
2221         * math/libm-test-cproj.inc: Likewise.
2222         * math/libm-test-creal.inc: Likewise.
2223         * math/libm-test-csin.inc: Likewise.
2224         * math/libm-test-csinh.inc: Likewise.
2225         * math/libm-test-csqrt.inc: Likewise.
2226         * math/libm-test-ctan.inc: Likewise.
2227         * math/libm-test-ctanh.inc: Likewise.
2228         * math/libm-test-erf.inc: Likewise.
2229         * math/libm-test-erfc.inc: Likewise.
2230         * math/libm-test-exp.inc: Likewise.
2231         * math/libm-test-exp10.inc: Likewise.
2232         * math/libm-test-exp2.inc: Likewise.
2233         * math/libm-test-expm1.inc: Likewise.
2234         * math/libm-test-fabs.inc: Likewise.
2235         * math/libm-test-fdim.inc: Likewise.
2236         * math/libm-test-floor.inc: Likewise.
2237         * math/libm-test-fma.inc: Likewise.
2238         * math/libm-test-fmax.inc: Likewise.
2239         * math/libm-test-fmaxmag.inc: Likewise.
2240         * math/libm-test-fmin.inc: Likewise.
2241         * math/libm-test-fminmag.inc: Likewise.
2242         * math/libm-test-fmod.inc: Likewise.
2243         * math/libm-test-fpclassify.inc: Likewise.
2244         * math/libm-test-frexp.inc: Likewise.
2245         * math/libm-test-fromfp.inc: Likewise.
2246         * math/libm-test-fromfpx.inc: Likewise.
2247         * math/libm-test-getpayload.inc: Likewise.
2248         * math/libm-test-hypot.inc: Likewise.
2249         * math/libm-test-ilogb.inc: Likewise.
2250         * math/libm-test-iscanonical.inc: Likewise.
2251         * math/libm-test-iseqsig.inc: Likewise.
2252         * math/libm-test-isfinite.inc: Likewise.
2253         * math/libm-test-isgreater.inc: Likewise.
2254         * math/libm-test-isgreaterequal.inc: Likewise.
2255         * math/libm-test-isinf.inc: Likewise.
2256         * math/libm-test-isless.inc: Likewise.
2257         * math/libm-test-islessequal.inc: Likewise.
2258         * math/libm-test-islessgreater.inc: Likewise.
2259         * math/libm-test-isnan.inc: Likewise.
2260         * math/libm-test-isnormal.inc: Likewise.
2261         * math/libm-test-issignaling.inc: Likewise.
2262         * math/libm-test-issubnormal.inc: Likewise.
2263         * math/libm-test-isunordered.inc: Likewise.
2264         * math/libm-test-iszero.inc: Likewise.
2265         * math/libm-test-j0.inc: Likewise.
2266         * math/libm-test-j1.inc: Likewise.
2267         * math/libm-test-jn.inc: Likewise.
2268         * math/libm-test-lgamma.inc: Likewise.
2269         * math/libm-test-llogb.inc: Likewise.
2270         * math/libm-test-llrint.inc: Likewise.
2271         * math/libm-test-llround.inc: Likewise.
2272         * math/libm-test-log.inc: Likewise.
2273         * math/libm-test-log10.inc: Likewise.
2274         * math/libm-test-log1p.inc: Likewise.
2275         * math/libm-test-log2.inc: Likewise.
2276         * math/libm-test-logb.inc: Likewise.
2277         * math/libm-test-lrint.inc: Likewise.
2278         * math/libm-test-lround.inc: Likewise.
2279         * math/libm-test-modf.inc: Likewise.
2280         * math/libm-test-nearbyint.inc: Likewise.
2281         * math/libm-test-nextafter.inc: Likewise.
2282         * math/libm-test-nextdown.inc: Likewise.
2283         * math/libm-test-nexttoward.inc: Likewise.
2284         * math/libm-test-nextup.inc: Likewise.
2285         * math/libm-test-pow.inc: Likewise.
2286         * math/libm-test-remainder.inc: Likewise.
2287         * math/libm-test-remquo.inc: Likewise.
2288         * math/libm-test-rint.inc: Likewise.
2289         * math/libm-test-round.inc: Likewise.
2290         * math/libm-test-roundeven.inc: Likewise.
2291         * math/libm-test-scalb.inc: Likewise.
2292         * math/libm-test-scalbln.inc: Likewise.
2293         * math/libm-test-scalbn.inc: Likewise.
2294         * math/libm-test-setpayload.inc: Likewise.
2295         * math/libm-test-setpayloadsig.inc: Likewise.
2296         * math/libm-test-signbit.inc: Likewise.
2297         * math/libm-test-significand.inc: Likewise.
2298         * math/libm-test-sin.inc: Likewise.
2299         * math/libm-test-sincos.inc: Likewise.
2300         * math/libm-test-sinh.inc: Likewise.
2301         * math/libm-test-sqrt.inc: Likewise.
2302         * math/libm-test-tan.inc: Likewise.
2303         * math/libm-test-tanh.inc: Likewise.
2304         * math/libm-test-tgamma.inc: Likewise.
2305         * math/libm-test-totalorder.inc: Likewise.
2306         * math/libm-test-totalordermag.inc: Likewise.
2307         * math/libm-test-trunc.inc: Likewise.
2308         * math/libm-test-ufromfp.inc: Likewise.
2309         * math/libm-test-ufromfpx.inc: Likewise.
2310         * math/libm-test-y0.inc: Likewise.
2311         * math/libm-test-y1.inc: Likewise.
2312         * math/libm-test-yn.inc: Likewise.
2313         * math/README.libm-test: Update.
2315         * math/gen-auto-libm-tests.c: Update comment about use of program.
2316         (generate_output): Add argument FUNCTION.
2317         (main): Require extra argument.  Pass function name to
2318         generate_output.
2319         * math/Makefile (generated): Add auto-libm-test-out.
2320         (libm-test-funcs-auto): New variable.
2321         (auto-libm-test-out-files): New variable.
2322         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
2323         Concatenate those files to form $(objpfx)auto-libm-test-out and
2324         use it as input to gen-libm-test.pl.
2325         * math/README.libm-test: Update.
2326         * math/auto-libm-test-out: Remove.
2327         * math/auto-libm-test-out-acos: New generated file.
2328         * math/auto-libm-test-out-acosh: Likewise.
2329         * math/auto-libm-test-out-asin: Likewise.
2330         * math/auto-libm-test-out-asinh: Likewise.
2331         * math/auto-libm-test-out-atan: Likewise.
2332         * math/auto-libm-test-out-atan2: Likewise.
2333         * math/auto-libm-test-out-atanh: Likewise.
2334         * math/auto-libm-test-out-cabs: Likewise.
2335         * math/auto-libm-test-out-carg: Likewise.
2336         * math/auto-libm-test-out-cbrt: Likewise.
2337         * math/auto-libm-test-out-ccos: Likewise.
2338         * math/auto-libm-test-out-ccosh: Likewise.
2339         * math/auto-libm-test-out-cexp: Likewise.
2340         * math/auto-libm-test-out-clog: Likewise.
2341         * math/auto-libm-test-out-clog10: Likewise.
2342         * math/auto-libm-test-out-cos: Likewise.
2343         * math/auto-libm-test-out-cosh: Likewise.
2344         * math/auto-libm-test-out-cpow: Likewise.
2345         * math/auto-libm-test-out-csin: Likewise.
2346         * math/auto-libm-test-out-csinh: Likewise.
2347         * math/auto-libm-test-out-csqrt: Likewise.
2348         * math/auto-libm-test-out-ctan: Likewise.
2349         * math/auto-libm-test-out-ctanh: Likewise.
2350         * math/auto-libm-test-out-erf: Likewise.
2351         * math/auto-libm-test-out-erfc: Likewise.
2352         * math/auto-libm-test-out-exp: Likewise.
2353         * math/auto-libm-test-out-exp10: Likewise.
2354         * math/auto-libm-test-out-exp2: Likewise.
2355         * math/auto-libm-test-out-expm1: Likewise.
2356         * math/auto-libm-test-out-fma: Likewise.
2357         * math/auto-libm-test-out-hypot: Likewise.
2358         * math/auto-libm-test-out-j0: Likewise.
2359         * math/auto-libm-test-out-j1: Likewise.
2360         * math/auto-libm-test-out-jn: Likewise.
2361         * math/auto-libm-test-out-lgamma: Likewise.
2362         * math/auto-libm-test-out-log: Likewise.
2363         * math/auto-libm-test-out-log10: Likewise.
2364         * math/auto-libm-test-out-log1p: Likewise.
2365         * math/auto-libm-test-out-log2: Likewise.
2366         * math/auto-libm-test-out-pow: Likewise.
2367         * math/auto-libm-test-out-sin: Likewise.
2368         * math/auto-libm-test-out-sincos: Likewise.
2369         * math/auto-libm-test-out-sinh: Likewise.
2370         * math/auto-libm-test-out-sqrt: Likewise.
2371         * math/auto-libm-test-out-tan: Likewise.
2372         * math/auto-libm-test-out-tanh: Likewise.
2373         * math/auto-libm-test-out-tgamma: Likewise.
2374         * math/auto-libm-test-out-y0: Likewise.
2375         * math/auto-libm-test-out-y1: Likewise.
2376         * math/auto-libm-test-out-yn: Likewise.
2378         * math/Makefile (generated): Do not include libm-test.stmp.
2379         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
2380         on $(objpfx)libm-test.stmp.
2381         ($(objpfx)libm-test.stmp): Remove rule.
2382         ($(objpfx)libm-test-ulps.h): New rule.
2383         ($(objpfx)libm-test.c): Likewise.
2384         ($(objpfx)libm-have-vector-test.h): Likewise.
2385         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
2386         individual generated files, not libm-test.stmp.
2388         * math/gen-libm-test.pl ($output_dir): Remove variable.
2389         ($srcdir): Likewise.
2390         ($opt_a): New variable.
2391         ($opt_c): Likewise.
2392         ($opt_C): Likewise.
2393         ($opt_H): Likewise.
2394         (-n): Make option take argument and use it as NewUlps output.
2395         (-a): New option.  Use its argument for auto-libm-test-out input.
2396         (-c): New option.  Use its argument for libm-test.inc input.
2397         (-C): New option.  Use its argument for libm-test.c output.
2398         (-H): New option.  Use its argument for libm-test-ulps.h output.
2399         (top level): Only process inputs needed to generate outputs
2400         specified by command-line options.  Only generate outputs
2401         specified by command-line options.
2402         * math/README.libm-test: Update example gen-libm-test.pl command.
2403         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
2404         commands.
2405         (regen-ulps): Likewise.
2407 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
2409         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
2410         * include/string.h (index): Remove define.
2411         (rindex): Likewise.
2412         * misc/getttyent.c (__getttyent): Rename index to strchr.
2413         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
2414         * sunrpc/rpc_main.c (mkfile_output): Likewise.
2416 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2418         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
2419         * math/libm-test.inc: Move all contents, other than tests of
2420         individual functions, to libm-test-driver.c.
2421         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
2422         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
2423         [!FE_UPWARD] (FE_UPWARD): Likewise.
2424         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
2425         (NO_EXCEPTION): Likewise.
2426         (INVALID_EXCEPTION): Likewise.
2427         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
2428         (OVERFLOW_EXCEPTION): Likewise.
2429         (UNDERFLOW_EXCEPTION): Likewise.
2430         (INEXACT_EXCEPTION): Likewise.
2431         (INVALID_EXCEPTION_OK): Likewise.
2432         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2433         (OVERFLOW_EXCEPTION_OK): Likewise.
2434         (UNDERFLOW_EXCEPTION_OK): Likewise.
2435         (NO_INEXACT_EXCEPTION): Likewise.
2436         (EXCEPTIONS_OK): Likewise.
2437         (IGNORE_ZERO_INF_SIGN): Likewise.
2438         (TEST_NAN_SIGN): Likewise.
2439         (TEST_NAN_PAYLOAD): Likewise.
2440         (NO_TEST_INLINE): Likewise.
2441         (XFAIL_TEST): Likewise.
2442         (ERRNO_UNCHANGED): Likewise.
2443         (ERRNO_EDOM): Likewise.
2444         (ERRNO_ERANGE): Likewise.
2445         (IGNORE_RESULT): Likewise.
2446         (NON_FINITE): Likewise.
2447         (TEST_SNAN): Likewise.
2448         (NO_TEST_MATHVEC): Likewise.
2449         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
2450         (__CONCATX): Likewise.
2451         (TYPE_MIN): Likewise.
2452         (TYPE_TRUE_MIN): Likewise.
2453         (TYPE_MAX): Likewise.
2454         (MIN_EXP): Likewise.
2455         (MAX_EXP): Likewise.
2456         (MANT_DIG): Likewise.
2457         (FSTR_MAX): Likewise.
2458         (ULP_IDX): Likewise.
2459         (QTYPE_STR): Likewise.
2460         (TEST_COND_binary32): Likewise.
2461         (TEST_COND_binary64): Likewise.
2462         (TEST_COND_binary128): Likewise.
2463         (TEST_COND_ibm128): Likewise.
2464         (TEST_COND_intel96): Likewise.
2465         (TEST_COND_m68k96): Likewise.
2466         (TEST_COND_ibm128_libgcc): Likewise.
2467         (XFAIL_IBM128_LIBGCC): Likewise.
2468         (PAYLOAD_DIG): Likewise.
2469         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2470         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2471         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2472         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2473         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2474         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
2475         (TEST_COND_long32): Likewise.
2476         (TEST_COND_long64): Likewise.
2477         (TEST_COND_before_rounding): Likewise.
2478         (TEST_COND_after_rounding): Likewise.
2479         (lit_pi_3_m_4_d): Likewise.
2480         (lit_pi_3_m_4_ln10_m_d): Likewise.
2481         (lit_pi_2_ln10_m_d): Likewise.
2482         (lit_pi_4_ln10_m_d): Likewise.
2483         (lit_pi_ln10_d): Likewise.
2484         (lit_pi_2_d): Likewise.
2485         (lit_pi_4_d): Likewise.
2486         (lit_pi): Likewise.
2487         (lit_e): Likewise.
2488         (ulps_file_name): Likewise.
2489         (ulps_file): Likewise.
2490         (output_ulps): Likewise.
2491         (output_dir): Likewise.
2492         (noErrors): Likewise.
2493         (noTests): Likewise.
2494         (noExcTests): Likewise.
2495         (noErrnoTests): Likewise.
2496         (verbose): Likewise.
2497         (output_max_error): Likewise.
2498         (output_points): Likewise.
2499         (ignore_max_ulp): Likewise.
2500         (plus_zero): Likewise.
2501         (minus_zero): Likewise.
2502         (plus_infty): Likewise.
2503         (minus_infty): Likewise.
2504         (qnan_value_pl): Likewise.
2505         (qnan_value): Likewise.
2506         (snan_value_pl): Likewise.
2507         (snan_value): Likewise.
2508         (max_value): Likewise.
2509         (min_value): Likewise.
2510         (min_subnorm_value): Likewise.
2511         (snan_value_ld): Likewise.
2512         (max_error): Likewise.
2513         (real_max_error): Likewise.
2514         (imag_max_error): Likewise.
2515         (prev_max_error): Likewise.
2516         (prev_real_max_error): Likewise.
2517         (prev_imag_max_error): Likewise.
2518         (max_valid_error): Likewise.
2519         (TYPE_DECIMAL_DIG): Likewise.
2520         (TYPE_HEX_DIG): Likewise.
2521         (fmt_ftostr): Likewise.
2522         (compare_ulp_data): Likewise.
2523         (find_ulps): Likewise.
2524         (init_max_error): Likewise.
2525         (set_max_error): Likewise.
2526         (print_float): Likewise.
2527         (print_screen): Likewise.
2528         (print_screen_max_error): Likewise.
2529         (update_stats): Likewise.
2530         (print_function_ulps): Likewise.
2531         (print_complex_function_ulps): Likewise.
2532         (fpstack_test): Likewise.
2533         (print_max_error): Likewise.
2534         (print_complex_max_error): Likewise.
2535         (test_single_exception): Likewise.
2536         (test_exceptions): Likewise.
2537         (test_single_errno): Likewise.
2538         (test_errno): Likewise.
2539         (ULPDIFF): Likewise.
2540         (ulp): Likewise.
2541         (check_float_internal): Likewise.
2542         (check_float): Likewise.
2543         (check_complex): Likewise.
2544         (check_int): Likewise.
2545         (check_long): Likewise.
2546         (check_bool): Likewise.
2547         (check_longlong): Likewise.
2548         (check_intmax_t): Likewise.
2549         (check_uintmax_t): Likewise.
2550         (enable_test): Likewise.
2551         (struct test_f_f_data): Likewise.
2552         (struct test_ff_f_data): Likewise.
2553         (struct test_fj_f_data): Likewise.
2554         (struct test_fi_f_data): Likewise.
2555         (struct test_fl_f_data): Likewise.
2556         (struct test_if_f_data): Likewise.
2557         (struct test_fff_f_data): Likewise.
2558         (struct test_fiu_M_data): Likewise.
2559         (struct test_fiu_U_data): Likewise.
2560         (struct test_c_f_data): Likewise.
2561         (struct test_f_f1_data): Likewise.
2562         (struct test_fF_f1_data): Likewise.
2563         (struct test_ffI_f1_data): Likewise.
2564         (struct test_c_c_data): Likewise.
2565         (struct test_cc_c_data): Likewise.
2566         (struct test_f_i_data): Likewise.
2567         (struct test_ff_i_data): Likewise.
2568         (struct test_f_l_data): Likewise.
2569         (struct test_f_L_data): Likewise.
2570         (struct test_fFF_11_data): Likewise.
2571         (struct test_Ff_b1_data): Likewise.
2572         (IF_ROUND_INIT_): Likewise.
2573         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2574         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2575         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2576         (IF_ROUND_INIT_FE_UPWARD): Likewise.
2577         (ROUND_RESTORE_): Likewise.
2578         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2579         (ROUND_RESTORE_FE_TONEAREST): Likewise.
2580         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2581         (ROUND_RESTORE_FE_UPWARD): Likewise.
2582         (RM_): Likewise.
2583         (RM_FE_DOWNWARD): Likewise.
2584         (RM_FE_TONEAREST): Likewise.
2585         (RM_FE_TOWARDZERO): Likewise.
2586         (RM_FE_UPWARD): Likewise.
2587         (COMMON_TEST_SETUP): Likewise.
2588         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2589         (COMMON_TEST_CLEANUP): Likewise.
2590         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2591         (RUN_TEST_f_f): Likewise.
2592         (RUN_TEST_LOOP_f_f): Likewise.
2593         (RUN_TEST_fp_f): Likewise.
2594         (RUN_TEST_LOOP_fp_f): Likewise.
2595         (RUN_TEST_2_f): Likewise.
2596         (RUN_TEST_LOOP_2_f): Likewise.
2597         (RUN_TEST_ff_f): Likewise.
2598         (RUN_TEST_LOOP_ff_f): Likewise.
2599         (RUN_TEST_LOOP_fj_f): Likewise.
2600         (RUN_TEST_fi_f): Likewise.
2601         (RUN_TEST_LOOP_fi_f): Likewise.
2602         (RUN_TEST_fl_f): Likewise.
2603         (RUN_TEST_LOOP_fl_f): Likewise.
2604         (RUN_TEST_if_f): Likewise.
2605         (RUN_TEST_LOOP_if_f): Likewise.
2606         (RUN_TEST_fff_f): Likewise.
2607         (RUN_TEST_LOOP_fff_f): Likewise.
2608         (RUN_TEST_fiu_M): Likewise.
2609         (RUN_TEST_LOOP_fiu_M): Likewise.
2610         (RUN_TEST_fiu_U): Likewise.
2611         (RUN_TEST_LOOP_fiu_U): Likewise.
2612         (RUN_TEST_c_f): Likewise.
2613         (RUN_TEST_LOOP_c_f): Likewise.
2614         (RUN_TEST_f_f1): Likewise.
2615         (RUN_TEST_LOOP_f_f1): Likewise.
2616         (RUN_TEST_fF_f1): Likewise.
2617         (RUN_TEST_LOOP_fF_f1): Likewise.
2618         (RUN_TEST_fI_f1): Likewise.
2619         (RUN_TEST_LOOP_fI_f1): Likewise.
2620         (RUN_TEST_ffI_f1_mod8): Likewise.
2621         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
2622         (RUN_TEST_Ff_b1): Likewise.
2623         (RUN_TEST_LOOP_Ff_b1): Likewise.
2624         (RUN_TEST_Ffp_b1): Likewise.
2625         (RUN_TEST_LOOP_Ffp_b1): Likewise.
2626         (RUN_TEST_c_c): Likewise.
2627         (RUN_TEST_LOOP_c_c): Likewise.
2628         (RUN_TEST_cc_c): Likewise.
2629         (RUN_TEST_LOOP_cc_c): Likewise.
2630         (RUN_TEST_f_i): Likewise.
2631         (RUN_TEST_LOOP_f_i): Likewise.
2632         (RUN_TEST_f_i_tg): Likewise.
2633         (RUN_TEST_LOOP_f_i_tg): Likewise.
2634         (RUN_TEST_ff_b): Likewise.
2635         (RUN_TEST_LOOP_ff_b): Likewise.
2636         (RUN_TEST_ff_i_tg): Likewise.
2637         (RUN_TEST_LOOP_ff_i_tg): Likewise.
2638         (RUN_TEST_f_b): Likewise.
2639         (RUN_TEST_LOOP_f_b): Likewise.
2640         (RUN_TEST_f_b_tg): Likewise.
2641         (RUN_TEST_LOOP_f_b_tg): Likewise.
2642         (RUN_TEST_f_l): Likewise.
2643         (RUN_TEST_LOOP_f_l): Likewise.
2644         (RUN_TEST_f_L): Likewise.
2645         (RUN_TEST_LOOP_f_L): Likewise.
2646         (RUN_TEST_fFF_11): Likewise.
2647         (RUN_TEST_LOOP_fFF_11): Likewise.
2648         (VEC_SUFF): Likewise.
2649         (STR_CONCAT): Likewise.
2650         (STR_CON3): Likewise.
2651         (HAVE_VECTOR): Likewise.
2652         (START): Likewise.
2653         (END): Likewise.
2654         (END_COMPLEX): Likewise.
2655         (ALL_RM_TEST): Likewise.
2656         (matherr): Likewise.
2657         (initialize): Likewise.
2658         (options): Likewise.
2659         (doc): Likewise.
2660         (parse_opt): Likewise.
2661         (argp): Likewise.
2662         (check_ulp): Likewise.
2663         (main): Likewise.
2664         (do_test): New function.  Call tests of individual functions
2665         previously called from main.
2667         * math/libm-test.inc: Remove comment listing functions tested and
2668         not tested.
2670 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2672         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
2673         (allocate_stack): Remove COLORING_INCREMENT usage.
2674         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
2675         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
2677 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
2679         * manual/libm-err-tab.pl (@all_functions): Change to
2680         %all_functions.  Initialize as empty.
2681         (parse_ulps): Add to %all_functions based on functions found in
2682         ulps files.  Ignore results for non-default rounding modes and
2683         vector functions.
2684         (print_platforms): Use %all_platforms.
2685         * manual/math.texi (Errors in Math Functions): Document omissions
2686         from the table.
2688         * math/Makefile (before-compile): Remove.
2690 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
2692         [BZ #21075]
2693         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
2694         unused assignment.
2695         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
2697 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2699         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
2700         Add __glibc_unlikely hint.
2702 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2704         [BZ #16640]
2705         * sysdeps/i386/i686/strtok.S: Remove file.
2706         * sysdeps/i386/i686/strtok_r.S: Likewise.
2707         * sysdeps/i386/strtok.S: Likewise.
2708         * sysdeps/i386/strtok_r.S: Likewise.
2709         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
2710         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
2711         * sysdeps/x86_64/strtok.S: Likewise.
2712         * sysdeps/x86_64/strtok_r.S: Likewise.
2714         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
2715         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2716         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2717         (__ASSUME_FADVISE64_AS_64_64): Define.
2718         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
2719         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
2720         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
2721         __ALIGNMENT_ARG usage.
2722         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
2723         __NR_fadvise64_64 if it is not defined.
2725 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2727         * version.h (RELEASE): Set to "development"
2728         (VERSION): Set to 2.25.90.
2729         * NEWS: Add 2.26 section.
2731         * version.h (RELEASE): Set to "stable"
2732         (VERSION): Set to 2.25.
2733         * include/features.h (__GLIBC_MINOR__): Set to 25.
2735         * manual/contrib.texi: Add more contributors from this release
2736         and past releases.
2738         * NEWS (2.25): Add list of bugs fixed.
2740         * NEWS: Add missing news items.
2742 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2744         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
2745         parent if child exited in that manner.  Print WEXITSTATUS
2746         instead of the raw status.
2747         (do_test_prep): Rename to do_test.
2748         (do_test): Return the result of run_executable_sgid.
2749         (TEST_FUNCTION_ARGV): Adjust.
2751 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
2752             Florian Weimer  <fweimer@redhat.com>
2753             Carlos O'Donell  <carlos@redhat.com>
2755         [BZ #20915]
2756         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
2757         Do not initialize DTV.
2758         * nptl/allocatestack.c (init_one_static_tls): Likewise.
2760 2017-02-03  David S. Miller  <davem@davemloft.net>
2762         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
2763         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
2764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
2765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
2766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
2767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
2768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
2769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
2770         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
2771         (libm-sysdep_routines): Update.
2772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
2773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
2774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
2776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2777         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
2778         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
2779         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
2780         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
2781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
2782         Likewise.
2783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
2785         Likewise.
2786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
2787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
2788         Likewise.
2789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
2791         Likewise.
2792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
2793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
2794         (libm-sysdep_routines): Update.
2796 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
2798         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
2799         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
2800         against unrelocated shared library.
2801         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
2803 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2805         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
2806         * elf/tst-env-setuid-tunables.c
2807         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
2808         GLIBC_TUNABLES is removed in a setgid process.
2810         [BZ #21073]
2811         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
2812         * elf/dl-tunables.c (tunables_strdup): Remove.
2813         (get_next_env): Also return the previous envp.
2814         (parse_tunables): Erase tunables of category
2815         TUNABLES_SECLEVEL_SXID_ERASE.
2816         (maybe_enable_malloc_check): Make MALLOC_CHECK_
2817         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
2818         (__tunables_init)[TUNABLES_FRONTEND ==
2819         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
2820         after parsing.
2821         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
2822         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
2823         * elf/dl-tunables.h (struct _tunable): Change member is_secure
2824         to security_level.
2825         * elf/dl-tunables.list: Add security_level annotations for all
2826         tunables.
2827         * scripts/gen-tunables.awk: Recognize and generate enum values
2828         for security_level.
2829         * elf/tst-env-setuid.c: New test case.
2830         * elf/tst-env-setuid-tunables: new test case.
2831         * elf/Makefile (tests-static): Add them.
2833 2017-02-01  Richard Henderson  <rth@twiddle.net>
2835         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
2836         adjusting the byte count.
2838 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
2840         * conform/Makefile (linknamespace-libs): Define.
2842         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
2843         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
2844         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
2845         operands.
2847 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
2849         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
2851 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
2853         [BZ #21081]
2854         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2855         (L(stosb)): Add VZEROUPPER before ret.
2857 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
2858             Alexey Makhalov <amakhalov@vmware.com>
2859             Florian Weimer <fweimer@redhat.com>
2861         [BZ #20116]
2862         * nptl/pthread_create.c: Document concurrency notes.
2863         Enhance thread creation notes.
2864         (create_thread): Use bool *stopped_start.
2865         (START_THREAD_DEFN): Comment ownership of PD.
2866         (__pthread_create_2_1): Add local bool stopped_start and use
2867         that instead of pd->stopped_start where appropriate.
2868         * nptl/createthread.c (create_thread): Use bool *stopped_start.
2869         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
2870         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
2871         * nptl/tst-create-detached.c: New file.
2872         * nptl/Makefile (tests): Add tst-create-detached.
2873         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
2874         Reference the enhanced thread creation notes.
2875         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
2876         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
2877         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
2878         (__pthread_current_priority): Likewise.
2879         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
2880         xpthread_attr_init, xpthread_attr_setdetachstate, and
2881         xpthread_attr_setstacksize.
2882         * support/xpthread_attr_destroy.c: New file.
2883         * support/xpthread_attr_init.c: New file.
2884         * support/xpthread_attr_setdetachstate.c: New file.
2885         * support/xpthread_attr_setstacksize.c: New file.
2886         * support/xthread.h: Define prototypes for xpthread_attr_destroy
2887         xpthread_attr_init, xpthread_attr_setdetachstate, and
2888         xpthread_attr_setstacksize.
2890 2017-01-27  Florian Weimer  <fweimer@redhat.com>
2892         * nptl/Makefile (tests): Add tst-robust-fork.
2893         * nptl/tst-robust-fork.c: New file.
2894         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
2895         xpthread_mutex_consistent, xpthread_mutex_destroy,
2896         xpthread_mutex_init, xpthread_mutexattr_destroy,
2897         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
2898         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
2899         xpthread_mutexattr_settype.
2900         * support/xmmap.c: New file.
2901         * support/xmunmap.c: Likewise.
2902         * support/xpthread_mutex_consistent.c: Likewise.
2903         * support/xpthread_mutex_destroy.c: Likewise.
2904         * support/xpthread_mutex_init.c: Likewise.
2905         * support/xpthread_mutexattr_destroy.c: Likewise.
2906         * support/xpthread_mutexattr_init.c: Likewise.
2907         * support/xpthread_mutexattr_setprotocol.c: Likewise.
2908         * support/xpthread_mutexattr_setpshared.c: Likewise.
2909         * support/xpthread_mutexattr_setrobust.c: Likewise.
2910         * support/xpthread_mutexattr_settype.c: Likewise.
2911         * support/xthread.h (xpthread_mutexattr_destroy)
2912         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
2913         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
2914         (xpthread_mutexattr_settype, xpthread_mutex_init)
2915         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
2916         * support/xunistd.h (xmmap, xmunmap): Likewise.
2918 2017-01-25  Florian Weimer  <fweimer@redhat.com>
2920         * string/Makefile (xtests): Add comment.
2921         (LOCALES): Add en_GB.UTF-8.
2922         (tst-strcoll-overflow.out): Depend on generated locales.
2923         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
2924         (SIZE, TIMEOUT): Update comments.
2925         (do_test): Define as static.  Fail test if setlocale fails.
2926         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
2927         messages.
2928         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
2929         TIMEOUT at 300 seconds should be enough to run this test
2930         successfully.
2932 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
2934         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
2935         /* FALLTHRU */ comments.
2937 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
2939         [BZ #21053]
2940         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
2941         constants instead of the old R* ones.
2942         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
2943         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
2944         (NGREG): ... to this, to fit in with other architectures.
2945         (gpregset_t): Use new NGREG macro.
2946         [__USE_GNU]: Remove condition; all architectures other than tile
2947         are unconditional.
2948         (R*): Rename to REG_R*.
2950 2017-01-20  DJ Delorie  <dj@redhat.com>
2952         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
2953         (tunable_set_val_if_valid_range_signed) ... this, and ...
2954         (tunable_set_val_if_valid_range_unsigned) ... this.
2955         (tunable_initialize): Call the correct one of the above based on type.
2957 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
2959         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
2960         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2961         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2962         * sysdeps/microblaze/libm-test-ulps: Likewise.
2963         * sysdeps/sh/libm-test-ulps: Likewise.
2965         * math/README.libm-test: Update list of characters for input and
2966         output types.
2968 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2970         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
2971         (__lll_unlock_elision): Fix adapt_count decrement.
2973 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
2975         * README.pretty-printers (Known issues): Warn about printers not
2976         always covering everything.
2977         * nptl/nptl-printers.py (MutexPrinter): Change output.
2978         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
2980 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2982         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
2983         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2984         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
2985         (__lll_lock_elision): Do not test futex before starting a
2986         transaction.  Use __glibc_likely instead of __builtin_expect.
2987         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
2988         (__lll_trylock_elision): Do not test futex before starting a
2989         transaction.  Use __glibc_likely instead of __builtin_expect.
2991 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2993         * po/Makefile (update-translations): New target.
2995 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
2997         [BZ #21061]
2998         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
3000 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3002         * elf/dl-tunables (get_next_env): Always advance envp.
3003         * stdlib/tst-empty-env.c: New test case.
3004         * stdlib/Makefile (tests): Use it.
3006 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
3008         [BZ #21047]
3009         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
3010         name for instruction.
3011         [!__SOFTFP__] (_FPU_SETCW): Likewise.
3013 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3015         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
3016         for make install.
3018 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3020         * po/bg.po: Merge from Translation Project.
3021         * po/fr.po: Likewise.
3022         * po/ko.po: Likewise.
3023         * po/nl.po: Likewise.
3024         * po/sv.po: Likewise.
3026 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
3028         * manual/install.texi (Tools for Compilation): Update GCC version
3029         known to work to build glibc.
3030         * INSTALL: Regenerated.
3032 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3034         [BZ #21006]
3035         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
3037 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
3039         [BZ #21045]
3040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3041         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
3042         to __sigprocmask.
3044 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
3046         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
3047         wrap-around.
3048         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
3050         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
3052 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3054         * NEWS: Fix typo.
3056 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3058         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
3059         barriers and comments.
3060         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
3061         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3062         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3064 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3066         [BZ #19402]
3067         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
3068         mutexes.
3070 2016-01-13  Torvald Riegel  <triegel@redhat.com>
3072         [BZ #20985]
3073         * nptl/Makefile: Adapt.
3074         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3075         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3076         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
3077         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
3078         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
3079         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
3080         lll_robust* functions and adapt.
3081         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3082         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
3083         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3084         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3085         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
3086         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3087         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
3088         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
3089         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
3090         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
3091         __lll_robust_timedlock, __lll_robust_unlock): Remove.
3092         * nptl/lowlevelrobustlock.c: Remove file.
3093         * nptl/lowlevelrobustlock.sym: Likewise.
3094         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
3095         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
3097 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3099         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3101 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3103         * po/cs.po: Merge translations from the Translation Project.
3104         * po/de.po: Likewise.
3105         * po/pl.po: Likewise.
3106         * po/ru.po: Likewise.
3107         * po/tr.po: Likewise.
3108         * po/uk.po: Likewise.
3109         * po/vi.po: Likewise.
3110         * po/zh_CN.po: Likewise.
3112 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
3114         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
3116         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
3117         object.
3119 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3121         [BZ #16458]
3122         * bits/uintn-identity.h: New file.
3123         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
3124         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
3125         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
3126         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
3127         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
3128         * string/endian.h: Include <bits/uintn-identity.h>.
3129         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
3130         __uint16_identity.
3131         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
3132         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
3133         __uint32_identity.
3134         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
3135         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
3136         __uint64_identity.
3137         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
3138         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
3139         __uint16_identity.
3140         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
3141         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
3142         __uint32_identity.
3143         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
3144         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
3145         __uint64_identity.
3146         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
3147         * string/Makefile (headers): Add bits/uintn-identity.h.
3148         (tests): Add test-endian-types.
3149         * string/test-endian-types.c: New file.
3150         * inet/Makefile (tests): Add test-hnto-types.
3151         * inet/test-hnto-types.c: New file.
3153 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3155         * po/be.po: Update from Translation Project.
3156         * po/bg.po: Likewise.
3157         * po/ca.po: Likewise.
3158         * po/cs.po: Likewise.
3159         * po/da.po: Likewise.
3160         * po/de.po: Likewise.
3161         * po/el.po: Likewise.
3162         * po/eo.po: Likewise.
3163         * po/es.po: Likewise.
3164         * po/fi.po: Likewise.
3165         * po/fr.po: Likewise.
3166         * po/gl.po: Likewise.
3167         * po/hr.po: Likewise.
3168         * po/hu.po: Likewise.
3169         * po/ia.po: Likewise.
3170         * po/id.po: Likewise.
3171         * po/it.po: Likewise.
3172         * po/ja.po: Likewise.
3173         * po/ko.po: Likewise.
3174         * po/lt.po: Likewise.
3175         * po/nb.po: Likewise.
3176         * po/nl.po: Likewise.
3177         * po/pl.po: Likewise.
3178         * po/pt_BR.po: Likewise.
3179         * po/ru.po: Likewise.
3180         * po/rw.po: Likewise.
3181         * po/sk.po: Likewise.
3182         * po/sl.po: Likewise.
3183         * po/sv.po: Likewise.
3184         * po/tr.po: Likewise.
3185         * po/uk.po: Likewise.
3186         * po/vi.po: Likewise.
3187         * po/zh_CN.po: Likewise.
3188         * po/zh_TW.po: Likewise.
3190 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
3192         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
3193         -Wformat-truncation instead of -Wformat-length.
3194         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
3195         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
3196         GCC 7.
3197         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
3198         (do_test): Ignore -Wformat-truncation for GCC 7.
3200         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
3201         buffer used to print long int value.
3203         * elf/sotruss-lib.c (init): Increase space allocated for pid by
3204         one byte.  Print it with %ld, cast to long int.
3206 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3208         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
3209         (re.fullmatch, subprocess.run): Likewise.
3211 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3213         * po/libc.pot: Regenerate.
3215 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3217         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
3218         (min_strlen): Likewise.
3219         (disable_tunable): Likewise.
3220         (maybe_disable_malloc_check): Rename to
3221         maybe_enable_malloc_check.
3222         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
3223         if /etc/suid-debug file exists.
3224         (__tunables_init): Update caller.
3225         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
3226         secure.
3228 2016-01-10  Torvald Riegel  <triegel@redhat.com>
3230         * nptl/DESIGN-rwlock.txt: Remove.
3231         * nptl/lowlevelrwlock.sym: Remove.
3232         * nptl/Makefile: Add new tests.
3233         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
3234         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
3235         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
3236         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
3237         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
3238         PTHREAD_RWLOCK_FUTEX_USED): New.
3239         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
3240         implementation.
3241         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
3242         (__pthread_rwlock_rdlock): Adapt.
3243         * nptl/pthread_rwlock_timedrdlock.c
3244         (pthread_rwlock_timedrdlock): Adapt.
3245         * nptl/pthread_rwlock_timedwrlock.c
3246         (pthread_rwlock_timedwrlock): Adapt.
3247         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
3248         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
3249         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
3250         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
3251         (__pthread_rwlock_wrlock): Adapt.
3252         * nptl/tst-rwlock10.c: Adapt.
3253         * nptl/tst-rwlock11.c: Adapt.
3254         * nptl/tst-rwlock17.c: New file.
3255         * nptl/tst-rwlock18.c: New file.
3256         * nptl/tst-rwlock19.c: New file.
3257         * nptl/tst-rwlock2b.c: New file.
3258         * nptl/tst-rwlock8.c: Adapt.
3259         * nptl/tst-rwlock9.c: Adapt.
3260         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3261         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3262         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3263         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3264         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3265         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3266         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3267         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3268         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3269         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3270         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3271         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3272         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
3273         (pthread_rwlock_t): Adapt.
3274         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3275         (pthread_rwlock_t): Adapt.
3276         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
3277         * nptl/nptl-printers.py (): Adapt.
3278         * nptl/nptl_lock_constants.pysym: Adapt.
3279         * nptl/test-rwlock-printers.py: Adapt.
3280         * nptl/test-rwlockattr-printers.c: Adapt.
3281         * nptl/test-rwlockattr-printers.py: Adapt.
3283 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
3285         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
3286         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
3287         (fma_test_data): Likewise.
3288         (hypot_test_data): Likewise.
3289         (log1p_test_data): Likewise.
3290         (modf_test_data): Likewise.
3291         (pow_test_data): Likewise.
3292         (remainder_test_data): Likewise.
3293         (remquo_test_data): Likewise.
3294         (scalb_test_data): Likewise.
3295         (scalbn_test_data): Likewise.
3296         (scalbln_test_data): Likewise.
3297         * math/gen-libm-test.pl (parse_args): Transform
3298         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
3299         on the rounding mode.
3301 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
3303         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
3304         xfail-rounding:ibm128-libgcc automatically to tests overflowing
3305         and those that can underflow to zero.
3306         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
3307         add others.
3308         * math/auto-libm-test-out: Regenerated.
3310         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
3311         supported.
3312         (feholdexcept_tests): Skip tests requiring exceptions or rounding
3313         modes support if not supported.
3315         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
3316         Add libc.so PLT entry.
3317         (__tls_get_addr): Make ld.so PLT entry optional.
3319 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3321         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
3322         * string/bits/string3.h: ... here.
3324 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3326         [BZ #21028]
3327         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
3328         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
3329         if EXCEPTION_TESTS returns false.
3331 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3333         [BZ #20558]
3334         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
3335         strings_fortified.h.
3336         [__USE_MISC] (bzero): Likewise.
3337         [__USE_MISC] (explicit_bzero): Likewise.
3338         * string/strings.h: Include strings_fortified.h.
3339         * string/Makefile (headers): Add strings_fortified.h.
3340         * string/bits/strings_fortified.h: New file.
3341         * include/bits/strings_fortified.h: Likewise.
3343 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
3345         * elf/tst-tls13.c (TIMEOUT): Remove.
3346         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
3347         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
3348         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
3349         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
3350         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
3352         [BZ #21026]
3353         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
3354         (readahead): New syscall entry.
3356 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3358         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
3359         around tests of strncat with large sizes.
3361         * malloc/tst-malloc.c: Include <libc-internal.h>.
3362         (do_test): Disable -Walloc-size-larger-than= around tests of
3363         malloc with negative sizes.
3364         * malloc/tst-mcheck.c: Include <libc-internal.h>.
3365         (do_test): Disable -Walloc-size-larger-than= around tests of
3366         malloc and realloc with negative sizes.
3367         * malloc/tst-realloc.c: Include <libc-internal.h>.
3368         (do_test): Disable -Walloc-size-larger-than= around tests of
3369         realloc with negative sizes.
3371         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
3372         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
3373         allowed to 16 ulps.
3374         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
3375         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
3376         * math/auto-libm-test-out: Regenerated.
3378 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3380         * math/Makefile (libm-calls): Move wrappers...
3381         (libm-compat-call-auto): Here.
3382         (libm-routines): Add items in libm-compat-calls-auto.
3383         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
3384         the filenames of the wrappers that have been renamed.
3385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
3386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
3388         * math/w_acos.c: Add _compat suffix to filename.
3389         * math/w_acosf.c: Likewise.
3390         * math/w_acosh.c: Likewise.
3391         * math/w_acoshf.c: Likewise.
3392         * math/w_acoshl.c: Likewise.
3393         * math/w_acosl.c: Likewise.
3394         * math/w_asin.c: Likewise.
3395         * math/w_asinf.c: Likewise.
3396         * math/w_asinl.c: Likewise.
3397         * math/w_atan2.c: Likewise.
3398         * math/w_atan2f.c: Likewise.
3399         * math/w_atan2l.c: Likewise.
3400         * math/w_atanh.c: Likewise.
3401         * math/w_atanhf.c: Likewise.
3402         * math/w_atanhl.c: Likewise.
3403         * math/w_cosh.c: Likewise.
3404         * math/w_coshf.c: Likewise.
3405         * math/w_coshl.c: Likewise.
3406         * math/w_exp10.c: Likewise.
3407         * math/w_exp10f.c: Likewise.
3408         * math/w_exp10l.c: Likewise.
3409         * math/w_exp2.c: Likewise.
3410         * math/w_exp2f.c: Likewise.
3411         * math/w_exp2l.c: Likewise.
3412         * math/w_fmod.c: Likewise.
3413         * math/w_fmodf.c: Likewise.
3414         * math/w_fmodl.c: Likewise.
3415         * math/w_hypot.c: Likewise.
3416         * math/w_hypotf.c: Likewise.
3417         * math/w_hypotl.c: Likewise.
3418         * math/w_j0.c: Likewise.
3419         * math/w_j0f.c: Likewise.
3420         * math/w_j0l.c: Likewise.
3421         * math/w_j1.c: Likewise.
3422         * math/w_j1f.c: Likewise.
3423         * math/w_j1l.c: Likewise.
3424         * math/w_jn.c: Likewise.
3425         * math/w_jnf.c: Likewise.
3426         * math/w_jnl.c: Likewise.
3427         * math/w_log10.c: Likewise.
3428         * math/w_log10f.c: Likewise.
3429         * math/w_log10l.c: Likewise.
3430         * math/w_log2.c: Likewise.
3431         * math/w_log2f.c: Likewise.
3432         * math/w_log2l.c: Likewise.
3433         * math/w_log.c: Likewise.
3434         * math/w_logf.c: Likewise.
3435         * math/w_logl.c: Likewise.
3436         * math/w_pow.c: Likewise.
3437         * math/w_powf.c: Likewise.
3438         * math/w_powl.c: Likewise.
3439         * math/w_remainder.c: Likewise.
3440         * math/w_remainderf.c: Likewise.
3441         * math/w_remainderl.c: Likewise.
3442         * math/w_scalb.c: Likewise.
3443         * math/w_scalbf.c: Likewise.
3444         * math/w_scalbl.c: Likewise.
3445         * math/w_sinh.c: Likewise.
3446         * math/w_sinhf.c: Likewise.
3447         * math/w_sinhl.c: Likewise.
3448         * math/w_sqrt.c: Likewise.
3449         * math/w_sqrtf.c: Likewise.
3450         * math/w_sqrtl.c: Likewise.
3451         * math/w_tgamma.c: Likewise.
3452         * math/w_tgammaf.c: Likewise.
3453         * math/w_tgammal.c: Likewise.
3455         * math/w_acos_compat.c: New file copied from above and
3456         adjusted for new #includes path
3457         * math/w_acosf_compat.c: Likewise.
3458         * math/w_acosh_compat.c: Likewise.
3459         * math/w_acoshf_compat.c: Likewise.
3460         * math/w_acoshl_compat.c: Likewise.
3461         * math/w_acosl_compat.c: Likewise.
3462         * math/w_asin_compat.c: Likewise.
3463         * math/w_asinf_compat.c: Likewise.
3464         * math/w_asinl_compat.c: Likewise.
3465         * math/w_atan2_compat.c: Likewise.
3466         * math/w_atan2f_compat.c: Likewise.
3467         * math/w_atan2l_compat.c: Likewise.
3468         * math/w_atanh_compat.c: Likewise.
3469         * math/w_atanhf_compat.c: Likewise.
3470         * math/w_atanhl_compat.c: Likewise.
3471         * math/w_cosh_compat.c: Likewise.
3472         * math/w_coshf_compat.c: Likewise.
3473         * math/w_coshl_compat.c: Likewise.
3474         * math/w_exp10_compat.c: Likewise.
3475         * math/w_exp10f_compat.c: Likewise.
3476         * math/w_exp10l_compat.c: Likewise.
3477         * math/w_exp2_compat.c: Likewise.
3478         * math/w_exp2f_compat.c: Likewise.
3479         * math/w_exp2l_compat.c: Likewise.
3480         * math/w_fmod_compat.c: Likewise.
3481         * math/w_fmodf_compat.c: Likewise.
3482         * math/w_fmodl_compat.c: Likewise.
3483         * math/w_hypot_compat.c: Likewise.
3484         * math/w_hypotf_compat.c: Likewise.
3485         * math/w_hypotl_compat.c: Likewise.
3486         * math/w_j0_compat.c: Likewise.
3487         * math/w_j0f_compat.c: Likewise.
3488         * math/w_j0l_compat.c: Likewise.
3489         * math/w_j1_compat.c: Likewise.
3490         * math/w_j1f_compat.c: Likewise.
3491         * math/w_j1l_compat.c: Likewise.
3492         * math/w_jn_compat.c: Likewise.
3493         * math/w_jnf_compat.c: Likewise.
3494         * math/w_jnl_compat.c: Likewise.
3495         * math/w_log10_compat.c: Likewise.
3496         * math/w_log10f_compat.c: Likewise.
3497         * math/w_log10l_compat.c: Likewise.
3498         * math/w_log2_compat.c: Likewise.
3499         * math/w_log2f_compat.c: Likewise.
3500         * math/w_log2l_compat.c: Likewise.
3501         * math/w_log_compat.c: Likewise.
3502         * math/w_logf_compat.c: Likewise.
3503         * math/w_logl_compat.c: Likewise.
3504         * math/w_pow_compat.c: Likewise.
3505         * math/w_powf_compat.c: Likewise.
3506         * math/w_powl_compat.c: Likewise.
3507         * math/w_remainder_compat.c: Likewise.
3508         * math/w_remainderf_compat.c: Likewise.
3509         * math/w_remainderl_compat.c: Likewise.
3510         * math/w_scalb_compat.c: Likewise.
3511         * math/w_scalbf_compat.c: Likewise.
3512         * math/w_scalbl_compat.c: Likewise.
3513         * math/w_sinh_compat.c: Likewise.
3514         * math/w_sinhf_compat.c: Likewise.
3515         * math/w_sinhl_compat.c: Likewise.
3516         * math/w_sqrt_compat.c: Likewise.
3517         * math/w_sqrtf_compat.c: Likewise.
3518         * math/w_sqrtl_compat.c: Likewise.
3519         * math/w_tgamma_compat.c: Likewise.
3520         * math/w_tgammaf_compat.c: Likewise.
3521         * math/w_tgammal_compat.c: Likewise.
3523         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
3524         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
3525         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
3526         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
3527         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
3528         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
3529         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
3530         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
3531         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
3532         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
3533         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
3534         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
3535         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
3536         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
3537         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
3538         * sysdeps/ia64/fpu/w_powl.c: Likewise.
3539         * sysdeps/ia64/fpu/w_powf.c: Likewise.
3540         * sysdeps/ia64/fpu/w_pow.c: Likewise.
3541         * sysdeps/ia64/fpu/w_logl.c: Likewise.
3542         * sysdeps/ia64/fpu/w_logf.c: Likewise.
3543         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
3544         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
3545         * sysdeps/ia64/fpu/w_log2.c: Likewise.
3546         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
3547         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
3548         * sysdeps/ia64/fpu/w_log10.c: Likewise.
3549         * sysdeps/ia64/fpu/w_log.c: Likewise.
3550         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
3551         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
3552         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
3553         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
3554         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
3555         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
3556         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
3557         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
3558         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
3559         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
3560         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
3561         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
3562         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
3563         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
3564         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
3565         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
3566         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
3567         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
3568         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
3569         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
3570         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
3571         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
3572         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
3573         * sysdeps/ia64/fpu/w_asin.c: Likewise.
3574         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
3575         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
3576         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
3577         * sysdeps/ia64/fpu/w_acos.c: Likewise.
3578         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
3579         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
3580         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
3581         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
3582         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
3583         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
3584         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
3585         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
3586         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
3587         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
3588         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
3589         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
3590         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
3591         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
3592         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
3593         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
3594         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
3595         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
3596         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
3597         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
3598         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
3599         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
3600         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
3601         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
3602         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
3603         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
3604         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
3605         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
3606         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
3607         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
3608         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
3609         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
3610         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
3611         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
3612         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
3613         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
3614         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
3615         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
3616         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
3617         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
3618         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
3619         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
3620         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
3621         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
3622         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
3623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
3624         Likewise.
3625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
3626         Likewise.
3627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
3628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
3629         Likewise.
3630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
3631         Likewise.
3632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
3633         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3634         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3635         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3636         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3637         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
3638         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
3639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
3640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
3641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
3642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
3643         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
3644         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
3645         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
3646         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
3648         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
3649         and adjusted for new #includes path
3650         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
3651         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
3652         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
3653         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
3654         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
3655         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
3656         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
3657         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
3658         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
3659         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
3660         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
3661         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
3662         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
3663         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
3664         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
3665         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
3666         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
3667         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
3668         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
3669         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
3670         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
3671         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
3672         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
3673         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
3674         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
3675         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
3676         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
3677         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
3678         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
3679         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
3680         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
3681         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
3682         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
3683         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
3684         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
3685         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
3686         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
3687         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
3688         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
3689         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
3690         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
3691         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
3692         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
3693         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
3694         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
3695         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
3696         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
3697         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
3698         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
3699         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
3700         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
3701         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
3702         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
3703         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
3704         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
3705         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
3706         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
3707         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
3708         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
3709         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
3710         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
3711         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
3712         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
3713         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
3714         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
3715         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
3716         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
3717         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
3718         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
3719         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
3720         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
3721         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
3722         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
3723         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
3724         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
3725         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
3726         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
3727         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
3728         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
3729         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
3730         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
3731         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
3732         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
3733         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
3734         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
3735         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
3736         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
3737         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
3738         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
3739         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
3740         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
3741         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
3742         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
3743         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
3744         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
3745         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
3746         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
3747         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
3748         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
3749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
3750         Likewise.
3751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
3752         Likewise.
3753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
3754         Likewise.
3755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
3756         Likewise.
3757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
3758         Likewise.
3759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
3760         Likewise.
3761         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
3762         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
3763         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
3764         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
3765         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
3766         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
3767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
3768         Likewise.
3769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
3770         Likewise.
3771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
3772         Likewise.
3773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
3774         Likewise.
3775         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
3776         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
3777         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
3778         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
3780 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
3782         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
3783         __jmp_buf_internal_tag.
3785         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
3786         preserve NaN payload if [__mips_nan2008].
3787         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3789         [BZ #21022]
3790         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
3792 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3794         * sysdeps/i386/fpu/libm-test-ulps: Update.
3796 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3798         * sysdeps/ia64/strcat.c: Remove file.
3799         * sysdeps/powerpc/strcat.c: Likewise.
3800         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
3801         C implementation.
3802         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
3803         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
3805 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3806             Steven Munroe  <sjmunroe@us.ibm.com>
3807             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3809         [BZ #20822]
3810         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
3811         (__lll_lock_elision): Access adapt_count via C11 atomics.
3812         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3813         (__lll_trylock_elision): Likewise.
3814         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
3815         (__lll_unlock_elision):  Update adapt_count variable inside the
3816         critical section using C11 atomics.
3818 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3820         * math/test-fenvinline.c (do_test): Disable tests of raised
3821         exceptions if !EXCEPTION_TESTS (FLOAT).
3823 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3825         [BZ #19390]
3826         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
3827         maximum string size.
3828         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
3829         in pointer addition.
3830         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
3831         Likewise.
3833 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
3835         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
3836         passed to tst-ldconfig-X.sh.
3838 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
3840         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
3842 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3844         [BZ #21019]
3845         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
3846         New syscall entry.
3847         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
3848         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
3849         lseek.
3851         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
3852         power4 glibc for powerpc-linux-gnu.
3854 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3856         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
3857         semctl.
3859 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3861         * math/test-nearbyint-except.c: Include <stdbool.h>.
3862         (any_supported): New variable.
3863         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
3864         set any_supported.
3865         (do_test): Return 77 if no floating-point type supported
3866         exceptions.
3868         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
3869         condition on [__mips_hard_float].
3871 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3873         [BZ #21014]
3874         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
3875         in pointer addition.
3876         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
3878 2017-01-02  Torvald Riegel  <triegel@redhat.com>
3880         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
3881         new condvar.
3883 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
3885         * scripts/build-many-glibcs.py (Context.checkout): Default
3886         binutils version to 2.28 branch.
3888 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3890         * support/support_format_netent.c (support_format_netent): Work
3891         around alpha struct netent definition difference.
3893 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3895         * support/xwrite.c (xwrite): Use %td for pointer difference.
3897 2017-01-01  Florian Weimer  <fweimer@redhat.com>
3899         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
3900         have-tunables only.
3901         (tests-static): Add tst-malloc-usable-static-tunables for
3902         have-tunables only.
3904 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
3906         * scripts/config.guess: Update to version 2017-01-01.
3907         * scripts/config.sub: Update to version 2017-01-01.
3909         * NEWS: Update copyright dates.
3910         * catgets/gencat.c (print_version): Likewise.
3911         * csu/version.c (banner): Likewise.
3912         * debug/catchsegv.sh: Likewise.
3913         * debug/pcprofiledump.c (print_version): Likewise.
3914         * debug/xtrace.sh (do_version): Likewise.
3915         * elf/ldconfig.c (print_version): Likewise.
3916         * elf/ldd.bash.in: Likewise.
3917         * elf/pldd.c (print_version): Likewise.
3918         * elf/sotruss.sh: Likewise.
3919         * elf/sprof.c (print_version): Likewise.
3920         * iconv/iconv_prog.c (print_version): Likewise.
3921         * iconv/iconvconfig.c (print_version): Likewise.
3922         * locale/programs/locale.c (print_version): Likewise.
3923         * locale/programs/localedef.c (print_version): Likewise.
3924         * login/programs/pt_chown.c (print_version): Likewise.
3925         * malloc/memusage.sh (do_version): Likewise.
3926         * malloc/memusagestat.c (print_version): Likewise.
3927         * malloc/mtrace.pl: Likewise.
3928         * manual/libc.texinfo: Likewise.
3929         * nptl/version.c (banner): Likewise.
3930         * nscd/nscd.c (print_version): Likewise.
3931         * nss/getent.c (print_version): Likewise.
3932         * nss/makedb.c (print_version): Likewise.
3933         * posix/getconf.c (main): Likewise.
3934         * scripts/test-installation.pl: Likewise.
3935         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3937         * All files with FSF copyright notices: Update copyright dates
3938         using scripts/update-copyrights.
3939         * intl/plural.c: Regenerated.
3940         * locale/programs/charmap-kw.h: Likewise.
3941         * locale/programs/locfile-kw.h: Likewise.
3943 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3945         [BZ #20593]
3946         Update DNS RR type definitions.
3947         * scripts/gen-rrtypes.py: New file.
3948         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
3949         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
3950         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
3951         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
3952         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
3953         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
3954         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
3955         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
3956         ns_t_ta, ns_t_dlv.
3957         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
3958         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
3959         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
3960         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
3961         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
3962         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
3963         Define.
3964         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
3965         entry for ns_t_zxfr.
3967 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3969         [BZ #18784]
3970         CVE-2015-5180
3971         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
3972         T_UNSPEC.  Adjust value.
3973         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
3974         * resolv/res_query.c (__libc_res_nquery): Likewise.
3975         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
3976         QTYPEs.
3977         * resolv/tst-resolv-qtypes.c: New file.
3978         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
3979         (tst-resolv-qtypes): Link against libresolv and libpthread.
3981 2016-12-31  Florian Weimer  <fweimer@redhat.com>
3983         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
3985 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3987         * manual/tunables.texi: New chapter.
3988         * manual/Makefile (chapters): Add it.
3989         * manual/probes.texi (@node): Point to the Tunables chapter.
3991         * Makeconfig (have-tunables): Check for non-negative instead
3992         of positive.
3993         * configure.ac: Add 'valstring' as a valid value for
3994         --enable-tunables.
3995         * configure: Regenerate.
3996         * elf/Makefile (have-tunables): Check for non-negative instead
3997         of positive.
3998         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
3999         dl-tunables.c.
4000         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
4001         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4002         (tunables_strdup): Likewise.
4003         (disable_tunables): Likewise.
4004         (parse_tunables): Likewise.
4005         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
4006         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
4007         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
4008         (TUNABLES_FRONTEND_yes): New macro, define as
4009         TUNABLES_FRONTEND_valstring by default.
4010         * manual/install.texi: Document new acceptable values for
4011         --enable-tunables.
4012         * INSTALL: Regenerate.
4014         * config.make.in (have-loop-to-function): Define.
4015         * elf/Makefile (CFLAGS-dl-tunables.c): Add
4016         -fno-tree-loop-distribute-patterns.
4017         * elf/dl-tunables.c: Include libc-internals.h.
4018         (GLIBC_TUNABLES): New macro.
4019         (tunables_strdup): New function.
4020         (parse_tunables): New function.
4021         (min_strlen): New function.
4022         (__tunables_init): Use the new functions and macro.
4023         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
4024         * malloc/tst-malloc-usable-tunables.c: New test case.
4025         * malloc/tst-malloc-usable-static-tunables.c: New test case.
4026         * malloc/Makefile (tests, tests-static): Add tests.
4028         * manual/install.texi: Add --enable-tunables option.
4029         * INSTALL: Regenerate.
4030         * README.tunables: New file.
4031         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
4032         (before-compile): Generate dl-tunable-list.h early.
4033         * config.h.in: Add HAVE_TUNABLES.
4034         * config.make.in: Add have-tunables.
4035         * configure.ac: Add --enable-tunables option.
4036         * configure: Regenerate.
4037         * csu/init-first.c (__libc_init_first): Move
4038         __libc_init_secure earlier...
4039         * csu/init-first.c (LIBC_START_MAIN):... to here.
4040         Include dl-tunables.h, libc-internal.h.
4041         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
4042         binaries.
4043         * elf/Makefile (dl-routines): Add dl-tunables.
4044         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
4045         namespace.
4046         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
4047         only when !HAVE_TUNABLES.
4048         * elf/rtld.c (process_envvars): Likewise.
4049         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
4050         (_dl_sysdep_start): Call __tunables_init.
4051         * elf/dl-tunable-types.h: New file.
4052         * elf/dl-tunables.c: New file.
4053         * elf/dl-tunables.h: New file.
4054         * elf/dl-tunables.list: New file.
4055         * malloc/tst-malloc-usable-static.c: New test case.
4056         * malloc/Makefile (tests-static): Add it.
4057         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
4058         Define TUNABLE_NAMESPACE.
4059         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
4060         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
4061         callback functions.
4062         (ptmalloc_init): Set tunable values.
4063         * scripts/gen-tunables.awk: New file.
4064         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
4065         (_dl_sysdep_start): Call __tunables_init.
4067 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4069         * resolv/resolv.h (RES_BLAST): Deprecate.
4070         * resolv/res_debug.c (p_option): Remove RES_BLAST.
4071         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
4072         to RES_BLAST.
4074 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4076         [BZ #19582]
4077         Deprecate RES_USE_INET6.
4078         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
4079         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
4080         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
4081         RES_USE_INET6.
4082         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
4083         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
4084         (_nss_nisplus_gethostbyaddr_r): Likewise.
4085         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
4086         of res_use_inet6.
4087         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
4088         instead of RES_USE_INET6.
4089         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
4090         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
4091         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
4092         Likewise.
4093         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
4094         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
4095         Likewise.
4096         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
4097         (_nss_dns_gethostbyname_r): Likewise.
4098         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
4099         alternate RES_USE_INET6 handling.
4100         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
4101         instead of RES_USE_INET6.
4102         * resolv/res_init.c (res_setoptions): Likewise.
4103         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
4104         * resolv/resolv-internal.h: New file.
4105         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
4106         make the deprecation warning non-fatal.
4107         * resolv/README (Using the resolver in multi-threaded code): Drop
4108         reference to RES_USE_INET6.
4109         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
4110         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
4112 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4114         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
4115         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
4116         tst-resolv-search.
4117         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
4118         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
4119         with libresolv and libpthread.
4120         * resolv/tst-bug18665.c: New file.
4121         * resolv/tst-bug18665-tcp: Likewise.
4122         * resolv/tst-res_use_inet6: Likewise.
4123         * resolv/tst-resolv-basic: Likewise.
4124         * resolv/tst-resolv-network: Likewise.
4125         * resolv/tst-resolv-search: Likewise.
4126         * support/Makefile (libsupport-routines): Add check_addrinfo,
4127         check_dns_packet, check_hostent, check_netent, resolv_test,
4128         support_format_address_family, support_format_addrinfo,
4129         support_format_dns_packet, support_format_herrno,
4130         support_format_hostent, support_format_netent, support_run_diff,
4131         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
4132         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
4133         xstrdup, xwrite.
4134         * support/check_addrinfo.c: New file.
4135         * support/check_dns_packet.c: Likewise.
4136         * support/check_hostent.c: Likewise.
4137         * support/check_netent.c: Likewise.
4138         * support/check_nss.h: Likewise.
4139         * support/format_nss.h: Likewise.
4140         * support/resolv_test.c: Likewise.
4141         * support/resolv_test.h: Likewise.
4142         * support/run_diff.h: Likewise.
4143         * support/support_format_address_family.c: Likewise.
4144         * support/support_format_addrinfo.c: Likewise.
4145         * support/support_format_dns_packet.c: Likewise.
4146         * support/support_format_herrno.c: Likewise.
4147         * support/support_format_hostent.c: Likewise.
4148         * support/support_format_netent.c: Likewise.
4149         * support/support_run_diff.c: Likewise.
4150         * support/xaccept.c: Likewise.
4151         * support/xbind.c: Likewise.
4152         * support/xconnect.c: Likewise.
4153         * support/xfclose.c: Likewise.
4154         * support/xfopen.c: Likewise.
4155         * support/xgetsockname.c: Likewise.
4156         * support/xlisten.c: Likewise.
4157         * support/xmemstream.c: Likewise.
4158         * support/xmemstream.h: Likewise.
4159         * support/xpoll.c: Likewise.
4160         * support/xpthread_once.c: Likewise.
4161         * support/xrecvfrom.c: Likewise.
4162         * support/xsendto.c: Likewise.
4163         * support/xsetsockopt.c: Likewise.
4164         * support/xstdio.h: Likewise.
4165         * support/xstrdup.c: Likewise.
4166         * support/support.h (xstrdup): Declare.
4167         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
4168         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
4169         * support/xthread.h (xpthread_once): Likwise.
4170         * support/xunistd.h (xwrite): Declare.
4172 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4174         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
4175         (test_verbose): Declare.
4176         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
4177         * support/support_test_main.c (default_options): Likewise.
4178         (usage, support_test_main): Handle 'v'.
4179         (test_verbose): Define.
4180         * support/tst-support_record_failure.c (do_test): Use
4181         test_verbose.
4182         * support/tst-support_record_failure-2.sh (different_status): Add
4183         --verbose test.
4185 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4187         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
4188         test failures are recorded.
4189         * support/check.c (support_print_failure_impl): Call
4190         support_record_failure.
4191         (support_exit_failure_impl): Call support_record_failure if status
4192         indicates failure.
4193         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
4194         * support/xasprintf.c (xasprintf): Likewise.
4195         * support/xfork.c (xfork): Likewise.
4196         * support/xpthread_check_return.c (xpthread_check_return):
4197         Likewise.
4198         * support/xsocket.c (xsocket): Likeweise.
4199         * support/xwaitpid.c (xwaitpid): Likewise.
4200         * support/support_record_failure.c (struct test_failures): Adjust
4201         to coding style.
4202         * support/support_test_verify_impl.c (support_test_verify_impl):
4203         Adjust error messages.
4204         * support/tst-support_record_failure-2.sh (different_status):
4205         Adjust error messages.
4207 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4209         * support/namespace.h: New file.
4210         * support/support_become_root.c: Likewise.
4211         * support/support_enter_network_namespace.c: Likewise.
4212         * support/tst-support-namespace.c: Likewise.
4213         * support/xsocket.c: Likewise.
4214         * support/xsocket.h: Likewise.
4215         * support/Makefile (libsupport-routines): Add support_become_root,
4216         support_enter_network_namespace, xsocket.
4217         (tests): Add tst-support-namespace.
4219 2016-12-31  Florian Weimer  <fweimer@redhat.com>
4221         [BZ #17252]
4222         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
4223         __USE_GNU.
4225 2016-12-31  Torvald Riegel  <triegel@redhat.com>
4227         [BZ #13165]
4228         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
4229         use new algorithm.
4230         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
4231         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
4232         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
4233         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4234         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
4235         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
4236         __condvar_cleanup_waiting, __condvar_dec_grefs,
4237         __pthread_cond_wait_common): New.
4238         (__condvar_cleanup): Remove.
4239         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
4240         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
4241         Likewise.
4242         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
4243         Likewise.
4244         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
4245         * nptl/tst-cond1.c: Add comment.
4246         * nptl/tst-cond20.c (do_test): Adapt.
4247         * nptl/tst-cond22.c (do_test): Likewise.
4248         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
4249         structure.
4250         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4251         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4252         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4253         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
4254         Likewise.
4255         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4256         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4257         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4258         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4259         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4260         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
4261         Likewise.
4262         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
4263         Likewise.
4264         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
4265         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
4266         (COND_CLOCK_BITS): Adapt.
4267         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
4268         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
4269         __PTHREAD_COND_SHARED_MASK): New.
4270         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
4271         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
4272         * nptl/nptl_lock_constants.pysym: Adapt.
4273         * nptl/test-cond-printers.py: Adapt.
4274         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
4275         cond_compat_check_and_clear): Adapt.
4276         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
4277         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
4278         (__pthread_cond_timedwait): ... and move here.
4279         * nptl/DESIGN-condvar.txt: Remove file.
4280         * nptl/lowlevelcond.sym: Likewise.
4281         * nptl/pthread_cond_timedwait.c: Likewise.
4282         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
4283         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
4284         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
4285         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
4286         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
4287         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
4288         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
4289         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
4290         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
4291         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
4292         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
4293         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
4294         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
4295         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
4296         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
4297         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
4299 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
4301         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4302         (fromfp): New declaration.
4303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4306         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
4307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
4308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
4309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
4310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
4311         * math/math.h: Include <bits/types.h>.
4312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
4313         constant and macro.
4314         (FP_INT_DOWNWARD): Likewise.
4315         (FP_INT_TOWARDZERO): Likewise.
4316         (FP_INT_TONEARESTFROMZERO): Likewise.
4317         (FP_INT_TONEAREST): Likewise.
4318         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
4319         (fromfpf): Likewise.
4320         (fromfpl): Likewise.
4321         (ufromfp): Likewise.
4322         (ufromfpf): Likewise.
4323         (ufromfpl): Likewise.
4324         (fromfpx): Likewise.
4325         (fromfpxf): Likewise.
4326         (fromfpxl): Likewise.
4327         (ufromfpx): Likewise.
4328         (ufromfpxf): Likewise.
4329         (ufromfpxl): Likewise.
4330         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
4331         s_fromfpxF and s_ufromfpxF.
4332         * math/gen-fromfp-tests.py: New file.
4333         * math/gen-fromfp-tests-inputs: Likewise.
4334         * math/libm-test.inc: Include <stdint.h>
4335         (check_intmax_t): New function.
4336         (check_uintmax_t): Likewise.
4337         (struct test_fiu_M_data): New type.
4338         (struct test_fiu_U_data): Likewise.
4339         (RUN_TEST_fiu_M): New macro.
4340         (RUN_TEST_LOOP_fiu_M): Likewise.
4341         (RUN_TEST_fiu_U): Likewise.
4342         (RUN_TEST_LOOP_fiu_U): Likewise.
4343         (fromfp_test_data): New array.
4344         (fromfp_test): New function.
4345         (fromfpx_test_data): New array.
4346         (fromfpx_test): New function.
4347         (ufromfp_test_data): New array.
4348         (ufromfp_test): New function.
4349         (ufromfpx_test_data): New array.
4350         (ufromfpx_test): New function.
4351         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
4352         ufromfpx_test.
4353         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
4354         characters.
4355         * math/test-tgmath-ret.c: Include <stdint.h>.
4356         (rm): New variable.
4357         (width): Likewise.
4358         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
4359         called function.
4360         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
4361         CHECK_RET_CONST_TYPE.
4362         (CHECK_RET_CONST_DOUBLE): Likewise.
4363         (CHECK_RET_CONST_LDOUBLE): Likewise.
4364         (CHECK_RET_CONST): Take extra arguments and pass them to calls
4365         macros.
4366         (fromfp): New CHECK_RET_CONST call.
4367         (ufromfp): Likewise.
4368         (fromfpx): Likewise.
4369         (ufromfpx): Likewise.
4370         (do_test): Call check_return_fromfp, check_return_ufromfp,
4371         check_return_fromfpx and check_return_ufromfpx.
4372         * math/test-tgmath.c: Include <stdint.h>
4373         (NCALLS): Increase to 138.
4374         (F(compile_test)): Initialize i.  Call fromfp functions.
4375         (F(fromfp)): New function.
4376         (F(fromfpx)): Likewise.
4377         (F(ufromfp)): Likewise.
4378         (F(ufromfpx)): Likewise.
4379         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
4380         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
4381         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
4382         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
4383         ufromfpxl.
4384         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
4385         ufromfp and ufromfpx.
4386         * math/fromfp.h: New file.
4387         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
4388         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
4389         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
4390         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
4391         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
4392         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
4393         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
4394         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
4395         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
4396         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
4397         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
4398         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
4399         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
4400         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
4401         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
4402         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
4403         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
4404         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
4405         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
4406         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
4407         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
4408         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
4409         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
4410         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
4411         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
4412         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
4413         ufromfp, fromfpx and ufromfpx.
4414         (CFLAGS-nldbl-fromfp.c): New variable.
4415         (CFLAGS-nldbl-fromfpx.c): Likewise.
4416         (CFLAGS-nldbl-ufromfp.c): Likewise.
4417         (CFLAGS-nldbl-ufromfpx.c): Likewise.
4418         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
4419         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
4420         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
4421         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
4422         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
4423         * sysdeps/nacl/libm.abilist: Update.
4424         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4425         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4426         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4427         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4428         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4429         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4430         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4431         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4432         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4433         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4434         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4435         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4437         Likewise.
4438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4439         Likewise.
4440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4441         Likewise.
4442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4443         Likewise.
4444         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4445         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4446         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4447         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4448         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4450         Likewise.
4451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4452         Likewise.
4453         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4454         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4455         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4457 2016-12-30  Florian Weimer  <fweimer@redhat.com>
4459         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
4460         compat-gethnamaddr.
4461         (CPPFLAGS): Remove.
4462         * resolv/gethnamaddr.c: Rename ...
4463         * resolv/compat-gethnamaddr.c: ... to this file.
4464         (_endhtent): Make static.
4465         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
4466         symbol.
4467         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
4468         compat symbol.
4469         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
4470         symbol.
4471         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
4472         Turn into compat symbol.
4473         * include/resolv.h (_endhtent): Remove declaration.
4475 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
4477         * bits/types.h (__intmax_t): New typedef.
4478         (__uintmax_t): Likewise.
4479         * sysdeps/generic/stdint.h: Include <bits/types.h>.
4480         (intmax_t): Define using __intmax_t.
4481         (uintmax_t): Define using __uintmax_t.
4483         * support/Makefile (tests-special): Make definition conditional on
4484         [$(run-built-tests) = yes].
4485         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
4486         on [$(run-built-tests) = yes].
4488 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4490         * Rules (tests): Add tests-printers-programs to tests to be
4491         built.
4493 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4495         * sysvipc/Makefile (tests): Add test-sysvshm.
4496         * sysvipc/test-sysvshm.c: New file.
4498         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
4499         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
4500         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
4501         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
4502         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
4503         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
4504         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
4505         Likewise.
4506         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
4507         Likewise.
4508         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
4509         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
4510         is defined.
4512         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
4513         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
4514         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
4515         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
4516         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
4517         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
4518         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
4519         Likewise.
4520         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
4521         Likewise.
4522         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
4523         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
4524         defined.
4526         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4527         oldshmctl.
4528         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
4529         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
4530         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
4531         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
4532         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
4533         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
4534         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
4535         Likewise.
4536         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
4537         Likewise.
4538         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
4539         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
4540         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
4541         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
4542         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
4543         implementation.
4544         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
4545         if it is defined.
4547         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
4548         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
4549         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
4550         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
4551         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
4552         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
4553         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
4554         Likewise.
4555         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
4556         Likewise.
4557         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
4558         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
4559         Define to __NR_osf_shmat.
4560         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
4561         defined.
4563         * sysvipc/Makefile (tests): Add test-sysvsem.
4564         * sysvipc/test-sysvsem.c: New file.
4566         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
4567         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
4568         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
4569         Likewise.
4570         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
4571         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
4572         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
4573         Likewise.
4574         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
4575         Likewise.
4576         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
4577         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
4578         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
4579         add a comment about s390 syscall difference from default one.
4580         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
4581         syscall if it is defined.
4583         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
4584         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
4585         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
4586         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
4587         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
4588         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
4589         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
4590         Likewise.
4591         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
4592         Likewise.
4593         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
4594         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
4595         defined.
4597         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
4598         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
4599         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
4600         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
4601         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
4602         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
4603         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
4604         Likewise.
4605         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
4606         Likewise.
4607         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
4608         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
4609         if it is defined.
4611         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4612         oldsemctl.
4613         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
4614         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
4615         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
4616         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
4617         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
4618         implementation.
4619         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
4620         syscall if it is defined.
4621         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
4622         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
4623         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
4624         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
4625         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
4626         Likewise.
4627         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
4629         * sysvipc/Makefile (tests): Add test-sysvmsg.
4630         * sysvipc/test-sysvmsg.c: New file.
4631         * support/check.h (FAIL_UNSUPPORTED): New define.
4633         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
4634         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
4635         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
4636         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
4637         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
4638         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
4639         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
4640         Likewise.
4641         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
4642         Likewise.
4643         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
4644         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
4645         define.
4647         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
4648         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
4649         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
4650         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
4651         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
4652         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
4653         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
4654         Likewise.
4655         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
4656         Likewise.
4657         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
4658         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
4659         if defined.
4661         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
4662         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
4663         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4664         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4665         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4666         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
4667         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4668         Likewise.
4669         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
4670         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
4671         Likewise.
4672         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
4673         if defined.
4674         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
4676         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
4677         oldmsgctl.
4678         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
4679         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
4680         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
4681         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
4682         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
4683         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
4684         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
4685         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
4686         Likewise.
4687         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
4688         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
4689         implementation.
4690         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
4691         if defined.
4693         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
4694         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
4695         definition and define its own.
4696         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
4697         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
4698         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
4699         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
4700         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
4701         definitions to common header.
4702         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
4703         operation from ipc_ops.h.
4705         * sysdeps/unix/sysv/linux/kernel-features.h
4706         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
4707         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4708         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
4709         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4710         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4711         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4712         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4713         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4714         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4715         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4716         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4717         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4718         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4719         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4720         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
4722 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4724         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
4725         overflow in pointer addition.
4727 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4729         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4730         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
4731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4732         (strchr): Add __strchr_power8 to list of strchr functions.
4733         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
4734         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
4735         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
4736         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
4737         (strchr): Add __strchr_power8 to ifunc list.
4738         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
4739         (__strchrnul): Add __strchrnul_power8 to ifunc list.
4740         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
4741         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
4743 2016-12-28  Florian Weimer  <fweimer@redhat.com>
4745         * support/Makefile (libsupport-routines): Add
4746         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
4747         (tests): Add tst-support_record_failure.
4748         (tests-special): tst-support_record_failure-2.
4749         (tst-support_record_failure-2.out): Depend on
4750         tst-support_record_failure-2.sh and tst-support_record_failure.
4751         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
4752         (support_test_verify_impl, support_record_failure)
4753         (support_report_failure, support_report_failure_reset): Declare.
4754         * support/support_test_main.c (adjust_exit_status): New function.
4755         (support_test_main): Call it to incorporate record test failures.
4756         * support/support_test_verify_impl.c: New file.
4757         * support/support_record_failure.c: Likewise.
4758         * support/tst-support_record_failure.c: Likewise.
4759         * support/tst-support_record_failure-2.sh: Likewise.
4760         * support/xunistd.h: Likewise.
4761         * support/xfork.c: Likewise.
4762         * support/xwaitpid.c: Likewise.
4764 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
4766         * scripts/check-c++-types.sh: Add comments.
4768 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
4770         [BZ #19514]
4771         * resolv/res_send.c: Fix typo in comment.
4772         * sysdeps/i386/i386-mcount.S: Likewise.
4773         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
4774         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4775         * sysdeps/sparc/sparc-mcount.S: Likewise.
4777 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4779         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
4780         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
4781         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
4782         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
4783         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
4784         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
4785         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
4786         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
4788 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4790         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
4792 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4794         [BZ #17252]
4795         * posix/unistd.h (getentropy): Declare.
4797 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4799         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
4800         Remove.
4801         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
4802         (cmd): Remove spoof, nospoof, spoofalert.
4803         (parse_line): Ignore spoof-related lines.
4804         (do_init): Do not process RESOLV_SPOOF_CHECK.
4806 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4808         [BZ #20964]
4809         sunrpc: Always obtain AF_INET addresses from NSS.
4810         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
4811         * sunrpc/rpc_gethostbyname.c: New file.
4812         * sunrpc/Makefile (routines): Add it.
4813         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
4814         * sunrpc/clnt_simp.c (callrpc): Likewise.
4815         * sunrpc/getrpcport.c (getrpcport): Likewise.
4817 2016-12-27  Florian Weimer  <fweimer@redhat.com>
4819         * sunrpc/rpcinfo.c: Remove.
4820         * sunrpc/Makefile: Remove comments referring to rpcinfo.
4822 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4824         [BZ# 19387]
4825         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
4826         addition.
4827         * string/test-memchr.c (do_test): Remove alignment limitation.
4828         (test_main): Add test that trigger BZ# 19387.
4830 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4832         [BZ #7065]
4833         Enable stack protectore if requested by ./configure.
4834         * Makeconfig (+stack-protector): New variable.
4835         (+cflags): Use it.
4837 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4839         [BZ #7065]
4840         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
4841         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
4842         (__rt_sigreturn_stub): Use inhibit_stack_protector.
4843         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
4844         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
4846 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4848         [BZ #7065]
4849         * login/Makefile (pt_chown-cflags): Remove.
4850         * nscd/Makefile (CFLAGS-nscd): Likewise.
4851         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4853 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4855         [BZ #7065]
4856         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
4857         non-libc-linking testcase.
4859 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4860             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4861             Florian Weimer  <fweimer@redhat.com>
4863         [BZ #7065]
4864         PLT avoidance for __stack_chk_fail*.
4865         * debug/Makefile (CFLAGS-stack_chk_fail.c)
4866         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
4867         * debug/stack_chk_fail.c (__stack_chk_fail): Add
4868         __stack_chk_fail_local alias.
4869         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
4870         (__stack_chk_fail): Turn into hidden reference to
4871         __stack_chk_fail_local.
4873 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4875         [BZ #7065]
4876         * configure.ac: Add check for unsupported stack-protection level.
4877         (libc_cv_predef_stack_protector): Remove.
4878         (no_ssp): New variable.
4879         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
4880         (stack_protector): Set to -fno-stack-protector similarly.
4881         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
4882         (libc_cv_asm_set_directive): Likewise.
4883         (libc_cv_protected_data): Likewise.
4884         (libc_cv_z_combreloc): Likewise.
4885         (libc_cv_hashstyle): Likewise.
4886         (libc_cv_has_glob_dat): Likewise.
4887         (libc_cv_output_format): Likewise.
4888         (libc_cv_output_format): Likewise.
4889         (libc_cv_ehdr_start): Likewise.
4890         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
4891         (LIBC_LINKER_FEATURE): Likewise.
4892         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
4894 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4896         [BZ #7065]
4897         * elf/Makefile (dummy-stack-chk-fail): New.
4898         (librtld.map): Use it.
4900 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4902         [BZ #7065]
4903         Compile the dynamic linker without stack protection.
4904         * elf/Makefile (elide-stack-protector): New.
4905         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
4906         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
4907         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
4908         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
4910 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4912         [BZ #7065]
4913         * config.make.in (have-ssp, no-stack-protector): New.
4914         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
4915         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
4916         (CFLAGS-sbrk.op): Likewise.
4917         (CFLAGS-brk.o): Likewise.
4918         (CFLAGS-brk.op): Likewise.
4919         * string/Makefile (CFLAGS-memcpy.c): Likewise.
4920         (CFLAGS-wordcopy.c): Likewise.
4922 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4924         [BZ #7065]
4925         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
4926         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
4927         * include/libc-symbols.h (inhibit_stack_protector): New macro.
4928         (__ifunc_resolver): Use it.
4929         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
4930         inhibit_stack_protector.
4931         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
4932         * elf/ifuncmain7.c (foo_ifunc): Likewise.
4933         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
4934         (foo_protected_ifunc): Likewise.
4935         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
4936         (foo_protected_ifunc): Likewise.
4937         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4938         * sysdeps/nacl/nacl_interface_query.c
4939         (nacl_interface_query_ifunc): Likewise.
4940         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
4941         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
4942         Likewise.
4943         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
4944         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
4945         the generated vDSO syscall resolver.
4947 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4948             Florian Weimer  <fweimer@redhat.com>
4950         [BZ #7065]
4951         Initialize the stack guard earlier when linking statically.
4952         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
4953         (__pthread_initialize_minimal): Declare.
4954         * csu/libc-start.c (__pthread_initialize_minimal): Remove
4955         declaration.
4956         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
4957         stack canary and apply_irel initialization up.  Call
4958         __pthread_initialize_minimal only if linked in.
4959         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
4960         constant values.
4961         (__pthread_initialize_minimal): Remove.
4962         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
4963         (__pthread_initialize_minimal_internal): Do not call
4964         __libc_setup_tls.
4966 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
4968         [BZ #7065]
4969         * configure.ac (libc_cv_ssp): Move up.
4970         (libc_cv_ssp_strong): Likewise.
4971         (libc_cv_ssp_all): New.
4972         (stack_protector): Augment, adding -fstack-protector-all.
4973         (no_stack_protector): New.
4974         (STACK_PROTECTOR_LEVEL): New.
4975         (AC_ARG_ENABLE(stack-protector)): New configure flag.
4976         * manual/install.texi (--enable-stack-protector): Document it.
4977         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
4979 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
4981         * README.pretty-printers: Must specify CPPFLAGS-* also.
4982         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
4983         (CPPFLAGS-test-mutex-printers.c): Define.
4984         (CPPFLAGS-test-condattr-printers.c): Define.
4985         (CPPFLAGS-test-cond-printers.c): Define.
4986         (CPPFLAGS-test-rwlockattr-printers.c): Define.
4987         (CPPFLAGS-test-rwlock-printers.c): Define.
4989         * nss/Makefile [ifeq (yes,$(have-thread-library))]
4990         (tests): Add tst-cancel-getpwuid_r.
4991         * nss/tst-cancel-getpwuid_r.c: New file.
4993         [BZ #11941]
4994         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
4995         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
4996         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
4997         tst-nodelete-dlclose.
4998         (modules-names): Add tst-nodelete-dlclose-dso and
4999         tst-nodelete-dlclose-plugin.
5000         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
5001         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
5002         ($(objpfx)tst-nodelete-dlclose): Define.
5003         ($(objpfx)tst-nodelete-dlclose.out): Define.
5005 2016-12-23  Florian Weimer  <fweimer@redhat.com>
5007         * scripts/test_printers_common.py: Log GDB output in case of
5008         Python detection failure.
5010 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5012         * configure.ac: Check for python3 or python.
5013         * configure: Regenerated.
5014         * config.make.in (PYTHON): New variable.
5015         * benchtests/Makefile: Don't define PYTHON.
5016         (bench): Define target only if PYTHON was defined.
5017         * Rules: Don't define PYTHON.
5018         Define pretty printer targets only if PYTHON was defined.
5019         (tests-printers): Add to tests-unsupported if PYTHON is not
5020         found.
5021         (python-flags, python-invoke): Remove.
5022         (tests-printers-out): Use PYTHON instead of python-invoke.
5024 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5026         [BZ #20978]
5027         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5028         Compare name == NULL, not name != NULL.
5030         * manual/texinfo.tex: Update to version 2016-09-18.18 with
5031         trailing whitespace removed.
5032         * scripts/config.guess: Update to version 2016-10-02.
5033         * scripts/config.sub: Update to version 2016-11-19.
5034         * scripts/install-sh: Update to version 2016-01-11.22.
5035         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
5036         * scripts/move-if-change: Update to version 2016-01-11 22:04.
5038 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
5040         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
5041         (do_one_test) Restore original string so iteration works.
5042         * string/string-inlines.c (do_test): Create better input strings.
5043         (test_main) Reduce number of testruns.
5044         * string/string-inlines.c (__old_strsep_1c): New function.
5045         (__old_strsep_2c): Likewise.
5046         (__old_strsep_3c): Likewise.
5047         * string/strsep.c (__strsep): Remove case of small delim string.
5048         Call strcspn directly rather than strpbrk.
5049         * string/bits/string2.h (__strsep): Remove define.
5050         (__strsep_1c): Remove.
5051         (__strsep_2c): Remove.
5052         (__strsep_3c): Remove.
5053         (strsep): Remove.
5054         * sysdeps/unix/sysv/linux/internal_statvfs.c
5055         (__statvfs_getflags): Rename to __strsep.
5057 2016-12-21  Florian Weimer  <fweimer@redhat.com>
5059         * csu/libc-tls.c (_dl_tls_setup): Remove.
5060         * elf/dl-tls.c (_dl_tls_setup): Likewise.
5061         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
5062         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
5064 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5066         [BZ #7065]
5067         * sysdeps/x86_64/Makefile [$(subdir) = elf]
5068         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
5070 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
5071             Florian Weimer  <fweimer@redhat.com>
5073         [BZ #7065]
5074         * csu/Makefile (tests): Empty assignment and document it.
5075         (tests-static): Remove.
5076         * csu/tst-empty.c: Move to...
5077         * misc/tst-empty.c: ... here.  Switch to new test driver.
5078         * csu/tst-atomic.c: Move to...
5079         * misc/tst-atomic.c: ... here.  Switch to new test driver.
5080         * csu/tst-atomic-long.c: Move to...
5081         * misc/tst-atomic-long.c: ... here.
5082         * misc/Makefile (tests): Add tst-empty, tst-atomic,
5083         tst-atomic-long.
5084         (tests-static): Add tst-empty.
5086 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
5088         * manual/nss.texi: Change incorrect @vtable to @table.
5089         * manual/arith.texi: Convert @tables of variables to @vtables
5090         and remove unnecessary indexing.
5091         * manual/filesys.texi: Likewise.
5092         * manual/llio.texi: Likewise.
5093         * manual/memory.texi: Likewise.
5094         * manual/process.texi: Likewise.
5095         * manual/resource.texi: Likewise.
5096         * manual/search.texi: Likewise.
5097         * manual/signal.texi: Likewise.
5098         * manual/socket.texi: Likewise.
5099         * manual/stdio.texi: Likewise.
5100         * manual/sysinfo.texi: Likewise.
5101         * manual/syslog.texi: Likewise.
5102         * manual/terminal.texi: Likewise.
5103         * manual/time.texi: Likewise.
5104         * manual/users.texi: Likewise.
5106 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
5108         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5109         (roundeven): New declaration.
5110         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
5111         macro.
5112         * math/Versions (roundeven): New libm symbol at version
5113         GLIBC_2.25.
5114         (roundevenf): Likewise.
5115         (roundevenl): Likewise.
5116         * math/Makefile (libm-calls): Add s_roundevenF.
5117         * math/libm-test.inc (roundeven_test_data): New array.
5118         (roundeven_test): New function.
5119         (main): Call roundeven_test.
5120         * math/test-tgmath.c (NCALLS): Increase to 134.
5121         (F(compile_test)): Call roundeven.
5122         (F(roundeven)): New function.
5123         * manual/arith.texi (Rounding Functions): Document roundeven,
5124         roundevenf and roundevenl.
5125         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
5126         * include/math.h (roundeven): Use libm_hidden_proto.
5127         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
5128         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
5129         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
5130         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
5131         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
5132         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
5133         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5134         roundeven.
5135         (CFLAGS-nldbl-roundeven.c): New variable.
5136         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
5137         * sysdeps/nacl/libm.abilist: Update.
5138         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5139         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5140         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5141         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5142         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5143         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5144         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5145         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5146         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5147         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5148         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5149         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5151         Likewise.
5152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5153         Likewise.
5154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5155         Likewise.
5156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5157         Likewise.
5158         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5159         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5160         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5161         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5162         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5164         Likewise.
5165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5166         Likewise.
5167         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5168         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5169         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5171 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5173         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
5174         preprocessor indentation inside #if.
5176 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5178         * math/libm-test.inc (fmt_ftostr): New function.
5179         (print_float, check_float_internal): Replace some uses of
5180         FTOSTR with uses of fmt_ftostr.
5181         (print_max_error, print_complex_max_error, print_function_ulps)
5182         (print_complex_function_ulps): Remove uses of the macros
5183         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
5184         * math/test-double.h (FTOSTR): Define to strfromd.
5185         (PRINTF_EXPR): Delete.
5186         (PRINTF_XEXPR): Likewise.
5187         (PRINTF_NEXPR): Likewise.
5188         * math/test-float.h (FTOSTR): Define to strfromf.
5189         (PRINTF_EXPR): Delete.
5190         (PRINTF_XEXPR): Likewise.
5191         (PRINTF_NEXPR): Likewise.
5192         * math/test-ldouble.h (FTOSTR): Define to strfroml.
5193         (PRINTF_EXPR): Delete.
5194         (PRINTF_XEXPR): Likewise.
5195         (PRINTF_NEXPR): Likewise.
5197 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5199         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
5200         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
5201         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5202         (__lll_lock_elision): Decrement adapt_count while unlocking
5203         instead of before locking.
5204         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5205         (__lll_trylock_elision): Likewise.
5206         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
5207         (__lll_unlock_elision): Likewise.
5209 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5211         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
5212         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
5213         Use __libc_tbegin_retry macro.
5215 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5217         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
5218         Add -msoft-float.
5219         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
5220         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
5221         Use __libc_t* transaction macros instead of __builtin_t*.
5222         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5223         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
5225 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5227         * sysdeps/unix/sysv/linux/s390/elision-lock.c
5228         (__lll_lock_elision): Use atomics to load / store adapt_count.
5229         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
5230         (__lll_trylock_elision): Likewise.
5232 2016-12-20  Florian Weimer  <fweimer@redhat.com>
5234         Do not require memset elimination in explicit_bzero test.
5235         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
5236         (enum test_expectation): Add NO_EXPECTATIONS.
5237         (subtests): NO_EXPECTATIONS for ordinary clear.
5238         (check_test_buffer): Handle NO_EXPECTATIONS.
5239         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
5241 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
5243         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5244         (fmaxmag): New declaration.
5245         (fminmag): Likewise.
5246         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
5247         macro.
5248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
5249         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
5250         (fmaxmagf): Likewise.
5251         (fmaxmagl): Likewise.
5252         (fminmag): Likewise.
5253         (fminmagf): Likewise.
5254         (fminmagl): Likewise.
5255         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
5256         * math/s_fmaxmag_template.c: New file.
5257         * math/s_fminmag_template.c: Likewise.
5258         * math/libm-test.inc (fmaxmag_test_data): New array.
5259         (fmaxmag_test): New function.
5260         (fminmag_test_data): New array.
5261         (fminmag_test): New function.
5262         (main): Call fmaxmag_test and fminmag_test.
5263         * math/test-tgmath.c (NCALLS): Increase to 132.
5264         (F(compile_test)): Call fmaxmag and fminmag.
5265         (F(fminmag)): New function.
5266         (F(fmaxmag)): Likewise.
5267         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
5268         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
5269         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
5270         fminmag.
5271         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
5272         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
5273         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
5274         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
5275         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
5276         and fminmag.
5277         (CFLAGS-nldbl-fmaxmag.c): New variable.
5278         (CFLAGS-nldbl-fminmag.c): Likewise.
5279         * sysdeps/nacl/libm.abilist: Update.
5280         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5281         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5282         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5283         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5284         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5285         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5286         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5287         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5288         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5289         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5290         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5291         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5293         Likewise.
5294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5295         Likewise.
5296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5297         Likewise.
5298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5299         Likewise.
5300         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5301         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5302         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5303         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5304         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5306         Likewise.
5307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5308         Likewise.
5309         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5310         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5311         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5313 2016-12-19  Torvald Riegel  <triegel@redhat.com>
5315         [BZ #20973]
5316         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
5317         wake-up in robust mutexes.
5318         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5320 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5322         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
5323         (CFLAGS-bench-fmaxf.c): New rule.
5324         (CFLAGS-bench-fminf.c): Likewise.
5325         * benchtests/fmaxf-inputs: New file.
5326         * benchtests/fminf-inputs: Likewise.
5328         * benchtests/Makefile (bench-math): Add fmin and fmax.
5329         (CFLAGS-bench-fmax.c): New rule.
5330         (CFLAGS-bench-fmin.c): Likewise.
5331         * benchtests/fmax-inputs: New file.
5332         * benchtests/fmin-inputs: Likewise.
5334         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
5335         parenthesis.
5336         (CMDLINE_PROCESS): Define using function instead of macro.
5337         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
5338         of test-skeleton.
5339         * benchtests/bench-memchr.c: Likewise.
5340         * benchtests/bench-memcmp.c: Likewise.
5341         * benchtests/bench-memcpy-large.c: Likewise.
5342         * benchtests/bench-memcpy.c: Likewise.
5343         * benchtests/bench-memmem.c: Likewise.
5344         * benchtests/bench-memmove-large.c: Likewise.
5345         * benchtests/bench-memmove.c: Likewise.
5346         * benchtests/bench-memset-large.c: Likewise.
5347         * benchtests/bench-memset.c: Likewise.
5348         * benchtests/bench-rawmemchr.c: Likewise.
5349         * benchtests/bench-strcasecmp.c: Likewise.
5350         * benchtests/bench-strcasestr.c: Likewise.
5351         * benchtests/bench-strcat.c: Likewise.
5352         * benchtests/bench-strchr.c: Likewise.
5353         * benchtests/bench-strcmp.c: Likewise.
5354         * benchtests/bench-strcpy.c: Likewise.
5355         * benchtests/bench-strcpy_chk.c: Likewise.
5356         * benchtests/bench-strlen.c: Likewise.
5357         * benchtests/bench-strncasecmp.c: Likewise.
5358         * benchtests/bench-strncmp.c: Likewise.
5359         * benchtests/bench-strncpy.c: Likewise.
5360         * benchtests/bench-strnlen.c: Likewise.
5361         * benchtests/bench-strpbrk.c: Likewise.
5362         * benchtests/bench-strrchr.c: Likewise.
5363         * benchtests/bench-strsep.c: Likewise.
5364         * benchtests/bench-strspn.c: Likewise.
5365         * benchtests/bench-strstr.c: Likewise.
5366         * benchtests/bench-strtok.c: Likewise.
5368 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
5370         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
5371         stepping identification.
5372         (init_cpu_features): Add handle of Haswell.
5374 2016-11-25  Jim Meyering  <meyering@fb.com>
5376         [BZ #20386]
5377         Let gcc detect assert(a = 1) errors.
5378         * assert/assert.h (assert): Rewrite, retaining the old definintion
5379         when required, but otherwise putting the expression as-is in an "if"
5380         expression (hence, with no added parentheses) within a statement
5381         expression.
5383 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5385         * benchtests/Makefile (binaries-benchset): Depend on libsupport
5386         DSO.
5388 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
5390         * Rules (python-flags, python-invoke): New.
5391         ($(test-printers-out)): Use $(python-flags).
5393 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5395         * manual/arith.texi (Math Error Reporting): Document that sNaN
5396         arguments are not considered domain errors.
5398 2016-12-16  Zack Weinberg <zackw@panix.com>
5399             Florian Weimer <fweimer@redhat.com>
5400             Nick Mathewson <nickm@torproject.org>
5402         * string/explicit_bzero.c: New routine.
5403         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
5404         * string/Makefile (routines, strop-tests, tests): Add them.
5405         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
5406         * string/string.h [__USE_MISC]: Declare explicit_bzero.
5408         * debug/explicit_bzero_chk.c: New routine.
5409         * debug/Makefile (routines): Add it.
5410         * debug/tst-chk1.c: Test fortification of explicit_bzero.
5411         * string/bits/string3.h: Fortify explicit_bzero.
5413         * manual/string.texi: Document explicit_bzero.
5414         * NEWS: Mention addition of explicit_bzero.
5416         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
5417         data before returning, using explicit_bzero.
5418         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
5419         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
5420         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
5422         * include/string.h: Redirect internal uses of explicit_bzero
5423         to __explicit_bzero_chk[_internal].
5424         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
5425         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
5426         * sysdeps/arm/nacl/libc.abilist
5427         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5428         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5429         * sysdeps/unix/sysv/linux/arm/libc.abilist
5430         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5431         * sysdeps/unix/sysv/linux/i386/libc.abilist
5432         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5433         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5434         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5435         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5436         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5437         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5438         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5439         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5440         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5445         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5446         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5447         * sysdeps/unix/sysv/linux/sh/libc.abilist
5448         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5449         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5452         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5453         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5454         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5455         Add entries for explicit_bzero and __explicit_bzero_chk.
5457 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5459         * math/fenv.h
5460         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
5461         (FE_SNANS_ALWAYS_SIGNAL): New macro.
5462         * math/test-fe-snans-always-signal.c: New file.
5463         * math/Makefile (tests): Add test-fe-snans-always-signal.
5464         (CFLAGS-test-fe-snans-always-signal.c): New variable.
5465         * manual/arith.texi (Infinity and NaN): Document
5466         FE_SNANS_ALWAYS_SIGNAL.
5468 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5470         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
5471         bracket.
5473 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
5475         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
5476         before calling execv.
5478 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5480         [BZ# 20971]
5481         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
5482         overflow in pointer addition.
5483         * string/test-memchr.c (do_test): Add an argument to pass as
5484         the size on memchr.
5485         (test_main): Add check for SIZE_MAX.
5487 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5489         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
5490         (libm-calls): Add w_scalblnF.
5491         * math/w_scalbln.c: Remove.
5492         * math/w_scalblnf.c: Likewise.
5493         * math/w_scalblnl.c: Likewise.
5494         * math/w_scalbln_template.c: New file with type-generic
5495         implementation based on math/w_scalbln.c.
5496         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
5497         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
5499 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5501         [BZ #20947]
5502         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
5503         either is a signaling NaN.
5504         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
5505         follow fmaxl more closely.
5506         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
5507         when either is a signaling NaN.
5508         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
5509         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
5510         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
5511         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
5512         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
5513         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
5514         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
5515         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
5516         (fmin_test_data): Likewise.
5518 2016-12-15  Andreas Schwab  <schwab@suse.de>
5520         * support/support_test_main.c (support_test_main): Don't shadow
5521         file-local variable test_pid.
5523 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
5525         [BZ #20947]
5526         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
5527         either is a signaling NaN.
5528         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
5530 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5532         [BZ #20947]
5533         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
5534         when either is a signaling NaN.
5535         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
5537         * bits/long-double.h: New file.
5538         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
5539         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
5540         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
5541         * sysdeps/mips/bits/long-double.h: Likewise.
5542         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
5543         * math/Makefile (headers): Add bits/long-double.h.
5544         * misc/sys/cdefs.h: Include <bits/long-double.h>.
5545         * stdlib/strtold.c: Include <bits/long-double.h> instead of
5546         <bits/wordsize.h>.
5547         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
5548         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
5549         * math/math.h: Do not include <bits/mathdef.h>.
5550         * sysdeps/aarch64/bits/mathdef.h: Remove file.
5551         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
5552         inclusion.
5553         * sysdeps/ia64/bits/mathdef.h: Remove file.
5554         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
5555         * sysdeps/mips/bits/mathdef.h: Likewise.
5556         * sysdeps/powerpc/bits/mathdef.h: Likewise.
5557         * sysdeps/s390/bits/mathdef.h: Likewise.
5558         * sysdeps/sparc/bits/mathdef.h: Likewise.
5559         * sysdeps/x86/bits/mathdef.h: Likewise.
5560         * sysdeps/s390/s390-32/bits/wordsize.h
5561         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
5562         conditional code.
5563         * sysdeps/s390/s390-64/bits/wordsize.h
5564         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5565         Likewise.
5566         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
5567         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5568         Likewise.
5569         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
5570         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5571         Likewise.
5572         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
5573         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
5574         Likewise.
5576         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
5577         <linux/falloc.h>.
5578         (FALLOC_FL_KEEP_SIZE): Remove.
5579         (FALLOC_FL_PUNCH_HOLE): Likewise.
5580         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
5581         (FALLOC_FL_ZERO_RANGE): Likewise.
5583 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5585         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
5587 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5589         * sysdeps/unix/sysv/linux/renameat.c: New file.
5590         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
5592         * sysdeps/unix/sysv/linux/rename.c: New file.
5593         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
5595 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5597         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
5598         * string/strtok.c (strtok): Change to tailcall __strtok_r.
5599         * string/strtok_r.c (__strtok_r): Optimize for performance.
5600         * string/string-inlines.c (__old_strtok_r_1c): New function.
5601         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
5603 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5605         * math/Makefile (gen-libm-calls): Add w_log1pF.
5606         (libm-calls): Remove w_log1pF.
5607         * math/w_log1p.c: Remove.
5608         * math/w_log1pf.c: Likewise.
5609         * math/w_log1pl.c: Likewise.
5610         * math/w_log1p_template.c: New file with type-generic
5611         implementation based on math/w_log1p.c.
5612         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
5613         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
5615 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
5617         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
5619 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
5621         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5622         kernel version to 4.9.
5624 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
5626         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
5627         ($(inst_libdir)/libm.a): Fix rule to create the target only.
5629 2016-12-13  Andreas Schwab  <schwab@suse.de>
5631         * sysdeps/powerpc/dl-procinfo.c: Don't define
5632         _dl_powerpc_platforms.
5633         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
5634         constants instead of referencing _dl_powerpc_platforms.
5635         (_dl_platform_string): Remove.
5637 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5639         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
5641 2016-12-13  Florian Weimer  <fweimer@redhat.com>
5643         * Rules (binaries-shared-tests, binaries-pie-tests)
5644         (binaries-static-tests): Link with $(link-extra-libs-tests).
5645         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
5646         Remove $(link-extra-libs-tests).
5648 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5650         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5651         (sysdep_routines): Add strncmp_power9.
5652         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5653         (strncmp): Add __strncmp_power9 to list of strncmp functions.
5654         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
5655         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
5656         (strncmp): Add __strncmp_power9 to ifunc list.
5657         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
5659 2016-12-12  Florian Weimer  <fweimer@redhat.com>
5661         [BZ #17252]
5662         Add getentropy, getrandom.
5663         * stdlib/sys/random.h: New file.
5664         (headers): Add it.
5665         * stdlib/Makefile (routines): Add getentropy, getrandom.
5666         (tests): Add tst-getrandom.
5667         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
5668         * stdlib/getentropy.c: New file.
5669         * stdlib/getrandom.c: Likewise.
5670         * stdlib/tst-getrandom.c: Likewise.
5671         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
5672         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
5673         * manual/crypt.texi (Unpredictable Bytes): New section.
5674         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
5675         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
5676         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5677         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5678         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5679         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5680         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5681         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5682         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5683         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5684         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5685         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5686         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5687         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5688         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5689         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5691         Likewise.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5693         Likewise.
5694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5696         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5697         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5698         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5699         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5700         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5703         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5704         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5705         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5707 2016-12-10  Florian Weimer  <fweimer@redhat.com>
5709         [BZ #20956]
5710         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
5711         as additional compiler barriers.
5712         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
5713         (fn2, do_test): Declare with external linkage.
5714         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
5715         (do_test): Declare with external linkage.
5716         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
5717         (do_test): Declare with external linkage.
5718         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
5719         (do_test): Declare with external linkage.
5721 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
5723         * support/support_test_main.c (support_test_main): Use correct
5724         timeout.
5726 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
5727             Florian Weimer  <fweimer@redhat.com>
5729         [BZ #16421]
5730         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
5731         and __u6_addr32 members.
5732         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
5733         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
5734         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
5735         Use __u6_addr32.
5736         * inet/tst-checks.c: Use <support/test-driver.c>
5737         * inet/tst-checks-posix.c: New file.
5738         * inet/Makefile (tests): Add it.
5739         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
5741 2016-12-09  Florian Weimer  <fweimer@redhat.com>
5743         New subdirectory support for build and test infrastructure.
5744         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
5745         setting install-lib.
5746         * Makeconfig (link-extra-libs-tests): Define.
5747         (+link-pie-tests, +link-static-tests, +link-tests): Use
5748         link-extra-libs-tests.
5749         (rpath-dirs, all-subdirs): Add support.
5750         (built-modules): Add libsupport.
5751         (libsupport): Define.
5752         * support: New directory.
5753         * support/Makefile: New file.
5754         * support/check.c: Likewise.
5755         * support/check.h: Likewise.
5756         * support/delayed_exit.c: Likewise.
5757         * support/ignore_stderr.c: Likewise.
5758         * support/oom_error.c: Likewise.
5759         * support/set_fortify_handler.c: Likewise.
5760         * support/support.h: Likewise.
5761         * support/temp_file-internal.h: Likewise.
5762         * support/temp_file.c: Likewise.
5763         * support/test-driver.c: Likewise.
5764         * support/test-driver.h: Likewise.
5765         * support/test_main.c: Likewise.
5766         * support/write_message.c: Likewise.
5767         * support/xasprintf.c: Likewise.
5768         * support/xcalloc.c: Likewise.
5769         * support/xmalloc.c: Likewise.
5770         * support/xpthread_barrier_destroy.c: Likewise.
5771         * support/xpthread_barrier_init.c: Likewise.
5772         * support/xpthread_barrier_wait.c: Likewise.
5773         * support/xpthread_cancel.c: Likewise.
5774         * support/xpthread_check_return.c: Likewise.
5775         * support/xpthread_cond_wait.c: Likewise.
5776         * support/xpthread_create.c: Likewise.
5777         * support/xpthread_detach.c: Likewise.
5778         * support/xpthread_join.c: Likewise.
5779         * support/xpthread_mutex_lock.c: Likewise.
5780         * support/xpthread_mutex_unlock.c: Likewise.
5781         * support/xpthread_sigmask.c: Likewise.
5782         * support/xpthread_spin_lock.c: Likewise.
5783         * support/xpthread_spin_unlock.c: Likewise.
5784         * support/xrealloc.c: Likewise.
5785         * support/xsignal.h: Likewise.
5786         * support/xthread.h: Likewise.
5787         * support_tempfile.h: Likewise.
5788         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
5789         (TEST_DATA_LIMIT): Remove unused macro.
5790         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
5791         <support/check.h>.
5792         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
5793         (ignore_stderr, set_fortify_handler): Remove.  Now in
5794         <support/support.h>.
5795         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
5796         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
5797         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
5798         (xpthread_join): Remove.  Now in <support/xthread.h>.
5799         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
5800         Introduce legacy wrappers.
5801         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
5802         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
5803         (write_message): Remove.
5804         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
5805         test-skeleton.c.
5806         * io/test-open-tmpfile: Likewise.
5807         * io/tst-posix_fallocate-common.c: Likewise.
5808         * libio/tst-fseek.c: Likewise.
5809         * malloc/tst-malloc-backtrace.c: Likewise.
5810         * malloc/tst-malloc-fork-deadlock.c: Likewise.
5811         * malloc/tst-malloc-thread-exit.c: Likewise.
5812         * nptl/tst-cancel7.c: Likewise.
5813         * nptl/tst-cleanup0.c: Likewise.
5814         * posix/tst-posix_fadvise-common.c: Likewise.
5815         * rt/tst-shm.c: Likewise.
5816         * time/bug-getdate1.c: Likewise.
5817         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5818         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
5819         * elf/Makefile (tst-piemod1.so): Link against libsupport.
5821 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
5823         * Rules [$(run-built-tests) != no] (tests-expected): Add
5824         $(tests-printers).
5825         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
5827 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5829         [BZ #20539]
5830         * math/Makefile (install-lib-ldscripts): Add libm.a.
5831         (install_subdir): Remove.
5832         (install-others): Add.
5833         ($(inst_libdir)/libm.a): Add rule for installation as
5834         linker script.
5835         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
5837 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
5839         * INSTALL: Regenerated.
5840         * Makeconfig: Add comments and whitespace to make the control flow
5841         clearer.
5842         (+link-printers-tests, +link-pie-printers-tests,
5843         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
5844         built-rtld-LDFLAGS, link-libc-rpath,
5845         link-libc-tests-after-rpath-link,
5846         link-libc-printers-tests): New.
5847         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
5848         link-libc-tests): Use the new variables as required.
5849         * Makerules ($(py-const)): New rule.
5850         generated: Add $(py-const).
5851         * README.pretty-printers: New file.
5852         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
5853         (others): Depend on $(py-const).
5854         (tests): Depend on $(tests-printers-programs) or
5855         $(tests-printers-out),
5856         as required.  Pass $(tests-printers) to merge-test-results.sh.
5857         * manual/install.texi: Add requirements for testing the pretty
5858         printers.
5859         * nptl/Makefile (gen-py-const-headers, pretty-printers,
5860         tests-printers, CFLAGS-test-mutexattr-printers.c
5861         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
5862         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
5863         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
5864         * nptl/nptl-printers.py: New file.
5865         * nptl/nptl_lock_constants.pysym: Likewise.
5866         * nptl/test-cond-printers.c: Likewise.
5867         * nptl/test-cond-printers.py: Likewise.
5868         * nptl/test-condattr-printers.c: Likewise.
5869         * nptl/test-condattr-printers.py: Likewise.
5870         * nptl/test-mutex-printers.c: Likewise.
5871         * nptl/test-mutex-printers.py: Likewise.
5872         * nptl/test-mutexattr-printers.c: Likewise.
5873         * nptl/test-mutexattr-printers.py: Likewise.
5874         * nptl/test-rwlock-printers.c: Likewise.
5875         * nptl/test-rwlock-printers.py: Likewise.
5876         * nptl/test-rwlockattr-printers.c: Likewise.
5877         * nptl/test-rwlockattr-printers.py: Likewise.
5878         * scripts/gen-py-const.awk: Likewise.
5879         * scripts/test_printers_common.py: Likewise.
5880         * scripts/test_printers_exceptions.py: Likewise.
5882 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5884         * scripts/build-many-glibcs.py (Context.__init__): Take strip
5885         argument.
5886         (Glibc.build_glibc): Strip installed shared libraries if
5887         requested.
5888         (get_parser): Add --strip option.
5889         (main): Update Context call.
5891 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5892             Dominik Vogt  <vogt@linux.vnet.ibm.com>
5894         [BZ #20847]
5895         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
5896         array bounds for else branch.
5897         (__execvpe): Style fixes.
5898         * posix/tst-vfork3.c (run_script): New function.
5899         (create_script): Likewise.
5900         (do_test): Use run_script internal function.
5901         (do_prepare): Use create_script internal function.
5903 2016-12-07  Andreas Schwab  <schwab@suse.de>
5905         * sysdeps/unix/sysv/linux/x86/elision-conf.h
5906         (__elision_available): Don't declare.
5907         * sysdeps/unix/sysv/linux/x86/elision-conf.c
5908         (__elision_available): Don't define.
5909         (elision_init): Don't set __elision_available.
5911 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
5913         [BZ #20940]
5914         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
5915         return Inf for arguments Inf and sNaN.
5916         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
5917         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5918         Likewise.
5919         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
5920         Likewise.
5921         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
5922         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
5923         for arguments Inf and sNaN.  When returning a NaN, compute it by
5924         arithmetic on the arguments.
5925         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
5926         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
5927         arguments.
5929 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
5931         [BZ #20916]
5932         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
5933         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
5934         to compute result.
5935         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5936         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
5938 2016-12-05  Torvald Riegel  <triegel@redhat.com>
5940         * include/atomic.h (__atomic_check_size_ls): New.
5941         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
5942         atomic_store_release): Use it.
5943         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
5944         (elision_adapt, ELIDE_LOCK): Use atomics.
5945         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
5946         atomics and improve code comments.
5947         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
5948         (__lll_trylock_elision): Likewise.
5950 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5952         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
5953         programs.
5955 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
5957         [BZ #20916]
5958         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
5959         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
5960         arguments to compute result.
5961         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
5962         1 for arguments (sNaN, 0) or (1, sNaN).
5963         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
5964         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
5966         [BZ #20919]
5967         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
5968         NaN first argument when raised to power 0.
5969         * math/w_pow.c (__pow): Do not check for NaN or zero results from
5970         raising to power zero.
5971         * math/w_powf.c (__powf): Likewise.
5972         * math/w_powl.c (__powl): Likewise.
5973         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
5974         pow (0, 0) or pow (NaN, 0).
5976 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
5978         [BZ #20918]
5979         * configure.ac: Test for static NSS cryptographic libraries and set
5980         libc_cv_static_nss_crypt.
5981         * configure: Regenerate.
5982         * config.make.in (static-nss-crypt): Define.
5983         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
5984         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
5985         (CFLAGS-tst-linkall-static.c): Define.
5986         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
5987         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
5988         ($(objpfx)tst-linkall-static): Define.
5989         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
5990         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
5992 2016-12-02  Florian Weimer  <fweimer@redhat.com>
5994         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
5995         (one-hundred, tst-tls-many-dynamic-modules): Define.
5996         (modules-names): Add $(tst-tls-many-dynamic-modules).
5997         (tst-tls-manydynamic%mod.os): Build with special preprocessor
5998         macros.
5999         (tst-tls-manydynamic): Link against libdl, libpthread.
6000         (tst-tls-manydynamic.out): The test needs the test modules at run
6001         time.
6002         * elf/tst-tls-manydynamic.c: New file.
6003         * elf/tst-tls-manydynamic.h: Likewise.
6004         * elf/tst-tls-manydynamicmod.c: Likewise.
6006 2016-12-02  Florian Weimer  <fweimer@redhat.com>
6008         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
6009         (TLS_DTV_UNALLOCATED): Add.
6010         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
6011         offsets.
6013 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6015         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6017 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
6019         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
6020         Add -fno-optimize-sibling-calls.
6022 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
6024         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
6025         New declaration.
6026         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
6027         macro.
6028         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
6029         New macro.
6030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
6031         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
6032         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
6033         (llogbf): Likewise.
6034         (llogbl): Likewise.
6035         * math/Makefile (gen-libm-calls): Add w_llogbF.
6036         (tests): Add test-fp-llogb-constants.
6037         * math/w_llogb_template.c: New file.  Based on
6038         math/w_ilogb_template.c.
6039         * math/libm-test.inc (llogb_test_data): New array.
6040         (llogb_test): New function.
6041         (main): Call llogb_test.
6042         * math/test-fp-llogb-constants.c: New file.  Based on
6043         math/test-fp-ilogb-constants.c.
6044         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
6045         (do_test): Call check_return_llogb.
6046         * math/test-tgmath.c (NCALLS): Increase to 126.
6047         (F(compile_test)): Call llogb.
6048         (F(llogb)): New function.
6049         * manual/math.texi (Exponents and Logarithms): Document llogb,
6050         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
6051         * manual/libm-err-tab.pl (@all_functions): Add llogb.
6052         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
6053         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
6054         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
6055         (CFLAGS-nldbl-llogb.c): New variable.
6056         * sysdeps/nacl/libm.abilist: Update.
6057         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6058         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6059         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6060         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6061         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6062         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6063         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6064         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6065         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6066         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6067         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6068         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6070         Likewise.
6071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6072         Likewise.
6073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6074         Likewise.
6075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6076         Likewise.
6077         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6078         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6079         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6080         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6081         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6083         Likewise.
6084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6085         Likewise.
6086         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6087         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6088         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6090 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6092         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
6093         _Float128 instead of long double.
6094         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
6096         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
6097         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
6098         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
6099         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
6100         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
6101         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
6102         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
6103         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
6104         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
6105         Likewise.
6107 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6109         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
6110         Remove redirection to __strrchr_ppc.
6112 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6114         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6115         (sysdep_routines): Add strcmp_power9.
6116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6117         (strcmp): Add __strcmp_power9 to list of strcmp functions.
6118         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
6119         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
6120         (strcmp): Add __strcmp_power9 to ifunc list.
6121         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
6123 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
6125         * bits/fp-logb.h: New file.
6126         * sysdeps/ia64/bits/fp-logb.h: Likewise.
6127         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
6128         * sysdeps/x86/bits/fp-logb.h: Likewise.
6129         * math/Makefile (headers): Add bits/fp-logb.h.
6130         * math/math.h: Include <bits/fp-logb.h>.
6131         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
6132         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
6133         * bits/mathdef.h (FP_ILOGB0): Remove.
6134         (FP_ILOGBNAN): Likewise.
6135         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
6136         (FP_ILOGBNAN): Likewise.
6137         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
6138         (FP_ILOGBNAN): Likewise.
6139         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
6140         (FP_ILOGBNAN): Likewise.
6141         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
6142         (FP_ILOGBNAN): Likewise.
6143         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
6144         (FP_ILOGBNAN): Likewise.
6145         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
6146         (FP_ILOGBNAN): Likewise.
6147         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
6148         (FP_ILOGBNAN): Likewise.
6149         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
6150         (FP_ILOGBNAN): Likewise.
6151         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
6152         (FP_ILOGBNAN): Likewise.
6154         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
6155         time module.
6156         (Context.__init__): Initialize self.logsdir_old.
6157         (Context.run_builds): Handle bot action.
6158         (Context.bot_cycle): Copy logs directory before running builds.
6159         (Context.bot_run_self): Take argument for whether to check
6160         subprocess result.  Flush stdout before running subprocess.
6161         (Context.bot): New function.
6162         (get_parser): Allow bot action.
6164 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
6166         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
6167         Import email.mime.text, email.utils and smtplib modules.
6168         (Context.__init__): Initialize self.bot_config_json.
6169         (Context.run_builds): Handle bot-cycle action.
6170         (Context.load_bot_config_json): New function.
6171         (Context.part_build_old): Likewise.
6172         (Context.bot_cycle): Likewise.
6173         (Context.bot_build_mail): Likewise.
6174         (Context.bot_run_self): Likewise.
6175         (get_parser): Allow bot-cycle action.
6177 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6179         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
6180         Remove redirection to __stpcpy_ppc.
6182 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6184         Remove __libc_memalign from ld.so because it is unused.
6185         * elf/dl-minimal.c: Update comment on the malloc implementation.
6186         (malloc): Renamed from __libc_memalign, replacing the original
6187         malloc implementation.  Replace the align parameter with
6188         MALLOC_ALIGNMENT.
6189         * elf/Versions (ld): Update comment and remove __libc_memalign.
6190         * sysdeps/nacl/ld.abilist: Likewise.
6191         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
6192         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
6193         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
6194         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
6195         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
6196         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
6197         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
6198         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
6199         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
6200         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
6201         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
6202         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
6203         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
6204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
6205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
6206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
6207         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
6208         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
6209         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
6210         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
6211         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
6212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
6213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
6214         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
6215         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
6216         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
6217         * sysdeps/generic/localplt.data (ld.so): Likewise.
6218         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6219         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6220         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6221         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6222         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6223         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6224         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6225         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
6226         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6228         (ld.so): Likewise.
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6230         (ld.so): Likewise.
6231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6232         Likewise.
6233         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6234         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6235         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
6236         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
6237         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6239 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6241         [BZ #16628]
6242         Implement _dl_catch_error, _dl_signal_error in libc.so.
6243         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
6244         (catch_hook): Define as thread-local or regular variable,
6245         depending on DL_ERROR_BOOTSTRAP.
6246         (CATCH_HOOK): Remove.
6247         (dl_signal_error, _dl_catch_error): Use
6248         catch_hook.  Add hidden definition for libc.
6249         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
6250         for DL_ERROR_BOOTSTRAP only.
6251         * elf/dl-error.c: New file.
6252         * elf/dl-error-minimal.c: Likewise.
6253         * elf/tst-latepthread.c: Likewise.
6254         * elf/tst-latepthreadmod.c: Likewise.
6255         * elf/Makefile (routines): Add dl-error.
6256         (dl-routines): Remove dl-error.
6257         (rtld-routines): Add dl-error-minimal.
6258         [build-shared] (tests): Add tst-latepthread.
6259         (module-names): Add tst-latepthreadmod.
6260         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
6261         symbol.
6262         (tst-latepthreadmod.so): Link against libpthread.
6263         (tst-latepthread): Link against libdbl.
6264         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
6265         _dl_catch_error.
6266         [ld] (GLIBC_PRIVATE): Likewise.
6267         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
6268         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
6269         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
6270         directly.
6271         * elf/dl-tsd.c: Remove file.
6272         * elf/rtld.c (_rtld_global_ro): Remove initializers for
6273         _dl_catch_error, _dl_signal_error.
6274         (_dl_initial_error_catch_tsd): Remove definition.
6275         (do_preload): Remove initialization of dl_error_catch_tsd.
6276         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
6277         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
6278         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
6279         * dlfcn/dlopen.c (dlopen_doit): Likewise.
6280         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
6281         set dl_error_catch_tsd.
6282         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
6283         _dl_error_catch_tsd member.
6284         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
6285         members.
6286         (_dl_initial_error_catch_tsd): Remove declaration.
6287         (_dl_dprintf): Provide definition for use outside of ld.so.
6288         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
6289         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
6290         prototype for libc.
6291         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
6292         _dl_catch_error.
6293         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
6294         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
6295         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
6296         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
6297         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
6298         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
6299         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
6300         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
6301         Likewise.
6302         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
6303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
6304         (ld.so): Likewise.
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6306         (ld.so): Likewise.
6307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
6308         Likewise.
6309         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
6310         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
6311         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
6312         Likewise.
6313         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
6314         Likewise.
6315         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
6317 2016-11-30  Florian Weimer  <fweimer@redhat.com>
6319         [BZ #4099]
6320         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
6321         _IO_BUFSIZ (8192).
6323 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
6325         * PROJECTS: Remove file.
6327 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6329         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
6331 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
6332             Steve Ellcey  <sellcey@caviumnetworks.com>
6334         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
6335         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
6336         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
6337         fxstatat.
6338         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
6339         lxstat.
6340         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
6341         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
6342         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
6343         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
6344         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
6345         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
6346         __xstat.
6348 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6350         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
6351         Define.
6352         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
6353         definition.
6355 2016-11-29  Florian Weimer  <fweimer@redhat.com>
6357         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
6358         version and turn into strong alias.  Remove compat symbol.
6360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6361         (__longjmp): Remove.
6363 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
6365         * bits/fp-fast.h: New file.
6366         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
6367         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
6368         * math/Makefile (headers): Add bits/fp-fast.h.
6369         * math/math.h: Include <bits/fp-fast.h>.
6370         * bits/mathdef.h (FP_FAST_FMA): Remove.
6371         (FP_FAST_FMAF): Likewise.
6372         (FP_FAST_FMAL): Likewise.
6373         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
6374         (FP_FAST_FMAF): Likewise.
6375         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
6376         (FP_FAST_FMAF): Likewise.
6377         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
6378         (FP_FAST_FMAF): Likewise.
6379         (FP_FAST_FMAL): Likewise.
6380         * sysdeps/arm/bits/mathdef.h: Remove file.
6381         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
6382         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6383         * sysdeps/tile/bits/mathdef.h: Likewise.
6385 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6387         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
6388         * math/w_ilogb.c: Remove.
6389         * math/w_ilogbf.c: Likewise.
6390         * math/w_ilogbl.c: Likewise.
6391         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
6392         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
6393         * math/Makefile (gen-libm-calls): Add w_ilogbF.
6394         (libm-calls): Remove w_ilogbF.
6395         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
6396         (LDOUBLE_ilogbl_libm_version): New macro.
6398         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
6400         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
6401         [!__STRICT_ANSI__ && !__cplusplus].
6403 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
6405         [BZ #20750]
6406         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
6407         of PIC.
6409 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
6410             Yury Norov  <ynorov@caviumnetworks.com>
6411             Steve Ellcey  <sellcey@caviumnetworks.com>
6413         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
6414         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
6415         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
6416         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
6417         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
6418         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
6419         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
6420         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
6421         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
6422         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
6423         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
6424         to get correct reg name for ILP32.
6425         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
6426         (RELA_SIZE): New Macro.
6427         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
6428         to support ILP32.
6429         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
6430         cast for ILP32 mode.
6431         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
6432         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
6433         * sysdeps/aarch64/memset.S (__memset): Ditto.
6434         * sysdeps/aarch64/strchr.S (strchr): Ditto.
6435         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
6436         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
6437         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
6438         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
6439         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
6440         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
6441         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
6442         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
6443         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
6444         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
6445         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
6446         change PTR_MANGLE call to use register numbers instead of names.
6447         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
6448         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
6449         ILP32 mode, change PTR_MANGLE calls to use register numbers.
6450         * sysdeps/aarch64/start.S (_start): Ditto.
6451         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
6452         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
6453         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
6454         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
6455         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
6456         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
6457         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
6458         Make defined values dependent on __ILP32__.
6459         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
6460         (sem_t): Change __align type.
6461         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
6462         PTR_SIZE): New Macros.
6463         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
6464         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
6465         Set when in ILP32 mode.
6466         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
6467         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
6468         Set elf flags for ILP32.
6469         (add_system_dir): Set ILP32 library directories.
6470         * sysdeps/unix/sysv/linux/aarch64/init-first.c
6471         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
6472         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
6473         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
6474         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
6475         New Macros.
6476         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
6478 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6480         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
6481         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
6482         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
6484 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
6486         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
6487         <asm/cachectl.h>.
6489 2016-11-27  Zack Weinberg  <zackw@panix.com>
6491         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
6492         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
6494 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6496         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
6497         error_t to fix usage in C++ programs.
6499 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
6501         * scripts/build-many-glibcs.py: Import datetime module.
6502         (Context.__init__): Load JSON build state.  Initialize list of
6503         status logs.
6504         (Context.run_builds): Update saved build state.
6505         (Context.add_makefile_cmdlist): Update list of status logs.
6506         (Context.load_build_state_json): New function.
6507         (Context.store_build_state_json): Likewise.
6508         (Context.clear_last_build_state): Likewise.
6509         (Context.update_build_state): Likewise.
6510         (CommandList.status_logs): Likewise.
6512 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
6514         * scripts/build-many-glibcs.py (Context.__init__): Save text of
6515         script being executed.
6516         (Context.get_script_text): New function.
6517         (Context.exec_self): Likewise.
6518         (Context.checkout): Re-exec script if changed by checkout process.
6520 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6522         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6523         (setpayloadsig): New declaration.
6524         * math/Versions (setpayloadsig): New libm symbol at version
6525         GLIBC_2.25.
6526         (setpayloadsigf): Likewise.
6527         (setpayloadsigl): Likewise.
6528         * math/Makefile (libm-calls): Add s_setpayloadsigF.
6529         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
6530         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
6531         (setpayloadsig_test_data): New array.
6532         (setpayloadsig_test): New function.
6533         (main): Call setpayloadsig_test.
6534         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
6535         setpayloadsigf and setpayloadsigl.
6536         * manual/libm-err-tab.pl: Update comment on interfaces without
6537         ulps tabulated.
6538         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
6539         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
6540         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
6541         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
6542         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
6543         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
6544         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6545         setpayloadsig.
6546         (CFLAGS-nldbl-setpayloadsig.c): New variable.
6547         * sysdeps/nacl/libm.abilist: Update.
6548         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6549         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6550         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6551         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6552         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6553         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6554         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6555         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6556         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6557         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6558         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6559         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6561         Likewise.
6562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6563         Likewise.
6564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6565         Likewise.
6566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6567         Likewise.
6568         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6569         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6570         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6571         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6572         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6574         Likewise.
6575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6576         Likewise.
6577         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6578         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6579         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6581         * scripts/build-many-glibcs.py: Import json module.
6582         (Context.__init__): Take replace_sources argument.  Load
6583         versions.json.
6584         (Context.load_versions_json): New function.
6585         (Context.store_json): Likewise.
6586         (Context.store_versions_json): Likewise.
6587         (Context.set_component_version): Likewise.
6588         (Context.checkout): Update versions.json.  Check for and handle
6589         changes of version.  Prefer previously explicitly specified
6590         version to default version.
6591         (Context.checkout_vcs): Return a revision identifier.
6592         (Context.git_checkout): Likewise.
6593         (Context.gcc_checkout): Likewise.
6594         (get_parser): Add --replace-sources option.
6595         (main): Pass replace_sources argument to Context call.
6597 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6599         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
6600         * nptl/allocatestack.c (allocate_stack): Likewise.
6601         (__reclaim_stacks): Likewise.
6602         (setxid_signal_thread): Obtain pid through syscall.
6603         * nptl/nptl-init.c (sigcancel_handler): Likewise.
6604         (sighandle_setxid): Likewise.
6605         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
6606         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
6607         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
6608         Likewise.
6609         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
6610         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
6611         comment.
6612         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
6613         * nptl/descr.h (struct pthread): Change comment about pid value.
6614         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
6615         pid assert.
6616         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
6617         Do not set pid value.
6618         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
6619         pid cache check.
6620         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
6621         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
6622         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
6623         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
6624         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
6625         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6626         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
6627         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
6628         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
6629         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
6630         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
6631         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6632         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
6633         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6634         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
6635         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
6636         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6637         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
6638         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
6639         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
6640         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
6641         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6642         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
6643         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
6644         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
6645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
6647         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6648         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6649         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6650         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
6651         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
6652         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
6653         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
6654         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
6655         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
6656         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
6657         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
6658         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
6659         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
6660         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
6661         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
6662         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
6663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
6664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
6665         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
6666         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
6667         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6668         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6669         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6670         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
6671         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
6672         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
6673         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
6674         struct access.
6675         (clone_test): Remove function.
6676         (do_test): Rewrite to take in consideration pid is not cached anymore.
6678 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
6680         * bits/flt-eval-method.h: New file.
6681         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
6682         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
6683         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
6684         * math/Makefile (headers): Add bits/flt-eval-method.h.
6685         * math/math.h: Include <bits/flt-eval-method.h>.
6686         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
6687         [__USE_ISOC99] (double_t): Likewise.
6688         * bits/mathdef.h (float_t): Remove.
6689         (double_t): Likewise.
6690         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
6691         (double_t): Likewise.
6692         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
6693         (double_t): Likewise.
6694         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
6695         (double_t): Likewise.
6696         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
6697         (double_t): Likewise.
6698         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
6699         (double_t): Likewise.
6700         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
6701         (double_t): Likewise.
6702         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
6703         (double_t): Likewise.
6704         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
6705         (double_t): Likewise.
6706         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
6707         (double_t): Likewise.
6708         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
6709         (double_t): Likewise.
6710         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
6711         (double_t): Likewise.
6712         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
6713         (double_t): Likewise.
6714         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
6715         (double_t): Likewise.
6717 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
6719         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
6720         instead of PIC.
6722 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6724         [BZ #20859]
6725         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
6726         (-0x7fffffff) instead of 0x80000001.
6727         * math/test-fp-ilogb-constants.c: New file.
6728         * math/Makefile (tests): Add test-fp-ilogb-constants.
6730 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
6732         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
6733         (_init): Use it in place of hardcoded R_MIPS_JALR.
6734         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
6735         (_init): Use it in place of hardcoded R_MIPS_JALR.
6736         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
6737         (_init): Use it in place of hardcoded R_MIPS_JALR.
6739 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6741         [BZ #20787]
6742         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
6743         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
6744         (double_t): Do not define to double if [__x86_64__] when
6745         __FLT_EVAL_METHOD__ is nonzero.
6746         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
6747         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
6748         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6749         test-flt-eval-method-387 and test-flt-eval-method-sse.
6750         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
6751         variable.
6752         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
6754 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
6756         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
6757         use of -fno-isolate-erroneous-paths options for tilepro.
6759 2016-11-23  Florian Weimer  <fweimer@redhat.com>
6761         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
6762         structure initialization is no longer needed.
6764 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
6766         [BZ #20855]
6767         * bits/mathdef.h (float_t): Define to float.
6768         * math/test-flt-eval-method.c: New file.
6769         * math/Makefile (tests): Add test-flt-eval-method.
6770         (CFLAGS-test-flt-eval-method.c): New variable.
6772 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
6774         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
6775         and __fstatfs.  Make them aliases of __fstatfs64 if
6776         STATFS_IS_STATFS64 is set to non-zero.
6777         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
6778         and __statfs64.
6779         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
6780         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
6781         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
6782         for __statfs and statfs.
6783         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
6784         to 0.
6785         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
6786         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
6787         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
6788         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6789         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6790         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
6793         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
6794         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6795         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
6796         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
6798 2016-11-22  Andreas Schwab  <schwab@suse.de>
6800         * misc/mkstemp.c: Include <fcntl.h>.
6801         * misc/mkstemps.c: Likewise.
6802         * misc/mkostemp.c: Likewise.
6803         * misc/mkostemps.c: Likewise.
6805 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
6807         [BZ #20847]
6808         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
6809         array bounds.
6810         (__execvpe): Likewise.
6812 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
6814         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
6815         -fno-isolate-erroneous-paths options for tilepro.
6817 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
6819         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
6820         to 0 when in 32 bit mode.
6821         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
6822         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
6823         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
6824         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
6825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
6826         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
6827         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
6828         XSTAT_IS_XSTAT64 test.
6829         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
6830         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
6831         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
6832         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
6833         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
6834         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
6835         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
6836         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
6837         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
6838         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
6839         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
6841 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
6843         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6844         (setpayload): New declaration.
6845         * math/Versions (setpayload): New libm symbol at version
6846         GLIBC_2.25.
6847         (setpayloadf): Likewise.
6848         (setpayloadl): Likewise.
6849         * math/Makefile (libm-calls): Add s_setpayloadF.
6850         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
6851         test_Ff_b1_data.
6852         (RUN_TEST_Ff_b1): New macro.
6853         (RUN_TEST_LOOP_Ff_b1): Likewise.
6854         (canonicalize_test_data): Update type.
6855         (setpayload_test_data): New array.
6856         (setpayload_test): New function.
6857         (main): Call setpayload_test.
6858         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
6859         setpayloadf and setpayloadl.
6860         * manual/libm-err-tab.pl: Update comment on interfaces without
6861         ulps tabulated.
6862         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
6863         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
6864         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
6865         Likewise.
6866         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
6867         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
6868         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
6869         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
6870         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
6871         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
6872         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
6873         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
6874         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
6875         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6876         setpayload.
6877         (CFLAGS-nldbl-setpayload.c): New variable.
6878         * sysdeps/nacl/libm.abilist: Update.
6879         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6880         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6881         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6882         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6883         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6884         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6885         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6886         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6887         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6888         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6889         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6890         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6892         Likewise.
6893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6894         Likewise.
6895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6896         Likewise.
6897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6898         Likewise.
6899         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6900         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6901         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6902         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6903         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6905         Likewise.
6906         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6907         Likewise.
6908         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6909         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6910         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6912 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6914         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
6915         * include/unistd.h: Extend comment about __access_noerrno return
6916         semantics.
6917         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
6918         (access_common): Correct typo for EACCES.
6920 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
6922         * sysdeps/tile/math-tests.h: New file.
6924         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
6925         (__old_set_dataplane): Rename from set_dataplane and make a
6926         compatibility symbol.
6927         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
6928         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
6929         sys/dataplane.h.
6931 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
6933         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
6934         script quote words in command output to log suitably for input to
6935         the shell.
6937 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
6938             Maciej W. Rozycki  <macro@imgtec.com>
6940         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
6941         `.Lno_weak_fn' label.
6942         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
6943         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
6945 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6946             Yury Norov  <ynorov@caviumnetworks.com>
6948         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
6949         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
6950         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6951         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
6952         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6953         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
6954         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6955         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6956         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6957         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
6958         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
6959         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
6960         (sysdep_routines): Remove oldgetrlimit64.
6961         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
6962         (sysdep_routines): Likewise.
6963         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
6964         (sysdep_routines): Likewise.
6965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6966         [$(subdir) = resource] (sysdep_routines): Likewise.
6967         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6968         [$(subdir) = resource] (sysdep_routines): Likewise.
6969         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
6970         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
6971         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
6972         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
6973         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
6974         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
6975         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
6976         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
6977         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
6978         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
6979         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
6980         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
6981         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
6982         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
6983         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
6984         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
6985         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
6986         setrlimit and getrlimit.
6987         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
6988         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
6989         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
6990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
6991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
6992         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
6993         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
6994         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6995         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6996         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
6997         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
6998         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
6999         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
7000         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
7001         (__old_getrlimit64): Add compatibility symbol.
7002         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
7004 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
7006         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
7007         newly built gmp, mpfr and mpc.
7009         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
7011 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7013         * conform/Makefile (linknamespace-libs): Rename to
7014         linknamespace-libs-thr.
7015         (linknamespace-libs-posix): New variable.
7016         (linknamespace-libs-xsi): Likewise.
7017         (linknamespace-libs-XPG3): Include libcrypt.a.
7018         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
7019         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
7020         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
7021         (linknamespace-libs-XOPEN2K): Likewise.
7022         (linknamespace-libs-XOPEN2K8): Likewise.
7023         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
7025         [BZ #20829]
7026         * stdio-common/Versions (__snprintf): Add to version
7027         GLIBC_PRIVATE.
7028         * include/stdio.h (__snprintf): Use libc_hidden_proto.
7029         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
7030         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
7031         of snprintf.
7032         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7034 2016-11-16  Zack Weinberg  <zackw@panix.com>
7036         * string/string.h: Remove obsolete comment stating that
7037         strcoll_l and strxfrm_l have not yet been standardized.
7039 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7041         * hurd/hurd.h (__hurd_fail_noerrno): New function.
7042         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
7043         __access_noerrno.
7044         * io/access.c (__access_noerrno): New function.
7045         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
7046         (hurd_fail_seterrno): Likewise.
7047         (access_common): Likewise.
7048         (__access_noerrno): Likewise.
7049         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
7050         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
7051         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
7052         macro.
7054 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
7056         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
7057         Only declare fpregs if [__SH_FPU_ANY__].
7059 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
7061         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
7062         Make code unconditional.
7063         [!(__SH4__ || __SH4A__)]: Remove conditional code.
7065 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
7067         * manual/sysinfo.texi (S_APPEND): Delete.
7068         (S_IMMUTABLE): Likewise.
7070 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
7071             Magnus Granberg  <zorry@gentoo.org>
7072             Mike Frysinger  <vapier@gentoo.org>
7074         [BZ #20662]
7075         * configure.ac (libc_cv_predef_stack_protector): Also check for
7076         __stack_chk_fail_local symbols.
7077         * configure: Regenerated.
7079 2016-11-15  Florian Weimer  <fweimer@redhat.com>
7081         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7082         (libc_hidden_def): Remove redefinition.
7083         (__sigsetjmp): Add hidden definition.
7084         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
7085         (libc_hidden_def): Remove redefinition.
7086         (__sigsetjmp): Add hidden definition.
7088 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
7090         * scripts/build-many-glibcs.py (os.path): Do not import.
7091         (Context): Inherit explicitly from object.  Remove blank line
7092         between class and docstring.
7093         (Config): Likewise.
7094         (Glibc): Likewise.
7095         (Command): Likewise.
7096         (CommandList): Likewise.
7097         (Context.write_files): Store chmod mode in a variable.
7099         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
7100         LIBC_SLIBDIR_RTLDDIR for tilegx32.
7101         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
7103 2016-11-14  Zack Weinberg  <zackw@panix.com>
7105         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
7106         creating or re-creating it.
7108         * string/bits/string2.h: Fix typo in comment.
7110 2016-11-14  Zack Weinberg  <zackw@panix.com>
7112         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
7113         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
7114         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
7115         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
7116         of redirected function names.
7118         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
7119         as well.  Document that MESSAGE must be a single string literal.
7121 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
7123         * scripts/build-many-glibcs.py: New file.
7125         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
7126         (do_test): Disable -Wmaybe-uninitialized around uses of
7127         except_mask.
7129         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
7131 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
7133         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
7134         (atomic_store_release): Provide tilepro-specific implementations.
7136 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
7138         * math/math.h (__MATH_TG): New macro.
7139         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
7140         [__USE_ISOC99] (signbit): Likewise.
7141         [__USE_ISOC99] (isfinite): Likewise.
7142         [__USE_ISOC99] (isnan): Likewise.
7143         [__USE_ISOC99] (isinf): Likewise.
7144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
7145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
7146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
7147         __MATH_TG and __MATH_EVAL_FMT2.
7148         * sysdeps/generic/math_private.h (fabs_tg): Define using
7149         __MATH_TG.
7150         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
7151         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
7152         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
7153         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
7154         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
7155         macro.
7156         (__iscanonical): Likewise.
7157         (iscanonical): Define using __MATH_TG.
7159 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7161         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
7162         guards.
7164         * sysdeps/unix/sysv/linux/access.c: New file.
7165         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
7167 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
7169         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
7170         and __WORDSIZE32_PTRDIFF_LONG.
7172 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7174         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7176 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7178         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
7179         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
7180         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
7181         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
7182         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
7183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
7184         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
7185         * sysdeps/unix/sysv/linux/truncate.c: New file.
7186         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
7187         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7188         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
7189         Remove.
7190         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
7191         Likewise.
7193         * posix/tst-truncate-common.c: New file.
7194         * posix/tst-truncate.c: Use tst-truncate-common.c.
7195         * posix/tst-truncate64.c: Likewise and add LFS tests.
7196         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
7197         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
7198         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
7199         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
7200         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
7201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
7202         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
7203         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
7204         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
7205         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
7206         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
7207         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
7208         Remove.
7209         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
7210         Likewise.
7212 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
7214         [BZ #20790]
7215         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
7216         to MAXLINESIZE.
7217         * sunrpc/bug20790.x: New file.
7218         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
7219         variable.
7220         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
7221         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
7223         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
7225         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
7227         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
7228         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
7229         calloc, realloc, free, memalign and __libc_memalign rather than
7230         making them optional.
7232         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
7233         for libc.so.
7235 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7237         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
7238         ptw-lseek64.
7239         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
7240         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
7241         Likewise.
7242         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
7243         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
7244         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
7245         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
7246         * sysdeps/unix/sysv/linux/lseek.c: New file.
7247         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
7248         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
7249         __libc_lseek64 from auto-generation.
7250         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
7251         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
7253 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7255         * nptl/tst-basic1.c (tf, do_test): Use write_message.
7256         * nptl/tst-cleanup1.c (do_test): Likewise.
7257         * nptl/tst-cleanup3.c (do_test): Likewise.
7258         * nptl/tst-key1.c (do_test): Likewise.
7259         * nptl/tst-key2.c (tf, do_test): Likewise.
7260         * nptl/tst-key3.c (tf, do_test): Likewise.
7261         * nptl/tst-stdio1.c (do_test): Likewise.
7262         * nptl/tst-stdio2.c (do_test): Likewise.
7264         * nptl/tst-kill3.c (handler): Use write_message in place of write.
7265         * nptl/tst-kill6.c (handler): Likewise.
7266         * nptl/tst-tls2.c (CB): Likewise.
7267         * nptl/tst-tls3.c (CB): Likewise.
7269 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
7271         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
7273 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
7274             Steve Ellcey  <sellcey@caviumnetworks.com>
7276         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
7277           __ASSUME_ST_INO_64_BIT as 0
7278         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
7279         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
7280           over the code where __ASSUME_ST_INO_64_BIT is used.
7281         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
7282         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
7283         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7285 2016-11-07  Florian Weimer  <fweimer@redhat.com>
7287         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7288         Document ABI exposure of the __kind offset.
7289         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7290         Mention reason for the __kind offset exposure in the ABI.
7291         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7292         Likewise.
7293         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7294         Likewise.
7295         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7296         Likewise.
7297         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
7298         (struct __pthread_mutex_s): Likewise.
7299         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7300         Likewise.
7301         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7302         Likewise.
7303         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7304         Likewise.
7305         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7306         Likewise.
7307         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7308         Likewise.
7309         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
7310         Likewise.
7311         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7312         (struct __pthread_mutex_s): Likewise.
7313         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7314         (struct __pthread_mutex_s): Likewise.
7315         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
7316         Likewise.
7318 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
7320         * test-skeleton.c: Document do_test usage.
7322 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
7324         * iconv/gconv.h (__gconv_info): Define __data element using a
7325         zero-length array.
7327 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
7329         * math/test-tgmath2.c: Split up test function.
7331 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7333         * Rules (tests-expected): New variable, depending on
7334         $(run-built-tests).
7335         (tests): Pass $(tests-expected) to merge-test-results.sh, not
7336         $(tests).
7338         * Rules [$(run-built-tests) = no] (tests): Do not depend on
7339         $(tests-unsupported).
7341 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7343         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7344         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
7346 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7348         [BZ #20768]
7349         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
7350         __fegetenv instead of fegetenv.
7352         [BZ #14139]
7353         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
7354         (find_files): Obtain platform name from libm-test-ulps-name and
7355         store in %pplatforms.
7356         (canonicalize_platform): Remove.
7357         (print_platforms): Use $pplatforms directly.
7358         (by_platforms): Do not allow for platforms missing from
7359         %pplatforms.
7360         * sysdeps/aarch64/libm-test-ulps-name: New file.
7361         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
7362         * sysdeps/arm/libm-test-ulps-name: Likewise.
7363         * sysdeps/generic/libm-test-ulps-name: Likewise.
7364         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
7365         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
7366         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
7367         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
7368         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
7369         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
7370         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
7371         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
7372         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
7373         * sysdeps/nios2/libm-test-ulps-name: Likewise.
7374         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
7375         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
7376         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
7377         * sysdeps/sh/libm-test-ulps-name: Likewise.
7378         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
7379         * sysdeps/tile/libm-test-ulps-name: Likewise.
7380         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
7382         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
7384         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
7385         (test-xfail-check-execstack): New variable.
7387         * sysdeps/mips/localplt.data: New file.
7389 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
7390             Steve Ellcey  <sellcey@caviumnetworks.com>
7392         * bits/wordsize.h: Add documentation.
7393         * sysdeps/aarch64/bits/wordsize.h : New file
7394         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
7395         definitions.
7396         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
7397         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
7398         with #if instead of #ifdef.
7399         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
7400         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
7401         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
7402         Add or change defines.
7403         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
7404         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
7405         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
7406         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
7407         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
7408         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
7409         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
7410         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
7411         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
7412         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
7413         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
7414         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
7415         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
7416         * sysdeps/x86/bits/wordsize.h: Likewise.
7418 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
7419             Kevin Petit  <kevin.petit@arm.com>
7421         * sysdeps/aarch64/memchr.S (__memchr): New file.
7423 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
7425         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
7427 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
7429         [BZ #19398]
7430         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
7431         $(linknamespace-symlists-tests).
7433 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
7435         * time/tst-strptime2.c: Ignore -Wformat-length warning.
7437 2016-11-02  Florian Weimer  <fweimer@redhat.com>
7438             Carlos O'Donell  <carlos@redhat.com>
7440         [Bug #20729]
7441         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
7442         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
7443         for -Os related change.
7445 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
7447         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
7449 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
7451         [BZ #19673]
7452         * manual/math.texi (Exponents and Logarithms): Correct description
7453         of clog10.
7455 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
7457         [Bz #20729]
7458         * locale/weight.h: Include libc-internal.h.
7459         * locale/weightwc.h: Likewise.
7460         * nptl/nptl_dbP.h: Likewise.
7462 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
7464         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
7465         when it is MACH_PORT_NULL.
7467 2016-10-31  Andreas Schwab  <schwab@suse.de>
7469         [BZ #20707]
7470         * posix/glob.c (glob): Initialize pglob before checking for
7471         GLOB_BRACE.  Don't call glob recursively if pattern contains no
7472         valid brace expression despite GLOB_BRACE.
7473         * posix/globtest.sh: Test it.
7475 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7477         [BZ #20729]
7478         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
7479         Define.
7480         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
7481         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
7482         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
7483         for seq2.back_us and seq1.back_us only for -Os compiles.
7484         * locale/weightwc.h (findix): Likewise.
7485         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
7486         DB_GET_FIELD_ADDRESS only for -Os compiles.
7487         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
7488         for slen only for -Os compiles.
7489         * string/strcoll_l.c (get_next_seq): Ignore
7490         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
7491         for -Os compiles.
7493         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
7494         * include/crypt.h: New file.
7496 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7498         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
7499         from test-skeleton.c.
7500         (statclass): Replace calls to write with calls to write_message.
7502 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7504         * math/math.h
7505         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
7506         New macro.
7507         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
7508         Likewise.
7509         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
7510         Likewise.
7511         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
7512         SNANL.
7513         * math/test-double.h (snan_value_MACRO): New macro.
7514         * math/test-float.h (snan_value_MACRO): Likewise.
7515         * math/test-ldouble.h (snan_value_MACRO): Likewise.
7516         * math/libm-test.inc (issignaling_test_data): Add tests of
7517         snan_value_MACRO.
7519 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7521         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
7522         behavior when eliding a lock not held by the current thread.
7523         * sysdeps/powerpc/nptl/elide.h: Likewise.
7525 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7527         [BZ #20728]
7528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
7529         branch to _exit() by a function call.
7531 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7533         * malloc/malloc.c: Update chunk layout comments.
7534         (chunk_main_arena): Update comment.
7536 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7538         * crypt/sha256.c, crypt/sha256-block.c,
7539         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
7540         sha256_process_block to __sha256_process_block.
7541         * crypt/sha512.c, crypt/sha512-block.c,
7542         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
7543         sha512_process_block to __sha512_process_block.
7545 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
7547         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
7549         * math/test-nan-overflow.c: Include stdlib.h for malloc.
7551 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
7553         [BZ #20019]
7554         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
7555         definition in unrelocated shared library.
7556         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7558 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7560         [BZ #20729]
7561         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
7562         * sysdeps/unix/sysv/linux/i386/Makefile
7563         (uses-6-syscall-arguments): Define.
7564         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
7565         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
7566         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
7567         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
7568         Likewise.
7569         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
7570         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
7571         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
7572         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
7573         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
7574         (CFLAGS-fallocate64.os): Likewise.
7575         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
7576         (CFLAGS-pthread_rwlock_timedrdlock.os)
7577         (CFLAGS-pthread_rwlock_timedwrlock.o)
7578         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
7579         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
7580         (CFLAGS-sem_timedwait.os): Likewise.
7582 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7584         * elf/tst-linkall-static.c: New file.
7585         * elf/Makefile (tests-static): Add tst-linkall-static.
7586         (tst-linkall-static): Link against static libraries.
7588 2016-10-27  Florian Weimer  <fweimer@redhat.com>
7590         * malloc/malloc.c (sysmalloc): Initialize previous size field of
7591         mmaped chunks.
7593 2016-10-28  Florian Weimer  <fweimer@redhat.com>
7595         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
7596         members to mchunk_prev_size, mchunk_size.
7597         (chunk_main_arena): Reverse sense and rename from
7598         chunk_non_main_arena.
7599         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
7600         mchunk_size instead of size.
7601         (set_non_main_arena): Define.
7602         (chunksize): Use chunksize_nomask instead of direct member access.
7603         (chunksize_nomask): Define.
7604         (next_chunk): Use chunksize instead of direct member access.
7605         (prev_size, set_prev_size): Define.
7606         (prev_chunk): Use prev_size instead of direct member access.
7607         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
7608         (inuse_bit_at_offset, set_inuse_bit_at_offset)
7609         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
7610         (mchunk_prev_size, mchunk_size): Poison tokens.
7611         (unlink): Use chunksize_nomask, prev_size accessors.
7612         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
7613         (do_check_free_chunk): Use prev_size accessor.
7614         (sysmalloc): Use set_prev_size, set_head accessors.
7615         (munmap_chunk, mremap_chunk): Use prev_size accessor.
7616         (__libc_free): Use chunksize_nomask accessor.
7617         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
7618         chunk_main_arena accessors.
7619         (_int_free): Use chunksize_nomask, prev_size accessors.
7620         (malloc_consolidate): Use chunksize, prev_size accessors.
7621         (_int_realloc): Use chunksize_nomask accessor.
7622         (_int_memalign): Use set_prev_size accessor.
7623         (__malloc_info): Use chunksize_nomask accessor.
7624         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
7625         accessors.
7626         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
7627         (heap_trim): Use chunksize_nomask, prev_size accessors.
7629 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
7631         [BZ #19380]
7632         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
7633         for inexact results.
7634         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
7635         of inexact result where mpfr_subnormalize is the only inexact
7636         step.
7637         * stdlib/tst-strtod-round-data.h: Regenerated.
7638         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
7639         Define to 0.
7640         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
7642 2016-10-27  David S. Miller  <davem@davemloft.net>
7644         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
7646 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7648         * malloc/malloc.c (do_set_mallopt_check): New function.
7649         (do_set_mmap_threshold): Likewise.
7650         (do_set_mmaps_max): Likewise.
7651         (do_set_top_pad): Likewise.
7652         (do_set_perturb_byte): Likewise.
7653         (do_set_trim_threshold): Likewise.
7654         (do_set_arena_max): Likewise.
7655         (do_set_arena_test): Likewise.
7656         (__libc_mallopt): Use them.
7658 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
7660         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7661         (canonicalize): New declaration.
7662         * math/Versions (canonicalize): New libm symbol at version
7663         GLIBC_2.25.
7664         (canonicalizef): Likewise.
7665         (canonicalizel): Likewise.
7666         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
7667         * math/s_canonicalize_template.c: New file.
7668         * math/libm-test.inc: Update comment on functions tested and
7669         testing of NaN payloads.
7670         (TEST_NAN_PAYLOAD): New macro.
7671         (NO_TEST_INLINE): Update value.
7672         (XFAIL_TEST): Likewise.
7673         (ERRNO_UNCHANGED): Likewise.
7674         (ERRNO_EDOM): Likewise.
7675         (ERRNO_ERANGE): Likewise.
7676         (IGNORE_RESULT): Likewise.
7677         (NON_FINITE): Likewise.
7678         (TEST_SNAN): Likewise.
7679         (NO_TEST_MATHVEC): Likewise.
7680         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
7681         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
7682         (struct test_Ffp_b1_data): New type.
7683         (RUN_TEST_Ffp_b1): New macro.
7684         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7685         (canonicalize_test_data): New array.
7686         (canonicalize_test): New function.
7687         (main): Call canonicalize_test.
7688         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
7689         canonicalizef and canonicalizel.
7690         * manual/libm-err-tab.pl: Update comment on interfaces without
7691         ulps tabulated.
7692         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
7693         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
7694         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7695         canonicalize.
7696         (CFLAGS-nldbl-canonicalize.c): New variable.
7697         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
7698         to ...
7699         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
7700         ... here.
7701         (do_test): Also test canonicalizel.
7702         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
7703         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
7704         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
7705         file.
7706         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
7707         Use libm_hidden_def.
7708         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
7709         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
7710         (do_test): Also test canonicalizel.
7711         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
7712         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
7713         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
7714         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
7715         libm_hidden_def.
7716         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
7717         macro.
7718         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
7719         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
7720         * sysdeps/nacl/libm.abilist: Update.
7721         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7722         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7723         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7724         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7725         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7726         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7727         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7728         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7729         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7730         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7731         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7732         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7734         Likewise.
7735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7736         Likewise.
7737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7738         Likewise.
7739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7740         Likewise.
7741         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7742         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7743         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7744         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7745         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7747         Likewise.
7748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7749         Likewise.
7750         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7751         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7752         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7754         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
7755         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
7756         getpayload.
7757         (CFLAGS-nldbl-getpayload.c): New variable.
7759 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7761         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
7762         integer from the format string.
7764 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7766         [BZ #19473]
7767         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
7768         declarations.
7769         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
7770         weak aliases.
7771         * malloc/hooks.c (__malloc_get_state): Remove definition.
7772         (malloc_get_state): New stub implementation as
7773         compatibility symbol.
7774         (malloc_set_state): Rename from __malloc_set_state.  Turn into
7775         compat symbol.
7776         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
7777         malloc_set_state.
7778         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
7780 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7782         * iconvdata/iso646.c (enum variant): Drop illegal_var.
7783         (names): Turn into concatenation of strings.
7784         (gconv_init): Adapt iteration over names.
7786 2016-10-26  Florian Weimer  <fweimer@redhat.com>
7788         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
7789         make const.
7790         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
7791         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
7792         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
7793         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
7794         character in sbconv.
7795         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
7796         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
7797         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
7799 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7801         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
7803         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
7804         (M_TRIM_THRESHOLD): Likewise.
7806         * manual/memory.texi (M_ARENA_TEST): Add documentation.
7807         (M_ARENA_MAX): Likewise.
7808         * malloc/malloc.c: Remove obsolete comment.
7810         * manual/memory.texi: Add environment variable alternatives to
7811         setting mallopt parameters.
7813 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
7815         * include/atomic.h
7816         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
7817         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
7819 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7821         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
7822         * stdlib/tst-strfrom.h: New file.
7823         * stdlib/tst-strfrom.c: New file.
7824         * stdlib/tst-strfrom-locale.c: New file.
7826         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
7827         * stdlib/bug-strtod2.c: Likewise.
7828         * stdlib/tst-strtod-round-skeleton.c: Likewise.
7829         * stdlib/tst-strtod6.c: Likewise.
7830         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
7832 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7834         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
7835         * manual/arith.texi: Document strfromd, strfromf, strfroml.
7836         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
7837         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
7838         * stdlib/stdlib.h (strfromd): New declaration.
7839         (strfromf): Likewise.
7840         (strfroml): Likewise.
7841         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
7842         strfrom.
7843         * stdlib/strfromd.c: New file.
7844         * stdlib/strfromf.c: Likewise.
7845         * stdlib/strfroml.c: Likewise.
7846         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
7847         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
7848         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
7849         * sysdeps/arm/nacl/libc.abilist: Update.
7850         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7851         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7852         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7853         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7854         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7855         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7856         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7857         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7858         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7859         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7860         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7861         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7862         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7863         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
7865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7868         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7869         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7870         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7871         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7872         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7874         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7875         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7876         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7877         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7879 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
7881         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
7882         instead of cmpli.
7883         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
7884         instead of cmpli.
7886 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
7888         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
7889         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
7890         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
7891         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7892         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7893         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7895 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7897         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
7898         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7899         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
7900         SYSCALL_LL64_PRW.
7901         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7902         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
7903         __ASSUME_PRW_DUMMY_ARG.
7904         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
7905         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7906         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7907         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7908         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
7909         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
7911 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
7913         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
7915 2016-10-22  Florian Weimer  <fweimer@redhat.com>
7917         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
7918         "C++", to override a potential extern "C" directive around the
7919         header file inclusion.
7921 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
7923         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
7925 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7927         * sysdeps/powerpc/fpu/fenv_private.h:
7928         (_FPU_MASK_ALL): Rename to...
7929         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
7930         XE FPSCR bits.
7932         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
7934         (_FPU_MASK_ROUNDING): Rename to...
7935         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
7936         NI bits.
7938         (_FPU_MASK_EXCEPT_ROUND): Rename to...
7939         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
7940         bits and rounding bits.
7942         (__libc_feholdbits_ppc): New inline function to mask, set,
7943         and pontentially clear FSPCR bits, and change MSR[FE] bits.
7944         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
7945         (libc_feholdexcept_setround_ppc): Likewise.
7947         (__libc_femergeenv_ppc): New function to dynamically mask both
7948         old and new FP environments and merge.
7949         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
7950         (libc_feresetround_ppc): Likewise.
7951         (libc_feupdateenv_test_ppc): Likewise.
7952         (libc_feupdateenv_ppc): Likewise.
7954         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
7955         of ISA RN bits, and update macro names.
7956         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
7957         effectively the same as the previously mentioned function.
7959         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
7960         usage with fe_resetround_ppc.
7962         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
7963         to be used.
7964         (libc_feholdexcept_setround_ctxf): Likewise.
7965         (libc_feholdexcept_setround_ctxl): Likewise.
7967 2016-10-21  Florian Weimer  <fweimer@redhat.com>
7969         [BZ #20715]
7970         * math/math.h [__cplusplus] (iszero): Define as function template.
7971         * math/Makefile [CXX] (tests): Add test-math-iszero.
7972         (CFLAGS-test-math-iszero.cc): Set.
7973         * math/test-math-iszero.cc: New file.
7975 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
7977         [BZ #20660]
7978         * sysdeps/arm/e_sqrt.c: New file.
7979         * sysdeps/arm/e_sqrtf.c: Likewise.
7981 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
7983         [BZ #20718]
7984         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
7985         not use floating-point comparisons to test sign.
7986         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
7987         Likewise.
7989         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7990         (getpayload): New declaration.
7991         * math/Versions (getpayload): New libm symbol at version
7992         GLIBC_2.25.
7993         (getpayloadf): Likewise.
7994         (getpayloadl): Likewise.
7995         * math/Makefile (libm-calls): Add s_getpayloadF.
7996         * math/libm-test.inc: Include <nan-high-order-bit.h>.
7997         (struct test_f_f_data): Add comment.
7998         (RUN_TEST_fp_f): New macro.
7999         (RUN_TEST_LOOP_fp_f): Likewise.
8000         (getpayload_test_data): New array.
8001         (getpayload_test): New function.
8002         (main): Call getpayload_test.
8003         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
8004         descriptor.
8005         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
8006         getpayloadf and getpayloadl.
8007         * manual/libm-err-tab.pl: Update comment on interfaces without
8008         ulps tabulated.
8009         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
8010         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
8011         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
8012         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
8013         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
8014         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
8015         * sysdeps/nacl/libm.abilist: Update.
8016         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8017         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8018         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8019         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8020         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8021         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8022         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8023         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8024         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8025         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8026         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8027         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8029         Likewise.
8030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8031         Likewise.
8032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8033         Likewise.
8034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8035         Likewise.
8036         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8037         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8038         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8039         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8040         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8042         Likewise.
8043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8044         Likewise.
8045         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8046         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8047         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8049 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8051         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
8052         tst-fallocate{64}.
8053         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
8054         on syscall return.
8056 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
8058         [BZ #20689]
8059         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
8060         usable.
8062 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
8064         * sysdeps/generic/nan-high-order-bit.h: New file.
8065         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
8066         * sysdeps/mips/nan-high-order-bit.h: Likewise.
8067         * sysdeps/hppa/math_private.h: Remove file.
8068         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
8069         not define here.
8070         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
8071         <nan-high-order-bit.h>.
8072         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8073         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
8074         <nan-high-order-bit.h>.
8075         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8076         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
8077         <nan-high-order-bit.h>.
8078         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8079         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
8080         <nan-high-order-bit.h>.
8081         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8082         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
8083         <nan-high-order-bit.h>.
8084         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8085         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
8086         <nan-high-order-bit.h>.
8087         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8088         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
8089         <nan-high-order-bit.h>.
8090         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8091         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
8092         <nan-high-order-bit.h>.
8093         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8094         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
8095         <nan-high-order-bit.h>.
8096         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8097         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
8098         <nan-high-order-bit.h>.
8099         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8100         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
8101         <nan-high-order-bit.h>.
8102         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8103         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
8104         <nan-high-order-bit.h>.
8105         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8106         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
8107         <nan-high-order-bit.h>.
8108         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8109         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
8110         <nan-high-order-bit.h>.
8111         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8112         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
8113         <nan-high-order-bit.h>.
8114         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8115         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
8116         <nan-high-order-bit.h>.
8117         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8118         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
8119         <nan-high-order-bit.h>.
8120         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8121         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
8122         <nan-high-order-bit.h>.
8123         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
8125 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8127         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
8129 2016-09-22  John David Anglin  <dave.anglin@bell.net>
8131         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
8132         abort-instr.h.
8133         (EFAULT): Remove conditional define.
8134         (ENOSYS): Likewise.
8135         (atomic_compare_and_exchange_val_acq): Use instruction nullification
8136         instead of conditional branch instructions.
8138 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
8140         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8141         (totalordermag): New declaration.
8142         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
8143         New macro.
8144         * math/Versions (totalordermag): New libm symbol at version
8145         GLIBC_2.25.
8146         (totalordermagf): Likewise.
8147         (totalordermagl): Likewise.
8148         * math/Makefile (libm-calls): Add s_totalordermagF.
8149         * math/libm-test.inc (totalordermag_test_data): New array.
8150         (totalordermag_test): New function.
8151         (main): Call totalordermag_test.
8152         * math/test-tgmath.c (NCALLS): Increase to 125.
8153         (F(compile_test)): Call totalordermag.
8154         (F(totalordermag)): New function.
8155         * manual/arith.texi (FP Comparison Functions): Document
8156         totalordermag, totalordermagf and totalordermagl.
8157         * manual/libm-err-tab.pl: Update comment on interfaces without
8158         ulps tabulated.
8159         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
8160         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
8161         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
8162         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
8163         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
8164         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
8165         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
8166         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8167         totalordermag.
8168         (CFLAGS-nldbl-totalordermag.c): New variable.
8169         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
8170         (do_test): Also test totalordermagl.
8171         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
8172         Likewise.
8173         * sysdeps/nacl/libm.abilist: Update.
8174         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8175         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8176         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8177         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8178         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8179         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8180         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8181         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8182         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8183         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8184         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8185         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8187         Likewise.
8188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8189         Likewise.
8190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8191         Likewise.
8192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8193         Likewise.
8194         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8195         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8196         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8197         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8198         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8200         Likewise.
8201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8202         Likewise.
8203         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8204         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8205         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8207 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
8209         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
8210         boolean.
8212 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
8214         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
8215         raising FE_INVALID with feraisexcept in case where part of
8216         argument is infinite, subtract that part of argument from itself.
8217         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
8218         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
8219         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8221 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8223         * math/libm-test.inc (totalorder_test_data): Add more tests.
8225 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
8227         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
8228         Undefine weak_alias and add a comment why mips64 require
8229         versioning.
8231 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
8233         [BZ #20647]
8234         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
8235         maximum CPUID level is less than 2.
8237 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
8239         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8240         (totalorder): New declaration.
8241         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
8242         New macro.
8243         * math/Versions (totalorder): New libm symbol at version
8244         GLIBC_2.25.
8245         (totalorderf): Likewise.
8246         (totalorderl): Likewise.
8247         * math/Makefile (libm-calls): Add s_totalorderF.
8248         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
8249         string.
8250         * math/libm-test.inc (PAYLOAD_DIG): New macro.
8251         (qnan_value_pl): Likewise.
8252         (snan_value_pl): Likewise.
8253         (qnan_value): Define using qnan_value_pl.
8254         (snan_value): Define using snan_value_pl.
8255         (struct test_ff_i_data): Add comment about which tests use this
8256         structure.
8257         (RUN_TEST_ff_b): New macro.
8258         (RUN_TEST_LOOP_ff_b): Likewise.
8259         (totalorder_test_data): New array.
8260         (totalorder_test): New function.
8261         (main): Call totalorder_test.
8262         * math/test-tgmath.c (NCALLS): Increase to 122.
8263         (F(compile_test)): Call totalorder.
8264         (F(totalorder)): New function.
8265         * manual/arith.texi (FP Comparison Functions): Document
8266         totalorder, totalorderf and totalorderl.
8267         * manual/libm-err-tab.pl: Update comment on interfaces without
8268         ulps tabulated.
8269         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
8270         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
8271         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
8272         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
8273         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
8274         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
8275         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
8276         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8277         totalorder.
8278         (CFLAGS-nldbl-totalorder.c): New variable.
8279         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
8280         file.
8281         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
8282         Add test-totalorderl-ldbl-128ibm.
8283         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
8284         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
8285         test-totalorderl-ldbl-96.
8286         * sysdeps/nacl/libm.abilist: Update.
8287         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8288         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8289         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8290         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8291         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8292         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8293         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8294         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8295         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8296         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8297         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8298         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8300         Likewise.
8301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8302         Likewise.
8303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8304         Likewise.
8305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8306         Likewise.
8307         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8308         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8309         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8310         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8311         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8313         Likewise.
8314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8315         Likewise.
8316         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8317         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8318         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8320 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8322         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
8323         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
8324         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
8325         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
8326         remove ENOSYS implementation.
8327         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
8328         Consolidate all Linux implementations.
8330 2016-10-11  Florian Weimer  <fweimer@redhat.com>
8332         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
8333         * resolv/herror.c (herror): Cast away const-ness.
8334         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
8335         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
8337 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
8339         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
8340         instead of M_NAN + M_NAN.
8341         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
8343 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8345         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
8346         unused variable 'p'.
8348 2016-10-09  Alan Modra  <amodra@gmail.com>
8349             Andreas Schwab  <schwab@linux-m68k.org>
8351         [BZ #20554]
8352         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
8353         [PIC && !SHARED]: Set up PIC register for PLT call.
8355 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
8357         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
8358         conditional on value of [__FLT_EVAL_METHOD__].
8359         * math/test-iseqsig-excess-precision.c: New file.
8360         * math/Makefile (tests): Add test-iseqsig-excess-precision.
8362 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8364         * math/s_iseqsig_template.c: Include math-private.h.
8366         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
8367         * posix/tst-posix_fadvise.c: New file.
8368         * posix/tst-posix_fadvise64.c: Likewise.
8369         * posix/tst-posix_fadvise-common.c: Likewise.
8370         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8371         (__ASSUME_FADVISE64_64_6ARG): Define.
8372         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8373         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
8374         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8375         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
8376         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
8377         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
8378         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
8379         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
8380         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
8381         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
8382         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
8383         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
8384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
8385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
8386         Likewise.
8387         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
8388         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
8389         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
8390         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8391         Alias to __posix_fadvise64_l32.
8392         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
8393         Add compat definition to posix_fadvise64.
8394         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
8395         Add versioned definition to posix_fadvise64.
8396         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
8397         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
8398         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
8399         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
8400         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
8402         * io/Makefile (tests): Add tst-posix_fallocate and
8403         tst-posix_fallocate64.
8404         * io/tst-posix_fallocate-common.c: New file.
8405         * io/tst-posix_fallocate.c: Likewise.
8406         * io/tst-posix_fallocate64.c: Likewise.
8407         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
8408         file.
8409         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
8410         Likewise.
8411         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
8412         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
8413         Likewise.
8414         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
8415         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
8416         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
8417         SYSCALL_LL to pass both offset and len arguments.
8418         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
8419         Likewise.
8420         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
8421         __libc_pwrite64 alias used by posix_fallocate64.
8423         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8424         tst-fallocate64.
8425         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8426         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8427         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8428         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8429         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8430         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8431         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8432         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8433         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8434         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8435         macro on offset argument.
8436         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8437         SYSCALL_LL64 on offset argument.
8439         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
8440         tst-fallocate64.
8441         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
8442         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
8443         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
8444         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
8445         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
8446         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
8447         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
8448         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
8449         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
8450         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
8451         macro on offset argument.
8452         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
8453         SYSCALL_LL64 on offset argument.
8454         * test-skeleton.c (FAIL_RET): Add macro.
8455         (FAIL_EXIT): Likewise.
8456         (FAIL_EXIT1): Likewise.
8457         (_FAIL): Likewise.
8459 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8461         [BZ #20629]
8462         resolv: Remove RES_USEBSTRING and its implementation.
8463         * resolv/resolv.h (RES_USEBSTRING): Remove.
8464         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
8465         (digitvalue, encode_bitstring, decode_bitstring): Remove.
8466         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
8467         (labellen): Remove extended label types support.
8468         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
8469         * resolv/res_init.c (res_setoptions): Likewise.
8470         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8472 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8474         resolv: Remove RES_NOIP6DOTINT and its implementation.
8475         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
8476         (RES_NOIP6DOTINT): Remove.
8477         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
8478         handling.
8479         * resolv/res_debug.c (p_option): Likewise.
8480         * resolv/res_init.c (res_setoptions): Likewise.
8481         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
8483 2016-10-07  Florian Weimer  <fweimer@redhat.com>
8485         resolv: Deprecate unimplemented flags.
8486         * misc/sys/cdefs.h (__glibc_macro_warning1)
8487         (__glibc_macro_warning): Define.
8488         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
8489         (RES_KEEPTSIG): Mark as deprecated.
8490         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
8491         RES_NOCHECKNAME, RES_KEEPTSIG.
8492         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
8494 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8496         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
8497         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
8498         Use strong_alias to create symbols for glibc verison 2.19.
8500 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8502         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
8504 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8506         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
8508 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8510         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
8512 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8514         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8515         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
8516         in header for using it as type for ifunc function because __GI_* symbols
8517         for ppc32 do not target the ifunc symbols.
8518         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8520 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8522         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
8523         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
8524         libc_ifunc_hidden_def.
8525         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
8526         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
8527         Redirect ifunced function in header for using it as type of ifunc'ed
8528         function. Redefine libc_hidden_def to use fallback non ifunc'ed
8529         function for __GI_* symbol.
8530         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
8531         * include/libc-symbols.h
8532         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
8534 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8536         [BZ #20478]
8537         * sysdeps/s390/multiarch/ifunc-resolve.h
8538         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
8539         to create ifunc symbols.
8540         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
8541         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
8542         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
8543         for using it as type for ifunc function.
8544         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8545         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
8546         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
8547         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
8548         * sysdeps/s390/multiarch/strcat.c: Likewise.
8549         * sysdeps/s390/multiarch/strchr.c: Likewise.
8550         * sysdeps/s390/multiarch/strcmp.c: Likewise.
8551         * sysdeps/s390/multiarch/strcpy.c: Likewise.
8552         * sysdeps/s390/multiarch/strcspn.c: Likewise.
8553         * sysdeps/s390/multiarch/strlen.c: Likewise.
8554         * sysdeps/s390/multiarch/strncmp.c: Likewise.
8555         * sysdeps/s390/multiarch/strncpy.c: Likewise.
8556         * sysdeps/s390/multiarch/strnlen.c: Likewise.
8557         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
8558         * sysdeps/s390/multiarch/strrchr.c: Likewise.
8559         * sysdeps/s390/multiarch/strspn.c: Likewise.
8560         * sysdeps/s390/multiarch/wcschr.c: Likewise.
8561         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
8562         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
8563         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
8564         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
8565         * sysdeps/s390/multiarch/wmemset.c: Likewise.
8566         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8567         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
8568         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
8569         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8570         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
8571         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
8573 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8575         * include/libc-symbols.h (__ifunc_resolver):
8576         New macro is used by __ifunc* macros.
8577         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
8578         depending on HAVE_GCC_IFUNC.
8579         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
8580         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
8581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8582         Redirect ifunced function in header for using as type for ifunc function.
8583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
8584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
8585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
8586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
8587         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
8588         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
8589         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
8590         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
8591         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
8592         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
8593         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
8594         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
8595         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
8596         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
8597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
8599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
8601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8602         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
8603         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
8604         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
8605         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
8606         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
8607         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
8608         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
8609         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
8610         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
8611         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
8612         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
8613         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
8614         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
8615         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
8616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
8617         Add libc_hidden_def() and use libc_ifunc_hidden() macro
8618         instead of libc_ifunc() macro.
8619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
8620         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
8622 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
8624         * config.h.in (HAVE_GCC_IFUNC): New undef.
8625         * configure.ac: Add check if gcc supports attribute ifunc feature.
8626         * configure: Regenerated.
8627         * manual/install.texi: Add recommendation for gcc with
8628         indirect-function support.
8629         * INSTALL: Regenerated.
8631 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
8633         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
8634         macro.
8635         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8636         (__iseqsig): New declaration.
8637         * math/s_iseqsig_template.c: New file.
8638         * math/Versions (__iseqsigf): New libm symbol at version
8639         GLIBC_2.25.
8640         (__iseqsig): Likewise.
8641         (__iseqsigl): Likewise.
8642         * math/libm-test.inc (iseqsig_test_data): New array.
8643         (iseqsig_test): New function.
8644         (main): Call iseqsig_test.
8645         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
8646         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
8647         * manual/libm-err-tab.pl: Update comment on interfaces without
8648         ulps tabulated.
8649         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
8650         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
8651         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
8652         * sysdeps/nacl/libm.abilist: Update.
8653         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8654         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8655         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8656         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8657         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8658         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8659         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8660         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8661         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8662         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8663         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8664         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8666         Likewise.
8667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8668         Likewise.
8669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8670         Likewise.
8671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8672         Likewise.
8673         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8674         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8675         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8676         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8677         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8679         Likewise.
8680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8681         Likewise.
8682         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8683         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8684         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8686 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8688         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
8689         do_sincos_2, sloww, sloww1): Update comments.
8691         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
8692         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
8694         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
8695         K boolean and rename it.
8696         (__sin): Adjust.
8697         (__cos): Adjust.
8699 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8700             Siddhesh Poyarekar  <siddhesh@sourceware.org>
8702         * manual/nss.texi: Fix typos in the manual.
8704 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
8706         * manual/contrib.texi: Fix typos in the manual.
8708         * manual/maint.texi: Fix typos in the manual.
8710         * manual/install.texi: Fix typos in the manual.
8711         * INSTALL: Regenerated.
8713         * manual/lang.texi: Fix typos in the manual.
8715         * manual/probes.texi: Fix typos in the manual.
8717         * manual/threads.texi: Fix typos in the manual.
8719         * manual/debug.texi: Fix typos in the manual.
8721         * manual/crypt.texi: Fix typos in the manual.
8723         * manual/conf.texi: Fix typos in the manual.
8725         * manual/sysinfo.texi: Fix typos in the manual.
8727         * manual/users.texi: Fix typos in the manual.
8729         * manual/job.texi: Fix typos in the manual.
8731         * manual/process.texi: Fix typos in the manual.
8733         * manual/argp.texi: Fix typos in the manual.
8734         * manual/getopt.texi: Likewise.
8735         * manual/startup.texi: Likewise.
8737         * manual/signal.texi: Fix typos in the manual.
8739         * manual/setjmp.texi: Fix typos in the manual.
8741         * manual/resource.texi: Fix typos in the manual.
8743         * manual/time.texi: Fix typos in the manual.
8745         * manual/arith.texi: Fix typos in the manual.
8747         * manual/math.texi: Fix typos in the manual.
8749         * manual/syslog.texi: Fix typos in the manual.
8751         * manual/terminal.texi: Fix typos in the manual.
8753         * manual/socket.texi: Fix typos in the manual.
8755         * manual/filesys.texi: Fix typos in the manual.
8757         * manual/llio.texi: Fix typos in the manual.
8759         * manual/stdio.text: Fix typos in the manual.
8761 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8763         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
8764         instead of K1.
8766         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
8767         SHIFT_QUADRANT and make it bool.
8768         (do_sincos_2): Likewise.
8769         (sloww): Likewise.
8770         (sloww1): Likewise.
8771         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
8772         (__cos): Likewise.
8774 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8776         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8778 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
8780         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
8781         Define to __WORDSIZE, not conditional on [LONG_MAX ==
8782         0x7fffffffL].
8783         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
8785 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8787         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
8788         inline by __inline__.
8789         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
8790         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
8791         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
8792         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
8793         sigset_t from signal.h.
8794         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
8795         which is already required.
8797 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
8799         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8801 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
8803         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
8804         (struct tcp_repair_window): New type.
8806 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8808         * libio/tst-memstream3.c: Include string.h.
8810 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8812         [BZ #18241]
8813         [BZ #20181]
8814         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
8815         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
8816         write position is at the end the buffer.
8817         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
8818         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
8819         (_IO_str_seekoff): Set correct offset from negative displacement and
8820         set EINVAL for invalid ones.
8821         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
8822         buffer length.
8823         (_IO_wstr_switch_to_get_mode): New function.
8824         (_IO_wstr_seekoff): Set correct offset from negative displacement and
8825         set EINVAL for invalid ones.
8826         * libio/tst-memstream3.c: New file.
8827         * libio/tst-wmemstream3.c: Likewise.
8828         * manual/examples/memstrm.c: Remove warning when priting size_t.
8830 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8832         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
8833         macro to use __builtin_fma.
8834         * sysdeps/x86_64/fpu/dla.h: Remove file.
8836         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8837         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
8838         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
8840 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
8842         [BZ #20292]
8843         * elf/Makefile (routines): Add dl-addr-obj.
8844         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
8845         tst-_dl_addr_inside_object.
8846         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
8847         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8848         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
8849         [ifeq (yesyes,$(have-fpie)$(build-shared))]
8850         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
8851         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
8852         * elf/dl-open.c: Likewise.
8853         * elf/dl-addr-obj.c: New file.
8854         * elf/tst-_dl_addr_inside_object.c: New file.
8856 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
8858         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
8859         <bits/iscanonical.h>.
8860         * bits/iscanonical.h: New file.
8861         * math/s_iscanonicall.c: Likewise.
8862         * math/Versions (__iscanonicall): New libm symbol at version
8863         GLIBC_2.25.
8864         * math/libm-test.inc (iscanonical_test_data): New array.
8865         (iscanonical_test): New function.
8866         (main): Call iscanonical_test.
8867         * math/Makefile (headers): Add bits/iscanonical.h.
8868         (type-ldouble-routines): Add s_iscanonicall.
8869         * manual/arith.texi (Floating Point Classes): Document
8870         iscanonical.
8871         * manual/libm-err-tab.pl: Update comment on interfaces without
8872         ulps tabulated.
8873         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
8874         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
8875         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
8876         Likewise.
8877         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
8878         test-iscanonical-ldbl-128ibm.
8879         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
8880         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
8881         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
8882         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
8883         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
8884         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8885         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8887         Likewise.
8888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8889         Likewise.
8890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8891         Likewise.
8892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8893         Likewise.
8894         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8895         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8897 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8899         * string/bits/string3.h: Remove C++ style comments.
8901 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8903         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
8904         instead of ternary condition.
8905         (do_sincos_2): Likewise.
8906         (__sin): Likewise.
8907         (__cos): Likewise.
8908         (slow): Likewise.
8909         (sloww): Likewise.
8910         (sloww1): Likewise.
8911         (bsloww): Likewise.
8912         (bsloww1): Likewise.
8914         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
8915         instead of ternary condition.
8916         (do_sin_slow): Likewise.
8917         (do_sincos_1): Likewise.
8918         (do_sincos_2): Likewise.
8919         (__cos): Likewise.
8920         (sloww): Likewise.
8921         (sloww1): Likewise.
8922         (sloww2): Likewise.
8923         (bsloww): Likewise.
8924         (bsloww1): Likewise.
8925         (bsloww2): Likewise.
8927         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
8928         check from here...
8929         (slow2): ... and here...
8930         (__sin): ... to here.
8932 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
8934         * math/math.h
8935         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
8936         Cast argument to its own type.
8937         * math/test-iszero-excess-precision.c: New file.
8938         * math/Makefile (tests): Add test-iszero-excess-precision.
8939         (CFLAGS-test-iszero-excess-precision.c): New variable.
8941 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
8943         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
8944         field, add err field.
8945         (__spawni_child): Report error through err member instead of pipe.
8946         (__spawnix): Likewise.
8948 2016-09-28  Zack Weinberg  <zackw@panix.com>
8950         * scripts/check-installed-headers.sh: Generalize treatment of
8951         sys/elf.h to all target architectures.
8953         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
8954         deleted typedef ucontext_t.
8956 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8958         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
8959         (__INTERNAL_SYSCALL1): Likewise.
8960         (__INTERNAL_SYSCALL2): Likewise.
8961         (__INTERNAL_SYSCALL3): Likewise.
8962         (__INTERNAL_SYSCALL4): Likewise.
8963         (__INTERNAL_SYSCALL5): Likewise.
8964         (__INTERNAL_SYSCALL6): Likewise.
8965         (__INTERNAL_SYSCALL7): Likewise.
8966         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
8967         (__INTERNAL_SYSCALL_NARGS): Likewise.
8968         (__INTERNAL_SYSCALL_DISP): Likewise.
8969         (INTERNAL_SYSCALL_CALL): Likewise.
8970         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
8971         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
8972         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
8973         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
8974         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
8975         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
8976         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
8977         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
8978         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
8979         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
8980         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
8981         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
8982         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
8984 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
8986         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
8987         macro.
8988         * math/libm-test.inc (iszero_test_data): New array.
8989         (iszero_test): New function.
8990         (main): Call iszero_test.
8991         * manual/arith.texi (Floating Point Classes): Document iszero.
8992         * manual/libm-err-tab.pl: Update comment on interfaces without
8993         ulps tabulated.
8995 2016-09-23  Zack Weinberg  <zackw@panix.com>
8997         * scripts/check-installed-headers.sh: New script.
8998         * Rules: In each directory that defines header files to be installed,
8999         run check-installed-headers.sh on them as a special test.
9000         * Makefile: Likewise for the headers installed at top level.
9002         * include/aliases.h, include/alloca.h, include/argz.h
9003         * include/arpa/nameser.h, include/arpa/nameser_compat.h
9004         * include/elf.h, include/envz.h, include/err.h
9005         * include/execinfo.h, include/fpu_control.h, include/getopt.h
9006         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
9007         * include/link.h, include/malloc.h, include/mcheck.h
9008         * include/mntent.h, include/netinet/ether.h
9009         * include/nss.h, include/obstack.h, include/printf.h
9010         * include/pty.h, include/resolv.h, include/rpc/auth.h
9011         * include/rpc/auth_des.h, include/rpc/auth_unix.h
9012         * include/rpc/clnt.h, include/rpc/des_crypt.h
9013         * include/rpc/key_prot.h, include/rpc/netdb.h
9014         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
9015         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
9016         * include/rpc/rpc_msg.h, include/rpc/svc.h
9017         * include/rpc/svc_auth.h, include/rpc/xdr.h
9018         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
9019         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
9020         * include/rpcsvc/ypupd.h, include/shadow.h
9021         * include/stdio_ext.h, include/sys/epoll.h
9022         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
9023         * include/sys/prctl.h, include/sys/profil.h
9024         * include/sys/statfs.h, include/sys/sysctl.h
9025         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
9026         * sysdeps/arm/nacl/include/bits/setjmp.h
9027         * sysdeps/mips/include/sys/asm.h
9028         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
9029         * sysdeps/unix/sysv/linux/include/sys/timex.h
9030         * sysdeps/x86/fpu/include/bits/fenv.h:
9031         Add #ifndef _ISOMAC guard around internal declarations.
9032         Add multiple-inclusion guard if not already present.
9034 2016-09-23  Zack Weinberg  <zackw@panix.com>
9036         * sysdeps/generic/sys/ucontext.h
9037         * sysdeps/arm/sys/ucontext.h
9038         * sysdeps/i386/sys/ucontext.h
9039         * sysdeps/m68k/sys/ucontext.h
9040         * sysdeps/mips/sys/ucontext.h
9041         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
9042         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
9043         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
9044         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
9045         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
9046         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
9047         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
9048         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
9049         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
9050         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
9051         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
9052         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
9053         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
9054         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
9055         Include both bits/sigcontext.h and bits/sigstack.h.
9056         Fix grammar error in comment, if present.
9058         * bits/sigstack.h
9059         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
9060         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
9061         * sysdeps/unix/sysv/linux/bits/sigstack.h
9062         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
9063         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
9064         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
9065         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
9066         * bits/sigcontext.h
9067         * sysdeps/mach/hurd/i386/bits/sigcontext.h
9068         * sysdeps/unix/sysv/linux/bits/sigcontext.h
9069         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
9070         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
9071         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
9072         as well as signal.h, if this was not already allowed.  Request
9073         definition of size_t if necessary.  Minimize semantically-null
9074         differences across files.
9076 2016-09-23  Zack Weinberg  <zackw@panix.com>
9078         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
9079         Remove all logic conditional on __need macros.  Move all the
9080         conditionally defined types to their own headers...
9081         * time/bits/types/clock_t.h: Define clock_t here.
9082         * time/bits/types/clockid_t.h: Define clockid_t here.
9083         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
9084         * time/bits/types/struct_timespec.h: Define struct timespec here.
9085         * time/bits/types/struct_timeval.h: Define struct timeval here.
9086         * time/bits/types/struct_tm.h: Define struct tm here.
9087         * time/bits/types/time_t.h: Define time_t here.
9088         * time/bits/types/timer_t.h: Define timer_t here.
9089         * time/Makefile: Install the new headers.
9091         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
9092         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
9093         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
9094         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
9095         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
9096         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
9097         * sysdeps/unix/sysv/linux/bits/resource.h
9098         * sysdeps/unix/sysv/linux/bits/timex.h
9099         * sysdeps/unix/sysv/linux/mips/bits/resource.h
9100         * sysdeps/unix/sysv/linux/net/ppp_defs.h
9101         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
9102         * sysdeps/unix/sysv/linux/sys/acct.h
9103         * sysdeps/unix/sysv/linux/sys/timerfd.h
9104         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
9105         * time/sys/time.h, time/sys/timeb.h
9106         Use the new bits/types headers.
9108         * include/time.h: Remove __need logic.
9109         * include/bits/time.h
9110         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
9111         * include/bits/types/time_t.h, include/bits/types/timer_t.h
9112         * include/bits/types/struct_itimerspec.h
9113         * include/bits/types/struct_timespec.h
9114         * include/bits/types/struct_timeval.h
9115         * include/bits/types/struct_tm.h:
9116         New wrapper headers.
9118 2016-09-23  Zack Weinberg  <zackw@panix.com>
9120         * sysdeps/mach/hurd/net/if_ppp.h
9121         * sysdeps/unix/sysv/linux/net/if_ppp.h:
9122         Only define struct ifpppstatsreq and struct ifpppcstatsreq
9123         if __USE_MISC is defined, to ensure struct ifreq is declared.
9125         * inet/netinet/ether.h: Condition all function prototypes
9126         on __USE_MISC, to ensure struct ether_addr is declared.
9128         * socket/bits/types/struct_osockaddr.h: New header.
9129         * include/bits/types/struct_osockaddr.h: New wrapper.
9130         * socket/Makefile: Install the new header.
9131         * socket/sys/socket.h, inet/protocols/talkd.h:
9132         Refer to bits/types/struct_osockaddr.h for the definition of
9133         struct osockaddr.
9135 2016-09-23  Zack Weinberg  <zackw@panix.com>
9137         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
9138         * inet/protocols/routed.h, inet/protocols/talkd.h
9139         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
9140         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
9141         * sysdeps/generic/netinet/if_ether.h
9142         * sysdeps/generic/netinet/in_systm.h
9143         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
9144         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9145         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
9146         * sysdeps/mach/hurd/net/if_arp.h
9147         * sysdeps/mach/hurd/net/if_ppp.h
9148         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
9149         * sysdeps/unix/sysv/linux/bits/in.h
9150         * sysdeps/unix/sysv/linux/net/ethernet.h
9151         * sysdeps/unix/sysv/linux/net/if_arp.h
9152         * sysdeps/unix/sysv/linux/net/if_ppp.h
9153         * sysdeps/unix/sysv/linux/net/if_shaper.h
9154         * sysdeps/unix/sysv/linux/net/route.h
9155         * sysdeps/unix/sysv/linux/netinet/if_ether.h
9156         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9157         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9158         * sysdeps/unix/sysv/linux/netipx/ipx.h
9159         * sysdeps/unix/sysv/linux/sys/acct.h
9160         * include/arpa/nameser.h, include/resolv.h:
9161         Change all uses of u_char to unsigned char,
9162         u_short and ushort to unsigned short, u_int and uint to unsigned int,
9163         u_long and ulong to unsigned long, u_int8_t to uint8_t,
9164         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
9165         and u_int64_t and u_quad_t to uint64_t.
9167         * mach/sys/reboot.h: Remove two casts of integer literals
9168         to the types they already have.
9170         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
9171         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
9172         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
9173         from referring to 'unsigned char' to 'uint8_t' for consistency with
9174         the macro definition below.
9176         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
9177         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
9178         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
9179         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
9180         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
9181         * sysdeps/unix/sysv/linux/sys/acct.h
9182         * include/arpa/nameser.h, include/resolv.h:
9183         Fix indentation disrupted by mechanical edits.
9185         * inet/protocols/talkd.h, resolv/arpa/nameser.h
9186         * sysdeps/generic/netinet/in_systm.h
9187         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
9188         * sysdeps/gnu/netinet/udp.h
9189         * sysdeps/unix/sysv/linux/net/ethernet.h
9190         * sysdeps/unix/sysv/linux/net/if_arp.h
9191         * sysdeps/unix/sysv/linux/net/if_ppp.h
9192         * sysdeps/unix/sysv/linux/net/if_shaper.h
9193         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
9194         * sysdeps/unix/sysv/linux/netinet/if_tr.h
9195         * sysdeps/unix/sysv/linux/netipx/ipx.h
9196         * sysdeps/unix/sysv/linux/sys/acct.h
9197         Include stdint.h for uintNN_t definitions.
9198         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
9200 2016-09-23  Zack Weinberg  <zackw@panix.com>
9202         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
9203         * sysdeps/unix/sysv/linux/netrose/rose.h:
9204         Include sys/socket.h and netax25/ax25.h.
9206         * inet/netinet/icmp6.h, inet/netinet/ip6.h
9207         * resolv/arpa/nameser_compat.h:
9208         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
9210         * sysdeps/unix/sysv/linux/sys/quota.h:
9211         Use __caddr_t instead of caddr_t.
9212         * sysdeps/unix/sysv/linux/sys/timerfd.h:
9213         Use __clockid_t instead of clockid_t.
9215         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
9217         * argp/argp.h: Check whether _LIBC is defined before expanding it.
9218         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
9219         expanding it.
9221         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
9222         Define __glibc_c99_flexarr_available to 1 when the compiler
9223         supports C99-compatible flexible array members, 0 otherwise.
9224         * sysdeps/unix/sysv/linux/bits/socket.h
9225         * sysdeps/mach/hurd/bits/socket.h
9226         * bits/socket.h: Use __glibc_c99_flexarr_available in
9227         definitions of struct cmsghdr and CMSG_DATA.
9229 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9231         * manual/nss.texi (NSS Modules Interface): Adjust function return
9232         type to enum nss_status.  Document errnop argument.  Clarify
9233         h_errnop semantics.  Fix cross-reference formatting.
9234         (NSS Module Function Internals): Mention that *errnop needs to be
9235         set on failure, but not to zero.
9237 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9239         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
9240         (get_random_name): New functions.
9241         (check_wrapper_flags_mode): Use linkat to give the new file a name
9242         determined by get_random_name.
9243         (do_test): Add calls to test open64 and openat64.
9245 2016-09-23  Florian Weimer  <fweimer@redhat.com>
9247         * test-skeleton.c: Remove #include <stdarg.h>.
9249 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
9251         [BZ #19826]
9252         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
9253         initialization of static TLS entries.
9254         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
9255         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9257 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9259         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
9260         _hurd_malloc_fork_prepare.
9261         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
9262         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
9263         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
9264         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
9265         (_hurd_fork_child_hook): Drop malloc_fork_child.
9266         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
9267         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
9268         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
9269         after locking locks (notably hurd_dtable_lock). Call
9270         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
9271         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
9272         __malloc_fork_unlock_child.
9273         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
9275 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
9277         * soft-fp/extendhftf2.c: New.
9278         * soft-fp/fixhfti.c: Likewise.
9279         * soft-fp/fixunshfti.c: Likewise.
9280         * soft-fp/floattihf.c: Likewise.
9281         * soft-fp/floatuntihf.c: Likewise.
9282         * soft-fp/half.h: Likewise.
9283         * soft-fp/trunctfhf2.c: Likewise.
9285 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
9287         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
9288         macro.
9289         * math/libm-test.inc (issubnormal_test_data): New array.
9290         (issubnormal_test): New function.
9291         * manual/arith.texi (Floating Point Classes): Document
9292         issubnormal.
9293         * manual/libm-err-tab.pl: Update comment on interfaces without
9294         ulps tabulated.
9296         * sysdeps/generic/stdint.h: Define
9297         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9298         <bits/libc-header-start.h> instead of including <features.h>.
9299         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
9300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
9301         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
9302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
9303         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
9304         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
9305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
9306         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
9307         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
9308         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
9309         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
9310         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
9311         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
9312         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
9313         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
9314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
9315         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
9316         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
9317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
9318         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
9319         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
9320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
9321         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
9322         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
9323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
9324         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
9325         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
9326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
9327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
9328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
9329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
9330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
9331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
9332         * manual/arith.texi (Integers): Document these macros for types
9333         specified by width properties.
9334         * manual/lang.texi (Width of Type): Document these macros for
9335         other standard typedefs.
9336         * stdlib/tst-width-stdint.c: New file.
9337         * stdlib/Makefile (tests): Add tst-width-stdint.
9339 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9341         [BZ #20016]
9342         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
9343         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
9344         Move ...
9345         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
9346         ... here, as compatibility symbols in a new file.
9347         * resolv/Makefile (libresolv-routines): Add compat-hooks.
9348         * resolv/res_init.c (__res_vinit): Adjust member names.
9349         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
9350         * resolv/resolv.h (res_sendhookact, res_send_qhook)
9351         (res_send_rhook): Remove.
9352         (struct __res_state): Rename qhook, rhook members.
9354 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9356         malloc: Use __libc_lock wrappers.
9357         * malloc/arena.c (list_lock, free_list_lock): Define using
9358         __libc_lock_define_initialized.
9359         (arena_lock): Adjust formatting.
9360         * malloc/malloc.c (struct malloc_state): Define mutex using
9361         __libc_lock_define.
9362         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
9363         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
9364         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
9365         (mutex_unlock, mutex_trylock): Remove.
9366         (__pthread_initialize): Remove unused macro.
9367         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
9368         (mutex_unlock, mutex_trylock): Remove.
9370 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9372         [BZ #20592]
9373         Remove RR type classification macros.
9374         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
9375         (ns_t_udp_p, ns_t_xfr_p): Remove.
9377 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9379         Remove misleading version information.
9380         * resolv/arpa/nameser.h (__NAMESER): Remove.
9381         * resolv/arpa/nameser_compat.h (__BIND): Remove.
9383 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9385         Remove the always-defined BIND_4_COMPAT macro.
9386         * resolv/arpa/nameser.h: Unconditionally include
9387         <arpa/nameser_compat.h>.
9388         (BIND_4_COMPAT): Remove.
9389         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
9391 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9393         [BZ #20591]
9394         Remove obsolete DNSSEC support.
9395         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
9396         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
9397         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
9398         (ns_verify_tcp, ns_verify_tcp_init): Remove.
9399         (ns_cert_types): Add comment.
9400         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
9401         separately.
9402         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
9403         (dst_s_dns_key_id): Remove.
9404         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
9405         variables.
9407 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9409         [BZ #20524]
9410         * manual/string.texi (String/Array Comparison): Clarify the
9411         strverscmp behavior.
9413 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9415         * test-skeleton.c (xasprintf): Add function.
9416         * io/tst-open-tmpfile.c: New test.
9417         * io/Makefile (tests): Add it.
9419 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9421         Avoid running $(CXX) during build to obtain header file paths.
9422         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
9423         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
9424         * Makerules (cstdlib, cmath): Remove variables.  Use
9425         $(c++-cstdlib-header), $(c++-cmath-header) instead.
9426         * configure: Regenerate.
9428 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9430         * Makeconfig (all-object-suffixes): Include .op only if
9431         $(build-profile).
9433 2016-09-21  Florian Weimer  <fweimer@redhat.com>
9435         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
9436         conditionals.  Do not define PATH_MAX.
9438 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9440         * posix/Makefile (tests): Add tst-spawn3.
9441         * posix/tst-spawn3.c: New file.
9442         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
9443         if it is already opened for open action.
9445         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
9446         all signals when executing the clone vfork child.
9447         (SIGALL_SET): Remove macro.
9449         * nptl/Makefile (tests): Add tst-exec5.
9450         * nptl/tst-exec5.c: New file.
9451         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
9452         asynchronous cancellation.
9454 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9456         * hurd/exc2signal.c: #include <hurd/signal.h>
9457         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
9458         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
9459         accordingly.
9460         * mach/mach_error.c (mach_error): Fix old-style function definition.
9461         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
9463 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9465         * math/Makefile (libm-calls): Remove s_nanF.
9466         (gen-libm-calls): Add s_nanF.
9468         * math/s_nan.c: Refactor into ...
9469         * math/s_nan_template.c: New file.
9471         * math/s_nanf.c: Removed.
9472         * math/s_nanl.c: Removed.
9473         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
9474         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
9476         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
9477         (LDOUBLE_nanl_libm_version): New macro.
9479         * sysdeps/generic/math-type-macros-double.h:
9480         (M_STRTO_NAN): New macro.
9481         * sysdeps/generic/math-type-macros-float.h: Likewise.
9482         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
9484         * sysdeps/generic/math-type-macros.h: Document
9485         M_STRTO_NAN.
9487 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9489         * math/s_nanf.c: Remove __nanf undef.
9490         * math/s_nan.c: Remove __nan undef.
9491         * math/s_nanl.c: Remove __nanl undef.
9493         * sysdeps/generic/math_private.h (__nan): Remove macro
9494         override.
9495         (__nanf): Likewise.
9496         (__nanl): Likewise.
9498 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9500         * math/Makefile (gen-all-calls): New variable.
9501         (generated): Replace gen-libm-calls with gen-all-calls.
9502         (gen-libm-templates.stmp): Likewise.  Also, ensure
9503         the output directory exists or is created and add
9504         dependency on the Makefile.
9505         (calls): Move s_ldexpF into gen-calls.
9506         (gen-calls): New variable.
9508         * math/s_ldexpf.c: Removed.
9509         * math/s_ldexpl.c: Removed.
9510         * math/s_ldexp.c: Refactored into ...
9511         * math/s_ldexp_template.c: New file.
9513         * sysdeps/generic/math-type-macros-double.h: Remove
9514         redundant fall-through definition of declare_mgen_alias.
9515         (declare_mgen_alias_2): New macro.
9517         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
9518         New macro for function aliased to two exported symbols.
9520         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
9521         new template file.
9522         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
9524 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9526         * Makeconfig (all-object-suffixes): Remove .og.
9527         * Makerules (elide-routines.og): Remove.
9528         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
9529         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
9530         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
9532 2016-09-20  Florian Weimer  <fweimer@redhat.com>
9534         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
9535         .os objects.
9537 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9539         [BZ #20615]
9540         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
9541         fpu directory by non-fpu.
9542         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
9543         on non-fpu directory from a fpu directory.
9545 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
9547         * include/limits.h: Define
9548         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
9549         <bits/libc-header-start.h> instead of including <features.h>.
9550         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
9551         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
9552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
9553         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
9554         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
9555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
9556         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
9557         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
9558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
9559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
9560         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
9561         * manual/lang.texi (Width of Type): Document these macros.
9562         * stdlib/tst-width.c: New file.
9563         * stdlib/Makefile (tests): Add tst-width.
9565 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9567         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
9568         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
9570 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9572         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
9573         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9574         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9576 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9578         [BZ #18243]
9579         * rt/Makefile (test): Add tst-shm-cancel.
9580         * rt/tst-shm-cancel.c: New file.
9581         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
9583         [BZ #18243]
9584         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
9585         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
9586         definition.
9587         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
9588         uncontended case.
9589         * nptl/sem_wait.c (__new_sem_wait): Likewise.
9590         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
9591         (tf): Fix check for uncontended case.
9592         (do_test): Likewise.
9593         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
9594         (tf): Fix check for uncontended case.
9595         (do_test): Likewise.
9596         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
9597         (tf): Fix check for uncontended case.
9598         (do_test): Likewise.
9599         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
9600         (tf): Fix check for uncontended case.
9601         (do_test): Likewise.
9603         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
9604         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
9606         [BZ #15765]
9607         * nptl/Makefile (tests): Add tst-sem16.
9608         * nptl/tst-sem16.c: New file.
9609         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
9611         * nptl/sem_open.c (sem_open): Init pad value to 0.
9612         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
9613         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
9615 2016-09-15  Florian Weimer  <fweimer@redhat.com>
9617         [BZ #20611]
9618         * inet/Makefile (routines): Add inet6_scopeid_pton.
9619         (tests): Add tst-inet6_scopeid_pton.
9620         * inet/inet6_scopeid_pton.c: New file.
9621         * inet/net-internal.h: Likewise.
9622         * inet/tst-inet6_scopeid_pton.c: New test.
9623         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
9624         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
9625         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9627 2016-09-14  Florian Weimer  <fweimer@redhat.com>
9629         Remove support for compiling wrappers with PTW.
9630         * sysdeps/nptl/Makeconfig: Drop ptw- support.
9631         * nptl/Makefile (pthread-compat-wrappers): Define.
9632         (libpthread-routines): Use pthread-compat-wrappers.
9633         * sysdeps/unix/sysv/linux/alpha/Makefile
9634         (libpthread-routines, libpthread-shared-only-routines): Remove
9635         ptw- prefix.
9636         * sysdeps/s390/nptl/Makefile
9637         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9638         * sysdeps/ia64/nptl/Makefile
9639         (libpthread-routines, libpthread-shared-only-routines): Likewise.
9640         * sysdeps/nacl/Makefile (libpthread-routines): Use
9641         pthread-compat-wrappers to filter the routines list instead of the
9642         ptw- prefix.
9644 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9646         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
9647         with L() and remove explicit suffix, convert real literals
9648         which can be equivalentally substituted with integers, and
9649         transform -L(x) to L(-x).
9651         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9652         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9653         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9654         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9655         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9656         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
9657         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9658         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9659         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9660         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9661         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9662         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9663         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9664         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9665         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9666         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9667         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9668         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9669         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9670         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9671         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
9672         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
9673         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
9674         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9675         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9676         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9677         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9678         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
9679         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9680         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9681         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9682         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9683         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9684         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9685         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9686         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9687         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9688         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9689         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9690         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9691         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9692         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9693         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9694         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
9695         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9696         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9697         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9698         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
9699         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9700         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9702 2016-09-13  Florian Weimer  <fweimer@redhat.com>
9704         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
9706 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9708         * malloc/Makefile (tests): Remove individual static test names
9709         and just add all of tests-static.
9711         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
9713 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
9715         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
9716         file.
9718         * sysdeps/sparc/fpu/fegetmode.c: New file.
9719         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
9721         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
9722         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
9724         * sysdeps/s390/fpu/fegetmode.c: New file.
9725         * sysdeps/s390/fpu/fesetmode.c: Likewise.
9727         * sysdeps/powerpc/fpu/fegetmode.c: New file.
9728         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
9729         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
9730         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
9731         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
9732         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
9734         * sysdeps/mips/fpu/fegetmode.c: New file.
9735         * sysdeps/mips/fpu/fesetmode.c: Likewise.
9737         * sysdeps/m68k/fpu/fegetmode.c: New file.
9738         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
9740         * sysdeps/ia64/fpu/fegetmode.c: New file.
9741         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
9743         * sysdeps/hppa/fpu/fegetmode.c: New file.
9744         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
9746         * sysdeps/arm/fegetmode.c: New file.
9747         * sysdeps/arm/fesetmode.c: Likewise.
9749         * sysdeps/alpha/fpu/fegetmode.c: New file.
9750         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
9752         * sysdeps/aarch64/fpu/fegetmode.c: New file.
9753         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
9755         * math/fegetmode.c: New file.
9756         * math/fesetmode.c: Likewise.
9757         * sysdeps/i386/fpu/fegetmode.c: Likewise.
9758         * sysdeps/i386/fpu/fesetmode.c: Likewise.
9759         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
9760         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
9761         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
9762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
9763         declaration.
9764         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
9765         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
9766         typedef.
9767         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9768         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9769         (femode_t): New typedef.
9770         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9771         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9772         (femode_t): New typedef.
9773         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9774         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9775         (femode_t): New typedef.
9776         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9777         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9778         (femode_t): New typedef.
9779         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9780         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9781         (femode_t): New typedef.
9782         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9783         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9784         (femode_t): New typedef.
9785         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9786         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9787         (femode_t): New typedef.
9788         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9789         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9790         (femode_t): New typedef.
9791         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9792         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9793         (femode_t): New typedef.
9794         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9795         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9796         (femode_t): New typedef.
9797         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
9798         declaration.
9799         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9800         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9801         (femode_t): New typedef.
9802         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9803         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9804         (femode_t): New typedef.
9805         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9806         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9807         (femode_t): New typedef.
9808         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9809         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9810         (femode_t): New typedef.
9811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9812         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9813         (femode_t): New typedef.
9814         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
9815         * manual/arith.texi (FE_DFL_MODE): Document macro.
9816         (fegetmode): Document function.
9817         (fesetmode): Likewise.
9818         * math/Versions (fegetmode): New libm symbol at version
9819         GLIBC_2.25.
9820         (fesetmode): Likewise.
9821         * math/Makefile (libm-support): Add fegetmode and fesetmode.
9822         (tests): Add test-femode and test-femode-traps.
9823         * math/test-femode-traps.c: New file.
9824         * math/test-femode.c: Likewise.
9825         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
9826         alias for __fe_dfl_env.
9827         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
9828         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
9829         (__fe_dfl_mode): Likewise.
9830         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
9831         version GLIBC_2.25.
9832         * sysdeps/nacl/libm.abilist: Update.
9833         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9834         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9835         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9836         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9837         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9838         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9839         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9840         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9841         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9842         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9843         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9844         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9846         Likewise.
9847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9848         Likewise.
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9850         Likewise.
9851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9852         Likewise.
9853         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9854         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9855         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9856         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9857         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9859         Likewise.
9860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9861         Likewise.
9862         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9863         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9864         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9866 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
9868         [BZ #20495]
9869         [BZ #20508]
9870         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
9871         processors, set Use_dl_runtime_resolve_slow and set
9872         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
9873         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
9874         New.
9875         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
9876         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
9877         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
9878         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
9879         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
9880         if Use_dl_runtime_resolve_opt is set.  Use
9881         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
9882         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
9883         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
9884         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
9885         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
9886         New.
9887         (_dl_runtime_resolve_opt): Likewise.
9888         (_dl_runtime_profile): Define only if _dl_runtime_profile is
9889         defined.
9891 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9893         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
9894         __libc_memalign with "+ RELA R_390_GLOB_DAT".
9896 2016-09-06  Florian Weimer  <fweimer@redhat.com>
9898         Convert malloc to __libc_lock.  Automated part, using this Perl
9899         s/// command:
9900           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
9901             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
9902         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
9903         conversion.
9905 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
9907         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
9908         (linknamespace-symlists-tests): Likewise.
9909         (linknamespace-header-tests): Likewise.
9911 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
9913         [BZ #19810]
9914         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
9915         * elf/tst-noload.c: New test case.
9916         * elf/Makefile (tests): Add tst-noload.
9918 2016-09-02  Roland McGrath  <roland@hack.frob.com>
9920         * sysdeps/nacl/dup.c: Add libc_hidden_def.
9922         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
9923         not any more.
9925         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
9927 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9929         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
9930         (do_cos_slow): Likewise.
9931         (do_sin): Likewise.
9932         (do_sin_slow): Likewise.
9933         (slow): Likewise.
9934         (slow1): Likewise.
9935         (slow2): Likewise.
9936         (sloww): Likewise.
9937         (sloww1): Likewise.
9938         (sloww2): Likewise.
9939         (bsloww): Likewise.
9940         (bsloww1): Likewise.
9941         (bsloww2): Likewise.
9942         (cslow2): Likewise.
9944         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
9946         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
9947         arguments.  Consolidate input partitioning from callers here.
9948         (do_cos_slow): Likewise.
9949         (do_sin): Likewise.
9950         (do_sin_slow): Likewise.
9951         (do_sincos_1): Remove the no longer necessary input partitioning.
9952         (do_sincos_2): Likewise.
9953         (__sin): Likewise.
9954         (__cos): Likewise.
9955         (slow1): Likewise.
9956         (slow2): Likewise.
9957         (sloww1): Likewise.
9958         (sloww2): Likewise.
9959         (bsloww1): Likewise.
9960         (bsloww2): Likewise.
9961         (cslow2): Likewise.
9963 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9965         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
9966         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
9967         outside of allocated array.
9969 2016-09-02  Florian Weimer  <fweimer@redhat.com>
9971         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
9972         instead of MB_CUR_MAX to avoid variable-length array.
9974 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9976         * math/Makefile (libm-calls): Remove k_rem_pio2F.
9977         (type-double-routines): Add k_rem_pio2.
9978         (type-float-routines): Add k_rem_pio2f.
9980         * sysdeps/generic/math_private.h:
9981         (__kernel_rem_pio2l): Removed.
9983         * math/k_rem_pio2l.c: Removed.
9984         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
9985         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
9986         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
9987         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
9989 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9991         * math/Makefile (gen-libm-calls): Add s_fmin
9992         (libm-calls): Remove above.
9994         * math/s_fmin.c: Refactor into ...
9995         * math/s_fmin_template.c: New file.
9997         * math/s_fminf.c: Removed.
9998         * math/s_fminl.c: Removed.
9999         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10000         (LDOUBLE_fmin_libm_version): New macro.
10002         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
10003         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
10005 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10007         * math/Makefile: (gen-libm-calls): Add s_fmax.
10008         (libm-calls): Remove above.
10010         * math/s_fmax.c: Refactor into ...
10011         * math/s_fmax_template.c: New file.
10012         * math/s_fmaxf.c: Removed.
10013         * math/s_fmaxl.c: Removed.
10015         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10016         (LDOUBLE_fmaxl_libm_version): New macro.
10018         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
10019         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
10021         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
10022         s_fmin.c to pick the aarch64 version of the file.
10023         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
10024         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
10026 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10028         * math/Makefile: (gen-libm-calls): Add s_nextdown.
10029         (libm-calls): Remove above.
10031         * math/s_nextdown.c: Refactor into ...
10032         * math/s_nextdown_template.c: New file.
10033         * math/s_nextdownf.c: Removed.
10034         * math/s_nextdownl.c: Removed.
10036         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
10038 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10040         * math/Makefile (gen-libm-calls): Add s_fdim.
10041         (libm-calls): Move to above.
10043         * math/s_fdim.c: Renamed and refactored into to ...
10044         * math/s_fdim_template.c: New file.
10045         * math/s_fdiml.c: Removed.
10046         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
10047         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
10049         * sysdeps/generic/math-type-macros-double.h:
10050         (declare_mgen_alias): Don't declare if already declared.
10051         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
10052         Likewise.
10054         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
10055         (declare_mgen_alias): Don't declare if already declared.
10056         (M_LIBM_NEED_COMPAT): Likewise.
10057         (declare_mgen_libm_compat): Likewise.
10058         (LDOUBLE_fdiml_libm_version): New macro.
10060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10061         Include math/s_fdim.c now that ldbl-opt version is not needed.
10062         (declare_mgen_alias): New macro to disable aliasing.
10064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
10065         (declare_mgen_alias): Likewise.
10066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
10067         (declare_mgen_alias): Likewise.
10068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
10069         (declare_mgen_alias): Likewise.
10070         (M_LIBM_NEED_COMPAT): Likewise.
10072 2016-09-01  Florian Weimer  <fweimer@redhat.com>
10074         [BZ #20525]
10075         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
10076         Include <linux/quota.h>.
10077         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
10078         and btodb.
10079         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
10080         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
10081         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
10082         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
10083         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
10084         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
10085         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
10086         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
10087         types.
10088         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
10089         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
10091 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10093         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
10094         (gammal_positive): Fix spacing.
10095         (__ieee754_gammal_r): Likewise.
10097 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10099         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
10100         (_Float128): Define as long double, always.
10101         (L): Apply long double type suffix, always.
10103         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
10104         _Float128, excepting comments.
10106         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
10107         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
10108         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
10109         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
10110         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
10111         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10112         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
10113         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10114         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
10115         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
10116         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
10117         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10118         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
10120         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
10121         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
10122         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
10123         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
10124         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
10125         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
10126         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
10127         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10128         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
10129         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
10130         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
10131         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10132         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10133         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10134         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10135         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
10136         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
10137         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10138         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10139         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10140         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10141         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
10142         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10143         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10144         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10145         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10146         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
10147         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10148         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
10149         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10150         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
10151         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10152         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10153         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
10154         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10155         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10156         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10157         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10158         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10159         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10160         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
10161         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
10162         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10163         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
10164         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10165         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10166         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
10167         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10168         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10169         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10170         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
10171         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
10172         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10173         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10175         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
10176         _Float128, and include math_private.h.
10177         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
10179         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
10180         long double semantics.
10181         (_Float128): Likewise.
10182         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
10183         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10184         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
10185         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
10187 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
10189         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
10190         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
10191         * sysdeps/s390/configure: Regenerated.
10192         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
10193         instruction for raising over-/underflow if z196 zarch is supported
10194         by default.
10195         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
10197 2016-08-30  Svante Signell  <svante.signell@gmail.com>
10199         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
10200         it point to a dumb buffer for RPC to fill it.
10202 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10204         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
10205         instead of if/else.
10206         (do_sin_slow): Likewise.
10207         (do_sincos_1): Use fabs instead of if/else.
10208         (do_sincos_2): Likewise.
10209         (__sin): Likewise.
10210         (__cos): Likewise.
10211         (slow2): Likewise.
10212         (sloww): Likewise.
10213         (sloww1): Likewise.  Drop argument M.
10214         (sloww2): Use fabs instead of if/else.
10215         (bsloww): Likewise.
10216         (bsloww1): Likewise.
10217         (bsloww2): Likewise.
10219         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
10220         fall through comment.
10221         (do_sincos_1): Likewise.
10223         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
10224         Consolidate switch cases 0 and 2.
10226 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10228         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
10229         (libm-calls): Remove the above.
10231         * math/s_cexp_template.c: Update using type-generic macros.
10232         * math/s_clog10_template.c: Likewise.
10233         * math/s_cpow_template.c: Likewise.
10234         * math/s_clog_template.c: Likewise.
10235         * math/s_cproj_template.c: Likewise.
10236         * math/s_csqrt_template.c: Likewise.
10238         * math/s_cexp.c: Removed.
10239         * math/s_cexpf.c: Removed.
10240         * math/s_cexpl.c: Removed.
10241         * math/s_clog10.c: Removed.
10242         * math/s_clog10f.c: Removed.
10243         * math/s_clog10l.c: Removed.
10244         * math/s_cpow.c: Removed.
10245         * math/s_cpowf.c: Removed.
10246         * math/s_cpowl.c: Removed.
10247         * math/s_clog.c: Removed.
10248         * math/s_clogf.c: Removed.
10249         * math/s_clogl.c: Removed.
10250         * math/s_cproj.c: Removed.
10251         * math/s_cprojf.c: Removed.
10252         * math/s_cprojl.c: Removed.
10253         * math/s_csqrt.c: Removed.
10254         * math/s_csqrtf.c: Removed.
10255         * math/s_csqrtl.c: Removed.
10257         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
10258         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
10259         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
10260         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
10261         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
10262         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
10264         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
10265         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
10266         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
10267         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
10268         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
10269         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
10270         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
10271         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
10272         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
10273         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
10274         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
10276         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
10277         version.
10279         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
10280         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
10281         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
10282         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
10284 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10286         * s_cexp_template.c: Copy of s_cexp.c.
10287         * s_clog_template.c: Copy of s_clog.c.
10288         * s_clog10_template.c: Copy of s_clog10.c.
10289         * s_cpow_template.c: Copy of s_cpow.c.
10290         * s_cproj_template.c: Copy of s_cproj.c.
10291         * s_csqrt_template.c: Copy of s_csqrt.c.
10293 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10295         [BZ #20517]
10296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
10297         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
10298         exported.
10300 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
10302         * math/fetestexceptflag.c: New file.
10303         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
10304         Stefan Liebler.
10305         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10306         (fetestexceptflag): New function declaration.
10307         * manual/arith.texi (fetestexceptflag): Document function.
10308         * math/Versions (fetestexceptflag): New libm symbol at version
10309         GLIBC_2.25.
10310         * math/Makefile (libm-support): Add fetestexceptflag.
10311         (tests): Add test-fetestexceptflag.
10312         * math/test-fetestexceptflag.c: New file.
10313         * sysdeps/nacl/libm.abilist: Update.
10314         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10315         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10316         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10317         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10318         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10319         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10320         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10321         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10322         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10323         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10324         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10325         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10327         Likewise.
10328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10329         Likewise.
10330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10331         Likewise.
10332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10333         Likewise.
10334         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10335         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10336         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10337         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10338         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10340         Likewise.
10341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10342         Likewise.
10343         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10344         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10345         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10347 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10349         [BZ #20432]
10350         Avoid strong references to malloc-internal symbols when linking
10351         statically, to support statically interposed mallocs.
10352         * include/libc-symbols.h (call_function_static_weak): New macro.
10353         * malloc/Makefile (tests): Add tst-interpose-nothread,
10354         tst-interpose-thread, tst-interpose-static-nothread,
10355         tst-interpose-static-thread.
10356         (tests-static): Add tst-interpose-static-nothread,
10357         tst-interpose-static-thread.
10358         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
10359         tst-interpose-aux-thread.o.
10360         (test-extras): Add tst-interpose-aux-nothread,
10361         tst-interpose-aux-thread.
10362         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
10363         tst-interpose-aux-nothread.o.
10364         (tst-interpose-thread, tst-interpose-static-thread): Link with
10365         tst-interpose-aux-thread.o and libthread.
10366         * malloc/tst-interpose-aux-nothread.c: New file.
10367         * malloc/tst-interpose-aux-thread.c: Likewise.
10368         * malloc/tst-interpose-aux.c: Likewise.
10369         * malloc/tst-interpose-aux.h: Likewise.
10370         * malloc/tst-interpose-nothread.c: Likewise.
10371         * malloc/tst-interpose-skeleton.c: Likewise.
10372         * malloc/tst-interpose-static-nothread.c: Likewise.
10373         * malloc/tst-interpose-static-thread.c: Likewise.
10374         * malloc/tst-interpose-thread.c: Likewise.
10375         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
10376         * sysdeps/mach/hurd/fork.c (__fork): Only call
10377         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
10378         __malloc_fork_unlock_child if defined.
10379         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
10381 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10383         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
10384         timespec C99 designated initialization.
10386 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10388         [BZ #19946]
10389         Avoid expected SIGALRM signals.
10390         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
10391         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
10392         (xpthread_create, xpthread_detach, xpthread_join)
10393         (delayed_exit_thread, delayed_exit): New functions.
10394         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
10395         (tf): Use xpthread_cond_wait.
10396         (do_test): Likewise.  Replace alarm with delayed_exit.
10397         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10398         (do_test): Call delayed_exit.  Report failure.
10399         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10400         (do_test): Call delayed_exit.
10401         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10402         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
10403         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10404         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
10405         error.
10406         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
10407         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
10408         error.
10409         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
10410         (do_test): Call delayed_exit.
10411         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
10412         (do_test): Call delayed_exit.
10413         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
10414         (do_test): Call delayed_exit instead of alarm.  Use
10415         xpthread_mutex_lock.
10416         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
10417         (do_test): Call delayed_exit instead of alarm.  Use
10418         xpthread_mutex_lock.
10419         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
10420         (do_test): Call delayed_exit instead of alarm.
10421         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
10422         (do_test): Call delayed_exit instead of alarm.  Use
10423         xpthread_spin_lock.
10424         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
10425         (do_test): Call delayed_exit instead of alarm.  Use
10426         xpthread_join.
10428 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
10430         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
10431         adjust CFA when allocating register save area on re-aligned
10432         stack.
10434 2016-08-26  Florian Weimer  <fweimer@redhat.com>
10436         * string/tst-cmp.c: New test.
10437         * string/Makefile (tests): Add it.
10439 2016-08-25  Mark Wielaard  <mark@klomp.org>
10441         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
10442         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
10443         (check_tree_recurse): Use newly defined accessors.
10444         (check_tree): Likewise.
10445         (maybe_split_for_insert): Likewise.
10446         (__tfind): Likewise.
10447         (__tdelete): Likewise.
10448         (trecurse): Likewise.
10449         (tdestroy_recurse): Likewise.
10450         (__tsearch): Likewise. And add asserts for malloc alignment.
10451         (__twalk): Cast root to node in case CHECK_TREE is defined.
10453 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10455         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
10457 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10459         * math/Makefile (libm-gen-calls): Add
10460         catan, catanh, ctan, ctanh.
10461         (libm-calls): Remove the above.
10463         * math/s_catan_template.c: Update using type-generic macros.
10464         * math/s_catanh_template.c: Likewise.
10465         * math/s_ctan_template.c: Likewise.
10466         * math/s_ctanh_template.c: Likewise.
10468         * math/s_catanf.c: Removed.
10469         * math/s_catan.c: Removed.
10470         * math/s_catanl.c: Removed.
10471         * math/s_catanhf.c: Removed.
10472         * math/s_catanh.c: Removed.
10473         * math/s_catanhl.c: Removed.
10474         * math/s_ctanf.c: Removed.
10475         * math/s_ctan.c: Removed.
10476         * math/s_ctanl.c: Removed.
10477         * math/s_ctanhf.c: Removed.
10478         * math/s_ctanh.c: Removed.
10479         * math/s_ctanhl.c: Removed.
10481         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
10482         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
10483         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
10484         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
10485         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
10486         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
10488         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
10489         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
10490         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
10491         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
10493 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10495         * s_catan_template.c: Copy of s_catan.c.
10496         * s_catanh_template.c: Copy of s_catanh.c.
10497         * s_ctan_template.c: Copy of s_ctan.c.
10498         * s_ctanh_template.c: Copy of s_ctanh.c.
10500 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10502         * math/Makefile (gen-libm-calls): Move
10503         casin, casinh, csin, csinh here.
10504         (libm-calls): Remove the above.
10506         * math/s_casin_template.c: Update using type-generic macros.
10507         * math/s_casinh_template.c: Likewise.
10508         * math/s_csin_template.c: Likewise.
10509         * math/s_csinh_template.c: Likewise.
10510         * math/k_casinh_template.c: Likewise.
10512         * math/s_casinf.c: Removed.
10513         * math/s_casin.c: Removed.
10514         * math/s_casinl.c: Removed.
10515         * math/s_casinh.c: Removed.
10516         * math/s_casinhf.c: Removed.
10517         * math/s_casinhl.c: Removed.
10518         * math/s_csin.c: Removed.
10519         * math/s_csinf.c: Removed.
10520         * math/s_csinl.c: Removed.
10521         * math/s_csinh.c: Removed.
10522         * math/s_csinhf.c: Removed.
10523         * math/s_csinhl.c: Removed.
10524         * math/k_casinh.c: Removed.
10525         * math/k_casinhf.c: Removed.
10526         * math/k_casinhl.c: Removed.
10528         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
10529         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
10530         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
10531         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
10533         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
10534         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
10535         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
10536         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
10537         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
10538         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
10539         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
10540         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
10542         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
10543         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
10544         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
10545         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
10547         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
10548         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
10549         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
10550         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
10552 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10554         * s_casin_template.c: Copy of s_casin.c.
10555         * s_casinh_template.c: Copy of s_casinh.c.
10556         * s_csin_template.c: Copy of s_csin.c.
10557         * s_csinh_template.c: Copy of s_csinh.c.
10558         * k_casinh_template.c: Copy of k_casinh.c.
10560 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
10562         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
10564 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10566         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
10567         (mul_split) Remove, rename as mul_splitl, remove
10568         redundant float.h include, and include via mul_splitl.h
10570         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10571         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10572         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
10573         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10574         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
10576         * math/mul_splitl.h: New file.
10578         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
10579         Move into mul_split.h, and remove redundant float.h include.
10581         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10582         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10583         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10584         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
10586         * math/mul_split.h: New file.
10588 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10590         * math/Makefile (libm-gen-calls): Move
10591         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
10592         (libm-calls): Remove above.
10594         * math/s_cacos_template.c: Update using type-generic macros.
10595         * math/s_cacosh_template.c: Likewise.
10596         * math/s_ccos_template.c: Likewise.
10597         * math/s_ccosh_template.c: Likewise.
10599         * math/s_cacosf.c: Removed.
10600         * math/s_cacos.c: Removed.
10601         * math/s_cacosl.c: Removed.
10602         * math/s_cacoshf.c: Removed.
10603         * math/s_cacosh.c: Removed.
10604         * math/s_cacoshl.c: Removed.
10605         * math/s_ccosf.c: Removed.
10606         * math/s_ccos.c: Removed.
10607         * math/s_ccosl.c: Removed.
10608         * math/s_ccoshf.c: Removed.
10609         * math/s_ccosh.c: Removed.
10610         * math/s_ccoshl.c: Removed.
10612         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
10613         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
10614         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
10615         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
10616         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
10617         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
10619         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
10620         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
10621         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
10622         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
10624         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
10625         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
10626         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
10627         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
10629 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10631         * s_cacos_template.c: Copy of s_cacos.c.
10632         * s_cacosh_template.c: Copy of s_cacosh.c.
10633         * s_ccos_template.c: Copy of s_ccos.c.
10634         * s_ccosh_template.c: Copy of s_ccosh.c.
10636 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10638         * stdlib/tst-strtod-round-skeleton.c:
10639         Refactored from tst-strtod-round.c.
10641         (L_): New macro to apply literal modifier.
10642         (FNPFX): New macro to select str or wcs prefix.
10643         (CHAR): New macro to choose wchar_t or char.
10644         (STRM): New macro to choose printf for tested character type.
10646         (STRTO): New macro to choose appropriate string -> real function.
10647         (FNPFXS): Stringitized version of FNPFX.
10648         (STR): Support for above macro.
10649         (STRX): Likewise.
10651         (TEST): Update with above macros.
10652         (test): Likewise.
10653         (GEN_ONE_TEST): Likewise.
10654         (test_in_one_mode): Likewise.
10656         * stdlib/tst-strtod-round.c: New file.
10657         * wcsmbs/tst-wcstod-round.c: New file.
10659         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
10660         (tst-wcstod-round): Add libm depencency for fesetround.
10662 2016-08-19  Zack Weinberg  <zackw@panix.com>
10664         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
10666 2016-08-18  Torvald Riegel  <triegel@redhat.com>
10668         [BZ #20477]
10669         * resolv/res_hconf.c (do_init): Use atomic access.
10670         * resolv/res_hconf.h: Add comments.
10671         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
10672         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
10673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10675 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
10677         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10678         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
10679         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10680         Likewise.
10682 2016-08-18  Florian Weimer  <fweimer@redhat.com>
10684         [BZ #16907]
10685         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
10686         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
10687         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
10688         (__attribute__): Remove definition.
10690 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10692         * sysdeps/ieee754/ldbl-128/e_asinl.c:
10693         Remove unused sqrtl declaration.
10695 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10697         * math/Makefile: (gen-libm-templates.stmp): New rule.
10698         (libm-calls): Move carg conj cimag and cabs into ...
10699         (gen-libm-calls): New variable.
10700         (generated): Inform Make objects from gen-libm-calls
10701         may be generated.
10703         * sysdeps/generic/math-type-macros.h: New file.
10704         * sysdeps/generic/math-type-macros-float.h: Likewise.
10705         * sysdeps/generic/math-type-macros-double.h: Likewise.
10706         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
10707         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
10708         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
10710         * math/cabs.c: Refactor into
10711         * math/cabs_template.c: new file.
10712         * math/cabsf.c: Removed.
10713         * math/cabsl.c: Removed.
10714         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
10715         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
10717         * math/carg.c: Refactor into
10718         * math/carg_template.c: new file.
10719         * math/cargf.c: Removed.
10720         * math/cargl.c: Removed.
10721         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
10722         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
10724         * math/conj.c: Refactor into
10725         * math/conj_template.c: new file.
10726         * math/conjf.c: Removed.
10727         * math/conjl.c: Removed.
10728         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
10729         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
10731         * math/cimag.c: Refactor into
10732         * math/cimag_template.c: new file.
10733         * math/cimagf.c: Removed.
10734         * math/cimagl.c: Removed.
10735         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10736         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10738         * math/cimag.c: Refactor into
10739         * math/cimag_template.c: new file.
10740         * math/cimagf.c: Removed.
10741         * math/cimagl.c: Removed.
10742         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
10743         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
10745 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10747         Reduce time to expected nptl/tst-once5 failure.
10748         * nptl/tst-once5.cc (TIMEOUT): Define.
10750 2016-08-17  Florian Weimer  <fweimer@redhat.com>
10752         [BZ #20452]
10753         Avoid additional copies of objects in libc.a in static libraries.
10754         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
10755         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
10756         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
10757         rt-sysdep.
10758         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
10759         Add nptl-sysdep.
10760         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
10761         Add ptw-sysdep.
10762         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
10763         rt-sysdep.
10764         * sysdeps/unix/sysv/linux/alpha/Makefile
10765         (libpthread-shared-only-routines): Add ptw-sysdep,
10766         ptw-sigprocmask, ptw-rt_sigaction.
10767         * sysdeps/unix/sysv/linux/ia64/Makefile
10768         (librt-shared-only-routines): Add rt-sysdep.
10769         * sysdeps/unix/sysv/linux/i386/Makefile
10770         (libpthread-shared-only-routines): Add libc-do-syscall.
10771         * sysdeps/unix/sysv/linux/microblaze/Makefile
10772         (libpthread-shared-only-routines): Add sysdep.
10773         * sysdeps/unix/sysv/linux/powerpc/Makefile
10774         (librt-shared-only-routines): Add rt-sysdep.
10775         (libpthread-shared-only-routines): Add sysdep.
10776         * sysdeps/unix/sysv/linux/s390/Makefile
10777         (librt-shared-only-routines): Add rt-sysdep.
10778         * sysdeps/unix/sysv/linux/sparc/Makefile
10779         (librt-shared-only-routines): Add rt-sysdep.
10780         (libpthread-shared-only-routines): Add sysdep.
10781         * sysdeps/unix/sysv/linux/tile/Makefile
10782         (libpthread-shared-only-routines): Likewise.
10784 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
10786         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
10787         Mask implicit bit out of unpacked value.
10788         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
10789         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
10790         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
10792         * sysdeps/sparc/fpu/fesetexcept.c: New file.
10794         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
10796         * sysdeps/s390/fpu/fesetexcept.c: New file.
10798         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
10799         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
10800         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
10802         * sysdeps/mips/fpu/fesetexcept.c: New file.
10804         * sysdeps/m68k/fpu/fesetexcept.c: New file.
10806         * sysdeps/ia64/fpu/fesetexcept.c: New file.
10808         * sysdeps/hppa/fpu/fesetexcept.c: New file.
10810         * sysdeps/arm/fesetexcept.c: New file.
10812         * sysdeps/alpha/fpu/fesetexcept.c: New file.
10814         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
10816         * math/fesetexcept.c: New file.
10817         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
10818         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
10819         * math/fenv.h: Define
10820         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
10821         <bits/libc-header-start.h> instead of including <features.h>.
10822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
10823         declaration.
10824         * manual/arith.texi (fesetexcept): Document function.
10825         * math/Versions (fesetexcept): New libm symbol at version
10826         GLIBC_2.25.
10827         * math/Makefile (libm-support): Add fesetexcept.
10828         (tests): Add test-fesetexcept and test-fesetexcept-traps.
10829         * math/test-fesetexcept.c: New file.
10830         * math/test-fesetexcept-traps.c: Likewise.
10831         * sysdeps/nacl/libm.abilist: Update.
10832         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10833         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10834         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10835         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10836         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10837         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10838         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10839         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10840         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10841         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10842         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10843         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10845         Likewise.
10846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10847         Likewise.
10848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10849         Likewise.
10850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10851         Likewise.
10852         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10853         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10854         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10855         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10856         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10858         Likewise.
10859         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10860         Likewise.
10861         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10862         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10863         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10865 2016-08-16  Florian Weimer  <fweimer@redhat.com>
10867         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
10868         New.
10869         (do_test): Apply default_stack_size_in_mb if not set.
10870         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
10872 2016-08-15  Andreas Schwab  <schwab@suse.de>
10874         [BZ #20435]
10875         CVE-2016-6323
10876         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
10877         as .cantunwind.
10879 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
10881         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
10882         comment from fraiseexcpt.c.
10884         * math/test-fexcept.c (feraiseexcept_exact): New function.
10885         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
10886         (test_except): Likewise.
10888 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
10890         [BZ #20455]
10891         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
10892         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
10893         to be restored.
10895         * math/test-fexcept-traps.c: New file.
10896         * math/test-fexcept.c: Likewise.
10897         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
10898         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
10899         macro.
10900         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
10901         (EXCEPTION_SET_FORCES_TRAP): Likewise.
10903 2016-08-09  Torvald Riegel  <triegel@redhat.com>
10905         * include/atomic.h (atomic_fetch_and_relaxed,
10906         atomic_fetch_and_release, atomic_fetch_or_release,
10907         atomic_fetch_xor_release): New.
10909 2016-08-06  Christian Seiler  <christian@iwakd.de>
10911         [BZ #20444]
10912         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
10913         MACH_PORT_NULL.
10915 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10917         * math/s_fdim.c: Avoid alias renamed.
10918         * math/s_fdimf.c: Likewise.
10919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10920         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10921         Add s_fdimf-vis3, s_fdim-vis3.
10922         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
10923         (CFLAGS-s_fdim-vis3.c): Likewise.
10924         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
10925         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
10927 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10930         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
10931         Remove s_fdimf-vis3, s_fdim-vis3.
10932         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
10933         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
10934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
10935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
10936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
10937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
10938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
10939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
10940         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
10941         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
10943 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
10945         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
10946         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
10947         -Wa,-Av9a -mvis.
10949 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10951         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
10952         LIT() to individual constants in simple expressions
10953         after splitting on spaces.
10954         (_apply_lit): Rename replaced version, and use it to
10955         apply to what appears to be a token.
10957         * math/libm-test.inc: Fix many, many issues with
10958         spacing.
10960 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
10962         * math/math.h: Move comment about <bits/mathdef.h> definitions
10963         above inclusion of <bits/mathdef.h>.  Do not mention
10964         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
10966 2016-08-05  Torvald Riegel  <triegel@redhat.com>
10968         * include/atomic.h (atomic_exchange_relaxed): New.
10970 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
10972         * math/e_scalb.c: Do not include <fenv.h>.
10973         (invalid_fn): Do calculation resulting in NaN instead of raising
10974         FE_INVALID and returning a NaN explicitly.
10975         * math/e_scalbf.c: Do not include <fenv.h>.
10976         (invalid_fn): Do calculation resulting in NaN instead of raising
10977         FE_INVALID and returning a NaN explicitly.
10978         * math/e_scalbl.c: Do not include <fenv.h>.
10979         (invalid_fn): Do calculation resulting in NaN instead of raising
10980         FE_INVALID and returning a NaN explicitly.
10982 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
10984         * po/de.po: Updated from Translation Project.
10985         * po/fi.po: Likewise.
10986         * po/sv.po: Likewise.
10988 2016-08-04  Florian Weimer  <fweimer@redhat.com>
10990         [BZ #20452]
10991         Use sysdep.o from libc.a in static libraries.
10992         * sysdeps/unix/sysv/linux/i386/Makefile
10993         (libpthread-shared-only-routines): Add sysdep.
10994         (librt-shared-only-routines): Likewise.
10996 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
10998         * math/tgmath.h (nextdown): Define if
10999         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
11000         (nextup): Likewise.
11002         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
11003         macro.
11004         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11005         Document.
11006         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
11007         Document macro.
11008         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
11009         (exp10f): Likewise.
11010         (exp10l): Likewise.
11011         * math/bits/mathcalls.h (exp10): Declare if
11012         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
11014         * manual/arith.texi (nextup): Fix typo in last change.
11016 2016-08-03  Zack Weinberg  <zackw@panix.com>
11018         [BZ #19239]
11019         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
11020         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
11021         define major, minor, and makedev to issue deprecation warnings on use.
11022         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
11023         previously-activated deprecation warnings for these macros and prevent
11024         subsequent inclusions of this header from having any effect.
11025         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
11026         including <sys/sysmacros.h>, and undefine it again afterward.
11028 2016-08-03  Zack Weinberg  <zackw@panix.com>
11030         * sysdeps/generic/sys/sysmacros.h: Delete file.
11031         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
11032         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
11033         * bits/sysmacros.h: ... here; this encoding is now the generic
11034         encoding.  Now defines only the following macros:
11035         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
11036         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
11037         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
11039         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
11040         bits/sysmacros.h and the above new macros to generate the
11041         public implementations of major, minor, and makedev.
11042         * misc/tst-makedev.c: New test.
11043         * include/sys/sysmacros.h: New wrapper.
11045         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
11046         (routines): Add makedev.
11047         (tests): Add tst-makedev.
11048         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
11049         gnu_dev_makedev.
11050         * posix/Makefile (headers): Remove sys/sysmacros.h.
11051         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
11053         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
11054         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
11055         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
11056         * sysdeps/unix/sysv/linux/alpha/libc.abilist
11057         * sysdeps/unix/sysv/linux/arm/libc.abilist
11058         * sysdeps/unix/sysv/linux/hppa/libc.abilist
11059         * sysdeps/unix/sysv/linux/i386/libc.abilist
11060         * sysdeps/unix/sysv/linux/ia64/libc.abilist
11061         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11062         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
11063         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
11064         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11065         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11066         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11067         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11068         * sysdeps/unix/sysv/linux/nios2/libc.abilist
11069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11073         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
11074         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
11075         * sysdeps/unix/sysv/linux/sh/libc.abilist
11076         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11077         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11080         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
11081         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
11082         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
11083         Add GLIBC_2.25.
11085         * include/features.h (__glibc_clang_prereq): New macro.
11086         * misc/sys/cdefs.h (__glibc_clang_has_extension)
11087         (__attribute_deprecated_msg__): New macros.
11089 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11091         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
11092         macro.
11093         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
11094         * manual/arith.texi (issignaling): Document as ISO from TS
11095         18661-1:2014.
11096         (nextup): Likewise.
11097         (nextupf): Likewise.
11098         (nextupl): Likewise.
11099         (nextdown): Likewise.
11100         (nextdownf): Likewise.
11101         (nextdownl): Likewise.
11102         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
11103         macro.
11104         * math/math.h: Define
11105         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11106         <bits/libc-header-start.h> instead of including <features.h>.
11107         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
11108         [__USE_GNU].
11109         * math/bits/mathcalls.h (nextdown): Declare if
11110         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
11111         (nextup): Likewise.
11112         (__issignaling): Likewise.
11114 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11116         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
11117         check, and remove __glibc_likely hint
11118         from FP_INFINITE check.
11119         * s_csinhf.c (__csinhf): Likewise.
11121         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
11122         hint from FP_INFINITE check.
11123         * s_csinhl.c (__csinhl): Likewise.
11125 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11127         * math/Makefile (libm-calls): Insert F placeholder into
11128         object names.  Move w_lgamma_compat* routines into
11129         (libm-compat-calls): New variable.
11130         (libm-compat-calls-ldouble-yes): New variable.
11131         (calls): Insert F placeholder.
11132         (generated): Redefine using new type-foreach macro call.
11133         (routines): Likewise.
11135         (types): New variable to hold a list of symbolic names
11136         for each type supported by the target machine.
11137         (libm-routines): Redefine using new types variable.
11138         (type-foreach): macro to replace fooF with the
11139         appropriately suffixed foo for each types.
11141         (type-ldouble-suffix): New variable.
11142         (type-ldouble-routines): Likewise.
11143         (type-ldouble-yes): Likewise.
11144         (type-double-suffix): Likewise.
11145         (type-double-routines): Likewise.
11146         (type-float-suffix): Likewise.
11147         (type-float-routines): Likewise.
11149         (dbl-only-routines): Remove.
11150         (long-c-yes): Likewise.
11151         (long-m-routines): Likewise.
11152         (long-m-support): Likewise.
11153         (long-m-yes): Likewise.
11154         (test-longdouble-yes): Likewise.
11156         (test-float.o): Simplify by increasing the scope of the
11157         recipe which adds libm-test.stmp to the vector types.
11158         (test-ifloat.o): Likewise.
11159         (test-float-finite.o): Likewise.
11160         (test-double.o): Likewise
11161         (test-idouble.o): Likewise.
11162         (test-double-finite.o): Likewise.
11163         (test-ldouble.o): Likewise
11164         (test-ildoubl.o): Likewise.
11165         (test-ldouble-finite.o): Likewise.
11167         (libm-tests): Redefine type tests using foreach and the
11168         list of types in types.
11170         (CPPFLAGS-test-ildoubl.c): Rename to
11171         (CPPFLAGS-test-ildouble.c): New variable
11173         * math/test-ildoubl.c: Rename to
11174         * math/test-ildouble.c: New file.
11176 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11178         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
11179         Use fabsl instead of fabs.
11180         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
11181         Likewise.
11182         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
11183         Add long double suffix to constant to ensure proper
11184         promotion to long double.
11186 2016-08-03  Tom Tromey  <tom@tromey.com>
11188         [BZ #20311]
11189         * nptl_db/Makefile (headers): Add proc_service.h.
11190         * nptl_db/proc_service.h: Add include guard.  Use
11191         __BEGIN/__END_DECLS.
11192         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
11193         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
11194         arguments.
11197 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11199         [BZ #17730]
11200         Avoid using memalign for TCB allocations.
11201         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
11202         (_dl_allocate_tls_storage): Use malloc and manual alignment.
11203         Avoid alignment gap in the TLS_DTV_AT_TP case.
11204         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
11205         determine the pointer to free.
11206         * nptl/tst-tls3-malloc.c: New test.
11207         * nptl/Makefile (tests): Add it.
11208         (tst-tls3-malloc): Link with libdl, libpthread.
11209         (LDFLAGS-tst-tls3-malloc): Set.
11210         (tst-tls3-malloc.out): Depend on DSO used in test.
11212 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11214         [BZ #17730]
11215         Avoid using memalign for TLS allocations.
11216         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
11217         is_static member with to_free member.
11218         (union dtv): Use struct dtv_pointer.
11219         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
11220         dtv_pointer instead of is_static.
11221         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
11222         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
11223         instead of val.
11224         (allocate_dtv_entry): New function.
11225         (allocate_and_init): Return struct dtv_pointer.  Call
11226         allocate_dtv_entry instead of __libc_memalign.
11227         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
11228         instead of val.
11229         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
11230         instead of is_static.  Adjust call to allocate_and_init.
11231         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
11232         struct dtv_pointer instead of val.
11234 2016-08-03  Florian Weimer  <fweimer@redhat.com>
11236         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
11237         (MALLOC_ALIGN_MASK): Move ...
11238         * malloc/malloc-internal.h: ... to here.
11239         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
11241 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
11243         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
11244         (UDP_ENCAP_GTP1U): Likewise.
11246         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
11247         (PF_MAX): Update value.
11248         (AF_QIPCRTR): New macro.
11250 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11252         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
11253         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
11254         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
11255         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
11256         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11257         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11258         s_truncf-vis3, s_trunc-vis3.
11259         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
11260         (CFLAGS-s_ceil-vis3.c): Likewise.
11261         (CFLAGS-s_floorf-vis3.c): Likewise.
11262         (CFLAGS-s_floor-vis3.c): Likewise.
11263         (CFLAGS-s_truncf-vis3.c): Likewise.
11264         (CFLAGS-s_trunc-vis3.c): Likewise.
11265         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
11266         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
11267         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
11268         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
11269         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
11270         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
11271         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
11272         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
11273         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
11274         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
11275         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
11276         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
11278 2016-08-02  David S. Miller  <davem@davemloft.net>
11280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11281         (__nearbyint_vis3): Don't check for sNaN before float register is
11282         loaded with the incoming argument.
11283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11284         (__nearbyintf_vis3): Likewise.
11285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
11286         Likewise.
11287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
11288         Likewise.
11290         * string/test-strncmp.c (do_test_limit): Make sure the test data
11291         stream is aligned as required for the type "CHAR".
11292         (do_test): Likewise.
11294 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
11296         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
11297         by beq instructions jumping to the end of the function.
11298         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
11299         clobber list. Use "i" constraint instead of "X".
11300         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
11301         of "X".
11303 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
11305         * bits/libc-header-start.h: New file.
11306         * Makefile (headers): Add bits/libc-header-start.h.
11307         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
11308         (__GLIBC_USE): New macro.
11309         * libio/stdio.h: Define
11310         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11311         <bits/libc-header-start.h> instead of including <features.h>.
11312         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
11313         (open_memstream): Likewise.
11314         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
11315         (__asprintf): Likewise.
11316         (asprintf): Likewise.
11317         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
11318         (getdelim): Likewise.
11319         (getline): Likewise.
11320         * string/string.h: Define
11321         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11322         <bits/libc-header-start.h> instead of including <features.h>.
11323         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
11324         (strndup): Likewise.
11325         * wcsmbs/wchar.h: Define
11326         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11327         <bits/libc-header-start.h> instead of including <features.h>.
11328         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
11329         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
11331 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11333         Support linking against compatibility symbols, for use in tests.
11334         * include/libc-symbols.h (symbol_version_reference): New macro.
11335         (symbol_version): Use it.
11336         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
11337         (compat_symbol): Use compat_symbol_reference.
11338         (compat_symbol_1, compat_symbol_2): Remove.
11339         (compat_symbol_reference, compat_symbol_reference_1)
11340         (compat_symbol_reference_2): New macro.  Use
11341         symbol_version_reference.
11343 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11345         [BZ #19469]
11346         * malloc/Makefile (CPPFLAGS): Compile tests with
11347         -DTEST_NO_MALLOPT.
11348         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
11350 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
11352         [BZ #20033]
11353         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
11354         finite version.
11355         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
11356         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
11357         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
11358         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
11359         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
11360         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
11361         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
11362         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
11363         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
11364         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
11365         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
11366         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
11367         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
11368         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
11369         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
11370         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
11371         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
11372         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
11373         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
11374         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
11375         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
11376         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
11377         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
11378         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
11379         in zero power.
11381 2016-08-02  Florian Weimer  <fweimer@redhat.com>
11383         [BZ #20370]
11384         * malloc/arena.c (get_free_list): Update comment.  Assert that
11385         arenas on the free list have no attached threads.
11386         (remove_from_free_list): New function.
11387         (reused_arena): Call it.
11389 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
11391         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
11392         when it is a NaN.
11393         [_IEEE_FP_INEXACT] Remove.
11394         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
11395         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
11396         when it is a NaN.
11397         [_IEEE_FP_INEXACT] Remove.
11398         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
11399         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
11400         when it is a NaN.
11401         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
11402         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
11403         when its absolute value is greater than 0x1.0p52.
11404         [_IEEE_FP_INEXACT] Remove.
11405         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
11406         when its absolute value is greater than 0x1.0p23.
11407         [_IEEE_FP_INEXACT] Remove.
11409 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
11411         * version.h (RELEASE): Set to "development"
11412         (VERSION): Set to 2.24.90.
11413         * NEWS: Add 2.25 section.
11415         * version.h (RELEASE): Set to "stable"
11416         (VERSION): Set to 2.24.
11417         * include/features.h (__GLIBC_MINOR__): Set to 24.
11419         * NEWS: Add 2.24 fixed bugs.
11420         * po/libc.pot: Regenerate.
11422 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
11424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
11425         [$(subdir) = math] (libm-sysdep_routines): Remove.
11426         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
11427         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
11428         s_truncf-vis3, s_trunc-vis3.
11429         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
11431         file.
11432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
11433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
11434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
11438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
11439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
11441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
11442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
11443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
11444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
11445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
11446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
11447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
11448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
11449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
11450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
11451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
11452         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
11453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
11454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11455         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11456         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
11457         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11458         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11459         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
11460         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11461         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11462         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
11463         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11464         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11465         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
11466         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
11467         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
11468         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
11469         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
11470         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
11471         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
11472         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
11473         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
11474         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
11476 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
11478         [BZ #20384]
11479         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
11480         test-double-libmvec-sincos-avx-main.o,
11481         test-double-libmvec-sincos-avx2-main.o,
11482         test-double-libmvec-sincos-main.o,
11483         test-float-libmvec-sincosf-avx-main.o,
11484         test-float-libmvec-sincosf-avx2-main.o and
11485         test-float-libmvec-sincosf-main.o.
11486         test-float-libmvec-sincosf-avx512-main.o.
11487         ($(objpfx)test-double-libmvec-sincos): Also link with
11488         $(objpfx)test-double-libmvec-sincos-main.o.
11489         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
11490         $(objpfx)test-double-libmvec-sincos-avx-main.o.
11491         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
11492         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
11493         ($(objpfx)test-float-libmvec-sincosf): Also link with
11494         $(objpfx)test-float-libmvec-sincosf-main.o.
11495         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
11496         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
11497         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
11498         test-double-libmvec-sincos-avx512-main.o and
11499         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
11500         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
11501         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
11502         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
11503         (CFLAGS-test-double-libmvec-sincos.c): Removed.
11504         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
11505         (CFLAGS-test-double-libmvec-sincos-main.c): New.
11506         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
11507         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
11508         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
11509         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
11510         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
11511         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
11512         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
11513         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
11514         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
11515         -DREQUIRE_AVX2.
11516         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
11517         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
11518         -DREQUIRE_AVX512F.
11519         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
11520         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
11521         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11522         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
11523         file.
11524         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
11525         Likewise.
11526         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
11527         Likewise.
11528         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
11529         Likewise.
11530         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
11531         Likewise.
11532         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
11533         Likewise.
11534         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
11535         Likewise.
11536         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
11537         Likewise.
11539 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
11541         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
11543 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
11545         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
11546         and typo in a comment about AT_HWCAP entry.
11548 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11550         * sysdeps/aarch64/libm-test-ulps: Updated.
11552 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11554         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
11555         of r13 as it is not restored in mvcle case.
11557 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
11559         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
11560         Rename "ret" to "__ret".
11561         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
11562         inline_syscall5, inline_syscall6): Likewise.
11564 2016-07-19   Will Newton  <will.newton@gmail.com>
11566         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
11567         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
11568         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
11569         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
11570         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
11572 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
11574         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
11575         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
11576         -mfpmath=387 with $(rtld-CFLAGS).
11577         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
11578         $(rtld-CFLAGS).
11580 2016-07-18   Ross Burton  <ross.burton@intel.com>
11581              Khem Raj  <raj.khem@gmail.com>
11583         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
11584         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
11585         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
11586         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
11587         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
11588         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
11589         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
11590         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
11591         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
11592         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
11593         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
11594         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
11595         R_METAG_TLS_DTPOFF): New.
11597 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11598             Matt Clay  <mclay@lycos.com>
11600         [BZ #20357]
11601         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
11602         to call __mpsin/__mpcos and to negate values.
11603         * math/auto-libm-test-in: Add test.
11604         * math/auto-libm-test-out: Regenerate.
11606 2016-07-18  Zack Weinberg  <zackw@panix.com>
11608         * grp/Makefile: Don't install the internal header grp-merge.h.
11610 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11612         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11614 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11616         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
11618 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11620         [BZ #15368]
11621         * sysdeps/unix/sysv/linux/nptl-signals.h
11622         (__nptl_clear_internal_signals): New function.
11623         (__libc_signal_block_all): Likewise.
11624         (__libc_signal_block_app): Likewise.
11625         (__libc_signal_restore_set): Likewise.
11626         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
11627         implementation.
11628         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
11629         the cached pid/tid value in pthread structure.
11631 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
11633         [BZ #20347]
11634         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11636 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11638         [BZ #20348]
11639         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
11640         preadv64, pwrite64 and pwritev64.
11642 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11644         [BZ #20350]
11645         * posix/tst-preadwrite.c: Renamed to ...
11646         * posix/tst-preadwrite-common.c: This.
11647         (PREAD): Removed.
11648         (PWRITE): Likewise.
11649         (STRINGIFY): Likewise.
11650         (STRINGIFY2): Likewise.
11651         (do_prepare): Make it static and remove function arguments.
11652         (do_test): Likewise.
11653         (PREPARE): Updated.
11654         (TEST_FUNCTION): New.
11655         (name): Make it static.
11656         (fd): Likewise.
11657         (do_prepare): Use create_temp_file.
11658         (do_test): Renamed to ...
11659         (do_test_with_offset): This.  Make it static and accept offset.
11660         Properly check return value of PWRITE and PREAD.  Return bytes
11661         read.  Don't close fd nor unlink name.
11662         * posix/tst-preadwrite.c: Rewrite.
11663         * posix/tst-preadwrite64.c: Likewise.
11665 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
11667         [BZ #20309]
11668         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
11669         -mtls-dialect=gnu2 works.
11670         * configure: Regenerated.
11671         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
11672         (tests): Add tst-gnu2-tls1.
11673         (modules-names): Add tst-gnu2-tls1mod.
11674         ($(objpfx)tst-gnu2-tls1): New.
11675         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
11676         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
11677         * elf/tst-gnu2-tls1.c: New file.
11678         * elf/tst-gnu2-tls1mod.c: Likewise.
11679         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
11680         bytes for push in the PLT entry to align the stack.
11682 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11684         [BZ #20349]
11685         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
11687 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11689         [BZ #18707]
11690         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
11691         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
11693 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11695         * sysdeps/unix/sysv/linux/sysdep.h
11696         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
11697         guards.
11698         * misc/tst-preadvwritev-common.c: New file.
11699         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
11700         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
11701         a check for files larger than 2GB.
11703         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11704         (__ASSUME_OFF_DIFF_OFF64): Remove define.
11705         * sysdeps/unix/sysv/linux/pread.c
11706         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
11707         __OFF_T_MATCHES_OFF64_T.
11708         * sysdeps/unix/sysv/linux/pread64.c
11709         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
11710         * sysdeps/unix/sysv/linux/preadv.c
11711         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
11712         * sysdeps/unix/sysv/linux/preadv64.c
11713         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
11714         * sysdeps/unix/sysv/linux/pwrite.c
11715         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
11716         * sysdeps/unix/sysv/linux/pwrite64.c
11717         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
11718         * sysdeps/unix/sysv/linux/pwritev.c
11719         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
11720         * sysdeps/unix/sysv/linux/pwritev64.c
11721         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
11723 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
11725         * sysdeps/unix/sysv/linux/tile/kernel-features.h
11726         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
11728 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11730         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
11732 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
11734         [BZ #20240]
11735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
11736         (CFLAGS-s_modf-ppc32.c): New variable.
11737         (CFLAGS-s_modff-ppc32.c): Likewise.
11738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11739         (CFLAGS-s_modf-ppc64.c): Likewise.
11740         (CFLAGS-s_modff-ppc64.c): Likewise.
11742 2016-07-07  Andreas Schwab  <schwab@suse.de>
11744         [BZ #20263]
11745         * nptl/tst-robust10.c: New test.
11746         * nptl/Makefile (tests): Add tst-robust10.
11748 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
11750         [BZ #20263]
11751         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
11753 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11755         * sysdeps/s390/linkmap.h (struct link_map_machine):
11756         Remove member gotplt and add member jmprel.
11757         * sysdeps/s390/s390-32/dl-machine.h
11758         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
11759         instead of gotplt with &got[3].
11760         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
11761         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11763 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
11765         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
11767 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11769         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
11770         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
11771         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11772         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
11773         * libio/vtables.c (_IO_vtable_check)
11774         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
11775         * libio/libioP.h (IO_set_accept_foreign_vtables)
11776         [!PTR_MANGLE]: Do not call PTR_MANGLE.
11778 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
11780         [BZ #20314]
11781         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
11782         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
11783         $(common-objpfx)cmath.
11784         ($(common-objpfx)cstdlib): New target.
11785         ($(common-objpfx)cmath): Likewise.
11787 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
11789         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
11791 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11793         [BZ #20327]
11794         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
11795         are not part of the string.
11797 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11799         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
11800         * nptl/tst-cancel4-common.h (fifoname): New variable.
11801         (fifofd): Likewise.
11802         (cl_fifo): New function.
11803         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
11804         SIGINT.
11805         (tf_open): Add early cancel test.
11807 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
11809         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
11811 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
11813         * sysdeps/generic/ldsodefs.h
11814         (dl_symbol_visibility_binds_local_p): New inline function.
11815         * elf/dl-addr.c (determine_info): Treat hidden and internal
11816         symbols as local.
11817         * elf/dl-lookup.c (do_lookup_x): Likewise.
11818         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
11820 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
11822         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
11823         invalid exception for a sNaN input.
11824         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11825         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
11826         (__nearbyint_vis3): Likewise
11827         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
11828         (__nearbyintf_vis3): Likewise
11829         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
11830         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
11831         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
11832         Likewise.
11833         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
11834         Likewise.
11836 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
11838         [BZ #20139]
11839         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
11840         (HAVE_AVX512DQ_ASM_SUPPORT): This.
11841         * sysdeps/x86_64/configure.ac: Require assembler from binutils
11842         2.24 or above.
11843         (HAVE_AVX512_ASM_SUPPORT): Removed.
11844         (HAVE_AVX512DQ_ASM_SUPPORT): New.
11845         * sysdeps/x86_64/configure: Regenerated.
11846         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
11847         check unconditional.
11848         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
11849         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11850         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11851         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
11852         Likewise.
11853         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
11854         Likewise.
11855         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
11856         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
11857         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11858         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11859         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
11860         Likewise.
11861         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
11862         Likewise.
11863         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11864         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11865         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
11866         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
11867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
11868         Likewise.
11869         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
11870         Likewise.
11871         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
11872         Likewise.
11873         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
11874         Likewise.
11875         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
11876         Likewise.
11877         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
11878         Likewise.
11879         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
11880         Likewise.
11881         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
11882         Likewise.
11883         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
11884         Likewise.
11885         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
11886         Likewise.
11887         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
11888         Likewise.
11890 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
11892         [BZ #20024]
11893         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
11894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
11895         of this implementation of vector function.
11896         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
11897         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
11898         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
11899         Likewise.
11900         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
11901         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
11902         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
11903         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
11904         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
11905         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
11906         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
11907         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
11908         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
11909         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
11910         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
11911         for testing vector sincos with fixed ABI.
11912         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11913         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11914         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11915         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11916         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11918         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11919         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
11920         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
11921         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
11922         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
11923         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
11924         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
11925         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
11926         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
11927         * sysdeps/x86_64/fpu/Makefile: Added new tests.
11929 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11931         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
11933 2016-06-30  Anton Blanchard  <anton@samba.org>
11935         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11936         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
11937         s_sinf-ppc64.
11938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
11939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
11940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
11941         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
11943 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11946         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
11947         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
11948         e_expf-ppc64.
11949         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
11950         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
11951         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
11952         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
11954 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
11956         [BZ #20277]
11957         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
11958         when SHARED is defined.
11960 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
11962         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
11963         (index_arch_Prefer_ERMS): Likewise.
11964         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
11965         __memcpy_erms for Prefer_ERMS.
11966         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
11967         (__memmove_erms): Enabled for libc.a.
11968         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
11969         __memmove_erms or Prefer_ERMS.
11970         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
11971         __mempcpy_erms for Prefer_ERMS.
11972         * sysdeps/x86_64/multiarch/memset.S (memset): Return
11973         __memset_erms for Prefer_ERMS.
11975 2016-06-30  Andreas Schwab  <schwab@suse.de>
11977         [BZ #20262]
11978         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
11979         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
11980         of memory.
11982 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
11984         [BZ #18645]
11985         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
11986         (test-extras): Add tst-cleanupx4aux.
11987         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
11988         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
11989         tst-cleanupx4aux.o.
11990         * nptl/tst-cleanupx4aux.c: New file.
11992 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
11994         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
11996 2016-06-29  Andreas Schwab  <schwab@suse.de>
11998         [BZ #20260]
11999         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
12000         address before the beginning of the string as an integer to avoid
12001         array-bounds warning.
12003 2016-06-28  Richard Henderson  <rth@redhat.com>
12005         * elf/elf.h (EM_BPF): New.
12006         (EM_NUM): Update.
12007         (R_BPF_NONE, R_BPF_MAP_FD): New.
12009         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
12010         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
12011         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
12012         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
12013         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
12014         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
12015         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
12016         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
12017         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
12018         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
12019         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
12020         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
12021         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
12022         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
12023         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
12024         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
12025         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
12026         (EM_NUM): Update.
12028 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
12030         [BZ #18960]
12031         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
12032         Set _nl_current_LC_CATEGORY_used to two instead of one.
12034 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
12036         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
12037         (do_test): ... this.
12038         (TEST_FUNCTION): New macro.
12039          Include test-skeleton.c.
12040         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
12041         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
12043 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
12045         [BZ #15479]
12046         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
12047         floating-point environment rather than just control word.
12048         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12049         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
12050         floating-point environment, with "invalid" exceptions merged in,
12051         rather than just control word.
12052         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
12053         * math/libm-test.inc (trunc_test_data): Do not allow spurious
12054         "inexact" exceptions.
12056         [BZ #15479]
12057         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
12058         floating-point environment rather than just control word.
12059         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12060         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
12061         floating-point environment, with "invalid" exceptions merged in,
12062         rather than just control word.
12063         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
12064         * math/libm-test.inc (floor_test_data): Do not allow spurious
12065         "inexact" exceptions.
12067         [BZ #15479]
12068         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
12069         floating-point environment rather than just control word.
12070         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12071         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
12072         floating-point environment, with "invalid" exceptions merged in,
12073         rather than just control word.
12074         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
12075         * math/libm-test.inc (ceil_test_data): Do not allow spurious
12076         "inexact" exceptions.
12078 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
12080         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
12081         __libc_vfork.
12082         (__vfork) [IS_IN (libc)]: Remove alias.
12083         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
12084         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12085         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12087 2016-06-24  Torvald Riegel  <triegel@redhat.com>
12089         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
12090         of atomic_compare_and_exchange_bool_rel.
12091         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
12092         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
12093         catomic_compare_and_exchange_bool_rel): Remove.
12094         * sysdeps/aarch64/atomic-machine.h
12095         (atomic_compare_and_exchange_bool_rel): Likewise.
12096         * sysdeps/alpha/atomic-machine.h
12097         (atomic_compare_and_exchange_bool_rel): Likewise.
12098         * sysdeps/arm/atomic-machine.h
12099         (atomic_compare_and_exchange_bool_rel): Likewise.
12100         * sysdeps/mips/atomic-machine.h
12101         (atomic_compare_and_exchange_bool_rel): Likewise.
12102         * sysdeps/microblaze/atomic-machine.h
12103         ( __arch_compare_and_exchange_bool_8_rel,
12104         __arch_compare_and_exchange_bool_16_rel): Likewise.
12105         * sysdeps/powerpc/atomic-machine.h
12106         ( __arch_compare_and_exchange_bool_8_rel,
12107         __arch_compare_and_exchange_bool_16_rel): Likewise.
12108         * sysdeps/powerpc/powerpc32/atomic-machine.h
12109         ( __arch_compare_and_exchange_bool_32_rel,
12110         __arch_compare_and_exchange_bool_64_rel): Likewise.
12111         * sysdeps/powerpc/powerpc64/atomic-machine.h
12112         ( __arch_compare_and_exchange_bool_32_rel,
12113         __arch_compare_and_exchange_bool_64_rel): Likewise.
12114         * sysdeps/tile/atomic-machine.h
12115         (atomic_compare_and_exchange_bool_rel): Likewise.
12117 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
12119         [BZ #20296]
12120         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
12121         when either argument is a NaN.
12122         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
12123         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
12125         * math/libm-test.inc (snan_value_ld): New macro.
12126         (isgreater_test_data): Add sNaN tests.
12127         (isgreaterequal_test_data): Likewise.
12128         (isless_test_data): Likewise.
12129         (islessequal_test_data): Likewise.
12130         (islessgreater_test_data): Likewise.
12131         (isunordered_test_data): Likewise.
12132         (nextafter_test_data): Likewise.
12133         (nexttoward_test_data): Likewise.
12134         (remainder_test_data): Likewise.
12135         (remquo_test_data): Likewise.
12136         (significand_test_data): Likewise.
12137         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
12139 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12141         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
12142         environment macros are defined.
12143         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
12145 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12147         [BZ #20191]
12148         Implement vtable verification in libio.
12149         * Makerules (shlib.lds): Place __libc_IO_vtables section.
12150         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
12151         * debug/vdprintf_chk.c (__vdprintf_chk): Call
12152         _IO_new_file_init_internal instead of _IO_file_init.
12153         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
12154         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
12155         * libio/Makefile (routines): Add vtables.
12156         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
12157         (_IO_init): Remove, not for internal use.
12158         (_IO_init_internal): Declare, internal replacement for _IO_init.
12159         (_IO_file_init): Remove, not for internal use.
12160         (_IO_new_file_init): Remove, not for internal use.
12161         (_IO_new_file_init_internal): Declare, internal replacement for
12162         _IO_new_file_init.
12163         (_IO_old_file_init): Remove, not for internal use.
12164         (_IO_old_file_init_internal): Declare, internal replacement for
12165         _IO_old_file_init.
12166         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
12167         internal use.
12168         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
12169         Declare.
12170         (libio_vtable): New macro.
12171         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
12172         functions.
12173         * libio/fileops.c (_IO_new_file_init_internal): Rename from
12174         _IO_new_file_init.
12175         (_IO_new_file_init): New externally visible wrapper which disables
12176         vtable verification.
12177         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
12178         Define as vtables.
12179         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
12180         (_IO_init): New externally visible wrapper which disables
12181         vtable verification.
12182         * libio/iofdopen.c (_IO_new_fdopen): Call
12183         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
12184         comment.
12185         * libio/iofopen.c (__fopen_internal): Call
12186         _IO_new_file_init_internal instead of _IO_file_init.
12187         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
12188         Define as vtables.
12189         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
12190         _IO_new_file_init_internal instead of _IO_file_init.
12191         * libio/iopopen.c (_IO_new_popen): Likewise.
12192         (_IO_proc_jumps): Define as vtable.
12193         * libio/iovdprintf.c (_IO_vdprintf): Call
12194         _IO_new_file_init_internal instead of _IO_file_init.
12195         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
12196         (__open_memstream): Call _IO_init_internal instead of _IO_init.
12197         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
12198         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
12199         _IO_old_file_init.
12200         (_IO_old_file_init): New externally visible wrapper which disables
12201         vtable verification.
12202         (_IO_old_file_jumps): Define as vtable.
12203         * libio/oldiofdopen.c (_IO_old_fdopen): Call
12204         _IO_old_file_init_internal instead of _IO_old_file_init.
12205         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
12206         * libio/oldiopopen.c (_IO_old_popen): Likewise.
12207         (_IO_old_proc_jumps): Define as vtable.
12208         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
12209         Define as vtables.
12210         * libio/vtables.c: New file.
12211         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
12212         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
12213         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
12214         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
12215         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
12216         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
12217         instead of _IO_init.
12219 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12221         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
12223 2016-06-23  Florian Weimer  <fweimer@redhat.com>
12225         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
12226         potentially unused.
12228 2016-06-22  Florian Weimer  <fweimer@redhat.com>
12230         * test-skeleton.c (write_message): New function.
12231         * malloc/tst-mallocfork2.c (write_message): Remove.
12232         * debug/tst-longjmp_chk2.c (write_indented): New function.
12233         (write_message): Remove.
12234         (stackoverflow_handler): Call write_indented.
12236 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
12238         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
12239         "inexact" exceptions after fnstenv.
12240         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12241         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12242         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12244 2015-06-22  Zack Weinberg  <zackw@panix.com>
12246         * sysdeps/generic/bits/hwcap.h: Moved to ...
12247         * bits/hwcap.h: Here.
12249 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
12251         * sysdeps/aarch64/memcpy.S (memcpy):
12252         Further tuning for performance.
12254 2016-06-21  Florian Weimer  <fweimer@redhat.com>
12256         [BZ #20284]
12257         * malloc/arena.c (reused_arena): Do not return NULL if we start
12258         out with a non-corrupted arena.
12260 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12262         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
12263         * misc/tst-preadvwritev.c: New file.
12264         * misc/tst-preadvwritev64.c: Likewise.
12265         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
12266         usage.
12267         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
12268         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
12269         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
12270         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
12272 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
12274         [BZ #19654]
12275         * sysdeps/x86_64/fpu/Makefile: Added new tests.
12276         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
12277         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
12278         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
12279         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
12280         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
12281         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
12282         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
12283         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
12284         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
12285         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
12286         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
12287         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
12288         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
12289         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
12290         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
12291         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
12292         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
12293         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
12294         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
12295         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
12296         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
12297         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
12298         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
12299         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
12300         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
12302 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12304         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
12305         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
12307 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
12309         * sysdeps/aarch64/memcpy.S (memcpy):
12310         Rewrite of optimized memcpy and memmove.
12311         * sysdeps/aarch64/memmove.S (memmove): Remove
12312         memmove code (merged into memcpy.S).
12314 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12316         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
12317         * sysdeps/generic/dl-dtv.h: New file.
12318         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12319         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
12320         (dtv_t): Remove.
12321         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12322         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
12323         (dtv_t): Remove.
12324         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12325         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
12326         (dtv_t): Remove.
12327         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12328         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
12329         (dtv_t): Remove.
12330         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12331         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
12332         (dtv_t): Remove.
12333         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12334         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
12335         (dtv_t): Remove.
12336         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12337         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
12338         (dtv_t): Remove.
12339         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
12340         (dtv_t): Remove.
12341         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12342         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
12343         (dtv_t): Remove.
12344         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12345         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
12346         (dtv_t): Remove.
12347         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12348         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
12349         (dtv_t): Remove.
12350         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12351         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
12352         (dtv_t): Remove.
12353         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12354         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
12355         (dtv_t): Remove.
12356         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12357         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
12358         (dtv_t): Remove.
12359         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12360         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
12361         (dtv_t): Remove.
12362         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
12363         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
12364         (dtv_t): Remove.
12366 2016-06-20  Florian Weimer  <fweimer@redhat.com>
12368         Revert symbol poisoning of  __malloc_initialize_hook.
12369         * include/stdc-predef.h (__malloc_initialize_hook): Remove
12370         poisoning.
12371         * malloc/Makefile: Remove un-poisoning.
12372         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
12373         instead of old__malloc_initialize_hook.
12374         * malloc/malloc-hooks.h: Likewise.
12375         * malloc/malloc.c: Likewise.
12376         * malloc/mcheck-init.c: Likewise.
12378 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
12380         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
12382 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
12384         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
12385         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
12386         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
12387         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
12389 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12391         * NEWS: Mention addition of nextup and nextdown.
12392         * manual/arith.texi: Document nextup and nextdown.
12393         * manual/libm-err-tab.pl: Add nextup and nextdown.
12394         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
12395         * math/Versions (libm): Add GLIBC_2.24.
12396         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
12397         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
12398         Add new test.
12399         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
12400         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
12401         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
12402         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
12403         (nextup_test_data): Likewise.
12404         (nextdown_test_data): Likewise.
12405         * math/s_nextdown.c: New file.
12406         * math/s_nextdownf.c: Likewise.
12407         * math/s_nextdownl.c: Likewise.
12408         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
12409         F(nextup): New function.
12410         F(nextdown): Likewise.
12411         * math/tgmath.h: Add nextup and nextdown.
12412         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
12413         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
12414         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
12415         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
12416         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
12417         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
12418         Add nextup and nextdown.
12419         (CFLAGS-nldbl-nextup.c): New variable.
12420         (CFLAGS-nldbl-nextdown.c): Likewise.
12421         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
12422         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
12423         * sysdeps/nacl/libm.abilist: Update.
12424         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12425         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12426         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12427         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12428         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12429         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12430         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12431         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12432         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12433         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12434         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12435         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
12437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12438         Likewise.
12439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
12440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
12441         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12442         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12443         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12444         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12445         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
12447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
12448         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12449         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12450         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
12451         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12453 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12455         * manual/pattern.texi: Fix typos & grammar errors.
12457 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12459         * manual/search.texi: Fix typos & grammar errors.
12461 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12463         * manual/message.texi: Fix typos & grammar errors.
12465 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
12467         * manual/contrib.texi: Fix spelling typos.
12468         * manual/crypt.texi: Likewise.
12469         * manual/filesys.texi: Likewise.
12470         * manual/locale.texi: Likewise.
12471         * manual/message.texi: Likewise.
12472         * manual/nss.texi: Likewise.
12473         * manual/string.texi: Likewise.
12475 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12477         * manual/locale.texi: Fix typos & grammar errors.
12479 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12481         * manual/charset.texi: Fix typos & grammar errors.
12483 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12485         * manual/string.texi: Fix typos.
12487 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12489         * manual/ctype.texi: Fix typos.
12491 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
12493         * manual/memory.texi: Fix various typos & grammar errors.
12495 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
12497         [BZ #20255]
12498         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
12499         * math/libm-test.inc (fdim_test_data): Add another test.
12501         [BZ #6796]
12502         [BZ #20255]
12503         [BZ #20256]
12504         * math/s_fdim.c: Include <math_private.h>.
12505         (__fdim): Use math_narrow_eval on result.
12506         * math/s_fdimf.c: Include <math_private.h>.
12507         (__fdimf): Use math_narrow_eval on result.
12508         * sysdeps/i386/fpu/s_fdim.S: Remove file.
12509         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
12510         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
12511         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
12512         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
12513         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
12514         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
12515         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
12516         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
12517         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
12518         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
12519         * math/libm-test.inc (fdim_test_data): Expect errno setting on
12520         overflow.  Add sNaN tests.
12522         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
12523         fpclassify.
12524         * math/s_fdimf.c (__fdimf): Likewise.
12525         * math/s_fdiml.c (__fdiml): Likewise.
12527 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12529         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12530         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
12531         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12532         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12533         ifunc'ed strcasecmp/strncasecmp.
12534         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
12535         [EALIGN]: Removed.
12536         [END]: Likewise.
12537         [__strcasecmp]: Define instead of the above to control symbol name.
12538         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
12539         for __strcasecmp_power8.
12540         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
12541         for __strncasecmp_power8.
12542         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
12543         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
12544         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
12545         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
12546         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
12547         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
12549 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
12551         [BZ #20252]
12552         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
12553         arguments when second argument is a NaN.
12554         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
12555         qNaN tests.
12557         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
12558         (conj_test_data): Likewise.
12559         (copysign_test_data): Likewise.
12560         (creal_test_data): Likewise.
12561         (fma_test_data): Likewise.
12562         (fmod_test_data): Likewise.
12564         [BZ #20250]
12565         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
12566         itself.
12567         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
12568         zero input to itself.
12569         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
12570         Likewise.
12571         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
12572         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
12573         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
12574         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
12575         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
12577 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12579         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
12580         * nptl/tst-cancel4-common.c: New file.
12581         * nptl/tst-cancel4-common.h: Likewise.
12582         * nptl/tst-cancel4.c: Move common definitions to
12583         tst-cancel4-common.{c,h} file.
12584         * nptl/tst-cancel4_1.c: New test.
12585         * nptl/tst-cancel4_2.c: New test.
12587 2016-06-13  Florian Weimer  <fweimer@redhat.com>
12589         [BZ #20248]
12590         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
12591         (write_message): New function.
12592         (stackoverflow_handler): Call it instead of printf, to avoid
12593         excessive stack usage by printf.
12594         (do_test): Restore SIGSEGV, SIGBUS default handlers.
12596 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12598         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
12599         (prio_inherit_missing): Remove define.
12600         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12601         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12602         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
12603         Likewise.
12604         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12605         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12606         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12607         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12608         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12609         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12611 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12613         [BZ #19670]
12614         [BZ #19672]
12616         * io/test-lfs.c (do_prepare): Use xmalloc.
12617         * io/tst-fcntl.c (do_prepare): Likewise.
12618         * libio/tst-fopenloc.c (do_bz17916): Likewise.
12619         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
12620         * login/tst-utmp.c (do_prepare): Likewise.
12621         * posix/tst-exec.c (do_prepare): Likewise.
12622         * posix/tst-pathconf.c (prepare): Likewise.
12623         * posix/tst-spawn.c (do_prepare): Likewise.
12624         * posix/tst-truncate.c (do_prepare): Likewise.
12625         * rt/tst-aio.c (do_prepare): Likewise.
12626         * rt/tst-aio64.c (do_prepare): Likewise.
12628 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12630         [BZ #20237]
12631         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
12632         (get*ent): Set entidx to NULL during initialization.  If entidx is
12633         NULL, start iteration from the beginning.
12635 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12637         * malloc/malloc.c (musable): Return correct size for dumped fake
12638         mmapped chunk.
12640 2016-06-11  Florian Weimer  <fweimer@redhat.com>
12642         [BZ #20222]
12643         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
12644         (_IO_cookie_write): Likewise.
12645         (_IO_cookie_seek): Likewise.
12646         (_IO_cookie_close): Likewise.
12647         (_IO_old_cookie_seek): Likewise.
12648         (set_callbacks): New function.
12649         (_IO_cookie_init): Call set_callbacks to copy callbacks.
12651 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
12653         * locale/programs/localedef.c (oldstyle_tables): Remove.
12654         * locale/programs/localedef.h (oldstyle_tables): Likewise.
12656 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
12658         [BZ #20240]
12659         * math/Makefile (CFLAGS-s_modf.c): New variable.
12660         (CFLAGS-s_modff.c): Likewise.
12661         (CFLAGS-s_modfl.c): Likewise.
12662         * math/libm-test.inc (modf_test_data): Add sNaN tests.
12664 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
12666         [BZ #20215]
12667         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
12668         [!__GNUC_PREREQ (3,2)]: Likewise.
12670 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12672         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
12673         (msghdr.msg_controllen): Likewise.
12674         (cmsghdr.cmsg_len): Likewise.
12675         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
12676         ptw-oldsendmsg.
12677         (CFLAGS-oldrecvmsg.c): Remove rule.
12678         (CFLAGS-oldsendmsg.c): Likewise.
12679         (CFLAGS-recvmsg.c): Add rule.
12680         (CFLAGS-sendmsg.c): Likewise.
12681         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
12682         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
12683         (CFLAGS-recvmsg.c): Remove rule.
12684         (CFLAGS-sendmsg.c): Likewise.
12685         (CFLAGS-oldrecvmsg.c): Likewise.
12686         (CFLAGS-oldsendmsg.c): Likewise.
12687         (CFLAGS-recvmmsg.c): Likewise.
12688         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
12689         to kernel defined interfaces.
12690         (msghdr.msg_controllen): Likewise.
12691         (cmsghdr.cmsg_len): Likewise.
12692         (msghdr.__glibc_reserved1): Remove member.
12693         (msghdr.__glibc_reserved2): Likewise.
12694         (cmsghdr.__glibc_reserved1): Likewise.
12695         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
12696         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
12697         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
12698         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
12699         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
12700         version.
12701         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
12702         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
12703         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
12704         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
12705         Remove recvmsg and sendmsg.
12706         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
12707         Likewise.
12708         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
12709         Likewise.
12710         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
12711         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
12712         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
12713         Likewise.
12714         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
12715         Likewise.
12716         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
12717         [libc] (GLIBC_2.24): Likewise.
12718         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
12719         Likewise.
12720         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
12721         Likewise.
12722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12723         [libc] (GLIBC_2.24): Likewise.
12724         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
12725         Likewise.
12726         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
12727         Likewise.
12728         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
12729         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
12730         Likewise.
12731         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
12732         Likewise.
12733         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
12734         Likewise.
12735         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
12736         Likewise.
12737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
12738         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
12739         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
12740         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
12741         version for {recv,send,recm,sendm}msg.
12742         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12743         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12744         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12745         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12746         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12747         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12748         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12749         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12750         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12751         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12752         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12753         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12755         Likewise.
12756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12757         Likewise.
12758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12760         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12761         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12762         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12763         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12764         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12765         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12768         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12769         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12770         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12772 2016-06-10  Florian Weimer  <fweimer@redhat.com>
12774         [BZ #19564]
12775         Remove __malloc_initialize_hook from the API.
12776         * malloc/malloc.h (__malloc_initialize_hook): Remove.
12777         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
12778         #pragma GCC poison.
12779         * malloc/malloc-hooks.h: New file.
12780         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
12781         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
12782         (old__malloc_initialize_hook): Rename from
12783         __malloc_initialize_hook to evade poisoning.  Turn into compat
12784         symbol.
12785         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
12786         __malloc_initialize_hook.
12787         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
12788         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
12789         * manual/memory.texi (Hooks for Malloc): Remove
12790         __malloc_initialize_hook.  Adjust hook example.
12792 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
12794         [BZ #20235]
12795         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
12796         itself.
12797         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12798         * math/libm-test.inc (log2_test_data): Add sNaN tests.
12800         [BZ #20234]
12801         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
12802         infinity or NaN input to itself.
12804         [BZ #20233]
12805         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
12806         to itself.
12808         [BZ #20232]
12809         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
12810         itself.
12812 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12814         * sysdeps/x86_64/start.S (_start): Always indirect branch to
12815         __libc_start_main via GOT.
12817 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
12819         * sysdeps/x86_64/memcopy.h: New file.
12820         * sysdeps/x86_64/wordcopy.c: Likewise.
12822 2016-06-09  Florian Weimer  <fweimer@redhat.com>
12824         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
12825         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
12826         <cstdlib>.
12827         (optimization_barrier): New.
12828         (do_test): Use it.  Call quick_exit in the global namespace.
12829         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
12830         instead of <cstdlib>, <thread>.
12831         (optimization_barrier): New.
12832         (non_main_thread): Adjust declaration.  Call optimization_barrier.
12833         Call quick_exit in the global namespace.
12834         (do_test): Call optimization_barrier.  Use pthread_create,
12835         pthread_join instead of std::thread.
12837 2016-06-09  Andreas Schwab  <schwab@suse.de>
12839         [BZ #19755]
12840         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
12841         new entries in auto-propagate mode.
12842         * nscd/grpcache.c (cache_addgr): Likewise.
12844 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
12846         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
12847         New functions.
12848         (add_temp_file): Use them.
12850 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
12852         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
12854 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
12856         [BZ #20229]
12857         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
12858         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
12859         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
12861         [BZ #20228]
12862         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
12863         itself.
12864         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12865         * math/libm-test.inc (log10_test_data): Add sNaN tests.
12867         [BZ #20227]
12868         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
12869         itself.
12870         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12871         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12872         * math/libm-test.inc (log_test_data): Add sNaN tests.
12874         [BZ #20226]
12875         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
12876         itself.
12877         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12878         * math/libm-test.inc (exp_test_data): Add sNaN tests.
12879         (exp10_test_data): Likewise.
12880         (expm1_test_data): Likewise.
12882         [BZ #20225]
12883         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
12884         itself.
12885         * math/s_ldexpf.c (__ldexpf): Likewise.
12886         * math/s_ldexpl.c (__ldexpl): Likewise.
12887         * math/w_scalbln.c (__w_scalbln): Likewise.
12888         * math/w_scalblnf.c (__w_scalblnf): Likewise.
12889         * math/w_scalblnl.c (__w_scalblnl): Likewise.
12890         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
12891         (scalbln_test_data): Likewise.
12893         [BZ #20224]
12894         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
12895         argument to itself.
12896         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
12898 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12900         [BZ #19776]
12901         * sysdeps/x86_64/memcpy.S: Make it dummy.
12902         * sysdeps/x86_64/mempcpy.S: Likewise.
12903         * sysdeps/x86_64/memmove.S: New file.
12904         * sysdeps/x86_64/memmove_chk.S: Likewise.
12905         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
12906         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
12907         * sysdeps/x86_64/memmove.c: Removed.
12908         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12909         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12910         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
12911         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12912         Likewise.
12913         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12914         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12915         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12916         memcpy-sse2-unaligned, memmove-avx-unaligned,
12917         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
12918         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12919         (__libc_ifunc_impl_list): Replace
12920         __memmove_chk_avx512_unaligned_2 with
12921         __memmove_chk_avx512_unaligned.  Remove
12922         __memmove_chk_avx_unaligned_2.  Replace
12923         __memmove_chk_sse2_unaligned_2 with
12924         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
12925         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
12926         with __memmove_avx512_unaligned.  Replace
12927         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
12928         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
12929         with __memcpy_chk_avx512_unaligned.  Remove
12930         __memcpy_chk_avx_unaligned_2.  Replace
12931         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
12932         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
12933         Replace __memcpy_avx512_unaligned_2 with
12934         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
12935         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
12936         with __mempcpy_chk_avx512_unaligned.  Remove
12937         __mempcpy_chk_avx_unaligned_2.  Replace
12938         __mempcpy_chk_sse2_unaligned_2 with
12939         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
12940         Replace __mempcpy_avx512_unaligned_2 with
12941         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
12942         Replace __mempcpy_sse2_unaligned_2 with
12943         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
12944         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
12945         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
12946         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
12947         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
12948         (ENTRY): Removed.
12949         (END): Likewise.
12950         (ENTRY_CHK): Likewise.
12951         (libc_hidden_builtin_def): Likewise.
12952         Don't include ../memcpy.S.
12953         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
12954         __memcpy_chk_avx512_unaligned_erms and
12955         __memcpy_chk_avx512_unaligned.  Use
12956         __memcpy_chk_avx_unaligned_erms and
12957         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12958         Default to __memcpy_chk_sse2_unaligned.
12959         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12960         Change function suffix from unaligned_2 to unaligned.
12961         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
12962         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
12963         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
12964         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
12965         (ENTRY): Removed.
12966         (END): Likewise.
12967         (ENTRY_CHK): Likewise.
12968         (libc_hidden_builtin_def): Likewise.
12969         Don't include ../mempcpy.S.
12970         (mempcpy): New.  Add a weak alias.
12971         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
12972         __mempcpy_chk_avx512_unaligned_erms and
12973         __mempcpy_chk_avx512_unaligned.  Use
12974         __mempcpy_chk_avx_unaligned_erms and
12975         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
12976         Default to __mempcpy_chk_sse2_unaligned.
12978 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
12980         [BZ #19881]
12981         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
12982         into ...
12983         * sysdeps/x86_64/memset.S: This.
12984         (__bzero): Removed.
12985         (__memset_tail): Likewise.
12986         (__memset_chk): Likewise.
12987         (memset): Likewise.
12988         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
12989         defined.
12990         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
12991         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
12992         (__memset_zero_constant_len_parameter): Check SHARED instead of
12993         PIC.
12994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12995         memset-avx2 and memset-sse2-unaligned-erms.
12996         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12997         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
12998         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
12999         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13000         (__bzero): Enabled.
13001         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
13002         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
13003         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
13004         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
13005         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13006         (memset): Removed.
13007         (__memset_chk): Likewise.
13008         (MEMSET_SYMBOL): New.
13009         (libc_hidden_builtin_def): Replace __memset_sse2 with
13010         __memset_sse2_unaligned.
13011         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
13012         __memset_chk_sse2 and __memset_chk_avx2 with
13013         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
13014         Use __memset_chk_sse2_unaligned_erms or
13015         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
13016         __memset_chk_avx512_unaligned_erms and
13017         __memset_chk_avx512_unaligned.
13019 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13021         * math/gen-auto-libm-test.c (fp_format_desc): remove
13022         suffix member.
13023         (output_generic_value): Remove usage of suffix member,
13024         and the resulting unuse of the fp_format argument.
13025         (output_for_one_input_case): Remove unused fp_format
13026         parameter.
13028         * math/auto-libm-test-out: Regenerate.
13030         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
13031         usage with TEST_COND_ibm128.
13032         (TEST_COND_flt_32): Remove.
13033         (TEST_COND_dbl_64): Remove.
13034         (TEST_COND_ldbl_96_intel): Remove.
13035         (TEST_COND_ldbl_96_m68k): Remove.
13036         (TEST_COND_ldbl_128): Remove.
13038 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13040         * auto-libm-test-in:
13041         Replace flt-32 usage with binary32.
13042         Replace dbl-64 usage with binary64.
13043         Replace ldbl-intel-96 usage with intel96.
13044         Replace ldbl-m68k-96 usage with m68k96.
13045         Replace ldbl-128ibm usage with ibm128.
13046         Replace ldbl-128 usage with binary128.
13048         * auto-libm-test-out: Regenerate.
13050 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13052         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
13053         (parse_ulps): Dynamically generate type name matching
13054         string from all_floats.
13055         (get_ulps): Generate the ulps as an array instead.
13056         (output_ulps): Dynamically compose the type based
13057         on the number of supported formats, and print
13058         the indices as type specific helper macros.
13060         * math/libm-test.inc: Remove comment about CHOOSE.
13061         (ulp_data): Generate the type in libm-test-ulps.h.
13062         (ULP_IDX): New macro.
13063         (find_ulps): Update usage of max_ulp.
13065         * math/test-double-vlen2.h (CHOOSE): Remove.
13066         * math/test-double-vlen4.h (CHOOSE): Likewise.
13067         * math/test-double-vlen8.h (CHOOSE): Likewise.
13068         * math/test-float.c (CHOOSE): Likewise.
13069         * math/test-float-finite.c (CHOOSE): Likewise.
13070         * math/test-double.c (CHOOSE): Likewise.
13071         * math/test-double-finite.c (CHOOSE): Likewise.
13072         * math/test-idouble.c (CHOOSE): Likewise.
13073         * math/test-ifloat.c (CHOOSE): Likewise.
13074         * math/test-ildoubl.c (CHOOSE): Likewise.
13075         * math/test-ldouble-finite.c (CHOOSE): Likewise.
13076         * math/test-ldouble.c (CHOOSE): Likewise.
13078         * math/test-float.h (TEST_FLOAT): Remove.
13079         * math/test-double.h (TEST_DOUBLE): Likewise.
13080         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
13082 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13084         * math/gen-libm-test.pl: (apply_lit): New subroutine.
13085         (parse_args): Strip C suffix from floating point literals
13086         typed with 'f' and wrap them with LIT().
13088         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
13089         (test_ff_f_data_nexttoward): Rename to
13090         (test_fj_f_data): New struct.
13091         (nexttoward_test_data): Relabel tests as
13092         TEST_fj_f instead of TEST_ff_f.
13094 2016-06-08  Florian Weimer  <fweimer@redhat.com>
13096         Emacs bug 23726.
13097         * malloc/malloc.c (dumped_main_arena_start): Update comment.
13098         (__libc_realloc): Correct size computation for dumped fake mmapped
13099         chunks.
13101 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
13103         [BZ #20219]
13104         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
13105         to itself.
13106         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
13108         [BZ #20218]
13109         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
13110         to itself.
13111         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
13113 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
13115         [BZ #20195]
13116         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
13117         check to ...
13118         (init_cpu_features): Here.
13120 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
13122         [BZ #20214]
13123         * sysdeps/unix/sysv/linux/bits/in.h
13124         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13125          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
13126         Define to 1.
13127         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
13128          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
13129         Define to 0.
13130         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
13131         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
13133 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
13135         [BZ #20198]
13136         * stdlib/Makefile (tests): Add tst-quick_exit, and
13137         tst-thread-quick_exit.
13138         [ifeq ($(have-cxx-thread_local),yes)]
13139         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
13140         (CFLAGS-tst-thread-quick_exit.o): Likewise.
13141         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
13142         (LDLIBS-tst-thread-quick_exit): Likewise.
13143         [ifneq ($(have-cxx-thread_local),yes)]
13144         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
13145         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
13146         If run_dtors is true call __call_tls_dtors.
13147         (exit): Call __run_exit_handlers with run_dtors set to true.
13148         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
13149         definition.
13150         * stdlib/quick_exit.c (quick_exit): Remove function.
13151         (__new_quick_exit): New function.
13152         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
13153         function.
13154         * stdlib/tst-quick_exit.cc: New file.
13155         * stdlib/tst-thread-quick_exit.cc: New file.
13156         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
13157         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
13158         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
13159         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
13160         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
13161         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
13162         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
13163         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
13164         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
13165         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
13166         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
13167         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
13168         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
13169         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
13170         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
13171         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
13173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
13174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
13175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
13176         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
13177         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
13178         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
13179         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
13180         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
13181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
13182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
13183         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
13184         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
13185         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
13187 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
13189         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
13190         a typo in comments.
13192 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13194         [BZ #20213]
13195         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
13196         argument to itself.
13197         * math/libm-test.inc (asin_test_data): Add sNaN tests.
13199 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13201         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
13202         required flags.
13203         (CFLAGS-pwritev64.c): Likewise.
13204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
13205         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13206         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
13207         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13208         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
13209         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
13210         syscall from auto-generation.
13211         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
13212         [WORDSIZE == 64] (pwritev64): Remove macro.
13213         [!PWRITEV] (PWRITEV): Likewise.
13214         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13215         [!PWRITEV] (PWRITE): Likewise.
13216         [!PWRITEV] (OFF_T): Likewise.
13217         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
13218         (LO_HI_LONG): Remove macro.
13219         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
13220         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
13221         (PWRITEV): Remove macro.
13222         (PWRITEV_REPLACEMENTE): Likewise.
13223         (PWRITE): Likewise.
13224         (OFF_T): Likewise.
13225         (pwritev64): New function.
13226         * nptl/tst-cancel4.c (tf_writev): Add test.
13228         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
13229         required flags.
13230         (CFLAGS-preadv64.c): Likewise.
13231         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
13232         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13233         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
13234         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
13235         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
13236         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
13237         syscall from auto-generation.
13238         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
13239         [WORDSIZE == 64] (preadv64): Remove macro.
13240         [!PREADV] (PREADV): Likewise.
13241         [!PREADV] (PREADV_REPLACEMENT): Likewise.
13242         [!PREADV] (PREAD): Likewise.
13243         [!PREADV] (OFF_T): Likewise.
13244         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
13245         (LO_HI_LONG): Remove macro.
13246         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
13247         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
13248         (PREADV): Remove macro.
13249         (PREADV_REPLACEMENTE): Likewise.
13250         (PREAD): Likewise.
13251         (OFF_T): Likewise.
13252         (preadv64): New function.
13253         * nptl/tst-cancel4.c (tf_preadv): Add test.
13255 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
13257         [BZ #20212]
13258         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
13259         argument to itself.
13260         * math/libm-test.inc (acos_test_data): Add sNaN tests.
13262 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13264         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
13265         New symbol defined as libc_hidden_def.
13266         (strcasestr): Became a weak alias to __strcasestr.
13267         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
13268         according to multi-arch support.  Move __stpncpy hidden
13269         definition from here to...
13270         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
13271         symbol stpncpy.
13272         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
13273         libc_hidden_builtin_def.
13274         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
13275         memset symbol to use when multi-arch support is available.
13277 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13279         * dlfcn/tst-rec-dlopen.c: Include string.h.
13281 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13283         * manual/install.texi: Remove mention of --without-tls
13284         * INSTALL: Regenerate.
13286 2016-06-05  Florian Weimer  <fweimer@redhat.com>
13288         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
13289         Remove.
13290         (call_function, interposed_malloc_called): New variables.
13291         (malloc): New function.
13292         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
13293         and clear call_function as needed.
13295 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
13297         * include/wchar.h (__wmemset): Use __typeof.
13299 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
13301         * include/wchar.h (__wmemset): Declare function without typeof.
13303 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
13305         [BZ #20205]
13306         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
13307         exponent when incrementing negative subnormal with low mantissa
13308         word zero.
13309         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
13310         Add another test.
13312 2016-06-03  Florian Weimer  <fweimer@redhat.com>
13314         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
13315         __wmemset instead of wmemset.
13317 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
13319         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
13320         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
13321         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
13322         __USE_KERNEL_IPV6_DEFS to 0.
13323         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
13324         Update comment.
13326 2016-06-01  Florian Weimer  <fweimer@redhat.com>
13328         [BZ #19861]
13329         Do not use IFUNC resolver with potentially unrelocated symbol.
13330         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
13331         (DEFINE_FORK): Remove macro and inline definition.
13332         (fork_alias): Renamed from fork_ifunc.
13333         (__fork_alias): Renamed from __fork_ifunc.
13335 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
13337         [BZ 19653]
13338         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
13339         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
13341 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13343         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
13344         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
13345         i386-linux-gnu).
13346         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
13347         Set to no.
13348         * sysdeps/mach/hurd/configure: Refresh.
13350 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13352         [BZ #20178]
13353         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
13354         on failure instead of exit.
13356 2016-05-30  Roland McGrath  <roland@hack.frob.com>
13358         [BZ #3629]
13359         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
13360         of POSIX.1-2008.
13362 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13364         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
13365           Use PLT entry for calling _hurd_self_sigstate.
13367 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
13369         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
13370         available logical processors with SMT level type sharing L2
13371         cache for Intel processors.
13373 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13375         [BZ #20160]
13376         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
13377         argument to itself before returning the result.
13378         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13379         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13380         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13381         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13382         Likewise.
13383         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13384         Likewise.
13385         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
13386         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
13387         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13388         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13389         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13390         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13392         [BZ #20160]
13393         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
13394         argument to itself before returning the result.
13395         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13396         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13397         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13398         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
13399         Likewise.
13400         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13401         Likewise.
13402         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
13403         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
13404         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
13405         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13406         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13407         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13409 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13411         * libm-test.inc: Replace usage of M_El with
13412         (lit_e): New macro.
13414 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13416         * libm-test.inc: Replace usage of M_PI_4l with
13417         (lit_pi_4_d): New macro.
13419 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13421         * libm-test.inc: Replace usage of M_PIl with
13422         (lit_pi): New macro.
13424 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13426         * libm-test.inc: Replace usage of M_PI2l with
13427         (lit_pi_2_d): New macro.
13429         * math/test-double.h (LITM): New macro.
13430         * math/test-float.h (LITM): Likewise.
13431         * math/test-ldouble.h (LITM): Likewise.
13433 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13435         * libm-test.inc (M_PI_34l): Rename to
13436         (lit_pi_3_m_4_d): New Macro.
13437         (M_PI_34_LOG10El): Rename to
13438         (lit_pi_3_m_4_ln10_m_d): New Macro.
13439         (M_PI2_LOG10El): Rename to
13440         (lit_pi_2_ln10_m_d):  New Macro.
13441         (M_PI4_LOG10El): Rename to
13442         (lit_pi_4_ln10_m_d):  New Macro.
13443         (M_PI_LOG10El): Rename to
13444         (lit_pi_ln10_d):  New Macro.
13446 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13448         [BZ #20157]
13449         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
13450         determine whether to negate low half if [_ARCH_PPCGR], and integer
13451         comparison otherwise.
13452         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
13453         determine whether to negate low half.
13455         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
13456         (NO_TEST_INLINE_DOUBLE): Likewise.
13457         (TEST_COND_x86_64): Likewise.
13458         (TEST_COND_x86): Likewise.
13459         (M_PI_6l): Likewise.
13461 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13463         * math/libm-test.inc:
13464         (TEST_FLOAT): Change usage to TEST_COND_binary32.
13465         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
13466         (TEST_LDOUBLE): Update usage to evaluate as true if
13467         the guarded tests match the property being tested.
13468         (LDBL_MAX_EXP): Change to MAX_EXP.
13469         (LDBL_MIN_EXP): Change to MIN_EXP.
13470         (LDBL_MANT_DIG): Change to MANT_DIG, except for
13471         nexttoward tests.
13473 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13475         * math/libm-test.inc:
13476         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
13477         (TYPE_MIN): Likewise.
13478         (TYPE_TRUE_MIN): Likewise.
13479         (TYPE_MAX): Likewise.
13480         (MIN_EXP): Likewise.
13481         (MAX_EXP): Likewise.
13482         (MANT_DIG): Likewise.
13484         (FSTR_MAX): New macro.
13485         (__CONCATX): Likewise.
13486         (QTYPE_STR): Likewise.
13487         (TEST_COND_binary32): Likewise.
13488         (TEST_COND_binary64): Likewise.
13489         (TEST_COND_binary128): Likewise.
13490         (TEST_COND_ibm128): Likewise.
13491         (TEST_COND_intel96): Likewise.
13492         (TEST_COND_m68k96): Likewise.
13494         (TEST_COND_flt_32): Redefine as equivalent format test macro.
13495         (TEST_COND_dbl_64): Likewise.
13496         (TEST_COND_ldbl_96_intel): Likewise.
13497         (TEST_COND_ldbl_96_m68k): Likewise.
13498         (TEST_COND_ldbl_128): Likewise.
13499         (TEST_COND_ldbl_128ibm): Likewise.
13501         (plus_zero): Redefine using LIT macro.
13502         (minus_zero): Likewise.
13503         (plus_infty): Redefine as (INF).
13504         (minux_infty): Redefine as (-INF).
13505         (max_value): Redefine as TYPE_MAX.
13506         (min_value): Redefine as TYPE_MIN.
13507         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
13509         (print_float): Refactor to use snprintf to convert FLOAT values
13510         to string. This brings it closer to dropin replacement of strtof
13511         for the TS 18661 defined types.
13512         (update_stats): Likewise.
13513         (print_complex_function_ulps): Likewise.
13514         (print_max_error): Likewise.
13515         (print_complex_max_error): Likewise.
13516         (check_float_internal): Likewise.
13518         * math/test-float.h (PREFIX): New macro.
13519         (LIT): Likewise.
13520         (TYPE_STR): Likewise.
13521         (FTOSTR): Likewise.
13523         * math/test-double.h (PREFIX): New macro.
13524         (LIT): Likewise.
13525         (TYPE_STR): Likewise.
13526         (FTOSTR): Likewise.
13528         * math/test-ldouble.h (PREFIX): New macro.
13529         (LIT): Likewise.
13530         (TYPE_STR): Likewise.
13531         (FTOSTR): Likewise.
13533 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
13535         [BZ #20156]
13536         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
13537         to itself when zero or not finite.
13538         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
13539         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
13540         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
13541         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
13543 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
13545         [BZ #20153]
13546         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
13547         x * x + x for infinities and NaNs.
13549         [BZ #20151]
13550         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
13551         argument to itself before returning result.
13552         (__ieee754_y0l): Likewise.
13553         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13554         (__ieee754_y1l).
13556         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
13557         (atan_test_data): Likewise.
13558         (ceil_test_data): Likewise.
13559         (cos_test_data): Likewise.
13560         (cosh_test_data): Likewise.
13561         (erf_test_data): Likewise.
13562         (exp2_test_data): Likewise.
13563         (fabs_test_data): Likewise.
13564         (floor_test_data): Likewise.
13565         (ilogb_test_data): Likewise.
13566         (j0_test_data): Likewise.
13567         (j1_test_data): Likewise.
13568         (jn_test_data): Likewise.
13569         (lgamma_test_data): Likewise.
13570         (lrint_test_data): Likewise.
13571         (llrint_test_data): Likewise.
13572         (logb_test_data): Likewise.
13573         (lround_test_data): Likewise.
13574         (llround_test_data): Likewise.
13575         (nearbyint_test_data): Likewise.
13576         (rint_test_data): Likewise.
13577         (round_test_data): Likewise.
13578         (sin_test_data): Likewise.
13579         (sincos_test_data): Likewise.
13580         (sinh_test_data): Likewise.
13581         (sqrt_test_data): Likewise.
13582         (tan_test_data): Likewise.
13583         (tanh_test_data): Likewise.
13584         (tgamma_test_data): Likewise.
13585         (trunc_test_data): Likewise.
13586         (y0_test_data): Likewise.
13587         (y1_test_data): Likewise.
13588         (yn_test_data): Likewise.
13590         * math/libm-test.inc: Update comment about NaN testing.
13591         (TEST_SNAN): New macro.
13592         (snan_value): Likewise.
13593         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
13594         (fpclassify_test_data): Add sNaN tests.
13595         (isfinite_test_data): Likewise.
13596         (isinf_test_data): Likewise.
13597         (isnan_test_data): Likewise.
13598         (isnormal_test_data): Likewise.
13599         (issignaling_test_data): Likewise.
13600         (signbit_test_data): Likewise.
13601         * math/gen-libm-test.pl (%beautify): Add snan_value.
13602         (show_exceptions): Add argument $test_snan.
13603         (parse_args): Handle snan_value as non-finite.  Update call to
13604         show_exceptions.
13605         * math/Makefile (libm-test-no-inline-cflags): Add
13606         -fsignaling-nans.
13608 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13610         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
13611         (CFLAGS-oldsendmsg.c): Add rule.
13612         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
13613         Correct recvmsg symbol name.
13614         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
13615         Likewise.
13617 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13619         * sysdeps/unix/sysv/linux/Makefile
13620         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
13621         oldsendmmsg.
13622         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
13623         sendmmsg.
13624         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13625         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13626         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13627         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13629         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13630         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
13632         Likewise.
13633         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13634         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
13635         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
13636         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
13637         iovlen and controllen fields to adjust to POSIX specification.
13638         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
13640         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
13641         and change to correct expected type.
13642         (msghdr.msg_controllen): Likewise.
13643         (cmsghdr.cmsg_len): Likewise.
13644         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
13645         expected POSIX assumption about the size.
13646         (msghdr.msg_controllen): Likewise.
13647         (msghdr.__glibc_reserved1): Likewise.
13648         (msghdr.__glibc_reserved2): Likewise.
13649         (cmsghdr.cmsg_len): Likewise.
13650         (cmsghdr.__glibc_reserved1): Likewise.
13651         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
13652         Add ptw-oldrecvmsg and ptw-oldsendmsg.
13653         (CFLAGS-sendmsg.c): Remove rule.
13654         (CFLAGS-recvmsg.c): Likewise.
13655         (CFLAGS-oldsendmsg.c): Add rule.
13656         (CFLAGS-oldrecvmsg.c): Likewise.
13657         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
13658         recvmsg and sendmsg.
13659         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
13660         Likewise.
13661         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
13662         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
13663         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
13664         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
13665         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
13666         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
13667         Likewise.
13668         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
13669         Likewise.
13670         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
13671         Likewise.
13672         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
13673         Likewise.
13674         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
13675         Likewise.
13676         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
13677         Likewise.
13678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
13679         (GLIBC_2.24): Likewise.
13680         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
13681         Likewise.
13682         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
13683         Likewise.
13684         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
13685         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
13686         Likewise.
13687         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
13688         Likewise.
13689         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
13690         Likewise.
13691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
13692         (GLIBC_2.24): Likewise.
13693         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
13694         Likewise.
13695         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
13696         Likewise.
13697         * sysdeps/unix/sysv/linux/Makefile
13698         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
13699         (CFLAGS-sendmsg.c): Add rule.
13700         (CFLAGS-recvmsg.c): Likewise.
13701         (CFLAGS-oldsendmsg.c): Likewise.
13702         (CFLAGS-oldrecvmsg.c): Likewise.
13703         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
13704         initialization.
13705         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13706         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13707         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
13708         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
13709         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
13710         iovlen and controllen fields to adjust to POSIX specification.
13711         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
13712         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
13713         added recvmsg and sendmsg.
13714         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13715         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13716         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13717         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13718         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13719         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13720         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13721         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13722         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13723         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13724         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13725         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
13726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13727         Likewise.
13728         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
13729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13730         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13731         Likewise.
13732         Likewise.
13733         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13734         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13735         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13736         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13737         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13738         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13740         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13742         Likewise.
13743         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13744         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13746         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
13747         from auto-generation.
13748         (sendmsg): Likewise.
13749         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
13750         (sendmsg): Likewise.
13751         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
13752         (sendmsg): Likewise.
13753         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
13754         (sendmsg): Likewise.
13755         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
13756         (sendmsg): Likewise.
13757         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
13758         (sendmsg): Likewise.
13759         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
13760         Likewise.
13761         (sendmsg): Likewise.
13762         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
13763         (sendmsg): Likewise.
13764         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13765         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13766         Remove.
13767         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13768         Likewise.
13769         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13770         Undefine.
13771         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13772         Likewise.
13773         * sysdeps/unix/sysv/linux/kernel-features.h
13774         (__ASSUME_SENDMSG_SYSCALL): Define.
13775         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13776         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13777         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13778         Remove.
13779         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13780         Likewise.
13781         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13782         Undefine.
13783         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13784         Likewise.
13785         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13786         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13787         Remove.
13788         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13789         Likewise.
13790         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
13791         Undefine.
13792         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
13793         Likewise.
13794         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13795         (__ASSUME_SENDMSG_SYSCALL): Undefine.
13796         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13797         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13798         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13799         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13800         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13801         (__ASSUME_SENDMSG_SYSCALL): Likewise.
13802         (__ASSUME_RECVMSG_SYSCALL): Likewise.
13804 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13806         * stdlib/gen-tst-strtod-round.c: Add backslash to
13807         compile command in comment.
13808         (printfp): Remove the literal suffix, and define an infinite
13809         value as INF to avoid expansion clash with INFINITY.
13810         (round_str): Remove the literal suffix.
13811         (round_for_all): Likewise, remove the now duplicate ldbl-64
13812         entry, and remove some magic constants.
13814         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
13815         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
13816         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
13817         (_CONCAT): New macro.
13818         (CONCAT): Likewise.
13819         (CHOOSE_ld): Likewise.
13820         (CHOOSE_f): Likewise.
13821         (CHOOSE_d): Likewise.
13822         (FTYPE_MEMBER): Likewise.
13823         (BOOL_MEMBER): Likewise.
13824         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
13825         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
13826         (_XNTRY): Likewise.
13827         (XNTRY): Likewise.
13828         (_ENTRY): Likewise.
13829         (ENTRY): Likewise.
13830         (test_exactness): Generate members via macro.
13831         (test_results): Likewise.
13832         (test): Update members.
13833         (TEST): Redefine using new macros.
13834         (INF): New macro.
13835         (fetestmodes): New structure.
13836         (do_test): Refactor to be type generic.
13837         (test_in_one_mode): Refactor duplicate code into
13838         (GEN_ONE_TEST): New macro.
13840         * stdlib/tst-strtod-round-data.h: Regenerate.
13842         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
13843         Extend to pass additional arbitrary parameters to
13844         generators.
13846 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
13848         [BZ #15479]
13849         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
13850         floating-point state after first floating-point operation on
13851         input.  Restore full floating-point state instead of just rounding
13852         mode.
13853         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
13854         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
13855         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
13856         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
13857         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
13859         [BZ #15479]
13860         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
13861         floating-point state after first floating-point operation on
13862         input.  Restore full floating-point state instead of just rounding
13863         mode.
13864         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
13865         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
13866         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
13867         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
13868         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
13870 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13872         [BZ #19727]
13873         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
13874         valid high surrogate.
13875         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
13876         of an utf16 surrogate.
13877         * iconv/gconv_simple.c (BODY): Likewise.
13878         * iconvdata/bug-iconv12.c: New file.
13879         * iconvdata/Makefile (tests): Add bug-iconv12.
13881 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13883         [BZ #19726]
13884         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
13885         outptrp in case of an illegal input.
13886         * iconv/tst-iconv6.c: New file.
13887         * iconv/Makefile (tests): Add tst-iconv6.
13889 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13891         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
13892         an error in case of a value in range of an utf16 low surrogate.
13894 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13896         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
13897         an error in case of a value in range of an utf16 low surrogate.
13899 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13901         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
13902         Move to ...
13903         * sysdeps/s390/Makefile: ... here.
13904         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
13905         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
13906         (BRANCH_ON_COUNT): New define.
13907         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
13908         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
13909         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
13910         run on s390-32, too.
13911         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
13912         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
13913         run on s390-32, too.
13914         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
13915         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
13916         run on s390-32, too.
13918 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13920         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
13921         etf3eh or new vector loop-variant.
13923 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13925         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
13926         etf3eh or new vector loop-variant.
13928 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13930         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
13931         or new vector loop-variant.
13933 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13935         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
13936         Rename to TR_LOOP and usage of tr instead of troo instruction.
13938 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13940         * sysdeps/s390/multiarch/gconv_simple.c: New File.
13941         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
13943 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13945         * sysdeps/s390/multiarch/8bit-generic.c: New File.
13946         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
13947         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
13948         New override define.
13949         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
13951 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13953         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
13954         * sysdeps/s390/configure.ac: Add test for S390 vector register
13955         support in gcc.
13956         * sysdeps/s390/configure: Regenerated.
13958 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
13960         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
13961         Install file from $(objpfx)gconv-modules.
13962         ($(objpfx)gconv-modules): Concatenate architecture specific file
13963         in variable sysdeps-gconv-modules and gconv-modules in src dir.
13964         * sysdeps/s390/gconv-modules: New file.
13965         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
13966         Deleted.
13967         ($(objpfx)gconv-modules-s390): Deleted.
13968         (sysdeps-gconv-modules): New variable.
13970 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
13972         [BZ #15479]
13973         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
13974         of immediate operand to rounding instruction.
13975         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
13976         Likewise.
13977         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
13978         Likewise.
13979         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
13980         Likewise.
13982 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13984         * math/libm-test.inc (MIN_EXP): Directly define as
13985         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
13987 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13989         * math/libm-test.inc (MANT_DIG): Directly define as
13990         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
13992 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13994         * stdlib/gen-tst-strtod-round.c (main):
13995           Change usage to more closely match the generated
13996           output.  Add usage and compilation instructions.
13997           (string_to_fp): Add and use FILE* parameter as
13998           output target.
13999           (print_fp): Likewise.
14000           (round_str): Likewise.
14001           (round_for_all): Likewise.
14002         * stdlib/tst-strtod-round.c (tests): Move into
14003         * stdlib/tst-strtod-round-data.h: New file.
14005 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
14007         [BZ #15479]
14008         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
14009         (__round): Do not force "inexact" exception.
14010         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
14011         variable.
14012         (__round): Do not force "inexact" exception.
14013         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
14014         (__roundf): Do not force "inexact" exception.
14015         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
14016         (__roundl): Do not force "inexact" exception.
14017         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
14018         (__roundl): Do not force "inexact" exception.
14019         * math/libm-test.inc (round_test_data): Do not allow spurious
14020         "inexact" exceptions.
14022         [BZ #15479]
14023         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
14024         exception in comment.
14025         (huge): Remove variable.
14026         (__floor): Do not force "inexact" exception.
14027         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
14028         "inexact" exception in comment.
14029         (huge): Remove variable.
14030         (__floor): Do not force "inexact" exception.
14031         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
14032         exception in comment.
14033         (huge): Remove variable.
14034         (__floorf): Do not force "inexact" exception.
14035         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
14036         exception in comment.
14037         (huge): Remove variable.
14038         (__floorl): Do not force "inexact" exception.
14040         [BZ #15479]
14041         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
14042         exception in comment.
14043         (huge): Remove variable.
14044         (__ceil): Do not force "inexact" exception.
14045         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
14046         "inexact" exception in comment.
14047         (huge): Remove variable.
14048         (__ceil): Do not force "inexact" exception.
14049         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
14050         (__ceilf): Do not force "inexact" exception.
14051         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
14052         exception in comment.
14053         (huge): Remove variable.
14054         (__ceill): Do not force "inexact" exception.
14056 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
14058         * config.h.in (BIND_NOW): New.
14059         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
14060         * configure: Regenerated.
14061         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
14062         indirect branch via the GOT slot.
14064 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14066         [BZ #19765]
14067         * sysdeps/s390/mempcpy.S: New File.
14068         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
14069         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
14070         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14071         Add mempcpy variants.
14072         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
14073         (memcpy): Adjust to be usable from mempcpy entry point.
14074         (__memcpy_mvcle): Likewise.
14075         * sysdeps/s390/s390-64/memcpy.S: Likewise.
14076         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
14077         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
14078         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
14079         (__memcpy_z10): Likewise.
14080         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14082 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14084         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
14085         Remove __GI_ symbol.
14086         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
14087         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
14088         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
14089         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
14090         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
14091         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
14093 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14095         * sysdeps/s390/s390-64/memcpy.S (memcpy):
14096         Use cghi instead of chi to compare 64bit value.
14098 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14100         * sysdeps/s390/s390-32/memcpy.S (memcpy):
14101         Jump to 1MB check before executing mvc-loop.
14103 2016-05-24  Florian Weimer  <fweimer@redhat.com>
14105         [BZ #6527]
14106         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
14107         unconditionally.
14108         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
14110 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14112         * stdlib/tst-strtod6.c (do_test): Use new type generic
14113         invocation of the test function.
14114         (test): Refactor into ...
14115         (TEST_STRTOD): New macro base function.
14117 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14119         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
14120         (TEST_STRTOD): New macro.
14121         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
14123 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14125         * stdlib/tst-strtod6.c (do_test): Use new type generic
14126         invocation of the test function.
14127         (test): Refactor into ...
14128         (TEST_STRTOD): New macro base function.
14130 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14132         CVE-2016-4429
14133         [BZ #20112]
14134         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
14135         payload.
14137 2016-05-23  Florian Weimer  <fweimer@redhat.com>
14139         [BZ #20111]
14140         * bits/sockaddr.h (_SS_SIZE): Define.
14141         * bits/socket.h (_SS_SIZE): Remove.
14142         (_SS_PADSIZE): Adjust to account for all padding.
14143         (struct sockaddr_storage): Update comment.  Avoid implicit
14144         padding.
14145         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
14146         (_SS_PADSIZE): Adjust to account for all padding.
14147         (struct sockaddr_storage): Update comment.  Avoid implicit
14148         padding.
14149         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
14150         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
14151         (_SS_PADSIZE): Adjust to account for all padding.
14152         (struct sockaddr_storage): Update comment.  Avoid implicit
14153         padding.
14154         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
14155         __SS_SIZE is 126 in this version.
14156         * inet/tst-sockaddr.c: New file.
14157         * inet/Makefile (tests): Add tst-sockaddr.c
14158         (tst-sockaddr.c): Compile with non-strict aliasing.
14160 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
14162         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
14163         [XPG3 || XPG4].
14164         (NL_ARGMAX): Also expect for [XPG3].
14165         (NL_LANGMAX): Likewise.
14166         (NL_MSGMAX): Likewise.
14167         (NL_NMAX): Likewise.
14168         (NL_SETMAX): Likewise.
14169         (NL_TEXTMAX): Likewise.
14170         (NZERO): Likewise.
14171         (TMP_MAX): Likewise.
14172         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
14173         variable.
14175         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
14176         (PF_MAX): Update value.
14177         (AF_KCM): New macro.
14178         (SOL_NETBEUI): Likewise.
14179         (SOL_LLC): Likewise.
14180         (SOL_DCCP): Likewise.
14181         (SOL_NETLINK): Likewise.
14182         (SOL_TIPC): Likewise.
14183         (SOL_RXRPC): Likewise.
14184         (SOL_PPPOL2TP): Likewise.
14185         (SOL_BLUETOOTH): Likewise.
14186         (SOL_PNPIPE): Likewise.
14187         (SOL_RDS): Likewise.
14188         (SOL_IUCV): Likewise.
14189         (SOL_CAIF): Likewise.
14190         (SOL_ALG): Likewise.
14191         (SOL_NFC): Likewise.
14192         (SOL_KCM): Likewise.
14193         (MSG_BATCH): New enum value and macro.
14195 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
14197         [BZ #18185]
14198         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
14199         sharing L2 cache to 2 for Knights Landing.
14201 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
14203         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
14204         (FTW_DP): Do not expect for [XPG3 || XPG4].
14205         (FTW_SL): Do not expect for [XPG3].
14206         (FTW_SLN): Likewise.
14207         (FTW_PHYS): Likewise.
14208         (FTW_MOUNT): Likewise.
14209         (FTW_DEPTH): Likewise.
14210         (FTW_CHDIR): Likewise.
14211         (nftw): Likewise.
14212         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
14213         variable.
14215 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14217         * manual/errno.texi: Fix various typos & grammar errors.
14219 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
14221         * manual/intro.texi: Fix duplicated typo.
14223 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14225         [BZ #13304]
14226         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
14227         <float.h>, <math_private.h> and <stdlib.h>.
14228         (add_split): New function.
14229         (mul_split): Likewise.
14230         (ext_val): New typedef.
14231         (store_ext_val): New function.
14232         (mul_ext_val): New function.
14233         (compare): New function.
14234         (add_split_ext): New function.
14235         (__fmal): After checking for Inf, NaN and zero, compute result as
14236         an exact sum of scaled double values in round-to-nearest before
14237         adding those up and adjusting for other rounding modes.
14238         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
14239         tests of fma.
14240         * math/auto-libm-test-out: Regenerated.
14242 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14244         [BZ #20119]
14245         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
14246         processor level type mask for CPUID with EAX == 11.
14248 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14250         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
14251         logical threads if the HTT bit is 0.
14252         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
14253         (index_cpu_HTT): Likewise.
14254         (reg_HTT): Likewise.
14256 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
14258         [BZ #20115]
14259         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
14260         Remove alignments on jump targets.
14262 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
14264         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
14265         (getpwent): Likewise.
14266         (setpwent): Likewise.
14267         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
14268         variable.
14270         * conform/data/search.h-data (insque): Do not expect for [XPG3].
14271         (remque): Likewise.
14272         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
14273         variable.
14275 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14277         * math/libm-test.inc: Update comment not to refer to signs of NaNs
14278         not being tested.
14280 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14282         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14283         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
14284         call.
14285         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14286         (__condvar_cleanup1): Likewise.
14288 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14290         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
14291         New
14292         (__pthread_unwind): Renamed to ...
14293         (PTHREAD_UNWIND): This.
14294         (__pthread_enable_asynccancel): Replace
14295         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
14297 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
14299         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
14300         (CLONE_NEWCGROUP): New macro.
14302         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
14303         (Q_GETNEXTQUOTA): New macro.
14305 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
14307         [BZ #19907]
14308         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
14309         buffer updated by the previous run.
14310         * string/test-memcpy.c (do_one_test): Likewise.
14311         * benchtests/bench-memmove.c (do_one_test): Add a comment.
14312         * string/test-memmove.c (do_one_test): Likewise.
14314 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
14316         [BZ #20094]
14317         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
14318         not [__USE_XOPEN].
14319         (unlockpt): Likewise.
14320         (ptsname): Likewise.
14321         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
14322         variable.
14324         [BZ #20076]
14325         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
14326         instead of [__USE_UNIX98].
14327         (S_ISSOCK): Likewise.
14328         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
14329         variable.
14331         [BZ #20074]
14332         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
14333         [__USE_POSIX].
14334         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
14335         variable.
14337         [BZ #20051]
14338         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
14339         (ttyslot): Do not declare.
14340         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
14341         (ttyslot): New prototype.
14342         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
14343         variable.
14344         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14346 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14348         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
14350 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14352         Fix race condition in tst-mallocfork2, use fewer resources.
14353         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
14354         to current process group.
14355         (signal_sender): Yield in the non-sleeping case.
14357 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
14359         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
14360         (ecvt): Likewise.
14361         (fcvt): Likewise.
14362         (gcvt): Likewise.
14363         (getsubopt): Likewise.
14364         (grantpt): Likewise.
14365         (initstate): Likewise.
14366         (l64a): Likewise.
14367         (mktemp): Likewise.
14368         (mkstemp): Likewise.
14369         (ptsname): Likewise.
14370         (random): Likewise.
14371         (realpath): Likewise.
14372         (setstate): Likewise.
14373         (srandom): Likewise.
14374         (ttyslot): Likewise.
14375         (unlockpt): Likewise.
14376         (valloc): Likewise.
14378         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
14379         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
14380         variable.
14382 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14384         [BZ #20072]
14385         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
14386         init_cpu_features only if SHARED is defined.
14387         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
14389 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14391         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
14392         non-inclusive caches on Intel processors.
14394 2016-05-13  Florian Weimer  <fweimer@redhat.com>
14396         * malloc/malloc.c (dumped_main_arena_start)
14397         (dumped_main_arena_end): New variables.
14398         (DUMPED_MAIN_ARENA_CHUNK): New macro.
14399         (do_check_chunk): Skip dumped fake mmapped chunks.
14400         (munmap_chunk): Likewise.
14401         (__libc_free): Do not adjust statistics for fake mmapped chunks.
14402         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
14403         mmapped chunks.
14404         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
14405         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
14406         and dumped_main_arena_end to cover the dumped heap.
14408 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
14410         * conform/data/time.h-data (getdate_err): Do not expect for
14411         [XPG3].
14412         (getdate): Likewise.
14413         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
14414         variable.
14416         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
14417         (F_ULOCK): Likewise.
14418         (F_TEST): Likewise.
14419         (F_TLOCK): Likewise.
14420         (useconds_t): Likewise.
14421         (intptr_t): Do not expect for [XPG3] or [XPG4].
14422         (brk): Do not expect for [XPG3]
14423         (fchown): Likewise.
14424         (fchdir): Likewise.
14425         (ftruncate): Likewise.
14426         (getdtablesize): Likewise.
14427         (gethostid): Likewise.
14428         (getpagesize): Likewise.
14429         (getpgid): Likewise.
14430         (getsid): Likewise.
14431         (getwd): Likewise.
14432         (lchown): Likewise.
14433         (lockf): Likewise.
14434         (readlink): Likewise.
14435         (sbrk): Likewise.
14436         (setpgrp): Likewise.
14437         (setregid): Likewise.
14438         (setreuid): Likewise.
14439         (symlink): Likewise.
14440         (sync): Likewise.
14441         (truncate): Likewise.
14442         (ualarm): Likewise.
14443         (usleep): Likewise.
14444         (vfork): Likewise.
14445         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
14446         variable.
14448         [BZ #20054]
14449         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
14450         not [__USE_UNIX98].
14451         * conform/data/unistd.h-data (gethostname): Do not expect for
14452         [XPG3].
14454         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
14455         [!POSIX] (S_IFBLK): Likewise.
14456         [!POSIX] (S_IFCHR): Likewise.
14457         [!POSIX] (S_IFIFO): Likewise.
14458         [!POSIX] (S_IFREG): Likewise.
14459         [!POSIX] (S_IFDIR): Likewise.
14460         [!POSIX] (S_IFLNK): Likewise.
14461         [!POSIX] (S_IFSOCK): Likewise.
14462         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
14463         variable.
14464         (test-xfail-XPG4/fcntl.h/conform): Likewise.
14466 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
14468         * sysdeps/aarch64/memset.S (__memset):
14469         Rewrite of optimized memset.
14471 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14473         [BZ #19703]
14474         Partially async-signal-safe fork for single-threaded processes.
14475         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
14476         variable.  Do not acquire and reset/release malloc and libio locks
14477         in single-threaded processes.
14478         * malloc/tst-mallocfork2.c: New file.
14479         * malloc/Makefile (tests): Add it.
14481 2016-05-12  Florian Weimer  <fweimer@redhat.com>
14483         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
14484         argument.  Use scratch buffer instead of extend_alloca.
14485         (gethosts): Use scratch buffer instead of extend_alloca.
14486         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
14487         extend_alloca.
14488         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
14490 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
14492         [BZ #20055]
14493         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
14494         instead of [__USE_UNIX98].
14495         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
14496         [__USE_UNIX98].
14497         * conform/data/termios.h-data (tcgetsid): Do not expect for
14498         [XPG3].
14499         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
14500         variable.
14501         (test-xfail-XPG4/termios.h/conform): Likewise.
14503 2016-05-11  Florian Weimer  <fweimer@redhat.com>
14505         Do not use mcheck in localedef.
14506         * locale/programs/localedef.c (turn_on_mcheck)
14507         (__malloc_initialize_hook): Remove.
14509 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14511         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
14512         * sysdeps/s390/s390-64/Makefile: Likewise.
14514 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
14516         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
14517         Remove ifunc-defines.sym.
14518         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
14519         Likewise.
14520         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
14521         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
14522         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
14523         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
14524         rtld-global-offsets.sym.
14525         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
14526         * sysdeps/x86/cpu-features-offsets.sym: This.
14527         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
14528         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
14530 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
14532         [BZ #20073]
14533         * io/sys/stat.h (fchmod): Declare for
14534         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
14535         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
14536         variable.
14538         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
14539         [XPG3] (S_IFSOCK): Likewise.
14540         [XPG3] (S_ISVTX): Likewise.
14541         [XPG3] (S_ISLNK): Likewise.
14542         [XPG3] (S_ISSOCK): Likewise.
14543         [XPG3] (fchmod): Likewise.
14544         [XPG3] (lstat): Likewise.
14545         [XPG3] (mknod): Likewise.
14547         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
14548         [XPG3].  Expect type long and XFAIL for [XPG4].
14549         (st_blocks): Likewise.
14551         [BZ #20044]
14552         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
14553         (pthread_atfork): New prototype.
14554         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
14555         variable.
14557         [BZ #20043]
14558         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
14559         prototype.
14561 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14563         [BZ #20017]
14564         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
14565         gmtime.
14567 2016-05-10  Florian Weimer  <fweimer@redhat.com>
14569         [BZ #19994]
14570         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
14571         flag in _res.options.
14573 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
14575         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
14576         [XPG3 || XPG4].
14577         (blksize_t): Likewise.
14578         (clockid_t): Likewise.
14579         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
14580         variable.
14581         (test-xfail-XPG4/sys/types.h/conform): Likewise.
14583 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
14585         * sysdeps/unix/sysv/linux/s390/init-first.c:
14586         Add VDSO_SYMBOL(getcpu).
14587         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
14588         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
14589         Add VDSO_SYMBOL(getcpu).
14590         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
14591         New define HAVE_GETCPU_VSYSCALL.
14592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14594 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
14596         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
14597         instead of <sysdeps/x86_64/cacheinfo.c>.
14598         * sysdeps/x86_64/cacheinfo.c: Moved to ...
14599         * sysdeps/x86/cacheinfo.c: Here.
14601 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14603         * malloc/malloc-internal.h: Adjust header file guard.
14605 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14607         [BZ #19787]
14608         * inet/getnameinfo.c (check_sprintf_result): New function.
14609         (CHECKED_SNPRINTF): New macro.
14610         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
14611         to the host buffer.
14612         (gni_host_local): Use checked_copy to copy the host name.
14613         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
14614         (gni_serv_local): Use checked_copy to copy the service name.
14615         (getnameinfo): Remove unnecessary truncation of result buffers.
14617 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14619         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
14620         in case of inet_ntop failure.
14622 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14624         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
14625         avoid long lines.
14626         (gni_host_inet_numeric): Likewise.  Reduce scope of local
14627         variables.
14628         (gni_host_inet, gni_host_local): Add comment.
14629         (gni_host): Add comment.  Use temporary to avoid long lines.
14631 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14633         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
14634         registers specifiers where general purpose registers specifiers should
14635         have been used.
14637 2016-05-04  Florian Weimer  <fweimer@redhat.com>
14639         [BZ #19779]
14640         CVE-2016-1234
14641         Avoid copying names of directory entries.
14642         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
14643         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
14644         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
14645         (struct readdir_result): New type.
14646         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
14647         (GL_READDIR): New macros.
14648         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
14649         (convert_dirent, convert_dirent64): New functions.
14650         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
14651         convert_dirent64.  Adjust references to the readdir result.
14652         * sysdeps/unix/sysv/linux/i386/glob64.c:
14653         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
14654         * posix/bug-glob2.c (LONG_NAME): Define.
14655         (filesystem): Add LONG_NAME.
14656         (my_DIR): Increase the size of room_for_dirent.
14658 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
14660         [BZ #20041]
14661         * misc/sys/select.h (__need_timespec): Only define if
14662         [__USE_XOPEN2K].
14663         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
14664         variable.
14665         (test-xfail-XPG4/utmpx.h/conform): Likewise.
14666         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14667         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14669 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14670             Segher Boessenkool  <segher@gcc.gnu.org>
14672         [BZ #20004]
14673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
14674         (__novec_swapcontext): Add missing load.
14676 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
14678         [BZ #20023]
14679         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
14680         <time.h>.
14681         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
14682         variable.
14683         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14685 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
14688         flags CLONE_VM compare.
14690 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14692         [BZ #20031]
14693         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
14694         completely empty.
14696 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14698         [BZ #19573]
14699         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
14700         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
14701         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
14702         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
14703         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
14704         (hesiod_free_list): Mark as hidden.
14705         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
14706         res_set, res_get.
14707         * hesiod/hesiod.c: Remove unnecessary forward declarations.
14708         (init, __hesiod_res_get, __hesiod_res_set): Remove.
14709         (hesiod_init): Remove obsolete res_ninit call.
14710         (hesiod_end): Do not free resolver state.  Do not invoke callback.
14711         (hesiod_bind): Do not call init.
14712         (get_txt_records): Use res_mkquery, res_send instead of
14713         res_nmkquery, res_nsend.
14714         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
14715         instead of _nss_hesiod_init.
14716         (_nss_hesiod_initgroups_dyn): Likewise.
14717         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
14718         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
14719         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
14721 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14723         * hesiod/hesiod_p.h (DEF_RHS): Remove.
14724         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
14726 2016-05-02  Florian Weimer  <fweimer@redhat.com>
14728         * hesiod/hesiod.h: Remove RCS keyword.
14729         * hesiod/hesiod_p.h: Likewise.
14731         * hesiod/hesiod.c: Likewise.
14733 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
14735         [BZ #12450]
14736         * locale/iso-639.def: Add Samogitian/sgs.
14738 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
14740         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
14742         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
14744 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
14745             Carlos O'Donell  <carlos@redhat.com>
14747         [BZ #19072]
14748         * grp/Makefile (headers): Add grp-merge.h
14749         (routines): Add grp-merge.
14750         * grp/getgrgid_r.c: Include grp-merge.h.
14751         (DEEPCOPY_FN): Define.
14752         (MERGE_FN): Define.
14753         * grp/getgrname_r.c: Include grp-merge.h.
14754         (DEEPCOPY_FN): Define.
14755         (MERGE_FN): Define.
14756         * grp/grp-merge.c: New file.
14757         * grp/grp-merge.h: New file.
14758         * include/grp-merge.h: New file.
14759         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
14760         __copy_grp@GLIBC_PRIVATE.
14761         * manual/nss.texi (Actions in the NSS configuration): Describe
14762         return, continue, and merge.
14763         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
14764         (DEEPCOPY_FN): Define.
14765         (MERGE_FN): Define.
14766         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
14767         (DEEPCOPY_FN): Define.
14768         (MERGE_FN): Define.
14769         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
14770         [!MERGE_FN]: Define __merge_einval.
14771         (CHECK_MERGE): Define.
14772         (REENTRANT_NAME): Process merge if do_merge is true.
14773         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
14774         (__nss_getent_r): Likewise.
14775         * nss/nsswitch.c (nss_parse_service_list): Likewise.
14776         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
14778 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14780         [BZ #20012]
14781         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
14782         length to calculate the buffer to read.
14783         (fmemopen_write): Set the buffer position based on bytes written.
14784         (fmemopen_seek): Return EINVAL for invalid whence modes.
14786         [BZ #19957]
14787         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
14788         tst-getpid2.
14789         (test): Add tst-clone2.
14790         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
14791         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
14792         pid/tid fields for CLONE_VM.
14793         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
14794         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
14795         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
14796         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
14797         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
14798         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
14799         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
14800         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
14801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
14802         Likewise.
14803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
14804         Likewise.
14805         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
14806         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
14807         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
14808         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
14809         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
14810         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
14811         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
14812         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
14814 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14816         [BZ #19642]
14817         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
14818         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
14819         (gni_serv_local, gni_serv): New functions extracted from
14820         getnameinfo.
14821         (getnameinfo): Call gni_host and gni_serv to perform the
14822         processing.  Always free scratch buffer.
14824 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14826         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
14827         remaining bytes in the dest string, with zeros.
14829 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14831         [BZ #20010]
14832         CVE-2016-3706
14833         * sysdeps/posix/getaddrinfo.c
14834         (convert_hostent_to_gaih_addrtuple): New function.
14835         (gethosts): Call convert_hostent_to_gaih_addrtuple.
14836         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
14837         AF_INET data.
14839 2016-04-29  Florian Weimer  <fweimer@redhat.com>
14841         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
14842         callback function gl_readdir.
14843         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
14844         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
14845         (glob_in_dir): Remove len.  Use strdup instead of malloc and
14846         memcpy to copy the name.
14847         * manual/pattern.texi (Calling Glob): Document requirements for
14848         implementations of the gl_readdir callback function.
14849         * manual/examples/mkdirent.c: New example.
14850         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
14851         per the manual guidance.
14852         * posix/tst-gnuglob.c (my_readdir): Likewise.
14854 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
14856         [BZ #20014]
14857         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
14858         not [__USE_POSIX].
14859         (getchar_unlocked): Likewise.
14860         (putc_unlocked): Likewise.
14861         (putchar_unlocked): Likewise.
14862         (flockfile): Likewise.
14863         (ftrylockfile): Likewise.
14864         (funlockfile): Likewise.
14865         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
14866         variable.
14867         (test-xfail-XPG4/stdio.h/conform): Likewise.
14869         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
14870         Expect constant.
14871         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
14872         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
14873         variable.
14874         (test-xfail-XPG4/langinfo.h/conform): Likewise.
14875         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14877         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
14878         [__USE_LARGEFILE64] (off64_t): Likewise.
14879         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
14880         variable.
14882 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14884         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
14886 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14888         * resolv/inet_addr.c: Reindent preprocessor conditionals.
14889         * resolv/res_init.c: Likewise.
14890         * resolv/res_mkquery.c: Likewise.
14892 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14894         * resolv/res_init.c (isascii): Do not define.  Use definition in
14895         <ctype.h>.
14896         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
14897         (LOG_AUTH): Remove.
14898         (SPRINTF): Remove, adjust caller.
14899         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
14901 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14903         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
14904         SUNSECURITY conditional.
14905         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
14907 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14909         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
14910         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
14911         Remove BSD-related preprocessor conditionals.
14912         * conf/portability.h: Remove.
14914 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14916         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
14917         * resolv/res_data.c: Likewise.
14919 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14921         * resolv/res_comp.c: Remove code conditional on __ultrix__.
14922         * resolv/res_data.c: Remove code conditional on ultrix.
14924 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14926         * resolv/res_init.c (RFC1535): Do not define.  Remove
14927         RFC1535 preprocessor conditionals.
14928         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
14929         because there configuration options which make the resolver
14930         behavior different.
14932 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14934         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
14935         RESOLVSORT preprocessor conditionals.
14936         * resolv/nss_dns/dns-host.c: Likewise.
14937         * resolv/res_init.c: Likewise.
14939 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14941         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
14942         is never defined.
14944 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14946         * inet/inet_lnaof.c: Remove SCSS keyword.
14947         * inet/inet_mkadr.c: Likewise.
14948         * inet/inet_net.c: Likewise.
14949         * inet/inet_netof.c: Likewise.
14950         * inet/rcmd.c: Likewise.
14951         * inet/rexec.c: Likewise.
14952         * inet/ruserpass.c: Likewise.
14954 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14956         * resolv/inet_addr.c: Remove _LIBC conditionals.
14957         * resolv/res_data.c: Likewise.
14958         * resolv/res_init.c: Likewise.
14959         * resolv/res_mkquery.c: Likewise.
14960         * resolv/res_libc.c: Update comment.
14961         * resolv/README: Update.
14963 2016-04-28  Florian Weimer  <fweimer@redhat.com>
14965         * resolv/gethnamaddr.c: Remove SCSS keyword.
14966         * resolv/herror.c: Likewise.
14967         * resolv/inet_addr.c: Likewise.
14968         * resolv/inet_net_ntop.c: Likewise.
14969         * resolv/inet_net_pton.c: Likewise.
14970         * resolv/inet_neta.c: Likewise.
14971         * resolv/inet_ntop.c: Likewise.
14972         * resolv/inet_pton.c: Likewise.
14973         * resolv/ns_date.c: Remove RCS keyword.
14974         * resolv/ns_name.c: Likewise.
14975         * resolv/ns_netint.c: Likewise.
14976         * resolv/ns_parse.c: Likewise.
14977         * resolv/ns_print.c: Likewise.
14978         * resolv/ns_samedomain.c: Likewise.
14979         * resolv/ns_ttl.c: Likewise.
14980         * resolv/nsap_addr.c: Likewise.
14981         * resolv/res_comp.c: Remove SCSS and RCS keyword.
14982         * resolv/res_data.c: Remove RCS keyword.
14983         * resolv/res_debug.c: Remove SCSS and RCS keyword.
14984         * resolv/res_init.c: Likewise.
14985         * resolv/res_mkquery.c: Likewise.
14986         * resolv/res_query.c: Likewise.
14987         * resolv/res_send.c: Likewise.
14989 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
14991         * conform/data/stdio.h-data (fdopen): Expect also for
14992         [XPG3 || XPG4].
14994         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
14995         (fseeko): Likewise.
14996         (ftello): Likewise.
14997         (ftrylockfile): Likewise.
14998         (funlockfile): Likewise.
14999         (getc_unlocked): Likewise.
15000         (getchar_unlocked): Likewise.
15001         (putc_unlocked): Likewise.
15002         (putchar_unlocked): Likewise.
15004 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15006         [BZ #19868]
15007         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
15008         DNS packet syntax checks (which were not needed before).  Skip
15009         over non-PTR records.
15011 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15013         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
15014         definition.  Include <stddef.h> instead.
15016 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15018         [BZ #19831]
15019         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
15020         function.
15021         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
15022         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
15024 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15026         [BZ #19862]
15027         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
15028         (getanswer_r): Do not call syslog.
15029         (gaih_getanswer_slice): Likewise.
15030         * resolv/gethnamaddr.c (AskedForGot): Remove.
15031         (getanswer): Do not call syslog.
15032         (gethostbyaddr): Likewise.
15034 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
15036         * conform/data/signal.h-data (union sigval): Expect also if
15037         [XOPEN2K].
15038         (struct sigevent): Likewise.
15039         (SIGEV_NONE): Likewise.
15040         (SIGEV_SIGNAL): Likewise.
15041         (SIGEV_THREAD): Likewise.
15042         (SIGRTMIN): Likewise.
15043         (SIGRTMAX): Likewise.
15044         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
15045         variable.
15046         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15048 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15050         [BZ #19830]
15051         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
15052         (gaih_getanswer_slice): Likewise.
15053         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
15054         Also check for availability of RR metadata.
15056 2016-04-27  Florian Weimer  <fweimer@redhat.com>
15058         [BZ #19825]
15059         * resolv/res_send.c (send_vc): Remove early *resplen2
15060         initialization.  Set *resplen2 on socket error.  Call
15061         close_and_return_error for other errors.
15063 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
15065         * sysdeps/unix/sysv/linux/netiucv/iucv.h
15066         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
15067         (SCM_IUCV_TRGCLS): New define.
15069 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15071         [BZ #20005]
15072         * libio/fmemopen.c (fmemopen_write): Update internal position after
15073         write.
15074         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
15075         * stdio-common/tst-fmemopen4.c: New file..
15077 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
15079         [BZ #19996]
15080         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
15081         not [__USE_XOPEN2K].
15082         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
15083         variable.
15085         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
15086         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
15087         variable.
15089         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
15090         [__USE_XOPEN2K8].
15091         [__USE_LARGEFILE64] (off64_t): Likewise.
15092         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
15093         variable.
15095 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
15097         [BZ #19989]
15098         * libio/stdio.h (cuserid): Do not declare if
15099         [__USE_XOPEN2K && !__USE_GNU].
15100         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
15101         variable.
15103 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15105         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15106         (sysdep_routines): Add P8 and PPC64 strcspn targets.
15107         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15108         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
15109         ifunc'ed strcspn.
15110         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15111         [EALIGN]: Removed.
15112         [END]: Likewise
15113         [STRSPN]: Define instead of the above to control symbol name.
15114         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
15115         New file.
15116         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
15117         Likewise.
15118         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
15119         Likewise.
15120         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
15121         Likewise.
15122         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15123         [INITIAL_MASK]: New macro.
15124         [STRCSPN]: Likewise.
15125         [UPDATE_MASK]: Likewise.
15126         [USE_AS_STRCSPN]: Likewise.
15128 2016-04-25  Florian Weimer  <fweimer@redhat.com>
15130         [BZ #19931]
15131         * stdio-common/tst-vfprintf-width-prec.c: New file.
15132         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
15133         (tests-special): Add tst-vfprintf-width-prec-mem.out.
15134         (generated): Add mtrace-related files.
15135         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
15136         (tst-%-mem.out): New pattern rule, replaces
15137         tst-printf-bz18872-mem.out.
15138         * stdio-common/vfprintf.c (vfprintf): When handling a precision
15139         specifier, deallocate any previously allocated work buffer.
15141 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
15143         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
15144         Add nop before __startcontext, add explaining comments.
15146 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
15148         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
15149         any more. Notably since IPV6_PKTINFO has been reintroduced with a
15150         completely different API.
15152         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
15153         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
15154         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
15155         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
15156         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
15157         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
15158         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
15159         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
15160         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
15161         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
15163 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
15165         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
15167 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
15169         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
15170         when it is the default of 0.
15172 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15174         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
15175         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15176         (sysdep_routines): Add new strcasestr targets.
15177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15178         (__libc_ifunc_impl_list): Likewise.
15179         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
15180         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
15181         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
15182         * sysdeps/powerpc/powerpc64/power8/Makefile:
15183         New file to add strcasestr-ppc64 to sysdep_routines.
15184         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
15185         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
15187 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
15189         * benchtests/Makefile (wcsmbs-benchset): Include only for
15190         native builds and runs.
15191         (LOCALES): Likewise.
15192         (bench-build): Build timing-type here instead of the bench
15193         target.  Generate locale only for native builds.
15194         * benchtests/README: Add note for cross-building.
15196         * benchtests/Makefile (bench-clean): Clean up extra-objs.
15198         * benchtests/README: Update README to include instructions on
15199         using bench-build.
15201         * Makefile.in (bench-build): New target.
15202         * Rules (PHONY): Add bench-build target.
15203         * benchtests/Makefile (bench): Depend on bench-build.
15204         (bench-build): New target.
15206 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15208         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
15209         profil_reply_port.
15210         (profile_waiter): Do not initialize profil_reply_port.
15211         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
15212         frequency instead of tick length in us.
15214 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
15216         [BZ #18712]
15217         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
15218         (__old_mempcpy_small): Likewise.
15219         (__old_strcpy_small): Likewise.
15220         (__old_stpcpy_small): Likewise.
15221         (__old_strpbrk_c2): Fix compat symbol name.
15222         (__old_strpbrk_c3): Likewise.
15223         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
15224         (__mempcpy_small): Remove.
15225         (__strcpy_small): Remove.
15226         (__stpcpy_small): Remove.
15228 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
15230         [BZ #19400]
15231         * locale/iso-639.def: Add the Talossan/tzl language.
15233 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15235         [BZ #16983]
15236         * locale/programs/ld-address.c (address_finish): Update postal_fmt
15237         comment.  Add "ln" to strchr check on postal_fmt.
15239 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
15241         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
15242         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
15243         tel_dom_fmt.
15245 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15247         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15248         (sysdep_routines): Added __strlen_power8.
15249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
15250         __strlen_power8 entry.
15251         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
15252         Implementation for POWER8.
15253         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
15254         for __strlen_power8.
15255         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
15256         Implementation for POWER8.
15258 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
15260         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
15262 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
15264         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
15265         Goldmont and Airmont processors.
15267 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
15269         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
15270         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
15271         (__STRING2_SMALL_GET32): Remove.
15272         (memset): Remove.
15273         (__memset_1): Remove.
15274         (__memset_gc): Remove.
15275         (__mempcpy): Remove.
15276         (mempcpy): Remove.
15277         (__mempcpy_args): Remove.
15278         (strchr): Remove.
15279         (strcpy): Remove.
15280         (strcpy_args): Remove.
15281         (__stpcpy_args): Remove.
15282         (__strcmp_cc): Remove.
15283         (__strcmp_gc): Remove.
15284         (strstr): Remove.
15286 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
15288         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
15289         * nis/nis_call.c (nis_server_cache_add): Likewise.
15291 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15293         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
15295 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15297         * malloc/arena.c (__malloc_fork_lock_parent)
15298         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
15299         internal_function attribute.
15301 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
15303         * stdio-common/printf_fp.c (__printf_fp_l):
15304         Rename ___printf_fp_l to __printf_fp_l and
15305         remove strong alias. Use libc_hidden_def instead
15306         of ldbl_hidden_def macro.
15308 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15310         Remove malloc hooks from fork handler.  They are no longer needed
15311         because malloc runs right before fork, and no malloc calls from
15312         other fork handlers are not possible anymore.
15313         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
15314         declarations.
15315         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
15316         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
15317         (atfork_recursive_cntr): Remove.
15318         (__malloc_fork_lock_parent): Do not override malloc hooks and
15319         thread_arena.
15320         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
15321         thread_arena.
15322         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
15323         thread_arena instead of save_arena.
15325 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15327         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
15328         (thread_atfork, thread_atfork_static): Remove.
15329         * sysdeps/mach/hurd/malloc-machine.h:
15330         (thread_atfork, thread_atfork_static): Remove.
15332 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15334         [BZ #19431]
15335         Run the malloc fork handler as late as possible to avoid deadlocks.
15336         * malloc/malloc-internal.h: New file.
15337         * malloc/malloc.c: Include it.
15338         * malloc/arena.c (ATFORK_MEM): Remove.
15339         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
15340         Update comment.
15341         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
15342         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
15343         Remove outdated comment.
15344         (ptmalloc_init): Do not call thread_atfork.  Remove
15345         thread_atfork_static.
15346         * malloc/tst-malloc-fork-deadlock.c: New file.
15347         * Makefile (tests): Add tst-malloc-fork-deadlock.
15348         (tst-malloc-fork-deadlock): Link against libpthread.
15349         * manual/memory.texi (Aligned Memory Blocks): Update safety
15350         annotation comments.
15351         * sysdeps/nptl/fork.c (__libc_fork): Call
15352         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
15353         __malloc_fork_unlock_child.
15354         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
15356 2016-04-14  Florian Weimer  <fweimer@redhat.com>
15358         [BZ #19613]
15359         Remove union wait.
15360         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
15361         (w_stopsig, w_stopval): Remove.
15362         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
15363         stat_loc argument.
15364         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
15365         (__WAIT_STATUS_DEFN): Remove.
15366         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15367         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
15368         (wait, wait3, wait4): Use int * for the stat_loc argument.
15369         * posix/wait.c (__wait): Likewise.
15370         * posix/wait3.c (__wait3): Likewise.
15371         * posix/wait4.c (__wait4): Likewise.
15372         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
15373         (__WAIT_STATUS_DEFN): Remove.
15374         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
15375         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
15376         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
15377         argument.
15378         * sysdeps/posix/wait.c (__libc_wait): Likewise.
15379         * sysdeps/posix/wait3.c (__wait3): Likewise.
15380         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
15381         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
15382         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
15383         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
15384         stat_loc argument.
15385         * manual/process.texi (BSD Wait Functions): Remove union wait.
15387 2016-04-13  Andreas Schwab  <schwab@suse.de>
15389         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
15390         (test-extras): Add tst-tlsalign-vars.
15391         * math/Makefile: Wrap long lines.
15392         (libm-vec-test-wrappers): Define.
15393         (test-extras): Add $(libm-vec-test-wrappers).
15394         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
15395         * nss/Makefile (extra-test-objs): Add nss_test1.os.
15396         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
15397         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
15398         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
15399         (extra-test-objs): Add corresponding objects.
15401 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
15403         [BZ #19928]
15404         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
15405         New.
15406         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
15407         times of shared cache size.
15408         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
15409         (VMOVNT): New.
15410         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
15411         (VMOVNT): Likewise.
15412         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
15413         (VMOVNT): Likewise.
15414         (VMOVU): Changed to movups for smaller code sizes.
15415         (VMOVA): Changed to movaps for smaller code sizes.
15416         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
15417         comments.
15418         (PREFETCH): New.
15419         (PREFETCH_SIZE): Likewise.
15420         (PREFETCHED_LOAD_SIZE): Likewise.
15421         (PREFETCH_ONE_SET): Likewise.
15422         Rewrite to use forward and backward loops, which move 4 vector
15423         registers at a time, to support overlapping addresses and use
15424         non temporal store if size is above the threshold and there is
15425         no overlap between destination and source.
15427 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
15429         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
15430         Include dl-vdso.
15431         * sysdeps/unix/sysv/linux/mips/Versions: Add
15432         __vdso_clock_gettime.
15433         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
15434         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
15435         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
15436         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
15437         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
15438         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
15439         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
15440         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
15441         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
15443 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15445         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
15446         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
15447         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
15448         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
15449         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
15450         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
15451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
15452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
15453         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
15454         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
15455         syscalls generation.
15456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15457         [__NR_pwrite64] (__NR_write): Remove define.
15458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15459         [__NR_pwrite64] (__NR_write): Remove define.
15460         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
15461         Remove define.
15462         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
15463         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
15464         Remove define.
15465         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
15466         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
15467         Linux implementation as base.
15468         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15470         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
15471         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
15472         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
15473         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
15474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
15475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
15476         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
15477         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
15478         syscall generation.
15479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15480         [__NR_pread64] (__NR_pread): Remove define.
15481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15482         [__NR_pread64] (__NR_pread): Likewise.
15483         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
15484         define.
15485         (__libc_pread): Use SYSCALL_LL macro on offset argument.
15486         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
15487         Remove define.
15488         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
15489         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
15490         Linux implementation as base.
15491         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15492         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
15493         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
15495         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
15496         definition.
15497         (__ALIGNMENT_COUNT): Likewise.
15498         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
15499         (__ALIGNMENT_COUNT): Likewise.
15500         (SYSCALL_LL): New define.
15501         (SYSCALL_LL64): Likewise.
15502         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
15503         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
15504         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
15505         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
15507         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15508         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
15509         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15510         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15511         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15512         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
15514 2016-04-11  Florian Weimer  <fweimer@redhat.com>
15516         [BZ #19865]
15517         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
15518         original buffer before retry.
15520 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15522         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
15523         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
15524         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
15525         GLRO(dl_auxv) list.
15526         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
15527         including <ldsodefs.h>.
15528         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
15530 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
15532         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
15533         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
15534         $(CPPFLAGS).
15536 2016-04-09  Khem Raj  <raj.khem@gmail.com>
15538         [BZ #17950]
15539         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
15540         Add -mfpmath=387.
15542 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
15544         * sysdeps/i386/configure.ac: Change == to = when calling test.
15545         * sysdeps/x86_64/configure.ac: Likewise.
15546         * sysdeps/i386/configure: Regenerated.
15547         * sysdeps/x86_64/configure: Likewise.
15549 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
15551         [BZ #16137]
15552         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
15553         * benchtests/bench-strcoll.c (input_files): Likewise.
15554         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
15555         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
15556         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
15558 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
15560         [BZ #19929]
15561         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
15562         [__USE_XOPEN2K8 && !__USE_GNU].
15563         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
15564         variable.
15566         [BZ #19925]
15567         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
15568         define if [!__USE_MISC && __USE_XOPEN2K].
15569         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
15570         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
15571         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
15572         Likewise.
15573         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
15574         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
15575         variable.
15576         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15578 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15580         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
15581         (sysdep_routines): Add new strspn targets.
15582         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15583         (__libc_ifunc_impl_list): Add strspn.
15584         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
15585         New file.
15586         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
15587         Likewise.
15588         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
15589         Likewise.
15590         * sysdeps/powerpc/powerpc64/power8/strspn.S:
15591         Likewise.
15593 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15595         * misc/hsearch_r.c: Include <limits.h>.
15597 2016-04-07  Florian Weimer  <fweimer@redhat.com>
15599         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
15601 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15603         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
15604         (MEMCPY_SYMBOL): New.
15605         (MEMPCPY_SYMBOL): Likewise.
15606         (MEMMOVE_CHK_SYMBOL): Likewise.
15607         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
15608         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
15609         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
15610         Provide alias for memcpy in libc.a and ld.so.
15612 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15614         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
15615         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
15616         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
15617         Disabled fro now.
15618         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
15619         symbols.  Properly check USE_MULTIARCH on __memset symbols.
15621 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
15623         * benchtests/Makefile (string-benchset): Add memcpy-large,
15624         memmove-large and memset-large.
15625         * benchtests/bench-memcpy-large.c: New file.
15626         * benchtests/bench-memmove-large.c: Likewise.
15627         * benchtests/bench-memmove-large.c: Likewise.
15628         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
15630 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15632         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
15633         32-bit displacement to avoid long nop between instructions.
15635 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
15637         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
15638         a comment on VMOVU and VMOVA.
15640 2016-04-04  Florian Weimer  <fweimer@redhat.com>
15642         [BZ #19633]
15643         Use specified locale for number formatting in strfmon_l.
15644         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
15645         (__nl_lookup_word): New inline functions.
15646         * include/printf.h (__print_fp_l): Declare.
15647         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
15648         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
15649         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
15650         (___printf_fp): New function.
15651         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
15652         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
15653         * stdlib/tst-strfmon_l.c (do_test): New test.
15654         * stdlib/Makefile (tests): Add kt.
15655         (LOCALES): Build additional locales.
15656         (tst-strfmon_l.out): Require locales.
15658 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15660         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
15661         if not in libc.
15662         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15663         Likewise.
15664         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
15665         Likewise.
15666         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15667         Likewise.
15669 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
15671         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15672         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
15673         with unaligned_erms.
15674         (__memmove_erms): Skip if source == destination.
15675         (__memmove_unaligned_erms): Don't check source == destination
15676         first.
15678 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15680         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
15681         bit_arch_Fast_Copy_Backward for Intel Core proessors.
15683 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15685         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
15686         * string/strspn.c (strspn): Likewise.
15688 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15690         * benchtests/bench-memset.c (do_test): Support 64-byte
15691         alignment.
15692         (test_main): Test 64-byte alignment.
15694 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15696         * benchtests/bench-memmove.c (test_main): Test 64-byte
15697         alignment.
15699 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
15701         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
15703 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15705         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
15706         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
15707         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
15709         * string/strpbrk.c (strpbrk): Rewrite function.
15710         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
15711         (__strpbrk_c2): Likewise.
15712         (__strpbrk_c3): Likewise.
15713         * string/string-inlines.c
15714         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
15715         Likewise.
15716         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15717         Likewise.
15719         * string/strspn.c (strcspn): Rewrite function.
15720         * string/bits/string2.h (strspn): Use __builtin_strcspn.
15721         (__strspn_c1): Remove inline function.
15722         (__strspn_c2): Likewise.
15723         (__strspn_c3): Likewise.
15724         * string/string-inlines.c
15725         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
15726         compatibility symbol.
15727         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
15728         Likewise.
15729         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
15730         Likewise.
15731         * string/string-inlines.c: Include generic version.
15733 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
15734             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15736         * string/Version (libc): Add GLIBC_2.24.
15737         * string/strcspn.c (strcspn): Rewrite function.
15738         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
15739         (__strcspn_c1): Remove inline function.
15740         (__strcspn_c2): Likewise.
15741         (__strcspn_c3): Likewise.
15742         * string/string-inline.c
15743         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
15744         compatibility symbol.
15745         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
15746         Likewise.
15747         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
15748         Likewise.
15749         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
15751 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15753         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
15754         Use ahi instead of aghi to adjust stack pointer.
15756 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15758         [BZ #19853]
15759         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
15760         TEST to take significant digits as second parameter.
15761         [TEST]: Redefine in terms of TEST_N taking 30
15762         significant digits.
15763         (do_test): Add test case to demonstrate precision
15764         failure in the ldbl-128ibm printf.
15765         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
15766         (__mpn_extract_long_double): Carry 7 extra intermediate
15767         bits of precision to aide computing difference when
15768         signs differ.
15770 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15772         [BZ #19881]
15773         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15774         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
15775         memset-avx512-unaligned-erms.
15776         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15777         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
15778         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
15779         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
15780         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
15781         __memset_sse2_unaligned_erms, __memset_erms,
15782         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
15783         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
15784         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
15785         file.
15786         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
15787         Likewise.
15788         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
15789         Likewise.
15790         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
15791         Likewise.
15793 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
15795         [BZ #19776]
15796         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15797         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
15798         memmove-avx512-unaligned-erms.
15799         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15800         (__libc_ifunc_impl_list): Test
15801         __memmove_chk_avx512_unaligned_2,
15802         __memmove_chk_avx512_unaligned_erms,
15803         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
15804         __memmove_chk_sse2_unaligned_2,
15805         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
15806         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
15807         __memmove_avx512_unaligned_erms, __memmove_erms,
15808         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
15809         __memcpy_chk_avx512_unaligned_2,
15810         __memcpy_chk_avx512_unaligned_erms,
15811         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
15812         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
15813         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
15814         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
15815         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
15816         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
15817         __mempcpy_chk_avx512_unaligned_erms,
15818         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
15819         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
15820         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
15821         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
15822         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
15823         __mempcpy_erms.
15824         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
15825         file.
15826         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
15827         Likewise.
15828         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
15829         Likewise.
15830         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
15831         Likewise.
15833 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15835         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
15836         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
15837         (La_s390_64_regs): Likewise.
15838         (La_s390_32_retval): Append vector register lrv_v24.
15839         (La_s390_64_retval): Likeweise.
15840         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
15841         Handle extended structs La_s390_32_regs and La_s390_32_retval.
15842         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
15843         Handle extended structs La_s390_64_regs and La_s390_64_retval.
15845 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15847         [BZ #19916]
15848         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
15849         to create a non-vector/vector version for _dl_runtime_resolve and
15850         _dl_runtime_profile. Move implementation to ...
15851         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
15852         (_dl_runtime_resolve) Save and restore fpr/vrs.
15853         (_dl_runtime_profile) Save and restore vrs and fix some issues
15854         if _dl_call_pltexit is called.
15855         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
15856         Choose the correct resolver function if running on a machine with vx.
15857         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
15858         to create a non-vector/vector version for _dl_runtime_resolve and
15859         _dl_runtime_profile. Move implementation to ...
15860         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
15861         (_dl_runtime_resolve) Save and restore fpr/vrs.
15862         (_dl_runtime_profile) Save and restore vrs and fix some issues
15863         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
15864         Choose the correct resolver function if running on a machine with vx.
15866 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15868         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
15870 2016-03-31  Florian Weimer  <fweimer@redhat.com>
15872         [BZ #19509]
15873         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
15874         skip_map != NULL.
15875         * elf/tst-dlsym-error.c: New file.
15876         * elf/Makefile (tests): Add tst-dlsym-error.
15877         (tst-dlsym-error): Link against libdl.
15879 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
15881         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15882         (__ASSUME_FUTIMESAT): Remove macro.
15883         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
15885 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15887         [BZ #19879]
15888         CVE-2016-3075
15889         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
15890         copy name.
15892 2016-03-29  Florian Weimer  <fweimer@redhat.com>
15894         [BZ #19837]
15895         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
15896         error if parse_line fails.
15898 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15900         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
15901         (index_cpu_ERMS): Likewise.
15902         (reg_ERMS): Likewise.
15904 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
15906         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
15907         PER_LINUX_FDPIC): Add.
15909 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15911         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15912         memcpy-avx512-no-vzeroupper.
15913         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
15914         to ...
15915         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
15916         (MEMCPY): Don't define.
15917         (MEMCPY_CHK): Likewise.
15918         (MEMPCPY): Likewise.
15919         (MEMPCPY_CHK): Likewise.
15920         (MEMPCPY_CHK): Renamed to ...
15921         (__mempcpy_chk_avx512_no_vzeroupper): This.
15922         (MEMPCPY_CHK): Renamed to ...
15923         (__mempcpy_chk_avx512_no_vzeroupper): This.
15924         (MEMCPY_CHK): Renamed to ...
15925         (__memmove_chk_avx512_no_vzeroupper): This.
15926         (MEMCPY): Renamed to ...
15927         (__memmove_avx512_no_vzeroupper): This.
15928         (__memcpy_avx512_no_vzeroupper): New alias.
15929         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
15931 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15933         [BZ #18858]
15934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15935         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
15936         and mempcpy-avx512-no-vzeroupper.
15937         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
15938         New.
15939         (MEMPCPY): Likewise.
15940         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
15941         (MEMPCPY_CHK): New.
15942         (MEMPCPY): Likewise.
15943         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
15944         (MEMPCPY): Likewise.
15945         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
15946         (MEMPCPY): Likewise.
15947         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
15948         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
15949         Likewise.
15950         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
15951         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
15953 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
15954              Amit Pawar  <Amit.Pawar@amd.com>
15956         [BZ #19583]
15957         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
15958         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
15959         processors.  Set Fast_Copy_Backward for AMD Excavator
15960         processors.
15961         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
15962         New.
15963         (index_arch_Fast_Unaligned_Copy): Likewise.
15964         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
15965         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
15967 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15969         [BZ #19791]
15970         * resolv/res_send.c (close_and_return_error): New function.
15971         (send_dg): Initialize *resplen2 after reopen failure.  Call
15972         close_and_return_error for error returns.  On error paths without
15973         __res_iclose, initialze *resplen2 explicitly.  Update comment for
15974         successful return.
15976 2016-03-25  Florian Weimer  <fweimer@redhat.com>
15978         [BZ# 19860]
15979         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
15980         zero if the compiler does not provide the AVX512F bit.
15982 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
15984         [BZ #19848]
15985         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
15986         from 8 to 4.
15987         (__ieee754_powl): Compare integer exponent against 4 not 8.
15988         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
15989         from 8 to 4.
15990         (__ieee754_powl): Compare integer exponent against 4 not 8.
15991         * math/auto-libm-test-in: Add more tests of pow.
15992         * math/auto-libm-test-out: Regenerated.
15993         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15996 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
15998         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
15999         Make code unconditional.
16000         [!__NR_utimensat]: Remove conditional code.
16001         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
16002         Make code unconditional.
16003         [!__NR_utimensat]: Remove conditional code.
16004         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
16005         Make code unconditional.
16006         [!__NR_utimensat]: Remove conditional code.
16008 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
16010         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
16011         Make code unconditional.
16013 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
16015         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
16016         call-clobbered %eax on retry path.
16017         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16019 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16021         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
16022         Don't set %rcx twice before "rep movsb".
16024 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
16026         [BZ #19583]
16027         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
16028         inline.  Check family before setting family, model and
16029         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
16030         bits here.
16031         (init_cpu_features): Replace HAS_CPU_FEATURE and
16032         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
16033         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
16034         for Intel processors with usable AVX2.  Call get_common_indeces
16035         for other processors with family == NULL.
16036         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
16037         (CPU_FEATURES_ARCH_P): Likewise.
16038         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
16039         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
16041 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16043         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
16044         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
16045         $(shared-thread-library) instead of hardcoding the path to libpthread.
16047 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
16049         * sysdeps/unix/sysv/linux/kernel-features.h
16050         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
16051         * sysdeps/unix/sysv/linux/getdents.c
16052         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
16053         [!have_no_getdents64_defined]: Likewise.
16054         (__GETDENTS): Remove __have_no_getdents64 conditional.
16056 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
16058         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
16059         Remove macro.
16060         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
16061         <kernel-features.h>.
16062         (signalfd) [__NR_signalfd4]: Make code unconditional.
16063         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
16065 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16067         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
16068         style.
16070 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
16072         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
16073         (__pthread_enable_asynccancel): Use JUMPTARGET to call
16074         __pthread_unwind.
16075         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16076         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
16077         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16078         (__condvar_cleanup1): Likewise.
16080 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
16082         [BZ #19822]
16083         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
16084         move it to the final $@ location.
16086 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16088         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
16089         access where posix_spawn success and pid argument is null.
16090         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
16091         success case.
16093 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
16095         * sysdeps/mach/hurd/i386/c++-types.data: New file.
16097         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
16099         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
16100         and __fcntl.
16101         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
16102         __fcntl only.
16103         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
16104         adding attribute_hidden to __open and __fcntl.
16106         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
16107         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
16108         depend on libc-modules.h,
16109         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
16111 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
16113         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
16114         Remove macro.
16115         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
16116         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
16117         entry.
16119         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
16120         Remove macro.
16121         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
16122         include <kernel-features.h>.
16123         [!__ASSUME_FALLOCATE]: Remove conditional code.
16124         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
16126 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
16128         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
16129         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
16130         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
16131         (_ZGVdN4v_cos_avx2): Likewise.
16132         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
16133         (_ZGVdN4v_cos): Likewise.
16134         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
16135         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
16136         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
16137         (_ZGVdN4v_exp_avx2): Likewise.
16138         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
16139         (_ZGVdN4v_exp): Likewise.
16140         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
16141         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
16142         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
16143         (_ZGVdN4v_log_avx2): Likewise.
16144         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
16145         (_ZGVdN4v_log): Likewise.
16146         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
16147         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
16148         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
16149         (_ZGVdN4vv_pow_avx2): Likewise.
16150         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
16151         (_ZGVdN4vv_pow): Likewise.
16152         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
16153         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
16154         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
16155         (_ZGVdN4v_sin_avx2): Likewise.
16156         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
16157         (_ZGVdN4v_sin): Likewise.
16158         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
16159         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
16160         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
16161         (_ZGVdN4vvv_sincos_avx2): Likewise.
16162         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
16163         (_ZGVdN4vvv_sincos): Likewise.
16164         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
16165         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
16166         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
16167         (_ZGVbN4v_cosf_sse4): Likewise.
16168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
16169         (_ZGVdN8v_cosf_avx2): Likewise.
16170         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
16171         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
16172         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
16173         (_ZGVbN4v_expf_sse4): Likewise.
16174         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
16175         (_ZGVdN8v_expf_avx2): Likewise.
16176         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
16177         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
16178         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
16179         (_ZGVbN4v_logf_sse4): Likewise.
16180         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
16181         (_ZGVdN8v_logf_avx2): Likewise.
16182         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
16183         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
16184         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
16185         (_ZGVbN4vv_powf_sse4): Likewise.
16186         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
16187         (_ZGVdN8vv_powf_avx2): Likewise.
16188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
16189         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
16190         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
16191         (_ZGVbN4vvv_sincosf_sse4): Likewise.
16192         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
16193         (_ZGVdN8vvv_sincosf_avx2): Likewise.
16194         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
16195         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
16196         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
16197         (_ZGVbN4v_sinf_sse4): Likewise.
16198         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
16199         (_ZGVdN8v_sinf_avx2): Likewise.
16200         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16201         Use JUMPTARGET to call callee.
16202         (WRAPPER_IMPL_SSE2_ff): Likewise.
16203         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16204         (WRAPPER_IMPL_AVX): Likewise.
16205         (WRAPPER_IMPL_AVX_ff): Likewise.
16206         (WRAPPER_IMPL_AVX_fFF): Likewise.
16207         (WRAPPER_IMPL_AVX512): Likewise.
16208         (WRAPPER_IMPL_AVX512_ff): Likewise.
16209         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
16210         Likewise.
16211         (WRAPPER_IMPL_SSE2_ff): Likewise.
16212         (WRAPPER_IMPL_SSE2_fFF): Likewise.
16213         (WRAPPER_IMPL_AVX): Likewise.
16214         (WRAPPER_IMPL_AVX_ff): Likewise.
16215         (WRAPPER_IMPL_AVX_fFF): Likewise.
16216         (WRAPPER_IMPL_AVX512): Likewise.
16217         (WRAPPER_IMPL_AVX512_ff): Likewise.
16218         (WRAPPER_IMPL_AVX512_fFF): Likewise.
16220 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16222         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
16223         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
16224         qualifier.
16225         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
16226         internal_function qualifiers.
16228 2016-03-15  Carlos O'Donell <carlos@redhat.com>
16230         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
16231         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
16232         * math/atest-exp.c (exp_mpn): Mark chk unused.
16233         * math/atest-exp2.c (exp_mpn): Likewise.
16234         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
16235         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
16237 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
16239         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
16240         Remove macro.
16241         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
16242         <kernel-features.h>.
16243         [__NR_ppoll]: Make code unconditional.
16244         [!__ASSUME_PPOLL]: Remove conditional code.
16246         * sysdeps/unix/sysv/linux/kernel-features.h
16247         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
16248         (__ASSUME_ACCEPT4): Likewise.
16249         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16250         Define.
16251         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
16252         Likewise.
16253         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16254         Likewise.
16255         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
16256         Likewise.
16257         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
16258         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
16259         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16260         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16261         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16262         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16263         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16264         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16265         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16266         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16267         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16268         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16269         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16270         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16271         * sysdeps/unix/sysv/linux/i386/kernel-features.h
16272         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16273         Likewise.
16274         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16275         Likewise.
16276         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16277         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16278         0x040300].
16279         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16280         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
16281         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16282         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16283         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16284         0x030300].
16285         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
16286         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16287         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16288         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16289         0x040300].
16290         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16291         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16292         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16293         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16294         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16295         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16296         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
16297         0x030300].
16298         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16299         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16300         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16301         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16302         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16303         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16304         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16305         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16306         * sysdeps/unix/sysv/linux/s390/kernel-features.h
16307         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
16308         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
16309         0x040300].
16310         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16311         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16312         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16313         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
16314         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16315         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16316         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16317         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16319         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16320         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16321         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16322         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16323         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
16324         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
16325         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16326         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16327         Likewise.
16328         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16329         Likewise.
16331 2016-03-15  Andreas Schwab  <schwab@suse.de>
16333         [BZ #19257]
16334         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
16335         statp->_u._ext.nscount as loop count.
16337 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
16339         * math/test-signgam-finite-c99.c: Also #undef
16340         __LIBC_INTERNAL_MATH_INLINES.
16341         * math/test-signgam-main.c: Likewise.
16343 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
16345         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
16346         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
16347         (MADV_FREE): Likewise.
16348         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
16349         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
16350         EPOLLEXCLUSIVE.
16352 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
16354         * timezone/README: Remove mention of checktab.awk. Mention wiki
16355         SharedSourceFiles.
16357 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
16359         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
16360         WUNTRACED.
16362 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16364         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
16365         order to match the type of p when calling atomic_exchange_acq().
16367 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16369         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
16370         cfi_offset calls.
16371         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
16372         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
16373         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
16374         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
16375         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
16377 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
16379         * timezone/checktab.awk: Removed.
16381 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
16383         * manual/math.texi (Errors in Math Functions): Document relaxed
16384         accuracy goals for IBM long double.
16385         * math/libm-test.inc (test_exceptions): Always allow spurious
16386         "underflow" and "inexact" exceptions for IBM long double.
16388 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
16390         [BZ #19762]
16391         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16392         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
16393         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
16394         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
16395         (bit_arch_*): This for feature array.
16396         (bit_*): Renamed to ...
16397         (bit_cpu_*): This for cpu array.
16398         (index_*): Renamed to ...
16399         (index_arch_*): This for feature array.
16400         (index_*): Renamed to ...
16401         (index_cpu_*): This for cpu array.
16402         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
16403         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
16404         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
16405         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
16406         bit_##name with index_cpu_##name and bit_cpu_##name.
16407         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
16408         bit_##name with index_arch_##name and bit_arch_##name.
16410 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
16412         [BZ #19792]
16413         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
16414         Terminate FDE before return label.
16416 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
16418         [BZ #19790]
16419         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
16420         (rintl): Define as macro.
16421         [USE_AS_NEARBYINTL] (__rintl): Likewise.
16422         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
16423         of fesetround.  Ensure results are evaluated before end of scope.
16424         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
16425         USE_AS_NEARBYINTL and include s_rintl.c.
16426         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
16427         Disable exception traps in new environment.
16428         (libc_feholdsetround_ppc_ctx): Likewise.
16430 2016-03-08  Roland McGrath  <roland@hack.frob.com>
16432         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
16433         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
16434         (tst_audit10_aux) [__AVX512F__]: ... here.
16436 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
16438         * include/sys/auxv.h: New file.
16440 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16442         [BZ #19759]
16443         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
16445 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16447         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
16448         operand modifier.
16449         (feclearexcept): Likewise.
16451 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16453         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
16454         to reflect the entire 32-bit HWCAP.
16455         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
16456         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
16458 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
16460         [BZ #19783]
16461         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
16462         $(test-via-rtld-prefix).
16463         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
16465 2016-03-08  Florian Weimer  <fweimer@redhat.com>
16467         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
16468         union wait.  Report any non-zero exit status as error.
16470 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16472         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
16473         configured with --enable-hardcoded-path-in-tests.
16475 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
16477         [BZ #19677]
16478         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16479         (__ieee754_remainderl): Put zero low parts in canonical form.
16480         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
16481         file.  Based on
16482         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
16483         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
16484         with wrapper round test-fmodrem-ldbl-128ibm.c.
16485         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
16486         file.
16487         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
16488         Likewise.
16489         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16490         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
16492 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16494         [BZ #19610]
16495         * elf/ldconfig.c (opt_link): Update comment.
16496         (options): Update help string for option -X.
16497         (search_dir): Unlink stale symbolic link only if updating symbolic
16498         links.
16499         * elf/tst-ldconfig-X.sh: New file.
16500         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
16501         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
16503 2016-03-07  Andreas Schwab  <schwab@suse.de>
16505         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
16506         needed arguments.
16508 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
16510         [BZ #15333]
16511         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
16512         to lstat64.
16514 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16516         * libio/filedoalloc.c (isatty): Remove.
16517         (local_isatty): Add comment.  Call __isatty directly.
16518         (_IO_file_doallocate): Update comment.  Assume _LIBC.
16519         * libio/wfiledoalloc.c (isatty): Remove.
16520         (_IO_wfile_doallocate): Update comment.
16522 2016-03-07  Florian Weimer  <fweimer@redhat.com>
16524         [BZ #19269]
16525         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
16526         tst-audit4-aux.o.
16527         (tst-audit10): Depend on tst-audit10-aux.o.
16528         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
16529         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
16530         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
16531         instead of inline AVX code.
16532         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
16533         instead of inline AVX512 code.
16534         * sysdeps/x86_64/tst-audit4-aux.c: New file
16535         * sysdeps/x86_64/tst-audit10-aux.c: New file
16537         [BZ #19648]
16538         * test-skeleton.c (main): Do not set RLIMIT_DATA.
16540 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16542         [BZ #14750]
16543         [BZ #10354]
16544         [BZ #18433]
16545         * include/sched.h (__clone): Add hidden prototype.
16546         (__clone2): Likewise.
16547         * include/unistd.h (__dup): Likewise.
16548         * posix/Makefile (tests): Add tst-spawn2.
16549         * posix/tst-spawn2.c: New file.
16550         * sysdeps/posix/dup.c (__dup): Add hidden definition.
16551         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
16552         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16553         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16554         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16555         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16556         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
16557         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16558         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
16559         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16560         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16562         Likewise.
16563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16564         Likewise.
16565         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16566         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16567         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16568         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16569         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16570         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16571         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16572         * sysdeps/unix/sysv/linux/nptl-signals.h
16573         (____nptl_is_internal_signal): New function.
16574         * sysdeps/unix/sysv/linux/spawni.c: New file.
16576         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
16577         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
16578         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
16579         * posix/tst-execvp2.c (do_test): Likewise.
16580         * posix/tst-execvp3.c (do_test): Likewise.
16581         * posix/tst-execvp4.c (do_test): Likewise.
16582         * posix/tst-execvpe1.c: New file.
16583         * posix/tst-execvpe2.c: Likewise.
16584         * posix/tst-execvpe3.c: Likewise.
16585         * posix/tst-execvpe4.c: Likewise.
16586         * posix/tst-execvpe5.c: Likewise.
16587         * posix/tst-execvpe6.c: Likewise.
16589         [BZ #19534]
16590         * posix/execl.c (execl): Remove dynamic memory allocation.
16591         * posix/execle.c (execle): Likewise.
16592         * posix/execlp.c (execlp): Likewise.
16594 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16596         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
16597         Replace .text with .text.avx512.
16598         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16599         Likewise.
16601 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
16603         * sysdeps/generic/libnsl.abilist: New file.
16604         * sysdeps/generic/libutil.abilist: New file.
16606 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
16608         [BZ #19762]
16609         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
16610         HAS_ARCH_FEATURE with Fast_Rep_String.
16611         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
16612         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
16613         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
16614         Likewise.
16615         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
16616         Likewise.
16617         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
16618         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
16619         Likewise.
16620         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
16621         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
16622         Likewise.
16624 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16626         [BZ #19745]
16627         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
16628         with *%rax in call.
16630 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16632         [BZ #19745]
16633         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
16634         with *__libc_start_main@GOTPCREL(%rip) in call.
16636 2016-03-04  Roland McGrath  <roland@hack.frob.com>
16638         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
16639         inside conditional for nonempty $(CXX).
16641         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
16642         nonempty.
16644         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
16645         to test for empty $(CXX) rather than $(CXX) of "no".
16647 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
16649         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
16651 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
16652             H.J. Lu  <hongjiu.lu@intel.com>
16654         [BZ #18880]
16655         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
16656         instead of Slow_BSF, and also check for Fast_Copy_Backward to
16657         enable __memcpy_ssse3_back.
16659 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16661         [BZ #19758]
16662         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
16663         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
16665 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16667         [BZ #19490]
16668         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
16669         (__fentry__): Likewise.
16671 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
16673         * gmon/Makefile (noprof): Add $(sysdep_noprof).
16674         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
16676 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16678         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
16679         __mcount_internal directly.
16680         (C_LABEL(__fentry__)): Likewise.
16681         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
16682         directly.
16684 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
16686         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16687         (__start_context): Call __setcontext directly.
16689 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
16691         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16692         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16693         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
16694         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16695         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16696         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16697         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
16698         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16699         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16700         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
16701         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16702         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16703         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16704         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16705         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16706         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16707         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
16708         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16709         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16710         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
16711         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
16712         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16713         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16714         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
16715         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
16716         Remove conditional code.
16717         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16718         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
16719         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16720         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16721         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
16722         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16723         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
16724         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16725         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
16726         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16727         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16728         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
16730 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
16732         * NEWS (2.23): Fix typo in bug 19048 text.
16734 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
16736         [BZ #14259]
16737         * Makeconfig: Rename msgcatdir to localedir.
16738         Rename inst_msgcatdir to inst_localedir.
16739         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
16740         * config.make.in: Add localedir.
16741         * elf/Makefile ($(objpfx)sotruss): Use localedir.
16742         (ldd-rewrite): Likewise.
16743         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
16744         (install-others): Use inst_localedir.
16745         (CPPFLAGS): Use localedir.
16746         * locale/Makefile (locale-CPPFLAGS): Likewise.
16747         * po/Makefile (mo-installed): Use inst_localedir.
16749         [BZ #19575]
16750         * localedata/charmaps/GB18030: Update comments regarding PAU to
16751         non-PUA mappings.
16753 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
16755         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
16756         test for header.
16757         * sysdeps/unix/sysv/linux/configure: Regenerated.
16758         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
16759         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
16760         Remove conditional code.
16761         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
16763         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16764         Define to 3.2.0.
16765         (arch_minimum_kernel): Likewise.
16766         * sysdeps/unix/sysv/linux/configure: Regenerated.
16767         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
16768         Define to 2.6.32.
16769         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
16770         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
16771         (arch_minimum_kernel): Define to 2.6.32.
16772         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
16773         * README: Document Linux 3.2 requirement.
16774         * manual/install.texi (Linux): Document Linux 3.2 headers
16775         requirement.
16776         * INSTALL: Regenerated.
16778 2016-02-24  Andreas Schwab  <schwab@suse.de>
16780         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
16781         if !NO_LONG_DOUBLE.
16783 2016-02-22  Roland McGrath  <roland@hack.frob.com>
16785         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
16786         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
16788 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
16790         [BZ #19512]
16791         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
16793 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
16795         * posix/tst-dir.c: Include libc-internal.h.
16797 2016-02-20  Florian Weimer  <fweimer@redhat.com>
16799         [BZ #19056]
16800         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
16801         * manual/filesys.texi (Reading/Closing Directory): Mention
16802         deprecaion.
16803         * posix/tst-dir.c (main): Disable deprecation warning in test.
16805 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
16807         [BZ #19679]
16808         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
16809         Renamed to ...
16810         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
16811         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16812         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
16813         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16814         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16815         * sysdeps/x86_64/dl-trampoline.h
16816         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
16817         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
16819 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16821         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
16823 2016-02-19  Mark Wielaard  <mjw@redhat.com>
16825         * elf/elf.h (R_386_GOT32X): New.
16826         (R_386_NUM): Update.
16827         (R_X86_64_GOTPCRELX: New.
16828         (R_X86_64_REX_GOTPCRELX): New.
16829         (R_X86_64_NUM): Update.
16831 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
16833         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
16835 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
16837         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
16838         assign attr->stackaddr to it, and adjust it down when
16839         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
16840         [_STACK_GROWS_UP]: Delete assert.
16841         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
16842         Implement stack grows up logic.
16843         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
16844         stack grows up logic.
16846 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16848         * NEWS: Update with 2.24 template.
16850 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16852         [BZ #19678]
16853         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16854         Ensure +0.0 is returned when taking the next value below the least
16855         positive value.
16857 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16859         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
16860         available.  Do not define NO_THREADS.
16861         * malloc/malloc.c: Do not check NO_THREADS.
16862         * malloc/arena.c: Likewise.
16864 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16866         * malloc/malloc.c (__libc_mallinfo): Update comment.
16867         (struct malloc_par): Remove max_total_mem member, it was always 0.
16868         (int_mallinfo): Store 0 into usmblks (no functional change).
16869         * malloc/hooks.c (struct malloc_state): Document that
16870         max_total_mem is always 0.
16871         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
16872         always 0.
16873         * manual/memory.texi (Statistics of Malloc): Likewise.
16875 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16877         * malloc/malloc.c (sysmalloc): Do not update arena_max.
16878         * malloc/arena.c (arena_max): Remove.
16879         (heap_trim, _int_new_arena): Do not update arena_max.
16881 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16883         * resolv/res_init.c (res_ninit): Update comment.
16885 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16887         [BZ #19505]
16888         * posix/spawn_int.h: Add headers and include guard.
16889         (__spawn_valid_fd): New function.
16890         * posix/spawn_faction_addopen.c
16891         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
16892         * posix/spawn_faction_addclose.c
16893         (posix_spawn_file_actions_addclose): Likewise.
16894         * posix/spawn_faction_adddup2.c
16895         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
16896         second file descriptor.
16897         * posix/spawn_valid_fd.c: New file.
16898         * posix/tst-posix_spawn-fd.c: New file.
16899         * posix/Makefile (routines): Add spawn_valid_fd.
16900         (tests): Add tst-posix_spawn-fd.
16902 2016-02-19  Florian Weimer  <fweimer@redhat.com>
16904         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
16905         (do_test): Limit the number of arenas, so that we can use fewer
16906         outer threads.  Limit timeout to 3 seconds, in preparation for a
16907         larger TIMEOUT value.
16909 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
16911         [BZ #19674]
16912         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
16913         sign in overflowing and underflowing results when overflow or
16914         underflow is detected early.  Include sign in result before rather
16915         than after scaling.
16917         [BZ #19603]
16918         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
16919         (__ieee754_remainderl): Adjust sign of integer version of low part
16920         when taking absolute value of high part.
16921         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16922         * math/libm-test.inc (remainder_test_data): Add another test.
16923         (remquo_test_data): Likewise.
16925 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
16927         [BZ #19602]
16928         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
16929         equal high parts and both low parts zero specially.
16930         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
16931         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
16932         Add test-fmodl-ldbl-128ibm.
16934         [BZ #19595]
16935         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
16936         common logic for all cases of shifting subnormal results.  Do not
16937         insert sign bit in shifted mantissa.  Always pass -1023 as biased
16938         exponent to ldbl_insert_mantissa in subnormal case.
16940         [BZ #19594]
16941         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
16942         on high and low parts then adjust result and use
16943         ldbl_canonicalize_int if needed.
16945         [BZ #19593]
16946         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
16947         on high part and __floor or __ceil on low part then use
16948         ldbl_canonicalize_int if needed.
16950         [BZ #19592]
16951         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
16952         high and low parts then use ldbl_canonicalize_int if needed.
16954         [BZ #17899]
16955         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
16956         New function.
16957         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
16958         on high and low parts then use ldbl_canonicalize_int if needed.
16960 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16962         * configure: Regenerated.
16964         * po/libc.pot: Regenerated.
16966         * po/be.po: Updated translation.
16967         * po/bg.po: Likewise.
16968         * po/ca.po: Likewise.
16969         * po/cs.po: Likewise.
16970         * po/da.po: Likewise.
16971         * po/el.po: Likewise.
16972         * po/eo.po: Likewise.
16973         * po/es.po: Likewise.
16974         * po/fi.po: Likewise.
16975         * po/fr.po: Likewise.
16976         * po/gl.po: Likewise.
16977         * po/hr.po: Likewise.
16978         * po/hu.po: Likewise.
16979         * po/ia.po: Likewise.
16980         * po/id.po: Likewise.
16981         * po/it.po: Likewise.
16982         * po/ja.po: Likewise.
16983         * po/lt.po: Likewise.
16984         * po/nb.po: Likewise.
16985         * po/nl.po: Likewise.
16986         * po/pt_BR.po: Likewise.
16987         * po/rw.po: Likewise.
16988         * po/sk.po: Likewise.
16989         * po/sl.po: Likewise.
16990         * po/sv.po: Likewise.
16991         * po/tr.po: Likewise.
16992         * po/zh_CN.po: Likewise.
16993         * po/zh_TW.po: Likewise.
16995         * version.h (RELEAES): Set to "development".
16996         (VERSION): Set to 2.23.90.
16998         * version.h (RELEASE): Set to "stable".
16999         (VERSION): Set to 2.23.
17000         * include/feature.h (__GLIBC_MINOR__): Set to 23.
17002         * NEWS: Updated fixed bugs.
17004 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
17005             Wilco Dijkstra  <wdijkstr@arm.com>
17007         [BZ #19462]
17008         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
17009         (_STRING_INLINE_unaligned): This.
17010         * include/string.h: Include <string_private.h>.
17011         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
17012         _STRING_INLINE_unaligned.
17013         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
17014         (_STRING_INLINE_unaligned): New.
17015         * sysdeps/aarch64/string_private.h: New file.
17016         * sysdeps/generic/string_private.h: Likewise.
17017         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
17018         * sysdeps/s390/string_private.h: Likewise.
17019         * sysdeps/x86/string_private.h: Likewise.
17020         * sysdeps/m68k/m680x0/m68020/bits/string.h
17021         (_STRING_ARCH_unaligned): Renamed to ...
17022         (_STRING_INLINE_unaligned): This.
17023         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
17024         to ...
17025         (_STRING_INLINE_unaligned): This.
17026         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
17027         to ...
17028         (_STRING_INLINE_unaligned): This.
17029         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
17030         to ...
17031         (_STRING_INLINE_unaligned): This.
17033 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
17034             H.J. Lu  <hongjiu.lu@intel.com>
17036         [BZ #19590]
17037         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
17038         relocation.
17040 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
17042         [BZ #18665]
17043         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
17044         *herrno_p.
17045         (gaih_getanswer): Document functional behviour. Return tryagain
17046         if any result is tryagain.
17047         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
17048         when freed.
17049         * resolv/res_send.c: Add copyright text.
17050         (__libc_res_nsend): Document that MAXPACKET is expected.
17051         (send_vc): Document. Remove buffer reuse.
17052         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
17053         size of the buffer. Add Dprint for truncated UDP buffer.
17055 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
17057         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
17058         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
17059         * INSTALL: Regenerate.
17061 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
17062             Jonathan Wakely  <jwakely@redhat.com>
17063             Carlos O'Donell  <carlos@redhat.com>
17065         [BZ 19439]
17066         * math/Makefile (tests): Add test-math-isinff.
17067         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
17068         * math/bits/mathcalls.h [__USE_MISC]: Use
17069         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
17070         functions not in C++11 and which don't conflict e.g. isinff,
17071         isinfl etc.
17072         * math/test-math-isinff.cc: New file.
17074 2016-02-12  Florian Weimer  <fweimer@redhat.com>
17076         * misc/bug18240.c (do_test): Set RLIMIT_AS.
17078 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17080         [BZ #19529]
17081         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
17083 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17085         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17087 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
17089         [BZ #19550]
17090         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
17091         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
17092         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
17093         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
17094         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
17095         New syscall entry.
17096         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
17097         New syscall entry.
17098         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
17099         syscall entry.
17101 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
17103         [BZ #18240]
17104         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
17105         unsigned int wraparound.
17107 2016-01-27  Florian Weimer  <fweimer@redhat.com>
17109         [BZ #18240]
17110         * misc/bug18240.c: New test.
17111         * misc/Makefile (tests): Add it.
17113 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
17114             Joseph Myers  <joseph@codesourcery.com>
17116         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
17117         load in branch delay slot when less than a word of input left.
17119 2016-01-27  Andreas Schwab  <schwab@suse.de>
17121         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
17122         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
17123         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
17124         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
17126 2016-01-26  David S. Miller  <davem@davemloft.net>
17128         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
17130 2016-01-25  David S. Miller  <davem@davemloft.net>
17132         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
17133         __sqrtl_finite.
17134         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
17135         instead using versioned_symbol.
17136         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
17137         of entries.
17139         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
17140         __sqrtl_finite to GLIBC_2.23
17142 2016-01-25  Ricchard Henderson  <rth@redhat.com>
17144         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17146 2016-01-25  Andreas Schwab  <schwab@suse.de>
17148         [BZ #17514]
17149         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
17150         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
17151         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
17152         * nptl/tst-mutex-errorcheck.c: New file.
17154 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17156         [BZ #18560]
17157         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
17158         (IPCOP_semop): Likewise.
17159         (IPCOP_semget): Likewise.
17160         (IPCOP_semctl): Likewise.
17161         (IPCOP_msgsnd): Likewise.
17162         (IPCOP_msgrcv): Likewise.
17163         (IPCOP_msgget): Likewise.
17164         (IPCOP_msgctl): Likewise.
17165         (IPCOP_shmat): Likewise.
17166         (IPCOP_shmdt): Likewise.
17167         (IPCOP_shmget): Likewise.
17168         (IPCOP_shmctl): Likewise.
17170 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
17172         * string/tst-endian.c: Include <libc-internal.h>.
17173         (do_test): Ignore tautological-compare warnings around
17174         "htobeXX (beXXtoh (i)) != i" and
17175         "htoleXX (leXXtoh (i)) != i" if-statements.
17177 2016-01-24  David S. Miller  <davem@davemloft.net>
17179         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
17180         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
17181         alias.
17182         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
17183         __sqrtl_finite.
17185         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17187 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
17189         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
17190         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
17191         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
17193 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17195         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
17196         (thread_func): Use new function to simplify barrier check.
17197         (do_test): Use new function to simplify checking barrier exit
17198         code, and actually join the child thread.
17200 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17202         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
17203         semicolon.
17204         (__libc_tend): Likewise.
17205         (__libc_tabort): Likewise.
17207 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
17209         * sysdeps/nios2/libm-test-ulps: Update.
17210         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
17211         (__gtsf2): Likewise.
17212         (__unorddf2): Likewise.
17213         (__unordsf2): Likewise.
17214         (__ledf2): Likewise.
17216 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
17218         * nis/nis_table.c (__follow_path): Disable diagnostic for
17219         uninitialized variable that is a false positive for gcc 4.7.
17220         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
17222 2016-01-20  Roland McGrath  <roland@hack.frob.com>
17224         * sysdeps/nacl/lowlevellock-futex.h
17225         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
17226         Always evaluate PRIVATE argument.
17228 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
17230         [BZ #19490]
17231         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
17232         (pthread_cond_broadcast): Use ENTRY/END
17233         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
17234         (pthread_cond_signal): Likewise.
17235         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
17236         Likewise.
17237         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
17238         Likewise.
17239         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
17240         Likewise.
17242 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
17244         * sysdeps/ieee754/dbl-64/s_finite.c
17245         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
17246         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
17247         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
17248         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
17249         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
17252         (__gtsf2): Add as optional for libc.so.
17253         (__unordsf2): Likewise.
17254         (__signbit): Remove for libc.so.
17255         (__signbitl): Likewise.
17257 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17259         * iconvdata/bug-iconv11.c (test_ibm93x):
17260         Use %zu printf format specifier for size_t argument.
17262 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
17264         * math/gen-libm-test.pl (parse_ulps): Do not reduce
17265         already-recorded ulps.
17266         * sysdeps/arm/libm-test-ulps: Regenerated.
17267         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17268         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17269         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17271 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17272             Paul Pluzhnikov  <ppluzhnikov@google.com>
17274         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
17275         assembler not supporting AVX-512.
17277 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17279         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17281 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
17283         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17284         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17286         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17288         * sysdeps/arm/libm-test-ulps: Regenerated.
17290 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
17292         [BZ #19451]
17293         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
17295 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17297         [BZ #19486]
17298         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
17299         * sysdeps/generic/fix-fp-int-convert-overflow.h
17300         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
17301         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
17302         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
17303         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
17304         Likewise.
17305         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
17306         Avoid conversions to long int where inexact exceptions
17307         could be raised.
17308         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
17309         Likewise.
17310         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
17311         Avoid conversions to long long int where inexact exceptions
17312         could be raised.
17313         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
17314         Likewise.
17316 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
17318         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
17319         * configure: Regenerated.
17321 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17323         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
17325 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
17327         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
17328         outside of comment.
17330 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17332         * nptl/tst-barrier1.c: Add description on first line.
17333         * nptl/tst-barrier2.c: Likewise.
17334         * nptl/tst-barrier3.c: Likewise.
17335         * nptl/tst-barrier4.c: Likewise.
17336         * nptl/tst-barrier5.c: Likewise.
17338 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17340         [BZ #18868]
17341         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
17343 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
17345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
17346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17347         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
17348         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
17349         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
17350         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
17351         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
17352         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17353         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17354         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
17355         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
17357 2016-01-15  Torvald Riegel  <triegel@redhat.com>
17359         [BZ #13065]
17360         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
17361         new implementation.
17362         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
17363         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
17364         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
17365         (BARRIER_IN_THRESHOLD): New macro.
17366         * nptl/pthread_barrierattr_setpshared.c
17367         (pthread_barrierattr_setpshared): Clean up.
17368         * nptl/tst-barrier4.c: Correct comment.
17369         * nptl/tst-barrier5.c: New file.
17370         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
17371         (gen-as-const-headers): Remove lowlevelbarrier.sym.
17372         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
17373         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
17374         * nptl/lowlevelbarrier.sym: Remove.
17375         * nptl/DESIGN-barrier.txt: Remove.
17376         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
17377         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
17378         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
17379         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
17380         error.
17381         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
17382         implementation.
17384 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17386         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
17387         (do_child): Mask SIGRTMIN while thr is running.
17389 2016-01-15  Martin Sebor  <msebor@redhat.com>
17391         [BZ #19432]
17392         * iconvdata/Makefile: Add bug-iconv11.
17393         * iconvdata/bug-iconv11.c: New test.
17394         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
17395         * iconvdata/ibm933.c: Same.
17396         * iconvdata/ibm935.c: Same.
17397         * iconvdata/ibm937.c: Same.
17398         * iconvdata/ibm939.c: Same.
17400 2016-01-15  Martin Sebor  <msebor@redhat.com>
17402         [BZ #19443]
17403         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
17404         [DEBUG] (_ufc_set_bits): Declare used.
17405         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
17406         [DEBUG] (print_all): Declare used.
17407         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
17408         operands of the ternary ?: expression to target type.
17409         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
17410         calling the undeclared abort.
17411         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
17413 2016-01-15  Martin Sebor  <msebor@redhat.com>
17415         [BZ #18755]
17416         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
17417         warnings.
17418         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
17419         (__gai_create_helper_thread): Same.
17420         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
17421         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
17422         to suppress -Wmaybe-uninitialized warnings.
17424 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
17426         [BZ #19465]
17427         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
17428         inside if.
17429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17430         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17431         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17433 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
17435         [BZ #19466]
17436         * time/tst-mktime2.c (time_t_max): Removed.
17437         (time_t_min): Likewise.
17438         (TYPE_SIGNED): New.
17439         (TYPE_MINIMUM): Likewise.
17440         (TYPE_MAXIMUM): Likewise.
17441         (TIME_T_MIN): Likewise.
17442         (TIME_T_MAX): Likewise.
17443         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
17444         and TIME_T_MIN.
17445         (do_test): Likewise.
17447 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
17449         [BZ #19467]
17450         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17451         index_Fast_Unaligned_Load flag for Excavator family CPUs.
17453 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
17455         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
17457 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
17459         * benchtests/Makefile (PYTHON): Define.
17460         (bench-func): Use $(PYTHON) to run python scripts.
17461         ($(objpfx)bench-%.c): Likewise.
17463 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
17465         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
17466         leading slash when `file_name' is "/".
17468 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
17470         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
17471         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
17472         Likewise.
17473         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
17474         Likewise.
17475         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
17476         Likewise.
17477         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
17478         enum constant and macro.
17479         (PTRACE_SETSIGMASK): Likewise.
17480         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17481         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
17482         (PTRACE_GETSIGMASK): Likewise.
17483         (PTRACE_SETSIGMASK): Likewise.
17484         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17485         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
17486         Likewise.
17487         (PTRACE_SETSIGMASK): Likewise.
17488         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17489         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
17490         (PTRACE_GETSIGMASK): Likewise.
17491         (PTRACE_SETSIGMASK): Likewise.
17492         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17493         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
17494         Likewise.
17495         (PTRACE_SETSIGMASK): Likewise.
17496         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17497         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
17498         Likewise.
17499         (PTRACE_SETSIGMASK): Likewise.
17500         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17501         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
17502         Likewise.
17503         (PTRACE_SETSIGMASK): Likewise.
17504         (PTRACE_SECCOMP_GET_FILTER): Likewise.
17506 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
17507             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17509         [BZ #19439]
17510         * math/bits/mathcalls.h
17511         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
17512         prototype.
17513         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
17515 2016-01-11  Andreas Schwab  <schwab@suse.de>
17517         [BZ #19253]
17518         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
17519         cache when TZDEFRULES was used.
17520         * time/tst-tzname.c: New file.
17521         * time/Makefile (test): Add tst-tzname.
17522         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
17523         * timezone/Makefile (test-zones): Add $(posixrules-file).
17524         ($(testdata)/$(posixrules-file)): New rule.
17526 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
17528         Fix doc quoting problems with Texinfo 5
17529         Without this change, in the info file output, Texinfo 5 quotes code
17530         in text with undirected single quotes 'like this' and generates
17531         code examples that with many PDF readers cannot be cut out of PDFs
17532         and pasted into code.
17533         * manual/libc.texinfo: Configure the libc manual like the GNU
17534         Emacs manual, by using @documentencoding and setting
17535         txicodequoteundirected and txicodequotebacktick.  This way,
17536         Texinfo 5 quotes code in text with directed single quotes ‘like
17537         this’ and produces examples that can be cut out of PDFs.  This
17538         change causes Texinfo 5 to generate info files that contain UTF-8
17539         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
17540         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
17542 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17544         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
17545         __libc_tabort, __libc_tend): New wrappers that enforce compiler
17546         barriers to their respective compiler built-ins.
17547         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
17548         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
17549         * sysdeps/powerpc/sysdep.h: Likewise.
17550         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
17551         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
17552         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
17554 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
17556         * scripts/config.guess: Revert previous shebang change.
17557         * scripts/config.sub: Likewise.
17558         * scripts/mkinstalldirs: Likewise.
17560 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17562         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
17563         PPC_FEATURE2_HAS_IEEE128.
17564         * sysdeps/powerpc/dl-procinfo.c:
17565         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
17567 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
17569         [BZ #19415]
17570         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
17571         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
17572         (_dl_lookup_address): Rewrite using function resolver trampoline.
17573         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
17574         two bits in address.
17576 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17578         * longlong.h: Change !__SHMEDIA__ to
17579         (!defined (__SHMEDIA__) || !__SHMEDIA__).
17580         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
17582 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
17583             Joseph Myers  <joseph@codesourcery.com>
17584             Mark Shinwell  <shinwell@codesourcery.com>
17585             Andrew Stubbs  <ams@codesourcery.com>
17586             Rich Felker <dalias@libc.org>
17588         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
17590 2016-01-07  Richard Henderson  <rth@redhat.com>
17592         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
17594 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
17596         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
17597         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
17598         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17599         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17600         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
17602 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
17603             Joseph Myers  <joseph@codesourcery.com>
17605         * timezone/private.h: Update from tzcode 2015g.
17606         * timezone/tzfile.h: Likewise.
17607         * timezone/tzselect.ksh: Likewise.
17608         * timezone/zdump.c: Likewise.
17609         * timezone/zic.c: Likewise.
17610         * timezone/ialloc.c: Remove file.
17611         * timezone/scheck.c: Likewise.
17612         * timezone/Makefile (extra-objs): Remove variable.
17613         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
17614         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
17615         -Wno-maybe-uninitialized.
17616         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
17617         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
17618         (CFLAGS-ialloc.c): Remove variable.
17619         (CFLAGS-scheck.c): Likewise.
17620         * timezone/README: Update list of files from tzcode.
17622 2016-01-07  Khem Raj  <raj.khem@gmail.com>
17624         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
17625         instead of __fxprintf when _LIBC is undefined.
17627 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
17629         * catgets/test-gencat.sh: Remove space after shebang.
17630         * conform/GlibcConform.pm: Likewise.
17631         * conform/check-header-lists.sh: Likewise.
17632         * conform/conformtest.pl: Likewise.
17633         * conform/linknamespace.pl: Likewise.
17634         * conform/list-header-symbols.pl: Likewise.
17635         * debug/catchsegv.sh: Likewise.
17636         * elf/genrtldtbl.awk: Likewise.
17637         * elf/tst-pathopt.sh: Likewise.
17638         * elf/tst-rtld-load-self.sh: Likewise.
17639         * grp/tst_fgetgrent.sh: Likewise.
17640         * iconvdata/gen-8bit-gap-1.sh: Likewise.
17641         * iconvdata/gen-8bit-gap.sh: Likewise.
17642         * iconvdata/gen-8bit.sh: Likewise.
17643         * iconvdata/run-iconv-test.sh: Likewise.
17644         * intl/tst-gettext.sh: Likewise.
17645         * intl/tst-gettext2.sh: Likewise.
17646         * intl/tst-gettext4.sh: Likewise.
17647         * intl/tst-gettext6.sh: Likewise.
17648         * intl/tst-translit.sh: Likewise.
17649         * io/ftwtest-sh: Likewise.
17650         * libio/test-freopen.sh: Likewise.
17651         * locale/gen-translit.pl: Likewise.
17652         * malloc/tst-mtrace.sh: Likewise.
17653         * manual/check-safety.sh: Likewise.
17654         * manual/libc-texinfo.sh: Likewise.
17655         * manual/tsort.awk: Likewise.
17656         * manual/xtract-typefun.awk: Likewise.
17657         * nptl/tst-cancel-wrappers.sh: Likewise.
17658         * nptl/tst-tls6.sh: Likewise.
17659         * posix/globtest.sh: Likewise.
17660         * posix/tst-getconf.sh: Likewise.
17661         * posix/wordexp-tst.sh: Likewise.
17662         * scripts/check-c++-types.sh: Likewise.
17663         * scripts/check-local-headers.sh: Likewise.
17664         * scripts/config.guess: Likewise.
17665         * scripts/config.sub: Likewise.
17666         * scripts/cpp: Likewise.
17667         * scripts/cross-test-ssh.sh: Likewise.
17668         * scripts/documented.sh: Likewise.
17669         * scripts/evaluate-test.sh: Likewise.
17670         * scripts/gen-libc-abis: Likewise.
17671         * scripts/gen-sorted.awk: Likewise.
17672         * scripts/list-fixed-bugs.py: Likewise.
17673         * scripts/merge-test-results.sh: Likewise.
17674         * scripts/mkinstalldirs: Likewise.
17675         * scripts/rellns-sh: Likewise.
17676         * scripts/test-installation.pl: Likewise.
17677         * scripts/update-copyrights: Likewise.
17678         * stdio-common/tst-printf.sh: Likewise.
17679         * stdio-common/tst-unbputc.sh: Likewise.
17680         * stdlib/tst-fmtmsg.sh: Likewise.
17681         * stdlib/tst-setcontext3.sh: Likewise.
17682         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
17683         * sysdeps/unix/make-syscalls.sh: Likewise.
17685 2016-01-06  John David Anglin  <dave.anglin@bell.net>
17687         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
17688         asm stw with atomic_exchange_rel.  Add explanatory comment.
17689         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
17690         Likewise.
17692 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17694         [BZ #19122]
17695         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
17696         * sysdeps/generic/dl-unistd.h: New file.
17697         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
17699 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
17701          [BZ #19122]
17702          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
17703          * sysdeps/generic/dl-mman.h: New file.
17704          * sysdeps/mach/hurd/dl-mman.h: Likewise.
17706 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
17708         * manual/texinfo.tex: Update to version 2016-01-04.21 with
17709         trailing whitespace removed.
17710         * scripts/config.guess: Update to version 2016-01-01.
17711         * scripts/config.sub: Update to version 2016-01-01.
17712         * scripts/move-if-change: Update from gnulib.
17714 2016-01-04  Anton Blanchard  <anton@samba.org>
17716         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
17717         for array indices.
17718         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
17720 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
17722         * NEWS: Update copyright dates.
17723         * catgets/gencat.c (print_version): Likewise.
17724         * csu/version.c (banner): Likewise.
17725         * debug/catchsegv.sh: Likewise.
17726         * debug/pcprofiledump.c (print_version): Likewise.
17727         * debug/xtrace.sh (do_version): Likewise.
17728         * elf/ldconfig.c (print_version): Likewise.
17729         * elf/ldd.bash.in: Likewise.
17730         * elf/pldd.c (print_version): Likewise.
17731         * elf/sotruss.sh: Likewise.
17732         * elf/sprof.c (print_version): Likewise.
17733         * iconv/iconv_prog.c (print_version): Likewise.
17734         * iconv/iconvconfig.c (print_version): Likewise.
17735         * locale/programs/locale.c (print_version): Likewise.
17736         * locale/programs/localedef.c (print_version): Likewise.
17737         * login/programs/pt_chown.c (print_version): Likewise.
17738         * malloc/memusage.sh (do_version): Likewise.
17739         * malloc/memusagestat.c (print_version): Likewise.
17740         * malloc/mtrace.pl: Likewise.
17741         * manual/libc.texinfo: Likewise.
17742         * nptl/version.c (banner): Likewise.
17743         * nscd/nscd.c (print_version): Likewise.
17744         * nss/getent.c (print_version): Likewise.
17745         * nss/makedb.c (print_version): Likewise.
17746         * posix/getconf.c (main): Likewise.
17747         * scripts/test-installation.pl: Likewise.
17748         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
17750         * All files with FSF copyright notices: Update copyright dates
17751         using scripts/update-copyrights.
17752         * intl/plural.c: Regenerated.
17753         * locale/programs/charmap-kw.h: Likewise.
17754         * locale/programs/locfile-kw.h: Likewise.
17756 2016-01-02  Helge Deller  <deller@gmx.de>
17758         [BZ #19285]
17759         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
17760         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
17761         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
17762         (MADV_xxK_PAGES): Remove.
17764 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
17766         [BZ #15421]
17767         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
17768         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
17769         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
17770         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
17772 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
17774         [BZ #19408]
17775         * sysdeps/unix/sysv/linux/personality.c: New file.
17776         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
17777         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
17778         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
17779         (sysdep_routines): Add personality.
17780         (tests): Add tst-personality.
17781         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
17782         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
17783         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
17784         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
17785         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
17786         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
17787         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
17788         Likewise.
17789         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
17790         Likewise.
17791         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
17792         Likewise.
17793         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
17794         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
17795         Likewise.
17797 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
17799         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
17800         (PATH_ARM_SYSTYPE): Remove.
17801         (PATH_CPUINFO): Likewise.
17802         (IO_BASE_FOOTBRIDGE): Likewise.
17803         (IO_SHIFT_FOOTBRIDGE): Likewise.
17804         (struct platform): Likewise.
17805         (init_iosys): Remove compatibility code for 2.4 kernels.
17806         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
17808 2015-12-29  Florian Weimer  <fweimer@redhat.com>
17810         * malloc/tst-malloc-thread-fail.c: New file.
17811         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
17812         (tst-malloc-thread-fail): Link against libpthread.
17814 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
17816         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
17817         (get_parser): New function.
17818         (main): New function.
17820 2015-12-29  Rob Wu  <rob@robwu.nl>
17822         [BZ #19369]
17823         * resolv/res_init.c (__res_vinit): Reset defdname before use.
17825 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
17827         [BZ #19270]
17828         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
17830 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
17832         [BZ #15421]
17833         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
17835 2015-12-23  Torvald Riegel  <triegel@redhat.com>
17837         [BZ #13690]
17838         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
17839         after releasing it.
17840         (__lll_robust_unlock): Likewise.
17841         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
17842         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
17843         (lll_robust_unlock): Likewise.
17844         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
17845         Prevent warnings in callers.
17847 2015-12-23  Florian Weimer  <fweimer@redhat.com>
17849         * malloc/arena.c (list_lock): Update comment.
17851 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17853         * sysdeps/powerpc/hwcapinfo.c: Export symbol
17854         __parse_hwcap_and_convert_at_platform to libc.a.
17856 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17858         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
17859         platform and feature support for POWER9.
17860         * sysdeps/powerpc/dl-procinfo.h: Likewise.
17861         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
17862         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
17863         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
17864         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
17865         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
17866         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
17867         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
17869 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17871         Harmonize generic stdio-lock support with nptl
17873         This fixes build when _IO_funlockfile is a macro, fixes build where
17874         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
17875         stack unwind.
17877         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
17878         _IO_release_lock ): Use cleanup attribute on new
17879         _IO_acquire_lock_file variable instead of assuming that
17880         _IO_release_lock will be called.
17881         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
17882         _IO_acquire_lock_needs_exceptions_enabled.
17883         (_IO_acquire_lock_clear_flags2): New macro.
17885 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17887         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
17889 2015-12-21  Florian Weimer  <fweimer@redhat.com>
17891         [BZ #19182]
17892         * malloc/arena.c (list_lock): Document lock ordering requirements.
17893         (free_list_lock): New lock.
17894         (ptmalloc_lock_all): Comment on free_list_lock.
17895         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
17896         (detach_arena): Update comment.  free_list_lock is now needed.
17897         (_int_new_arena): Use free_list_lock around detach_arena call.
17898         Acquire arena lock after list_lock.  Add comment, including FIXME
17899         about incorrect synchronization.
17900         (get_free_list): Switch to free_list_lock.
17901         (reused_arena): Acquire free_list_lock around detach_arena call
17902         and attached threads counter update.  Add two FIXMEs about
17903         incorrect synchronization.
17904         (arena_thread_freeres): Switch to free_list_lock.
17905         * malloc/malloc.c (struct malloc_state): Update comments to
17906         mention free_list_lock.
17908 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
17910         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
17911         Remove functions.
17912         (sloww, sloww1): Accept argument to offset quadrant.
17913         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
17914         quadrant.
17915         (__sin, __cos): Consolidate common code into new functions.
17916         (reduce_sincos_1, do_sincos_1): New functions.
17917         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17919         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
17920         code to new functions.
17921         (reduce_sincos_2, do_sincos_2): New functions.
17922         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
17924         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
17925         common code for sincos.
17926         (__cos) [!IN_SINCOS]: Likewise.
17927         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
17928         New function.
17929         (__sincos): Use it.
17931 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
17933         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
17934         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
17935         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17937 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17939         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
17940         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
17941         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
17942         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
17943         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17944         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
17945         index_Prefer_No_VZEROUPPER): New feature.
17946         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
17947         Prefer_No_VZEROUPPER for Knights Landing.
17949 015-12-18  Torvald Riegel  <triegel@redhat.com>
17951         * math/atest-exp2.c (mp_exp_m1): Remove.
17953 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17955         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
17956         syscalls.
17957         (__SYSCALL0): New macro.
17958         (__SYSCALL1): Likewise.
17959         (__SYSCALL2): Likewise.
17960         (__SYSCALL3): Likewise.
17961         (__SYSCALL4): Likewise.
17962         (__SYSCALL5): Likewise.
17963         (__SYSCALL6): Likewise.
17964         (__SYSCALL_CONCAT_X): Likewise.
17965         (__SYSCALL_CONCAT): Likewise.
17966         (__SYSCALL_DIST): Likewise.
17967         (__SYSCALL_CALL): Likewise.
17969 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
17971         [BZ #19363]
17972         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
17974 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17976         [BZ #19375]
17977         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
17978         negative subnormals.
17980 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
17982         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
17983         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
17984         (INTERNAL_SYSCALL_NCS): Use it.
17985         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17987 2015-12-16  Florian Weimer  <fweimer@redhat.com>
17989         [BZ #19243]
17990         * malloc/arena.c (get_free_list): Remove assert and adjust
17991         reference count handling.  Add comment about reused_arena
17992         interaction.
17993         (reused_arena): Add comments abount get_free_list interaction.
17994         * malloc/tst-malloc-thread-exit.c: New file.
17995         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
17996         (tst-malloc-thread-exit): Link against libpthread.
17998 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18000         [BZ #19367]
18001         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
18002         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
18003         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
18004         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
18005         (index_Prefer_MAP_32BIT_EXEC): Likewise.
18007 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
18009         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
18010         Silvermont optimizations for Knights Landing.
18012 2015-12-15  Andreas Schwab  <schwab@suse.de>
18014         [BZ #17197]
18015         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
18016         immediately after emitting SI.
18017         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
18018         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
18019         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
18020         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
18021         * iconvdata/bug-iconv10.c: New file.
18022         * iconvdata/Makefile (tests): Add bug-iconv10.
18023         ($(objpfx)bug-iconv10.out): New rule.
18025 2015-12-15  Florian Weimer  <fweimer@redhat.com>
18027         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
18028         aliasing violation.
18030 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
18032         [BZ #18472]
18033         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
18034         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
18035         conditionals for them.
18036         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
18037         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
18038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
18039         sys/kdaemon.h.
18040         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
18041         compat-only syscall, obsoleted in glibc 2.23.
18042         (create_module): Likewise.
18043         (get_kernel_syms): Likewise.
18044         (query_module): Likewise.
18045         (uselib): Likewise.
18046         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
18048 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
18050         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
18051         <linux/version.h>.
18052         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
18053         conditional code.
18054         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
18055         and ioshift_name initialization.
18057 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18059         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18060         Fix indentation.
18062 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18064         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
18066 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
18068         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
18070 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
18071             Jakub Wilk  <jwilk@debian.org>
18073         [BZ #19347]
18074         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
18075         to change the group of the device to the tty group.
18077 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
18079         Split large string section; add truncation advice
18080         * manual/examples/strncat.c: Remove.
18081         This example was misleading, as the code would have undefined
18082         behavior if "hello" was longer than SIZE.  Anyway, the manual
18083         shouldn't encourage strncpy+strncat for this sort of thing.
18084         * manual/string.texi (Copying Strings and Arrays): Split into
18085         three sections Copying Strings and Arrays, Concatenating Strings,
18086         and Truncating Strings, as this section was way too long.  All
18087         cross-referenced changed.  Add advice about string-truncation
18088         functions.  Remove misleading strncat example.
18090 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
18092         * manual/nss.texi (NSS Modules Interface): Document
18093         NSS_STATUS_NOTFOUND and SUCCESS.
18095 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18097         [BZ 18568]
18098         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18099         201505L, for Unicode 8.
18101 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
18103         * locale/C-translit.h: Regenerate.
18105 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
18107         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
18108         and U+0153.
18110 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
18112         [BZ #19351]
18113         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
18114         expanding log(1+z), compare z rather than its square with epsilon
18115         to determine when to avoid evaluating the expansion.
18117         [BZ #19350]
18118         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
18119         Increase overflow threshold.
18121         [BZ #19349]
18122         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
18123         when small.
18125         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18126         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18127         New macro.
18128         [__LINUX_KERNEL_VERSION >= 0x040300]
18129         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18130         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18131         Likewise.
18132         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18133         Likewise.
18134         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18135         Likewise.
18136         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18137         Likewise.
18138         [__LINUX_KERNEL_VERSION >= 0x040300]
18139         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18140         [__LINUX_KERNEL_VERSION >= 0x040300]
18141         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18142         [__LINUX_KERNEL_VERSION >= 0x040300]
18143         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18144         [__LINUX_KERNEL_VERSION >= 0x040300]
18145         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18146         [__LINUX_KERNEL_VERSION >= 0x040300]
18147         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18148         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18149         Likewise.
18150         [__LINUX_KERNEL_VERSION >= 0x040300]
18151         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18152         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18153         Likewise.
18154         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18155         Likewise.
18156         [__LINUX_KERNEL_VERSION >= 0x040300]
18157         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18159         Likewise.
18160         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18161         Likewise.
18162         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18163         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
18164         Likewise.
18165         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
18166         Likewise.
18167         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
18168         Likewise.
18169         [__LINUX_KERNEL_VERSION >= 0x040300]
18170         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18171         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
18172         Likewise.
18173         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
18174         Likewise.
18175         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
18176         Likewise.
18177         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
18178         Likewise.
18179         [__LINUX_KERNEL_VERSION >= 0x040300]
18180         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
18181         [__LINUX_KERNEL_VERSION >= 0x040300]
18182         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18183         [__LINUX_KERNEL_VERSION >= 0x040300]
18184         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18185         [__LINUX_KERNEL_VERSION >= 0x040300]
18186         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18187         [__LINUX_KERNEL_VERSION >= 0x040300]
18188         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18189         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
18190         Likewise.
18191         [__LINUX_KERNEL_VERSION >= 0x040300]
18192         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
18193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18194         Likewise.
18195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
18196         Likewise.
18197         [__LINUX_KERNEL_VERSION >= 0x040300]
18198         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
18199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18200         Likewise.
18201         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
18202         Likewise.
18203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18204         (__ASSUME_SOCKET_SYSCALL): Likewise.
18205         (__ASSUME_BIND_SYSCALL): Likewise.
18206         (__ASSUME_CONNECT_SYSCALL): Likewise.
18207         (__ASSUME_LISTEN_SYSCALL): Likewise.
18208         (__ASSUME_ACCEPT_SYSCALL): Likewise.
18209         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18210         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18211         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18212         (__ASSUME_SEND_SYSCALL): Likewise.
18213         (__ASSUME_SENDTO_SYSCALL): Likewise.
18214         (__ASSUME_RECV_SYSCALL): Likewise.
18215         (__ASSUME_RECVFROM_SYSCALL): Likewise.
18216         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
18217         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18218         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18219         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18220         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18221         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18222         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
18223         Likewise.
18224         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
18225         Likewise.
18226         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
18227         Likewise.
18228         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
18229         Likewise.
18230         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
18231         Likewise.
18232         [__LINUX_KERNEL_VERSION >= 0x020625]
18233         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
18234         [__LINUX_KERNEL_VERSION >= 0x020625]
18235         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
18236         [__LINUX_KERNEL_VERSION >= 0x020625]
18237         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
18238         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
18239         Likewise.
18240         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
18241         Likewise.
18242         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
18243         Likewise.
18244         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
18245         Likewise.
18246         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
18247         Likewise.
18248         [__LINUX_KERNEL_VERSION >= 0x020625]
18249         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
18250         [__LINUX_KERNEL_VERSION >= 0x020625]
18251         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
18252         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
18253         Likewise.
18254         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
18255         Likewise.
18257 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18259         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
18260         record the current if the current ABI and CPU support the FP64
18261         extension.
18262         (has-modd-spreg): Define to record the current if the current ABI and
18263         CPU support 32-bit floating point values in odd FPU registers.
18264         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18265         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
18266         $(has-modd-spreg) equals yes.
18267         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
18268         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
18269         $(has-modd-spreg) equal yes.
18271 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
18273         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
18274         basename.
18276 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
18278         * benchtests/Makefile (bench-math): Move ffs and ffsll...
18279         (bench-string): ... here.
18280         (bench): Add bench-string.
18281         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
18282         to *-benchset to reflect what they are.
18283         (benchset): Adjust.
18285         * benchtests/sincos-inputs: Add inputs from sin-inputs and
18286         cos-inputs.
18288 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
18290         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
18291         __attribute__ ((__simd__)) for vector math function declarations.
18293 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18295         Fix typo in strncat, wcsncat manual entries
18296         * manual/string.texi (Copying and Concatenation): Fix typos in
18297         sample implementations of strncat and wcsncat, by having them use
18298         the old value of the destination length, not the new one.
18300 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
18302         [BZ #16961]
18303         [BZ #16962]
18304         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
18305         string on the stack for strtod.
18306         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
18307         a string on the stack for strtof.
18308         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
18309         constructing a string on the stack for strtold.
18310         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
18311         __strtold_nan to GLIBC_PRIVATE.
18312         * math/test-nan-overflow.c: New file.
18313         * math/test-nan-payload.c: Likewise.
18314         * math/Makefile (tests): Add test-nan-overflow and
18315         test-nan-payload.
18317 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18319         Consistency about byte vs character in string.texi
18320         * manual/string.texi (String and Array Utilities):
18321         Distinguish more carefully among bytes, multibyte characters,
18322         and wide characters.  Use "byte" when talking about C 'char',
18323         to distinguish it more clearly from multibyte characters.
18324         Say "wide character" or "multibyte character" instead of
18325         "character", when a wide or multibyte character is intended.
18326         Similarly for "multibyte string" versus "string".
18327         Define these terms more carefully.
18329 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
18331         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
18332         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
18333         Likewise.
18334         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18335         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18336         * sysdeps/sh/math_private.h: New file.
18337         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
18338         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
18339         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
18340         long double function name.
18341         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18342         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18343         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18344         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18345         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
18347         Remove __finitel, __isinfl, and __isnanl.
18348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18349         Likewise.
18350         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18352         Remove __finitel.
18353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18354         Likewise.
18355         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18357 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
18359         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
18360         installed libmvec_nonshared.a.
18362 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18364         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
18365         (sysdep_routines): Likewise.
18366         (sysdep-rtld-routines): Likewise.
18367         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
18368         [$(subdir) = nptl](tests-static): test-get_hwcap-static
18369         * sysdeps/powerpc/Versions: Added new
18370         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
18371         * sysdeps/powerpc/hwcapinfo.c: New file.
18372         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
18373         and parse hwcap, hwcap2 and platform number information.
18374         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
18375         to store HWCAP+HWCAP2 and platform number.
18376         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
18377         for HWCAP+HWCAP2 and platform number in the TCB.
18378         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
18379         the HWCAP, HWCAP2 and platform number in the TCB.
18380         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
18381         (TLS_INIT_TP): Included calls to add the hwcap and
18382         at_platform values in the TCB in TP initialization.
18383         (TLS_DEFINE_INIT_TP): Likewise.
18384         (THREAD_GET_HWCAP): New macro.
18385         (THREAD_SET_HWCAP): Likewise.
18386         (THREAD_GET_AT_PLATFORM): Likewise.
18387         (THREAD_SET_AT_PLATFORM): Likewise.
18388         * sysdeps/powerpc/powerpc32/dl-machine.h:
18389         (dl_platform_init): New function that calls
18390         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
18391         powerpc32.
18392         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
18393         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
18394         this functionality, static linking case.
18395         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
18396         linking case.
18397         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
18398         __parse_hwcap_and_convert_at_platform for the static linking case.
18399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
18400         Included the new __parse_hwcap_and_convert_at_platform symbol in the
18401         ABI list for GLIBC 2.23.
18402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
18403         Likewise.
18404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
18405         Likewise.
18407 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
18409         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
18410         * configure: Regenerate.
18411         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
18412         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
18414 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
18416         * iconvdata/ibm930.c: Add comment explaining encoding uses.
18417         * iconvdata/ibm933.c: Likewise.
18418         * iconvdata/ibm935.c: Likewise.
18419         * iconvdata/ibm937.c: Likewise.
18420         * iconvdata/ibm939.c: Likewise.
18422 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18424         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
18425         pthread_join.
18426         * nptl/tst-cancel21.c (tf): Likewise.
18428 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
18430         [BZ #19313]
18431         * bits/typesizes.h (__CPU_MASK_TYPE): New.
18432         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18433         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
18434         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
18435         Likewise.
18436         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
18437         Likewise.
18438         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
18439         Likewise.
18440         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
18441         Likewise.
18442         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
18443         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
18444         unsigned long int with __CPU_MASK_TYPE.
18446 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18448         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18450 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
18452         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
18453         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
18454         t512.x.
18455         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
18457 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
18459         [BZ #19214]
18460         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
18461         argument to return extended model.  Update family and model
18462         with extended family and model when family == 0x0f.
18463         (init_cpu_features): Updated.
18465 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18467         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
18468         signed off_t, so 32bit bigger than 2GiB values are fine actually.
18470         * sysdeps/mach/hurd/mmap64.c: New file.
18472 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
18474         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
18475         rights for its main user thread in NEWTASK.
18477 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
18479         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
18480         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
18482 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
18484         [BZ #14259]
18485         * Makeconfig: Rename localedir to complocaledir.
18486         Rename inst_localedir to inst_complocaledir.
18487         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
18488         * config.make.in: Use complocaledir and libc_cv_complocaledir.
18489         * configure.ac: Use libc_cv_complocaledir.
18490         * configure: Regenerate.
18491         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
18492         -DCOMPLOCALEDIR.
18493         * locale/findlocale.c: Use COMPLOCALEDIR.
18494         * locale/loadarchive.c: Likewise.
18495         * locale/programs/locale.c: Likewise.
18496         * locale/programs/localedef.c: Likewise.
18497         * locale/programs/locarchive.c: Likewise.
18498         * localedata/Makefile: Use inst_complocaledir.
18499         * sysdeps/gnu/configure: Regenerate.
18500         * sysdeps/hppa/configure: Regenerate.
18501         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
18502         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18504         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
18505         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
18506         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
18507         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
18509 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
18511         [BZ #19058]
18512         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
18513         AS_NEEDED.
18514         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
18515         workaround.
18516         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
18517         libmvec-static-only-routines): Added new file.
18518         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
18520 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18522         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
18523         of interrupted RPC instead of restoring it.
18525         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
18526         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
18527         libc_hidden_def.
18528         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
18529         into initialized data instead of common. Define rtld_hidden_data_def.
18530         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
18531         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
18532         libc_hidden_def.
18533         (if_freenameindex): Add libc_hidden_weak.
18534         (if_nameindex): Add libc_hidden_weak.
18535         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
18536         __open64.
18537         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
18538         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
18539         * sysdeps/mach/nanosleep.c: Include <time.h>
18540         (__nanosleep): Rename to __libc_nanosleep.
18541         (__nanosleep): Add weak_alias.
18542         (nanosleep): Update alias.
18544 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
18546         * stdlib/strtod_nan.c: New file.
18547         * stdlib/strtod_nan_double.h: Likewise.
18548         * stdlib/strtod_nan_float.h: Likewise.
18549         * stdlib/strtod_nan_main.c: Likewise.
18550         * stdlib/strtod_nan_narrow.h: Likewise.
18551         * stdlib/strtod_nan_wide.h: Likewise.
18552         * stdlib/strtof_nan.c: Likewise.
18553         * stdlib/strtold_nan.c: Likewise.
18554         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
18555         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
18556         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
18557         * wcsmbs/wcstod_nan.c: Likewise.
18558         * wcsmbs/wcstof_nan.c: Likewise.
18559         * wcsmbs/wcstold_nan.c: Likewise.
18560         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
18561         strtold_nan.
18562         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
18563         wcstof_nan.
18564         * include/stdlib.h (__strtof_nan): Declare and use
18565         libc_hidden_proto.
18566         (__strtod_nan): Likewise.
18567         (__strtold_nan): Likewise.
18568         (__wcstof_nan): Likewise.
18569         (__wcstod_nan): Likewise.
18570         (__wcstold_nan): Likewise.
18571         * include/wchar.h (____wcstoull_l_internal): Declare.
18572         * stdlib/strtod_l.c: Do not include <ieee754.h>.
18573         (____strtoull_l_internal): Remove declaration.
18574         (STRTOF_NAN): Define macro.
18575         (SET_MANTISSA): Remove macro.
18576         (STRTOULL): Likewise.
18577         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
18578         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
18579         (STRTOF_NAN): Define macro.
18580         (SET_MANTISSA): Remove macro.
18581         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
18582         (SET_MANTISSA): Remove macro.
18583         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
18584         macro.
18585         (SET_MANTISSA): Remove macro.
18586         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
18587         macro.
18588         (SET_MANTISSA): Remove macro.
18589         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
18590         (SET_MANTISSA): Remove macro.
18591         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
18592         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
18593         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
18595         [BZ #19266]
18596         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
18597         upper case and lower case letters inside NAN(), not using TOLOWER.
18598         * stdlib/tst-strtod-nan-locale-main.c: New file.
18599         * stdlib/tst-strtod-nan-locale.c: Likewise.
18600         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
18601         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
18602         Depend on $(gen-locales).
18603         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
18604         * wcsmbs/tst-wcstod-nan-locale.c: New file.
18605         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
18606         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
18607         Depend on $(gen-locales).
18608         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
18610 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
18612         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
18614         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
18615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
18616         __finitel, __isinfl, and __isnanl.
18617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18618         Likewise.
18619         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
18621         __finitel.
18622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18623         Likewise.
18624         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18626 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18628         * malloc/memusage.c (me): Remove redundant getenv call.
18630 2015-10-24  Florian Weimer  <fweimer@redhat.com>
18632         [BZ #19143]
18633         [BZ #19164]
18634         * nptl/check-cpuset.h: Remove.
18635         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
18636         Remove CPU set size check.
18637         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
18638         Likewise.
18639         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
18640         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
18641         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
18642         (__pthread_setaffinity_new): Remove CPU set size check.
18643         * sysdeps/unix/sysv/linux/sched_setaffinity.c
18644         (__kernel_cpumask_size): Remove.
18645         (__sched_setaffinity_new): Remove CPU set size check.
18646         * manual/threads.texi (Default Thread Attributes): Remove stale
18647         reference to check_cpuset_attr, determine_cpumask_size in comment.
18648         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
18649         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
18650         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
18651         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
18652         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
18653         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
18654         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
18655         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
18656         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
18657         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
18658         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
18659         skeleton test file.
18660         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
18661         tst-affinity-pid.
18663 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18665         * scripts/update-abilist.sh: New file.
18666         * Makefile (+subdir_targets): Add subdir_update-all-abi.
18667         * Makerules (update-all-abi-%, update-all-abi)
18668         (subdir_update-all-abi): New targets.
18669         * elf/Makefile (update-all-abi): New target.
18671 2015-11-24  Florian Weimer  <fweimer@redhat.com>
18673         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
18674         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
18675         (__libc_lock_define_initialized): Use it.
18676         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
18677         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
18678         * malloc/malloc.c (main_arena): Likewise.
18679         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18680         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
18682 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
18684         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
18685         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
18686         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18687         (PTRACE_O_MASK): Update value.
18688         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
18689         New value in enum __ptrace_setoptions.
18690         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18691         (PTRACE_O_MASK): Update value.
18692         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
18693         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18694         (PTRACE_O_MASK): Update value.
18695         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
18696         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18697         (PTRACE_O_MASK): Update value.
18698         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
18699         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
18700         (PTRACE_O_MASK): Update value.
18701         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
18702         New value in enum __ptrace_setoptions.
18703         (PTRACE_O_MASK): Update value.
18704         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
18705         New value in enum __ptrace_setoptions.
18706         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
18707         (PTRACE_O_MASK): Update value.
18709         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
18710         New macro.
18711         (PACKET_AUXDATA): Likewise.
18712         (PACKET_ORIGDEV): Likewise.
18713         (PACKET_VERSION): Likewise.
18714         (PACKET_HDRLEN): Likewise.
18715         (PACKET_RESERVE): Likewise.
18716         (PACKET_TX_RING): Likewise.
18717         (PACKET_LOSS): Likewise.
18718         (PACKET_VNET_HDR): Likewise.
18719         (PACKET_TX_TIMESTAMP): Likewise.
18720         (PACKET_TIMESTAMP): Likewise.
18721         (PACKET_FANOUT): Likewise.
18722         (PACKET_TX_HAS_OFF): Likewise.
18723         (PACKET_QDISC_BYPASS): Likewise.
18724         (PACKET_ROLLOVER_STATS): Likewise.
18725         (PACKET_FANOUT_DATA): Likewise.
18726         (PACKET_MR_UNICAST): Likewise.
18728         [BZ #19242]
18729         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
18730         (TOUPPER): Likewise.
18731         * stdlib/tst-strtol-locale-main.c: New file.
18732         * stdlib/tst-strtol-locale.c: Likewise.
18733         * stdlib/Makefile (tests): Add tst-strtol-locale.
18734         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
18735         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
18736         Depend on $(gen-locales).
18737         * wcsmbs/tst-wcstol-locale.c: New file.
18738         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
18739         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
18740         tr_TR.ISO-8859-9.
18741         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
18742         Depend on $(gen-locales).
18744 2015-11-20  Roland McGrath  <roland@hack.frob.com>
18746         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
18747         __glibc_likely instead of __builtin_expect.  After falling back to
18748         dyncode_create in a non-ET_DYN case, use the allocate_code_data
18749         system interface to register the code pages as occupied.
18751 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
18753         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18754         [!ARM_MATH_PRIVATE_H].
18755         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
18756         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18757         [!HPPA_MATH_PRIVATE_H].
18758         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
18759         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
18760         to [!I386_MATH_PRIVATE_H].
18761         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
18762         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
18763         Change guard to [!M68K_MATH_PRIVATE_H].
18764         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
18765         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
18766         guard to [!MICROBLAZE_MATH_PRIVATE_H].
18767         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
18768         macro.
18769         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18770         [!MIPS_MATH_PRIVATE_H].
18771         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
18772         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18773         [!NIO2_MATH_PRIVATE_H].
18774         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
18775         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
18776         [!TILE_MATH_PRIVATE_H].
18777         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
18779         [BZ #15421]
18780         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
18781         initialize with 0 and define as weak alias of __signgam.
18782         * include/math.h [!_ISOMAC] (__signgam): Declare.
18783         * math/Makefile (libm-calls): Add w_lgamma_compat.
18784         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
18785         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
18786         test-signgam-ullong-init.
18787         (tests-static): Add test-signgam-uchar-static,
18788         test-signgam-uchar-init-static, test-signgam-uint-static,
18789         test-signgam-uint-init-static, test-signgam-ullong-static and
18790         test-signgam-ullong-init-static.
18791         (CFLAGS-test-signgam-uchar.c): New variable.
18792         (CFLAGS-test-signgam-uchar-init.c): Likewise.
18793         (CFLAGS-test-signgam-uchar-static.c): Likewise.
18794         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
18795         (CFLAGS-test-signgam-uint.c): Likewise.
18796         (CFLAGS-test-signgam-uint-init.c): Likewise.
18797         (CFLAGS-test-signgam-uint-static.c): Likewise.
18798         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
18799         (CFLAGS-test-signgam-ullong.c): Likewise.
18800         (CFLAGS-test-signgam-ullong-init.c): Likewise.
18801         (CFLAGS-test-signgam-ullong-static.c): Likewise.
18802         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
18803         * math/Versions (libm): Add GLIBC_2.23.
18804         * math/lgamma-compat.h: New file.
18805         * math/test-signgam-main.c: Likewise.
18806         * math/test-signgam-uchar-init-static.c: Likewise.
18807         * math/test-signgam-uchar-init.c: Likewise.
18808         * math/test-signgam-uchar-static.c: Likewise.
18809         * math/test-signgam-uchar.c: Likewise.
18810         * math/test-signgam-uint-init-static.c: Likewise.
18811         * math/test-signgam-uint-init.c: Likewise.
18812         * math/test-signgam-uint-static.c: Likewise.
18813         * math/test-signgam-uint.c: Likewise.
18814         * math/test-signgam-ullong-init-static.c: Likewise.
18815         * math/test-signgam-ullong-init.c: Likewise.
18816         * math/test-signgam-ullong-static.c: Likewise.
18817         * math/test-signgam-ullong.c: Likewise.
18818         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
18819         wrapper of w_lgamma_main.c.
18820         * math/w_lgamma_compat.c: New file.
18821         * math/w_lgamma_compatf.c: Likewise.
18822         * math/w_lgamma_compatl.c: Likewise.
18823         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
18824         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18825         defining compatibility symbols.
18826         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
18827         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
18828         wrapper of w_lgammaf_main.c.
18829         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
18830         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18831         defining compatibility symbols.
18832         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
18833         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
18834         wrapper of w_lgammal_main.c.
18835         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
18836         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
18837         defining compatibility symbols.
18838         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
18839         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
18840         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
18841         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
18842         <lgamma-compat.h>.
18843         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
18844         (__ieee754_gamma): Define as alias.
18845         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
18846         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
18847         <lgamma-compat.h>.
18848         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
18849         (__ieee754_gammaf): Define as alias.
18850         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
18851         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
18852         <lgamma-compat.h>.
18853         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
18854         (__ieee754_gammal): Define as alias.
18855         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
18856         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
18857         <math/w_lgamma_compat.c>.
18858         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
18859         Define as alias of __lgamma_compat and use in defining lgammal.
18860         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
18861         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
18862         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
18863         (USE_AS_COMPAT): New macro.
18864         (LGAMMA_OLD_VER): Undefine and redefine.
18865         (lgammal): Do not define here.
18866         (gammal): Only define here if [GAMMA_ALIAS].
18867         * conform/linknamespace.pl (@whitelist): Remove signgam.
18868         * sysdeps/nacl/libm.abilist: Update.
18869         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18870         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18871         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18872         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18873         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18874         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18875         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18876         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18877         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18878         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18879         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18880         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18882         Likewise.
18883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18884         Likewise.
18885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18886         Likewise.
18887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18888         Likewise.
18889         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18890         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18891         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18892         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18893         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18895         Likewise.
18896         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18897         Likewise.
18898         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18899         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18900         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18902 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18904         [BZ #16364]
18905         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
18906         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
18908 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18910         * sysdeps/s390/fpu/bits/mathinline.h:
18911         Use __asm__ [__volatile__] instead of asm [volatile].
18912         * sysdeps/s390/abort-instr.h: Likewise.
18913         * sysdeps/s390/atomic-machine.h: Likewise.
18914         * sysdeps/s390/bits/string.h: Likewise.
18915         * sysdeps/s390/dl-tls.h: Likewise.
18916         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
18917         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
18918         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
18919         * sysdeps/s390/fpu/fesetround.c: Likewise.
18920         * sysdeps/s390/fpu/fpu_control.h: Likewise.
18921         * sysdeps/s390/fpu/s_fma.c: Likewise.
18922         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
18923         * sysdeps/s390/memusage.h: Likewise.
18924         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
18925         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
18926         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
18927         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
18928         * sysdeps/s390/nptl/tls.h: Likewise.
18929         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
18930         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18931         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
18932         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
18933         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
18934         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
18935         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
18936         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18937         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18938         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
18939         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
18940         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
18941         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
18942         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
18943         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
18944         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
18945         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
18946         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
18947         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
18948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18949         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
18950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18951         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
18953 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18954             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18956         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18957         Add lwarx hint, and use macro for acquire instruction.
18958         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18959         Likewise.
18960         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
18961         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
18962         update to use new atomic macros.
18964 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18966         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18967         (__lll_trylock_elision): Fix setting of adapt_count.
18968         * sysdeps/unix/sysv/linux/powerpc/htm.h
18969         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
18970         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
18971         (_ABORT_SYSCALL): Renumber, and clarify definition.
18972         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
18974 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18976         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
18977         after system headers to prevent MIN/MAX redefinition.  Define
18978         HAVE_ALLOCA to preserve builtin alloca usage.
18980 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
18982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
18983         static and don't set or restore rounding.
18984         (__cos)[IN_SINCOS]: Likewise.
18985         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
18986         (__sincos): Set and restore rounding mode.  Remove check for infinite
18987         or NaN input.
18989         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
18991         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
18992         as used.
18994 2015-11-16  Florian Weimer  <fweimer@redhat.com>
18996         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
18998 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19000         * config.make.in (have-glob-dat-reloc): New.
19001         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
19002         target supports GLOB_DAT relocaton. AC_SUBST.
19003         * configure: Regenerated.
19004         * elf/Makefile (tests): Add tst-prelink.
19005         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19006         (tst-prelink-ENV): New.
19007         ($(objpfx)tst-prelink-conflict.out): Likewise.
19008         ($(objpfx)tst-prelink-cmp.out): Likewise.
19009         * sysdeps/x86/tst-prelink.c: Moved to ...
19010         * elf/tst-prelink.c: Here.
19011         * sysdeps/x86/tst-prelink.exp: Moved to ...
19012         * elf/tst-prelink.exp: Here.
19013         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
19014         (tst-prelink-ENV): Removed.
19015         ($(objpfx)tst-prelink-conflict.out): Likewise.
19016         ($(objpfx)tst-prelink-cmp.out): Likewise.
19017         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
19019 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
19021         [BZ #14551]
19022         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
19023         (__mpn_construct_long_double): If high part overflows to infinity,
19024         set errno and recompute overflowed result of the correct sign.
19025         * sysdeps/ieee754/ldbl-128ibm/Makefile
19026         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
19027         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
19028         $(libm).
19029         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
19031 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
19033         [BZ #15479]
19034         [BZ #19238]
19035         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
19036         floating-point state after first operation on input.  Restore full
19037         state rather than just rounding mode.
19038         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
19039         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
19040         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
19042         [BZ #19235]
19043         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
19044         add 0.5 to integer arguments.
19045         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
19046         Likewise.
19047         (.LC2): New object.
19049 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
19051         * scripts/pylintrc (reports): Set to no.
19053 2015-11-10  Roland McGrath  <roland@hack.frob.com>
19055         * elf/dl-load.c (open_verify): Take new argument FD.
19056         Skip __open call if passed FD is not -1.
19057         (_dl_map_object, open_path): Update callers.
19058         * elf/dl-sysdep-open.h: New file.
19059         * elf/dl-load.c: Include it.
19060         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
19061         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
19062         * sysdeps/nacl/dl-sysdep-open.h: New file.
19063         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
19064         from libc to rtld.
19066 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19068         [BZ #19228]
19069         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
19070         and restore full floating-point state.
19071         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
19072         Likewise.
19073         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
19074         Likewise.
19075         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
19076         Likewise.
19077         * math/test-nearbyint-except-2.c: New file.
19078         * math/Makefile (tests): Add test-nearbyint-except-2.
19080 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
19082         [BZ #19178]
19083         * sysdeps/x86/Makefile (tests): Add tst-prelink.
19084         (tst-prelink-ENV): New.
19085         ($(objpfx)tst-prelink-conflict.out): Likewise.
19086         ($(objpfx)tst-prelink-cmp.out): Likewise.
19087         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
19088         * sysdeps/x86/tst-prelink.c: New file.
19089         * sysdeps/x86/tst-prelink.exp: Likewise.
19091 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
19093         * math/auto-libm-test-in: Add another test of pow.
19094         * math/auto-libm-test-out: Regenerated.
19095         * math/libm-test.inc (pow_test_data): Add another test.
19097 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19099         [BZ #19219]
19100         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
19101         weak_alias to nearbyintl.
19103 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19105         * sysdeps/aarch64/bits/string.h: New file.
19106         (_STRING_ARCH_unaligned): Define.
19108 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
19110         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
19111         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
19112         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
19113         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
19114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
19116 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
19118         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
19119         for original name of the DSO.  Add it to the name list of the DSO
19120         if it is actually given.
19121         (_dl_map_object): Keep track of whether an audit module rewrote
19122         the file name.  If yes, pass the original name to
19123         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
19124         debugging is enabled, log the change of the file name.
19125         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
19126         _dl_map_object_from_fd.
19127         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
19128         * elf/tst-audit11.c: New file
19129         * elf/tst-auditmod11.c: New file.
19130         * elf/tst-audit11mod1.c: New file.
19131         * elf/tst-audit11mod2.c: New file.
19132         * elf/tst-audit11mod2.map: New file.
19133         * elf/tst-audit12.c: New file
19134         * elf/tst-auditmod12.c: New file.
19135         * elf/tst-audit12mod1.c: New file.
19136         * elf/tst-audit12mod2.c: New file.
19137         * elf/tst-audit12mod2.map: New file.
19138         * elf/tst-audit12mod3.c: New file.
19140 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19142         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
19143         Don't create weak aliases,
19144         because versioned symbols are created later.
19145         * sysdeps/s390/s390-32/setjmp.S
19146         (setjmp, _setjmp): Remove weak and rename to an unique name
19147         in SHARED case due to existing versioned symbols.
19148         * sysdeps/s390/s390-64/setjmp.S: Likewise.
19149         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
19150         (getcontext): Create weak alias only in non SHARED case.
19151         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
19153 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19155         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
19156         (__ASSUME_*_SYSCALL) Define new macros.
19157         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
19158         Remove socketcall syscalls.
19159         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
19160         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
19161         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
19162         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
19163         * sysdeps/unix/sysv/linux/send.c (__libc_send):
19164         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
19166 2015-11-09  Florian Weimer  <fweimer@redhat.com>
19168         [BZ #12926]
19169         Terminate process on invalid netlink response.
19170         * sysdeps/unix/sysv/linux/netlinkaccess.h
19171         (__netlink_assert_response): Declare.
19172         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
19173         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
19174         (sysdep_routines): Add netlink_assert_response.
19175         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
19176         __netlink_assert_response.
19177         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
19178         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
19179         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
19180         __netlink_assert_response.
19182 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19184         [BZ #19178]
19185         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
19186         (RTYPE_CLASS_PLT): Likewise.
19187         (RTYPE_CLASS_COPY): Likewise.
19188         (RTYPE_CLASS_TLS): Likewise.
19189         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
19190         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
19191         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
19192         DL_DEBUG_PRELINK.
19194 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
19196         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
19197         calls with argument -0.5.
19198         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
19200         * configure.ac (libc_cv_z_nodelete): Remove configure test.
19201         (libc_cv_z_nodlopen): Likewise.
19202         (libc_cv_z_initfirst): Likewise.
19203         * configure: Regenerated.
19205 2015-11-06  Florian Weimer  <fweimer@redhat.com>
19207         Simplify abilist format to be line-based.
19208         * scripts/abilist.awk: Collect descriptors in the descs variable.
19209         (emit): Write descs variable and sort it
19210         externally, with sort.
19211         * sysdeps/**/*.abilist: Convert to new format.
19213 2015-11-06  Mark Wielaard  <mjw@redhat.com>
19215         [BZ #11460]
19216         * io/Makefile (routines): Add fts64.
19217         (tests): Add tst-fts and tst-fts-lfs.
19218         (CFLAGS-fts64.c): New.
19219         * io/Versions (GLIBC_2.23): New.
19220         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
19221         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
19222         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
19223         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
19224         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
19225         (FTSENT64): Likewise.
19226         (fts64_children): Likewise.
19227         (fts64_close): Likewise.
19228         (fts64_open): Likewise.
19229         (fts64_read): Likewise.
19230         (fts64_set): Likewise.
19231         * io/fts64.c: New file.
19232         * io/tst-fts.c: New test.
19233         * io/tst-fts-lfs.c: Likewise.
19234         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
19235         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
19236         fts64_set.
19237         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19238         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19239         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19240         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19241         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19242         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19243         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19244         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19245         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19246         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19247         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19248         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19249         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19251         Likewise.
19252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19253         Likewise.
19254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19256         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19257         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19258         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19259         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19260         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19261         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19263         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19264         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19265         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19266         * sysdeps/wordsize-64/fts.c: New file.
19267         * sysdeps/wordsize-64/fts64.c: Likewise.
19268         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
19269         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
19270         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
19271         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
19273 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19275         * math/libm-test.inc (NON_FINITE): New macro.
19276         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
19277         * math/gen-libm-test.pl (show_exceptions): Add argument
19278         $non_finite.
19279         (parse_args): Update call to show_exceptions.
19280         * math/test-math-finite.h: New file.
19281         * math/test-math-no-finite.h: Likewise.
19282         * math/test-double-finite.c: Likewise.
19283         * math/test-float-finite.c: Likewise.
19284         * math/test-ldouble-finite.c: Likewise.
19285         * math/test-double.c: Include "test-math-no-finite.h".
19286         * math/test-float.c: Include "test-math-no-finite.h".
19287         * math/test-ldouble.c: Include "test-math-no-finite.h".
19288         * math/test-math-inline.h (TEST_FINITE): New macro.
19289         * math/test-math-vector.h (TEST_FINITE): Likewise.
19290         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
19291         (libm-tests): Add test-float-finite and test-double-finite.
19292         ($(objpfx)test-float-finite.o): New dependency on
19293         $(objpfx)libm-test.stmp.
19294         ($(objpfx)test-double-finite.o): Likewise.
19295         ($(objpfx)test-ldouble-finite.o): Likewise.
19296         (libm-test-no-inline-cflags): New variable.
19297         (libm-test-finite-cflags): Likewise.
19298         (CFLAGS-test-float-finite.c): Likewise.
19299         (CFLAGS-test-double-finite.c): Likewise.
19300         (CFLAGS-test-ldouble-finite.c): Likewise.
19301         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
19302         (CFLAGS-test-double.c): Likewise.
19303         (CFLAGS-test-ldouble.c): Likewise.
19305 2015-11-05  Roland McGrath  <roland@hack.frob.com>
19307         * io/fcntl.c (__fcntl): Add ... to prototype.
19308         * misc/ioctl.c (__ioctl): Likewise.
19309         * misc/syscall.c (syscall): Likewise.
19311 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
19313         * scripts/list-fixed-bugs.py: New file.
19315         [BZ #19213]
19316         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
19317         returned for argument 1.
19318         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
19319         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
19320         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
19321         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
19322         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
19323         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
19325         [BZ #19211]
19326         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
19327         __USE_XOPEN], not if [!__USE_ISOC99].
19328         (lgammaf): Likewise.
19329         (lgammal): Likewise.
19330         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
19331         (gammaf): Likewise.
19332         (gammal): Likewise.
19333         * math/test-signgam-finite-c11.c: New file.
19334         * math/test-signgam-finite-c99.c: Likewise.
19335         * math/test-signgam-finite.c: Likewise.
19336         * math/Makefile (tests): Add test-signgam-finite,
19337         test-signgam-finite-c99 and test-signgam-finite-c11.
19338         (CFLAGS-test-signgam-finite.c): New variable.
19339         (CFLAGS-test-signgam-finite-c99.c): Likewise.
19340         (CFLAGS-test-signgam-finite-c11.c): Likewise.
19342         [BZ #19212]
19343         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
19344         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
19345         500].
19346         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
19347         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
19348         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
19349         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
19350         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
19351         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
19352         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
19353         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
19354         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
19355         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
19357         [BZ #19209]
19358         * math/bits/math-finite.h (ldexp): Remove declaration.
19359         (ldexpf): Likewise.
19360         (ldexpl): Likewise.
19362         [BZ #19205]
19363         * math/bits/math-finite.h (acosf): Condition declaration on
19364         [__USE_ISOC99].
19365         (acosl): Likewise.
19366         (acoshf): Likewise.
19367         (acoshl): Likewise.
19368         (asinf): Likewise.
19369         (asinl): Likewise.
19370         (atan2f): Likewise.
19371         (atan2l): Likewise.
19372         (atanhf): Likewise.
19373         (atanhl): Likewise.
19374         (coshf): Likewise.
19375         (coshl): Likewise.
19376         (expf): Likewise.
19377         (expl): Likewise.
19378         (fmodf): Likewise.
19379         (fmodl): Likewise.
19380         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
19381         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
19382         (j0l): Likewise.
19383         (y0f): Likewise.
19384         (y0l): Likewise.
19385         (j1f): Likewise.
19386         (j1l): Likewise.
19387         (y1f): Likewise.
19388         (y1l): Likewise.
19389         (jnf): Likewise.
19390         (jnl): Likewise.
19391         (ynf): Likewise.
19392         (ynl): Likewise.
19393         (lgammaf_r): Condition declaration on [__USE_ISOC99].
19394         (lgammal_r): Likewise.
19395         (__lgamma_r_finite): New declaration.
19396         (__lgammaf_r_finite): Likewise.
19397         (__lgammal_r_finite): Likewise.
19398         (lgamma): Use __lgamma_r_finite.
19399         (lgammaf): Condition definition on [__USE_ISOC99].  Use
19400         __lgammaf_r_finite.
19401         (lgammal): Condition definition on [__USE_ISOC99].  Use
19402         __lgammal_r_finite.
19403         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
19404         __lgamma_r_finite.
19405         (gammaf): Condition definition on [__USE_ISOC99].  Use
19406         __lgammaf_r_finite.
19407         (gammal): Condition definition on [__USE_ISOC99].  Use
19408         __lgammal_r_finite.
19409         (logf): Condition declaration on [__USE_ISOC99].
19410         (logl): Likewise.
19411         (log10f): Likewise.
19412         (log10l): Likewise.
19413         (ldexpf): Likewise.
19414         (ldexpl): Likewise.
19415         (powf): Likewise.
19416         (powl): Likewise.
19417         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
19418         __USE_ISOC99].
19419         (remainderf): Condition declaration on [__USE_ISOC99].
19420         (remainderl): Likewise.
19421         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
19422         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
19423         (scalbl): Likewise.
19424         (sinhf): Condition declaration on [__USE_ISOC99].
19425         (sinhl): Likewise.
19426         (sqrtf): Likewise.
19427         (sqrtl): Likewise.
19429 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19431         * sysdeps/arm/atomic-machine.h
19432         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19433         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19434         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
19435         Remove conditional code.
19436         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
19437         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
19438         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
19439         Change conditional to [__ASSEMBLER__].
19440         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19441         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
19442         [!__ASSEMBLER__].
19443         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
19444         code.
19445         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
19446         conditional macro definitions.
19447         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
19448         (__arch_compare_and_exchange_val_16_acq): Likewise.
19449         (__arch_compare_and_exchange_val_32_acq): Likewise.
19450         (atomic_exchange_and_add): Likewise.
19451         (atomic_add): Likewise.
19452         (atomic_add_negative): Likewise.
19453         (atomic_add_zero): Likewise.
19454         (atomic_bit_set): Likewise.
19455         (atomic_bit_test_set): Likewise.
19456         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
19457         code unconditional.
19458         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19460         * math/test-math-errno.h: New file.
19461         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
19462         empty.
19463         (TEST_ERRNO): New macro.
19464         (TEST_EXCEPTIONS): Likewise.
19465         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
19466         (TEST_EXCEPTIONS): Likewise.
19467         * math/test-math-vector.h (TEST_ERRNO): Likewise.
19468         * math/test-double.c: Include "test-math-errno.h".
19469         * math/test-float.c: Likewise.
19470         * math/test-ldouble.c: Likewise.
19471         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
19472         code unconditional.
19473         (test_exceptions): Only run code if TEST_EXCEPTIONS.
19474         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
19475         unconditional.
19476         (test_errno): Only run code if TEST_ERRNO.
19477         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
19479 2015-11-04  Florian Weimer  <fweimer@redhat.com>
19481         * nptl/tst-once5.cc: Remove attribution.
19483 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
19485         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
19486         sqrt, tan, tanh, y0, y1 and yn.
19487         * math/auto-libm-test-out: Regenerated.
19488         * math/libm-test.inc (scalb_test_data): Add more tests.
19489         (scalbn_test_data): Likewise.
19490         (scalbln_test_data): Likewise.
19491         (signbit_test_data): Likewise.
19492         (sin_test_data): Likewise.
19493         (sincos_test_data): Likewise.
19494         (sinh_test_data): Likewise.
19495         (sqrt_test_data): Likewise.
19496         (tan_test_data): Likewise.
19497         (tanh_test_data): Likewise.
19498         (tgamma_test_data): Likewise.
19499         (y0_test_data): Likewise.
19500         (y1_test_data): Likewise.
19501         (yn_test_data): Likewise.
19502         (significand_test_data): Likewise.
19503         * sysdeps/i386/fpu/libm-test-ulps: Update.
19505 2015-11-03  David Kastrup  <dak@gnu.org>
19507         [BZ #18604]
19508         * assert/assert.h (assert): Don't macro-expand failed assertion
19509         expression in error message.
19510         * malloc/malloc.c (assert): Likewise.
19512 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
19514         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
19515         test.
19516         * configure: Regenerated.
19518 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
19520         * math/libm-test.inc (modf_test_data): Add more tests.
19521         (nearbyint_test_data): Likewise.
19522         (nextafter_test_data): Likewise.
19523         (nexttoward_test_data): Likewise.
19524         (pow_test_data): Likewise.
19525         (remainder_test_data): Likewise.
19526         (remquo_test_data): Likewise.
19527         (rint_test_data): Likewise.
19529         [BZ #19201]
19530         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19531         Check for zero remainder in case of large exponents and ensure
19532         correct sign of result in that case.
19533         * math/libm-test.inc (remainder_test_data): Add more tests.
19535         [BZ #6799]
19536         * math/s_nextafter.c: Include <errno.h>.
19537         (__nextafter): Set errno on overflow and underflow.
19538         * math/s_nexttowardf.c: Include <errno.h>.
19539         (__nexttowardf): Set errno on overflow and underflow.
19540         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
19541         (__nextafterl): Set errno on overflow and underflow.
19542         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
19543         (__nexttoward): Set errno on overflow and underflow.
19544         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
19545         (__nexttowardf): Set errno on overflow and underflow.
19546         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
19547         (__nextafterf): Set errno on overflow and underflow.
19548         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
19549         (__nextafterl): Set errno on overflow and underflow.
19550         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
19551         (__nexttoward): Set errno on overflow and underflow.
19552         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
19553         (__nexttowardf): Set errno on overflow and underflow.
19554         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
19555         (__nextafterl): Set errno on overflow and underflow.
19556         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
19557         (__nexttoward): Set errno on overflow and underflow.
19558         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
19559         (__nexttowardf): Set errno on overflow and underflow.
19560         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
19561         (__nexttoward): Set errno on overflow and underflow.
19562         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
19563         (__nexttowardf): Set errno on overflow and underflow.
19564         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
19565         (__nldbl_nexttowardf): Set errno on overflow and underflow.
19566         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
19567         (__nextafterl): Set errno on overflow and underflow.
19568         * math/libm-test.inc (nextafter_test_data): Do not allow errno
19569         setting to be missing on overflow.  Add more tests.
19570         (nexttoward_test_data): Likewise.
19572         * configure.ac (libc_cv_initfini_array): Remove configure test.
19573         * configure: Regenerated.
19575 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
19577         [BZ #19189]
19578         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
19579         non-finite argument handle arguments with negative sign.
19581         * math/libm-test.inc (j0_test_data): Do not test sign of zero
19582         result from infinite argument.
19583         (j1_test_data): Likewise.
19584         (jn_test_data): Likewise.
19585         (y0_test_data): Likewise.
19586         (y1_test_data): Likewise.
19587         (yn_test_data): Likewise.
19589         [BZ #16171]
19590         * math/w_remainder.c (drem): Define as weak alias of __remainder.
19591         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
19592         * math/w_remainderf.c (dremf): Define as weak alias of
19593         __remainderf.
19594         * math/w_remainderl.c (dreml): Define as weak alias of
19595         __remainderl.
19596         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
19597         __remainder.
19598         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
19599         __remainderf.
19600         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
19601         __remainderl.
19602         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
19603         weak alias of remainderl.
19604         * sysdeps/ieee754/ldbl-opt/w_remainder.c
19605         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
19606         alias of __remainder.
19607         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
19608         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
19609         strong alias of __remainderl.
19610         (dreml): Use long_double_symbol.
19611         * math/Makefile (libm-calls): Remove w_drem.
19612         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
19613         (CFLAGS-nldbl-drem.c): Remove variable.
19614         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
19615         * math/w_drem.c: Remove file.
19616         * math/w_dremf.c: Likewise.
19617         * math/w_dreml.c: Likewise.
19618         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
19619         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
19620         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
19622         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
19623         * sysdeps/i386/configure: Regenerated.
19624         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
19625         * sysdeps/x86_64/configure: Regenerated.
19627         * configure.ac (libc_cv_asm_protected_directive): Remove configure
19628         test.
19629         (libc_cv_visibility_attribute): Likewise.
19630         (libc_cv_protected_data): Test unconditionally.
19631         (libc_cv_broken_visibility_attribute): Remove configure test.
19632         (libc_cv_have_sdata_section): Test unconditionally.
19633         * configure: Regenerated.
19635         * include/libc-internal.h (libc_max_align_t): Remove typedef.
19636         * include/scratch_buffer.h: Include <stddef.h> instead of
19637         <libc-internal.h>.
19638         (struct scratch_buffer): Use max_align_t instead of
19639         libc_max_align_t.
19641 2015-10-29  Florian Weimer  <fweimer@redhat.com>
19643         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
19644         instead of extend_alloca.  Change control flow to avoid a goto.
19645         Remove assert which is trivially always true.
19647 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19649         [BZ #16068]
19650         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
19651         (FE_ALL_EXCEPT_X86): New macro.
19652         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19653         FE_ALL_EXCEPT.  Ensure precision control is included in
19654         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19655         handle "denormal operand exception" and clear FZ and DAZ bits.
19656         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
19657         (FE_ALL_EXCEPT_X86): New macro.
19658         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
19659         FE_ALL_EXCEPT.  Ensure precision control is included in
19660         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
19661         handle "denormal operand exception" and clear FZ and DAZ bits.
19662         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
19663         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
19664         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19665         test-fenv-x87 and test-fenv-sse-2.
19666         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
19668         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
19669         * math/test-double.h (BUILD_COMPLEX): New macro.
19670         * math/test-float.h (BUILD_COMPLEX): Likewise.
19671         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
19673         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
19674         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
19675         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
19676         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
19677         instead of DBL_DENORM_MIN in comment.
19678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
19679         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19680         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
19681         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
19682         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
19683         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
19685 2015-10-28  Florian Weimer  <fweimer@redhat.com>
19687         [BZ# 19048]
19688         * malloc/malloc.c (struct malloc_state): Update comment.  Add
19689         attached_threads member.
19690         (main_arena): Initialize attached_threads.
19691         * malloc/arena.c (list_lock): Update comment.
19692         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
19693         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
19694         (deattach_arena): New function.
19695         (_int_new_arena): Initialize arena reference count and deattach
19696         replaced arena.
19697         (get_free_list, reused_arena): Update reference count and deattach
19698         replaced arena.
19699         (arena_thread_freeres): Update arena reference count and only put
19700         unreferenced arenas on the free list.
19702 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19704         [BZ #19181]
19705         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
19706         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
19707         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
19708         * math/test-fenv-clear-main.c: New file.
19709         * math/test-fenv-clear.c: Likewise.
19710         * math/Makefile (tests): Add test-fenv-clear.
19711         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
19712         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
19713         test-fenv-clear-sse.
19714         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
19716         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
19717         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
19718         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
19720 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19722         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
19723         static libc.
19725 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
19727         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
19728         test.
19729         * sysdeps/i386/configure: Regenerated.
19730         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
19731         test.
19732         * sysdeps/x86_64/configure: Regenerated.
19733         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
19734         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
19735         memset-avx2 unconditionally instead of conditionally on
19736         [$(config-cflags-avx2) = yes].
19737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19738         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
19739         unconditional.
19740         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
19741         * sysdeps/x86_64/multiarch/memset_chk.S
19742         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
19743         to [IS_IN (libc) && SHARED].
19745 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19747         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
19748         configure test.
19749         * sysdeps/arm/configure: Regenerated.
19750         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
19751         Define variable if not already defined.
19753         [BZ #17404]
19754         * sysdeps/mips/atomic-machine.h
19755         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
19756         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
19757         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
19759         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
19760         unconditional.
19761         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
19762         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19763         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
19764         unconditional.
19765         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19766         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
19767         unconditional.
19768         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19769         * stdlib/setenv.c
19770         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
19771         code unconditional.
19772         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
19773         Remove conditional code.
19774         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
19775         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
19776         unconditional.
19777         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19778         code.
19779         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
19780         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
19781         unconditional.
19782         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19783         code.
19784         * sysdeps/ieee754/ldbl-128/k_tanl.c
19785         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19786         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19787         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
19788         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19789         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19790         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
19791         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
19792         unconditional.
19793         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
19794         code.
19795         * sysdeps/ieee754/ldbl-96/k_tanl.c
19796         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
19797         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
19799         * nptl/tst-initializers1-c11.c: New file.
19800         * nptl/tst-initializers1-gnu11.c: Likewise.
19801         * nptl/Makefile (tests): Add these new tests.
19802         (CFLAGS-tst-initializers1-c11.c): New variable.
19803         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
19805         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
19806         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
19807         instead of -std=gnu99.
19808         * configure.ac (systemtap): Test with -std=gnu11 instead of
19809         -std=gnu99.
19810         * configure: Regenerated.
19811         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
19812         in compilation command in comment.
19814         * sysdeps/nptl/configure.ac: Remove file.
19815         * sysdeps/nptl/configure: Remove generated file.
19816         * configure.ac (libc_cv_forced_unwind): Do not substitute.
19817         * configure: Regenerated.
19818         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
19819         * config.make.in (have-forced-unwind): Remove variable.
19820         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19821         unconditional.
19822         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
19823         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
19824         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
19825         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
19826         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
19827         unconditional.
19829 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19831         [BZ #19174]
19832         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
19833         .skip_lock_out_of_tbegin_retries.
19834         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19835         (__lll_lock_elision): Likewise, and respect a value of
19836         try_tbegin <= 0.
19838 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19840         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
19841         statement.
19843 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19845         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
19846         variable.
19847         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19848         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19850         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
19851         of -std=c1x -D_ISOC11_SOURCE.
19853         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
19854         * configure: Regenerated.
19855         * manual/install.texi (Tools for Compilation): Document
19856         requirement for GCC 4.7 or later.
19857         * INSTALL: Regenerated.
19859 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
19861         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
19862         on CNT to a conditional jump to 'puntdata'.
19864 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
19866         * configure.ac (libc_cv_gcc___thread): Remove configure test.
19867         (libc_cv_gcc_tls_model_attr): Likewise.
19868         * configure: Regenerated.
19870         * configure.ac (libc_cv_need_minus_P): Remove configure test.
19871         * configure: Regenerated.
19872         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
19874 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
19876         * configure.ac (old_glibc_headers): Remove configure test.
19877         * configure: Regenerated.
19878         * config.make.in (old-glibc-headers): Remove variable.
19879         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
19880         (install): Remove dependency on remove-old-headers.
19881         (headers2_0): Remove variable.
19882         (remove-old-headers): Remove rule.
19884         * configure.ac (libc_cv_dot_text): Remove configure test.
19885         (libc_cv_asm_set_directive): Use .text instead of
19886         ${libc_cv_dot_text} in configure test.
19887         * configure: Regenerated.
19889 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19891         [BZ #19168]
19892         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19894 2015-10-26  Florian Weimer  <fweimer@redhat.com>
19896         * configure.ac (CXX): Clear the variable if the C++ toolchain does
19897         not support static linking.
19898         * configure: Regenerate.
19900 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
19902         * math/libm-test.inc (check_float_internal): Do not special-case
19903         errors up to 0.5 ulp.
19905         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19906         log2.
19907         * math/auto-libm-test-out: Regenerated.
19908         * math/libm-test.inc (MAX_EXP): New macro.
19909         (ilogb_test_data): Add more tests.
19910         (isfinite_test_data): Likewise.
19911         (isgreater_test_data): Likewise.
19912         (isgreaterequal_test_data): Likewise.
19913         (isinf_test_data): Likewise.
19914         (isless_test_data): Likewise.
19915         (islessequal_test_data): Likewise.
19916         (islessgreater_test_data): Likewise.
19917         (isnan_test_data): Likewise.
19918         (isnormal_test_data): Likewise.
19919         (issignaling_test_data): Likewise.
19920         (isunordered_test_data): Likewise.
19921         (j0_test_data): Likewise.
19922         (j1_test_data): Likewise.
19923         (jn_test_data): Likewise.
19924         (lgamma_test_data): Likewise.
19925         (log_test_data): Likewise.
19926         (log10_test_data): Likewise.
19927         (log1p_test_data): Likewise.
19928         (log2_test_data): Likewise.
19929         (logb_test_data): Likewise.
19930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19932         [BZ #18611]
19933         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
19934         avoid excess range and precision on underflow.
19935         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
19936         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
19937         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
19938         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
19939         underflow.
19940         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
19941         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19942         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
19943         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
19944         * math/auto-libm-test-in: Do not allow missing errno setting for
19945         tests of j1 and jn.
19946         * math/auto-libm-test-out: Regenerated.
19948 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
19950         [BZ #15491]
19951         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
19952         floating-point environment instead of clearing all exceptions.
19953         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19954         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
19955         merging in "invalid" exceptions from frndint.
19956         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19957         * math/test-nearbyint-except.c: New file.
19958         * math/Makefile (tests): Add test-nearbyint-except.
19960 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
19962         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
19964         * sysdeps/tile/libm-test-ulps: Regenerated.
19966 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
19969         (__NR_sync_file_range2): Assume it is always defined.
19970         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19971         (__NR_sync_file_range): Assume it is always defined.
19973 2015-10-22  Andreas Schwab  <schwab@suse.de>
19975         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19976         INTERNAL_SYSCALL_ERRNO.
19977         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19978         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19979         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19980         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19981         Likewise.
19982         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19984 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
19986         * io/tst-fcntl.c (fd): New static variable.
19987         (do_prepare): Open temporary file here....
19988         (do_test): ...not here.
19990         * io/ftwtest-sh: Also trap on exit to remove temporary files.
19992 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
19994         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
19995         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
19996         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
19997         Moved before "#ifdef __ASSEMBLER__".
19999 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20001         [BZ #19156]
20002         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
20003         arguments very close to 0.
20005 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
20007         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
20008         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
20010 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
20012         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
20013         New.  Defined for GCC 5 and above when not compiling for
20014         profiling.
20015         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
20017         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
20018         Renamed to ...
20019         (CFLAGS-epoll_pwait.o): This.
20020         (CFLAGS-mmap.c): Renamed to ...
20021         (CFLAGS-mmap.o): This.
20022         (CFLAGS-mmap64.c): Renamed to ...
20023         (CFLAGS-mmap64.o): This.
20024         (CFLAGS-epoll_pwait.os): New.
20025         (CFLAGS-mmap.os): Likewise.
20026         (CFLAGS-mmap64.os): Likewise.
20027         (CFLAGS-semtimedop.os): Likewise.
20028         (CFLAGS-semtimedop.c): Renamed to ...
20029         (CFLAGS-semtimedop.o): This.
20031 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20033         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
20034         warning message.
20036 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
20038         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
20039         * Makefile ($(objpfx)c++-types-check.out): Filter out
20040         $(+gccwarn-c) instead of -Wstrict-prototypes.
20042         * io/fts.c (fts_open): Convert to prototype-style function
20043         definition.
20044         * malloc/mcheck.c (mcheck): Likewise.
20045         (mcheck_pedantic): Likewise.
20046         * posix/regexec.c (re_search_2_stub): Likewise.  Use
20047         internal_function.
20048         (re_search_internal): Likewise.
20049         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
20050         prototype-style function definition.
20051         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
20052         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
20053         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
20054         (xdr_utmpptr): Likewise.
20055         (xdr_utmparr): Likewise.
20056         (xdr_utmpidle): Likewise.
20057         (xdr_utmpidleptr): Likewise.
20058         (xdr_utmpidlearr): Likewise.
20060         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
20061         log, log10 and log2.
20062         * math/auto-libm-test-out: Regenerated.
20063         * math/libm-test.inc (fmod_test_data): Add more tests.
20064         (fpclassify_test_data): Likewise.
20065         (frexp_test_data): Likewise.
20066         (hypot_test_data): Likewise.
20067         (ilogb_test_data): Likewise.
20069 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
20071         * debug/fortify_fail.c (__fortify_fail): Convert to
20072         prototype-style function definition.  Use internal_function.
20073         * libio/genops.c (save_for_backup): Convert to prototype-style
20074         function definition.
20075         * libio/wgenops.c (save_for_wbackup): Likewise.
20076         * login/grantpt.c (grantpt): Likewise.
20077         * login/ptsname.c (ptsname): Likewise.
20078         (__ptsname_r): Likewise.
20079         * login/unlockpt.c (unlockpt): Likewise.
20080         * mach/msgserver.c (__mach_msg_server): Likewise.
20081         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
20082         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
20083         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
20084         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
20085         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
20086         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
20087         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
20088         Likewise.
20089         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
20090         internal_function.
20091         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
20092         prototype-style function definition.
20093         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
20094         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
20095         (__pthread_create_2_0): Likewise.
20096         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
20097         * nptl/register-atfork.c (__register_atfork): Likewise.
20098         * posix/glob.c (glob): Likewise.
20099         * posix/regcomp.c (re_comp): Likewise.
20100         * posix/regexec.c (re_exec): Likewise.
20101         * stdlib/add_n.c [__STDC__]: Make code unconditional.
20102         [!__STDC__]: Remove conditional code.
20103         * stdlib/cmp.c [__STDC__]: Make code unconditional.
20104         [!__STDC__]: Remove conditional code.
20105         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
20106         [!__STDC__]: Remove conditional code.
20107         * stdlib/divrem.c [__STDC__]: Make code unconditional.
20108         [!__STDC__]: Remove conditional code.
20109         * stdlib/lshift.c [__STDC__]: Make code unconditional.
20110         [!__STDC__]: Remove conditional code.
20111         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
20112         [!__STDC__]: Remove conditional code.
20113         * stdlib/mul.c [__STDC__]: Make code unconditional.
20114         [!__STDC__]: Remove conditional code.
20115         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
20116         [!__STDC__]: Remove conditional code.
20117         * stdlib/rshift.c [__STDC__]: Make code unconditional.
20118         [!__STDC__]: Remove conditional code.
20119         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
20120         function definition.
20121         (STRTOF): Likewise.
20122         * stdlib/strtod_l.c (__STRTOF): Likewise.
20123         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
20124         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
20125         (__strtol_l): Likewise.
20126         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
20127         [!__STDC__]: Remove conditional code.
20128         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
20129         definition.
20130         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20131         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20132         type.
20133         (__strcasecmp): Convert to prototype-style function definition.
20134         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
20135         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20136         type.
20137         (__strncasecmp): Convert to prototype-style function definition.
20138         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
20139         * sunrpc/xdr.c (xdr_union): Likewise.
20140         * sunrpc/xdr_array.c (xdr_array): Likewise.
20141         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
20142         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
20143         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
20144         Likewise.
20145         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
20146         Likewise.
20147         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
20148         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
20149         Likewise.
20150         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
20151         (LOCALE_PARAM_PROTO): Likewise.
20152         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
20153         argument type.
20154         (ut_argument_spec): Remove macro.
20155         (ut_argument_spec_iso): Rename to ut_argument_spec.
20156         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
20157         prototype-style function definition.
20158         (memcpy_uppcase): Likewise.
20159         (__strftime_internal): Likewise.
20160         (my_strftime): Likewise.
20161         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
20162         (LOCALE_PARAM_DECL): Likewise.
20163         [_LIBC] (LOCALE_PARAM): Include argument type.
20164         (__strptime_internal): Convert to prototype-style function
20165         definition.
20166         (strptime): Likewise.
20167         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
20168         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20169         type.
20170         (__wcscasecmp): Convert to prototype-style function definition.
20171         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
20172         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
20173         type.
20174         (__wcsncasecmp): Convert to prototype-style function definition.
20176         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
20177         function definition.
20178         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20179         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20180         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
20181         * elf/dl-minimal.c (_itoa): Likewise.
20182         * hurd/hurdmalloc.c (malloc): Likewise.
20183         (free): Likewise.
20184         (realloc): Likewise.
20185         * inet/inet6_option.c (inet6_option_space): Likewise.
20186         (inet6_option_init): Likewise.
20187         (inet6_option_append): Likewise.
20188         (inet6_option_alloc): Likewise.
20189         (inet6_option_next): Likewise.
20190         (inet6_option_find): Likewise.
20191         * io/ftw.c (FTW_NAME): Likewise.
20192         (NFTW_NAME): Likewise.
20193         (NFTW_NEW_NAME): Likewise.
20194         (NFTW_OLD_NAME): Likewise.
20195         * libio/iofwide.c (_IO_fwide): Likewise.
20196         * libio/strops.c (_IO_str_init_static_internal): Likewise.
20197         (_IO_str_init_static): Likewise.
20198         (_IO_str_init_readonly): Likewise.
20199         (_IO_str_overflow): Likewise.
20200         (_IO_str_underflow): Likewise.
20201         (_IO_str_count): Likewise.
20202         (_IO_str_seekoff): Likewise.
20203         (_IO_str_pbackfail): Likewise.
20204         (_IO_str_finish): Likewise.
20205         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
20206         (_IO_wstr_overflow): Likewise.
20207         (_IO_wstr_underflow): Likewise.
20208         (_IO_wstr_count): Likewise.
20209         (_IO_wstr_seekoff): Likewise.
20210         (_IO_wstr_pbackfail): Likewise.
20211         (_IO_wstr_finish): Likewise.
20212         * locale/programs/localedef.c (normalize_codeset): Likewise.
20213         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
20214         (add_locales_to_archive): Likewise.
20215         (delete_locales_from_archive): Likewise.
20216         * malloc/malloc.c (__libc_mallinfo): Likewise.
20217         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
20218         * misc/tsearch.c (__tfind): Likewise.
20219         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
20220         * nptl/pthread_attr_getdetachstate.c
20221         (__pthread_attr_getdetachstate): Likewise.
20222         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
20223         Likewise.
20224         * nptl/pthread_attr_getinheritsched.c
20225         (__pthread_attr_getinheritsched): Likewise.
20226         * nptl/pthread_attr_getschedparam.c
20227         (__pthread_attr_getschedparam): Likewise.
20228         * nptl/pthread_attr_getschedpolicy.c
20229         (__pthread_attr_getschedpolicy): Likewise.
20230         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
20231         Likewise.
20232         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
20233         Likewise.
20234         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
20235         Likewise.
20236         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
20237         Likewise.
20238         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
20239         (__pthread_attr_init_2_0): Likewise.
20240         * nptl/pthread_attr_setdetachstate.c
20241         (__pthread_attr_setdetachstate): Likewise.
20242         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
20243         Likewise.
20244         * nptl/pthread_attr_setinheritsched.c
20245         (__pthread_attr_setinheritsched): Likewise.
20246         * nptl/pthread_attr_setschedparam.c
20247         (__pthread_attr_setschedparam): Likewise.
20248         * nptl/pthread_attr_setschedpolicy.c
20249         (__pthread_attr_setschedpolicy): Likewise.
20250         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
20251         Likewise.
20252         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
20253         Likewise.
20254         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
20255         Likewise.
20256         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
20257         Likewise.
20258         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
20259         Likewise.
20260         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
20261         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20262         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
20263         use internal_function.
20264         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
20265         prototype-style function definition.
20266         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
20267         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
20268         internal_function.
20269         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
20270         Convert to prototype-style function definition.
20271         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
20272         Likewise.
20273         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
20274         Likewise.
20275         (__pthread_mutex_unlock): Likewise.
20276         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
20277         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
20278         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
20279         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
20280         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
20281         * nss/makedb.c (process_input): Likewise.
20282         * posix/fnmatch.c (__strchrnul): Likewise.
20283         (__wcschrnul): Likewise.
20284         (fnmatch): Likewise.
20285         * posix/fnmatch_loop.c (FCT): Likewise.
20286         * posix/glob.c (globfree): Likewise.
20287         (__glob_pattern_type): Likewise.
20288         (__glob_pattern_p): Likewise.
20289         * posix/regcomp.c (re_compile_pattern): Likewise.
20290         (re_set_syntax): Likewise.
20291         (re_compile_fastmap): Likewise.
20292         (regcomp): Likewise.
20293         (regerror): Likewise.
20294         (regfree): Likewise.
20295         * posix/regexec.c (regexec): Likewise.
20296         (re_match): Likewise.
20297         (re_search): Likewise.
20298         (re_match_2): Likewise.
20299         (re_search_2): Likewise.
20300         (re_search_stub): Likewise.  Use internal_function
20301         (re_copy_regs): Likewise.
20302         (re_set_registers): Convert to prototype-style function
20303         definition.
20304         (prune_impossible_nodes): Likewise.  Use internal_function.
20305         * resolv/inet_net_pton.c (inet_net_pton): Convert to
20306         prototype-style function definition.
20307         (inet_net_pton_ipv4): Likewise.
20308         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
20309         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
20310         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
20311         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
20312         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
20313         Make variadic.
20314         * time/strptime_l.c (localtime_r): Convert to prototype-style
20315         function definition.
20316         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
20317         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
20318         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
20319         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
20321         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
20322         definition.
20323         (_ufc_doit_r): Likewise.
20324         * crypt/crypt_util.c (_ufc_copymem): Likewise.
20325         (_ufc_output_conversion_r): Likewise.
20326         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
20327         * inet/rcmd.c (rcmd_af): Likewise.
20328         (rcmd): Likewise.
20329         (ruserok_af): Likewise.
20330         (ruserok): Likewise.
20331         (ruserok2_sa): Likewise.
20332         (ruserok_sa): Likewise.
20333         (iruserok_af): Likewise.
20334         (iruserok): Likewise.
20335         (__ivaliduser): Likewise.
20336         (__validuser2_sa): Likewise.
20337         * inet/rexec.c (rexec_af): Likewise.
20338         (rexec): Likewise.
20339         * inet/ruserpass.c (ruserpass): Likewise.
20340         * locale/programs/xmalloc.c (xcalloc): Likewise.
20341         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
20342         * math/w_drem.c (__drem): Likewise.
20343         * math/w_dremf.c (__dremf): Likewise.
20344         * math/w_dreml.c (__dreml): Likewise.
20345         * misc/daemon.c (daemon): Likewise.
20346         * resolv/res_debug.c (p_fqnname): Likewise.
20347         * stdlib/div.c (div): Likewise.
20348         * string/memcmp.c (memcmp_bytes): Likewise.
20349         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
20350         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
20352         * crypt/cert.c (main): Convert to prototype-style function
20353         definition.
20354         * io/pipe.c (__pipe): Likewise.
20355         * io/pipe2.c (__pipe2): Likewise.
20356         * misc/futimesat.c (futimesat): Likewise.
20357         * misc/utimes.c (__utimes): Likewise.
20358         * posix/execve.c (__execve): Likewise.
20359         * posix/execvp.c (execvp): Likewise.
20360         * posix/execvpe.c (__execvpe): Likewise.
20361         * posix/fexecve.c (fexecve): Likewise.
20362         * socket/socketpair.c (socketpair): Likewise.
20363         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
20364         * stdlib/erand48.c (erand48): Likewise.
20365         * stdlib/erand48_r.c (__erand48_r): Likewise.
20366         * stdlib/jrand48.c (jrand48): Likewise.
20367         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
20368         * stdlib/lcong48.c (lcong48): Likewise.
20369         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
20370         * stdlib/nrand48.c (nrand48): Likewise.
20371         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
20372         * stdlib/seed48.c (seed48): Likewise.
20373         * stdlib/seed48_r.c (__seed48_r): Likewise.
20374         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
20375         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
20376         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
20378 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20380         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
20381         * configure: Regenerated.
20382         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
20383         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
20384         unconditional.
20385         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20386         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20387         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20388         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
20389         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
20390         unconditional.
20391         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
20393         * posix/Makefile (CFLAGS-regex.c): Remove variable.
20394         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
20396         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
20397         function definition.
20398         * crypt/crypt_util.c (__encrypt_r): Likewise.
20399         * libio/genops.c (_IO_no_init): Likewise.
20400         * libio/iofopncook.c (_IO_fopencookie): Likewise.
20401         (_IO_old_fopencookie): Likewise.
20402         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20403         * libio/iogetline.c (_IO_getline): Likewise.
20404         (_IO_getline_info): Likewise.
20405         * libio/iogetwline.c (_IO_getwline): Likewise.
20406         (_IO_getwline_info): Likewise.
20407         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
20408         * libio/vswprintf.c (_IO_vswprintf): Likewise.
20409         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
20410         (find_entry): Likewise.
20411         (iterate_table): Likewise.
20412         (lookup): Likewise.
20413         * login/forkpty.c (forkpty): Likewise.
20414         * misc/hsearch_r.c (__hsearch_r): Likewise.
20415         * misc/select.c (__select): Likewise.
20416         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
20417         Likewise.
20418         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
20419         Likewise.
20420         * nptl/old_pthread_cond_timedwait.c
20421         (__pthread_cond_timedwait_2_0): Likewise.
20422         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
20423         * nptl/pthread_barrierattr_getpshared.c
20424         (pthread_barrierattr_getpshared): Likewise.
20425         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
20426         Likewise.
20427         * nptl/pthread_mutex_setprioceiling.c
20428         (pthread_mutex_setprioceiling): Likewise.
20429         * nptl/pthread_mutexattr_getprioceiling.c
20430         (pthread_mutexattr_getprioceiling): Likewise.
20431         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
20432         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20433         Likewise.
20434         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20435         Likewise.
20436         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
20437         Likewise.
20438         * socket/recvfrom.c (__recvfrom): Likewise.
20439         * socket/sendto.c (__sendto): Likewise.
20440         * socket/setsockopt.c (__setsockopt): Likewise.
20441         * stdio-common/_itoa.c (_itoa): Likewise.
20442         * stdio-common/_itowa.c (_itowa): Likewise.
20443         * stdio-common/reg-printf.c (__register_printf_specifier):
20444         Likewise.
20445         (__register_printf_function): Likewise.
20446         * stdio-common/tempname.c (__path_search): Likewise.
20447         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
20448         * stdlib/mul_1.c (mpn_mul_1): Likewise.
20449         * stdlib/random_r.c (__initstate_r): Likewise.
20450         * stdlib/setenv.c (__add_to_environ): Likewise.
20451         * stdlib/submul_1.c (mpn_submul_1): Likewise.
20452         * streams/getpmsg.c (getpmsg): Likewise.
20453         * streams/putmsg.c (putmsg): Likewise.
20454         * streams/putpmsg.c (putpmsg): Likewise.
20455         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
20456         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
20457         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
20458         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
20459         * sunrpc/pm_getport.c (pmap_getport): Likewise.
20460         * sunrpc/svc_udp.c (cache_get): Likewise.
20461         * sunrpc/xdr_array.c (xdr_vector): Likewise.
20462         * sysdeps/mach/hurd/getcwd.c
20463         (__canonicalize_directory_name_internal): Likewise.
20464         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
20465         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
20466         * sysdeps/mach/hurd/select.c (__select): Likewise.
20467         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
20468         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
20469         * sysdeps/sparc/nptl/pthread_barrier_init.c
20470         (__pthread_barrier_init): Likewise.
20471         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
20472         (__pthread_cond_timedwait): Likewise.
20473         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
20474         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
20475         Likewise.
20476         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
20477         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
20478         Likewise.
20479         * sysvipc/semtimedop.c (semtimedop): Likewise.
20480         * time/setitimer.c (__setitimer): Likewise.
20481         * time/strftime_l.c (emacs_strftime): Likewise.
20483 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20485         * config.make.in (have-ssp): Delete.
20486         (stack-protector): New variable.
20487         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
20488         cache test for -fstack-protector-strong.  Export stack_protector to
20489         the best ssp flag.
20490         * configure: Regenerated.
20491         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
20492         * nscd/Makefile (CFLAGS-nscd): Likewise.
20493         * resolv/Makefile (CFLAGS-libresolv): Likewise.
20495 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
20497         [BZ #19122]
20498         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
20499         attribute_hidden.
20501 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20503         [BZ #18743]
20504         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
20505         code to...
20506         (ELIDE_LOCK): ...here.
20507         (__get_new_count): New function with part of the code from
20508         __elide_lock that updates the value of adapt_count after a
20509         transaction abort.
20510         (__elided_trylock): Moved this code to...
20511         (ELIDE_TRYLOCK): ...here.
20513 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
20515         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
20516         * configure: Regenerate.
20517         * INSTALL: Regenerate.
20518         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
20519         and tweak grammar.
20521 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
20523         * login/programs/pt_chown.c: Include signal.h
20524         (main): Clear any signal mask from the parent process.
20526 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
20528         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
20529         * configure: Regenerated.
20530         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
20531         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
20532         $(gnu89-inline-CFLAGS).
20534         * configure.ac (libc_cv_asm_weak_directive): Remove configure
20535         test.
20536         (libc_cv_asm_weakext_directive): Likewise.
20537         * configure: Regenerated.
20538         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
20539         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
20540         * include/libc-symbols.h
20541         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
20542         #error.
20543         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
20544         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
20546         * sysdeps/arm/backtrace.c (__backtrace): Convert to
20547         prototype-style function definition.
20548         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
20549         * sysdeps/i386/ffs.c (__ffs): Likewise.
20550         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20551         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
20552         Likewise.
20553         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20554         Likewise.
20555         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
20556         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
20557         Likewise.
20558         * sysdeps/m68k/ffs.c (__ffs): Likewise.
20559         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
20560         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
20561         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
20562         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
20563         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
20564         * sysdeps/mach/hurd/access.c (__access): Likewise.
20565         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
20566         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
20567         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
20568         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
20569         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
20570         (cthread_getspecific): Likewise.
20571         (cthread_setspecific): Likewise.
20572         (__libc_getspecific): Likewise.
20573         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
20574         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
20575         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
20576         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
20577         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
20578         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
20579         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
20580         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
20581         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
20582         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
20583         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
20584         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
20585         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
20586         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
20587         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
20588         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
20589         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
20590         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
20591         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
20592         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
20593         * sysdeps/mach/hurd/link.c (__link): Likewise.
20594         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
20595         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
20596         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
20597         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
20598         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
20599         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
20600         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
20601         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
20602         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20603         * sysdeps/mach/hurd/rename.c (rename): Likewise.
20604         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
20605         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
20606         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
20607         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
20608         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
20609         * sysdeps/mach/hurd/send.c (__send): Likewise.
20610         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
20611         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
20612         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
20613         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
20614         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
20615         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
20616         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
20617         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
20618         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
20619         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
20620         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
20621         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
20622         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
20623         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
20624         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
20625         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
20626         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
20627         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
20628         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
20629         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20630         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
20631         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
20632         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
20633         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
20634         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
20635         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
20636         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
20637         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
20638         * sysdeps/posix/alarm.c (alarm): Likewise.
20639         * sysdeps/posix/cuserid.c (cuserid): Likewise.
20640         * sysdeps/posix/dirfd.c (dirfd): Likewise.
20641         * sysdeps/posix/dup.c (__dup): Likewise.
20642         * sysdeps/posix/dup2.c (__dup2): Likewise.
20643         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
20644         (main): Likewise.
20645         * sysdeps/posix/flock.c (__flock): Likewise.
20646         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
20647         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
20648         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
20649         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
20650         * sysdeps/posix/isatty.c (__isatty): Likewise.
20651         * sysdeps/posix/killpg.c (killpg): Likewise.
20652         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
20653         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
20654         * sysdeps/posix/raise.c (raise): Likewise.
20655         * sysdeps/posix/remove.c (remove): Likewise.
20656         * sysdeps/posix/rename.c (rename): Likewise.
20657         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
20658         * sysdeps/posix/seekdir.c (seekdir): Likewise.
20659         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
20660         * sysdeps/posix/sigignore.c (sigignore): Likewise.
20661         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
20662         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
20663         * sysdeps/posix/sigset.c (sigset): Likewise.
20664         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
20665         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
20666         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
20667         * sysdeps/posix/time.c (time): Likewise.
20668         * sysdeps/posix/ttyname.c (getttyname): Likewise.
20669         (ttyname): Likewise.
20670         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
20671         * sysdeps/posix/utime.c (utime): Likewise.
20672         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
20673         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20674         Likewise.
20675         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
20676         (pthread_spin_trylock): Likewise.
20677         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
20678         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
20679         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
20680         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
20681         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
20682         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
20683         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
20684         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
20685         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
20686         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
20687         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
20688         * sysdeps/s390/ffs.c (__ffs): Likewise.
20689         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
20690         Likewise.
20691         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20692         Likewise.
20693         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
20694         Likewise.
20695         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
20696         (pthread_barrier_destroy): Likewise.
20697         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20698         (__pthread_barrier_wait): Likewise.
20699         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
20700         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20701         (__pthread_barrier_wait): Likewise.
20702         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
20703         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
20704         (memcmp_not_common_alignment): Likewise.
20705         (MEMCMP): Likewise.
20706         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
20707         (_wordcopy_fwd_dest_aligned): Likewise.
20708         (_wordcopy_bwd_aligned): Likewise.
20709         (_wordcopy_bwd_dest_aligned): Likewise.
20710         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
20711         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
20712         * sysdeps/unix/bsd/stty.c (stty): Likewise.
20713         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
20714         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
20715         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
20716         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
20717         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
20718         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
20719         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
20720         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
20721         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
20722         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
20723         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
20724         * sysdeps/unix/stime.c (stime): Likewise.
20725         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
20726         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
20727         Likewise.  Use internal_function.
20728         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
20729         Convert to prototype-style function definition.
20730         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
20731         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
20732         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
20733         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
20734         Likewise.  Use internal_function.
20735         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
20736         prototype-style function definition
20737         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
20738         Likewise.
20739         (__getlogin_r): Likewise.
20740         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
20741         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
20742         (__pthread_cond_broadcast): Likewise.
20743         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
20744         (__pthread_cond_destroy): Likewise.
20745         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
20746         (__pthread_cond_init): Likewise.
20747         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
20748         (__pthread_cond_signal): Likewise.
20749         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
20750         (__pthread_cond_wait): Likewise.
20751         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
20752         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
20753         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
20754         Likewise.
20755         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
20756         Likewise.
20757         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
20758         Likewise.
20759         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
20760         Likewise.
20761         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
20762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
20763         (__ftruncate64): Likewise.
20764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
20765         (truncate64): Likewise.
20766         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
20767         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
20768         (pthread_getcpuclockid): Likewise.
20769         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
20770         Likewise.
20771         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
20772         Likewise.
20773         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
20774         Likewise.
20775         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
20776         Likewise.
20777         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
20778         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
20779         (__libc_sigaction): Likewise.
20780         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
20781         Likewise.
20782         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
20783         (__sigprocmask): Likewise.
20784         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
20785         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
20786         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
20787         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
20788         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
20789         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
20790         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
20791         Likewise.
20792         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
20793         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
20794         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
20795         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
20796         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
20797         Likewise.
20798         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
20799         (__sigprocmask): Likewise.
20800         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
20801         (cfgetispeed): Likewise.
20802         (cfsetospeed): Likewise.
20803         (cfsetispeed): Likewise.
20804         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
20805         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
20806         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
20807         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
20808         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
20809         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
20810         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
20811         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
20812         Likewise.
20813         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
20814         Likewise.
20815         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
20816         Likewise.
20817         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
20818         Likewise.
20819         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
20821 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20823         sunrpc: Rewrite with explicit TLS access using __thread.
20824         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
20825         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
20826         directly.
20827         (__rpc_thread_variables): Access thread_rpc_vars directly.
20828         Eliminate redundant assignment of the tvp variable.
20830 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20832         malloc: Rewrite with explicit TLS access using __thread.
20833         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
20834         (tsd_setspecific, tsd_getspecific): Remove.
20835         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
20836         (tsd_setspecific, tsd_getspecific): Likewise.
20837         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
20838         (tsd_setspecific, tsd_getspecific): Likewise.
20839         * malloc/arena.c (thread_arena): New TLS variable.
20840         (arena_key): Remove variable.
20841         (arena_get): Use thread_arena.
20842         (arena_lookup): Remove macro.
20843         (malloc_atfork, free_atfork, ptmalloc_lock_all)
20844         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
20845         (_int_new_arena, get_free_list, reused_arena)
20846         (arena_thread_freeres): Use thread_arena.
20847         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
20848         tsd_getspecific, tsd_setspecific from safety annotations.
20849         (Allocating Cleared Space): Remove arena_lookup from safety
20850         annotations.
20852 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20854         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
20855         struct scratch_buffer instead of extend_alloca.
20857 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20859         * sysdeps/unix/sysv/linux/kernel-features.h
20860         (__ASSUME_SOCK_CLOEXEC): Remove.
20861         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
20862         (__have_paccept): Remove unused macro.
20863         * include/unistd.h (__have_sock_cloexec): Remove declaration.
20864         * misc/syslog.c (openlog_internal): Remove fallback code for
20865         !__ASSUME_SOCK_CLOEXEC.
20866         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
20867         missing SOCK_CLOEXEC.
20868         * nscd/connections.c (have_sock_cloexec): Remove definition.
20869         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20870         * nscd/nscd_helper.c (open_socket): Remove fallback code for
20871         !__ASSUME_SOCK_CLOEXEC.
20872         * resolv/res_send.c (__have_o_nonblock): Remove definition.
20873         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
20874         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
20875         definition.
20876         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
20877         code for !__ASSUME_SOCK_CLOEXEC.
20879 2015-10-17  Florian Weimer  <fweimer@redhat.com>
20881         [BZ #18982]
20882         * manual/stdio.texi (Variable Arguments Output): Add portability
20883         note, explaining that vfprintf clobbers the va_list pointer.
20885 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20887         * math/libm-test.inc (fabs_test_data): Add more tests.
20888         (fdim_test_data): Likewise.
20889         (fma_test_data): Likewise.
20890         (fmax_test_data): Likewise.
20891         (fmin_test_data): Likewise.
20892         (fmod_test_data): Likewise.
20894 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
20896         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
20897         data.
20899 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
20901         * math/libm-test.inc (ceil_test_data): Add more tests and more
20902         expectations for "inexact".
20903         (floor_test_data): Add more tests.
20904         (round_test_data): Likewise.
20905         (trunc_test_data): Likewise.
20907         * crypt/cert.c (good_bye): Convert to prototype-style function
20908         definition.
20909         (get8): Likewise.
20910         (put8): Likewise.
20911         * crypt/crypt-entry.c (crypt): Likewise.
20912         (__fcrypt): Likewise.
20913         * crypt/crypt_util.c (_ufc_prbits): Likewise.
20914         (_ufc_set_bits): Likewise.
20915         (_ufc_clearmem): Likewise.
20916         (__init_des_r): Likewise.
20917         (shuffle_sb): Likewise.
20918         (shuffle_sb): Likewise.
20919         (_ufc_setup_salt_r): Likewise.
20920         (_ufc_mk_keytab_r): Likewise.
20921         (_ufc_dofinalperm_r): Likewise.
20922         (encrypt): Likewise.
20923         (__setkey_r): Likewise.
20924         (setkey): Likewise.
20925         * crypt/md5.c (md5_init_ctx): Likewise.
20926         (md5_read_ctx): Likewise.
20927         (md5_finish_ctx): Likewise.
20928         (md5_stream): Likewise.
20929         (md5_buffer): Likewise.
20930         (md5_process_bytes): Likewise.
20931         * crypt/sha256.c (__sha256_init_ctx): Likewise.
20932         (__sha256_finish_ctx): Likewise.
20933         (__sha256_process_bytes): Likewise.
20934         * crypt/sha512.c (__sha512_init_ctx): Likewise.
20935         (__sha512_finish_ctx): Likewise.
20936         (__sha512_process_bytes): Likewise.
20937         * ctype/isctype.c (__isctype): Likewise.
20938         * debug/backtrace.c (__backtrace): Likewise.
20939         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
20940         * debug/fgets_chk.c (__fgets_chk): Likewise.
20941         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
20942         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
20943         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20944         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20945         * debug/memset_chk.c (__memset_chk): Likewise.
20946         * debug/strcat_chk.c (__strcat_chk): Likewise.
20947         * debug/strncat_chk.c (__strncat_chk): Likewise.
20948         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
20949         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
20950         * dirent/dirfd.c (dirfd): Likewise.
20951         * dirent/getdents.c (__getdirentries): Likewise.
20952         * dirent/getdents64.c (getdirentries64): Likewise.
20953         * dirent/rewinddir.c (__rewinddir): Likewise.
20954         * dirent/seekdir.c (seekdir): Likewise.
20955         * dirent/telldir.c (telldir): Likewise.
20956         * elf/sln.c (makesymlinks): Likewise.
20957         (makesymlink): Likewise.
20958         * gmon/gmon.c (__moncontrol): Likewise.
20959         (__monstartup): Likewise.
20960         (write_hist): Likewise.
20961         (write_call_graph): Likewise.
20962         (write_bb_counts): Likewise.
20963         * grp/setgroups.c (setgroups): Likewise.
20964         * inet/inet_lnaof.c (inet_lnaof): Likewise.
20965         * inet/inet_net.c (inet_network): Likewise.
20966         * inet/inet_netof.c (inet_netof): Likewise.
20967         * inet/rcmd.c (rresvport_af): Likewise.
20968         (rresvport): Likewise.
20969         * io/access.c (__access): Likewise.
20970         * io/chdir.c (__chdir): Likewise.
20971         * io/chmod.c (__chmod): Likewise.
20972         * io/chown.c (__chown): Likewise.
20973         * io/close.c (__close): Likewise.
20974         * io/creat.c (creat): Likewise.
20975         * io/creat64.c (creat64): Likewise.
20976         * io/dup.c (__dup): Likewise.
20977         * io/dup2.c (__dup2): Likewise.
20978         * io/dup3.c (__dup3): Likewise.
20979         * io/euidaccess.c (__euidaccess): Likewise.
20980         * io/faccessat.c (faccessat): Likewise.
20981         * io/fchmod.c (__fchmod): Likewise.
20982         * io/fchmodat.c (fchmodat): Likewise.
20983         * io/fchown.c (__fchown): Likewise.
20984         * io/fchownat.c (fchownat): Likewise.
20985         * io/fcntl.c (__fcntl): Likewise.
20986         * io/flock.c (__flock): Likewise.
20987         * io/fts.c (fts_load): Likewise.
20988         (fts_close): Likewise.
20989         (fts_read): Likewise.
20990         (fts_set): Likewise.
20991         (fts_children): Likewise.
20992         (fts_build): Likewise.
20993         (fts_stat): Likewise.
20994         (fts_sort): Likewise.
20995         (fts_alloc): Likewise.
20996         (fts_lfree): Likewise.
20997         (fts_palloc): Likewise.
20998         (fts_padjust): Likewise.
20999         (fts_maxarglen): Likewise.
21000         (fts_safe_changedir): Likewise.
21001         * io/getwd.c (getwd): Likewise.
21002         * io/isatty.c (__isatty): Likewise.
21003         * io/lchown.c (__lchown): Likewise.
21004         * io/link.c (__link): Likewise.
21005         * io/linkat.c (linkat): Likewise.
21006         * io/lseek.c (__libc_lseek): Likewise.
21007         * io/mkdir.c (__mkdir): Likewise.
21008         * io/mkdirat.c (mkdirat): Likewise.
21009         * io/mkfifo.c (mkfifo): Likewise.
21010         * io/mkfifoat.c (mkfifoat): Likewise.
21011         * io/open.c (__libc_open): Likewise.
21012         * io/open64.c (__libc_open64): Likewise.
21013         * io/readlink.c (__readlink): Likewise.
21014         * io/readlinkat.c (readlinkat): Likewise.
21015         * io/rmdir.c (__rmdir): Likewise.
21016         * io/symlink.c (__symlink): Likewise.
21017         * io/symlinkat.c (symlinkat): Likewise.
21018         * io/ttyname.c (ttyname): Likewise.
21019         * io/ttyname_r.c (__ttyname_r): Likewise.
21020         * io/umask.c (__umask): Likewise.
21021         * io/unlink.c (__unlink): Likewise.
21022         * io/unlinkat.c (unlinkat): Likewise.
21023         * io/utime.c (utime): Likewise.
21024         * libio/clearerr.c (clearerr): Likewise.
21025         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
21026         * libio/feof.c (_IO_feof): Likewise.
21027         * libio/feof_u.c (feof_unlocked): Likewise.
21028         * libio/ferror.c (_IO_ferror): Likewise.
21029         * libio/ferror_u.c (ferror_unlocked): Likewise.
21030         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21031         * libio/fileno.c (__fileno): Likewise.
21032         * libio/fputc.c (fputc): Likewise.
21033         * libio/fputc_u.c (fputc_unlocked): Likewise.
21034         * libio/fputwc.c (fputwc): Likewise.
21035         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
21036         * libio/freopen.c (freopen): Likewise.
21037         * libio/freopen64.c (freopen64): Likewise.
21038         * libio/fseek.c (fseek): Likewise.
21039         * libio/fseeko.c (fseeko): Likewise.
21040         * libio/fseeko64.c (fseeko64): Likewise.
21041         * libio/ftello.c (__ftello): Likewise.
21042         * libio/ftello64.c (ftello64): Likewise.
21043         * libio/fwide.c (fwide): Likewise.
21044         * libio/genops.c (_IO_un_link): Likewise.
21045         (_IO_link_in): Likewise.
21046         (_IO_least_marker): Likewise.
21047         (_IO_switch_to_main_get_area): Likewise.
21048         (_IO_switch_to_backup_area): Likewise.
21049         (_IO_switch_to_get_mode): Likewise.
21050         (_IO_free_backup_area): Likewise.
21051         (_IO_switch_to_put_mode): Likewise.
21052         (__overflow): Likewise.
21053         (__underflow): Likewise.
21054         (__uflow): Likewise.
21055         (_IO_setb): Likewise.
21056         (_IO_doallocbuf): Likewise.
21057         (_IO_default_underflow): Likewise.
21058         (_IO_default_uflow): Likewise.
21059         (_IO_default_xsputn): Likewise.
21060         (_IO_sgetn): Likewise.
21061         (_IO_default_xsgetn): Likewise.
21062         (_IO_sync): Likewise.
21063         (_IO_default_setbuf): Likewise.
21064         (_IO_default_seekpos): Likewise.
21065         (_IO_default_doallocate): Likewise.
21066         (_IO_init): Likewise.
21067         (_IO_old_init): Likewise.
21068         (_IO_default_sync): Likewise.
21069         (_IO_default_finish): Likewise.
21070         (_IO_default_seekoff): Likewise.
21071         (_IO_sputbackc): Likewise.
21072         (_IO_sungetc): Likewise.
21073         (_IO_set_column): Likewise.
21074         (_IO_set_column): Likewise.
21075         (_IO_adjust_column): Likewise.
21076         (_IO_get_column): Likewise.
21077         (_IO_init_marker): Likewise.
21078         (_IO_remove_marker): Likewise.
21079         (_IO_marker_difference): Likewise.
21080         (_IO_marker_delta): Likewise.
21081         (_IO_seekmark): Likewise.
21082         (_IO_unsave_markers): Likewise.
21083         (_IO_nobackup_pbackfail): Likewise.
21084         (_IO_default_pbackfail): Likewise.
21085         (_IO_default_seek): Likewise.
21086         (_IO_default_stat): Likewise.
21087         (_IO_default_read): Likewise.
21088         (_IO_default_write): Likewise.
21089         (_IO_default_showmanyc): Likewise.
21090         (_IO_default_imbue): Likewise.
21091         (_IO_iter_next): Likewise.
21092         (_IO_iter_file): Likewise.
21093         * libio/getc.c (_IO_getc): Likewise.
21094         * libio/getwc.c (_IO_getwc): Likewise.
21095         * libio/iofclose.c (_IO_new_fclose): Likewise.
21096         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
21097         * libio/iofflush.c (_IO_fflush): Likewise.
21098         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
21099         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
21100         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
21101         * libio/iofgets.c (_IO_fgets): Likewise.
21102         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
21103         * libio/iofgetws.c (fgetws): Likewise.
21104         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21105         * libio/iofopen64.c (_IO_fopen64): Likewise.
21106         * libio/iofopncook.c (_IO_cookie_read): Likewise.
21107         (_IO_cookie_write): Likewise.
21108         (_IO_cookie_seek): Likewise.
21109         (_IO_cookie_close): Likewise.
21110         (_IO_cookie_seekoff): Likewise.
21111         (_IO_old_cookie_seek): Likewise.
21112         * libio/iofputs.c (_IO_fputs): Likewise.
21113         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
21114         * libio/iofputws.c (fputws): Likewise.
21115         * libio/iofputws_u.c (fputws_unlocked): Likewise.
21116         * libio/iofread.c (_IO_fread): Likewise.
21117         * libio/iofread_u.c (__fread_unlocked): Likewise.
21118         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
21119         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
21120         * libio/ioftell.c (_IO_ftell): Likewise.
21121         * libio/iofwrite.c (_IO_fwrite): Likewise.
21122         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21123         * libio/iogets.c (_IO_gets): Likewise.
21124         * libio/iopadn.c (_IO_padn): Likewise.
21125         * libio/iopopen.c (_IO_new_proc_open): Likewise.
21126         (_IO_new_popen): Likewise.
21127         (_IO_new_proc_close): Likewise.
21128         * libio/ioputs.c (_IO_puts): Likewise.
21129         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
21130         (_IO_seekoff): Likewise.
21131         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
21132         (_IO_seekpos): Likewise.
21133         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
21134         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
21135         * libio/ioungetc.c (_IO_ungetc): Likewise.
21136         * libio/ioungetwc.c (ungetwc): Likewise.
21137         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
21138         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
21139         * libio/iowpadn.c (_IO_wpadn): Likewise.
21140         * libio/libc_fatal.c (__libc_fatal): Likewise.
21141         * libio/memstream.c (__open_memstream): Likewise.
21142         (_IO_mem_sync): Likewise.
21143         (_IO_mem_finish): Likewise.
21144         * libio/oldfileops.c (_IO_old_file_init): Likewise.
21145         (_IO_old_file_close_it): Likewise.
21146         (_IO_old_file_finish): Likewise.
21147         (_IO_old_file_fopen): Likewise.
21148         (_IO_old_file_attach): Likewise.
21149         (_IO_old_file_setbuf): Likewise.
21150         (_IO_old_do_write): Likewise.
21151         (old_do_write): Likewise.
21152         (_IO_old_file_underflow): Likewise.
21153         (_IO_old_file_overflow): Likewise.
21154         (_IO_old_file_sync): Likewise.
21155         (_IO_old_file_seekoff): Likewise.
21156         (_IO_old_file_write): Likewise.
21157         (_IO_old_file_xsputn): Likewise.
21158         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
21159         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
21160         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
21161         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
21162         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
21163         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
21164         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
21165         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
21166         (_IO_old_popen): Likewise.
21167         (_IO_old_proc_close): Likewise.
21168         * libio/oldpclose.c (__old_pclose): Likewise.
21169         * libio/pclose.c (__new_pclose): Likewise.
21170         * libio/peekc.c (_IO_peekc_locked): Likewise.
21171         * libio/putc.c (_IO_putc): Likewise.
21172         * libio/putc_u.c (putc_unlocked): Likewise.
21173         * libio/putchar.c (putchar): Likewise.
21174         * libio/putchar_u.c (putchar_unlocked): Likewise.
21175         * libio/putwc.c (putwc): Likewise.
21176         * libio/putwc_u.c (putwc_unlocked): Likewise.
21177         * libio/putwchar.c (putwchar): Likewise.
21178         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
21179         * libio/rewind.c (rewind): Likewise.
21180         * libio/setbuf.c (setbuf): Likewise.
21181         * libio/setlinebuf.c (setlinebuf): Likewise.
21182         * libio/vasprintf.c (_IO_vasprintf): Likewise.
21183         * libio/vscanf.c (_IO_vscanf): Likewise.
21184         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
21185         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
21186         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
21187         * libio/wgenops.c (_IO_least_wmarker): Likewise.
21188         (_IO_switch_to_main_wget_area): Likewise.
21189         (_IO_switch_to_wbackup_area): Likewise.
21190         (_IO_wsetb): Likewise.
21191         (_IO_wdefault_pbackfail): Likewise.
21192         (_IO_wdefault_finish): Likewise.
21193         (_IO_wdefault_uflow): Likewise.
21194         (__woverflow): Likewise.
21195         (__wuflow): Likewise.
21196         (__wunderflow): Likewise.
21197         (_IO_wdefault_xsputn): Likewise.
21198         (_IO_wdefault_xsgetn): Likewise.
21199         (_IO_wdoallocbuf): Likewise.
21200         (_IO_wdefault_doallocate): Likewise.
21201         (_IO_switch_to_wget_mode): Likewise.
21202         (_IO_free_wbackup_area): Likewise.
21203         (_IO_switch_to_wput_mode): Likewise.
21204         (_IO_sputbackwc): Likewise.
21205         (_IO_sungetwc): Likewise.
21206         (_IO_adjust_wcolumn): Likewise.
21207         (_IO_init_wmarker): Likewise.
21208         (_IO_wmarker_delta): Likewise.
21209         (_IO_seekwmark): Likewise.
21210         (_IO_unsave_wmarkers): Likewise.
21211         * libio/wmemstream.c (open_wmemstream): Likewise.
21212         (_IO_wmem_sync): Likewise.
21213         (_IO_wmem_finish): Likewise.
21214         * locale/nl_langinfo.c (nl_langinfo): Likewise.
21215         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
21216         * locale/programs/simple-hash.c (init_hash): Likewise.
21217         (delete_hash): Likewise.
21218         (insert_entry): Likewise.
21219         (set_entry): Likewise.
21220         (next_prime): Likewise.
21221         (is_prime): Likewise.
21222         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
21223         (xmalloc): Likewise.
21224         (xrealloc): Likewise.
21225         * locale/programs/xstrdup.c (xstrdup): Likewise.
21226         * localedata/collate-test.c (xstrcoll): Likewise.
21227         * localedata/xfrm-test.c (xstrcmp): Likewise.
21228         * login/getlogin_r.c (__getlogin_r): Likewise.
21229         * login/getpt.c (__posix_openpt): Likewise.
21230         * login/login_tty.c (login_tty): Likewise.
21231         * login/setlogin.c (setlogin): Likewise.
21232         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
21233         (mach_msg_destroy_port): Likewise.
21234         (mach_msg_destroy_memory): Likewise.
21235         * malloc/mcheck.c (flood): Likewise.
21236         * misc/acct.c (acct): Likewise.
21237         * misc/brk.c (__brk): Likewise.
21238         * misc/chflags.c (chflags): Likewise.
21239         * misc/chroot.c (chroot): Likewise.
21240         * misc/fchflags.c (fchflags): Likewise.
21241         * misc/fstab.c (getfsspec): Likewise.
21242         (getfsfile): Likewise.
21243         * misc/fsync.c (fsync): Likewise.
21244         * misc/ftruncate.c (__ftruncate): Likewise.
21245         * misc/ftruncate64.c (__ftruncate64): Likewise.
21246         * misc/getdomain.c (getdomainname): Likewise.
21247         (getdomainname): Likewise.
21248         * misc/gethostname.c (__gethostname): Likewise.
21249         * misc/getpass.c (getpass): Likewise.
21250         * misc/getttyent.c (skip): Likewise.
21251         (value): Likewise.
21252         * misc/gtty.c (gtty): Likewise.
21253         * misc/hsearch.c (hsearch): Likewise.
21254         (hcreate): Likewise.
21255         * misc/hsearch_r.c (__hcreate_r): Likewise.
21256         (__hdestroy_r): Likewise.
21257         * misc/ioctl.c (__ioctl): Likewise.
21258         * misc/mkdtemp.c (mkdtemp): Likewise.
21259         * misc/mkostemp.c (mkostemp): Likewise.
21260         * misc/mkostemp64.c (mkostemp64): Likewise.
21261         * misc/mkostemps.c (mkostemps): Likewise.
21262         * misc/mkostemps64.c (mkostemps64): Likewise.
21263         * misc/mkstemp.c (mkstemp): Likewise.
21264         * misc/mkstemp64.c (mkstemp64): Likewise.
21265         * misc/mkstemps.c (mkstemps): Likewise.
21266         * misc/mkstemps64.c (mkstemps64): Likewise.
21267         * misc/mktemp.c (__mktemp): Likewise.
21268         * misc/preadv.c (preadv): Likewise.
21269         * misc/preadv64.c (preadv64): Likewise.
21270         * misc/pwritev.c (pwritev): Likewise.
21271         * misc/pwritev64.c (pwritev64): Likewise.
21272         * misc/readv.c (__readv): Likewise.
21273         * misc/revoke.c (revoke): Likewise.
21274         * misc/setdomain.c (setdomainname): Likewise.
21275         * misc/setegid.c (setegid): Likewise.
21276         * misc/seteuid.c (seteuid): Likewise.
21277         * misc/sethostid.c (sethostid): Likewise.
21278         * misc/sethostname.c (sethostname): Likewise.
21279         * misc/setregid.c (__setregid): Likewise.
21280         * misc/setreuid.c (__setreuid): Likewise.
21281         * misc/sstk.c (sstk): Likewise.
21282         * misc/stty.c (stty): Likewise.
21283         * misc/syscall.c (syscall): Likewise.
21284         * misc/syslog.c (setlogmask): Likewise.
21285         * misc/truncate.c (__truncate): Likewise.
21286         * misc/truncate64.c (truncate64): Likewise.
21287         * misc/ualarm.c (ualarm): Likewise.
21288         * misc/usleep.c (usleep): Likewise.
21289         * misc/ustat.c (ustat): Likewise.
21290         * misc/writev.c (__writev): Likewise.
21291         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
21292         * nptl/old_pthread_cond_broadcast.c
21293         (__pthread_cond_broadcast_2_0): Likewise.
21294         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
21295         Likewise.
21296         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
21297         Likewise.
21298         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
21299         Likewise.
21300         * nptl/pt-raise.c (raise): Likewise.
21301         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
21302         Likewise.
21303         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
21304         * nptl/pthread_barrierattr_destroy.c
21305         (pthread_barrierattr_destroy): Likewise.
21306         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
21307         Likewise.
21308         * nptl/pthread_barrierattr_setpshared.c
21309         (pthread_barrierattr_setpshared): Likewise.
21310         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21311         Likewise.
21312         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
21313         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
21314         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
21315         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
21316         Likewise.
21317         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
21318         Likewise.
21319         * nptl/pthread_condattr_getpshared.c
21320         (pthread_condattr_getpshared): Likewise.
21321         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
21322         Likewise.
21323         * nptl/pthread_condattr_setpshared.c
21324         (pthread_condattr_setpshared): Likewise.
21325         * nptl/pthread_detach.c (pthread_detach): Likewise.
21326         * nptl/pthread_equal.c (__pthread_equal): Likewise.
21327         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
21328         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
21329         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
21330         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
21331         Likewise.
21332         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
21333         Likewise.
21334         * nptl/pthread_mutex_getprioceiling.c
21335         (pthread_mutex_getprioceiling): Likewise.
21336         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
21337         Likewise.
21338         * nptl/pthread_mutexattr_getprotocol.c
21339         (pthread_mutexattr_getprotocol): Likewise.
21340         * nptl/pthread_mutexattr_getpshared.c
21341         (pthread_mutexattr_getpshared): Likewise.
21342         * nptl/pthread_mutexattr_getrobust.c
21343         (pthread_mutexattr_getrobust): Likewise.
21344         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
21345         Likewise.
21346         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
21347         Likewise.
21348         * nptl/pthread_mutexattr_setprioceiling.c
21349         (pthread_mutexattr_setprioceiling): Likewise.
21350         * nptl/pthread_mutexattr_setprotocol.c
21351         (pthread_mutexattr_setprotocol): Likewise.
21352         * nptl/pthread_mutexattr_setpshared.c
21353         (pthread_mutexattr_setpshared): Likewise.
21354         * nptl/pthread_mutexattr_setrobust.c
21355         (pthread_mutexattr_setrobust): Likewise.
21356         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
21357         Likewise.
21358         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
21359         Likewise.
21360         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
21361         Likewise.
21362         * nptl/pthread_rwlockattr_getkind_np.c
21363         (pthread_rwlockattr_getkind_np): Likewise.
21364         * nptl/pthread_rwlockattr_getpshared.c
21365         (pthread_rwlockattr_getpshared): Likewise.
21366         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
21367         Likewise.
21368         * nptl/pthread_rwlockattr_setkind_np.c
21369         (pthread_rwlockattr_setkind_np): Likewise.
21370         * nptl/pthread_rwlockattr_setpshared.c
21371         (pthread_rwlockattr_setpshared): Likewise.
21372         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
21373         Likewise.
21374         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
21375         Likewise.
21376         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
21377         Likewise.
21378         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
21379         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
21380         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
21381         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
21382         * nptl/sem_close.c (sem_close): Likewise.
21383         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
21384         * nptl/sem_init.c (__old_sem_init): Likewise.
21385         * nptl/sigaction.c (__sigaction): Likewise.
21386         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
21387         * posix/_exit.c (_exit): Likewise.
21388         * posix/alarm.c (alarm): Likewise.
21389         * posix/confstr.c (confstr): Likewise.
21390         * posix/fpathconf.c (__fpathconf): Likewise.
21391         * posix/getgroups.c (__getgroups): Likewise.
21392         * posix/getpgid.c (__getpgid): Likewise.
21393         * posix/group_member.c (__group_member): Likewise.
21394         * posix/pathconf.c (__pathconf): Likewise.
21395         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
21396         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
21397         * posix/setgid.c (__setgid): Likewise.
21398         * posix/setpgid.c (__setpgid): Likewise.
21399         * posix/setuid.c (__setuid): Likewise.
21400         * posix/sleep.c (__sleep): Likewise.
21401         * posix/sysconf.c (__sysconf): Likewise.
21402         * posix/times.c (__times): Likewise.
21403         * posix/uname.c (__uname): Likewise.
21404         * posix/waitid.c (__waitid): Likewise.
21405         * pwd/getpw.c (__getpw): Likewise.
21406         * resolv/base64.c (b64_pton): Likewise.
21407         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
21408         * resolv/gethnamaddr.c (Dprintf): Likewise.
21409         (gethostbyname): Likewise.
21410         (gethostbyname2): Likewise.
21411         (gethostbyaddr): Likewise.
21412         (_sethtent): Likewise.
21413         (_gethtbyname): Likewise.
21414         (_gethtbyname2): Likewise.
21415         (_gethtbyaddr): Likewise.
21416         (map_v4v6_address): Likewise.
21417         (map_v4v6_hostent): Likewise.
21418         (addrsort): Likewise.
21419         (ht_sethostent): Likewise.
21420         (ht_gethostbyname): Likewise.
21421         (ht_gethostbyaddr): Likewise.
21422         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
21423         (inet_net_ntop_ipv4): Likewise.
21424         * resolv/inet_neta.c (inet_neta): Likewise.
21425         * resolv/inet_ntop.c (inet_ntop): Likewise.
21426         (inet_ntop4): Likewise.
21427         (inet_ntop6): Likewise.
21428         * resolv/inet_pton.c (__inet_pton): Likewise.
21429         (inet_pton4): Likewise.
21430         (inet_pton6): Likewise.
21431         * resolv/res_debug.c (loc_aton): Likewise.
21432         (loc_ntoa): Likewise.
21433         * resource/getpriority.c (__getpriority): Likewise.
21434         * resource/getrusage.c (__getrusage): Likewise.
21435         * resource/nice.c (nice): Likewise.
21436         * resource/setpriority.c (__setpriority): Likewise.
21437         * resource/setrlimit64.c (setrlimit64): Likewise.
21438         * resource/vlimit.c (vlimit): Likewise.
21439         * resource/vtimes.c (vtimes): Likewise.
21440         * rt/aio_error.c (aio_error): Likewise.
21441         * rt/aio_return.c (aio_return): Likewise.
21442         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
21443         * signal/kill.c (__kill): Likewise.
21444         * signal/killpg.c (killpg): Likewise.
21445         * signal/raise.c (raise): Likewise.
21446         * signal/sigaction.c (__sigaction): Likewise.
21447         * signal/sigaddset.c (sigaddset): Likewise.
21448         * signal/sigaltstack.c (sigaltstack): Likewise.
21449         * signal/sigandset.c (sigandset): Likewise.
21450         * signal/sigblock.c (__sigblock): Likewise.
21451         * signal/sigdelset.c (sigdelset): Likewise.
21452         * signal/sigempty.c (sigemptyset): Likewise.
21453         * signal/sigfillset.c (sigfillset): Likewise.
21454         * signal/sighold.c (sighold): Likewise.
21455         * signal/sigignore.c (sigignore): Likewise.
21456         * signal/sigintr.c (siginterrupt): Likewise.
21457         * signal/sigisempty.c (sigisemptyset): Likewise.
21458         * signal/sigismem.c (sigismember): Likewise.
21459         * signal/signal.c (signal): Likewise.
21460         * signal/sigorset.c (sigorset): Likewise.
21461         * signal/sigpause.c (__sigpause): Likewise.
21462         * signal/sigpending.c (sigpending): Likewise.
21463         * signal/sigprocmask.c (__sigprocmask): Likewise.
21464         * signal/sigrelse.c (sigrelse): Likewise.
21465         * signal/sigreturn.c (__sigreturn): Likewise.
21466         * signal/sigset.c (sigset): Likewise.
21467         * signal/sigsetmask.c (__sigsetmask): Likewise.
21468         * signal/sigstack.c (sigstack): Likewise.
21469         * signal/sigsuspend.c (__sigsuspend): Likewise.
21470         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
21471         * signal/sysv_signal.c (__sysv_signal): Likewise.
21472         * socket/accept.c (accept): Likewise.
21473         * socket/accept4.c (__libc_accept4): Likewise.
21474         * socket/bind.c (__bind): Likewise.
21475         * socket/connect.c (__connect): Likewise.
21476         * socket/getpeername.c (getpeername): Likewise.
21477         * socket/getsockname.c (__getsockname): Likewise.
21478         * socket/getsockopt.c (getsockopt): Likewise.
21479         * socket/listen.c (__listen): Likewise.
21480         * socket/recv.c (__recv): Likewise.
21481         * socket/recvmsg.c (__recvmsg): Likewise.
21482         * socket/send.c (__send): Likewise.
21483         * socket/sendmsg.c (__sendmsg): Likewise.
21484         * socket/shutdown.c (shutdown): Likewise.
21485         * socket/sockatmark.c (sockatmark): Likewise.
21486         * socket/socket.c (__socket): Likewise.
21487         * stdio-common/ctermid.c (ctermid): Likewise.
21488         * stdio-common/cuserid.c (cuserid): Likewise.
21489         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
21490         * stdio-common/remove.c (remove): Likewise.
21491         * stdio-common/rename.c (rename): Likewise.
21492         * stdio-common/renameat.c (renameat): Likewise.
21493         * stdio-common/tempname.c (__gen_tempname): Likewise.
21494         * stdio-common/xbug.c (InitBuffer): Likewise.
21495         (AppendToBuffer): Likewise.
21496         (ReadFile): Likewise.
21497         * stdlib/a64l.c (a64l): Likewise.
21498         * stdlib/drand48_r.c (drand48_r): Likewise.
21499         * stdlib/getcontext.c (getcontext): Likewise.
21500         * stdlib/getenv.c (getenv): Likewise.
21501         * stdlib/l64a.c (l64a): Likewise.
21502         * stdlib/llabs.c (llabs): Likewise.
21503         * stdlib/lldiv.c (lldiv): Likewise.
21504         * stdlib/lrand48_r.c (lrand48_r): Likewise.
21505         * stdlib/mrand48_r.c (mrand48_r): Likewise.
21506         * stdlib/putenv.c (putenv): Likewise.
21507         * stdlib/random.c (__srandom): Likewise.
21508         (__initstate): Likewise.
21509         (__setstate): Likewise.
21510         * stdlib/random_r.c (__srandom_r): Likewise.
21511         (__setstate_r): Likewise.
21512         (__random_r): Likewise.
21513         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
21514         * stdlib/setcontext.c (setcontext): Likewise.
21515         * stdlib/setenv.c (setenv): Likewise.
21516         (unsetenv): Likewise.
21517         * stdlib/srand48.c (srand48): Likewise.
21518         * stdlib/srand48_r.c (__srand48_r): Likewise.
21519         * stdlib/swapcontext.c (swapcontext): Likewise.
21520         * stdlib/system.c (__libc_system): Likewise.
21521         * stdlib/tst-strtod.c (expand): Likewise.
21522         * stdlib/tst-strtol.c (expand): Likewise.
21523         * stdlib/tst-strtoll.c (expand): Likewise.
21524         * streams/fattach.c (fattach): Likewise.
21525         * streams/fdetach.c (fdetach): Likewise.
21526         * streams/getmsg.c (getmsg): Likewise.
21527         * streams/isastream.c (isastream): Likewise.
21528         * string/ffs.c (__ffs): Likewise.
21529         * string/ffsll.c (ffsll): Likewise.
21530         * string/memcmp.c (memcmp_common_alignment): Likewise.
21531         (memcmp_not_common_alignment): Likewise.
21532         (MEMCMP): Likewise.
21533         * string/memcpy.c (memcpy): Likewise.
21534         * string/memmove.c (MEMMOVE): Likewise.
21535         * string/memset.c (memset): Likewise.
21536         * string/rawmemchr.c (RAWMEMCHR): Likewise.
21537         * string/strchrnul.c (STRCHRNUL): Likewise.
21538         * string/strerror.c (strerror): Likewise.
21539         * string/strndup.c (__strndup): Likewise.
21540         * string/strverscmp.c (__strverscmp): Likewise.
21541         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
21542         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
21543         (clnttcp_freeres): Likewise.
21544         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
21545         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
21546         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
21547         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
21548         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
21549         (xdr_callhdr): Likewise.
21550         * sunrpc/rpcinfo.c (udpping): Likewise.
21551         (tcpping): Likewise.
21552         (pstatus): Likewise.
21553         (pmapdump): Likewise.
21554         (brdcst): Likewise.
21555         (deletereg): Likewise.
21556         (getprognum): Likewise.
21557         (getvers): Likewise.
21558         (get_inet_address): Likewise.
21559         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
21560         * sunrpc/svc_udp.c (svcudp_create): Likewise.
21561         (svcudp_stat): Likewise.
21562         (svcudp_recv): Likewise.
21563         (svcudp_reply): Likewise.
21564         (svcudp_getargs): Likewise.
21565         (svcudp_freeargs): Likewise.
21566         (svcudp_destroy): Likewise.
21567         * sunrpc/xdr.c (xdr_bytes): Likewise.
21568         (xdr_netobj): Likewise.
21569         (xdr_string): Likewise.
21570         (xdr_wrapstring): Likewise.
21571         * sunrpc/xdr_float.c (xdr_float): Likewise.
21572         (xdr_double): Likewise.
21573         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
21574         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
21575         * sysvipc/ftok.c (ftok): Likewise.
21576         * sysvipc/msgctl.c (msgctl): Likewise.
21577         * sysvipc/msgget.c (msgget): Likewise.
21578         * sysvipc/msgrcv.c (msgrcv): Likewise.
21579         * sysvipc/msgsnd.c (msgsnd): Likewise.
21580         * sysvipc/semget.c (semget): Likewise.
21581         * sysvipc/semop.c (semop): Likewise.
21582         * sysvipc/shmat.c (shmat): Likewise.
21583         * sysvipc/shmctl.c (shmctl): Likewise.
21584         * sysvipc/shmdt.c (shmdt): Likewise.
21585         * sysvipc/shmget.c (shmget): Likewise.
21586         * termios/cfmakeraw.c (cfmakeraw): Likewise.
21587         * termios/speed.c (cfgetospeed): Likewise.
21588         (cfgetispeed): Likewise.
21589         (cfsetospeed): Likewise.
21590         (cfsetispeed): Likewise.
21591         * termios/tcflow.c (tcflow): Likewise.
21592         * termios/tcflush.c (tcflush): Likewise.
21593         * termios/tcgetattr.c (__tcgetattr): Likewise.
21594         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
21595         * termios/tcgetsid.c (tcgetsid): Likewise.
21596         * termios/tcsendbrk.c (tcsendbreak): Likewise.
21597         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
21598         * time/adjtime.c (__adjtime): Likewise.
21599         * time/dysize.c (dysize): Likewise.
21600         * time/ftime.c (ftime): Likewise.
21601         * time/getitimer.c (__getitimer): Likewise.
21602         * time/gettimeofday.c (__gettimeofday): Likewise.
21603         * time/gmtime.c (__gmtime_r): Likewise.
21604         (gmtime): Likewise.
21605         * time/localtime.c (__localtime_r): Likewise.
21606         (localtime): Likewise.
21607         * time/offtime.c (__offtime): Likewise.
21608         * time/settimeofday.c (__settimeofday): Likewise.
21609         * time/stime.c (stime): Likewise.
21610         * time/strftime_l.c (tm_diff): Likewise.
21611         (iso_week_days): Likewise.
21612         * time/strptime.c (strptime): Likewise.
21613         * time/time.c (time): Likewise.
21614         * time/timespec_get.c (timespec_get): Likewise.
21615         * time/tzset.c (tzset_internal): Likewise.
21616         (compute_change): Likewise.
21617         (__tz_compute): Likewise.
21618         * wcsmbs/btowc.c (__btowc): Likewise.
21619         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
21620         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
21621         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
21622         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
21623         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
21624         * wcsmbs/wcscat.c (__wcscat): Likewise.
21625         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
21626         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
21627         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
21628         * wcsmbs/wcscspn.c (wcscspn): Likewise.
21629         * wcsmbs/wcsdup.c (wcsdup): Likewise.
21630         * wcsmbs/wcslen.c (__wcslen): Likewise.
21631         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
21632         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
21633         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
21634         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
21635         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
21636         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
21637         * wcsmbs/wcsspn.c (wcsspn): Likewise.
21638         * wcsmbs/wcsstr.c (wcsstr): Likewise.
21639         * wcsmbs/wcstok.c (wcstok): Likewise.
21640         * wcsmbs/wctob.c (wctob): Likewise.
21641         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
21642         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21643         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
21644         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
21645         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
21646         * wcsmbs/wmemset.c (__wmemset): Likewise.
21647         * wctype/wcfuncs.c (__towlower): Likewise.
21648         (__towupper): Likewise.
21650         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
21651         (lll_unlock_elision): Add adapt_count parameter.
21653 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21655         * sysdeps/nptl/configure.ac: Do not give errors based on the
21656         results of top-level configure tests.
21657         * sysdeps/nptl/configure: Regenerated.
21659         * configure.ac (libc_cv_Bgroup): Remove configure test.
21660         * configure: Regenerated.
21661         * config.make.in (have-Bgroup): Remove variable.
21663         * configure.ac (sizeof_long_double): Remove configure test.
21664         * configure: Regenerated.
21665         * config.make.in (sizeof-long-double): Remove variable.
21667         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
21668         * configure: Regenerated.
21669         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
21670         variable.
21671         (exceptions): Likewise.
21672         * sysdeps/arm/configure: Regenerated.
21673         * config.make.in (exceptions): Remove variable.
21674         * Makeconfig (uses-callbacks): Use -fexceptions instead of
21675         $(exceptions).
21676         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
21677         (CFLAGS-vdprintf_chk.c): Likewise.
21678         (CFLAGS-printf_chk.c): Likewise.
21679         (CFLAGS-fprintf_chk.c): Likewise.
21680         (CFLAGS-vprintf_chk.c): Likewise.
21681         (CFLAGS-vfprintf_chk.c): Likewise.
21682         (CFLAGS-gets_chk.c): Likewise.
21683         (CFLAGS-fgets_chk.c): Likewise.
21684         (CFLAGS-fgets_u_chk.c): Likewise.
21685         (CFLAGS-fread_chk.c): Likewise.
21686         (CFLAGS-fread_u_chk.c): Likewise.
21687         (CFLAGS-wprintf_chk.c): Likewise.
21688         (CFLAGS-fwprintf_chk.c): Likewise.
21689         (CFLAGS-vwprintf_chk.c): Likewise.
21690         (CFLAGS-vfwprintf_chk.c): Likewise.
21691         (CFLAGS-fgetws_chk.c): Likewise.
21692         (CFLAGS-fgetws_u_chk.c): Likewise.
21693         * libio/Makefile (CFLAGS-fileops.c): Likewise.
21694         (CFLAGS-fputc.c): Likewise.
21695         (CFLAGS-fputwc.c): Likewise.
21696         (CFLAGS-freopen64.c): Likewise.
21697         (CFLAGS-freopen.c): Likewise.
21698         (CFLAGS-fseek.c): Likewise.
21699         (CFLAGS-fseeko64.c): Likewise.
21700         (CFLAGS-fseeko.c): Likewise.
21701         (CFLAGS-ftello64.c): Likewise.
21702         (CFLAGS-ftello.c): Likewise.
21703         (CFLAGS-fwide.c): Likewise.
21704         (CFLAGS-genops.c): Likewise.
21705         (CFLAGS-getc.c): Likewise.
21706         (CFLAGS-getchar.c): Likewise.
21707         (CFLAGS-getwc.c): Likewise.
21708         (CFLAGS-getwchar.c): Likewise.
21709         (CFLAGS-iofclose.c): Likewise.
21710         (CFLAGS-iofflush.c): Likewise.
21711         (CFLAGS-iofgetpos64.c): Likewise.
21712         (CFLAGS-iofgetpos.c): Likewise.
21713         (CFLAGS-iofgets.c): Likewise.
21714         (CFLAGS-iofgetws.c): Likewise.
21715         (CFLAGS-iofputs.c): Likewise.
21716         (CFLAGS-iofputws.c): Likewise.
21717         (CFLAGS-iofread.c): Likewise.
21718         (CFLAGS-iofsetpos64.c): Likewise.
21719         (CFLAGS-iofsetpos.c): Likewise.
21720         (CFLAGS-ioftell.c): Likewise.
21721         (CFLAGS-iofwrite.c): Likewise.
21722         (CFLAGS-iogetdelim.c): Likewise.
21723         (CFLAGS-iogetline.c): Likewise.
21724         (CFLAGS-iogets.c): Likewise.
21725         (CFLAGS-iogetwline.c): Likewise.
21726         (CFLAGS-ioputs.c): Likewise.
21727         (CFLAGS-ioseekoff.c): Likewise.
21728         (CFLAGS-ioseekpos.c): Likewise.
21729         (CFLAGS-iosetbuffer.c): Likewise.
21730         (CFLAGS-iosetvbuf.c): Likewise.
21731         (CFLAGS-ioungetc.c): Likewise.
21732         (CFLAGS-ioungetwc.c): Likewise.
21733         (CFLAGS-oldfileops.c): Likewise.
21734         (CFLAGS-oldiofclose.c): Likewise.
21735         (CFLAGS-oldiofgetpos64.c): Likewise.
21736         (CFLAGS-oldiofgetpos.c): Likewise.
21737         (CFLAGS-oldiofsetpos64.c): Likewise.
21738         (CFLAGS-oldiofsetpos.c): Likewise.
21739         (CFLAGS-peekc.c): Likewise.
21740         (CFLAGS-putc.c): Likewise.
21741         (CFLAGS-putchar.c): Likewise.
21742         (CFLAGS-putwc.c): Likewise.
21743         (CFLAGS-putwchar.c): Likewise.
21744         (CFLAGS-rewind.c): Likewise.
21745         (CFLAGS-wfileops.c): Likewise.
21746         (CFLAGS-wgenops.c): Likewise.
21747         (CFLAGS-oldiofopen.c): Likewise.
21748         (CFLAGS-iofopen.c): Likewise.
21749         (CFLAGS-iofopen64.c): Likewise.
21750         (CFLAGS-oldtmpfile.c): Likewise.
21751         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21752         (CFLAGS-fprintf.c): Likewise.
21753         (CFLAGS-printf.c): Likewise.
21754         (CFLAGS-vfwprintf.c): Likewise.
21755         (CFLAGS-vfscanf.c): Likewise.
21756         (CFLAGS-vfwscanf.c): Likewise.
21757         (CFLAGS-fscanf.c): Likewise.
21758         (CFLAGS-scanf.c): Likewise.
21759         (CFLAGS-isoc99_vfscanf.c): Likewise.
21760         (CFLAGS-isoc99_vscanf.c): Likewise.
21761         (CFLAGS-isoc99_fscanf.c): Likewise.
21762         (CFLAGS-isoc99_scanf.c): Likewise.
21763         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
21764         (CFLAGS-isoc99_fwscanf.c): Likewise.
21765         (CFLAGS-isoc99_vwscanf.c): Likewise.
21766         (CFLAGS-isoc99_vfwscanf.c): Likewise.
21768         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
21769         after mkstemp64.
21770         * login/tst-utmp.c (do_prepare): Likewise.
21771         * rt/tst-aio.c (do_prepare): Likewise.
21772         * rt/tst-aio64.c (do_prepare): Likewise.
21774 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21776         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21777         (__lll_lock_elision): Remove adapt_count decrement...
21778         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
21779         (__lll_trylock_elision): Likewise.
21780         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
21781         (__lll_unlock_elision): ... to here. And utilize
21782         new adapt_count parameter.
21783         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21784         (__lll_unlock_elision): Update to include adapt_count
21785         parameter.
21786         (lll_unlock_elision): Pass pointer to adapt_count
21787         variable.
21789 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21791         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
21792         Add elision adapt_count parameter to list of arguments.
21793         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
21794         (lll_unlock_elision): Update with new parameter list
21795         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
21796         (lll_unlock_elision): Likewise.
21797         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
21798         (lll_unlock_elision): Likewise.
21800 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21802         [BZ #19122]
21803         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
21804         attribute_hidden.
21806         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
21807         attribute_hidden.
21808         [IS_IN (rtld)] (__strdup): Likewise.
21809         [IS_IN (rtld)] (__strerror_r): Likewise.
21810         [IS_IN (rtld)] (__strsep_g): Likewise.
21811         [IS_IN (rtld)] (memchr): Likewise.
21812         [IS_IN (rtld)] (memcmp): Likewise.
21813         [IS_IN (rtld)] (memcpy): Likewise.
21814         [IS_IN (rtld)] (memmove): Likewise.
21815         [IS_IN (rtld)] (memset): Likewise.
21816         [IS_IN (rtld)] (rawmemchr): Likewise.
21817         [IS_IN (rtld)] (stpcpy): Likewise.
21818         [IS_IN (rtld)] (strchr): Likewise.
21819         [IS_IN (rtld)] (strcmp): Likewise.
21820         [IS_IN (rtld)] (strlen): Likewise.
21821         [IS_IN (rtld)] (strnlen): Likewise.
21822         [IS_IN (rtld)] (strsep): Likewise.
21824         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
21825         attribute_hidden.
21826         [IS_IN (rtld)] (__strtoul_internal): Likewise.
21828         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
21829         attribute_hidden.
21830         [IS_IN (rtld)] (__libc_sigaction): Likewise.
21832         * include/setjmp.h (__longjmp): Add attribute_hidden.
21833         [IS_IN (rtld)] (__sigsetjmp): Likewise.
21835         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
21836         Add attribute_hidden.
21838         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
21839         [IS_IN (rtld)] (__open): Likewise.
21840         [IS_IN (rtld)] (__fcntl): Likewise.
21842         * include/dirent.h (__opendirat): Add attribute_hidden.
21843         (__getdents): Likewise.
21844         (__getdents64): Likewise.
21845         (__alloc_dir): Likewise.
21846         [IS_IN (rtld)] (__closedir): Likewise.
21847         [IS_IN (rtld)] (__fdopendir): Likewise.
21848         [IS_IN (rtld)] (__readdir): Likewise.
21849         [IS_IN (rtld)] (__readdir64): Likewise.
21850         [IS_IN (rtld)] (__rewinddir): Likewise.
21852         * include/dlfcn.h (_dl_catch_error): Moved to ...
21853         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
21854         attribute_hidden.
21856         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
21857         (_itoa_word): Likewise.
21859         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
21860         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
21861         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
21862         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
21863         (_dl_higher_prime_number): Likewise.
21864         (_dl_debug_printf_c): Likewise.
21865         (_dl_signal_cerror): Likewise.
21866         (_dl_receive_error): Likewise.
21867         (_dl_reloc_bad_type): Likewise.
21868         (_dl_resolve_conflicts): Likewise.
21869         (_dl_check_all_versions): Likewise.
21870         (_dl_check_map_versions): Likewise.
21871         (_dl_sort_fini): Likewise.
21872         (_dl_debug_initialize): Likewise.
21873         (_dl_init_paths): Likewise.
21874         (_dl_show_auxv): Likewise.
21875         (_dl_next_ld_env_entry): Likewise.
21876         (_dl_important_hwcaps): Likewise.
21877         (_dl_load_cache_lookup): Likewise.
21878         (_dl_update_slotinfo): Likewise.
21879         (_dl_show_scope): Likewise.
21881         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
21882         attribute_hidden.
21883         (_wordcopy_fwd_dest_aligned): Likewise.
21884         (_wordcopy_bwd_aligned): Likewise.
21885         (_wordcopy_bwd_dest_aligned): Likewise.
21887         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
21888         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21889         Likewise.
21890         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
21891         Likewise.
21892         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
21894 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21896         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
21897         GCC 5 requirement.
21899 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
21901         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
21902         test.
21903         * sysdeps/i386/configure: Regenerated.
21904         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
21905         code unconditional.
21907         * configure.ac (libc_cv_asm_previous_directive): Remove configure
21908         test.
21909         (libc_cv_asm_popsection_directive): Likewise.
21910         * configure: Regenerated.
21911         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
21912         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
21913         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
21914         (__make_section_unallocated): Make definition unconditional.
21915         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
21916         Remove conditional definition.
21917         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
21918         (__make_section_unallocated): Likewise.
21920         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
21921         * configure: Regenerated.
21922         * config.make.in (static-libgcc): Remove variable.
21923         * Makerules (build-shlib-helper): Use -static-libgcc instead of
21924         $(static-libgcc).
21925         (build-module-helper): Likewise.
21927         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
21928         * configure: Regenerated.
21930 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21932         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
21933         (struct char_buffer): New type.
21934         (char_buffer_start, char_buffer_size, char_buffer_error)
21935         (char_buffer_rewind, char_buffer_add): New functions.
21936         (ADDW): Remove macro, replaced by the char_buffer_add function.
21937         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
21938         of extend_alloca.  Make control flow more explicit.
21940 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21942         [BZ #19137]
21943         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21944         Add -fomit-frame-pointer.
21945         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
21947 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21949         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
21950         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
21951         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
21952         only if !__GNUC_PREREQ (5,0).
21953         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
21954         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
21955         (INTERNAL_SYSCALL_NCS): Likewise.
21956         (LOADREGS_0): New macro for GCC 5.
21957         (ASMARGS_0): Likewise.
21958         (LOADREGS_1): Likewise.
21959         (ASMARGS_1): Likewise.
21960         (LOADREGS_2): Likewise.
21961         (ASMARGS_2): Likewise.
21962         (LOADREGS_3): Likewise.
21963         (ASMARGS_3): Likewise.
21964         (LOADREGS_4): Likewise.
21965         (ASMARGS_4): Likewise.
21966         (LOADREGS_5): Likewise.
21967         (ASMARGS_5): Likewise.
21968         (LOADREGS_6): Likewise.
21969         (ASMARGS_6): Likewise.
21971 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
21973         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
21974         -fomit-frame-pointer.
21975         (CFLAGS-mmap64.c): Likewise.
21976         (CFLAGS-semtimedop.c): Likewise.
21977         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
21978         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
21979         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
21980         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
21982 2015-10-15  Florian Weimer  <fweimer@redhat.com>
21984         [BZ #18928]
21985         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
21986         _dl_pointer_guard member.
21987         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
21988         initializer.
21989         (security_init): Always set up pointer guard.
21990         (process_envvars): Do not process LD_POINTER_GUARD.
21992 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
21994         [BZ #19134]
21995         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
21996         (.LC2): Likewise.
21997         (.LC3): Likewise.
21998         (__lround): Do not add 0.5 to integer or out-of-range arguments.
22000 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22002         [BZ #19129]
22003         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
22004         r0 and r1.
22006 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
22008         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
22010 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
22012         * include/stap-probe.h: Fix macro definition formatting.
22014 2015-10-14  Florian Weimer  <fweimer@redhat.com>
22016         [BZ #19074]
22017         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
22018         load and store num_ifs.
22020 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22022         [BZ #18822]
22023         * sysdeps/unix/sysv/linux/sched_getaffinity.c
22024         (__sched_getaffinity_new): Add libc_hidden_proto and
22025         libc_hidden_def.
22027 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22029         [BZ #19007]
22030         * scripts/localplt.awk: Also allow GOT references.
22031         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
22032         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
22033         with "+ REL R_386_GLOB_DAT".
22034         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
22035         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
22037 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
22039         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
22040         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22041         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
22042         Likewise.
22043         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22044         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
22045         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
22046         INTERNAL_SYSCALLINTERNAL_SYSCALL and
22047         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22048         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
22049         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22050         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
22051         Likewise.
22052         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22054 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22056         [BZ #19125]
22057         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
22058         <math_private.h> and <stdint.h>.
22059         (__llround): Avoid conversions to and from long long int, and
22060         subtractions, where those might raise spurious exceptions.
22061         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22062         <math_private.h> and <stdint.h>.
22063         (__llroundf): Avoid conversions to and from long long int, and
22064         subtractions, where those might raise spurious exceptions.
22066 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22068         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
22069         INLINE_SYSCALL_ERROR_RETURN_VALUE.
22070         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22071         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
22072         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22073         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22074         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
22075         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
22076         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
22077         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22078         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22079         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22080         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
22081         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22082         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22083         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
22084         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
22085         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22086         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
22087         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
22088         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22089         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
22090         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
22091         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22092         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
22093         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
22094         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
22095         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22096         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22097         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
22098         (__xstat64_conv): Likewise.
22099         (__xstat32_conv): Likewise.
22101 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22103         * sysdeps/unix/sysv/linux/sysdep.h: New file.
22104         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
22105         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
22106         <sysdeps/unix/sysv/linux/sysdep.h>.
22107         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22108         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
22109         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
22110         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22111         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22112         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
22113         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
22114         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22115         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22118         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22119         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22120         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22121         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22122         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22123         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
22124         (sysdep-dl-routines): Add sysdep.
22125         [$(subdir) == nptl] (libpthread-routines): Likewise.
22126         [$(subdir) == rt] (librt-routines): Likewise.
22127         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
22128         PIC when branching to SYSCALL_ERROR_LABEL.
22129         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
22130         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
22131         <sysdeps/unix/sysv/linux/sysdep.h>.
22132         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
22133         (SYSCALL_ERROR_ERRNO): Removed.
22134         (SYSCALL_ERROR_HANDLER): Changed to empty.
22135         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
22136         (__syscall_error): New prototype.
22137         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
22138         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
22140 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
22142         [BZ #19124]
22143         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
22144         (_dl_runtime_resolve_avx512): Make it a hidden alias of
22145         _dl_runtime_resolve_avx.
22146         (_dl_runtime_profile_avx512): Make it a hidden alias of
22147         _dl_runtime_profile_avx.
22149 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
22151         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
22152         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
22153         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
22154         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
22156         [BZ #16422]
22157         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
22158         New configure test.
22159         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
22160         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
22161         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
22162         <math_private.h> and <stdint.h>.
22163         (__llrint): Avoid conversions to long long int where those might
22164         raise spurious exceptions.
22165         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22166         <math_private.h> and <stdint.h>.
22167         (__llrintf): Avoid conversions to long long int where those might
22168         raise spurious exceptions.
22170 2015-10-12  Andreas Schwab  <schwab@suse.de>
22172         [BZ #18969]
22173         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
22174         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
22175         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
22176         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
22177         $(gen-locales).
22178         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
22179         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
22180         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
22181         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
22182         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
22183         $(gen-locales).
22184         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
22185         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
22186         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
22187         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
22188         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
22189         ($(objpfx)tst-ftell-active-handler.out)
22190         ($(objpfx)tst-ftell-append.out)
22191         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
22192         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
22193         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
22194         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
22195         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
22196         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
22197         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
22198         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
22199         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
22200         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
22201         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
22202         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
22203         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
22204         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
22205         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
22206         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
22207         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
22208         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
22209         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
22210         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
22211         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
22212         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
22213         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
22214         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
22215         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
22216         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
22217         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
22218         $(gen-locales).
22219         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
22220         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
22221         $(gen-locales).
22222         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
22223         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
22224         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
22225         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
22226         $(gen-locales).
22227         * libio/tst_wprintf2.c (main): Use explicit locale.
22228         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
22230 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22232         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
22233         __msg_sig_post.
22234         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
22236 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22238         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
22239         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
22241         * sysdeps/arm/libm-test-ulps: Regenerated.
22243         [BZ #15470]
22244         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
22246         [BZ #16399]
22247         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
22248         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
22249         and <fix-fp-int-convert-overflow.h>.
22250         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22251         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22252         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
22253         and <fix-fp-int-convert-overflow.h>.
22254         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
22255         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22256         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
22257         <fix-fp-int-convert-overflow.h>.
22258         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
22259         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22260         * sysdeps/ieee754/dbl-64/s_lround.c: Include
22261         <fix-fp-int-convert-overflow.h>.
22262         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
22263         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22264         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
22265         and <fix-fp-int-convert-overflow.h>.
22266         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22267         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22268         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
22269         <limits.h> and <fix-fp-int-convert-overflow.h>.
22270         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22271         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22272         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
22273         and <fix-fp-int-convert-overflow.h>.
22274         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
22275         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22276         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
22277         and <fix-fp-int-convert-overflow.h>.
22278         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
22279         FIX_DBL_LLONG_CONVERT_OVERFLOW.
22280         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
22282 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
22284         [BZ #18589]
22285         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
22286         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
22287         $(gen-locales).
22289 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22290             Phil Blundell <pb@pbcl.net>
22292         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
22293         * nptl/tst-cancel26.c: New file.
22294         * nptl/tst-cancel27.c: Likewise.
22296 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
22298         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
22299         __ILP32__ isn't defined.
22300         (lrint): Likewise.
22301         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
22302         (lrintf): Likewise.
22303         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
22304         (lrintl): Likewise.
22305         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
22306         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
22307         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
22309 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22311         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22312         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22314         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
22315         file.
22316         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
22317         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22319 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
22321         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
22322         configure test.
22323         * sysdeps/i386/configure: Regenerated.
22324         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
22325         configure test.
22326         * sysdeps/x86_64/configure: Regenerated.
22327         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
22328         Make code unconditional.
22330         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
22331         test.
22332         * sysdeps/i386/configure: Regenerated.
22333         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
22334         test.
22335         * sysdeps/x86_64/configure: Regenerated.
22336         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
22337         Make code unconditional.
22338         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22339         Likewise.
22340         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
22341         Likewise.
22342         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22343         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
22344         code unconditional.
22345         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22346         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
22347         code unconditional.
22348         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22349         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
22350         code unconditional.
22351         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
22352         code unconditional.
22353         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22354         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
22355         code unconditional.
22356         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22357         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
22358         code unconditional.
22359         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22360         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
22361         code unconditional.
22362         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22363         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
22364         code unconditional.
22365         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
22366         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
22368         [BZ #19095]
22369         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
22370         mantissa to long int before shifting left.
22372 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22374         [BZ #19094]
22375         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
22376         <limits.h>.
22377         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22378         when result overflows but exception would not result from cast.
22379         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
22380         <limits.h>.
22381         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22382         when result overflows but exception would not result from cast.
22383         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
22384         <limits.h>.
22385         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22386         when result overflows but exception would not result from cast.
22387         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
22388         <limits.h>.
22389         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22390         when result overflows but exception would not result from cast.
22391         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
22392         <limits.h>.
22393         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
22394         when result overflows but exception would not result from cast.
22395         * math/libm-test.inc (lrint_test_data): Add more tests.
22396         (llrint_test_data): Likewise.
22398 2015-10-08  Roland McGrath  <roland@hack.frob.com>
22400         [BZ #18872]
22401         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
22402         Move out from under [$(run-built-tests) = yes] conditional.
22403         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
22404         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
22406 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
22408         [BZ #18589]
22409         * string/Makefile (tests): Add bug-strcoll2.
22410         (LOCALES): Add cs_CZ.UTF-8.
22411         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
22413         [BZ #18589]
22414         * string/bug-strcoll2.c: New file.
22415         * locale/categories.def: Revert commit
22416         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
22417         * locale/langinfo.h: Likewise.
22418         * locale/localeinfo.h: Likewise.
22419         * locale/C-collate.c: Likewise.
22420         * locale/programs/ld-collate.c (collate_output): Likewise.
22421         * string/strcoll_l.c (STRDIFF): Likewise.
22422         (STRCOLL): Likewise.
22423         * wcsmbs/wcscoll_l.c: Likewise.
22425 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
22427         * math/libm-test.inc (lround_test_data): Do not expect the absence
22428         of "inexact" for some tests with non-integer arguments.
22429         (llround_test_data): Likewise.
22431         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
22432         test.
22433         (libc_cv_cc_sse2avx): Likewise.
22434         * sysdeps/i386/configure: Regenerated.
22435         * sysdeps/i386/i686/multiarch/Makefile
22436         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
22437         [$(subdir) = math].
22438         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
22439         code unconditional.
22440         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22441         Likewise.
22442         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
22443         Likewise.
22444         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22445         Likewise.
22446         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
22447         test.
22448         (libc_cv_cc_sse2avx): Likewise.
22449         * sysdeps/x86_64/configure: Regenerated.
22450         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
22451         unconditional.
22452         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
22453         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
22454         unconditional.
22455         (_dl_runtime_profile)
22456         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
22457         conditional code.
22458         * sysdeps/x86_64/fpu/multiarch/Makefile
22459         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
22460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22461         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22462         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22463         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22464         * sysdeps/x86_64/fpu/multiarch/e_log.c
22465         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22466         * sysdeps/x86_64/fpu/multiarch/s_atan.c
22467         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22468         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
22469         Likewise.
22470         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
22471         Likewise.
22472         * sysdeps/x86_64/fpu/multiarch/s_sin.c
22473         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22474         * sysdeps/x86_64/fpu/multiarch/s_tan.c
22475         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22476         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
22477         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
22478         (HAVE_SSE2AVX_SUPPORT): Likewise.
22480 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
22482         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
22483         instead of #pragma optimize.
22485 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22487         [BZ #17195]
22488         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
22489         as is similarly done in systrim and _int_free already.
22491 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22493         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
22495 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22497         [BZ #19088]
22498         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
22499         <limits.h>.
22500         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22501         overflows but exception would not result from cast.
22502         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
22503         and <limits.h>.
22504         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
22505         overflows but exception would not result from cast.
22506         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
22507         <limits.h>.
22508         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22509         overflows but exception would not result from cast.
22510         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
22511         <limits.h>.
22512         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22513         overflows but exception would not result from cast.
22514         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
22515         <limits.h>.
22516         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
22517         overflows but exception would not result from cast.
22518         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
22519         <limits.h>.
22520         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
22521         overflows but exception would not result from cast.
22522         * math/libm-test.inc (lround_test_data): Add more tests.
22523         (llround_test_data): Likewise.
22525 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
22527         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
22528         (CFLAGS-ialloc.c): Ditto.
22529         (CFLAGS-scheck.c): Ditto.
22531 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
22533         [BZ #19086]
22534         * manual/filesys.texi (Storage Allocation): Fix argument order for
22535         posix_fallocate64.
22537 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22539         [BZ #19085]
22540         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
22541         exponent below 48 inside case for non-overflowing exponent.
22542         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
22544 2015-10-07  Florian Weimer  <fweimer@redhat.com>
22546         * iconvdata/cp737.h (from_idx): Add const.
22547         * iconvdata/cp775.h (from_idx): Likewise.
22549 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
22551         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
22552         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
22553         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
22555         [BZ #19079]
22556         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
22557         file, conditioned on [!_LP64].
22558         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
22559         [!_LP64] (__lround): Do not define as function or alias.
22560         [!_LP64] (lround): Likewise.
22561         [!_LP64] (__lroundl): Likewise.
22562         [!_LP64] (lroundl): Likewise.
22563         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
22564         macro.
22565         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
22566         Likewise.
22568 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22570         * math/libm-test.inc (lrint_test_data): Add more tests.
22571         (llrint_test_data): Likewise.
22572         (lround_test_data): Likewise.
22573         (llround_test_data): Likewise.
22575         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
22576         (llrint_test_data): Add tests used for lrint.
22578         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
22579         test.
22580         * sysdeps/i386/configure: Regenerated.
22581         * sysdeps/i386/i686/multiarch/Makefile
22582         [$(config-cflags-sse4) = yes]: Make code unconditional.
22583         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22584         Likewise.
22585         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
22586         Likewise.
22587         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
22588         test.
22589         * sysdeps/x86_64/configure: Regenerated.
22590         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
22591         Make code unconditional.
22592         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
22593         Likewise.
22594         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
22595         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
22597         * scripts/rpm2dynsym.sh: Remove file.
22599 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22601         * configure.ac (libc_cv_cxx_thread_local): Define.
22602         * configure: Regenerate.
22603         * config.make.in (have-cxx-thread_local): Define.
22604         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
22605         (LDLIBS-tst-thread_local1): Define.
22606         (tests): Add tst-thread_local1.
22607         [have-cxx-thread_local != yes] (tests-unsupported): Add
22608         tst-thread_local1.
22609         * nptl/tst-thread_local1.cc: New file.
22611 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
22613         [BZ #19078]
22614         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
22615         (u_thres): Likewise.
22616         (__expl): Determine whether to call __kernel_standard_l based on
22617         value of result, not argument.
22619         * math/libm-test.inc (scalb_test_data): Add more expectations for
22620         the "inexact" exception.
22622         [BZ #19077]
22623         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
22624         0.0L for argument 1.0L.
22626         [BZ #19076]
22627         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
22628         constant 0.0L when computing infinite result.
22630 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22632         [BZ #10432]
22633         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
22634         malloc_usable_size.
22636 2015-10-06  Florian Weimer  <fweimer@redhat.com>
22638         [BZ #19018]
22639         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22640         Mangle function pointer before storing it.
22641         (__call_tls_dtors): Demangle function pointer before calling it.
22643 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22645         [BZ #19012]
22646         * iconv/gconv_db.c (gen_steps): Check for additional errors.
22647         Clean up on failure.
22649 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
22651         [BZ #19071]
22652         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
22653         long int variable to store possibly incremented high part of
22654         mantissa.
22655         * math/libm-test.inc (lround_test_data): Add tests used for
22656         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
22657         for tests requiring 64-bit long.  Do not condition tests on
22658         [TEST_FLOAT] unnecessarily.
22659         (llround_test_data): Add tests used for lround.  Add another
22660         expectation for the "inexact" exception.  Do not condition tests
22661         on [TEST_FLOAT] unnecessarily.
22663         [BZ #887]
22664         [BZ #19049]
22665         [BZ #19050]
22666         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
22667         * sysdeps/ieee754/dbl-64/e_log10.c: Include
22668         <fix-int-fp-convert-zero.h>.
22669         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22670         * sysdeps/ieee754/dbl-64/e_log2.c: Include
22671         <fix-int-fp-convert-zero.h>.
22672         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22673         * sysdeps/ieee754/dbl-64/s_erf.c: Include
22674         <fix-int-fp-convert-zero.h>.
22675         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22676         * sysdeps/ieee754/dbl-64/s_logb.c: Include
22677         <fix-int-fp-convert-zero.h>.
22678         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22679         * sysdeps/ieee754/flt-32/e_log10f.c: Include
22680         <fix-int-fp-convert-zero.h>.
22681         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22682         * sysdeps/ieee754/flt-32/e_log2f.c: Include
22683         <fix-int-fp-convert-zero.h>.
22684         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22685         * sysdeps/ieee754/flt-32/s_erff.c: Include
22686         <fix-int-fp-convert-zero.h>.
22687         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22688         * sysdeps/ieee754/flt-32/s_logbf.c: Include
22689         <fix-int-fp-convert-zero.h>.
22690         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22691         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
22692         <fix-int-fp-convert-zero.h>.
22693         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22694         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
22695         <fix-int-fp-convert-zero.h>.
22696         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
22697         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
22698         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
22699         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
22700         file.
22701         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
22703 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
22705         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22707 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
22709         [BZ #19059]
22710         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
22711         overflowing computation.
22712         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22713         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
22714         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22715         Likewise.
22716         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22717         Likewise.
22718         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
22719         Likewise.
22720         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22721         Likewise.
22722         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22723         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22724         Likewise.
22725         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22726         Likewise.
22727         * math/libm-test.inc (nexttoward_test_data): Add more tests.
22729         * nss/rewrite_field.c (__nss_rewrite_field): Use
22730         internal_function.
22731         * nss/valid_field.c (__nss_valid_field): Likewise.
22732         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
22734 2015-10-02  Florian Weimer  <fweimer@redhat.com>
22736         [BZ #18724]
22737         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
22738         (__nss_invalid_field_characters, __nss_valid_field)
22739         (__nss_valid_list_field, __nss_rewrite_field): Declare.
22740         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
22741         tst-field.c: New file.
22742         * nss/Makefile (routines): Add valid_field, rewrite_field.
22743         (tests-static): Define unconditionally.
22744         (tests): Include tests-static.
22745         [build-static-nss] (tests-static): Use append.
22746         [build-static-nss] (tests): Remove modification.
22747         * nss/getent.c (print_group): Call putgrent.  Report error.
22748         (print_gshadow): Call putsgent.  Report error.
22749         (print_passwd): Call putpwent.  Report error.
22750         (print_shadow): Call putspent.  Report error.
22751         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
22752         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
22753         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
22754         name, password, directory, shell fields for valid syntax.  Rewrite
22755         GECOS field to match syntax.
22756         * pwd/Makefile (tests): Add tst-putpwent.
22757         * pwd/tst-putpwent.c: New file.
22758         * grp/putgrent.c (putgrent): Convert to ISO function definition.
22759         Check grName, grpasswd, gr_mem fields for valid syntax.
22760         Change loop variable i to size_t.
22761         * grp/Makefile (tests): Add tst-putgrent.
22762         * grp/tst-putgrent.c: New file.
22763         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
22764         valid syntax.
22765         * shadow/Makefile (tests): Add tst-putspent.
22766         * shadow/tst-putspent.c: New file.
22767         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
22768         sg_mem fields for valid syntax.
22769         * gshadow/Makefile (tests): Add tst-putsgent.
22770         * gshadow/tst-putsgent.c: New file.
22772 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22774         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
22775         assembly instructions.
22777 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22779         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
22780         prefix from operands.
22782 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
22784         [BZ #16347]
22785         [BZ #19046]
22786         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
22787         <libc-internal.h>.
22788         (MAXLGM): Do not use diagnostic control macros.
22789         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
22790         threshold for ldbl-128ibm.
22791         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
22792         instead of multiplying by log then subtracting.
22793         * math/auto-libm-test-in: Add more tests of lgamma.
22794         * math/auto-libm-test-out: Regenerated.
22796         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
22797         (TYPE_HEX_DIG): Likewise.
22798         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
22799         precisions when printing floating-point numbers.
22800         (check_float_internal): Likewise.
22802 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22804         [BZ #16620]
22805         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
22806         of log (10) rounded downward to 48 bits.
22807         (log10_low): Use corresponding low part of log (10).
22809         [BZ #19032]
22810         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
22811         compute result as (x - x) / (x - x) not as 0 / 0.
22812         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
22813         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
22815         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22816         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
22817         and expm1.
22818         * math/auto-libm-test-out: Regenerated.
22819         * math/libm-test.inc (acos_test_data): Add more tests.
22820         (asin_test_data): Likewise.
22821         (asinh_test_data): Likewise.
22822         (atan_test_data): Likewise.
22823         (atanh_test_data): Likewise.
22824         (atan2_test_data): Likewise.
22825         (cbrt_test_data): Likewise.
22826         (ceil_test_data): Likewise.
22827         (copysign_test_data): Likewise.
22828         (cos_test_data): Likewise.
22829         (cosh_test_data): Likewise.
22830         (erf_test_data): Likewise.
22831         (erfc_test_data): Likewise.
22832         (exp_test_data): Likewise.
22833         (exp10_test_data): Likewise.
22834         (exp2_test_data): Likewise.
22835         (expm1_test_data): Likewise.
22836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22838 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
22840         [BZ #19006]
22841         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
22842         to ...
22843         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
22844         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
22845         to ...
22846         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
22847         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
22848         to ...
22849         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
22850         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
22851         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
22852         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
22853         to ...
22854         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
22855         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22856         Moved to ...
22857         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
22858         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22859         Moved to ...
22860         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
22861         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
22862         to ...
22863         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
22864         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22865         Moved to ...
22866         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
22867         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
22868         to ...
22869         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
22870         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
22871         Removed.
22872         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
22873         Likewise.
22874         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
22875         Likewise.
22876         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
22877         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
22878         Likewise.
22879         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22880         Likewise.
22881         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22882         Likewise.
22883         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22884         Likewise.
22885         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22886         Likewise.
22887         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
22888         Likewise.
22889         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
22890         Likewise.
22891         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
22892         Likewise.
22893         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
22894         Likewise.
22895         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
22896         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
22897         Likewise.
22898         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22899         Likewise.
22900         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22901         Likewise.
22902         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22903         Likewise.
22904         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
22905         Likewise.
22906         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22907         Replace ../i486/pthread_cond_timedwait.S with
22908         ../pthread_cond_timedwait.S.
22910 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
22912         * math/libm-test.inc (acos_test_data): Refine expectations for
22913         errno and "inexact" exceptions.
22914         (acosh_test_data): Likewise.
22915         (asin_test_data): Likewise.
22916         (asinh_test_data): Likewise.
22917         (atan_test_data): Likewise.
22918         (atanh_test_data): Likewise.
22919         (atan2_test_data): Likewise.
22920         (cbrt_test_data): Likewise.
22921         (ceil_test_data): Likewise.
22922         (copysign_test_data): Likewise.
22923         (cosh_test_data): Likewise.
22924         (erf_test_data): Likewise.
22925         (erfc_test_data): Likewise.
22926         (exp_test_data): Likewise.
22927         (exp10_test_data): Likewise.
22928         (exp2_test_data): Likewise.
22929         (expm1_test_data): Likewise.
22930         (fabs_test_data): Likewise.
22931         (floor_test_data): Likewise.
22932         (fma_test_data): Likewise.
22933         (fmax_test_data): Likewise.
22934         (fmin_test_data): Likewise.
22935         (fmod_test_data): Likewise.
22936         (fpclassify_test_data): Likewise.
22937         (frexp_test_data): Likewise.
22938         (hypot_test_data): Likewise.
22939         (ilogb_test_data): Likewise.
22940         (isgreater_test_data): Likewise.
22941         (isgreaterequal_test_data): Likewise.
22942         (isinf_test_data): Likewise.
22943         (isless_test_data): Likewise.
22944         (islessequal_test_data): Likewise.
22945         (islessgreater_test_data): Likewise.
22946         (isnan_test_data): Likewise.
22947         (isnormal_test_data): Likewise.
22948         (issignaling_test_data): Likewise.
22949         (isunordered_test_data): Likewise.
22950         (j0_test_data): Likewise.
22951         (j1_test_data): Likewise.
22952         (jn_test_data): Likewise.
22953         (lgamma_test_data): Likewise.
22954         (lrint_test_data): Likewise.
22955         (llrint_test_data): Likewise.
22956         (log_test_data): Likewise.
22957         (log10_test_data): Likewise.
22958         (log1p_test_data): Likewise.
22959         (log2_test_data): Likewise.
22960         (logb_test_data): Likewise.
22961         (lround_test_data): Likewise.
22962         (llround_test_data): Likewise.
22963         (modf_test_data): Likewise.
22964         (nearbyint_test_data): Likewise.
22965         (nextafter_test_data): Likewise.
22966         (nexttoward_test_data): Likewise.
22967         (pow_test_data): Likewise.
22968         (remainder_test_data): Likewise.
22969         (remquo_test_data): Likewise.
22970         (rint_test_data): Likewise.
22971         (round_test_data): Likewise.
22972         (signbit_test_data): Likewise.
22973         (sinh_test_data): Likewise.
22974         (sqrt_test_data): Likewise.
22975         (tanh_test_data): Likewise.
22976         (tgamma_test_data): Likewise.
22977         (trunc_test_data): Likewise.
22978         (y0_test_data): Likewise.
22979         (y1_test_data): Likewise.
22980         (yn_test_data): Likewise.
22981         (significand_test_data): Likewise.
22983 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
22985         * manual/filesys.texi (Storage Allocation): Document that
22986         posix_fallocate emulation fails when fd is open with O_WRONLY.
22988 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
22990         [BZ #19016]
22991         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
22992         allow more cases with X^2 + Y^2 >= 0.5.
22993         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
22994         normal element in sum instead of special-casing based on values of
22995         arguments.
22996         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
22997         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
22998         -1 as normal element in sum instead of special-casing based on
22999         values of arguments.
23000         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
23001         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
23002         (__x2y2m1): Update comment.
23003         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
23004         as normal element in sum instead of special-casing based on values
23005         of arguments.
23006         * math/s_clog.c (__clog): Handle more cases using log1p without
23007         hypot.
23008         * math/s_clog10.c (__clog10): Likewise.
23009         * math/s_clog10f.c (__clog10f): Likewise.
23010         * math/s_clog10l.c (__clog10l): Likewise.
23011         * math/s_clogf.c (__clogf): Likewise.
23012         * math/s_clogl.c (__clogl): Likewise.
23013         * math/auto-libm-test-in: Add more tests of clog and clog10.
23014         * math/auto-libm-test-out: Regenerated.
23015         * sysdeps/i386/fpu/libm-test-ulps: Update.
23016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23018 2015-09-28  Martin Sebor  <msebor@redhat.com>
23020         [BZ #18969]
23021         * string/Makefile (LOCALES): Define.
23022         (gen-locales.mk): Include.
23023         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
23024         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
23025         * string/tst-strxfrm2.c (do_test): Print the name of the locale
23026         on setlocale failure.
23028 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
23030         [BZ #18985]
23031         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
23032         (__strftime_internal): Likewise.
23033         * time/tst-strftime.c (do_bz18985): New test.
23034         (do_test): Call it.
23036 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
23038         [BZ #18956]
23039         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
23040         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
23041         extracting high part.
23042         * math/auto-libm-test-in: Add another test of pow.
23043         * math/auto-libm-test-out: Regenerated.
23044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23046 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23048         [BZ #18825]
23049         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
23050         New macro.
23051         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
23052         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23053         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
23054         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
23055         DBL_NARROW_EVAL, reloading the PIC register as needed.
23056         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
23057         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
23058         FLT_NARROW_EVAL.  Use separate return path for case when first
23059         argument is NaN.
23060         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
23061         DEFINE_LDBL_MIN.
23062         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
23063         PIC register.
23064         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
23065         math_check_force_underflow_nonneg.
23066         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
23067         underflow for subnormal result.
23068         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
23069         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
23070         math_check_force_underflow_nonneg.
23071         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
23072         math_check_force_underflow.
23073         * sysdeps/x86_64/fpu/x86_64-math-asm.h
23074         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
23075         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
23076         DEFINE_LDBL_MIN.
23077         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
23078         * math/auto-libm-test-in: Add more tests of pow.
23079         * math/auto-libm-test-out: Regenerated.
23081 2015-09-25  Florian Weimer  <fweimer@redhat.com>
23083         * nss/bug17079.c (init_test_items): Add diagnostic for
23084         inconsistent entries.
23085         (test_buffer_size): Skip inconsistent entries.
23087 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
23089         [BZ #13304]
23090         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
23091         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
23092         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
23094         [BZ #13304]
23095         * sysdeps/microblaze/s_fma.c: New file.
23096         * sysdeps/microblaze/s_fmaf.c: Likewise.
23097         * sysdeps/microblaze/sfp-machine.h: Likewise.
23099 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
23101         [BZ #17250]
23102         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
23103         member.
23105 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23107         [BZ #18803]
23108         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
23109         (MO): New macro.
23110         (__ieee754_hypot) [PIC]: Load PIC register.
23111         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
23112         DBL_NARROW_EVAL.
23113         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
23114         math_check_force_underflow_nonneg in case where result might be
23115         tiny.
23116         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23117         Likewise.
23118         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23119         Likewise.
23120         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
23121         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
23122         * math/auto-libm-test-in: Add more tests of hypot.
23123         * math/auto-libm-test-out: Regenerated.
23125 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
23127         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
23129 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
23131         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
23132         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
23133         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23134         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23135         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
23136         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23137         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23139         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
23140         LOAD_PIC_REG.
23142         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
23143         (FLT_CHECK_FORCE_UFLOW): Likewise.
23144         (DBL_CHECK_FORCE_UFLOW): Likewise.
23145         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
23146         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
23147         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
23148         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23149         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
23150         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23151         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23152         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
23153         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
23154         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23155         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
23156         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
23157         (flt_min): Replace with use of DEFINE_FLT_MIN.
23158         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
23159         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
23160         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23161         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
23162         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
23163         (flt_min): Replace with use of DEFINE_FLT_MIN.
23164         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
23165         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
23166         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23167         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
23168         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
23169         (flt_min): Replace with use of DEFINE_FLT_MIN.
23170         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
23171         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
23172         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
23173         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
23174         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
23175         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
23176         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
23177         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
23178         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23179         (__atan): Use DBL_CHECK_FORCE_UFLOW.
23180         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
23181         (flt_min): Replace with use of DEFINE_FLT_MIN.
23182         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
23183         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
23184         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23185         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
23186         main computation.
23187         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
23188         (flt_min): Replace with use of DEFINE_FLT_MIN.
23189         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
23190         main computation.
23191         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
23192         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23193         (MO): New macro.
23194         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
23195         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
23196         (flt_min): Replace with use of DEFINE_FLT_MIN.
23197         (MO): New macro.
23198         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
23199         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
23200         (__log1pl): Use MO.
23202         [BZ #19003]
23203         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
23204         $(config-cflags-nofma).
23206 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23208         * sysdeps/aarch64/libm-test-ulps: Regenerated.
23210 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
23212         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
23213         (TWO127): Likewise.
23215         * sysdeps/generic/math_private.h (fabs_tg): New macro.
23216         (min_of_type): Likewise.
23217         (math_check_force_underflow): Likewise.
23218         (math_check_force_underflow_nonneg): Likewise.
23219         (math_check_force_underflow_complex): Likewise.
23220         * math/e_exp2l.c (__ieee754_exp2l): Use
23221         math_check_force_underflow_nonneg.
23222         * math/k_casinh.c (__kernel_casinh): Likewise.
23223         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23224         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23225         * math/s_catan.c (__catan): Use
23226         math_check_force_underflow_complex.
23227         * math/s_catanf.c (__catanf): Likewise.
23228         * math/s_catanh.c (__catanh): Likewise.
23229         * math/s_catanhf.c (__catanhf): Likewise.
23230         * math/s_catanhl.c (__catanhl): Likewise.
23231         * math/s_catanl.c (__catanl): Likewise.
23232         * math/s_ccosh.c (__ccosh): Likewise.
23233         * math/s_ccoshf.c (__ccoshf): Likewise.
23234         * math/s_ccoshl.c (__ccoshl): Likewise.
23235         * math/s_cexp.c (__cexp): Likewise.
23236         * math/s_cexpf.c (__cexpf): Likewise.
23237         * math/s_cexpl.c (__cexpl): Likewise.
23238         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
23239         * math/s_clog10.c (__clog10): Likewise.
23240         * math/s_clog10f.c (__clog10f): Likewise.
23241         * math/s_clog10l.c (__clog10l): Likewise.
23242         * math/s_clogf.c (__clogf): Likewise.
23243         * math/s_clogl.c (__clogl): Likewise.
23244         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
23245         * math/s_csinf.c (__csinf): Likewise.
23246         * math/s_csinh.c (__csinh): Likewise.
23247         * math/s_csinhf.c (__csinhf): Likewise.
23248         * math/s_csinhl.c (__csinhl): Likewise.
23249         * math/s_csinl.c (__csinl): Likewise.
23250         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
23251         * math/s_csqrtf.c (__csqrtf): Likewise.
23252         * math/s_csqrtl.c (__csqrtl): Likewise.
23253         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
23254         * math/s_ctanf.c (__ctanf): Likewise.
23255         * math/s_ctanh.c (__ctanh): Likewise.
23256         * math/s_ctanhf.c (__ctanhf): Likewise.
23257         * math/s_ctanhl.c (__ctanhl): Likewise.
23258         * math/s_ctanl.c (__ctanl): Likewise.
23259         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
23260         instead of volatile.
23261         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
23262         math_check_force_underflow.
23263         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
23264         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
23265         volatile when forcing underflow.
23266         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
23267         math_check_force_underflow_nonneg.
23268         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
23269         Likewise.
23270         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
23271         math_check_force_underflow.
23272         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
23273         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23274         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
23275         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
23276         math_check_force_underflow_nonneg.
23277         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
23278         math_check_force_underflow.
23279         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
23280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
23281         instead of volatile.
23282         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
23283         math_check_force_underflow.
23284         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
23285         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
23286         math_check_force_underflow_nonneg.
23287         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
23288         math_check_force_underflow.
23289         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
23290         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
23291         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
23292         math_check_force_underflow_nonneg.
23293         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23294         Likewise.
23295         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
23296         math_check_force_underflow.
23297         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
23298         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23299         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
23300         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
23301         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
23302         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
23303         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
23304         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
23305         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23306         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
23307         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
23308         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
23309         Likewise.
23310         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
23311         math_check_force_underflow_nonneg.
23312         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23313         Likewise.
23314         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
23315         math_check_force_underflow.
23316         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
23317         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
23318         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23319         Likewise.
23320         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
23321         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
23322         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
23323         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
23324         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
23325         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
23326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
23327         instead of volatile.
23328         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
23329         math_check_force_underflow.
23330         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
23331         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
23332         math_check_force_underflow.
23333         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
23334         Likewise.
23335         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23336         Use math_check_force_underflow_nonneg.
23337         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
23338         math_check_force_underflow.
23339         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
23340         Likewise.
23341         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23342         Likewise.
23343         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23344         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23345         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23346         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23347         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
23348         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23349         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
23350         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
23351         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
23352         math_check_force_underflow_nonneg.
23353         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
23354         math_check_force_underflow.
23355         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
23356         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
23357         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
23358         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
23359         math_check_force_underflow_nonneg.
23360         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
23361         math_check_force_underflow.
23362         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
23363         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
23364         instead of volatile.
23365         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
23366         math_check_force_underflow.
23368         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
23369         * stdlib/strtod_l.c: Include <math_private.h>.
23370         (overflow_value): Use math_narrow_eval.
23371         (underflow_value): Likewise.
23372         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23373         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
23374         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
23375         (__ieee754_gamma_r): Likewise.
23376         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
23377         Likewise.
23378         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
23379         Likewise.
23380         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
23381         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
23382         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
23383         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
23384         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
23385         (__ieee754_gammaf_r): Likewise.
23386         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
23387         Likewise.
23388         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
23389         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
23390         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
23391         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
23392         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
23393         volatile.
23394         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
23395         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
23396         math_narrow_eval.
23397         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
23398         Likewise.
23399         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23400         Likewise.
23401         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
23402         Likewise.
23403         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
23404         volatile.
23405         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
23406         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
23407         math_narrow_eval.
23408         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23409         Likewise.
23410         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23411         Likewise.
23413 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
23415         * nptl/Versions: Remove ignored symbols.
23417 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23419         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
23420         * nss/Makefile (tests): Update.
23422 2015-09-22  Florian Weimer  <fweimer@redhat.com>
23424         * nss/bug18287.c: New file.
23425         * nss/Makefile (tests): Add bug18287.
23427 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23429         * mach/Versions (__mach_host_self_): Add symbol.
23431 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23433         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
23434         vm_page_size.
23436 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23438         Really fix sysdeps/i386/fpu/s_scalbn.S build
23440         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
23441         (libc: GLIBC_2_22): Remove unused version set.
23443 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23445         * config.make.in (enable-timezone-tools): New variable.
23446         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
23447         (enable_timezone_tools): Export to generated files.
23448         * configure: Regenerate.
23449         * INSTALL: Regenerate.
23450         * manual/install.texi (--disable-timezone-tools): Document new flag.
23451         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
23452         ifeq ($(enable-timezone-tools),yes) check.
23454 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23456         * timezone/Makefile: Revert previous change.
23458         [BZ #18980]
23459         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
23460         (DEFINE_DBL_MIN): Likewise.
23461         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23462         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
23463         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23464         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
23465         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
23466         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23467         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23468         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
23469         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
23470         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23471         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23472         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
23473         (flt_min): Replace with use of DEFINE_FLT_MIN.
23474         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23475         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
23476         (dbl_min): Replace with use of DEFINE_DBL_MIN.
23477         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
23478         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
23479         (flt_min): Replace with use of DEFINE_FLT_MIN.
23480         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23481         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
23482         (flt_min): Replace with use of DEFINE_FLT_MIN.
23483         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
23484         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
23485         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
23486         (__ieee754_hypot): Use DBL_NARROW_EVAL.
23487         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
23488         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
23489         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
23490         (__ieee754_pow): Use DBL_NARROW_EVAL.
23491         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
23492         (__ieee754_powf): Use FLT_NARROW_EVAL.
23493         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
23494         (__ieee754_expf_sse2): Convert double-precision result to single
23495         precision.
23496         * sysdeps/i386/fpu/libm-test-ulps: Update.
23498 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23500         * timezone/Makefile: Ignore unused variable errors due to private.h
23501         (time_t_min) and (time_t_max).
23502         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
23503         Likewise.
23505 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23507         [BZ #18981]
23508         * sysdeps/i386/fpu/i386-math-asm.h: New file.
23509         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
23510         (__ieee754_scalb): Use DBL_NARROW_EVAL.
23511         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
23512         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
23513         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
23514         (__scalbn): Use DBL_NARROW_EVAL.
23515         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
23516         (__scalbnf): Use FLT_NARROW_EVAL.
23518 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23520         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
23521         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
23522         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
23523         * stdio-common/printf_fp.c (___printf_fp):
23524         Use signbit to get the sign. Use isinf macro to allow inlining.
23525         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
23526         * stdio-common/printf_size.c (__printf_size): Likewise.
23528 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
23530         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
23532 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
23534         [BZ #18980]
23535         * sysdeps/generic/math_private.h: Include <float.h>.
23536         (math_narrow_eval): New macro.
23537         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
23538         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
23539         math_narrow_eval on overflowing return value.
23540         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
23541         Likewise.
23542         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
23543         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
23544         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
23545         Likewise.
23546         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
23548 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23550         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
23551         * math/Makefile: Remove isinf_ns.c.
23552         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
23553         * math/multc3.c (__multc3): Likewise.
23554         * math/s_casin.c (__casin): Likewise.
23555         * math/s_casinf.c (__casinf): Likewise.
23556         * math/s_casinl.c (__casinl): Likewise.
23557         * math/s_cproj.c (__cproj): Likewise.
23558         * math/s_cprojf.c (__cprojf): Likewise.
23559         * math/s_cprojl.c (__cprofl): Likewise.
23560         * math/s_ctan.c (__ctan): Likewise.
23561         * math/s_ctanf.c (__ctanf): Likewise.
23562         * math/s_ctanh.c (__ctanh): Likewise.
23563         * math/s_ctanhf.c (__ctanhf): Likewise.
23564         * math/s_ctanhl.c (__ctanhl): Likewise.
23565         * math/s_ctanl.c (__ctanl): Likewise.
23566         * math/w_fmod.c (__fmod): Likewise.
23567         * math/w_fmodf.c (__fmodf): Likewise.
23568         * math/w_fmodl.c (_fmodl): Likewise.
23569         * math/w_remainder.c (__remainder): Likewise.
23570         * math/w_remainderf.c (__remainderf): Likewise.
23571         * math/w_remainderl.c (__remainderl): Likewise.
23572         * math/w_scalb.c (__scalb): Likewise.
23573         * math/w_scalbf.c (__scalbf): Likewise.
23574         * math/w_scalbl.c (__scalbl): Likewise.
23575         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
23576         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
23577         with isinf.
23578         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
23579         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
23580         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
23581         __isinf_nsf with isinf.
23582         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
23583         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
23584         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
23585         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
23586         with isinf.
23587         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
23588         __isinf_nsl with isinf.
23589         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
23590         with isinf.
23591         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
23592         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
23593         __isinf_nsl with isinf.
23594         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
23595         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
23596         with isinf.
23598 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23600         * resolv/base64.c (rcsid): Remove unused static.
23601         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
23602         static.  (tqpi1): Likewise.
23603         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
23604         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
23605         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
23606         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
23607         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
23608         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
23609         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
23610         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
23611         Likewise.
23613 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
23615         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
23616         <nptl/pthreadP.h>.
23617         (_longjmp_unwind): Use __libc_ptf_call.
23618         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
23620 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
23622         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
23623         * sysdeps/arm/__longjmp.S: Likewise.
23625 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23627         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
23628         Use __builtin_signbit.
23629         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
23630         Use __builtin_signbitf.
23631         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
23632         Use __builtin_signbitl.
23633         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23634         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
23636 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23638         [BZ #15367]
23639         [BZ #17441]
23641         * math/Makefile: Build test-snan.c with -fsignaling-nans.
23642         * math/math.h (fpclassify): Use __builtin_fpclassify when
23643         available.  (signbit): Use __builtin_signbit(f/l).
23644         (isfinite): Use__builtin_isfinite.  (isnormal): Use
23645         __builtin_isnormal.  (isnan): Use __builtin_isnan.
23646         (isinf): Use __builtin_isinf_sign.
23648 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
23650         * benchtests/Makefile: Add bench-math-inlines, link with libm.
23651         * benchtests/bench-math-inlines.c: New benchmark.
23652         * benchtests/bench-util.h: New file.
23653         * benchtests/bench-util.c: New file.
23654         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
23656 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
23658         * elf/tst-dlmopen1.c: Define TEST_SO.
23659         (do_test): Use TEST_SO.
23661         * elf/dl-load.c: Include libc-internal.h.
23662         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
23664 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23666         [BZ #17887]
23667         * time/strptime_l.c (__strptime_internal): Make %z accept
23668         [+-]HH:MM time zones.
23670 2015-09-18  Vincent Bernat  <vincent@bernat.im>
23672         [BZ #17886]
23673         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
23674         valid time zone.
23676 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
23678         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
23679         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
23680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23681         (__ASSUME_FDATASYNC): Delete.
23683 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23685         * conform/linknamespace.pl: Require weak undefined symbols to be
23686         in the standard namespace.
23687         (%strong_syms): Rename to %seen_syms.
23688         (%strong_seen): Rename to %seen_where.
23690 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
23692         [BZ #18970]
23693         * misc/error.c (error): Replace pthread_setcancelstate with
23694         __pthread_setcancelstate.
23695         (error_at_line): Likewise.
23696         * posix/wordexp.c (parse_comm): Likewise.
23697         * stdlib/fmtmsg.c (fmtmsg): Likewise.
23698         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
23699         (__pthread_setcancelstate): This.
23700         (pthread_setcancelstate): Add an alias.
23701         * nptl/nptl-init.c (pthread_functions): Replace
23702         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
23703         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
23704         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
23705         hidden_proto.
23706         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
23707         it with hidden_def.
23708         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
23709         (pthread_setcancelstate): Renamed to ...
23710         (__pthread_setcancelstate): This.
23711         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
23712         __libc_ptf_call with __pthread_setcancelstate.
23714 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23715             Andreas Schwab  <schwab@suse.de>
23717         [BZ #17118]
23718         * math/s_ctan.c (__ctan): Determine sign of zero real part of
23719         result when imaginary part of argument is infinite using sine and
23720         cosine.
23721         * math/s_ctanf.c (__ctanf): Likewise.
23722         * math/s_ctanl.c (__ctanl): Likewise.
23723         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
23724         of result when real part of argument is infinite using sine and
23725         cosine.
23726         * math/s_ctanhf.c (__ctanhf): Likewise.
23727         * math/s_ctanhl.c (__ctanhl): Likewise.
23728         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
23729         (ctanh_test_data): Add more tests of ctanh.
23731 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
23733         [BZ #15384]
23734         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
23735         bit-mask as in subtraction.
23736         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
23737         Likewise.
23738         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
23739         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
23740         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
23742         [BZ #18951]
23743         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
23744         underflow exception for small results.
23745         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
23746         Likewise.
23747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
23748         Likewise.
23749         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23750         Likewise.
23751         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
23752         Likewise.
23753         * math/auto-libm-test-in: Add more tests of tgamma.
23754         * math/auto-libm-test-out: Regenerated.
23756 2015-09-17  Andreas Schwab  <schwab@suse.de>
23758         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
23760 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23762         [BZ #18977]
23763         * math/bits/mathcalls.h
23764         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
23765         not declare.
23766         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
23767         Likewise.
23768         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
23769         Likewise.
23770         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
23771         Likewise.
23772         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
23773         Likewise.
23774         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
23775         Likewise.
23776         * conform/data/math.h-data
23777         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23778         function.
23779         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
23780         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
23781         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
23782         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
23783         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
23784         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
23785         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
23786         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
23787         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
23788         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
23789         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
23791         [BZ #6803]
23792         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
23793         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
23794         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
23795         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
23796         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
23797         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
23798         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
23799         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
23800         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23801         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
23802         Likewise.
23803         [NO_LONG_DOUBLE] (scalbnl): Likewise.
23804         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
23805         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
23806         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
23807         long_double_symbol calls.
23808         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
23809         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
23810         strong alias of __ldexpl.
23811         (scalbnl): Define using long_double_symbol.
23812         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
23813         Remove alias.
23814         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
23815         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
23816         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
23817         (scalbln_test_data): Add more errno expectations.
23819 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
23821         Cache the host port like we cache the task port.  This way we do not
23822         need to call the kernel just to get the port.  Furthermore, we no
23823         longer increase the reference count on every invocation of
23824         `mach_host_self'.
23826         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
23827         Protect declarations against the macro expansion.
23828         * mach/mach_init.c (__mach_host_self_): New variable.
23829         (mach_init): Initialize `__mach_host_self_'.
23830         * mach/mach_init.h (__mach_host_self_): New declaration.
23831         (__mach_host_self, mach_host_self): New macros.
23832         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
23833         Release reference.
23835 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
23837         [BZ #4404]
23838         * po/de.po: Update from Translation Project.
23840         [BZ #16415]
23841         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
23842         (__expm1l): Remove code to handle positive infinity and overflow.
23843         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
23844         variable.
23845         (__expm1l): Remove code to handle positive infinity and overflow.
23847 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
23848             Paul Pluzhnikov  <ppluzhnikov@google.com>
23850         [BZ #18872]
23851         * stdio-common/Makefile (tst-printf-bz18872): New test.
23852         (tst-printf-bz18872-mem.out): Likewise.
23853         * stdio-common/tst-printf-bz18872.sh: Generate new test.
23854         * stdio-common/vfprintf.c: Fix memory leaks.
23856 2015-09-16  Andreas Schwab  <schwab@suse.de>
23858         [BZ #17244]
23859         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
23860         Remove extra va_start/va_end calls.
23862         [BZ #17243]
23863         * posix/execl.c (execl): Add missing va_end.
23864         * posix/execle.c (execle): Likewise.
23865         * posix/execlp.c (execlp): Likewise.
23867 2015-09-15  Roland McGrath  <roland@hack.frob.com>
23869         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
23870         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
23872 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
23874         [BZ #18967]
23875         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
23876         undefine around includes of <bits/mathcalls.h>.
23877         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
23878         not declare function.
23879         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
23880         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
23881         (scalb): Likewise.
23882         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
23883         not define macro.
23884         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
23885         variable.
23886         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
23887         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
23888         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
23890         [BZ #18857]
23891         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
23892         return non-finite argument without doing ordered comparisons on
23893         it.
23895         [BZ #16296]
23896         * math/fenv.h (fegetround): Use __attribute_pure__.
23897         * include/fenv.h (__fegetround): Likewise.
23899         [BZ #18595]
23900         * math/s_ctan.c (__ctan): Force underflow exception for results
23901         whose real or imaginary part has small absolute value.
23902         * math/s_ctanf.c (__ctanf): Likewise.
23903         * math/s_ctanh.c (__ctanh): Likewise.
23904         * math/s_ctanhf.c (__ctanhf): Likewise.
23905         * math/s_ctanhl.c (__ctanhl): Likewise.
23906         * math/s_ctanl.c (__ctanl): Likewise.
23907         * math/auto-libm-test-in: Do not allow missing underflow for ctan
23908         and ctanh.  Add more tests of ctan and ctanh.
23910         [BZ #15918]
23911         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
23912         handling of cases where one argument is an infinity.
23914         [BZ #18875]
23915         [BZ #18966]
23916         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
23917         (MO): New macro.
23918         (__ieee754_exp10): For small results, force underflow exception
23919         and remove excess range and precision from return value.
23920         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
23921         (MO): New macro.
23922         (__ieee754_exp10f): For small results, force underflow exception
23923         and remove excess range and precision from return value.
23924         * math/auto-libm-test-in: Add more tests of exp10.
23925         * math/auto-libm-test-out: Regenerated.
23927 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
23929         [BZ #18875]
23930         [BZ #18961]
23931         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
23932         (MO): New macro.
23933         (__ieee754_exp): For small results, force underflow exception and
23934         remove excess range and precision from return value.
23935         (__exp_finite): Likewise.
23936         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
23937         (MO): New macro.
23938         (__ieee754_expf): For small results, force underflow exception and
23939         remove excess range and precision from return value.
23940         (__expf_finite): Likewise.
23941         * math/auto-libm-test-in: Add more tests of exp.
23942         * math/auto-libm-test-out: Regenerated.
23944         [BZ #16521]
23945         [BZ #18875]
23946         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
23947         small results.
23948         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
23949         (MO): New macro.
23950         (__ieee754_exp2): For small results, force underflow exception and
23951         remove excess range and precision from return value.
23952         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
23953         (MO): New macro.
23954         (__ieee754_exp2f): For small results, force underflow exception
23955         and remove excess range and precision from return value.
23956         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
23957         (MO): New macro.
23958         (__ieee754_exp2l): Force underflow exception for small results.
23959         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
23960         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
23961         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
23962         (MO): New macro.
23963         (__ieee754_exp2l): Force underflow exception for small results.
23964         * math/auto-libm-test-in: Add more tests or exp2.
23965         * math/auto-libm-test-out: Regenerated.
23967 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
23969         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
23971         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
23972         /dev/null.
23974 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23976         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
23977         io fs process)): Drop spurious backslash.
23979 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23981         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
23982         Use sysinfo system call instead of parsing /proc/meminfo.
23983         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
23984         Likewise.
23986 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
23988         [BZ #16985]
23989         * programs/localedef.c (main): Display argv[remaining] when
23990         output_path is NULL.
23992 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
23994         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23995         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
23996         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
23997         tanh.
23998         * math/auto-libm-test-out: Regenerated.
23999         * sysdeps/i386/fpu/libm-test-ulps: Update.
24000         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24001         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24004 2015-09-11  Roland McGrath  <roland@hack.frob.com>
24006         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
24007         Use 'override' keyword to freeze the value here, preventing
24008         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
24010 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
24012         [BZ #14912]
24013         * sysdeps/aarch64/bits/atomic.h: Move to ...
24014         * sysdeps/aarch64/atomic-machine.h: ...here.
24015         (_AARCH64_BITS_ATOMIC_H): Rename macro to
24016         _AARCH64_ATOMIC_MACHINE_H.
24017         * sysdeps/alpha/bits/atomic.h: Move to ...
24018         * sysdeps/alpha/atomic-machine.h: ...here.
24019         * sysdeps/arm/bits/atomic.h: Move to ...
24020         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
24021         * bits/atomic.h: Move to ...
24022         * sysdeps/generic/atomic-machine.h: ...here.
24023         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24024         * sysdeps/i386/bits/atomic.h: Move to ...
24025         * sysdeps/i386/atomic-machine.h: ...here.
24026         * sysdeps/ia64/bits/atomic.h: Move to ...
24027         * sysdeps/ia64/atomic-machine.h: ...here.
24028         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
24029         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
24030         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24031         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
24032         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
24033         * sysdeps/microblaze/bits/atomic.h: Move to ...
24034         * sysdeps/microblaze/atomic-machine.h: ...here.
24035         * sysdeps/mips/bits/atomic.h: Move to ...
24036         * sysdeps/mips/atomic-machine.h: ...here.
24037         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
24038         * sysdeps/powerpc/bits/atomic.h: Move to ...
24039         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
24040         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
24041         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
24042         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
24043         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
24044         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
24045         <atomic-machine.h> instead of <bits/atomic.h>.
24046         * sysdeps/s390/bits/atomic.h: Move to ...
24047         * sysdeps/s390/atomic-machine.h: ...here.
24048         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
24049         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
24050         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24051         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
24052         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
24053         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
24054         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
24055         * sysdeps/tile/bits/atomic.h: Move to ...
24056         * sysdeps/tile/atomic-machine.h: ...here.
24057         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
24058         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
24059         <sysdeps/tile/atomic-machine.h> instead of
24060         <sysdeps/tile/bits/atomic.h>.
24061         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24062         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
24063         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
24064         <sysdeps/tile/atomic-machine.h> instead of
24065         <sysdeps/tile/bits/atomic.h>.
24066         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24067         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
24068         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
24069         <sysdeps/arm/atomic-machine.h> instead of
24070         <sysdeps/arm/bits/atomic.h>.
24071         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
24072         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
24073         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24074         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
24075         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
24076         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
24077         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
24078         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
24079         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
24080         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
24081         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
24082         * sysdeps/x86_64/bits/atomic.h: Move to ...
24083         * sysdeps/x86_64/atomic-machine.h: ...here.
24084         * include/atomic.h: Include <atomic-machine.h> instead of
24085         <bits/atomic.h>.
24087         * sysdeps/mips/mips32/libm-test-ulps: Update.
24088         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24090         [BZ #18952]
24091         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
24092         not convert non-integer negative arguments to int to determine the
24093         value of signgam.
24094         * math/auto-libm-test-in: Add more tests of lgamma.
24095         * math/auto-libm-test-out: Regenerated.
24097         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
24098         cosh, csqrt, erfc, expm1 and lgamma.
24099         * math/auto-libm-test-out: Regenerated.
24100         * sysdeps/i386/fpu/libm-test-ulps: Update.
24101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24103 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
24105         [BZ #2542]
24106         [BZ #2543]
24107         [BZ #2558]
24108         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
24109         __lgamma_neg for arguments from -28.0 to -2.0.
24110         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
24111         __lgamma_negf for arguments from -15.0 to -2.0.
24112         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
24113         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
24114         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
24115         Call __lgamma_negl for arguments from -33.0 to -2.0.
24116         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
24117         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
24118         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
24119         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
24120         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
24121         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
24122         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
24123         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
24124         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
24125         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
24126         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
24127         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
24128         (__lgamma_neg): Likewise.
24129         (__lgamma_negl): Likewise.
24130         (__lgamma_product): Likewise.
24131         (__lgamma_productl): Likewise.
24132         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
24133         * math/auto-libm-test-in: Add more tests of lgamma.
24134         * math/auto-libm-test-out: Regenerated.
24135         * sysdeps/i386/fpu/libm-test-ulps: Update.
24136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24138 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
24140         [BZ #18675]
24141         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
24143 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
24145         [BZ #14912]
24146         * bits/libc-lock.h: Move to ...
24147         * sysdeps/generic/libc-lock.h: ...here.
24148         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24149         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
24150         * sysdeps/mach/hurd/libc-lock.h: ...here.
24151         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24152         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
24153         * sysdeps/mach/bits/libc-lock.h: Move to ...
24154         * sysdeps/mach/libc-lock.h: ...here.
24155         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24156         * sysdeps/nptl/bits/libc-lock.h: Move to ...
24157         * sysdeps/nptl/libc-lock.h: ...here.
24158         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
24159         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
24160         * sysdeps/nptl/libc-lockP.h: ...here.
24161         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
24162         * crypt/crypt_util.c: Include <libc-lock.h> instead of
24163         <bits/libc-lock.h>.
24164         * dirent/scandir-tail.c: Likewise.
24165         * dlfcn/dlerror.c: Likewise.
24166         * elf/dl-close.c: Likewise.
24167         * elf/dl-iteratephdr.c: Likewise.
24168         * elf/dl-lookup.c: Likewise.
24169         * elf/dl-open.c: Likewise.
24170         * elf/dl-support.c: Likewise.
24171         * elf/dl-writev.h: Likewise.
24172         * elf/rtld.c: Likewise.
24173         * grp/fgetgrent.c: Likewise.
24174         * gshadow/fgetsgent.c: Likewise.
24175         * gshadow/sgetsgent.c: Likewise.
24176         * iconv/gconv_conf.c: Likewise.
24177         * iconv/gconv_db.c: Likewise.
24178         * iconv/gconv_dl.c: Likewise.
24179         * iconv/gconv_int.h: Likewise.
24180         * iconv/gconv_trans.c: Likewise.
24181         * include/link.h: Likewise.
24182         * inet/getnameinfo.c: Likewise.
24183         * inet/getnetgrent.c: Likewise.
24184         * inet/getnetgrent_r.c: Likewise.
24185         * intl/bindtextdom.c: Likewise.
24186         * intl/dcigettext.c: Likewise.
24187         * intl/finddomain.c: Likewise.
24188         * intl/gettextP.h: Likewise.
24189         * intl/loadmsgcat.c: Likewise.
24190         * intl/localealias.c: Likewise.
24191         * intl/textdomain.c: Likewise.
24192         * libidn/idn-stub.c: Likewise.
24193         * libio/libioP.h: Likewise.
24194         * locale/duplocale.c: Likewise.
24195         * locale/freelocale.c: Likewise.
24196         * locale/newlocale.c: Likewise.
24197         * locale/setlocale.c: Likewise.
24198         * login/getutent_r.c: Likewise.
24199         * login/getutid_r.c: Likewise.
24200         * login/getutline_r.c: Likewise.
24201         * login/utmp-private.h: Likewise.
24202         * login/utmpname.c: Likewise.
24203         * malloc/mtrace.c: Likewise.
24204         * misc/efgcvt.c: Likewise.
24205         * misc/error.c: Likewise.
24206         * misc/fstab.c: Likewise.
24207         * misc/getpass.c: Likewise.
24208         * misc/mntent.c: Likewise.
24209         * misc/syslog.c: Likewise.
24210         * nis/nis_call.c: Likewise.
24211         * nis/nis_callback.c: Likewise.
24212         * nis/nss-default.c: Likewise.
24213         * nis/nss_compat/compat-grp.c: Likewise.
24214         * nis/nss_compat/compat-initgroups.c: Likewise.
24215         * nis/nss_compat/compat-pwd.c: Likewise.
24216         * nis/nss_compat/compat-spwd.c: Likewise.
24217         * nis/nss_nis/nis-alias.c: Likewise.
24218         * nis/nss_nis/nis-ethers.c: Likewise.
24219         * nis/nss_nis/nis-grp.c: Likewise.
24220         * nis/nss_nis/nis-hosts.c: Likewise.
24221         * nis/nss_nis/nis-network.c: Likewise.
24222         * nis/nss_nis/nis-proto.c: Likewise.
24223         * nis/nss_nis/nis-pwd.c: Likewise.
24224         * nis/nss_nis/nis-rpc.c: Likewise.
24225         * nis/nss_nis/nis-service.c: Likewise.
24226         * nis/nss_nis/nis-spwd.c: Likewise.
24227         * nis/nss_nisplus/nisplus-alias.c: Likewise.
24228         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
24229         * nis/nss_nisplus/nisplus-grp.c: Likewise.
24230         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
24231         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
24232         * nis/nss_nisplus/nisplus-network.c: Likewise.
24233         * nis/nss_nisplus/nisplus-proto.c: Likewise.
24234         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
24235         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
24236         * nis/nss_nisplus/nisplus-service.c: Likewise.
24237         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
24238         * nis/ypclnt.c: Likewise.
24239         * nptl/libc_pthread_init.c: Likewise.
24240         * nss/getXXbyYY.c: Likewise.
24241         * nss/getXXent.c: Likewise.
24242         * nss/getXXent_r.c: Likewise.
24243         * nss/nss_db/db-XXX.c: Likewise.
24244         * nss/nss_db/db-netgrp.c: Likewise.
24245         * nss/nss_db/nss_db.h: Likewise.
24246         * nss/nss_files/files-XXX.c: Likewise.
24247         * nss/nss_files/files-alias.c: Likewise.
24248         * nss/nsswitch.c: Likewise.
24249         * posix/regex_internal.h: Likewise.
24250         * posix/wordexp.c: Likewise.
24251         * pwd/fgetpwent.c: Likewise.
24252         * resolv/res_hconf.c: Likewise.
24253         * resolv/res_libc.c: Likewise.
24254         * shadow/fgetspent.c: Likewise.
24255         * shadow/lckpwdf.c: Likewise.
24256         * shadow/sgetspent.c: Likewise.
24257         * socket/opensock.c: Likewise.
24258         * stdio-common/reg-modifier.c: Likewise.
24259         * stdio-common/reg-printf.c: Likewise.
24260         * stdio-common/reg-type.c: Likewise.
24261         * stdio-common/vfprintf.c: Likewise.
24262         * stdio-common/vfscanf.c: Likewise.
24263         * stdlib/abort.c: Likewise.
24264         * stdlib/cxa_atexit.c: Likewise.
24265         * stdlib/fmtmsg.c: Likewise.
24266         * stdlib/random.c: Likewise.
24267         * stdlib/setenv.c: Likewise.
24268         * string/strsignal.c: Likewise.
24269         * sunrpc/auth_none.c: Likewise.
24270         * sunrpc/bindrsvprt.c: Likewise.
24271         * sunrpc/create_xid.c: Likewise.
24272         * sunrpc/key_call.c: Likewise.
24273         * sunrpc/rpc_thread.c: Likewise.
24274         * sysdeps/arm/backtrace.c: Likewise.
24275         * sysdeps/generic/ldsodefs.h: Likewise.
24276         * sysdeps/generic/stdio-lock.h: Likewise.
24277         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
24278         * sysdeps/i386/backtrace.c: Likewise.
24279         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
24280         * sysdeps/m68k/backtrace.c: Likewise.
24281         * sysdeps/mach/hurd/cthreads.c: Likewise.
24282         * sysdeps/mach/hurd/dirstream.h: Likewise.
24283         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24284         * sysdeps/nptl/malloc-machine.h: Likewise.
24285         * sysdeps/nptl/stdio-lock.h: Likewise.
24286         * sysdeps/posix/dirstream.h: Likewise.
24287         * sysdeps/posix/getaddrinfo.c: Likewise.
24288         * sysdeps/posix/system.c: Likewise.
24289         * sysdeps/pthread/aio_suspend.c: Likewise.
24290         * sysdeps/s390/s390-32/backtrace.c: Likewise.
24291         * sysdeps/s390/s390-64/backtrace.c: Likewise.
24292         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24293         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
24294         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
24295         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
24296         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
24297         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24298         * sysdeps/unix/sysv/linux/system.c: Likewise.
24299         * sysdeps/x86_64/backtrace.c: Likewise.
24300         * time/alt_digit.c: Likewise.
24301         * time/era.c: Likewise.
24302         * time/tzset.c: Likewise.
24303         * wcsmbs/wcsmbsload.c: Likewise.
24304         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
24305         instead of <bits/libc-lock.h> in comment.
24307 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
24309         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
24310         Only use .set mips2 if the current ISA is below mips2.
24311         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
24312         Likewise.
24313         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
24314         mips32r2 if the current ISA is below mips32r2.
24315         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
24316         (TLS_IE): Updated to use the TLD_RDHWR macro.
24317         (TLS_LE): Likewise.
24318         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
24319         __ASSEMBLER__ condition.
24321 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24323         Fix parallel build of before-compile targets.
24325         * sysdeps/mach/Makefile ($(patsubst
24326         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
24327         mach-before-compile target.
24328         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24329         io fs process)): Move rule to dedicated hurd-before-compile target.
24331 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24333         Fix rules generating headers in hurd/ and mach/ when initial make call
24334         has subdir= explicitly set.
24336         * sysdeps/mach/Makefile ($(patsubst
24337         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
24338         calling $(MAKE).
24339         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
24340         io fs process)): Force subdir to hurd when calling $(MAKE).
24341         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
24342         subdir to mach when calling $(MAKE).
24344 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
24346         Check sysheaders when looking for Mach and Hurd headers
24348         * sysdeps/mach/configure.ac: Add sysheaders check.
24349         * sysdeps/mach/configure: Regenerate.
24350         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
24351         * sysdeps/mach/hurd/configure: Regenerate.
24353 2015-09-04  Roland McGrath  <roland@hack.frob.com>
24355         [BZ #18921]
24356         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
24357         Fix inverted sense of test of 'o_directory_works' value.
24358         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
24359         Bernhard Voelker <mail@bernhard-voelker.de>.
24361 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24363         [BZ #14912]
24364         * bits/linkmap.h: Move to ...
24365         * sysdeps/generic/linkmap.h: ...here.
24366         * sysdeps/aarch64/bits/linkmap.h: Move to ...
24367         * sysdeps/aarch64/linkmap.h: ...here.
24368         * sysdeps/arm/bits/linkmap.h: Move to ...
24369         * sysdeps/arm/linkmap.h: ...here.
24370         * sysdeps/hppa/bits/linkmap.h: Move to ...
24371         * sysdeps/hppa/linkmap.h: ...here.
24372         * sysdeps/ia64/bits/linkmap.h: Move to ...
24373         * sysdeps/ia64/linkmap.h: ...here.
24374         * sysdeps/mips/bits/linkmap.h: Move to ...
24375         * sysdeps/mips/linkmap.h: ...here.
24376         * sysdeps/s390/bits/linkmap.h: Move to ...
24377         * sysdeps/s390/linkmap.h: ...here.
24378         * sysdeps/sh/bits/linkmap.h: Move to ...
24379         * sysdeps/sh/linkmap.h: ...here.
24380         * sysdeps/x86/bits/linkmap.h: Move to ...
24381         * sysdeps/x86/linkmap.h: ...here.
24382         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
24384 2015-09-04  Andreas Schwab  <schwab@suse.de>
24386         [BZ #18635]
24387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
24388         (__makecontext): Terminate FDE before return label.
24389         (__novec_makecontext): Likewise.
24391 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24393         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
24394         first member of struct sv in syscall macro.
24396 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
24398         [BZ #14912]
24399         * bits/stdio-lock.h: Move to ...
24400         * sysdeps/generic/stdio-lock.h: ...here.
24401         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24402         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
24403         * sysdeps/nptl/stdio-lock.h: ...here.
24404         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
24405         * include/libio.h: Include <stdio-lock.h> instead of
24406         <bits/stdio-lock.h>.
24407         * sysdeps/nptl/fork.c: Likewise.
24408         * sysdeps/pthread/flockfile.c: Likewise.
24409         * sysdeps/pthread/ftrylockfile.c: Likewise.
24410         * sysdeps/pthread/funlockfile.c: Likewise.
24412         [BZ #14912]
24413         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
24414         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
24415         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
24416         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
24417         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
24418         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
24419         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
24421 2015-09-03  Roland McGrath  <roland@hack.frob.com>
24423         * elf/Makefile (test-xfail-tst-protected1a): New variable.
24424         (test-xfail-tst-protected1b): New variable.
24426 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
24428         [BZ #14912]
24429         * bits/libc-tsd.h: Move to ...
24430         * sysdeps/generic/libc-tsd.h: ...here.
24431         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
24432         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
24433         * sysdeps/mach/hurd/libc-tsd.h: ...here.
24434         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
24435         * include/ctype.h: Include <libc-tsd.h> instead of
24436         <bits/libc-tsd.h>.
24437         * include/rpc/rpc.h: Likewise.
24438         * locale/localeinfo.h: Likewise.
24439         * sunrpc/rpc_thread.c: Likewise.
24440         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
24441         * sysdeps/nptl/malloc-machine.h: Likewise.
24443         * Makefile (headers): Remove bits/libc-lock.h.
24444         * libio/Makefile (headers): Remove bits/stdio-lock.h.
24446         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
24447         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
24448         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
24449         <bits/stdio-lock.h>.
24450         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
24451         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
24453 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24455         [BZ #18757]
24456         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
24457         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
24458         BZ #18757.
24460 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
24462         * malloc/mtrace.pl: Filter out NULL entries.
24464 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
24466         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
24467         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
24468         macro.
24470         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
24471         (TCP_CC_INFO): Likewise.
24472         (TCP_SAVE_SYN): Likewise.
24473         (TCP_SAVED_SYN): Likewise.
24475 2015-08-31  Brett Neumeier <brett@neumeier.us>
24477         [BZ #18870]
24478         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
24480 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
24482         [BZ #18873]
24483         Fix broken overflow check in posix_fallocate
24484         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
24485         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
24486         Fix parenthesization typo.
24488 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
24490         [BZ #18887]
24491         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
24492         tst-mntent-blank-passno.
24493         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
24494         * misc/tst-mntent-blank-corrupt.c: New test.
24495         * misc/tst-mntent-blank-passno.c: New test ripped from ...
24496         * misc/tst-mntent.c (do_test): ... here.
24498 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
24500         [BZ #4404]
24501         * po/de.po: Fix SIGALRM typo.
24503 2015-08-28  James Perkins  <james@loowit.net>
24505         * time/tst-strptime2.c (tests): Replace short list of test
24506         strings for strptime %z specifier with code which exhaustively
24507         tests every combination of sign and 0 to 5 digits. Tests for
24508         rejection of invalid strings.
24510 2015-08-28  James Perkins  <james@loowit.net>
24512         [BZ #16141]
24513         * time/strptime_l.c (__strptime_internal): Fix %z minutes
24514         calculation, removing incorrect decimal time rounding, so that
24515         all minute values result in a valid seconds value.
24516         * time/strptime_l.c (__strptime_internal): Extend %z time zone
24517         offset range limits to UTC-99:59 through UTC+99:59 to parse
24518         current and historical use cases.
24519         * time/tst-strptime2.c (tests): Modify and add tests for the
24520         strptime %z input field descriptor, specifically conversion of
24521         minutes to seconds and validating an offset range of -9959 to
24522         +9959.
24524 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24525             Dmitry V. Levin  <ldv@altlinux.org>
24527         [BZ #18877]
24528         * posix/Makefile (tests): Add tst-mmap-offset.
24529         * posix/tst-mmap.c: New file.
24530         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
24531         offset calculation for negative values.
24533 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24535         * sysdeps/i386/init-arch.h: New file.
24536         * sysdeps/i386/i586/init-arch.h: Likewise.
24537         * sysdeps/i386/i686/init-arch.h: Likewise.
24538         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
24539         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
24540         * sysdeps/x86/cpu-features.h (bit_I586): New.
24541         (bit_I686): Likewise.
24542         (bit_CX8): Likewise.
24543         (bit_CMOV): Likewise.
24544         (index_CX8): Likewise.
24545         (index_CMOV): Likewise.
24546         (index_I586): Likewise.
24547         (index_I686): Likewise.
24548         (reg_CX8): Likewise.
24549         (reg_CMOV): Likewise.
24550         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
24551         available at compile-time.
24552         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
24553         available at compile-time.
24554         * sysdeps/x86/init-arch.h (USE_I586): New macro.
24555         (USE_I686): Likewise.
24557 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24559         * sysdeps/i386/bcopy.S: New file.
24560         * sysdeps/i386/bzero.S: Likewise.
24561         * sysdeps/i386/memcpy.S: Likewise.
24562         * sysdeps/i386/memmove.S: Likewise.
24563         * sysdeps/i386/mempcpy.S: Likewise.
24564         * sysdeps/i386/memset.S: Likewise.
24565         * sysdeps/i386/bzero.c: Removed.
24566         * sysdeps/i386/memset.c: Likewise.
24567         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
24568         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
24569         * sysdeps/i386/i586/memset_chk.S: Likewise.
24570         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
24571         * sysdeps/i386/memcpy_chk.S: Here.
24572         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
24573         * sysdeps/i386/memmove_chk.S: Here.
24574         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
24575         * sysdeps/i386/mempcpy_chk.S: Likewise.
24576         * sysdeps/i386/i686/memset_chk.S: Moved to ...
24577         * sysdeps/i386/memset_chk.S: Likewise.
24579 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
24581         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
24582         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
24583         file, move DIAG_POP_NEEDS_COMMENT to end of file.
24584         * soft-fp/fmadf4.c: Ditto.
24585         * soft-fp/fmatf4.c: Ditto.
24587 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24589         * sysdeps/i386/i586/Implies: Removed.
24590         * sysdeps/i386/i686/Implies: Likewise.
24592 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24594         * sysdeps/i386/i486/strlen.S: Moved to ...
24595         * sysdeps/i386/strlen.S: Here.
24597 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24599         * sysdeps/i386/i486/strcat.S: Moved to ...
24600         * sysdeps/i386/strcat.S: Here.
24602 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24604         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
24605         * sysdeps/i386/pthread_spin_trylock.S: Here.
24606         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
24607         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
24609 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24611         * sysdeps/i386/i486/string-inlines.c: Moved to ...
24612         * sysdeps/i386/string-inlines.c: Here.
24614 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24616         * sysdeps/i386/i486/htonl.S: Moved ...
24617         * sysdeps/i386/htonl.S: here.
24619 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24621         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
24622         * sysdeps/i386/bits/atomic.h: Here.
24624 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
24626         * sysdeps/i386/i486/Versions: Removed.
24628 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
24630         [BZ #2898]
24631         * misc/mktemp.c: Add mkdtemp to the link_warning message.
24632         Based on patch by Aurelien Jarno.
24634 2015-08-26  Stan Shebs  <stanshebs@google.com>
24636         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
24637         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
24639 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24641         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
24642         * sysdeps/powerpc/dl-procinfo.c:
24643         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
24644         feature so it shows when LD_SHOW_AUXV=1.
24646 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24648         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24649         (__arch_compare_and_exchange_val_32_acq): Remove and use common
24650         definition.  ISA 2.07B no longer requires full sync.
24652 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
24654         [BZ #18863]
24655         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
24656         (si_call_addr): Define.
24657         (si_syscall): Define.
24658         (si_arch): Define.
24660 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
24662         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
24663         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
24664         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
24665         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24666         (__memset_zero_constant_len_parameter): New.
24667         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
24668         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
24669         (__memset_zero_constant_len_parameter): Don't define if
24670         __memset_chk or USE_AS_BZERO are defined.
24672         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
24673         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
24674         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
24676         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
24677         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
24678         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
24679         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
24680         comments.
24681         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
24682         -mno-mmx for $(all-rtld-routines).
24683         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
24684         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
24685         i386.
24687 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
24689         * sysdeps/generic/unwind.h
24690         (_Unwind_Word): Use __mode__(__unwind_word__)
24691         instead of __mode__(__word__).
24692         (_Unwind_Sword): Likewise.
24694         * sysdeps/s390/s390-64/utf8-utf16-z9.c
24695         (MAX_NEEDED_INPUT): New define.
24696         (MAX_NEEDED_OUTPUT): New define.
24698         * NEWS: New item for IBM z13 string optimizations.
24700         * sysdeps/s390/multiarch/memrchr-c.c: New File.
24701         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
24702         * sysdeps/s390/multiarch/memrchr.c: Likewise.
24703         * sysdeps/s390/multiarch/Makefile
24704         (sysdep_routines): Add memrchr functions.
24705         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24706         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
24708         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
24709         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
24710         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
24711         * sysdeps/s390/multiarch/Makefile
24712         (sysdep_routines): Add wmemcmp functions.
24713         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24714         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
24715         * benchtests/bench-wmemcmp.c: New File.
24716         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
24718         * sysdeps/s390/multiarch/wmemset-c.c: New File.
24719         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
24720         * sysdeps/s390/multiarch/wmemset.c: Likewise.
24721         * sysdeps/s390/multiarch/Makefile
24722         (sysdep_routines): Add wmemset functions.
24723         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24724         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
24725         * wcsmbs/wmemset.c: Use WMEMSET if defined.
24726         * string/test-memset.c: Add wmemset support.
24727         * wcsmbs/test-wmemset.c: New File.
24728         * wcsmbs/Makefile (strop-tests): Add wmemset.
24729         * benchtests/bench-memset.c: Add wmemset support.
24730         * benchtests/bench-wmemset.c: New File.
24731         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
24733         * sysdeps/s390/multiarch/memccpy-c.c: New File.
24734         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
24735         * sysdeps/s390/multiarch/memccpy.c: Likewise.
24736         * sysdeps/s390/multiarch/Makefile
24737         (sysdep_routines): Add memccpy functions.
24738         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24739         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
24740         * string/memccpy.c: Use MEMCCPY if defined.
24742         * sysdeps/s390/multiarch/memchr-vx.S: New File.
24743         * sysdeps/s390/multiarch/memchr.c: Likewise.
24744         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
24745         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
24746         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
24747         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
24748         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
24749         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
24750         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
24751         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
24752         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
24753         and rawmemchr functions.
24754         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
24755         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
24756         and wmemchr.
24757         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
24758         * string/test-memchr.c: Add wmemchr support.
24759         * wcsmbs/test-wmemchr.c: New File.
24760         * wcsmbs/Makefile (strop-tests): Add wmemchr.
24761         * benchtests/bench-memchr.c: Add wmemchr support.
24762         * benchtests/bench-wmemchr.c: New File.
24763         * benchtests/Makefile (wcsmbs-bench): wmemchr.
24765         * sysdeps/s390/multiarch/strcspn-c.c: New File.
24766         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
24767         * sysdeps/s390/multiarch/strcspn.c: Likewise.
24768         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
24769         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
24770         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
24771         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
24772         wcscspn functions.
24773         * sysdeps/s390/multiarch/ifunc-impl-list.c
24774         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
24775         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
24776         * string/test-strcspn.c: Add wcscspn support.
24777         * wcsmbs/test-wcscspn.c: New File.
24778         * wcsmbs/Makefile (strop-tests): Add wcscspn.
24779         * benchtests/bench-strcspn.c: Add wcscspn support.
24780         * benchtests/bench-wcscspn.c: New File.
24781         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
24783         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
24784         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
24785         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
24786         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
24787         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
24788         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
24789         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
24790         wcspbrk functions.
24791         * sysdeps/s390/multiarch/ifunc-impl-list.c
24792         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
24793         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
24794         * string/test-strpbrk.c: Add wcspbrk support.
24795         * wcsmbs/test-wcspbrk.c: New File.
24796         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
24797         * benchtests/bench-strpbrk.c: Add wcspbrk support.
24798         * benchtests/bench-wcspbrk.c: New File.
24799         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
24801         * sysdeps/s390/multiarch/strspn-c.c: New File.
24802         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
24803         * sysdeps/s390/multiarch/strspn.c: Likewise.
24804         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
24805         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
24806         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
24807         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
24808         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
24809         wcsspn functions.
24810         * sysdeps/s390/multiarch/ifunc-impl-list.c
24811         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
24812         * string/test-strspn.c: Add wcsspn support.
24813         * wcsmbs/test-wcsspn.c: New File.
24814         * wcsmbs/Makefile (strop-tests): Add wcsspn.
24815         * benchtests/bench-strspn.c: Add wcsspn support.
24816         * benchtests/bench-wcsspn.c: New File.
24817         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
24819         * sysdeps/s390/multiarch/strrchr-c.c: New File.
24820         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
24821         * sysdeps/s390/multiarch/strrchr.c: Likewise.
24822         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
24823         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
24824         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
24825         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
24826         wcsrchr functions.
24827         * sysdeps/s390/multiarch/ifunc-impl-list.c
24828         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
24829         * benchtests/bench-wcsrchr.c: New File.
24830         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
24832         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
24833         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
24834         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
24835         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
24836         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
24837         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
24838         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
24839         wcschrnul functions.
24840         * sysdeps/s390/multiarch/ifunc-impl-list.c
24841         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
24842         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
24843         * string/test-strchr.c: Add wcschrnul support.
24844         * wcsmbs/test-wcschrnul.c: New File.
24845         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
24846         * benchtests/bench-strchr.c: Add wcschrnul support.
24847         * benchtests/bench-wcschrnul.c: New File.
24848         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
24850         * sysdeps/s390/multiarch/strchr-c.c: New File.
24851         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
24852         * sysdeps/s390/multiarch/strchr.c: Likewise.
24853         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
24854         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
24855         * sysdeps/s390/multiarch/wcschr.c: Likewise.
24856         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
24857         wcschr functions.
24858         * sysdeps/s390/multiarch/ifunc-impl-list.c
24859         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
24860         * string/strchr.c (STRCHR): Define and use macro.
24861         * benchtests/bench-wcschr.c: New File.
24862         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
24864         * sysdeps/s390/multiarch/strncmp-c.c: New File.
24865         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
24866         * sysdeps/s390/multiarch/strncmp.c: Likewise.
24867         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
24868         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
24869         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
24870         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
24871         wcsncmp functions.
24872         * sysdeps/s390/multiarch/ifunc-impl-list.c
24873         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
24874         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
24875         * benchtests/bench-strncmp.c: Add wcsncmp support.
24876         * benchtests/bench-wcsncmp.c: New File.
24877         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
24879         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
24880         * sysdeps/s390/multiarch/strcmp.c: Likewise.
24881         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
24882         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
24883         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
24884         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
24885         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
24886         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
24887         wcscmp functions.
24888         * sysdeps/s390/multiarch/ifunc-impl-list.c
24889         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
24890         * string/strcmp.c (STRCMP): Define and use macro.
24891         * benchtests/bench-wcscmp.c: New File.
24892         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
24893         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
24894         instead of _HAVE_STRING_ARCH_memchr.
24896         * sysdeps/s390/multiarch/strncat-c.c: New File.
24897         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
24898         * sysdeps/s390/multiarch/strncat.c: Likewise.
24899         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
24900         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
24901         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
24902         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
24903         wcsncat functions.
24904         * sysdeps/s390/multiarch/ifunc-impl-list.c
24905         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
24906         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
24907         * string/test-strncat.c: Add wcsncat support.
24908         * wcsmbs/test-wcsncat.c: New File.
24909         * wcsmbs/Makefile (strop-tests): Add wcsncat.
24910         * benchtests/bench-strncat.c: Add wcsncat support.
24911         * benchtests/bench-wcsncat.c: New File.
24912         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
24914         * sysdeps/s390/multiarch/strcat-c.c: New File.
24915         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
24916         * sysdeps/s390/multiarch/strcat.c: Likewise.
24917         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
24918         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
24919         * sysdeps/s390/multiarch/wcscat.c: Likewise.
24920         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
24921         wcscat functions.
24922         * sysdeps/s390/multiarch/ifunc-impl-list.c
24923         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
24924         * string/strcat.c (STRCAT): Define and use macro.
24925         * wcsmbs/wcscat.c: Use WCSCAT if defined.
24926         * string/test-strcat.c: Add wcscat support.
24927         * wcsmbs/test-wcscat.c: New File.
24928         * wcsmbs/Makefile (strop-tests): Add wcscat.
24929         * benchtests/bench-strcat.c: Add wcscat support.
24930         * benchtests/bench-wcscat.c: New File.
24931         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
24933         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
24934         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
24935         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
24936         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
24937         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
24938         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
24939         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
24940         wcpncpy functions.
24941         * sysdeps/s390/multiarch/ifunc-impl-list.c
24942         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
24943         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
24944         * string/test-stpncpy.c: Add wcpncpy support.
24945         * wcsmbs/test-wcpncpy.c: New File.
24946         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
24947         * benchtests/bench-stpncpy.c: Add wcpncpy support.
24948         * benchtests/bench-wcpncpy.c: New File.
24949         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
24951         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
24952         * sysdeps/s390/multiarch/strncpy.c: Likewise.
24953         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
24954         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
24955         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
24956         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
24957         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
24958         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
24959         wcsncpy functions.
24960         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
24961         * sysdeps/s390/multiarch/ifunc-impl-list.c
24962         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
24963         * string/test-strncpy.c: Add wcsncpy support.
24964         * wcsmbs/test-wcsncpy.c: New File.
24965         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
24966         * benchtests/bench-strncpy.c: Add wcsncpy support.
24967         * benchtests/bench-wcsncpy.c: New File.
24968         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
24970         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
24971         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
24972         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
24973         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
24974         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
24975         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
24976         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
24977         wcpcpy functions.
24978         * string/stpcpy.c: Use STPCPY if defined.
24979         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
24980         * sysdeps/s390/multiarch/ifunc-impl-list.c
24981         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
24982         * string/test-stpcpy.c: Add wcpcpy support.
24983         * wcsmbs/test-wcpcpy.c: New File.
24984         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
24985         * benchtests/bench-stpcpy.c: Add wcpcpy support.
24986         * benchtests/bench-wcpcpy.c: New File.
24987         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
24989         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
24990         * sysdeps/s390/multiarch/strcpy.c: Likewise.
24991         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
24992         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
24993         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
24994         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
24995         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
24996         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
24997         wcscpy functions.
24998         * sysdeps/s390/multiarch/ifunc-impl-list.c
24999         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
25000         * benchtests/bench-wcscpy.c: New File.
25001         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
25003         * sysdeps/s390/multiarch/strnlen-c.c: New File.
25004         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
25005         * sysdeps/s390/multiarch/strnlen.c: Likewise.
25006         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
25007         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
25008         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
25009         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
25010         wcsnlen functions.
25011         * sysdeps/s390/multiarch/ifunc-impl-list.c
25012         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
25013         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
25014         * string/test-strnlen.c: Add wcsnlen support.
25015         * wcsmbs/test-wcsnlen.c: New File.
25016         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
25017         * benchtests/bench-strnlen.c: Add wcsnlen support.
25018         * benchtests/bench-wcsnlen.c: New File.
25019         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
25021         * sysdeps/s390/multiarch/Makefile: New File.
25022         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
25023         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
25024         * sysdeps/s390/multiarch/strlen.c: Likewise.
25025         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
25026         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
25027         * sysdeps/s390/multiarch/wcslen.c: Likewise.
25028         * string/strlen.c (STRLEN): Define and use macro.
25029         * sysdeps/s390/multiarch/ifunc-impl-list.c
25030         (IFUNC_VX_IMPL): New macro function.
25031         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
25032         * benchtests/Makefile (wcsmbs-bench): New variable.
25033         (string-bench-all): Added wcsmbs-bench.
25034         * benchtests/bench-wcslen.c: New File.
25036         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
25037         s390_vx_libc_ifunc2): New macro function.
25039         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
25040         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
25041         assembler support.
25042         * sysdeps/s390/configure: Regenerated.
25044         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
25045         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
25047         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
25048         * sysdeps/s390/dl-procinfo.h: Add vector capability.
25049         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
25051         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
25052         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
25053         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
25054         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
25055         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
25056         (memcmp, bcmp): Use __memcmp_default as alias source.
25057         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
25058         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
25059         Rename to __memcmp_default.
25060         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
25061         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
25062         (memcpy): Use __memcpy_default as alias source.
25063         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
25064         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
25065         Rename to __memcpy_default.
25066         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
25067         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
25068         (memset): Use __memset_default as alias source.
25069         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
25070         * sysdeps/s390/s390-32/memset.S (__memset_g5):
25071         Rename to __memset_default.
25072         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
25073         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
25074         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
25075         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
25076         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
25077         (memcmp, bcmp): Use __memcmp_default as alias source.
25078         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
25079         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
25080         Rename to __memcmp_default.
25081         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
25082         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
25083         (memcpy): Use __memcpy_default as alias source.
25084         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
25085         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
25086         Rename to __memcpy_default.
25087         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
25088         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
25089         (memset): Use __memset_default as alias source.
25090         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
25091         * sysdeps/s390/s390-64/memset.S (__memset_z900):
25092         Rename to __memset_default.
25093         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
25094         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
25096         [BZ #18610]
25097         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
25098         __ieee_instruction_pointer to __unused.
25099         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
25100         __ieee_instruction_pointer.
25101         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
25102         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
25103         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
25104         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
25105         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
25106         Mark dxc-field as reserved.
25108 2015-08-25  Roland McGrath  <roland@hack.frob.com>
25110         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
25111         if the weak reference is not null.
25113 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25115         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
25117         [BZ #11214]
25118         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
25120 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25122         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
25123         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
25124         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
25125         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
25126         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
25127         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
25128         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
25129         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
25130         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
25131         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
25132         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
25133         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
25134         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
25135         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
25136         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
25137         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
25138         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
25139         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
25141 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25143         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
25144         register other than r0 for tabort, it has special meaning.
25145         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
25146         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
25147         transaction before starting syscall.
25149 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25151         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
25153 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25155         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
25157         * sysdeps/x86_64/rtld-memcmp.c: Removed.
25158         * sysdeps/x86_64/rtld-memset.S: Likewise.
25159         * sysdeps/x86_64/rtld-strchr.S: Likewise.
25160         * sysdeps/x86_64/rtld-strlen.S: Likewise.
25161         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
25162         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
25164         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
25166 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
25168         * debug/strcpy_chk.c: Improve performance.
25169         * debug/stpcpy_chk.c: Likewise.
25170         * sysdeps/x86_64/strcpy_chk.S: Remove.
25171         * sysdeps/x86_64/stpcpy_chk.S: Remove.
25173         [BZ #18240]
25174         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
25176 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
25178         [BZ #15128]
25179         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
25180         ifuncmain8.
25181         (modules-names): Add ifuncmod8.
25182         ($(objpfx)ifuncmain8): New rule.
25183         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
25184         <cpuid.h>.
25185         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
25186         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
25187         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
25188         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
25189         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
25190         * sysdeps/x86_64/dl-trampoline.h: Likewise.
25191         * sysdeps/x86_64/ifuncmain8.c: New file.
25192         * sysdeps/x86_64/ifuncmod8.c: Likewise.
25193         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
25194         Removed.
25195         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
25196         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
25197         Change rtld_savespace_sse to __glibc_unused2.
25198         (RTLD_CHECK_FOREIGN_CALL): Removed.
25199         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
25200         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
25201         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
25203 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25205         * sysdeps/aarch64/bzero.S (__bzero): Remove.
25207 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
25209         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
25210         Unconditionally set __fpcr to avoid uninialized warning.
25211         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
25213 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25215         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
25216         is corrupt.
25218         * malloc/arena.c (arena_get2): Drop unused argument.
25219         (arena_lock): Adjust.
25220         (arena_get_retry): Likewise.
25222 2015-08-24  Andreas Schwab  <schwab@suse.de>
25224         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
25225         Don't define.
25226         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
25227         (__ASSUME_IPC64): Don't undef.
25228         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
25229         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
25230         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
25231         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
25232         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
25233         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
25234         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
25235         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
25236         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
25237         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
25238         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
25239         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
25240         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
25241         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
25242         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
25243         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
25244         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
25245         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
25246         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
25247         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
25248         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
25250 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
25252         * manual/Makefile (install): Only build manual when perl is available.
25254 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25256         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
25257         '#undef memcpy' by '#undef memchr'.
25259 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25261         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
25262         memchr not point to the internal __GI_memchr implementation.
25264 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25266         * timezone/Makefile (CFLAGS-zdump.c): Remove
25267         -Wno-strict-prototypes.
25268         (CFLAGS-zic.c): Likewise.
25269         (CFLAGS-ialloc.c): Likewise.
25270         (CFLAGS-scheck.c): Likewise.
25272         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
25273         -Wno-error=undef.
25275 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25277         * i386/i686/multiarch/strcasestr-c.c: Removed.
25278         * x86_64/multiarch/strcasestr.c: Likewise.
25279         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25280         Remove strcasestr.
25282 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
25284         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
25286         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
25287         variables for high and low parts before possibly modifying them.
25289 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25291         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
25292         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
25293         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
25294         of "multiarch/init-arch.h".
25295         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
25296         * sysdeps/x86/init-arch.h: This.
25298 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
25300         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
25301         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
25303 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
25305         [BZ #17787]
25306         * manual/macros.texi: Add twoexp macro.
25307         * manual/filesys.texi: Fix exponents.
25308         * manual/llio.texi: Likewise.
25309         * manual/stdio.texi: Likewise.
25311 2015-08-20  Florian Weimer  <fweimer@redhat.com>
25313         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
25314         incorrect use.
25316 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25318         [BZ #18370]
25319         * math/s_csqrt.c (__csqrt): Force underflow exception for results
25320         whose real or imaginary part has small absolute value.
25321         * math/s_csqrtf.c (__csqrtf): Likewise.
25322         * math/s_csqrtl.c (__csqrtl): Likewise.
25323         * math/auto-libm-test-in: Add more tests of csqrt.
25324         * math/auto-libm-test-out: Regenerated.
25325         * sysdeps/i386/fpu/libm-test-ulps: Update.
25327 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
25329         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
25330         __ppc_set_ppr_very_low): New functions.
25331         * manual/platform.texi: Add documentation about
25332         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
25334 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
25336         * string/stpncpy.c (stpncpy): Improve performance using
25337         __strnlen/memcpy/memset.
25339 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25341         [BZ #18796]
25342         * scripts/test-installation.pl: Don't add -lmvec to build options if
25343         libmvec wasn't built.
25345 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25347         [BZ #14341]
25348         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
25349         case when there is a gap between DT_REL and DT_JMPREL sections.
25350         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
25351         (LDFLAGS-tst-split-dynreloc): New.
25352         (tst-split-dynreloc-ENV): Likewise.
25353         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
25354         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
25356 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25358         [BZ #18822]
25359         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
25360         attribute_hidden.
25361         (__xstat64_conv): Likewise.
25362         (__xstat32_conv): Likewise.
25364 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25366         [BZ #18822]
25367         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
25368         Don't load %ebx when calling __setcontext.  Call __setcontext
25369         with HIDDEN_JUMPTARGET.
25370         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
25371         libc_hidden_def.
25373 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25375         * sysdeps/i386/i686/Makefile
25376         [$(subdir) == string] (sysdep_routines): Moved to ...
25377         * sysdeps/i386/Makefile: Here.
25378         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
25379         * sysdeps/i386/cacheinfo.c: Here.
25380         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
25381         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
25382         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
25383         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
25385 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
25387         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
25388         __i586__ is defined.
25389         (HAS_I686): Defined to 1 if __i686__ is defined.
25391 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
25393         * elf/Makefile [$(have-z-execstack) = yes]
25394         (CPPFLAGS-tst-execstack.c): New variable.
25396         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
25397         conditional to [defined UTMPX || _HAVE_UT_TYPE].
25398         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
25399         UTMPX || _HAVE_UT_TV].
25400         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
25401         UTMPX || _HAVE_UT_TV - 0].
25403 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
25405         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
25406         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
25407         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
25409 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25411         * sysdeps/powerpc/dl-procinfo.c:
25412         (_dl_powerpc_cap_flags): Added missing strings for some
25413         hwcap features.
25414         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
25416 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
25418         Port the 0x7efe...feff pattern to GCC 6.
25419         See Steve Ellcey's bug report in:
25420         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
25421         * string/memrchr.c (MEMRCHR):
25422         * string/rawmemchr.c (RAWMEMCHR):
25423         * string/strchr.c (strchr):
25424         * string/strchrnul.c (STRCHRNUL):
25425         Rewrite code to avoid issues with signed shift overflow.
25427 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
25429         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
25430         whether cpuid is available only if HAS_CPUID is 0.
25431         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
25432         (HAS_I586): Likewise.
25433         (HAS_I686): Likewise.
25435 2015-08-18  Zack Weinberg  <zackw@panix.com>
25437         * misc/Versions (libc): Add GLIBC_2.23.
25439 2015-08-18  Alan Modra  <amodra@gmail.com>
25441         [BZ #18421]
25442         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
25443         .Lp__global.
25444         (_start): Load %dp via .Lp__global.
25445         [!SHARED]: Use .section .rodata.
25447 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25449         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
25450         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
25452 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25454         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
25455         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
25457 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25459         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
25460         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
25462 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25464         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
25465         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
25467 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25469         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
25470         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
25472 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25474         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
25475         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
25477 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25479         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
25481 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25483         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
25484         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
25485         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25486         (__ASSUME_LWS_CAS): Delete.
25488 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
25490         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
25491         * sysdeps/hppa/configure: Regenerated.
25492         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
25493         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
25494         * sysdeps/hppa/nptl/tls.h: Likewise.
25496 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
25498         [BZ #18823]
25499         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
25500         for scaling up small arguments.
25501         * math/s_csqrtf.c (__csqrtf): Likewise.
25502         * math/s_csqrtl.c (__csqrtl): Likewise.
25503         * math/auto-libm-test-in: Add more tests of csqrt.
25504         * math/auto-libm-test-out: Regenerated.
25506 2015-08-17  Andreas Schwab  <schwab@suse.de>
25508         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
25509         version set GLIBC_2.19.
25511 2015-08-16  Zack Weinberg  <zackw@panix.com>
25513         [BZ #18681]
25514         * misc/regexp.h: This interface is no longer supported.
25515         Remove all contents, leaving only an #error directive.
25516         * misc/regexp.c (loc1, loc2, locs, step, advance):
25517         Demote to compatibility symbols.
25519 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
25521         [BZ #18084]
25522         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
25523         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
25524         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
25525         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
25526         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
25527         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
25528         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
25529         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
25530         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25532 2015-08-15  Zack Weinberg  <zackw@panix.com>
25534         [BZ #18795]
25535         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
25536         buffer length is known to be too large, not if it's known to be
25537         small enough.
25538         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
25539         overflow at runtime, involving a length parameter, twice: once
25540         with a compile-time constant length parameter, once without.
25542 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
25544         [BZ #18824]
25545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
25546         scaling x * y up instead of down.
25547         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25549         * math/auto-libm-test-in: Add more tests of fma.
25550         * math/auto-libm-test-out: Regenerated.
25552 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
25554         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25556 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25558         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
25559         unnecessary movq.
25560         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
25561         Likewise.
25563 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
25565         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25566         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
25567         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
25568         and tgamma.
25569         * math/auto-libm-test-out: Regenerated.
25570         * sysdeps/i386/fpu/libm-test-ulps: Update.
25571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25573         [BZ #16520]
25574         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
25575         (__tanh): Force underflow exception for arguments with small
25576         absolute value.
25577         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
25578         (__tanhf): Force underflow exception for arguments with small
25579         absolute value.
25580         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
25581         (__tanhl): Force underflow exception for arguments with small
25582         absolute value.
25583         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
25584         (__tanhl): Force underflow exception for arguments with small
25585         absolute value.
25586         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
25587         (__tanhl): Force underflow exception for arguments with small
25588         absolute value.
25589         * math/auto-libm-test-in: Add more tests of tanh.
25590         * math/auto-libm-test-out: Regenerated.
25591         * sysdeps/i386/fpu/libm-test-ulps: Update.
25593 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25595         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
25596         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
25598 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25600         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
25601         <cpuid.h>.
25603 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25605         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
25606         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
25608 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25610         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
25611         Remove $(objpfx)init-arch.o.
25612         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
25613         init-arch.
25614         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
25615         (INIT_ARCH_EXT): Defined as empty.
25616         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
25617         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
25618         __init_cpu_features call.  Replace HAS_XXX with
25619         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25620         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
25621         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
25622         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
25623         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
25624         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
25625         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
25626         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
25627         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
25628         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
25629         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
25630         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
25631         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
25632         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
25633         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
25634         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
25635         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
25636         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
25637         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
25638         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
25639         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
25640         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
25641         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
25642         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
25643         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
25644         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
25645         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
25646         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
25647         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
25648         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
25649         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
25650         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
25651         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
25652         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
25653         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
25654         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
25656 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25658         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
25659         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25660         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25661         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
25662         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
25663         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
25664         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
25665         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
25666         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
25667         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
25668         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
25669         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
25670         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25671         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25672         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25673         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25674         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25675         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25676         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25677         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25678         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25679         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25680         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25681         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25682         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25683         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25684         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25685         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25686         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25687         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25688         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25689         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25690         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25691         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25692         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25693         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25694         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25695         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25696         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25697         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25698         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25699         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25700         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25702 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25704         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
25705         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25706         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25707         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25708         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25709         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
25710         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25711         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
25712         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
25713         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25714         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25715         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
25716         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
25717         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
25718         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
25719         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
25720         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
25721         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
25722         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
25723         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
25724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
25725         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
25726         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
25727         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25728         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25729         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
25730         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
25731         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
25732         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
25733         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25734         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25735         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25736         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25737         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25738         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25739         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25740         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25741         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25742         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25743         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25744         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25745         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25746         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25748 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
25750         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
25751         (dl_platform_init): Call init_cpu_features.
25752         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
25753         * sysdeps/i386/i686/cacheinfo.c
25754         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
25755         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
25756         * sysdeps/i386/i686/multiarch/Versions: Removed.
25757         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
25758         Removed.
25759         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
25760         * sysdeps/unix/sysv/linux/x86/Makefile
25761         (libpthread-sysdep_routines): Remove init-arch.
25762         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
25763         <sysdeps/x86_64/dl-procinfo.c> instead of
25764         sysdeps/generic/dl-procinfo.c>.
25765         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
25766         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
25767         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
25768         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
25769         [$(subdir) == elf] (tests-static): Add
25770         tst-get-cpu-features-static.
25771         * sysdeps/x86/Versions: New file.
25772         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
25773         * sysdeps/x86/cpu-features.c: Likewise.
25774         * sysdeps/x86/cpu-features.h: Likewise.
25775         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
25776         * sysdeps/x86/libc-start.c: Likewise.
25777         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
25778         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
25779         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
25780         * sysdeps/x86_64/dl-procinfo.c: Likewise.
25781         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
25782         Assume USE_MULTIARCH is defined and don't check it.
25783         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
25784         (is_amd): Likewise.
25785         (max_cpuid): Likewise.
25786         (intel_check_word): Likewise.
25787         (__cache_sysconf): Don't call __init_cpu_features.
25788         (__x86_preferred_memory_instruction): Removed.
25789         (init_cacheinfo): Don't call __init_cpu_features. Replace
25790         __cpu_features with GLRO(dl_x86_cpu_features).
25791         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
25792         (dl_platform_init): Call init_cpu_features.
25793         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
25794         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
25795         * sysdeps/x86_64/multiarch/Versions: Removed.
25796         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
25797         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
25798         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
25799         Removed.
25800         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
25802 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25804         [BZ #18820]
25805         * libio/Makefile (test-fmemopen-mem): New test.
25806         * libio/test-fmemopen.c (do_bz18820): New test.
25807         * libio/fmemopen.c (__fmemopen): Fix memory leak.
25808         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
25810 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
25812         [BZ #16734]
25813         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
25814         (FREE_BUF): Delete.
25815         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
25816         * libio/genops.c (_IO_setb): Use malloc and free directly.
25817         (_IO_default_doallocate, _IO_default_finish): Likewise.
25818         ( _IO_unbuffer_all): Likewise.
25819         ( libc_freeres_fn): Likewise.
25820         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25821         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25822         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
25823         (_IO_wdefault_doallocate): Likewise.
25825 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25827         [BZ #18086]
25828         * sysdeps/posix/nice.c (nice): Restore old errno.
25829         * posix/tst-nice.c (do_test): Add test for BZ #18086.
25831 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
25833         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
25835 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25837         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
25838         __bcopy and add a weak_alias to bcopy.
25839         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
25840         for static build.
25842         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
25843         cleanup macro usage.
25844         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
25845         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
25846         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25847         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
25848         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25849         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
25850         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
25851         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25852         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
25853         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
25854         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25855         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
25856         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
25857         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
25858         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
25859         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
25860         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
25861         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
25862         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
25864         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
25865         libc_hidden_def.
25866         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
25868         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
25869         (sysdep_routines): Add strstr-ppc64.
25870         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
25872 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
25874         [BZ #18778]
25875         * elf/Makefile (tests): Add Add tst-nodelete2.
25876         (modules-names): Add tst-nodelete2mod.
25877         (tst-nodelete2mod.so-no-z-defs): New.
25878         ($(objpfx)tst-nodelete2): Likewise.
25879         ($(objpfx)tst-nodelete2.out): Likewise.
25880         (LDFLAGS-tst-nodelete2): Likewise.
25881         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
25882         out of loop through all loaded libraries.
25883         * elf/tst-nodelete2.c: New file.
25884         * elf/tst-nodelete2mod.c: Likewise.
25885         * elf/tst-znodelete-zlib.cc: Delete.
25887 2015-08-11  Andreas Schwab  <schwab@suse.de>
25889         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
25890         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
25891         (__openat64_nocancel): Likewise.
25893 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
25895         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
25896         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
25897         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
25898         * math/auto-libm-test-out: Regenerated.
25899         * sysdeps/i386/fpu/libm-test-ulps: Update.
25900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25902 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25904         [BZ #18790]
25905         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
25906         threshold for returning +/- 1.
25907         * math/auto-libm-test-in: Add more tests of tanh.
25908         * math/auto-libm-test-out: Regenerated.
25909         * sysdeps/i386/fpu/libm-test-ulps: Update.
25911 2015-08-10  Andreas Schwab  <schwab@suse.de>
25913         [BZ #18781]
25914         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
25915         MORE_OFLAGS to oflag.
25916         * io/test-lfs.c (do_test): Test openat64.
25918 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
25920         [BZ #18789]
25921         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
25922         smaller threshold for returning the argument.
25923         * math/auto-libm-test-in: Add more tests of sinh.
25924         * math/auto-libm-test-out: Regenerated.
25925         * sysdeps/i386/fpu/libm-test-ulps: Update.
25927 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
25929         [BZ #18674]
25930         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
25931         break.
25933 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
25935         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
25936         (generated): Don't add $(addprefix z.,$(tzfiles)).
25938 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25940         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
25941         * scripts/sysd-rules.awk: Likewise.
25943 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25945         * iconvdata/tst-tables.sh: Change echo -n to printf.
25946         * nss/db-Makefile: Likewise.
25947         * posix/tst-getconf.sh: Likewise.
25948         * stdio-common/tst-unbputc.sh: Likewise.
25950 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
25952         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
25953         MADV_*_PAGES defines behind this feature check.
25955 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
25957         [BZ #18480]
25958         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
25959         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
25960         Define.
25961         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
25962         LOAD_REGS_5, LOAD_REGS_6): Update.
25963         (INTERNAL_SYSCALL): Update using new LOAD defines.
25964         (INTERNAL_SYSCALL_NCS): Likewise.
25965         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
25967 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25969         [BZ #16734]
25970         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
25972 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25974         [BZ #17905]
25975         * catgets/Makefile (tst-catgets-mem): New test.
25976         * catgets/catgets.c (catopen): Don't use unbounded alloca.
25977         * catgets/open_catalog.c (__open_catalog): Likewise.
25978         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
25980 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
25982         [BZ #18787]
25983         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
25984         clobber registers.
25985         (atomic_compare_and_exchange_val_acq): Use register asms to assign
25986         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
25987         Cast return to __typeof (oldval).
25989 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
25991         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
25992         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
25993         and delete sys/syscall.h include.
25995 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
25997         [BZ #16517]
25998         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
25999         (tan): Force underflow exception for arguments with small absolute
26000         value.
26001         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
26002         (__kernel_tanf): Force underflow exception for arguments with
26003         small absolute value.
26004         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
26005         (__kernel_tanl): Force underflow exception for arguments with
26006         small absolute value.
26007         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
26008         (__kernel_tanl): Force underflow exception for arguments with
26009         small absolute value.
26010         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
26011         (__kernel_tanl): Force underflow exception for arguments with
26012         small absolute value.
26013         * math/auto-libm-test-in: Add more tests of tan.
26014         * math/auto-libm-test-out: Regenerated.
26016 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26018         Fix sysdeps/i386/fpu/s_scalbn.S build
26020         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
26022 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
26024         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26026 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26028         Fix gcrt0.o compilation
26030         When static-start-installed-name is different from
26031         start-installed-name, we must not use the shared objects.
26033         * csu/Makefile
26034         (extra-objs): Add gmon-start.o when building shared library and
26035         $(static-start-installed-name) is different from
26036         $(start-installed-name).
26037         $(objpfx)g$(static-start-installed-name): When building shared
26038         library and $(static-start-installed-name) is different from
26039         $(static-start-installed-name), revert to non-shared rule,
26040         i.e. using $(objpfx)% and gmon-start.o.
26042 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
26044         [BZ #16519]
26045         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
26046         (__ieee754_sinh): Force underflow exception for arguments with
26047         small absolute value.
26048         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
26049         (__ieee754_sinhf): Force underflow exception for arguments with
26050         small absolute value.
26051         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
26052         (__ieee754_sinhl): Force underflow exception for arguments with
26053         small absolute value.
26054         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
26055         (__ieee754_sinhl): Force underflow exception for arguments with
26056         small absolute value.
26057         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
26058         (__ieee754_sinhl): Force underflow exception for arguments with
26059         small absolute value.
26060         * math/auto-libm-test-in: Add more tests of sinh.
26061         * math/auto-libm-test-out: Regenerated.
26062         * sysdeps/i386/fpu/libm-test-ulps: Update.
26064 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26066         * libio/oldfileops.c: Include unistd.h.
26068 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
26070         * stdlib/isomac.c: Include ctype.h.
26072 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
26074         * dirent/tst-seekdir.c (main): Converted to ...
26075         (do_test): ... this.
26076         (TEST_FUNCTION): New macro.
26077         Include test-skeleton.c.
26078         * elf/tst-dlmodcount.c (main): Converted to ...
26079         (do_test): ... this.
26080         (TEST_FUNCTION): New macro.
26081         Include test-skeleton.c.
26082         * elf/tst-order-main.c (main): Converted to ...
26083         (do_test): ... this.
26084         (TEST_FUNCTION): New macro.
26085         Include test-skeleton.c.
26086         * elf/tst-pie2.c (main): Converted to ...
26087         (do_test): ... this.
26088         (TEST_FUNCTION): New macro.
26089         Include test-skeleton.c.
26090         * inet/tst-ether_aton.c (main): Converted to ...
26091         (do_test): ... this.
26092         (TEST_FUNCTION): New macro.
26093         Include test-skeleton.c.
26094         * misc/tst-mntent.c (main): Converted to ...
26095         (do_test): ... this.
26096         (TEST_FUNCTION): New macro.
26097         Include test-skeleton.c.
26098         * misc/tst-tsearch.c (main): Converted to ...
26099         (do_test): ... this.
26100         (TEST_FUNCTION): New macro.
26101         Include test-skeleton.c.
26102         * posix/tst-regexloc.c (main): Converted to ...
26103         (do_test): ... this.
26104         (TEST_FUNCTION): New macro.
26105         Include test-skeleton.c.
26106         * resolv/tst-aton.c (main): Converted to ...
26107         (do_test): ... this.
26108         (TEST_FUNCTION): New macro.
26109         Include test-skeleton.c.
26110         * stdio-common/test-fwrite.c (main): Converted to ...
26111         (do_test): ... this.
26112         (TEST_FUNCTION): New macro.
26113         Include test-skeleton.c.
26114         * stdio-common/tst-ferror.c (main): Converted to ...
26115         (do_test): ... this.
26116         (TEST_FUNCTION): New macro.
26117         Include test-skeleton.c.
26118         * stdio-common/tst-printf.c (main): Converted to ...
26119         (do_test): ... this.
26120         (TEST_FUNCTION): New macro.
26121         Include test-skeleton.c.
26122         * stdio-common/tst-printfsz.c (main): Converted to ...
26123         (do_test): ... this.
26124         (TEST_FUNCTION): New macro.
26125         Include test-skeleton.c.
26126         * stdlib/tst-strtod.c (main): Converted to ...
26127         (do_test): ... this.
26128         (TEST_FUNCTION): New macro.
26129         Include test-skeleton.c.
26130         * string/tst-strlen.c (main): Converted to ...
26131         (do_test): ... this.
26132         (TEST_FUNCTION): New macro.
26133         Include test-skeleton.c.
26134         * string/tst-svc.c (main): Converted to ...
26135         (do_test): ... this.
26136         (TEST_FUNCTION): New macro.
26137         Include test-skeleton.c.
26138         * time/tst-strptime.c (main): Converted to ...
26139         (do_test): ... this.
26140         (TEST_FUNCTION): New macro.
26141         Include test-skeleton.c.
26142         * timezone/tst-timezone.c (main): Converted to ...
26143         (do_test): ... this.
26144         (TEST_FUNCTION): New macro.
26145         Include test-skeleton.c.
26147 2015-08-05  Zack Weinberg  <zackw@panix.com>
26149         * misc/regexp.h: Update comments.
26151 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
26153         [BZ #18635]
26154         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
26155         before return label.
26157 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26159         [BZ #18661]
26160         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
26161         when calling __errno_location.
26162         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
26163         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
26165 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26167         [BZ #18661]
26168         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
26169         (__lll_timedwait_tid): Align stack to 16 bytes when calling
26170         __gettimeofday.
26172 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26174         [BZ #18661]
26175         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26176         (__start_context): Don't use pop to restore %rdi so that stack
26177         is aligned to 16 bytes when calling __setcontext.
26179 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26181         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
26182         only for libc.
26183         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26185 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26187         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
26188         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
26189         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
26191 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26193         * string/memccpy.c (memccpy):
26194         Improve performance by using memchr/memcpy/__mempcpy.
26196 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26198         * string/strncpy.c (strncpy):
26199         Improve performance by using __strnlen/memcpy.
26201 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26203         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
26204         Optimize to avoid an unnecessary FPCR read.
26206 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
26208         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
26209         Optimize to reduce FPCR/FPSR accesses.
26211 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
26213         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
26214         dead->data[category] != NULL.
26216 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
26218         [BZ #18647]
26219         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
26220         and |x| close to 1, use absolute value of x when computing log.
26221         * math/auto-libm-test-in: Add more tests of pow.
26222         * math/auto-libm-test-out: Regenerated.
26224 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26226         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
26227         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
26228         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
26230 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
26232         [BZ #18525]
26233         * locales/km_KH: Remove timezone definition.
26234         * locales/lo_LA: Likewise.
26235         * locales/my_MM: Likewise.
26236         * locales/nan_TW@latin: Likewise.
26237         * locales/th_TH: Likewise.
26238         * locales/uk_UA: Likewise.
26240 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
26242         [BZ #18265]
26243         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
26244         (wcsncat): Likewise.
26245         (wcscmp): Likewise.
26246         (wcsncmp): Likewise.
26248 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26250         * test-skeleton.c (usage): New function.
26251         (main): Call usage when opt is '?'.
26253 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26255         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
26256         before first use.
26258 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
26260         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
26261         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
26262         in there too.
26264 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
26266         * version.h (RELEASE): Set to "development".
26267         (VERSION): Set to "2.22.90"
26269         * version.h (RELEASE): Set to "stable".
26270         (VERSION): Set to "2.22"
26271         * include/features.h (__GLIBC_MINOR__): Set to 22.
26273 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
26275         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
26276         Restructure macro to avoid "value computed is not used" warning.
26277         (atomic_compare_and_exchange_val_acq): Likewise.
26279 2015-08-04  Andreas Schwab  <schwab@suse.de>
26281         [BZ #18635]
26282         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
26283         ret.
26284         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
26286 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
26288         * po/pl.po: Updated translation.
26289         * po/uk.po: Likewise.
26290         * po/fi.po: Likewise.
26291         * po/ko.po: Likewise.
26292         * po/ru.po: Likewise.
26293         * po/vi.po: Likewise.
26295 2015-07-31  Zack Weinberg  <zackw@panix.com>
26297         [BZ #18681]
26298         * regexp.h: Add unconditional #warning stating that this header
26299         will be removed soon.  Revise banner comment to match.
26300         (compile): Consistently use ERROR instead of RETURN to report
26301         errors (partial fix for bz#18681).
26302         * regexp.c: Don't include regexp.h. Remove some unnecessary
26303         declarations.
26305 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
26307         * po/libc.pot: Regenerated.
26309 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26311         [BZ #18740]
26312         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
26313         float-vlen4-arch-ext-cflags): Removed.
26314         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
26315         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
26317 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26319         [BZ #14113]
26320         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
26321         aligned to __aligned__.
26322         (pthread_cond_t, pthread_rwlock_t): Likewise.
26324 2015-07-30  Torvald Riegel  <triegel@redhat.com>
26326         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
26328 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26330         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
26331         (struct sigaction): Change sa_flags from a long to an int, and add
26332         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
26334 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26336         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
26337         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
26338         sysdeps/generic/sysdep.h include.
26339         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
26340         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
26341         sysdeps/hppa/sysdep.h.
26342         (ENTRY, PSEUDO): Undefine before defining.
26344 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
26346         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
26347         from scratch to use INTERNAL_SYSCALL.
26349 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
26351         [BZ #18078]
26352         * scripts/check-localplt.awk: Support alternate relocations.
26353         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
26354         sections.
26355         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
26356         malloc entries with + REL R_386_GLOB_DAT.
26357         * sysdeps/x86_64/localplt.data: New file.
26359 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
26361         [BZ #18731]
26362         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
26363         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26364         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
26366 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26368         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
26370 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26372         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
26373         directly in terms of __sync_fetch_and_add and delete (int) cast.
26375 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26377         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
26378         the -D_ASM_IA64_CURRENT_H flag.
26380 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
26382         [BZ #18641]
26383         * pwd/pwd.h (putpwent): Delete __nonnull markings.
26385 2015-07-27  Andreas Schwab  <schwab@suse.de>
26387         * conform/conformtest.pl (checknamespace): Filter out string
26388         literals while tokenizing.
26390 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26392         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26393         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
26394         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26396 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
26398         * nptl/tst-join7mod.c: Add #include <string.h>.
26400 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26402         * sysdeps/nios2/libm-test-ulps: Update.
26404 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
26406         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
26407         Fix order of arguments to the rt_sigprocmask syscall.
26408         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
26409         Likewise.
26411 2015-07-24  Roland McGrath  <roland@hack.frob.com>
26413         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
26415 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26417         [BZ #18457]
26418         * nptl/Makefile (tests): New test case tst-join7.
26419         (modules-names): New test case module tst-join7mod.
26420         * nptl/tst-join7.c: New file.
26421         * nptl/tst-join7mod.c: New file.
26422         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
26423         all translation units in libc.so, libpthread.so and rtld.
26425 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26429 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
26431         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
26432         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
26433         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
26434         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
26435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
26436         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
26437         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
26438         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
26439         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
26440         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
26441         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
26442         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
26443         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
26444         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
26445         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
26446         implementation.
26448 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26450         [BZ #17711]
26451         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26452         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
26453         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26454         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
26455         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
26456         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
26458 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26460         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
26461         instead of just saying load lock in the comments.
26463 2015-07-23  Roland McGrath  <roland@hack.frob.com>
26465         * sysdeps/unix/Subdirs: Moved ...
26466         * sysdeps/posix/Subdirs: ... here.
26467         * login/pty.h (struct termios, struct winsize): Add forward decls.
26468         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
26469         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
26470         * sysdeps/arm/nacl/libc.abilist: Updated.
26471         * sysdeps/nacl/libutil.abilist: New file.
26473         * bits/signum.h: Update comments to mention 1003.1-2013 too.
26474         (SIGWINCH): New macro.
26476         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
26477         * sysdeps/arm/nacl/libc.abilist: Add it.
26479 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26481         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
26483 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
26485         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26486         Swap __glibc_reserved0 and sa_flags order.
26488 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26490         [BZ #18657]
26491         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
26492         are pending TLS destructor calls.
26493         * include/link.h (struct link_map): Add concurrency note for
26494         L_TLS_DTOR_COUNT.
26495         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26496         Don't touch the link map flag.  Atomically increment
26497         l_tls_dtor_count.
26498         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
26499         Avoid taking the load lock and don't touch the link map flag.
26500         * stdlib/tst-tls-atexit-nodelete.c: New test case.
26501         * stdlib/Makefile (tests): Use it.
26502         * stdlib/tst-tls-atexit.c (do_test): dlopen
26503         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
26504         to allow tst-tls-atexit-nodelete test case to use it.
26506 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26508         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
26509         to bits/types.h.
26510         (msgqnum_t): New typedef.
26511         (msglen_t): Likewise.
26512         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
26513         and msg_qbytes type to msglen_t.
26515 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26517         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
26518         pad0 to __glibc_reserved0.
26519         (struct stat64): Likewise.
26521 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26523         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
26524         Change sa_flags from a long to an int and add __glibc_reserved0 before
26525         it for padding.
26527 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
26529         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
26530         anonymous by deleting "siginfo" name.
26532 2015-07-21  Roland McGrath  <roland@hack.frob.com>
26534         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
26535         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
26536         rather than __nacl_irt_filename.
26537         * sysdeps/nacl/xstat.c (__xstat): Likewise.
26539         * NEWS: New item for arm-nacl port.
26540         * sysdeps/arm/nacl/libc.abilist: New file.
26541         * sysdeps/nacl/ld.abilist: New file.
26542         * sysdeps/nacl/libBrokenLocale.abilist: New file.
26543         * sysdeps/nacl/libanl.abilist: New file.
26544         * sysdeps/nacl/libcrypt.abilist: New file.
26545         * sysdeps/nacl/libdl.abilist: New file.
26546         * sysdeps/nacl/libm.abilist: New file.
26547         * sysdeps/nacl/libpthread.abilist: New file.
26548         * sysdeps/nacl/libresolv.abilist: New file.
26549         * sysdeps/nacl/librt.abilist: New file.
26551 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
26553         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
26554         __startcontext to initialize the new context.
26555         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
26556         up CFI directive to forbid further backtracing.
26558 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
26560         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
26561         reference.
26562         * charmaps/ANSI_X3.4-1968: Likewise.
26563         * charmaps/BS_4730: Likewise.
26564         * charmaps/BS_VIEWDATA: Likewise.
26565         * charmaps/CP1250: Likewise.
26566         * charmaps/CP1251: Likewise.
26567         * charmaps/CP1252: Likewise.
26568         * charmaps/CP1253: Likewise.
26569         * charmaps/CP1254: Likewise.
26570         * charmaps/CP1255: Likewise.
26571         * charmaps/CP1256: Likewise.
26572         * charmaps/CSN_369103: Likewise.
26573         * charmaps/EBCDIC-DK-NO: Likewise.
26574         * charmaps/GB_1988-80: Likewise.
26575         * charmaps/GREEK-CCITT: Likewise.
26576         * charmaps/GREEK7: Likewise.
26577         * charmaps/INIS-8: Likewise.
26578         * charmaps/ISIRI-3342: Likewise.
26579         * charmaps/ISO_2033-1983: Likewise.
26580         * charmaps/ISO_5427-EXT: Likewise.
26581         * locales/POSIX: Likewise.
26582         * locales/ar_SA: Likewise.
26583         * locales/be_BY: Likewise.
26584         * locales/be_BY@latin: Likewise.
26585         * locales/ca_ES: Likewise.
26586         * locales/cs_CZ: Likewise.
26587         * locales/da_DK: Likewise.
26588         * locales/de_BE: Likewise.
26589         * locales/de_CH: Likewise.
26590         * locales/de_LU: Likewise.
26591         * locales/en_AU: Likewise.
26592         * locales/en_BW: Likewise.
26593         * locales/en_CA: Likewise.
26594         * locales/en_DK: Likewise.
26595         * locales/en_GB: Likewise.
26596         * locales/en_IE: Likewise.
26597         * locales/en_NZ: Likewise.
26598         * locales/en_ZA: Likewise.
26599         * locales/en_ZW: Likewise.
26600         * locales/es_AR: Likewise.
26601         * locales/es_BO: Likewise.
26602         * locales/es_CL: Likewise.
26603         * locales/es_CO: Likewise.
26604         * locales/es_DO: Likewise.
26605         * locales/es_EC: Likewise.
26606         * locales/es_ES: Likewise.
26607         * locales/es_HN: Likewise.
26608         * locales/es_MX: Likewise.
26609         * locales/es_PA: Likewise.
26610         * locales/es_PE: Likewise.
26611         * locales/es_PY: Likewise.
26612         * locales/es_SV: Likewise.
26613         * locales/es_US: Likewise.
26614         * locales/es_UY: Likewise.
26615         * locales/es_VE: Likewise.
26616         * locales/et_EE: Likewise.
26617         * locales/fa_IR: Likewise.
26618         * locales/fo_FO: Likewise.
26619         * locales/fr_CA: Likewise.
26620         * locales/fr_CH: Likewise.
26621         * locales/gv_GB: Likewise.
26622         * locales/he_IL: Likewise.
26623         * locales/hr_HR: Likewise.
26624         * locales/id_ID: Likewise.
26625         * locales/is_IS: Likewise.
26626         * locales/it_CH: Likewise.
26627         * locales/iw_IL: Likewise.
26628         * locales/kl_GL: Likewise.
26629         * locales/ko_KR: Likewise.
26630         * locales/kw_GB: Likewise.
26631         * locales/lg_UG: Likewise.
26632         * locales/lt_LT: Likewise.
26633         * locales/lv_LV: Likewise.
26634         * locales/mi_NZ: Likewise.
26635         * locales/nhn_MX: Likewise.
26636         * locales/nl_BE: Likewise.
26637         * locales/pl_PL: Likewise.
26638         * locales/sk_SK: Likewise.
26639         * locales/sl_SI: Likewise.
26640         * locales/sv_FI: Likewise.
26641         * locales/tl_PH: Likewise.
26642         * locales/tr_TR: Likewise.
26643         * locales/vi_VN: Likewise.
26645 2015-07-21  Khem Raj  <raj.khem@gmail.com>
26647         [BZ #17475]
26648         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
26649         of tu_IN and bh_IN.
26651 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
26653         [BZ #18694]
26654         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
26655         bits/wordsize.h.
26656         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
26658 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26660         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
26661         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
26662         (spawn_thread): New function.
26663         (load): Rename to reg_dtor_and_close.  Move dlopen to...
26664         (do_test): ... here.  Use IS_LOADED to test for its
26665         availability.
26667 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
26669         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26671 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
26673         [BZ #18696]
26674         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
26675         si_addr_bnd.
26676         (si_lower): New.
26677         (si_upper): Likewise.
26679 2015-07-16  David S. Miller  <davem@davemloft.net>
26681         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
26683 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26685         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
26686         buffer.
26687         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
26688         fail output information.
26690 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
26693         and strstr-ppc64..
26694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
26695         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
26696         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
26697         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
26698         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
26700 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26702         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26703         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26704         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
26705         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26707 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
26709         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
26710         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
26711         rtld_hidden_proto.
26712         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
26714 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26716         * tst-nodelete-opened.c (do_test): Add comment to clarify how
26717         the test can fail.
26719         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
26721         [BZ #18676]
26722         * elf/tst-nodelete-opened.c: New test case.
26723         * elf/tst-nodelete-opened-lib.c: New test case module.
26724         * elf/Makefile (tests, modules-names): Use them.
26725         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
26726         early.
26728 2015-07-15  David S. Miller  <davem@davemloft.net>
26730         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
26731         futex-intenal.h
26732         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
26733         * sysdeps/sparc/sparc64/Makefile: Likewise.
26734         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
26735         Remove space from macro define.
26736         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
26738 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
26740         [BZ #17475]
26741         * locale/iso-639.def: Update Bhili and Tulu language codes as
26742         per iso639-3.
26744 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
26746         * elf/tst-leaks1.c (main): Converted to ...
26747         (do_test): ... this.
26748         (TEST_FUNCTION): New macro.
26749         Include test-skeleton.c.
26750         * localedata/tst-langinfo.c (main): Converted to ...
26751         (do_test): ... this.
26752         (TEST_FUNCTION): New macro.
26753         Include test-skeleton.c.
26754         * math/test-fpucw.c (main): Converted to ...
26755         (do_test): ... this.
26756         (TEST_FUNCTION): New macro.
26757         Include test-skeleton.c.
26758         * math/test-tgmath.c (main): Converted to ...
26759         (do_test): ... this.
26760         (TEST_FUNCTION): New macro.
26761         Include test-skeleton.c.
26762         * math/test-tgmath2.c (main): Converted to ...
26763         (do_test): ... this.
26764         (TEST_FUNCTION): New macro.
26765         Include test-skeleton.c.
26766         * setjmp/tst-setjmp.c (main): Converted to ...
26767         (do_test): ... this.
26768         (TEST_FUNCTION): New macro.
26769         Include test-skeleton.c.
26770         * stdio-common/tst-sscanf.c (main): Converted to ...
26771         (do_test): ... this.
26772         (TEST_FUNCTION): New macro.
26773         Include test-skeleton.c.
26774         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
26775         (do_test): ... this.
26776         (TEST_FUNCTION): New macro.
26777         Include test-skeleton.c.
26779         * elf/tst-audit9.c (main): Converted to ...
26780         (do_test): ... this.
26781         (TEST_FUNCTION): New macro.
26782         Include test-skeleton.c.
26784 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
26786         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
26788 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26790         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
26791         New variable.
26793 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
26795         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
26797 2015-07-14  Roland McGrath  <roland@hack.frob.com>
26799         * sysdeps/generic/dl-fileid.h: New file.
26800         * sysdeps/posix/dl-fileid.h: New file.
26801         * sysdeps/nacl/dl-fileid.h: New file.
26802         * include/link.h: Include <dl-fileid.h>.
26803         (struct link_map): Replace l_dev and l_ino with l_file_id.
26804         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
26805         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
26806         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
26808 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26810         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
26812 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26814         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
26815         Add iff $CXX is set.
26816         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
26817         Likewise.
26818         (tst-nodelete-zmodiff): Likewise.
26819         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
26821 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26823         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
26825 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26827         * sysdeps/aarch64/fpu/math_private.h
26828         (define math_opt_barrier): Add AArch64 version.
26829         (math_force_eval): Likewise.
26831 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
26833         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
26835 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
26837         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
26838         %ld with %jd and cast to intmax_t.
26839         (do_test_length_zero): Likewise.
26841 2015-07-10  Roland McGrath  <roland@hack.frob.com>
26843         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
26845 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
26847         * sysdeps/tile/libm-test-ulps: Regenerated.
26849         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
26850         Comment out the whole function, not just its body.
26852 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26854         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
26855         locks.
26857         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
26859 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26861         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
26862         (sem_assume_only_signals_cause_futex_EINTR): Remove.
26864 2015-07-10  Torvald Riegel  <triegel@redhat.com>
26866         * sysdeps/nptl/futex-internal.h: New file.
26867         * sysdeps/nacl/futex-internal.h: New file.
26868         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
26869         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
26870         error checking.
26871         (setxid_unmark_thread): Likewise.
26872         (__nptl_setxid): Likewise.
26873         (__wait_lookup_done): Likewise.
26874         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
26875         * nptl/nptl-init.c (sighandler_setxid): Likewise.
26876         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
26877         * nptl/pthread_once.c (clear_once_control): Likewise.
26878         (__pthread_once_slow): Likewise.
26879         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
26880         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
26881         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
26882         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
26883         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
26884         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
26885         Likewise.
26886         (__pthread_rwlock_rdlock): Likewise.
26887         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26888         Likewise.
26889         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
26890         Likewise.
26891         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26892         Likewise.
26893         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
26894         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
26895         Likewise.
26896         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
26897         __ASSUME_PRIVATE_FUTEX check.
26898         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
26899         Check that shared futexes are supported.
26900         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
26901         wrappers with error checking.
26902         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
26903         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
26904         * nptl/pthread_barrierattr_setpshared.c
26905         (pthread_barrierattr_setpshared): Check that shared futexes are
26906         supported.
26907         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
26908         Likewise.
26909         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
26910         Likewise.
26911         * nptl/sem_init.c (futex_private_if_supported): Remove.
26912         (__new_sem_init): Adapt and check that shared futexes are supported.
26913         * nptl/sem_open.c (sem_open): Likewise.
26914         * nptl/sem_post.c (futex_wake): Remove.
26915         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
26916         (do_futex_wait): Use futex wrappers with error checking.
26917         * nptl/sem_wait.c: Include lowlevellock.h.
26918         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
26919         Use futex_supports_pshared.
26920         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
26921         Use futex wrappers with error checking.
26922         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
26923         Likewise.
26924         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
26925         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
26926         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
26927         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
26928         (futex_wake): Likewise.
26929         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
26930         (do_futex_wait): Use futex wrappers with error checking.
26931         (__new_sem_wait_slow): Update EINTR handling.
26932         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
26934 2015-07-09  Martin Sebor  <msebor@redhat.com>
26936         [BZ #18435]
26937         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
26938         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
26939         * nptl/Makefile (test-xfail-tst-once5): Define.
26941 2015-07-09  Roland McGrath  <roland@hack.frob.com>
26943         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
26944         * elf/dl-minimal.c: For readability, reorder some definitions and
26945         introduce more page breaks.  Include <stdio.h>.
26946         (__libc_fatal): New function.
26948         * include/unistd.h: Add rtld_hidden_proto for _exit.
26949         * posix/_exit.c: Add rtld_hidden_def.
26950         * sysdeps/mach/hurd/_exit.c: Likewise.
26951         * sysdeps/nacl/_exit.c: Likewise.
26952         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
26953         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
26955 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
26957         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
26958         bndmov encoding with zero displacement.
26960 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
26961             H.J. Lu  <hongjiu.lu@intel.com>
26963         [BZ #18134]
26964         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
26965         * sysdeps/i386/configure: Regenerated.
26966         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
26967         (_dl_runtime_profile): Save and restore Intel MPX return bound
26968         registers when calling _dl_call_pltexit.  Add
26969         PRESERVE_BND_REGS_PREFIX before return.
26970         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
26971         (LRV_BND1_OFFSET): Likewise.
26972         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
26973         lrv_bnd1.
26974         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
26975         typo in bndmov encoding.
26976         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
26977         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
26978         branch instructions to preserve bounds.
26980 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
26983         [GLIBC_2.22]: Add fmemopen.
26985 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26987         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
26988         returns an error, also try to use host port from __mach_host_self for
26989         the __vm_wire call.
26990         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
26992 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26994         [BZ #18400]
26995         [BZ #18648]
26996         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
26997         Fix pr_uid and pr_gid members.
26998         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
26999         definition to elf_greg_t.
27001 2015-07-08  Roland McGrath  <roland@hack.frob.com>
27003         [BZ #18383]
27004         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
27005         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
27006         * sysdeps/arm/configure: Regenerated.
27007         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
27008         (test-xfail-tst-tlsalign-static): Variable removed.
27010         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
27011         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
27012         rather than explicit 'ln -s'.
27014         * resolv/rpc/netdb.h: New file.
27015         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
27017 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27019         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
27020         length buffers.
27021         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27022         test-skeleton.c.
27024         [BZ #6544]
27025         [BZ #11216]
27026         [BZ #12836]
27027         [BZ #13151]
27028         [BZ #13152]
27029         [BZ #14292]
27030         * include/stdio.h (fmemopen): Remove hidden prototype.
27031         (__fmemopen): Add new hidden prototype.
27032         * libio/Makefile: Add oldfmemopen object.
27033         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
27034         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
27035         compliance.
27036         * libio/oldfmemopen.c: New file: old fmemopen implementation for
27037         symbol compatibility.
27038         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
27039         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
27040         fmemopen.
27041         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
27042         on append and read mode.
27043         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
27044         fmemopen.
27045         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
27046         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
27047         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
27048         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
27049         Likewise.
27050         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
27051         [GLIBC_2.22]: Likewise.
27052         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
27053         Likewise.
27054         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
27055         Likewise.
27056         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
27057         [GLIBC_2.22]: Likewise.
27058         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
27059         [GLIBC_2.22]: Likewise.
27060         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
27061         [GLIBC_2.22]: Likewise.
27062         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
27063         [GLIBC_2.22]: Likewise.
27064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
27065         [GLIBC_2.22]: Likewise.
27066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
27067         [GLIBC_2.22]: Likewise.
27068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
27069         [GLIBC_2.22]: Likewise.
27070         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
27071         Likewise.
27072         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
27073         Likewise.
27074         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
27075         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
27076         [GLIBC_2.22]: Likewise.
27077         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
27078         [GLIBC_2.22]: Likewise.
27079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
27080         [GLIBC_2.22]: Likewise.
27081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
27082         [GLIBC_2.22]: Likewise.
27083         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
27084         Likewise.
27085         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
27086         Likewise.
27087         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
27088         Likewise.
27089         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
27090         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
27092 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27094         [BZ #18643]
27095         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
27096         IPV6_PATHMTU, and IPV6_DONTFRAG.
27098 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
27100         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
27101         and _IO_UNBUFFERED.
27102         * libio/oldfileops.c: Likewise.
27103         * libio/wfileops.c: Likewise.
27105 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27107         * nscd/selinux.c: Delete selinux/flask.h include.
27109 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
27111         [BZ #18641]
27112         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
27113         (putpwent): Likewise.
27114         (getpwnam): Likewise.
27115         (getpwent_r): Likewise.
27116         (getpwuid_r): Likewise.
27117         (getpwnam_r): Likewise.
27118         (fgetpwent_r): Likewise.
27120 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
27122         [BZ #18557]
27123         * inet/rcmd.c (__validuser2_sa): Check user first to
27124         short-circuit host check.
27126 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
27127             Mikhail Ilin  <m.ilin@samsung.com>
27129         [BZ #17833]
27130         * elf/Makefile (tests): Add tst-nodelete.
27131         (modules-names): Add tst-nodelete-uniquemod.
27132         (tst-nodelete-uniquemod.so-no-z-defs): New.
27133         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
27134         (tst-nodelete-zmod.so-no-z-defs): Likewise.
27135         ($(objpfx)tst-nodelete): Likewise.
27136         ($(objpfx)tst-nodelete.out): Likewise.
27137         (LDFLAGS-tst-nodelete): Likewise.
27138         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
27139         * elf/dl-close.c (_dl_close_worker): Add a parameter to
27140         implement forced object deletion.
27141         (_dl_close): Pass false to _dl_close_worker.
27142         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
27143         * elf/tst-nodelete.cc: New file.
27144         * elf/tst-nodeletelib.cc: Likewise.
27145         * elf/tst-znodeletelib.cc: Likewise.
27146         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
27148 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27150         [BZ #18508]
27151         * stdlib/Makefile ($(objpfx)tst-makecontext3):
27152         Depend on $(libdl).
27153         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
27154         is not called infinitely times.
27155         (backtrace_helper): New function.
27156         (trace_arg): New struct.
27157         (st1): Enlarge stack size.
27158         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27159         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
27160         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27161         Likewise.
27163 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27165         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27167 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
27169         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
27170         Include sys/types.h instead of bits/types.h.
27171         Remove inclusion of bits/wordsize.h.
27173 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27175         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
27176         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
27177         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
27178         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
27179         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
27180         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
27182 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27184         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
27185         link-defines.sym.
27186         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
27187         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
27188         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
27189         and LR_SIZE.
27190         * sysdeps/i386/link-defines.sym: New file.
27192 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
27194         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
27195         (modules-names): Add tst-auditmod3a tst-auditmod3b.
27196         ($(objpfx)tst-audit3): New rule.
27197         ($(objpfx)tst-audit3.out): Likewise.
27198         * sysdeps/i386/tst-audit3.c: New file.
27199         * sysdeps/i386/tst-audit3.h: Likewise.
27200         * sysdeps/i386/tst-auditmod3a.c: Likewise.
27201         * sysdeps/i386/tst-auditmod3b.c: Likewise.
27203 2015-07-07  Torvald Riegel  <triegel@redhat.com>
27205         [BZ #18633]
27206         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
27207         pointer in C code.
27208         (__strcat_c): Likewise.
27209         (__strcat_g): Likewise.
27211 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
27213         [BZ #18592]
27214         * misc/sbrk.c: Set errno to ENOMEM on overflow.
27216 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27218         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
27219         New function.  (__ieee754_sqrtf): New function.
27220         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
27221         New function.
27222         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
27223         New function.
27225 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
27227         * sysdeps/ieee754/support.c: Remove unused file.
27229 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27231         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
27232         registers instead of d ones so the layout is kernel abi compatible.
27233         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
27234         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
27235         Likewise.
27237 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27239         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27241 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27243         [BZ #18619]
27244         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
27245         and return argument in case of subnormal argument.
27247 2015-07-01  Martin Sebor  <msebor@redhat.com>
27249         [BZ #18435]
27250         * nptl/Makefile: Add tst-once5.cc.
27251         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
27252         Remove macro redefinitions.
27253         * nptl/tst-once5.cc: New test.
27255 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
27257         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27259         * sysdeps/arm/libm-test-ulps: Regenerated.
27261         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27262         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27264 2015-06-30  Torvald Riegel  <triegel@redhat.com>
27266         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
27267         lll_lock_wait_private and lll_futex_wake probes.
27269         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27270         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
27271         Likewise.
27272         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
27273         atomic_spin_nop.
27274         * sysdeps/x86_64/bits/atomic.h: Likewise.
27275         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
27276         to atomic_spin_nop and move ...
27277         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
27278         ... here and ...
27279         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
27280         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
27281         atomic_spin_nop instead of BUSY_WAIT_NOP.
27282         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
27283         Likewise.
27284         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
27285         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
27286         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
27287         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
27288         instead of atomic_delay.
27290 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
27292         [BZ #18613]
27293         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
27294         X_ADJ not X when adjusting exponent.
27295         (__ieee754_gamma_r): Do intermediate computations in
27296         round-to-nearest then adjust overflowing and underflowing results
27297         as needed.
27298         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
27299         of X_ADJ not X when adjusting exponent.
27300         (__ieee754_gammaf_r): Do intermediate computations in
27301         round-to-nearest then adjust overflowing and underflowing results
27302         as needed.
27303         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
27304         log of X_ADJ not X when adjusting exponent.
27305         (__ieee754_gammal_r): Do intermediate computations in
27306         round-to-nearest then adjust overflowing and underflowing results
27307         as needed.  Use 1.0L not 1.0f as numerator of division.
27308         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
27309         log of X_ADJ not X when adjusting exponent.
27310         (__ieee754_gammal_r): Do intermediate computations in
27311         round-to-nearest then adjust overflowing and underflowing results
27312         as needed.  Use 1.0L not 1.0f as numerator of division.
27313         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
27314         of X_ADJ not X when adjusting exponent.
27315         (__ieee754_gammal_r): Do intermediate computations in
27316         round-to-nearest then adjust overflowing and underflowing results
27317         as needed.  Use 1.0L not 1.0f as numerator of division.
27318         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
27319         to auto-libm-test-in.
27320         (tgamma_test): Use ALL_RM_TEST.
27321         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
27322         tests of tgamma with spurious-overflow.
27323         * math/auto-libm-test-out: Regenerated.
27324         * math/gen-libm-have-vector-test.sh: Do not check for START.
27325         * sysdeps/i386/fpu/libm-test-ulps: Update.
27326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27328         [BZ #18612]
27329         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
27330         arguments, just return 0.5 times the argument, with underflow
27331         forced as needed.
27332         * math/auto-libm-test-in: Add more tests of j1.
27333         * math/auto-libm-test-out: Regenerated.
27335         [BZ #16559]
27336         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
27337         (__ieee754_j1): Force underflow exception for small results.
27338         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27339         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
27340         (__ieee754_j1f): Force underflow exception for small results.
27341         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27342         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27343         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27344         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
27345         (__ieee754_j1l): Force underflow exception for small results.
27346         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27347         * math/auto-libm-test-in: Add more tests of j1 and jn.
27348         * math/auto-libm-test-out: Regenerated.
27350         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
27351         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
27352         (PF_MPLS): Likewise.
27353         (AF_IB): Likewise.
27354         (AF_MPLS): Likewise.
27355         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
27356         value and macro.
27357         (MS_RMT_MASK): Include MS_LAZYTIME.
27359 2015-06-26  Mel Gorman  <mgorman@suse.de>
27361         [BZ #18502]
27362         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
27363         already minimal.
27365 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
27367         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
27368         (DT_MIPS_NUM): Update.
27369         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
27370         DT_MIPS_RLD_MAP_REL.
27372 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
27374         [BZ #16559]
27375         [BZ #18602]
27376         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
27377         round-to-nearest internally then recompute results that
27378         underflowed to zero in the original rounding mode.
27379         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27380         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27381         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27382         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27383         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
27384         * sysdeps/i386/fpu/libm-test-ulps: Update.
27385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27387 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
27389         * NEWS: Fixed description of link with vector math library.
27391 2015-06-25  Andreas Schwab  <schwab@suse.de>
27393         [BZ #18549]
27394         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
27395         * libio/test-fmemopen.c (do_test): Add test for it.
27397 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
27399         [BZ #17841]
27400         * Makeconfig (no-pie-ldflag): New.
27401         (+link): Set to $(+link-pie) if default to PIE.
27402         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
27403         * config.make.in (build-pie-default): New.
27404         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
27405         is default.  AC_SUBST.
27406         * configure: Regenerated.
27407         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
27409 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27411         * nptl/descr.h (struct pthread): Change type of field setxid_futex
27412         to 'unsigned int'.
27414         * resolv/gai_misc.h (struct waitlist): Change type of field
27415         counterp to 'volatile unsigned int *'.
27416         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
27417         FUTEXADDR and OLDVAL.
27418         * resolv/getaddrinfo_a.c (getaddrinfo_a):
27419         Give local variable TOTAL type 'volatile unsigned int'.
27420         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27421         * resolv/gai_suspend.c (gai_suspend):
27422         Give local variable CNTR type 'unsigned int'.
27424         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
27425         counterp to 'volatile unsigned int *'.
27426         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
27427         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
27428         (aio_suspend): Give local variable CNTR type 'unsigned int'.
27429         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
27430         Give local variable TOTAL type 'volatile unsigned int'.
27431         (struct async_waitlist): Change type of field counter to 'unsigned int'.
27433 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27435         [BZ #18383]
27436         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
27437         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
27438         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
27439         comment for i386/x86-64.
27440         (test-xfail-tst-tlsalign-extern-static): Removed.
27442 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27444         * math/test-double.h: New file.
27445         * math/test-float.h: Likewise.
27446         * math/test-ldouble.h: Likewise.
27447         * math/test-math-inline.h: Likewise.
27448         * math/test-math-no-inline.h: Likewise.
27449         * math/test-math-scalar.h: Likewise.
27450         * math/test-math-vector.h: Likewise.
27451         * math/test-vec-loop.h: Remove file.  Contents moved into
27452         test-math-vector.h.
27453         * math/libm-test.inc (MATHCONST): Do not document macro.
27454         * math/test-double.c: Include test-double.h, test-math-no-inline.h
27455         and test-math-scalar.h.
27456         (FUNC): Remove macro.
27457         (FUNC_TEST): Likewise.
27458         (FLOAT): Likewise.
27459         (MATHCONST): Likewise.
27460         (PRINTF_EXPR): Likewise.
27461         (PRINTF_XEXPR): Likewise.
27462         (PRINTF_NEXPR): Likewise.
27463         (TEST_DOUBLE): Likewise.
27464         (TEST_MATHVEC): Likewise.
27465         (__NO_MATH_INLINES): Likewise.
27466         * math/test-float.c: Include test-float.h, test-math-no-inline.h
27467         and test-math-scalar.h.
27468         (FUNC): Remove macro.
27469         (FUNC_TEST): Likewise.
27470         (FLOAT): Likewise.
27471         (MATHCONST): Likewise.
27472         (PRINTF_EXPR): Likewise.
27473         (PRINTF_XEXPR): Likewise.
27474         (PRINTF_NEXPR): Likewise.
27475         (TEST_FLOAT): Likewise.
27476         (TEST_MATHVEC): Likewise.
27477         (__NO_MATH_INLINES): Likewise.
27478         * math/test-idouble.c: Include test-double.h, test-math-inline.h
27479         and test-math-scalar.h.
27480         (FUNC): Remove macro.
27481         (FUNC_TEST): Likewise.
27482         (FLOAT): Likewise.
27483         (MATHCONST): Likewise.
27484         (PRINTF_EXPR): Likewise.
27485         (PRINTF_XEXPR): Likewise.
27486         (PRINTF_NEXPR): Likewise.
27487         (TEST_DOUBLE): Likewise.
27488         (TEST_MATHVEC): Likewise.
27489         (TEST_INLINE): Likewise.
27490         (__NO_MATH_INLINES): Likewise.
27491         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
27492         test-math-scalar.h.
27493         (FUNC): Remove macro.
27494         (FUNC_TEST): Likewise.
27495         (FLOAT): Likewise.
27496         (MATHCONST): Likewise.
27497         (PRINTF_EXPR): Likewise.
27498         (PRINTF_XEXPR): Likewise.
27499         (PRINTF_NEXPR): Likewise.
27500         (TEST_FLOAT): Likewise.
27501         (TEST_MATHVEC): Likewise.
27502         (TEST_INLINE): Likewise.
27503         (__NO_MATH_INLINES): Likewise.
27504         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
27505         and test-math-scalar.h.
27506         (FUNC): Remove macro.
27507         (FUNC_TEST): Likewise.
27508         (FLOAT): Likewise.
27509         (MATHCONST): Likewise.
27510         (PRINTF_EXPR): Likewise.
27511         (PRINTF_XEXPR): Likewise.
27512         (PRINTF_NEXPR): Likewise.
27513         (TEST_LDOUBLE): Likewise.
27514         (TEST_MATHVEC): Likewise.
27515         (TEST_INLINE): Likewise.
27516         (__NO_MATH_INLINES): Likewise.
27517         * math/test-ldouble.c: Include test-ldouble.h,
27518         test-math-no-inline.h and test-math-scalar.h.
27519         (FUNC): Remove macro.
27520         (FUNC_TEST): Likewise.
27521         (FLOAT): Likewise.
27522         (MATHCONST): Likewise.
27523         (PRINTF_EXPR): Likewise.
27524         (PRINTF_XEXPR): Likewise.
27525         (PRINTF_NEXPR): Likewise.
27526         (TEST_LDOUBLE): Likewise.
27527         (TEST_MATHVEC): Likewise.
27528         (__NO_MATH_INLINES): Likewise.
27529         * math/test-double-vlen2.h: Include test-double.h,
27530         test-math-no-inline.h and test-math-vector.h.
27531         (FLOAT): Remove macro.
27532         (FUNC): Likewise.
27533         (MATHCONST): Likewise.
27534         (PRINTF_EXPR): Likewise.
27535         (PRINTF_XEXPR): Likewise.
27536         (PRINTF_NEXPR): Likewise.
27537         (TEST_DOUBLE): Likewise.
27538         (TEST_MATHVEC): Likewise.
27539         (__NO_MATH_INLINES): Likewise.
27540         (CNCT): Likewise.
27541         (CONCAT): Likewise.
27542         (WRAPPER_NAME): Likewise.
27543         (WRAPPER_DECL): Likewise.
27544         (WRAPPER_DECL_ff): Likewise.
27545         (WRAPPER_DECL_fFF): Likewise.
27546         (VECTOR_WRAPPER): Likewise.
27547         (VECTOR_WRAPPER_ff): Likewise.
27548         (VECTOR_WRAPPER_fFF): Likewise.
27549         (VEC_LEN): New macro.
27550         * math/test-double-vlen4.h: Include test-double.h,
27551         test-math-no-inline.h and test-math-vector.h.
27552         (FLOAT): Remove macro.
27553         (FUNC): Likewise.
27554         (MATHCONST): Likewise.
27555         (PRINTF_EXPR): Likewise.
27556         (PRINTF_XEXPR): Likewise.
27557         (PRINTF_NEXPR): Likewise.
27558         (TEST_DOUBLE): Likewise.
27559         (TEST_MATHVEC): Likewise.
27560         (__NO_MATH_INLINES): Likewise.
27561         (CNCT): Likewise.
27562         (CONCAT): Likewise.
27563         (WRAPPER_NAME): Likewise.
27564         (WRAPPER_DECL): Likewise.
27565         (WRAPPER_DECL_ff): Likewise.
27566         (WRAPPER_DECL_fFF): Likewise.
27567         (VECTOR_WRAPPER): Likewise.
27568         (VECTOR_WRAPPER_ff): Likewise.
27569         (VECTOR_WRAPPER_fFF): Likewise.
27570         (VEC_LEN): New macro.
27571         * math/test-double-vlen8.h: Include test-double.h,
27572         test-math-no-inline.h and test-math-vector.h.
27573         (FLOAT): Remove macro.
27574         (FUNC): Likewise.
27575         (MATHCONST): Likewise.
27576         (PRINTF_EXPR): Likewise.
27577         (PRINTF_XEXPR): Likewise.
27578         (PRINTF_NEXPR): Likewise.
27579         (TEST_DOUBLE): Likewise.
27580         (TEST_MATHVEC): Likewise.
27581         (__NO_MATH_INLINES): Likewise.
27582         (CNCT): Likewise.
27583         (CONCAT): Likewise.
27584         (WRAPPER_NAME): Likewise.
27585         (WRAPPER_DECL): Likewise.
27586         (WRAPPER_DECL_ff): Likewise.
27587         (WRAPPER_DECL_fFF): Likewise.
27588         (VECTOR_WRAPPER): Likewise.
27589         (VECTOR_WRAPPER_ff): Likewise.
27590         (VECTOR_WRAPPER_fFF): Likewise.
27591         (VEC_LEN): New macro.
27592         * math/test-float-vlen4.h: Include test-float.h,
27593         test-math-no-inline.h and test-math-vector.h.
27594         (FLOAT): Remove macro.
27595         (FUNC): Likewise.
27596         (MATHCONST): Likewise.
27597         (PRINTF_EXPR): Likewise.
27598         (PRINTF_XEXPR): Likewise.
27599         (PRINTF_NEXPR): Likewise.
27600         (TEST_FLOAT): Likewise.
27601         (TEST_MATHVEC): Likewise.
27602         (__NO_MATH_INLINES): Likewise.
27603         (CNCT): Likewise.
27604         (CONCAT): Likewise.
27605         (WRAPPER_NAME): Likewise.
27606         (WRAPPER_DECL): Likewise.
27607         (WRAPPER_DECL_ff): Likewise.
27608         (WRAPPER_DECL_fFF): Likewise.
27609         (VECTOR_WRAPPER): Likewise.
27610         (VECTOR_WRAPPER_ff): Likewise.
27611         (VECTOR_WRAPPER_fFF): Likewise.
27612         (VEC_LEN): New macro.
27613         * math/test-float-vlen8.h: Include test-float.h,
27614         test-math-no-inline.h and test-math-vector.h.
27615         (FLOAT): Remove macro.
27616         (FUNC): Likewise.
27617         (MATHCONST): Likewise.
27618         (PRINTF_EXPR): Likewise.
27619         (PRINTF_XEXPR): Likewise.
27620         (PRINTF_NEXPR): Likewise.
27621         (TEST_FLOAT): Likewise.
27622         (TEST_MATHVEC): Likewise.
27623         (__NO_MATH_INLINES): Likewise.
27624         (CNCT): Likewise.
27625         (CONCAT): Likewise.
27626         (WRAPPER_NAME): Likewise.
27627         (WRAPPER_DECL): Likewise.
27628         (WRAPPER_DECL_ff): Likewise.
27629         (WRAPPER_DECL_fFF): Likewise.
27630         (VECTOR_WRAPPER): Likewise.
27631         (VECTOR_WRAPPER_ff): Likewise.
27632         (VECTOR_WRAPPER_fFF): Likewise.
27633         (VEC_LEN): New macro.
27634         * math/test-float-vlen16.h: Include test-float.h,
27635         test-math-no-inline.h and test-math-vector.h.
27636         (FLOAT): Remove macro.
27637         (FUNC): Likewise.
27638         (MATHCONST): Likewise.
27639         (PRINTF_EXPR): Likewise.
27640         (PRINTF_XEXPR): Likewise.
27641         (PRINTF_NEXPR): Likewise.
27642         (TEST_FLOAT): Likewise.
27643         (TEST_MATHVEC): Likewise.
27644         (__NO_MATH_INLINES): Likewise.
27645         (CNCT): Likewise.
27646         (CONCAT): Likewise.
27647         (WRAPPER_NAME): Likewise.
27648         (WRAPPER_DECL): Likewise.
27649         (WRAPPER_DECL_ff): Likewise.
27650         (WRAPPER_DECL_fFF): Likewise.
27651         (VECTOR_WRAPPER): Likewise.
27652         (VECTOR_WRAPPER_ff): Likewise.
27653         (VECTOR_WRAPPER_fFF): Likewise.
27654         (VEC_LEN): New macro.
27655         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
27656         test-vec-loop.h.
27657         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
27658         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
27659         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
27660         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
27661         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
27662         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
27663         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
27665 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27667         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
27668         (__getlogin_r): ... this.
27670 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27672         [BZ #18594]
27673         * math/s_ccosh.c (__ccosh): Compare with least normal value
27674         instead of comparing class with FP_SUBNORMAL.
27675         * math/s_ccoshf.c (__ccoshf): Likewise.
27676         * math/s_ccoshl.c (__ccoshl): Likewise.
27677         * math/s_cexp.c (__cexp): Likewise.
27678         * math/s_cexpf.c (__cexpf): Likewise.
27679         * math/s_cexpl.c (__cexpl): Likewise.
27680         * math/s_csin.c (__csin): Likewise.
27681         * math/s_csinf.c (__csinf): Likewise.
27682         * math/s_csinh.c (__csinh): Likewise.
27683         * math/s_csinhf.c (__csinhf): Likewise.
27684         * math/s_csinhl.c (__csinhl): Likewise.
27685         * math/s_csinl.c (__csinl): Likewise.
27686         * math/s_ctan.c (__ctan): Likewise.
27687         * math/s_ctanf.c (__ctanf): Likewise.
27688         * math/s_ctanh.c (__ctanh): Likewise.
27689         * math/s_ctanhf.c (__ctanhf): Likewise.
27690         * math/s_ctanhl.c (__ctanhl): Likewise.
27691         * math/s_ctanl.c (__ctanl): Likewise.
27692         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
27693         csin, csinh, ctan and ctanh.
27694         * math/auto-libm-test-out: Regenerated.
27695         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
27696         * sysdeps/i386/fpu/libm-test-ulps: Update.
27697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27699 2015-06-24  Roland McGrath  <roland@hack.frob.com>
27701         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
27702         return value is wrong, print the expected value too.
27704 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
27706         [BZ #18585]
27707         * elf/readlib.c (is_gdb_python_file): New.
27708         (process_file): Don't issue errors on filenames with -gdb.py
27709         suffix.
27711 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
27713         * math/auto-libm-test-in: Add more tests of csin and csinh.
27714         * math/auto-libm-test-out: Regenerated.
27715         * math/libm-test.inc (csin_test_data): Remove tests moved to
27716         auto-libm-test-in.
27717         (csinh_test_data): Likewise.
27719         [BZ #18593]
27720         * math/s_csin.c (__csin): Negate before rather than after possibly
27721         overflowing multiplication.
27722         * math/s_csinf.c (__csinf): Likewise.
27723         * math/s_csinh.c (__csinh): Likewise.
27724         * math/s_csinhf.c (__csinhf): Likewise.
27725         * math/s_csinhl.c (__csinhl): Likewise.
27726         * math/s_csinl.c (__csinl): Likewise.
27727         * math/auto-libm-test-in: Add some tests of csin and csinh.
27728         * math/auto-libm-test-out: Regenerated.
27729         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
27730         (csinh_test_data): Likewise.
27731         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27733         [BZ #18586]
27734         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
27735         underflow exception for small results.
27737 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
27739         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27740         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
27741         variable and included header.
27742         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
27743         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
27744         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
27745         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
27746         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
27747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
27748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
27749         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
27750         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
27751         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
27752         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
27753         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
27754         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
27755         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
27756         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
27757         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
27759 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27761         [BZ #16526]
27762         [BZ #16538]
27763         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
27764         (__sin): Force underflow exception for arguments with small
27765         absolute value.
27766         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
27767         (__kernel_sinf): Force underflow exception for arguments with
27768         small absolute value.
27769         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
27770         (__kernel_sincosl): Force underflow exception for arguments with
27771         small absolute value.
27772         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
27773         (__kernel_sinl): Force underflow exception for arguments with
27774         small absolute value.
27775         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
27776         (__kernel_sincosl): Force underflow exception for arguments with
27777         small absolute value.
27778         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
27779         (__kernel_sinl): Force underflow exception for arguments with
27780         small absolute value.
27781         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
27782         (__kernel_sinl): Force underflow exception for arguments with
27783         small absolute value.
27784         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
27785         (__kernel_sinf): Force underflow exception for arguments with
27786         small absolute value.
27787         * math/auto-libm-test-in: Add more tests of sin and sincos.
27788         * math/auto-libm-test-out: Regenerated.
27790         [BZ #18245]
27791         [BZ #18583]
27792         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
27793         (__kernel_standard_l): Use feholdexcept and fesetenv around
27794         conversion to double instead of special-casing overflow and
27795         underflow.
27796         * math/libm-test.inc (fmod_test_data): Add more tests.
27797         (remainder_test_data): Likewise.
27798         (sqrt_test_data): Likewise.
27800 2015-06-23  Torvald Riegel  <triegel@redhat.com>
27802         [BZ #17403]
27803         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
27804         atomic_read_barrier, atomic_write_barrier): Define.
27805         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
27806         atomic_read_barrier, atomic_write_barrier): Define.
27808 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27810         * math/Makefile [$(PERL) != no]
27811         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
27812         dependency on libm-test.stmp below the inclusion of Rules.
27814 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
27816         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
27817         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
27818         and included header.
27819         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
27820         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
27821         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
27822         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
27823         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
27824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
27825         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
27826         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
27827         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
27828         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
27829         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
27830         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
27831         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
27832         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
27833         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
27834         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
27835         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
27836         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
27837         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
27839 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
27841         [BZ #18371]
27842         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
27843         intermediate but not final result might underflow.
27844         * math/s_csqrtf.c (__csqrtf): Likewise.
27845         * math/s_csqrtl.c (__csqrtl): Likewise.
27846         * math/auto-libm-test-in: Add more tests of csqrt.
27847         * math/auto-libm-test-out: Regenerated.
27848         * sysdeps/i386/fpu/libm-test-ulps: Update.
27850         [BZ #18219]
27851         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
27852         threshold on absolute value of exponent for which scaling is used.
27853         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
27854         * math/auto-libm-test-in: Add more tests of exp2.
27855         * math/auto-libm-test-out: Regenerated.
27857 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
27859         [BZ #17977]
27860         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
27861         when initializing interface list, based on the bug analysis
27862         and the patch proposed by Eric Newton.
27863         * resolv/tst-res_hconf_reorder.c: New test.
27864         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
27865         tst-res_hconf_reorder.
27866         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
27867         and $(shared-thread-library).
27868         (tst-res_hconf_reorder-ENV): New variable.
27870         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
27871         in comment.
27873 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
27875         [BZ #16353]
27876         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
27877         (__expm1): Force underflow exception for arguments with small
27878         absolute value.
27879         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
27880         (__expm1f): Force underflow exception for arguments with small
27881         absolute value.
27882         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
27883         (__expm1): Force underflow exception for arguments with small
27884         absolute value.
27885         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
27886         (__expm1f): Force underflow exception for arguments with small
27887         absolute value.
27888         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
27889         Check for small arguments before calling __expm1.
27890         * math/auto-libm-test-in: Do not mark underflow exceptions as
27891         possibly missing for bug 16353.
27892         * math/auto-libm-test-out: Regenerated.
27894 2015-06-22  Andreas Schwab  <schwab@suse.de>
27896         [BZ #18513]
27897         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
27898         PTR queries.
27900 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
27902         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
27904         * string/strcoll_l.c: Remove unused struct element idxnow.
27906 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
27908         [BZ #18569]
27909         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
27910         underflow and return argument in case of subnormal argument.
27911         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27912         Likewise.
27913         * math/auto-libm-test-in: Add more tests of expm1.
27914         * math/auto-libm-test-out: Regenerated.
27916         [BZ #16361]
27917         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27918         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27919         tiny results.
27920         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
27921         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
27922         tiny results.
27923         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
27924         mark underflow exceptions as possibly missing for bug 16361.
27925         * math/auto-libm-test-out: Regenerated.
27927 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
27929         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
27930         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
27931         Remove variable.
27932         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
27933         (test-xfail-XOPEN2K8/utmpx.h/conform).
27935         * conform/conformtest.pl ($xerrors): New variable.
27936         (note_error): New function.
27937         (compiletest): New argument $xfail.  Use not_error.
27938         (runtest): Likewise.
27939         (top level): Handle xfail- lines.  Update calls to compiletest and
27940         runtest.  Handle xfail- and optional- in headers listed with
27941         allow-header.
27942         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
27943         (O_EXEC): Likewise.
27944         (O_SEARCH): Likewise.
27945         * conform/data/stropts.h-data (ioctl): Likewise.
27946         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
27947         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
27948         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
27949         (msghdr.msg_controllen): Likewise.
27950         (cmsghdr.cmsg_len): Likewise.
27951         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
27952         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
27953         variable.
27954         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
27955         (test-xfail-XPG4/stropts.h/conform): Likewise.
27956         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
27957         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
27958         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
27959         (test-xfail-UNIX98/stropts.h/conform): Likewise.
27960         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
27961         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
27962         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
27963         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
27964         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
27965         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
27966         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
27967         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
27968         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
27969         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
27970         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
27971         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
27972         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
27973         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
27974         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
27976 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27978         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
27979         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
27980         definitions for proper unfolding of __MATHDECL_VEC.
27982 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27984         * benchtests/bench-strcoll.c:
27985         Include string.h.
27986         (main): Remove unused variable res.
27988 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27990         * timezone/Makefile (%/UTC %/Universal):
27991         Generate test-result files for UTC and Universal.
27993 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
27995         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
27997 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
27999         [BZ #16350]
28000         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
28001         for arguments with small absolute value.
28002         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
28003         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
28004         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
28005         (__asinh): Force underflow exception for arguments with small
28006         absolute value.
28007         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
28008         (__asinhf): Force underflow exception for arguments with small
28009         absolute value.
28010         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
28011         (__asinhl): Force underflow exception for arguments with small
28012         absolute value.
28013         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
28014         (__asinhl): Force underflow exception for arguments with small
28015         absolute value.
28016         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
28017         (__asinhl): Force underflow exception for arguments with small
28018         absolute value.
28019         * math/auto-libm-test-in: Do not mark underflow exceptions as
28020         possibly missing for bug 16350.
28021         * math/auto-libm-test-out: Regenerated.
28023         * include/bits/ipc.h: Remove file.
28024         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
28025         variable.
28026         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
28027         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
28028         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
28029         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
28030         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
28031         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
28032         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
28033         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
28034         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
28036         * math/auto-libm-test-in: Remove spurious underflow allowance for
28037         tests of cexp.
28038         * math/auto-libm-test-out: Regenerated.
28040         [BZ #18558]
28041         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
28042         unconditional definition.
28043         (MCAST_BLOCK_SOURCE): Likewise.
28044         (MCAST_UNBLOCK_SOURCE): Likewise.
28045         (MCAST_LEAVE_GROUP): Likewise.
28046         (MCAST_JOIN_SOURCE_GROUP): Likewise.
28047         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28048         (MCAST_MSFILTER): Likewise.
28049         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
28050         Remove variable.
28051         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
28052         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
28053         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
28054         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
28055         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
28057 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
28059         * NEWS: Mention addition of x86_64 vector sincosf.
28060         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28061         * math/test-float-vlen4.h: Likewise.
28062         * math/test-float-vlen8.h: Likewise.
28063         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28064         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
28065         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28066         * sysdeps/x86_64/fpu/Versions: New versions added.
28067         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28068         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28069         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28070         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
28071         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
28072         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
28073         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
28074         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
28075         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
28076         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
28077         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
28078         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
28079         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
28080         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
28081         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
28082         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
28083         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
28084         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
28085         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28086         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28087         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28088         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28089         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28090         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28092         * NEWS: Mention addition of x86_64 vector sincos.
28093         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
28094         * math/math.h (__MATHDECL_VEC): New macro.
28095         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
28096         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
28097         declaration under condition.
28098         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
28099         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
28100         TEST_VEC_LOOP change.
28101         * math/test-double-vlen4.h: Likewise.
28102         * math/test-double-vlen8.h: Likewise.
28103         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
28104         * math/test-float-vlen4.h: Likewise.
28105         * math/test-float-vlen8.h: Likewise.
28106         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28107         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
28108         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28109         * sysdeps/x86_64/fpu/Versions: New versions added.
28110         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28111         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28112         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28113         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
28114         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
28115         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
28116         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
28117         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
28118         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
28119         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
28120         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
28121         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
28122         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
28123         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
28124         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
28125         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
28126         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
28127         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28128         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28129         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28130         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28131         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28132         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28133         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28135         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28136         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28137         redirections for powf.
28138         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28139         * sysdeps/x86_64/fpu/Versions: New versions added.
28140         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28141         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28142         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28143         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
28144         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
28145         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
28146         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
28147         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
28148         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
28149         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
28150         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
28151         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
28152         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
28153         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
28154         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
28155         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
28156         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
28157         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28158         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28159         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28160         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28161         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28162         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28163         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28164         * math/test-float-vlen16.h: Fixed 2 argument macro.
28165         * math/test-float-vlen4.h: Likewise.
28166         * math/test-float-vlen8.h: Likewise.
28167         * NEWS: Mention addition of x86_64 vector powf.
28169 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
28171         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28172         and redefine.
28173         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28174         and redefine.
28175         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
28176         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
28177         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
28179         [BZ #18553]
28180         * resource/getpriority.c (getpriority): Rename to __getpriority
28181         and define as weak alias of __getpriority.
28182         * resource/setpriority.c (setpriority): Rename to __setpriority
28183         and define as weak alias of __setpriority.
28184         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
28185         __getpriority and define as weak alias of __getpriority.
28186         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
28187         __setpriority and define as weak alias of __setpriority.
28188         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
28189         strong name.
28190         (setpriority): Use __setpriority as strong name.
28191         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
28192         __getpriority and define as weak alias of __getpriority.
28193         * include/sys/resource.h (__getpriority): Declare.  Use
28194         libc_hidden_proto.
28195         (__setpriority): Likewise.
28196         (getpriority): Don't use libc_hidden_proto.
28197         (setpriority): Likewise.
28198         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
28199         getpriority.  Call __setpriority instead of setpriority.
28200         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
28201         Remove variable.
28203         [BZ #18547]
28204         * misc/getttyent.c (getttynam): Rename to __getttynam and define
28205         as weak alias of __getttynam.  Use prototype function definition.
28206         Call __setttyent, __getttyent and __endttyent instead of
28207         setttyent, getttyent and endttyent.
28208         (getttyent): Rename to __getttyent and define as weak alias of
28209         __getttyent.  Call __setttyent instead of setttyent.  Call
28210         __fgets_unlocked instead of fgets_unlocked.
28211         (setttyent): Rename to __setttyent and define as weak alias of
28212         __setttyent.
28213         (endttyent): Rename to __endttyent and define as weak alias of
28214         __endttyent.
28215         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
28216         (__setttyent): Likewise.
28217         (__endttyent): Likewise.
28218         (getttyent): Don't use libc_hidden_proto.
28219         (setttyent): Likewise.
28220         (endttyent): Likewise.
28221         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
28222         __endttyent instead of setttyent, getttyent and endttyent.
28223         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
28224         Remove variable.
28226         [BZ #18546]
28227         * socket/recv.c (__recv): Use libc_hidden_def.
28228         * socket/socket.c (__socket): Likewise.
28229         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28230         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28231         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
28232         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
28233         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
28234         libc_hidden_def.
28235         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
28236         libc_hidden_weak.
28237         * include/sys/socket.h (__socket): Do not use attribute_hidden.
28238         Use libc_hidden_proto.
28239         (__recv): Likewise.
28240         * socket/Versions (libc): Export __recv and __socket at version
28241         GLIBC_PRIVATE.
28242         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
28243         instead of recv.
28244         (init_mq_netlink): Call __socket instead of socket.
28245         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
28246         Remove variable.
28248         [BZ #18545]
28249         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
28250         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
28251         hidden_weak.
28252         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
28253         define as alias of __mq_timedsend.  Use hidden_weak.
28254         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
28255         __mq_timedsend as strong name.
28256         (mq_timedreceive): Use __mq_timedreceive as strong name.
28257         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
28258         (__mq_timedreceive): Likewise.
28259         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
28260         __mq_timedreceive instead of mq_timedreceive.
28261         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
28262         instead of mq_timedsend.
28263         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
28264         Remove variable.
28266         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
28267         hidden_def and hidden_weak instead of libc_hidden_def and
28268         libc_hidden_weak.
28269         (top level): Refer to hidden_def in comment.
28270         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
28271         macro.  Use it instead of libc_hidden_def.
28272         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
28273         specify __GI_* name explicitly.
28274         (mq_timedreceive): Likewise.
28275         (mq_setattr): Likewise.
28277         [BZ #18544]
28278         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
28279         __pthread_barrier_init and define as weak alias of
28280         __pthread_barrier_init.
28281         * sysdeps/sparc/nptl/pthread_barrier_init.c
28282         (pthread_barrier_init): Likewise.
28283         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
28284         __pthread_barrier_wait and define as weak alias of
28285         __pthread_barrier_wait.
28286         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28287         (pthread_barrier_wait): Likewise.
28288         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28289         (pthread_barrier_wait): Likewise.
28290         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
28291         (pthread_barrier_wait): Likewise.
28292         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
28293         (pthread_barrier_wait): Likewise.
28294         * nptl/Versions (libpthread): Export __pthread_barrier_init and
28295         __pthread_barrier_wait at version GLIBC_PRIVATE.
28296         * include/pthread.h (__pthread_barrier_init): Declare.
28297         (__pthread_barrier_wait): Likewise.
28298         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
28299         Call __pthread_barrier_wait instead of pthread_barrier_wait.
28300         (helper_thread): Likewise.
28301         (init_mq_netlink): Call __pthread_barrier_init instead of
28302         pthread_barrier_init.
28304         [BZ #18542]
28305         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
28306         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
28307         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
28308         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
28309         vswscanf.
28310         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
28311         Remove variable.
28313         [BZ #18540]
28314         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
28315         strong alias of _IO_fflush.  Use libc_hidden_def.
28316         * libio/iofflush_u.c (fflush_unlocked): Rename to
28317         __fflush_unlocked and define as weak alias of __fflush_unlocked.
28318         Use libc_hidden_weak.
28319         * include/stdio.h (__fflush_unlocked): Declare.  Use
28320         libc_hidden_proto.
28321         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
28322         fflush_unlocked.
28323         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
28324         Remove variable.
28326         [BZ #18539]
28327         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
28328         define as weak alias of __addseverity.
28329         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
28330         Remove variable.
28331         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
28332         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
28333         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
28335         [BZ #18536]
28336         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
28337         (__tfind): Likewise.
28338         (__tdelete): Likewise.
28339         (__twalk): Likewise.
28340         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
28341         __twalk to GLIBC_PRIVATE.
28342         * include/search.h (__tsearch): Use libc_hidden_proto.
28343         (__tfind): Likewise.
28344         (__tdelete): Likewise.
28345         (__twalk): Likewise.
28346         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
28347         Call __tdelete instead of tdelete.
28348         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
28349         tfind.  Call __tsearch instead of tsearch.
28350         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
28351         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
28352         Remove variable.
28353         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
28355         [BZ #18534]
28356         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
28357         (dprintf): Define as a weak alias of __dprintf, not a strong
28358         alias.
28359         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
28360         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
28361         dprintf.
28362         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
28363         Remove variable.
28364         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
28365         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
28367         [BZ #18533]
28368         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
28369         not a strong alias.
28370         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
28371         Remove variable.
28373         [BZ #18532]
28374         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
28375         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
28376         (in6addr_loopback): Rename to __in6addr_loopback and define as
28377         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
28378         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
28379         libc_hidden_proto.
28380         (__in6addr_any): Likewise.
28381         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
28382         in6addr_any.
28383         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
28384         variable.
28385         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
28387 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
28389         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
28390         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
28391         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28392         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28393         redirections for pow.
28394         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28395         * sysdeps/x86_64/fpu/Versions: New versions added.
28396         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28397         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28398         build of SSE, AVX2 and AVX512 IFUNC versions.
28399         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
28400         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
28401         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
28402         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
28403         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
28404         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
28405         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
28406         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
28407         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
28408         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
28409         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
28410         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
28411         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
28412         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
28413         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28414         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28416         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28417         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28418         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28419         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28420         * NEWS: Mention addition of x86_64 vector pow.
28422         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28423         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28424         redirections for expf.
28425         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28426         * sysdeps/x86_64/fpu/Versions: New versions added.
28427         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28428         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28429         build of SSE, AVX2 and AVX512 IFUNC versions.
28430         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
28431         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
28432         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
28433         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
28434         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
28435         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
28436         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
28437         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
28438         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
28439         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
28440         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
28441         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
28442         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
28443         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28444         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28445         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28446         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28447         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28448         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28449         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28450         * NEWS: Mention addition of x86_64 vector expf.
28452         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
28453         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
28454         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28455         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28456         redirections for exp.
28457         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28458         * sysdeps/x86_64/fpu/Versions: New versions added.
28459         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28460         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28461         build of SSE, AVX2 and AVX512 IFUNC versions.
28462         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
28463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
28464         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
28465         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
28466         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
28467         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
28468         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
28469         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
28470         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
28471         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
28472         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
28473         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
28474         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
28475         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28476         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28477         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28478         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28479         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28480         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28481         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28482         * NEWS: Mention addition of x86_64 vector exp.
28484         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28485         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28486         redirections for logf.
28487         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28488         * sysdeps/x86_64/fpu/Versions: New versions added.
28489         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28490         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28491         build of SSE, AVX2 and AVX512 IFUNC versions.
28492         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
28493         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
28494         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
28495         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
28496         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
28497         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
28498         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
28499         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
28500         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
28501         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
28502         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
28503         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
28504         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
28505         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28506         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28507         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28508         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28509         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28510         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28511         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28512         * NEWS: Mention addition of x86_64 vector logf.
28514         * bits/libm-simd-decl-stubs.h: Added stubs for log.
28515         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
28516         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28517         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
28518         redirections for log.
28519         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28520         * sysdeps/x86_64/fpu/Versions: New versions added.
28521         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28522         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28523         build of SSE, AVX2 and AVX512 IFUNC versions.
28524         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
28525         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
28526         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
28527         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
28528         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
28529         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
28530         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
28531         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
28532         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
28533         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
28534         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
28535         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
28536         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
28537         test.
28538         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28539         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28540         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28541         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28542         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28543         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28544         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28545         * NEWS: Mention addition of x86_64 vector log.
28547 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28549         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
28550         cfi_adjust_cfa_offset argument.
28551         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
28552         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
28554         [BZ #18034]
28555         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
28556         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
28557         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
28558         ordering using ldar.
28559         (_dl_tlsdesc_dynamic): Likewise.
28560         (_dl_tlsdesc_return_lazy): Likewise.
28561         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
28562         relaxed atomics instead of volatile and synchronize with release store.
28563         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
28564         volatile.
28565         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28567 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
28569         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
28570         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
28571         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28572         * sysdeps/x86_64/fpu/Versions: New versions added.
28573         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28574         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
28575         build of SSE, AVX2 and AVX512 IFUNC versions.
28576         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
28577         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
28578         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
28579         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
28580         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
28581         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
28582         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
28583         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
28584         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
28585         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
28586         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
28587         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
28588         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
28589         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
28590         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
28591         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
28592         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
28593         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
28594         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
28595         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28596         * NEWS: Mention addition of x86_64 vector sinf.
28598 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
28600         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
28601         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
28602         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
28603         Remove variable.
28604         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
28605         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
28607 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28609         [BZ #18530]
28610         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
28611         strong alias of _IO_fputs.  Use libc_hidden_def.
28612         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
28613         and define as weak alias of __fputs_unlocked.  Use
28614         libc_hidden_weak.
28615         * include/stdio.h (__fputs_unlocked): Declare.  Use
28616         libc_hidden_proto.
28617         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
28618         fputs_unlocked.
28620         [BZ #18529]
28621         * resolv/netdb.h [__USE_POSIX]: Change condition to
28622         [__USE_XOPEN2K].
28623         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
28624         not expect.
28625         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
28626         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
28627         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
28628         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
28629         [XPG4 || UNIX98] (AI_ALL): Likewise.
28630         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
28631         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
28632         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
28633         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
28634         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
28635         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
28636         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
28637         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
28638         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
28639         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
28640         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
28641         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
28642         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
28643         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
28644         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
28645         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28646         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
28647         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
28648         [XPG4 || UNIX98] (gai_strerror): Likewise.
28649         [XPG4 || UNIX98] (getaddrinfo): Likewise.
28650         [XPG4 || UNIX98] (getnameinfo): Likewise.
28652         [BZ #18528]
28653         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
28654         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
28655         __USE_XOPEN2K8].
28656         (getgrent): Likewise.
28657         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
28658         expect.
28659         [XPG3 || POSIX2008] (endgrent): Likewise.
28660         [XPG3] (setgrent): Likewise.
28661         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
28662         variable.
28663         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
28665         [BZ #18527]
28666         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
28667         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
28668         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
28669         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
28670         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
28671         * include/unistd.h (__getlogin_r): Declare.  Use
28672         libc_hidden_proto.
28673         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
28674         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
28675         variable.
28676         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
28677         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
28678         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
28680 2015-06-12  Martin Sebor  <msebor@redhat.com>
28682         [BZ #18512]
28683         * Makerules (check-install-supported): New target.
28684         (install): Add check-install-supported as a dependency.
28685         * manual/install.texi (Installing the C Library): Document
28686         that overriding prefix and exec_prefix is not supported.
28687         Mention DESTDIR.
28688         * INSTALL: Regenerate from the above.
28690 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
28692         [BZ #18519]
28693         * posix/Versions (libc): Export __libc_pread at version
28694         GLIBC_PRIVATE.
28695         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
28696         instead of pread.
28697         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
28698         variable.
28700         [BZ #18522]
28701         * misc/efgcvt_r.c
28702         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
28703         (cvt_symbol): Use weak_alias instead of strong_alias.
28704         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
28705         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
28706         Remove variable.
28707         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
28708         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
28710         [BZ #18520]
28711         * inet/herrno.c (h_errno): Rename to __h_errno.
28712         (__libc_h_errno): Define as alias of __h_errno not h_errno.
28713         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
28714         to __h_errno instead of h_errno.
28715         * nptl/herrno.c (h_errno): Rename to __h_errno.
28716         (__h_errno_location): Refer to __h_errno not h_errno.
28717         * resolv/Versions (h_errno): Rename to __h_errno.
28718         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
28719         Remove variable.
28720         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
28722 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
28724         * configure.ac: More strict check for AVX512 assembler support.
28725         * configure: Regenerated.
28727         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
28728         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
28729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28730         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
28731         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28732         * sysdeps/x86_64/fpu/Versions: New versions added.
28733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28734         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28735         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28736         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
28737         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
28738         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
28739         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
28740         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
28741         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
28742         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
28743         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
28744         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
28745         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
28746         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
28747         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
28748         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
28749         test.
28750         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
28751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
28752         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
28753         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
28754         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28755         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
28756         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
28757         * NEWS: Mention addition of x86_64 vector sin.
28759 2015-06-11  Florian Weimer  <fweimer@redhat.com>
28761         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
28762         comment.
28764 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
28766         [BZ #18479]
28767         * nptl/pt-interp.c: New file.
28768         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
28769         Add pt-interp.
28770         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
28771         $(common-objpfx)runtime-linker.h.
28773 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
28775         * Makeconfig (+interp): Remove unused variable.
28776         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
28777         only.  Depend on $(common-objpfx)runtime-linker.h instead of
28778         $(elf-objpfx)runtime-linker.h.
28779         ($(elf-objpfx)runtime-linker.h): Rename to
28780         $(common-objpfx)runtime-linker.h and move ...
28781         * Makerules [$(build-shared) = yes]: ... here.
28782         * elf/interp.c: Include <runtime-linker.h> instead of
28783         <elf/runtime-linker.h>.
28785 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28787         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
28788         (__gettimeofday_syscall): Remove vsyscall fallback.
28789         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
28790         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
28791         Add syscall fallback function.
28792         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
28793         if vDSO is not present.
28794         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
28795         fallback function.
28796         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
28797         present.
28798         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
28799         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28801 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
28803         [BZ #18497]
28804         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
28805         of wcscmp.
28806         (wcscmp): Define as weak alias of WCSCMP.
28807         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
28808         wcscoll.
28809         (USE_HIDDEN_DEF): Define.
28810         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
28811         __wcscoll.  Don't use libc_hidden_weak.
28812         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
28813         wcscmp.
28814         * sysdeps/i386/i686/multiarch/wcscmp-c.c
28815         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
28816         __GI_wcscmp.
28817         (weak_alias): Undefine and redefine.
28818         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
28819         __wcscmp and define as weak alias of __wcscmp.
28820         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
28821         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
28822         (__wcscoll): Likewise.
28823         (wcscmp): Don't use libc_hidden_proto.
28824         (wcscoll): Likewise.
28825         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
28826         wcscoll.
28827         * posix/regexec.c (check_node_accept_bytes): Likewise.
28828         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
28829         variable.
28830         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
28831         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
28833         [BZ #18507]
28834         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
28835         __fstatvfs and define as weak alias of __fstatvfs.  Use
28836         libc_hidden_weak.
28837         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
28838         and define as weak alias of __statvfs.  Use libc_hidden_weak.
28839         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
28840         Define as alias of __fstatvfs, not fstatvfs.
28841         (fstatvfs64): Likewise.
28842         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
28843         Define as alias of __statvfs, not statvfs.
28844         (statvfs64): Likewise.
28845         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
28846         Remove variable.
28848 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28851         (HAVE_GETCPU_VSYSCALL): Define.
28852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
28853         (HAVE_GETCPU_VSYSCALL): Likewise.
28854         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
28855         * sysdeps/unix/sysv/linux/sched_getcpu.c
28856         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
28857         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
28858         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
28859         prototype.
28860         * sysdeps/unix/sysv/linux/x86_64/init-first.c
28861         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
28862         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
28863         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
28864         Define.
28865         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
28866         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28867         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
28868         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28870 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
28872         * sysdeps/x86_64/fpu/Makefile: New file.
28873         * sysdeps/x86_64/fpu/Versions: New file.
28874         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
28875         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
28876         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
28877         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
28878         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
28879         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
28880         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
28881         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
28882         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
28883         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
28884         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
28885         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
28886         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
28887         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28888         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28889         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
28890         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
28891         * sysdeps/x86_64/configure.ac: Options for libmvec build.
28892         * sysdeps/x86_64/configure: Regenerated.
28893         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
28894         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
28895         * manual/install.texi (Configuring and compiling): Document
28896         --disable-mathvec.
28897         * INSTALL: Regenerated.
28898         * NEWS: Mention addition of libmvec and x86_64 vector cos.
28900         * math/Makefile: Added rules for vector tests.
28901         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
28902         declaration under condition.
28903         * math/test-double-vlen2.h: New file.
28904         * math/test-double-vlen4.h: New file.
28905         * math/test-double-vlen8.h: New file.
28906         * math/test-vec-loop.h: Added initialization macro.
28907         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
28908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
28909         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
28910         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
28911         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
28912         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
28913         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
28914         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
28915         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
28916         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
28917         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
28919         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
28920         * sysdeps/x86_64/fpu/Versions: New versions added.
28921         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
28922         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
28923         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
28924         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
28925         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
28926         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
28927         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
28928         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
28929         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
28930         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
28931         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
28932         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
28933         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
28934         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
28935         Added build of SSE, AVX2 and AVX512 IFUNC versions.
28936         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
28937         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
28938         * NEWS: Mention addition of x86_64 vector cosf.
28940         * math/Makefile: Added CFLAGS for new tests.
28941         * math/test-float-vlen16.h: New file.
28942         * math/test-float-vlen4.h: New file.
28943         * math/test-float-vlen8.h: New file.
28944         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
28945         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
28946         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
28947         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
28948         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
28949         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
28950         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
28951         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
28952         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
28953         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
28954         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
28956 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
28958         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
28959         * locale/programs/ld-ctype.c: Likewise.
28961 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
28963         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
28964         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
28965         bit_ZMM16_31_state): New macro.
28966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28967         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
28969 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
28971         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
28973 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
28975         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
28977 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
28979         [BZ #18498]
28980         * libio/memstream.c (open_memstream): Rename to __open_memstream
28981         and define as weak alias of __open_memstream.
28982         * include/stdio.h (__open_memstream): Declare.  Use
28983         libc_hidden_proto.
28984         (open_memstream): Don't use libc_hidden_proto.
28985         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
28986         open_memstream.
28987         * posix/getopt.c (_getopt_internal_r): Likewise.
28988         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
28989         variable.
28990         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
28991         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
28992         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
28994         [BZ #18496]
28995         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
28996         instead of wcrtomb.
28998         [BZ #18483]
28999         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
29000         [__USE_XOPEN2K8].  Remove redundant #endif.
29001         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
29002         Remove redundant #if.
29003         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
29004         Remove variable.
29005         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29006         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29008         [BZ #18495]
29009         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
29010         (__iswlower): Likewise.
29011         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
29012         (__iswlower): Likewise.
29013         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
29014         instead of towlower.
29015         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
29016         instead of iswlower.  Call __towupper instead of towupper.
29017         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
29018         instead of iswalnum.
29020 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29022         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
29023         errors to stderr.
29025 2015-06-05  Florian Weimer  <fweimer@redhat.com>
29027         [BZ #15661]
29028         [BZ #17322]
29029         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
29030         Check for overflow properly.  Check for O_APPEND.  Ignore large
29031         file system block sizes.  Add comments about problems.
29032         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
29033         * manual/filesys.texi (Storage Allocation): New node.
29035 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29037         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
29038         cancellable syscalls.
29039         (SYS_ify): Add guard to no redefine it.
29040         (INLINE_SYSCALL): Likewise.
29041         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
29042         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
29043         SYSCALL_CANCEL instead.
29044         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
29045         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
29046         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
29047         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
29048         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
29049         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
29050         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
29051         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
29052         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29053         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29054         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
29055         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
29056         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
29057         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
29058         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
29059         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
29060         Likewise.
29061         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
29062         (__libc_pread64): Likewise.
29063         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
29064         (__libc_preadv): Likewise.
29065         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
29066         (__libc_readv64): Likewise.
29067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
29068         (__libc_pwrite): Likewise.
29069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
29070         (__libc_pwrite64): Likewise.
29071         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
29072         (__libc_pwritev): Likewise.
29073         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
29074         (__libc_pwritev64): Likewise.
29075         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
29076         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
29077         (sync_file_range): Likewise.
29078         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
29079         Likewise.
29080         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
29081         Likewise.
29082         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
29083         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
29084         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
29085         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
29086         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
29087         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
29088         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29089         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
29090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
29091         Likewise.
29092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29093         (__libc_read64): Likewise.
29094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
29095         Likewise.
29096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
29097         Likewise.
29098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
29099         Likewise.
29100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
29101         Likewise.
29102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29103         (__libc_pread64): Likewise.
29104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
29105         Likewise.
29106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29107         (__libc_pwrite64): Likewise.
29108         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
29109         (sync_file_range): Likewise.
29110         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
29111         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
29112         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
29113         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
29114         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
29115         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
29116         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
29117         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
29118         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
29119         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
29120         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
29121         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
29122         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
29123         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
29124         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
29125         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
29126         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
29127         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
29128         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
29129         Likewise.
29130         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
29131         Likewise.
29132         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
29133         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
29134         Likewise.
29135         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
29136         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
29137         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
29138         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
29139         Likewise.
29140         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
29141         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
29142         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
29143         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
29144         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
29146 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
29148         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
29149         Include dl-vdso.
29150         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
29151         Use VDSO routines for gettimeofday, clock_gettime if
29152         available.
29153         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
29154         Declare VDSO symbols.
29155         * sysdeps/unix/sysv/linux/arm/sysdep.h:
29156         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
29157         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29158         * sysdeps/unix/sysv/linux/arm/Versions: Add
29159         __vdso_clock_gettime.
29161 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29163         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
29164         be an inline implementation regardless of library is built within.
29165         (open_not_cancel_2): Likewise.
29166         (__read_nocancel): Likewise.
29167         (__write_nocancel): Likewise.
29168         (openat_not_cancel): Likewise.
29169         (openat_not_cancel_3): Likewise.
29170         (openat64_not_cancel): Likewise.
29171         (openat64_not_cancel_3): Likewise.
29172         (__close_nocancel): Likewise.
29173         (pause_not_cancel): Likewise.
29174         (nanosleep_not_cancel): Likewise.
29175         (sigsuspend_not_cancel): Likewise.
29177 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29179         [BZ #14958]
29180         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
29181         wake-up.
29182         (__pthread_rwlock_rdlock_slow): Likewise.
29183         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29184         Likewise.
29185         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
29186         Likewise.
29187         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
29188         * nptl/tst-rwlock16.c: New file.
29189         * nptl/Makefile (tests): Add new test.
29191 2015-06-04  Torvald Riegel  <triegel@redhat.com>
29193         [BZ #18324]
29194         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
29195         missing wake-up of readers.
29196         * nptl/tst-rwlock15.c: New file.
29197         * nptl/Makefile (tests): Add new test.
29199 2015-06-03  Roland McGrath  <roland@hack.frob.com>
29201         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
29202         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
29203         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
29204         and __nacl_supply_interface_rtld.
29205         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
29206         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
29207         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
29208         Add __nacl_supply_interface_rtld.
29209         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
29211 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29213         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
29214         isfinite.
29215         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29216         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
29218 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
29220         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
29221         __signbit* with standard C99 macros.
29222         * math/e_exp10l.c: Likewise.
29223         * math/e_exp2l.c: Likewise.
29224         * math/e_scalb.c: Likewise.
29225         * math/e_scalbf.c: Likewise.
29226         * math/e_scalbl.c: Likewise.
29227         * math/s_ldexp.c: Likewise.
29228         * math/s_ldexpf.c: Likewise.
29229         * math/s_ldexpl.c: Likewise.
29230         * math/w_atan2.c: Likewise.
29231         * math/w_atan2f.c: Likewise.
29232         * math/w_atan2l.c: Likewise.
29233         * math/w_cosh.c: Likewise.
29234         * math/w_coshf.c: Likewise.
29235         * math/w_coshl.c: Likewise.
29236         * math/w_exp10.c: Likewise.
29237         * math/w_exp10f.c: Likewise.
29238         * math/w_exp10l.c: Likewise.
29239         * math/w_exp2.c: Likewise.
29240         * math/w_exp2f.c: Likewise.
29241         * math/w_exp2l.c: Likewise.
29242         * math/w_fmod.c: Likewise.
29243         * math/w_fmodf.c: Likewise.
29244         * math/w_fmodl.c: Likewise.
29245         * math/w_hypot.c: Likewise.
29246         * math/w_hypotf.c: Likewise.
29247         * math/w_hypotl.c: Likewise.
29248         * math/w_jnl.c: Likewise.
29249         * math/w_lgamma.c: Likewise.
29250         * math/w_lgamma_r.c: Likewise.
29251         * math/w_lgammaf.c: Likewise.
29252         * math/w_lgammaf_r.c: Likewise.
29253         * math/w_lgammal.c: Likewise.
29254         * math/w_lgammal_r.c: Likewise.
29255         * math/w_pow.c: Likewise.
29256         * math/w_powf.c: Likewise.
29257         * math/w_powl.c: Likewise.
29258         * math/w_remainder.c: Likewise.
29259         * math/w_remainderf.c: Likewise.
29260         * math/w_remainderl.c: Likewise.
29261         * math/w_scalb.c: Likewise.
29262         * math/w_scalbf.c: Likewise.
29263         * math/w_scalbl.c: Likewise.
29264         * math/w_scalbln.c: Likewise.
29265         * math/w_scalblnf.c: Likewise.
29266         * math/w_scalblnl.c: Likewise.
29267         * math/w_sinh.c: Likewise.
29268         * math/w_sinhf.c: Likewise.
29269         * math/w_sinhl.c: Likewise.
29270         * math/w_tgamma.c: Likewise.
29271         * math/w_tgammaf.c: Likewise.
29272         * math/w_tgammal.c: Likewise.
29273         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29274         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
29275         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29276         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29277         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29278         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29279         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
29280         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29281         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29282         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29283         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29284         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
29285         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29286         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29287         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29288         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29289         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29290         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
29291         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29292         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29293         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29294         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
29295         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29296         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29297         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29298         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29299         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
29300         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29301         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29302         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29303         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
29304         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
29305         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
29306         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
29307         * stdio-common/printf_fp.c: Likewise.
29308         * stdio-common/printf_fphex.c: Likewise.
29309         * stdio-common/printf_size.c: Likewise.
29311 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
29313         [BZ #18470]
29314         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
29315         strnlen.
29316         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
29317         Remove variable.
29318         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29319         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29320         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29321         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29322         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29323         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29324         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29325         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29326         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29327         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29329         [BZ #18468]
29330         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
29331         weak alias of __wmemchr.  Use libc_hidden_weak.
29332         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
29333         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
29334         instead of wmemchr.
29336 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29338         [BZ #18383]
29339         * elf/tst-tlsalign-extern.c: New file.
29340         * elf/tst-tlsalign-extern-static.c: New file.
29341         * elf/tst-tlsalign-vars.c: New file.
29342         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
29343         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
29344         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
29345         ($(objpfx)tst-tlsalign-extern-static): Likewise.
29346         (test-xfail-tst-tlsalign-extern-static): New variable.
29348 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
29350         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
29351         Use variable name _sc_err instead of err.
29352         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
29353         instead of ret.
29354         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
29355         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
29356         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
29357         (INLINE_SYSCALL): Likewise.
29359         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
29360         * include/string.h (__strnlen): Use libc_hidden_proto.
29361         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
29362         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
29363         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
29364         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
29365         (libc_hidden_def): Undefine and redefine.
29366         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
29367         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
29368         __GI_strnlen.
29369         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
29370         libc_hidden_def.
29371         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
29373         [BZ #18469]
29374         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
29375         weak alias of __towlower.  Use libc_hidden_weak.
29376         (towupper): Rename to __towupper and define as weak alias of
29377         __towupper.  Use libc_hidden_weak.
29378         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
29379         (__towupper): Likewise.
29380         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
29381         __towlower instead of towlower.
29383 2015-06-02  Roland McGrath  <roland@hack.frob.com>
29385         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
29386         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
29388 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29390         * sysdeps/aarch64/libm-test-ulps: Update.
29392 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29394         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
29395         Define.
29396         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29397         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
29398         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29399         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29400         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
29401         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
29402         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
29404 2015-06-01  Martin Sebor  <msebor@redhat.com>
29406         [BZ #18116]
29407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29408         (__setcontext): Use extended four-operand version of mtsf whenever
29409         possible.
29410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29411         (__novec_swapcontext): Likewise.
29413 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29415         * benchtests/scripts/compare_bench.py: New file.
29416         * benchtests/scripts/import_bench.py (mean): New function.
29417         (split_list): Likewise.
29418         (do_for_all_timings): Likewise.
29419         (compress_timings): Likewise.
29421         * benchtests/scripts/import_bench.py: New file.
29422         * benchtests/scripts/validate_benchout.py: Import import_bench
29423         instead of jsonschema.
29424         (validate_bench): Remove function.
29425         (main): Use import_bench.
29427 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
29429         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
29430         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
29432 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29434         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29436 2015-05-28  Roland McGrath  <roland@hack.frob.com>
29438         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
29439         set THREAD_SELF->tid to a magic value and futex-wake it.
29440         Pass its address to the thread_exit system call.
29441         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
29442         bit is clear.
29443         * sysdeps/nacl/lowlevellock.h: New file.
29444         * sysdeps/nacl/lll_timedwait_tid.c: New file.
29446         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
29447         Add TIMEOUT to current time, don't subtract it.
29449 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
29451         [BZ #2981]
29452         [BZ #18422]
29453         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
29454         ($(objpfx)tst-audit2.out): Also depend on
29455         $(objpfx)tst-auditmod9b.so.
29456         * elf/tst-audit2.c: Include <dlfcn.h>.
29457         (calloc_called): New.
29458         (calloc): Allow to be called more than once.
29459         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
29461 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
29463         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
29464         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
29466 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
29468         * stdlib/monetary.h: Fix comment.
29470 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
29472         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
29473         Avoid using variables in #defines that might cause shadowing.
29474         (INTERNAL_VSYSCALL_CALL): Likewise.
29476 2015-05-26  Roland McGrath  <roland@hack.frob.com>
29478         * sysdeps/nacl/lll_timedlock_wait.c: New file.
29480         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
29481         * nptl/lll_timedlock_wait.c: ... to this new file.
29482         * nptl/Makefile (libpthread-routines): Add it.
29483         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
29484         * nptl/lll_timedwait_tid.c: ... to this new file.
29485         * nptl/Makefile (libpthread-routines): Add it.
29486         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
29487         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
29488         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
29489         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
29490         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
29491         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
29492         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
29493         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
29494         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
29495         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
29497 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29499         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
29500         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29501         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
29502         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
29503         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
29504         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
29505         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29506         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
29507         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29508         * sysdeps/unix/sysv/linux/tile/sysdep.h
29509         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
29510         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
29511         using vDSO syscall macro.
29513 2015-05-26  Andriy Rysin  <arysin@gmail.com>
29515         [BZ #17293]
29516         * uk_UA: Fix sorting order for Ukrainian locale
29518 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
29520         * stdlib/monetary.h: Fix comment.
29522 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29524         [BZ #18234]
29525         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
29526         st_mtim and st_ctim members.
29527         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
29528         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
29529         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
29530         (struct stat64): Likewise.
29531         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
29532         (struct stat64): Likewise.
29533         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
29534         (struct stat64): Likewise.
29536 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29538         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
29539         Define and include sysdep-vdso.h.
29540         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
29541         Likewise.
29542         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
29543         Likewise.
29544         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
29545         Define with VDSO_SYMBOL and use PTR_MANGLE.
29546         (__vdso_clock_gettime): Likewise.
29547         (__vdso_clock_getres): Likewise.
29548         (_libc_vdso_platform_setup): Likewise.
29549         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29550         Likewise.
29551         (_libc_vdso_platform_setup): Likewise.
29552         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
29553         Likewise.
29554         (__vdso_clock_gettime): Likewise.
29555         (__vdso_clock_getres): Likewise.
29556         (__vdso_get_tbfreq): Likewise.
29557         (__vdso_getcpu): Likewise.
29558         (__vdso_time): Likewise.
29559         (__vdso_sigtramp_rt64): Likewise.
29560         (__vdso_signtramp32): Likewise.
29561         (__vdso_sigtramp_rt32): Likewise.
29562         (_libc_vdso_platform_setup): Likewise.
29563         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
29564         Likewise.
29565         (__vdso_clock_gettime): Likewise.
29566         (__vdso_clock_getres): Likewise.
29567         (_libc_vdso_platform_setup): Likewise.
29568         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
29569         Likewise.
29570         (__vdso_clock_gettime): Likewise.
29571         (_libc_vdso_platform_setup): Likewise.
29572         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
29573         Likewise.
29574         (__vdso_getcpu): Likewise.
29575         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
29576         Use VDSO_SYMBOL macro to define.
29577         (__vdso_clock_gettime): Likewise.
29578         (__vdso_clock_getres): Likewise.
29579         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
29580         Likewise.
29581         (__vdso_clock_gettime): Likewise.
29582         (__vdso_clock_getres): Likewise.
29583         (__vdso_get_tbfreq): Likewise.
29584         (__vdso_getcpu): Likewise.
29585         (__vdso_time): Likewise.
29586         (__vdso_sigtramp_rt64): Likewise.
29587         (__vdso_signtramp32): Likewise.
29588         (__vdso_sigtramp_rt32): Likewise.
29589         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
29590         Likewise.
29591         (__vdso_clock_gettime): Likewise.
29592         (__vdso_clock_getres): Likewise.
29593         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
29594         Likewise.
29595         (__vdso_clock_gettime): Likewise.
29596         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29597         Likewise.
29598         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
29599         macro.
29600         (INTERNAL_VSYSCALL): Likewise.
29601         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
29602         Remove macro.
29603         (INTERNAL_VSYSCALL): Likewise.
29604         (INTERNAL_VSYSCALL_NCS): Likewise.
29605         (INTERNAL_VSYSCALL_CALL): New macro.
29606         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29607         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
29608         Likewise.
29609         (INTERNAL_VSYSCALL): Likewise.
29610         (INTERNAL_VSYSCALL_NCS): Likewise.
29611         (INTERNAL_VSYSCALL_CALL): New macro.
29612         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
29613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
29614         (INLINE_VSYSCALL): Remove macro.
29615         (INTERNAL_VSYSCALL): Remove macro.
29616         (INTERNAL_VSYSCALL_NCS): Remove macro.
29617         (INTERNAL_VSYSCALL_CALL): New macro.
29618         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
29619         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
29620         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29621         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
29622         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
29623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
29624         (INLINE_VSYSCALL): Remove macro.
29625         (INTERNAL_VSYSCALL): Likewise.
29626         (INTERNAL_VSYSCALL_NCS): Likewise.
29627         (INTERNAL_VSYSCALL_CALL): New macro.
29628         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
29629         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
29630         PTR_DEMANGLE on vDSO pointer.
29631         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
29632         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
29633         macro.
29634         (INTERNAL_SYSCALL): Likewise.
29635         (INTERNAL_VSYSCALL_NCS): Remove macro.
29636         (INTERNAL_VSYSCALL_CALL): New macro.
29637         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
29638         Remove macro.
29639         (INTERNAL_VSYSCALL): Likewise.
29640         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
29641         sysdep-vdso.h instead of libc-vdso.h.
29642         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
29643         definition.
29644         (INLINE_VSYSCALL): Likewise.
29645         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
29646         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
29647         definition.
29648         (INLINE_VSYSCALL): Likewise.
29649         (INTERNAL_VSYSCALL): Likewise.
29650         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29651         * sysdeps/unix/sysv/linux/timespec_get.c
29652         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
29653         (timespec_get): Use ANSI prototype.
29654         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
29655         and definition for Linux.
29657 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29659         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
29660         * include/libc-symbols.h: libmvec_hidden_* macro series added.
29662 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29664         [BZ #2981]
29665         [BZ #18410]
29666         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
29667         for missing DT_PLTRELSZ.
29669 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29671         Remove obsolete aliases that broke 'locale -a'
29672         [BZ #18412]
29673         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
29674         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
29675         breaking some applications that use 'locale -a' output.
29676         Change the encoding of this file from Latin-1 to ASCII to avoid
29677         other potential problems with people grepping this file.
29679 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29681         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
29682         -fasynchronous-unwind-tables.
29683         (CFLAGS-sendto.c): Likewise.
29684         (CFLAGS-sendmsg.c): Likewise.
29685         (CFLAGS-connect.c): Likewise.
29686         (CFLAGS-recvmsg.c): Likewise.
29687         (CFLAGS-recvfrom.c): Likewise.
29688         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
29689         (SOCKETCALL): New macro: non-cancellable socketcall.
29690         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
29691         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
29692         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
29693         * sysdeps/unix/sysv/linux/accept.c: New file.
29694         * sysdeps/unix/sysv/linux/bind.c: Likewise.
29695         * sysdeps/unix/sysv/linux/connect.c: Likewise.
29696         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
29697         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
29698         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
29699         * sysdeps/unix/sysv/linux/listen.c: Likewise.
29700         * sysdeps/unix/sysv/linux/recv.c: Likewise.
29701         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
29702         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
29703         * sysdeps/unix/sysv/linux/send.c: Likewise.
29704         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
29705         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
29706         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
29707         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
29708         * sysdeps/unix/sysv/linux/socket.c: Likewise.
29709         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
29710         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
29711         prototype.
29712         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
29713         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29714         instead of __internal_xxx function.
29715         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
29716         prototype.
29717         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
29718         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29719         instead of __internal_xxx function.
29720         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
29721         prototype.
29722         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
29723         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
29724         instead of __internal_xxx function.
29725         * sysdeps/unix/sysv/linux/accept.S: Remove file.
29726         * sysdeps/unix/sysv/linux/bind.S: Likewise.
29727         * sysdeps/unix/sysv/linux/connect.S: Likewise.
29728         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
29729         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
29730         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
29731         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
29732         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
29733         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
29734         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
29735         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
29736         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29737         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
29738         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
29739         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
29740         * sysdeps/unix/sysv/linux/listen.S: Likewise.
29741         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
29742         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
29743         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
29744         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
29745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
29746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
29747         * sysdeps/unix/sysv/linux/recv.S: Likewise.
29748         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
29749         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
29750         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
29751         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29752         * sysdeps/unix/sysv/linux/send.S: Likewise.
29753         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
29754         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
29755         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
29756         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
29757         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
29758         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
29759         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
29760         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
29761         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
29762         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
29763         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
29764         socketcall is implemented in GLIBC.
29766 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29768         * soft-fp/fmadf4.c: Include <libc-internal.h>.
29769         (__fma): Ignore uninitialized warnings around packing.
29770         * soft-fp/fmasf4.c: Include <libc-internal.h>.
29771         (__fmaf): Ignore uninitialized warnings around packing.
29772         * soft-fp/fmatf4.c: Include <libc-internal.h>.
29773         (__fmal): Ignore uninitialized warnings around packing.
29775         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
29776         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29777         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
29778         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29780         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
29781         switch statement into default case.
29782         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
29784         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
29785         a conditional in forcing "inexact".
29786         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
29787         Likewise.
29789 2015-05-22  Roland McGrath  <roland@hack.frob.com>
29791         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
29792         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
29793         for each INTERNAL_SYSCALL use.
29795 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
29797         [BZ #438]
29798         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
29799         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
29800         variable.
29802         [BZ #18444]
29803         * string/basename.c (basename): Rename to __basename and define as
29804         weak alias of __basename.  Use libc_hidden_weak.
29805         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
29806         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
29807         __basename instead of basename.
29808         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
29809         Remove variable.
29810         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29812 2015-05-18  Florian Weimer  <fweimer@redhat.com>
29814         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
29815         (_IO_JUMPS_FILE_plus): New.
29816         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
29817         _IO_CAST_FIELD_ACCESS.
29818         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
29819         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
29820         * libio/freopen.c (freopen): Likewise.
29821         * libio/freopen64.c (freopen64): Likewise.
29822         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
29823         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
29824         * libio/iofwide.c (_IO_fwide): Likewise.
29825         * libio/memstream.c (open_memstream): Likewise.
29826         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
29827         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
29828         * libio/oldiopopen.c (_IO_old_popen): Likewise.
29830 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
29832         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
29833         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
29834         NADJ.
29835         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
29836         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
29837         NADJ.
29838         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
29839         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
29840         NADJ.
29842         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
29843         (p == 4) case.
29845         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
29846         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
29847         Remove variable.
29848         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29849         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29850         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29852 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29854         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
29855         Adjust jump table label generation macros.
29857 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29859         * stdio-common/vfprintf.c (vfprintf): Move local variables
29860         args_malloced, specs, specs_malloced, and the code after
29861         do_positional to the printf_positional function.
29862         (printf_positional): New function.
29864 2015-05-21  Florian Weimer  <fweimer@redhat.com>
29866         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
29867         function.
29868         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
29869         STEP4_TABLE, process_arg): Move macro definitions
29870         out of the vfprintf function.  (Cosmetic change only.)
29872 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
29874         * benchtests/Makefile (stdio-common-bench): Define.
29875         (benchset): Add stdio-common-bench.
29876         * sprintf-inputs: New file.
29877         * sprintf-source.c: New file.
29879 2015-05-21  Andreas Schwab  <schwab@suse.de>
29881         [BZ #13028]
29882         [BZ #17053]
29883         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
29884         of struct __res_state.
29885         * resolv/res_send.c (__libc_res_nsend): Likewise.
29886         (get_nsaddr): New function.
29887         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
29888         statp directly.
29890 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
29892         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
29893         -D_POSIX_C_SOURCE=199506L.
29895         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
29897         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
29898         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
29899         Do not mention otherwise.
29900         [POSIX] (_XOPEN_VERSION): Do not expect.
29901         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
29902         [POSIX] (_POSIX2_C_BIND): Likewise.
29903         [POSIX] (_POSIX2_VERSION): Likewise.
29904         [POSIX] (_XOPEN_XPG2): Likewise.
29905         [POSIX] (_XOPEN_XPG3): Likewise.
29906         [POSIX] (_XOPEN_XPG4): Likewise.
29907         [POSIX] (_XOPEN_UNIX): Likewise.
29908         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
29909         [POSIX] (_POSIX_BARRIERS): Likewise.
29910         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
29911         [POSIX] (_POSIX_CPUTIME): Likewise.
29912         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
29913         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
29914         [POSIX] (_POSIX_SHELL): Likewise.
29915         [POSIX] (_POSIX_SPAWN): Likewise.
29916         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
29917         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
29918         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
29919         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
29920         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
29921         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
29922         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
29923         [POSIX] (_XBS5_LP64_OFF64): Likewise.
29924         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
29925         [POSIX] (_POSIX_TIMEOUTS): Likewise.
29926         [POSIX] (_POSIX2_PBS): Likewise.
29927         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
29928         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
29929         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
29930         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
29931         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
29932         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
29933         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
29934         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
29935         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
29936         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
29937         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
29938         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
29939         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
29940         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
29941         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
29942         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
29943         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
29944         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
29945         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
29946         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
29947         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
29948         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
29949         [POSIX] (_SC_2_C_BIND): Likewise.
29950         [POSIX] (_SC_2_C_VERSION): Likewise.
29951         [POSIX] (_SC_2_PBS): Likewise.
29952         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
29953         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
29954         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
29955         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
29956         [POSIX] (_SC_2_PBS_TRACK): Likewise.
29957         [POSIX] (_SC_ATEXIT_MAX): Likewise.
29958         [POSIX] (_SC_BARRIERS): Likewise.
29959         [POSIX] (_SC_BASE): Likewise.
29960         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
29961         [POSIX] (_SC_DEVICE_IO): Likewise.
29962         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
29963         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
29964         [POSIX] (_SC_FD_MGMT): Likewise.
29965         [POSIX] (_SC_FIFO): Likewise.
29966         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
29967         [POSIX] (_SC_FILE_LOCKING): Likewise.
29968         [POSIX] (_SC_FILE_SYSTEM): Likewise.
29969         [POSIX] (_SC_IOV_MAX): Likewise.
29970         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
29971         [POSIX] (_SC_NETWORKING): Likewise.
29972         [POSIX] (_SC_PAGE_SIZE): Likewise.
29973         [POSIX] (_SC_PASS_MAX): Likewise.
29974         [POSIX] (_SC_PIPE): Likewise.
29975         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
29976         [POSIX] (_SC_REGEXP): Likewise.
29977         [POSIX] (_SC_SHELL): Likewise.
29978         [POSIX] (_SC_SIGNALS): Likewise.
29979         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
29980         [POSIX] (_SC_SPIN_LOCKS): Likewise.
29981         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
29982         [POSIX] (_SC_USER_GROUPS): Likewise.
29983         [POSIX] (_SC_USER_GROUPS_R): Likewise.
29984         [POSIX] (_SC_STREAMS): Likewise.
29985         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
29986         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
29987         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
29988         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
29989         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
29990         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
29991         [POSIX] (_PC_FILESIZEBITS): Likewise.
29992         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
29993         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
29994         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
29995         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
29996         [POSIX] (uid_t): Likewise.
29997         [POSIX] (gid_t): Likewise.
29998         [POSIX] (off_t): Likewise.
29999         [POSIX] (pid_t): Likewise.
30000         [POSIX] (cuserid): Allow.
30001         (_SC_2_CHAR_TERM): Require constant.
30002         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
30003         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
30004         variable.
30006 2015-05-20  Roland McGrath  <roland@hack.frob.com>
30008         * sysdeps/nacl/pthread-pids.h: New file.
30009         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
30010         (create_thread): Use __nacl_get_tid to initialize PD->tid.
30012         * nptl/pthread-pids.h: New file.
30013         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
30014         * nptl/nptl-init.c: Include <pthread-pids.h>.
30015         (__pthread_initialize_minimal_internal):
30016         Call __pthread_initialize_pids instead of set_tid_address syscall.
30018         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
30019         * sysdeps/posix/usleep.c: ... here.
30021 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30023         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
30024         call_pselect6 object.
30025         [$(subdir) = io]: Remove call_sync_file_range object.
30026         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
30027         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
30028         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
30029         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
30031 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
30033         * math/s_cproj.c: Add include "math_private.h".
30034         * math/s_cprojf.c: Likewise.
30035         * math/s_cprojl.c: Likewise.
30037 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
30039         [BZ #18244]
30040         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
30041         high mantissa bit when testing whether P is a NaN.
30042         * math/libm-test.inc (remainder_test_data): Add more tests.
30043         (remquo_test_data): Likewise.
30045         [BZ #18049]
30046         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
30047         below -32, return the argument, with underflow if subnormal.
30048         * math/auto-libm-test-in: Add more tests of atanh.
30049         * math/auto-libm-test-out: Regenerated.
30051 2015-05-19  Roland McGrath  <roland@hack.frob.com>
30053         [BZ #18434]
30054         * nptl/tst-sem15.c: New file.
30055         * nptl/Makefile (tests): Add it.
30056         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
30057         s/<</>>/ to fix typo in EOVERFLOW check.
30058         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
30060 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30062         * manual/strings.texi (envz_remove): Fix typo in safety
30063         annotations.
30065 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
30066             Steve Ellcey  <sellcey@imgtec.com>
30068         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
30069         in order to avoid strict alias warnings.
30070         (iruserok_af): Ditto for ra.
30072 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
30074         [BZ #17581]
30075         * malloc/hooks.c
30076         (magicbyte): Convert to a function and avoid returning 0x01.
30077         (mem2mem_check): Avoid using a length byte equal to the magic byte.
30078         (mem2chunk_check): Fix unsigned comparisons to zero.
30079         Hoist defs of sz and magic.
30081 2015-05-19  Richard Henderson  <rth@redhat.com>
30083         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
30085         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30087 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30089         [BZ #16159]
30090         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
30091         * malloc/arena.c (arena_lock): Check if arena is corrupt.
30092         (reused_arena): Find a non-corrupt arena.
30093         (heap_trim): Pass arena to unlink.
30094         * malloc/hooks.c (malloc_check_get_size): Pass arena to
30095         malloc_printerr.
30096         (top_check): Likewise.
30097         (free_check): Likewise.
30098         (realloc_check): Likewise.
30099         * malloc/malloc.c (malloc_printerr): Add arena argument.
30100         (unlink): Likewise.
30101         (munmap_chunk): Adjust.
30102         (ARENA_CORRUPTION_BIT): New macro.
30103         (arena_is_corrupt): Likewise.
30104         (set_arena_corrupt): Likewise.
30105         (sysmalloc): Use mmap if there are no usable arenas.
30106         (_int_malloc): Likewise.
30107         (__libc_malloc): Don't fail if arena_get returns NULL.
30108         (_mid_memalign): Likewise.
30109         (__libc_calloc): Likewise.
30110         (__libc_realloc): Adjust for additional argument to
30111         malloc_printerr.
30112         (_int_free): Likewise.
30113         (malloc_consolidate): Likewise.
30114         (_int_realloc): Likewise.
30115         (_int_memalign): Don't touch corrupt arenas.
30116         * malloc/tst-malloc-backtrace.c: New test case.
30118         * Makefile (summarize-tests): Fix return value on success.
30120         * manual/string.texi (Envz Functions): Add envz_remove.
30122 2015-05-18  Roland McGrath  <roland@hack.frob.com>
30124         * sysdeps/posix/opendir.c: Include <stdbool.h>.
30125         (invalid_name): New function, broken out of ...
30126         (__opendirat): ... here.  Call it.
30127         (need_isdir_precheck): New function, broken out of ...
30128         (__opendirat): ... here.  Call it.
30129         Use __fxstatat64, not __xstatat64.
30130         (opendir_oflags): New function, broken out of ...
30131         (__opendirat): ... here.  Call it.
30132         (opendir_tail): New function, broken out of ...
30133         (__opendirat): ... here.  Call it.
30134         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
30135         opendir_tail, rather than punting to __opendirat.
30136         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
30138 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30140         * .gitignore: Ignore generated *.pyc.
30142 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
30144         * include/stdio.h: Define __need_wint_t.
30145         * test-skeleton.c: Avoid `for' loop initial declaration.
30146         * nptl/tst-initializers1.c: Use test-skeleton.c.
30148 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30150         [BZ #18418]
30151         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
30153 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30155         [BZ #16352]
30156         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
30157         (__ieee754_atanh): Force underflow exception for results with
30158         small absolute value.
30159         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
30160         (__ieee754_atanhf): Force underflow exception for results with
30161         small absolute value.
30162         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
30163         (__ieee754_atanh): Force underflow exception for results with
30164         small absolute value.
30165         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
30166         (__ieee754_atanhf): Force underflow exception for results with
30167         small absolute value.
30168         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
30169         (__ieee754_atanhl): Force underflow exception for results with
30170         small absolute value.
30171         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
30172         (__ieee754_atanhl): Force underflow exception for results with
30173         small absolute value.
30174         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
30175         (__ieee754_atanhl): Force underflow exception for results with
30176         small absolute value.
30177         * math/auto-libm-test-in: Do not allow missing underflow
30178         exceptions from atanh.
30179         * math/auto-libm-test-out: Regenerated.
30181         [BZ #18221]
30182         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
30183         2**-28 as threshold for returning x or +/- 1/x.
30184         * math/auto-libm-test-in: Add more tests of tan.
30185         * math/auto-libm-test-out: Regenerated.
30187         [BZ #18220]
30188         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
30189         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
30190         * math/auto-libm-test-in: Add another test of lgamma.
30191         * math/auto-libm-test-out: Regenerated.
30193 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
30195         * stdio-common/printf_fp.c (___printf_fp): Use abs.
30196         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
30197         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
30198         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
30199         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
30200         (ADD2A): Use fabs.  (SUB2A): Use fabs.
30201         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
30202         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
30203         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
30204         (log1): Use fabs.  (my_log2): Use fabs.
30205         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
30206         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
30207         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
30208         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
30209         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
30210         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
30211         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
30212         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
30213         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
30214         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
30215         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
30217 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
30219         [BZ #18217]
30220         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
30221         as threshold for returning 1 - x.
30222         * math/auto-libm-test-in: Add more tests of erfc.
30223         * math/auto-libm-test-out: Regenerated.
30225 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
30227         [BZ #18196]
30228         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
30229         threshold for large arguments.
30230         * math/auto-libm-test-in: Add another test of atan.
30231         * math/auto-libm-test-out: Regenerated.
30233         [BZ #16339]
30234         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
30235         (__log1p): Force underflow exception for results with small
30236         absolute value.
30237         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
30238         (__log1pf): Force underflow exception for results with small
30239         absolute value.
30240         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
30241         (__log1p): Force underflow exception for results with small
30242         absolute value.
30243         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
30244         (__log1pf): Force underflow exception for results with small
30245         absolute value.
30246         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
30247         (__log1pl): Force underflow exception for results with small
30248         absolute value.
30249         * math/auto-libm-test-in: Do not allow missing underflow
30250         exceptions from log1p.
30251         * math/auto-libm-test-out: Regenerated.
30253 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
30254             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30256         [BZ #16704]
30257         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
30259 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
30261         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
30262         (libmvec): New variable.
30263         * configure.ac: Added option for mathvec build.
30264         * configure: Regenerated.
30265         * mathvec/Depend: New file.
30266         * mathvec/Makefile: New file.
30267         * shlib-versions: Added libmvec.
30268         * math/Makefile: Added rule for libm.so installation.
30270         * bits/math-vector.h: New file.
30271         * bits/libm-simd-decl-stubs.h: New header.
30272         * math/Makefile (headers): Added new header
30273         libm-simd-decl-stubs.h.
30274         * math/math.h (__MATHCALL_VEC): New macro.
30276         * math/gen-libm-have-vector-test.sh: Script generates series of macros
30277         for conditions in testing functions.
30278         * math/Makefile: Added call of libm-have-vector-test.sh.
30279         * math/libm-test.inc (HAVE_VECTOR): New macros.
30281         * math/libm-test.inc: START refactored.
30282         * math/test-double.c (TEST_MATHVEC): Add define.
30283         * math/test-float.c: Likewise.
30284         * math/test-idouble.c: Likewise.
30285         * math/test-ifloat.c: Likewise.
30286         * math/test-ildoubl.c: Likewise.
30287         * math/test-ldouble.c: Likewise.
30288         * sysdeps/generic/math-tests-arch.h
30289         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
30290         architecture check.
30292         * math/test-double.c (FUNC_TEST): New macro.
30293         * math/test-float.c: Likewise.
30294         * math/test-idouble.c: Likewise.
30295         * math/test-ifloat.c: Likewise.
30296         * math/test-ildoubl.c: Likewise.
30297         * math/test-ldouble.c: Likewise.
30298         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
30300 2015-05-13  Roland McGrath  <roland@hack.frob.com>
30302         * sysdeps/nacl/fdopendir.c: New file.
30304         * dirent/scandir-tail.c: New file.
30305         * dirent/scandir64-tail.c: New file.
30306         * dirent/Makefile (routines): Add them.
30307         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
30308         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
30309         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
30310         [!SCANDIR] (SCANDIR_TAIL): New macro.
30311         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
30312         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
30313         (SCANDIRAT): Macro removed.
30314         (SCANDIR_TAIL): New macro.
30315         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
30316         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
30317         (SCANDIRAT): Just call __opendirat and __scandir_tail.
30318         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
30319         (READDIR): Macro removed.
30320         (SCANDIR_TAIL): New macro.
30321         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
30322         (SCANDIR_TAIL): New macro.
30324         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
30325         * dirent/scandir-cancel.c: ... to this new file.
30326         * dirent/Makefile (routines): Add it.
30327         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
30328         * sysdeps/unix/sysv/linux/i386/scandir64.c
30329         (SKIP_SCANDIR_CANCEL): Macro removed.
30330         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
30332         * dirent/tst-scandir.c: New file.
30333         * dirent/tst-scandir64.c: New file.
30334         * dirent/Makefile (tests): Add them.
30336 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
30338         [BZ #18409]
30339         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
30341 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30343         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
30344         list.
30346 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
30348         * benchtests/bench-strcoll.c: New benchmark.
30349         * benchtests/Makefile: Generate locales and run benchmark.
30350         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
30351         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
30352         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
30353         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
30354         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
30355         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
30356         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
30357         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
30358         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
30359         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
30360         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
30361         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
30362         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
30363         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
30364         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
30365         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
30366         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
30367         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
30368         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
30369         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
30370         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
30371         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
30372         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
30373         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
30375 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
30377         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
30378         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30380 2015-05-12  Roland McGrath  <roland@hack.frob.com>
30382         * posix/uname-values.h: New file.
30383         * posix/uname.c: Include that instead of <config-name.h>.
30384         * sysdeps/nacl/uname-values.h: New file.
30385         * sysdeps/arm/nacl/uname-values.h: New file.
30387 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
30389         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
30390         splitting into fields.
30392 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
30394         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
30395         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
30396         * locale/localeinfo.h: Add enum collation_encoding_type.
30397         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
30398         * programs/ld-collate.c (collate_output): Add encoding type info.
30399         * string/strcoll_l.c (STRDIFF): New function.
30400         * (STRCOLL): Use STRDIFF to skip over equal prefix.
30401         * wcsmbs/wcscoll_l.c: Define STRDIFF.
30403 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
30405         [BZ #18397]
30406         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
30407         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
30408         <fpu_control.h> instead of <math/fpu_control.c>.
30409         * sysdeps/mips/mips32/fpu/Makefile: New file.
30411 2015-05-11  Andreas Schwab  <schwab@suse.de>
30413         [BZ #18007]
30414         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
30415         nss_endgrent.
30416         (_nss_compat_endgrent): Call nss_endgrent.
30417         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
30418         nss_endpwent.
30419         (_nss_compat_endpwent): Call nss_endpwent.
30420         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
30421         needent, call nss_setspent only if non-zero.
30422         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
30423         (internal_endspent): Don't call nss_endspent.
30424         (_nss_compat_endspent): Call nss_endspent.
30425         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
30426         Remove.  All uses removed.
30427         (internal_setent): Remove parameter stayopen, add parameter
30428         stream.  Use it instead of global variable.
30429         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
30430         (internal_endent, internal_getent): Add parameter stream.  Use it
30431         instead of global variable.
30432         (CONCAT(_nss_files_end,ENTNAME))
30433         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
30434         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
30435         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
30436         uses removed.
30437         (internal_setent, internal_endent): Add parameter stream.  Use it
30438         instead of global variable.
30439         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
30440         stream.
30441         (get_next_alias): Add parameter stream.
30442         (_nss_files_getaliasent_r): Pass global stream.
30443         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
30444         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
30445         (_nss_files_gethostbyname4_r): Pass local stream to
30446         internal_setent, internal_getent and internal_endent.  Remove
30447         locking.
30449 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30451         * tst-strfmon1.c (tests): Update expected currency symbol.
30453 2015-05-08  Roland McGrath  <roland@hack.frob.com>
30455         * sysdeps/nacl/gethostname.c: New file.
30457 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
30459         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
30460         and sinh.
30461         * math/auto-libm-test-out: Regenerated.
30462         * sysdeps/i386/fpu/libm-test-ulps: Update.
30463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30465 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
30467         [BZ #18125]
30468         * stdlib/tst-setcontext3.c: New file.
30469         * stdlib/tst-setcontext3.sh: New file.
30470         * stdlib/Makefile (tests): Add tst-setcontext3.
30471         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
30472         to verify test program created output file.
30473         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
30474         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
30475         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
30476         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
30478 2015-05-06  Roland McGrath  <roland@hack.frob.com>
30480         [BZ #18383]
30481         * elf/tst-tlsalign.c: New file.
30482         * elf/tst-tlsalign-static.c: New file.
30483         * elf/tst-tlsalign-lib.c: New file.
30484         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
30485         (tests-static): Add tst-tlsalign-static.
30486         (modules-names): Add tst-tlsalign-lib.
30487         (test-xfail-tst-tlsalign): New variable.
30488         (test-xfail-tst-tlsalign-static): New variable.
30490         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
30491         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
30493 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
30495         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
30496         csqrt, erfc, sin and sincos.
30497         * math/auto-libm-test-out: Regenerated.
30498         * sysdeps/i386/fpu/libm-test-ulps: Update.
30499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30501 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30503         * sysdeps/aarch64/libm-test-ulps: Update.
30505 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
30507         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
30508         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
30509         * math/auto-libm-test-out: Regenerated.
30510         * sysdeps/i386/fpu/libm-test-ulps: Update.
30511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30513 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30515         [BZ #18265]
30516         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
30517         (wcsncpy): Likewise.
30519 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30521         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
30522         Assume __ASSUME_FALLOCATE is always true.
30523         * sysdeps/unix/sysv/linux/posix_fallocate64.c
30524         (__posix_fallocate64_l64): Likewise.
30525         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
30526         (posix_fallocate): Likewise.
30527         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
30528         (__posix_fallocate64_l64): Likewise.
30529         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
30530         [!__ASSUME_FALLOCATE]: Add comment.
30532 2015-05-05  Florian Weimer  <fweimer@redhat.com>
30534         * sysdeps/unix/sysv/linux/i386/Makefile
30535         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
30536         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
30537         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
30538         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30539         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30540         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
30541         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30543 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
30545         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
30546         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
30547         tgamma.
30548         * math/auto-libm-test-out: Regenerated.
30549         * sysdeps/i386/fpu/libm-test-ulps: Update.
30550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30552 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30554         * math/auto-libm-test-in: Add more tests of tgamma.
30555         * math/auto-libm-test-out: Regenerated.
30556         * sysdeps/i386/fpu/libm-test-ulps: Update.
30557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30559         * math/auto-libm-test-in: Add more tests of tanh.
30560         * math/auto-libm-test-out: Regenerated.
30561         * sysdeps/i386/fpu/libm-test-ulps: Update.
30562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30564         * math/auto-libm-test-in: Add more tests of tan.
30565         * math/auto-libm-test-out: Regenerated.
30566         * sysdeps/i386/fpu/libm-test-ulps: Update.
30567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30569         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
30570         * math/auto-libm-test-out: Regenerated.
30571         * sysdeps/i386/fpu/libm-test-ulps: Update.
30572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30574         * math/auto-libm-test-in: Add another test of pow.
30575         * math/auto-libm-test-out: Regenerated.
30576         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30578         * math/auto-libm-test-in: Add more tests of lgamma.
30579         * math/auto-libm-test-out: Regenerated.
30580         * sysdeps/i386/fpu/libm-test-ulps: Update.
30581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30583         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
30584         log1p.
30585         * math/auto-libm-test-out: Regenerated.
30586         * sysdeps/i386/fpu/libm-test-ulps: Update.
30587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30589 2015-05-01  Mark Wielaard  <mjw@redhat.com>
30591         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
30592         Elf64_Chdr structs and ELFCOMPRESS constants.
30594 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
30596         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
30597         expm1.
30598         * math/auto-libm-test-out: Regenerated.
30599         * sysdeps/i386/fpu/libm-test-ulps: Update.
30600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30602         * math/auto-libm-test-in: Add more tests of erf and erfc.
30603         * math/auto-libm-test-out: Regenerated.
30604         * sysdeps/i386/fpu/libm-test-ulps: Update.
30605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30607 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30609         * config.h.in (HAVE_AARCH64_BE): Add.
30611 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
30613         * math/auto-libm-test-in: Add more tests of csqrt.
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 cosh and sinh.
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         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
30625 2015-04-29  Roland McGrath  <roland@hack.frob.com>
30627         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
30628         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
30630         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
30631         (euidaccess, eaccess): Define as weak aliases.
30633         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
30634         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
30635         but __suseconds_t is often 'long int' so some sources assume that
30636         type is being used (e.g. they use %ld to print tv_usec).
30638 2015-04-29  Florian Weimer  <fweimer@redhat.com>
30640         [BZ #18007]
30641         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
30642         (CVE-2014-8121)
30643         * nss/tst-nss-getpwent.c: New file.
30644         * nss/Makefile (tests): Add new test.
30646 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
30648         [BZ #18346]
30649         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
30650         exponents less than 48 as cases where high part of mantissa needs
30651         examining to determine whether argument is integral.
30652         * math/libm-test.inc (round_test_data): Add more tests.
30654 2015-04-28  Mark Wielaard  <mjw@redhat.com>
30656         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
30658 2015-04-27  David S. Miller  <davem@davemloft.net>
30660         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
30661         __tls_get_addr.
30662         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
30664 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
30666         [BZ#18333]
30667         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
30669 2015-04-27  Florian Weimer  <fweimer@redhat.com>
30671         [BZ#18333]
30672         * time/tzset.c (parse_tzname): Return error on memory allocation
30673         failure.
30674         * test-skeleton.c (struct temp_name_list): Change type of name
30675         member to non-const.
30676         (add_temp_file): Create a copy of the file name.
30677         (delete_temp_files): Deallocate memory.
30678         (create_temp_file): Add comment.
30680 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30682         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
30683         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
30685 2015-04-24  Roland McGrath  <roland@hack.frob.com>
30687         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
30688         * sysdeps/arm/configure: Regenerated.
30690 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30692         [BZ #17715]
30693         * time/tzfile.c (__tzfile_read): Check for large values of
30694         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
30695         * time/tzset.c (__tzstring_len): New function, based on the old
30696         __tzstring function.
30697         (__tzstring): Call __tzstring_len.
30698         (parse_tzname): New helper function extracted from
30699         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
30700         the input string.
30701         (parse_offset): New helper function extracted from
30702         __tzset_parse_tz.  Replace switch with fallthrough with
30703         initialization before sscanf.
30704         (parse_rule): Likewise.
30705         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
30706         new-style function definition.
30707         * timezone/Makefile (tests): Add tst-tzset.
30708         (tst-tzset.out): Dependencies on time zone files.
30709         (tst-tzset-ENV): Set TZDIR.
30710         (testdata/XT%): Copy crafted time zone files.
30711         * timezone/README: Mention crafted time zone files.
30712         * timezone/testdata/XT1, timezone/testdata/XT2,
30713         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
30714         files.
30715         * timezone/tst-tzset.c: New test.
30717 2015-04-24  Florian Weimer  <fweimer@redhat.com>
30719         * Makeconfig (+gccwarn): Remove -Winline.
30721 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30723         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
30725 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
30727         * NEWS: Mention sysconf() cache information support for s390.
30728         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
30730 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
30732         * math/k_casinh.c (__kernel_casinh): Use __copysign.
30733         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
30734         (__nearbyint): Likewise.
30735         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
30736         (copysignl): Likewise.
30738 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
30740         [BZ #18287]
30741         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
30742         based on padding.  (CVE-2015-1781)
30744 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30746         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
30747         libc-vdso.h.
30748         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
30749         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
30750         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
30751         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
30752         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
30753         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
30754         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
30755         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
30756         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30757         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
30758         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30759         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30760         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
30761         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
30762         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
30763         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
30764         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
30765         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
30766         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
30767         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
30768         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
30769         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
30770         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
30772 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
30774         * stdlib/setenv.c (__add_to_environ):
30775         Dump core quickly if setenv (..., NULL, ...) is called.
30776         This time, do it the right way, and pacify GCC with a pragma.
30778 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30780         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
30781         IMAP->l_prev cannot be null, and #if out the code for the contrary
30782         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
30783         believe that NS (&_dl_ns[NSID]) could point outside the array.
30785         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
30786         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
30787         before using NSID as an index.
30789 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
30791         [BZ #17825]
30792         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
30793         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
30794         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30796 2015-04-17  Roland McGrath  <roland@hack.frob.com>
30798         Add preliminary port to Google Native Client on ARM.
30799         * abi-tags (.*-.*-nacl.*): New entry.
30800         * sysdeps/arm/nacl: New directory.
30801         * sysdeps/nacl: New directory.
30803 2015-04-16  David S. Miller  <davem@davemloft.net>
30805         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
30806         lowlevellock-futex.h
30808 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
30810         * sysdeps/tile/configure.ac: New file.
30811         * sysdeps/tile/configure: Regenerated.
30813 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30815         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
30816         conditionals for weak_alias and libc_hidden_weak.
30817         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
30818         libc_hidden_weak and weak_alias.
30819         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
30820         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
30821         and weak_alias for static one.
30823 2015-04-15  David S. Miller  <davem@davemloft.net>
30825         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
30827 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30829         [BZ #18206]
30830         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
30831           Use signed comparision instead of substraction to avoid
30832           overflow bug.
30833         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
30834           Take the sign of ret.
30835         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
30836           Do not expect precise return values. Only the sign matters.
30837         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
30838         * wcsmbs/test-wcsncmp.c: New File.
30839         * string/test-strncmp.c: Add wcsncmp support.
30841 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30843         [BZ #6792]
30844         * math/w_log1p.c: New file.
30845         * math/w_log1pf.c: Likewise.
30846         * math/w_log1pl.c: Likewise.
30847         * math/Makefile (libm-calls): Add w_log1p.
30848         * math/s_log1pl.c (log1pl): Remove weak_alias.
30849         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
30850         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
30851         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
30852         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
30853         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
30854         [NO_LONG_DOUBLE] (log1pl): Likewise.
30855         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
30856         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
30857         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
30858         (log1p): Remove long_double_symbol.
30859         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
30860         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
30861         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
30862         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
30863         remove weak_alias for corresponding log1p function.
30864         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
30865         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
30866         * sysdeps/ia64/fpu/w_log1p.c: New file.
30867         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
30868         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
30869         * math/libm-test.inc (log1p_test_data): Add errno expectations.
30871 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
30873         [BZ #18247]
30874         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
30875         decimal exponent by 1.
30876         * stdlib/tst-strtod-round-data: Add more tests.
30877         * stdlib/tst-strtod-round.c (tests): Regenerated.
30879 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
30881         * math/auto-libm-test-in: Add more tests of clog and clog10.
30882         * math/auto-libm-test-out: Regenerated.
30883         * sysdeps/i386/fpu/libm-test-ulps: Update.
30884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30886 2015-04-09  Roland McGrath  <roland@hack.frob.com>
30888         * Makeconfig (module-cppflags): Exclude all .v.i files.
30889         (skip-module-cppflags): Variable removed.
30891         * configure.ac (libc_config_ok): Initialize before reading
30892         preconfigure scripts, not after.
30893         * configure: Regenerated.
30895         * test-skeleton.c (TIMEOUT): Move #define to top level.
30896         (main): Grok environment variable TEST_DIRECT.  If set, print
30897         test expectation details into that file and then behave as if
30898         given --direct.
30900 2015-04-09  Florian Weimer  <fweimer@redhat.com>
30902         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
30903         warning on 32-bit.
30905 2015-04-08  David S. Miller  <davem@davemloft.net>
30907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30909 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30911         * math/auto-libm-test-in: Add more tests of atanh.
30912         * math/auto-libm-test-out: Regenerated.
30913         * sysdeps/i386/fpu/libm-test-ulps: Update.
30914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30916         * math/auto-libm-test-in: Add more tests of atan.
30917         * math/auto-libm-test-out: Regenerated.
30918         * sysdeps/i386/fpu/libm-test-ulps: Update.
30919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30921 2015-04-08  Florian Weimer  <fweimer@redhat.com>
30923         * elf/pldd.c (main): Rewrite to use struct
30924         scratch_buffer instead of extend_alloca.
30925         * elf/pldd-xx.c (find_maps): Likewise.
30926         * grp/initgroups.c: Include <scratch_buffer.h> instead of
30927         <alloca.h>.
30928         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
30929         scratch_buffer instead of extend_alloca.
30930         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
30931         grp/compat-initgroups.c.
30932         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
30933         Rewrite to use struct scratch_buffer instead of extend_alloca.
30934         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
30935         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
30937 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
30939         * math/auto-libm-test-in: Add more tests of cbrt.
30940         * math/auto-libm-test-out: Regenerated.
30941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30943         * math/auto-libm-test-in: Add more tests of cabs.
30944         * math/auto-libm-test-out: Regenerated.
30945         * sysdeps/i386/fpu/libm-test-ulps: Update.
30946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30948         [BZ #18210]
30949         [BZ #18211]
30950         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
30951         (__ieee754_atan2): Set FE_TONEAREST mode for internal
30952         computations.
30953         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
30954         clog10.
30955         * math/auto-libm-test-out: Regenerated.
30956         * sysdeps/i386/fpu/libm-test-ulps: Update.
30957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30959         [BZ #18197]
30960         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
30961         (atan): Set FE_TONEAREST mode for internal computations.
30962         * math/auto-libm-test-in: Add more tests of atan.
30963         * math/auto-libm-test-out: Regenerated.
30965 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
30967         [BZ #17930]
30968         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
30970 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30972         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
30974 2015-04-07  Florian Weimer  <fweimer@redhat.com>
30976         * include/scratch_buffer.h: New file.
30977         * malloc/scratch_buffer_grow.c: Likewise.
30978         * malloc/scratch_buffer_grow_preserve.c: Likewise.
30979         * malloc/scratch_buffer_set_array_size.c: Likewise.
30980         * malloc/tst-scratch_buffer.c: Likewise.
30981         * malloc/Makefile (routines): Add scratch_buffer_grow.
30982         (tests): Add test case.
30983         * malloc/Versions (GLIBC_PRIVATE): Export
30984         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
30985         __libc_scratch_buffer_set_array_size.
30987 2015-04-06  Richard Henderson  <rth@redhat.com>
30989         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
30990         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30992         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
30993         unsigned int before printing.
30995 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30997         [BZ #17596]
30998         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
30999         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31001 2015-04-02  Florian Weimer  <fweimer@redhat.com>
31003         * include/libc-internal.h (libc_max_align_t): Define.
31005 2015-04-02  Andreas Schwab  <schwab@suse.de>
31007         [BZ #16850]
31008         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
31010 2015-04-02  Mel Gorman  <mgorman@suse.de>
31012         [BZ #17195]
31013         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
31014         as well as the main arena.
31016 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31018         [BZ #18185]
31019         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
31020         sharing L2 cache to 2 for Silvermont/Knights Landing.
31022 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31024         [BZ #17711]
31025         * config.make.in (have-protected-data): New.
31026         * configure.ac: Check linker support for protected data symbol.
31027         * configure: Regenerated.
31028         * elf/Makefile (modules-names): Add tst-protected1moda and
31029         tst-protected1modb if $(have-protected-data) is yes.
31030         (tests): Add tst-protected1a and tst-protected1b if
31031         $(have-protected-data) is yes.
31032         ($(objpfx)tst-protected1a): New.
31033         ($(objpfx)tst-protected1b): Likewise.
31034         (tst-protected1modb.so-no-z-defs): Likewise.
31035         * elf/tst-protected1a.c: New file.
31036         * elf/tst-protected1b.c: Likewise.
31037         * elf/tst-protected1mod.h: Likewise.
31038         * elf/tst-protected1moda.c: Likewise.
31039         * elf/tst-protected1modb.c: Likewise.
31041 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
31043         [BZ #17711]
31044         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
31045         indicates it is called from do_lookup_x on relocation against
31046         protected data, skip the data definion in the executable from
31047         copy reloc.
31048         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
31049         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
31050         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
31051         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
31052         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
31053         otherwise to 0.
31054         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31055         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
31056         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
31057         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
31058         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
31059         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
31061 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
31063         * sysdeps/nptl/pthread.h: Remove duplicate definition of
31064         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
31066 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
31068         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
31069         THREAD_SETMEM_NC.
31070         * sysdeps/x86_64/nptl/tls.h: Ditto.
31072 2015-03-27  Roland McGrath  <roland@hack.frob.com>
31074         * dlfcn/tststatic.c (main): Converted to ...
31075         (do_test): ... this.
31076         (TEST_FUNCTION): New macro.
31077         Include test-skeleton.c.
31079 2015-03-26  Alan Modra  <amodra@gmail.com>
31081         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
31082         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
31083         zero for undefined weak.
31084         (elf_machine_plt_conflict): Similarly.
31086 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31088         * math/auto-libm-test-in: Add more tests of acosh, asinh and
31089         atanh.
31090         * math/auto-libm-test-out: Regenerated.
31091         * sysdeps/i386/fpu/libm-test-ulps: Update.
31092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31094         * math/auto-libm-test-in: Add another test of asin.
31095         * math/auto-libm-test-out: Regenerated.
31096         * sysdeps/i386/fpu/libm-test-ulps: Update.
31097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31099         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
31100         Remove macro.
31101         (LLL_EBX_REG): Likewise.
31102         (LLL_ENTER_KERNEL): Likewise.
31104         * math/auto-libm-test-in: Add more tests of asin.
31105         * math/auto-libm-test-out: Regenerated.
31106         * sysdeps/i386/fpu/libm-test-ulps: Update.
31107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31109         [BZ #18138]
31110         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
31111         libc_do_syscall_args): New structure.
31112         (INTERNAL_SYSCALL_MAIN_0): New macro.
31113         (INTERNAL_SYSCALL_MAIN_1): Likewise.
31114         (INTERNAL_SYSCALL_MAIN_2): Likewise.
31115         (INTERNAL_SYSCALL_MAIN_3): Likewise.
31116         (INTERNAL_SYSCALL_MAIN_4): Likewise.
31117         (INTERNAL_SYSCALL_MAIN_5): Likewise.
31118         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
31119         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
31120         Replace conditional definitions by conditional definitions of ....
31121         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
31122         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
31123         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
31124         (libpthread-sysdep_routines): Add libc-do-syscall.
31125         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
31126         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31127         to __NR_futex not 240.
31129 2015-03-25  Alan Modra  <amodra@gmail.com>
31131         * NEWS: Advertise TLS optimization.
31132         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
31133         (DT_PPC_NUM): Increment.
31134         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
31135         (CHECK_STATIC_TLS): Use here.
31136         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
31137         TLS descriptors.
31138         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31139         * sysdeps/powerpc/dl-tls.c: New file.
31140         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
31141         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
31142         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
31143         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
31144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
31145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
31146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
31148 2015-03-25  Alan Modra  <amodra@gmail.com>
31150         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
31151         for overlapping .opd entries" to "support...".
31152         * sysdeps/powerpc/powerpc64/configure: Regenerate
31154 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
31156         * math/auto-libm-test-in: Add more tests of acos.
31157         * math/auto-libm-test-out: Regenerated.
31158         * sysdeps/i386/fpu/libm-test-ulps: Update.
31159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31161         * math/auto-libm-test-in: Add more tests of expm1.
31162         * math/auto-libm-test-out: Regenerated.
31163         * sysdeps/i386/fpu/libm-test-ulps: Update.
31164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31166 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
31168         * math/auto-libm-test-in: Add more tests of cosh and sinh.
31169         * math/auto-libm-test-out: Regenerated.
31170         * sysdeps/i386/fpu/libm-test-ulps: Update.
31171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31173         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
31174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31176         * math/auto-libm-test-in: Add more tests of log2.
31177         * math/auto-libm-test-out: Regenerated.
31178         * sysdeps/i386/fpu/libm-test-ulps: Update.
31179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31181 2015-03-23  Roland McGrath  <roland@hack.frob.com>
31183         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
31184         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
31185         _IO_IS_APPENDING bit in READ_WRITE instead.
31187 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31189         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
31190         (__determine_cpumask_size): Replace extend_alloca with a
31191         variable-length array.  Do not treat res == 0 as an error.
31193 2015-03-23  Florian Weimer  <fweimer@redhat.com>
31195         [BZ #18100]
31196         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
31197         and integer overflow.
31198         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
31199         (main): Add integer overflow tests.
31200         * manual/pattern.texi (Calling Wordexp): Document additional use
31201         for WRDE_SYNTAX.
31203 2015-03-23  Alan Modra  <amodra@gmail.com>
31205         * config.h.in: Remove HAVE_ASM_PPC_REL16.
31206         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
31207         and false branch of conditional.
31208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
31209         Likewise.
31211 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
31213         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
31214         libc-modules.h
31215         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
31216         unused declaration of _hurd_intr_rpc_msg_in_trap.
31217         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
31218         defined instead of whether it is non-zero.
31219         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
31220         input constraint instead of both input and output constraint.  Use ecx
31221         clobber instead of %ecx.
31222         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
31223         mutex_unlock): Use a statement expression instead of an expression list.
31224         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
31225         type to vm_size_t instead of vm_address_t.
31226         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
31227         defined instead of whether it is non-zero.
31228         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
31229         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
31230         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
31231         comparisons with mapaddr.
31232         * nscd/nscd-client.h: Include <time.h>.
31233         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
31234         9th parameter to __vm_region instead of int.
31235         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
31236         * scripts/check-local-headers.sh (exclude): Add device/,
31237         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
31238         cthreads.h.
31240 2015-03-19  Roland McGrath  <roland@hack.frob.com>
31242         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
31243         to account for alignment padding.
31244         * sysdeps/arm/memmove.S: Likewise.
31246 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
31248         * sysdeps/unix/sysv/linux/generic/README: New file.
31250 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
31252         [BZ #18138]
31253         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
31254         (futex_abstimed_wait)
31255         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
31256         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
31257         of lll_futex_timed_wait.
31259 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
31261         [BZ #17542]
31262         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
31264 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
31266         [BZ #17090]
31267         [BZ #17620]
31268         [BZ #17621]
31269         [BZ #17628]
31270         * NEWS: Update.
31271         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
31272         entries with Static TLS too.  Skip entries past the end of the
31273         allocated DTV, from Alan Modra.
31274         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
31275         Static TLS DTV entry set up from...
31276         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
31277         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
31278         * nptl/allocatestack.c (init_one_static_tls): ... and here...
31279         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
31280         for Static TLS.
31281         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
31282         that the slot we find is associated with the given map before
31283         using its generation count.
31284         * nptl_db/db_info.c: Include ldsodefs.h.
31285         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
31286         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
31287         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
31288         (link_map::l_tls_offset): New struct field.
31289         (dtv_t::counter): Likewise.
31290         (rtld_global): New struct.
31291         (_rtld_global): New rtld variable.
31292         (dl_tls_dtv_slotinfo_list): New rtld global field.
31293         (dtv_slotinfo_list): New struct.
31294         (dtv_slotinfo): Likewise.
31295         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
31296         (td_lookup): Rename to...
31297         (td_mod_lookup): ... this.  Use new mod parameter instead of
31298         LIBPTHREAD_SO.
31299         * nptl_db/td_thr_tlsbase.c: Include link.h.
31300         (dtv_slotinfo_list, dtv_slotinfo): New functions.
31301         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
31302         addresses even if the DTV is out of date or missing them.
31303         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
31304         index zero-length arrays.
31305         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
31306         (td_lookup): Make it a macro implemented in terms of...
31307         (td_mod_lookup): ... this declaration.
31308         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
31309         (DB_MAIN_VARIABLE): Likewise.
31311 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31313         [BZ #18134]
31314         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31316 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
31318         * stdlib/setenv.c (__add_to_environ): Revert previous change.
31320 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
31322         [BZ #18128]
31323         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
31324         (atomic_add, atomic_increment_and_test)
31325         (atomic_decrement_and_test): Fix 64-bit arithmetic.
31327 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
31329         * stdlib/setenv.c (__add_to_environ):
31330         Dump core quickly if setenv (..., NULL, ...) is called.
31332 2015-03-13  Roland McGrath  <roland@hack.frob.com>
31334         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
31335         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
31336         all the necessary asm magic in one place.
31337         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
31338         using those.
31340 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
31342         [BZ #14906]
31343         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
31344         traced file mtime. Use consistent log message.
31345         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
31346         (register_traced_file): Call install_watches. Always set mtime.
31347         (invalidate_cache): Iterate over all trace files. Call install_watches.
31348         (inotify_check_files): Don't inline. Handle watching parent
31349         directories and configuration file movement in and out.
31350         (handle_inotify_events): New function.
31351         (main_loop_poll): Call handle_inotify_events.
31352         (main_loop_epoll): Likewise.
31353         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
31354         (struct traced_file): Use array of inotify fds. Add parent directory,
31355         and basename.
31356         (struct database_dyn): Remove unused file_mtime.
31357         (init_traced_file): New inline function.
31358         (define_traced_file): New macro.
31359         * nss/nss_db/db-init.c: Use define_traced_file.
31360         (_nss_db_init): Use init_traced_file.
31361         * nss/nss_files/files-init.c: Use define_traced_file.
31362         (_nss_files_init): Use init_traced_file.
31364 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
31366         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
31367         [_LIBC]: Do not include <stdlib.h>.
31368         [!_LIBC] (abort): Remove declaration.
31369         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
31370         _FP_STATIC_ASSERT instead of conditionally calling abort.
31371         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
31372         (_FP_EXTEND_CNAN): Likewise.
31373         (FP_TRUNC): Likewise.
31374         (__FP_CLZ): Likewise.
31375         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
31377 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
31379         * manual/string.texi (XPG basename): Fix prototype.
31381 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31383         [BZ #18080]
31384         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
31385         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31386         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
31387         (__setcontext): Likewise.
31388         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
31389         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
31390         Call rt_sigprocmask syscall one time to set new signal mask
31391         and retrieve the current signal mask instead of two calls.
31392         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
31393         (__swapcontext): Likewise.
31394         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
31395         * stdlib/tst-setcontext2.c: New file.
31397 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
31399         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31401 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
31403         [BZ #18093]
31404         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
31405         the wrong size.
31407 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
31409         [BZ #18043]
31410         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
31412 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31414         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
31415         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
31416         Remove define.
31417         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
31418         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
31419         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
31420         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
31421         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
31422         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
31423         define.
31424         * nptl_db/td_symbol_list.c (td_lookup): Remove
31425         HAVE_ASM_GLOBAL_DOT_NAME code.
31426         * sysdeps/powerpc/powerpc64/configure.ac: Remove
31427         HAVE_ASM_GLOBAL_DOT_NAME check.
31428         * sysdeps/powerpc/powerpc64/configure: Regenerate.
31429         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
31430         (DOT_LABEL): Remove define.
31431         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
31432         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
31433         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
31434         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
31435         (__TLS_GET_ADDR): Likewise.
31436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
31437         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
31439 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
31441         [BZ #18111]
31442         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
31443         (_FPU_SETCW): Initialize cw from fpsr before storing.
31444         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
31445         (fesetexceptflag): Rewrite using fpu_control.h.
31446         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
31448 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
31450         [BZ #18110]
31451         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
31452         asms.
31453         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31455 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
31457         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
31458         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
31459         abort.
31460         (_FP_FMA): Likewise.
31461         (_FP_DIV): Likewise.
31463 2015-03-10  Roland McGrath  <roland@hack.frob.com>
31465         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
31466         with 0 in that case.
31467         * Makefile (summarize-tests): New canned sequence, factored out of
31468         commands for targets tests and xtests.  Display summary lines that
31469         don't start with PASS: or XFAIL: rather than ones that do start with
31470         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
31471         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
31472         do start with ERROR: or FAIL:.
31473         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
31474         (except for [$(build-shared) = yes]).
31475         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
31476         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
31477         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
31478         * nptl/Makefile: Revert 2015-03-04 changes.
31479         [$(CXX) empty] (tests-unsupported): New variable.
31480         * debug/Makefile: Likewise.
31482         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
31483         gnulib file.  Replace __attribute with __attribute__ throughout.
31485 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
31487         * sysdeps/hppa/fpu/libm-test-ulps: Update.
31489 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31491         [BZ #18104]
31492         * math/auto-libm-test-in: Add another test of pow.
31493         * math/auto-libm-test-out: Regenerated.
31495 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31497         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
31498         $(config-cflags-nofma).
31500 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
31502         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
31503         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
31504         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
31505         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
31506         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
31507         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
31508         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
31509         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
31510         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
31511         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
31512         Add comment on closing #endif.
31514 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31516         * posix/wordexp.c (CHAR_IN_SET): New macro.
31517         (parse_param): Use it.
31519 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31521         * sysdeps/powerpc/fpu/libm-test-ulps: update.
31523 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31525         [BZ #18043]
31526         * posix/wordexp.c (parse_param): Fix buffer overflow.
31527         * posix/wordexp-test.c (test_case): Add test case.
31529 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31531         [BZ #18042]
31532         * posix/wordexp.c (parse_backtick): Fix off-by-one.
31533         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
31535 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
31537         [BZ #18043]
31538         * posix/wordexp-test.c (test_case): Add test for BZ #18043
31539         (do_bz18043): Delete.
31540         (at_page_end): New.
31541         (testit): Refactor to have words at the edge of unreadable page.
31543 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31545         [BZ #16734]
31546         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
31547         Cleanup read-only streams as well.
31548         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
31550 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31552         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
31553         <bits/libc-lockP.h>
31555 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
31557         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
31558         on [__KERNEL__].
31559         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
31560         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
31561         * soft-fp/op-common.h (_FP_DECL): Likewise.
31563 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
31565         * elf/ifuncdep2.c (global): Replace
31566         __attribute__((visibility("protected"))) with
31567         asm (".protected global").
31568         * elf/ifuncmod1.c (global): Likewise.
31569         * elf/ifuncmod5.c (global): Likewise.
31571 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
31573         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
31574         <asm/sfp-machine.h> instead of <sfp-machine.h>.
31576 2015-03-06  Roland McGrath  <roland@hack.frob.com>
31578         * manual/install.texi (Configuring and compiling):
31579         Document test-wrapper-env-only.
31580         * INSTALL: Regenerated.
31582 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31584         [BZ #18043]
31585         * posix/wordexp.c (parse_param): Fix buffer overflow.
31586         * posix/wordexp-test.c (do_bz18043): Add test case.
31588 2015-03-06  Vincent Bernat  <vincent@bernat.im>
31590         * time/tst-strptime2.c (do_test): Ensure failing tests are
31591         reported correctly.
31592         * time/tst-strptime3.c (do_test): Likewise.
31594 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
31596         Fix aio_error thread-safety.
31597         * sysdeps/pthread/aio_error.c: New file
31598         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
31599         synchronization.
31601 2015-03-06  Florian Weimer  <fweimer@redhat.com>
31603         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
31604         (group_number, vfprintf): Use it.
31605         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
31606         (JUMP, REF): Use it.
31607         (WORK_BUFFER_SIZE): New enum constant.
31608         (process_arg, vfprintf): Use it.
31610 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
31612         * manual/errno.texi (Error Messages): Complete example function
31613         by adding missing #define.
31614         (program_invocation_name): Add statement indicating GNU
31615         extension and reference which header file declares the variable.
31616         (program_invocation_short_name): Likewise.
31618 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
31620         * manual/errno.texi (Error Messages): Delete strerror ISO C89
31621         compatibility note.
31623 2015-03-05  Roland McGrath  <roland@hack.frob.com>
31625         * Makeconfig (test-wrapper-env-only): New variable.
31626         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
31627         then use that with $(test-wrapper-env-only) rather than using
31628         $(test-wrapper-env) $(run-program-env) $($*-ENV).
31630 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
31632         [BZ #18082]
31633         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
31634         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
31635         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
31636         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
31637         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
31638         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
31639         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
31640         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
31641         Likewise.
31642         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
31643         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
31644         Likewise.
31645         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
31646         Likewise.
31647         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
31648         Likewise.
31649         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
31650         Likewise.
31651         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
31652         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
31653         Likewise.
31654         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
31655         Likewise.
31656         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
31657         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
31659 2015-03-04  Roland McGrath  <roland@hack.frob.com>
31661         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
31662         (ETH_ALEN): New macro.
31663         (struct ether_addr): Use it for length of ether_addr_octet.
31665         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
31666         (setdb): Don't call __nss_configure_lookup for "rpc".
31667         (do_test): Don't call test_rpc.
31668         (output_rpcent, test_rpc): Functions moved ...
31669         * sunrpc/test-rpcent.c: ... to this new file.
31670         * sunrpc/Makefile (tests): Add it.
31672         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
31673         __xpg_sigpause.
31674         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
31675         * nptl/tst-signal6.c: Likewise.
31676         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
31677         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
31679         * configure.ac (libc_cv_cxx_link_ok): New check.
31680         Reset CXX to empty if it fails to link.
31681         * configure: Regenerated.
31682         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
31683         bug-atexit3-lib only if $(CXX) is nonempty.
31684         * nptl/Makefile (tests): Likewise for tst-cancel24.
31685         (tests, tests-static): Likewise for tst-cancel24-static.
31686         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
31687         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
31688         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
31689         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
31691 2015-03-04  Andreas Schwab  <schwab@suse.de>
31693         [BZ #17631]
31694         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
31695         for non-GCC compilers.
31696         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
31697         Likewise.
31699 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
31701         [BZ #17776]
31702         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
31703         integer before bitwise and assembly operations.
31704         (feclearexcept): Likewise.
31705         * math/test-fenvinline.c: New file.
31706         * math/Makefile: Add test-fenvinline test.
31708 2015-03-03  Alan Modra  <amodra@gmail.com>
31710         [BZ #16512]
31711         * scripts/localplt.awk: Strip off symbol version.
31712         * NEWS: Mention bug fix.
31714 2015-03-02  Roland McGrath  <roland@hack.frob.com>
31716         * sysdeps/pthread/timer_routines.c
31717         (timer_free_list, thread_free_list, thread_active_list): Make static.
31719 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
31721         [BZ #17779]
31722         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31723         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31724         Undefine.
31725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31726         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31727         Likewise.
31728         * sysdeps/unix/sysv/linux/sh/kernel-features.h
31729         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
31730         Likewise.
31732 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31734         [BZ #18036]
31735         * posix/fnmatch_loop.c (END): Detect invalid pattern.
31736         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
31738 2015-03-02  Andreas Schwab  <schwab@suse.de>
31740         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
31741         variable name.
31743 2015-03-02  Florian Weimer  <fweimer@redhat.com>
31745         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
31746         Return error status.
31748 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
31750         [BZ #15969]
31751         * locale/findlocale.c (_nl_find_locale): Introduce const
31752         version of loc_name and drop unsafe type casts.
31754 2015-02-27  Roland McGrath  <roland@hack.frob.com>
31756         * dlfcn/tststatic2.c (main): Converted to ...
31757         (do_test): ... this.
31758         (TEST_FUNCTION): New macro.
31759         Include test-skeleton.c.
31761 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
31763         [BZ #17711]
31764         * elf/Makefile (tests): Add vismain only if PIE is enabled.
31765         (tests-pie): Add vismain.
31766         (CFLAGS-vismain.c): New.
31767         * elf/vismain.c: Add comments for PIE requirement.
31769 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31771         [BZ #18046]
31772         [BZ #18047]
31773         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
31774         0x1p-56L as threshold for just returning the argument.
31775         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
31776         0x1p-32L as threshold for just returning the argument.
31777         * math/auto-libm-test-in: Add more tests of atanh.
31778         * math/auto-libm-test-out: Regenerated.
31779         * sysdeps/i386/fpu/libm-test-ulps: Update.
31780         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
31782 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31784         * string/bcopy.c (bcopy): Call memmove for performance.
31786 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31788         * string/bzero.c (__bzero): Call memset for performance.
31790 2015-02-27  John David Anglin  <dave.anglin@bell.net>
31792         [BZ #18068]
31793         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
31794         to 00100000.
31796 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
31798         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
31800 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31802         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
31803         (__kernel_standard): Use CSTR macro when setting exc.name.
31804         * sysdeps/ieee754/Makefile [$(subdir) = math]
31805         (CFLAGS-k_standard.c): Remove variable.
31807         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
31808         setting p and q from "else if" to "else".
31809         (qzero): Likewise.
31810         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
31811         (qone): Likewise.
31812         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
31813         (qzerof): Likewise.
31814         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
31815         (qonef): Likewise.
31816         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
31817         (qzero): Likewise.
31818         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
31819         (qone): Likewise.
31821         [BZ #18038]
31822         [BZ #18039]
31823         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
31824         return pi/2 for arguments below 0x1p-113L.
31825         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
31826         return pi/2 for arguments below 0x1p-106L.
31827         * math/auto-libm-test-in: Add more tests of acos.
31828         * math/auto-libm-test-out: Regenerated.
31830         [BZ #16351]
31831         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
31832         (MO): New macro.
31833         (__ieee754_asin): Force underflow exception for results with small
31834         absolute value.
31835         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
31836         (MO): New macro.
31837         (__ieee754_asinf): Force underflow exception for results with
31838         small absolute value.
31839         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
31840         (__ieee754_asin): Force underflow exception for results with small
31841         absolute value.
31842         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
31843         (__ieee754_asinf): Force underflow exception for results with
31844         small absolute value.
31845         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
31846         (__ieee754_asinl): Force underflow exception for results with
31847         small absolute value.
31848         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
31849         (__ieee754_asinl): Force underflow exception for results with
31850         small absolute value.
31851         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
31852         (__ieee754_asinl): Force underflow exception for results with
31853         small absolute value.
31854         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
31855         Include <math.h>.
31856         * math/auto-libm-test-in: Do not mark underflow exceptions as
31857         possibly missing for bug 16351.
31858         * math/auto-libm-test-out: Regenerated.
31860         [BZ #18030]
31861         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
31862         of power of 2 down when low part has opposite sign.
31863         * math/libm-test.inc (logb_test_data): Add more tests.
31865 2015-02-26  Andreas Schwab  <schwab@suse.de>
31867         [BZ #18032]
31868         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
31869         over collating symbol inside a bracket expression.  Minor cleanup.
31870         * posix/tst-fnmatch3.c (do_test): Add test case.
31872 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
31874         [BZ #18029]
31875         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
31876         Adjust exponent of power of 2 down when low part has opposite
31877         sign.
31878         * math/libm-test.inc (ilogb_test_data): Add more tests.
31880 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
31882         [BZ #15969]
31883         * locale/findlocale.c (_nl_find_locale): Fix constness error in
31884         the previous change.
31886         [BZ #15969]
31887         * locale/findlocale.c (_nl_find_locale): Retry archive search
31888         after alias expansion.
31890 2015-02-25  Roland McGrath  <roland@hack.frob.com>
31892         * iconv/tst-iconv3.c (main): Converted to ...
31893         (do_test): ... this.
31894         (TEST_FUNCTION): New macro.
31895         Include test-skeleton.c.
31897         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
31898         (convert): Make function static.
31899         (test_unalign): Likewise.  Add const to argument pointee types.
31900         (main): Replace with static function do_test.
31901         Print "Succeeded." only if RET is zero.
31902         (TEST_FUNCTION): New macro.
31903         Include test-skeleton.c.
31905         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
31906         returns a null pointer.
31908 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31910         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
31911         to __memcpy_ppc only for static builds.
31913 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
31915         [BZ #18020]
31916         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
31917         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
31918         * math/auto-libm-test-in: Add more tests of asinh.
31919         * math/auto-libm-test-out: Regenerated.
31920         * sysdeps/i386/fpu/libm-test-ulps: Update.
31921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31923 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
31925         [BZ #15850]
31926         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
31927         and ip6_mtuinfo definitions here.
31928         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
31929         in this define too.  Update comment.
31931 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
31933         * elf/sprof.c (load_shobj): Tweak error message to match others.
31935 2015-02-24  Kevin Easton  <kevin@guarana.org>
31937         [BZ #16145] (partial fix)
31938         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
31939         to reduce lock contention.
31941 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
31943         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
31944         (struct timex): Update time comment.
31945         (ADJ_SETOFFSET): Define.
31947 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31949         [BZ #18019]
31950         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31951         2**56 not 2**28 as threshold for log (2x) formula.
31952         * math/auto-libm-test-in: Add more tests of acosh.
31953         * math/auto-libm-test-out: Regenerated.
31954         * sysdeps/i386/fpu/libm-test-ulps: Update.
31955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31957 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
31959         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
31960         parenthesis around the buf assignment.
31961         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
31963 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
31965         [BZ #16783]
31966         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
31967         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
31968         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
31969         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31970         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
31971         * math/libm-test.inc (scalb_test_data): Add more tests.
31973 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
31975         [BZ #17916]
31976         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
31977         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
31979 2015-02-24  Eric Rannaud  <e@nanocritical.com>
31981         [BZ #17523]
31982         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
31983         * io/bits/fcntl2.h (open): Use it.
31984         (openat): Likewise.
31985         * io/open.c (__libc_open): Likewise.
31986         * io/open64.c (__libc_open64): Likewise.
31987         * io/open64_2.c (__open64_2): Likewise.
31988         * io/open_2.c (__open_2): Likewise.
31989         * io/openat.c (__openat): Likewise.
31990         * io/openat64.c (__openat64): Likewise.
31991         * io/openat64_2.c (__openat64_2): Likewise.
31992         * io/openat_2.c (__openat_2): Likewise.
31993         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
31994         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
31995         * sysdeps/posix/open64.c (__libc_open64): Likewise.
31996         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
31997         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
31998         (__open_nocancel): Likewise.
31999         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
32000         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
32001         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
32003 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32005         [BZ #14841]
32006         * resolv/gethnamaddr.c (getanswer): Skip logging if
32007         RES_USE_DNSSEC is set.
32008         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
32010 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
32012         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
32014 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
32016         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
32017         201304L, for Unicode 7.
32019 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
32021         [BZ #17836]
32022         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
32023         shared library.  Add gmon-start.os otherwise.
32024         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
32025         $(objpfx)gmon-start.os if builing shared library.
32026         ($(objpfx)g$(static-start-installed-name)): Likewise.
32028 2015-02-23  Andreas Schwab  <schwab@suse.de>
32030         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
32032 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
32034         [BZ #17269]
32035         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
32036         (enlarge_userbuf): Likewise.
32038 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
32040         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32041         * math/atest-exp.c (TIMEOUT): Adjust to 200.
32042         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
32043         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
32045 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
32047         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
32048         expression inside statement expression.
32050 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32052         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
32053         <sysdeps/nptl/lowlevellock.h> and remove macros and
32054         functions that are now defined there.
32055         (SYS_futex): Remove.
32056         (lll_compare_and_swap): Remove.
32057         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
32059 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
32061         [BZ #17999]
32062         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
32063         instead of scandirat.
32064         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
32065         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
32066         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
32067         __scandirat.
32068         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
32069         (__scandirat): Declare.  Use libc_hidden_proto.
32070         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
32071         Remove variable.
32072         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
32074 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32076         [BZ #15319]
32077         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
32078         (MO): New macro.
32079         (__ieee754_atan2): For results with small absolute value, force
32080         underflow exception and remove excess range and precision from
32081         return value.
32082         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
32083         (MO): New macro.
32084         (__ieee754_atan2f): For results with small absolute value, force
32085         underflow exception and remove excess range and precision from
32086         return value.
32087         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
32088         (MO): New macro.
32089         (__atan): For results with small absolute value, force underflow
32090         exception and remove excess range and precision from return value.
32091         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
32092         (MO): New macro.
32093         (__atanf): For results with small absolute value, force underflow
32094         exception and remove excess range and precision from return value.
32095         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
32096         <math.h>.
32097         (__ieee754_atan2): Force underflow exception for results with
32098         small absolute value.
32099         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
32100         <math_private.h>.
32101         (atan): Force underflow exception for results with small absolute
32102         value.
32103         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
32104         (__atanf): Force underflow exception for results with small
32105         absolute value.
32106         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
32107         <math.h>.
32108         (__atanl): Force underflow exception for results with small
32109         absolute value.
32110         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
32111         (__atanl): Force underflow exception for results with small
32112         absolute value.
32113         * sysdeps/x86/fpu/bits/mathinline.h
32114         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
32115         (__ieee754_atan2): Only define inline for long double.
32116         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
32117         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
32118         * math/auto-libm-test-in: Do not mark underflow exceptions as
32119         possibly missing for bug 15319.  Add more tests of atan2.
32120         * math/auto-libm-test-out: Regenerated.
32121         * math/libm-test.inc (casin_test_data): Do not mark underflow
32122         exceptions as possibly missing for bug 15319.
32123         (casinh_test_data): Likewise.
32124         * sysdeps/i386/fpu/libm-test-ulps: Update.
32126 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
32128         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
32129         * sysdeps/mips/bits/endian.h: Fix comments.
32131 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
32133         [BZ #17996]
32134         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
32135         (hdestroy_r): Likewise.
32136         (hsearch_r): Likewise.
32137         (__hcreate_r): Declare and use libc_hidden_proto.
32138         (__hdestroy_r): Likewise.
32139         (__hsearch_r): Likewise.
32140         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
32141         (hcreate): Call __hcreate_r instead of hcreate_r.
32142         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
32143         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
32144         as weak alias of __hcreate_r.
32145         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
32146         __hdestroy_r.
32147         (hsearch_r): Rename to __hsearch_r and define as weak alias of
32148         __hsearch_r.
32149         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
32150         Remove variable.
32151         (test-xfail-XPG4/search.h/linknamespace): Likewise.
32152         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
32153         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
32154         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
32156 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32158         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
32159         arena_lock into a single arena_get.
32161 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
32163         * dl-reloc.c: Inlucde libc-internal.h.
32164         (_dl_try_allocate_static_tls): Call ALIGN_UP.
32165         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
32166         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
32167         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
32168         (grow_heap): Likewise.
32169         * malloc/malloc.c: Include libc-internal.h.
32170         (do_check_malloc): Call powerof2.
32171         (sysmalloc): Use pagesize. Call ALIGN_UP.
32172         (systrim): Use pagesize.
32173         (mremap_chunk): Use pagesize. Call ALIGN_UP.
32174         (__libc_valloc): Use pagesize.
32175         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
32177 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32179         [BZ #17991]
32180         * include/sys/resource.h (__getrlimit64): Declare.  Use
32181         libc_hidden_proto.
32182         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
32183         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
32184         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
32185         getrlimit64.
32186         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
32187         __getrlimit64.
32188         [!getrlimit64] (getrlimit64): Define as weak alias of
32189         __getrlimit64.  Use libc_hidden_weak.
32190         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
32191         using __getrlimit64 not __new_getrlimit64.
32192         (__GI_getrlimit64): Likewise.
32193         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
32194         Likewise.
32195         (__GI_getrlimit64): Likewise.
32196         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
32197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
32198         (getrlimit): Add __getrlimit64 alias.
32199         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
32200         Likewise.
32201         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
32202         Remove variable.
32203         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
32204         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
32206 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
32208         * libio/fileops.c: Add missing sys/mman.h
32209         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
32211 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
32213         * manual/math.texi (Errors in Math Functions): Clarify goals
32214         regarding inexact and underflow exceptions.
32216 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32218         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
32219         * sysdeps/mips/memset.S: Ditto.
32221 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
32223         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
32225 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32227         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
32228         (__v1longjmp): Remove versioned symbol.
32229         (__v1siglongjmp): Remove alias and versioned symbol.
32230         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
32231         (__v2siglongjmp): Likewise.
32233 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32235         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
32237 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
32239         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
32241 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32243         [BZ #17987]
32244         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
32245         zero result does not depend on the sign resulting from
32246         subtraction.
32247         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32248         Likewise.
32249         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32250         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32251         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32252         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32253         * math/libm-test.inc (remquo_test_data): Add more tests.
32255 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
32257         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
32258         Problem reported by J William Piggott.
32260 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
32262         [BZ #17978]
32263         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
32264         products 4 * y and 2 * y where those would overflow.
32265         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32266         Likewise.
32267         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
32268         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
32269         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32270         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
32271         * math/libm-test.inc (remquo_test_data): Add more tests.
32273         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
32275         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
32276         [defined _COMPILING_NEWLIB].
32277         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
32278         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
32280         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
32281         [!defined __mips_isa_rev || __mips_isa_rev < 6].
32283 2015-02-16  Torvald Riegel  <triegel@redhat.com>
32285         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
32286         acquired.
32288 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
32290         [BZ #17792]
32291         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
32292         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
32293         HOST_STACK_END_ADDR): Likewise.
32295 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
32297         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
32298         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
32299         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
32301 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32303         * sysdeps/generic/c++-types.data: New file.
32304         * sysdeps/generic/ld.abilist: New file.
32305         * sysdeps/generic/libBrokenLocale.abilist: New file.
32306         * sysdeps/generic/libanl.abilist: New file.
32307         * sysdeps/generic/libc.abilist: New file.
32308         * sysdeps/generic/libcrypt.abilist: New file.
32309         * sysdeps/generic/libdl.abilist: New file.
32310         * sysdeps/generic/libm.abilist: New file.
32311         * sysdeps/generic/libpthread.abilist: New file.
32312         * sysdeps/generic/libresolv.abilist: New file.
32313         * sysdeps/generic/librt.abilist: New file.
32315 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32317         [BZ #17569]
32318         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
32319         Compute absolute value of x as modified by fmod, not original
32320         value of x.
32321         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
32322         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
32323         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
32324         RUN_TEST_ffI_f1_mod8.
32325         (remquo_test_data): Add more tests.
32327 2015-02-13  Roland McGrath  <roland@hack.frob.com>
32329         * sysdeps/init_array/pt-crti.S: New file.
32331 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
32333         [BZ #17967]
32334         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
32335         __builtin_fmaf instead of relying on contraction of a * b + c.
32337 2015-02-12  J William Piggott  <elseifthen@gmx.com>
32339         [BZ #17969]
32340         * manual/time.texi: correct the zoneinfo path in the TZ Variable
32341         node.
32343 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32345         [BZ #17964]
32346         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
32347         __builtin_fma instead of relying on contraction of a * b + c.
32349 2015-02-12  Roland McGrath  <roland@hack.frob.com>
32351         * Makeconfig (ASFLAGS): Add -Werror=undef.
32352         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
32353         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
32354         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
32356         * Makeconfig (after-link): New variable.
32357         (+link-pie, +link-pie-tests): Use it.
32358         (+link-static, +link-static-tests): Likewise.
32359         (+link, +link-tests): Likewise.
32360         * Makerules (build-module, build-module-asneeded): Likewise.
32361         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
32362         Likewise.
32363         * elf/Makefile ($(objpfx)ld.so): Likewise.
32365 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
32367         [BZ #17965]
32368         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
32369         both struct timeval and struct timespec.
32371 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
32373         [BZ #16560]
32374         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32375         and redefine.
32376         (__ieee754_exp2l): Do not multiply small fractional parts by
32377         M_LN2l.
32378         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
32379         small argument.
32380         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
32381         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32382         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
32383         * math/auto-libm-test-in: Add more tests of exp2.
32384         * math/auto-libm-test-out: Regenerated.
32386 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32388         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
32389         unaligned path.
32391 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32393         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
32394         little endian.
32396 2015-02-12  Andreas Schwab  <schwab@suse.de>
32398         [BZ #15790]
32399         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
32400         Filter out elision flags from value returned in kind.
32401         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
32402         * nptl/tst-pthread-mutexattr.c: New file.
32404 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32406         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
32407         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
32408         into gnu-gnu, and update comment to refer to abi-tags.
32410 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
32412         [BZ #15467]
32413         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
32414         (__sincos): Set errno to EDOM for infinite argument.
32415         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
32416         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
32417         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
32418         (__sincosl): Set errno to EDOM for infinite argument.
32419         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
32420         (__sincosl): Set errno to EDOM for infinite argument.
32421         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
32422         (__sincosl): Set errno to EDOM for infinite argument.
32423         * math/libm-test.inc (sincos_test_data): Test errno setting.
32425 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
32427         * string/strxfrm_l.c: Remove #define STRCMP.
32428         * string/strcoll_l.c: Remove #define STRLEN.
32429         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
32430         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
32432 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
32434         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
32435         * sysdeps/mips/mips32/sfp-machine.h: ... here.
32436         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
32437         * sysdeps/mips/mips64/Makefile: ... here.
32438         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
32439         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
32440         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32441         * sysdeps/mips/mips64/sfp-machine.h: ... here.
32442         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
32443         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
32444         * sysdeps/mips/mips64/n64/Implies: Likewise.
32446 2015-02-10  Roland McGrath  <roland@hack.frob.com>
32448         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
32449         <sys/time.h>, <string.h>, and <errno.h>.
32450         (dest_offset, dest_address, value, zero): Remove unused variables.
32451         (ldouble): Remove typedef.
32452         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
32453         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
32454         1).  Fix code style.
32455         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32456         (check): Function removed.
32457         (CHECK): New macro.
32458         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
32459         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
32460         Don't call set_sigaction_FP and remove_sigaction_FP here.
32461         (ldouble_test): Just use 'long double' as macro argument, no need for
32462         the 'ldouble' typedef.
32463         (do_test): Set up SIGFPE handler at start, using plain signal rather
32464         than sigaction.  Fix code style.
32466 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
32468         [BZ #17949]
32469         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
32470         jump label.
32472 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32474         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
32475         * sysdeps/powerpc/powerpc32/configure: Regenerated.
32477         * sysdeps/powerpc/configure.ac: Remove file.
32478         * sysdeps/powerpc/configure: Likewise.
32480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32481         [sysdep_routines]: Remove wordcopy-power6 object.
32482         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32483         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
32484         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
32485         (__memmove_ppc32): Likewise.
32486         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
32487         file.
32488         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
32489         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
32490         Remove preprocessor.
32492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
32493         [sysdep_routines]: Remove wide chars objects.
32494         [wcsmbs]: New rule for wide char objects.
32496         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32497         Remove wordcopy-power6 obejct.
32498         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
32499         Use local call for wordcopy and memcpy symbols.
32500         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
32501         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
32502         implementation for loader.
32503         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
32505         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32506         Remove wordcopy-power7 object.
32507         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
32508         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
32509         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
32510         (_wordcopy_fwd_dest_aligned): Likewise.
32511         (_wordcopy_bwd_aligned): Likewise.
32512         (_wordcopy_bwd_dest_aligned): Likewise.
32514         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
32515         Rewrite to call __memmove_ppc instead of include default
32516         implementation.
32518         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32519         Remove wide chars objects.
32520         [wcsmbs]: New rule for wide char objects.
32522 2015-02-09  Andreas Schwab  <schwab@suse.de>
32524         [BZ #17912]
32525         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32526         in terms of __O_DIRECTORY.
32528 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32530         * time/getdate.c: Include <stdbool.h>.
32531         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
32532         call PTR_MANGLE.
32533         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
32534         PTR_DEMANGLE.
32536 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
32538         Add ersatz _Static_assert on older C hosts
32539         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
32540         pre-C11 C platform that is not known to support _Static_assert.
32542 2015-02-07  Richard Braun  <rbraun@sceen.net>
32544         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
32545         sigstate.
32546         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
32548 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32550         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
32551         priority against unexistent AIO_PRIO_DELTA_MAX.
32552         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
32553         instead of int.
32554         * misc/fchflags.c (fchflags): Likewise.
32555         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
32556         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
32557         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
32558         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
32559         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
32560         Declare macros.
32561         [__USE_MISC] (chflags, fchflags): Declare functions.
32562         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
32563         EINVAL when nfds is greater than FD_SETSIZE.
32564         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
32565         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
32566         45.
32567         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
32568         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
32569         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
32570         MACH_RCV_TIMED_OUT.
32571         * hurd/hurd/signal.h (_hurd_self_sigstate,
32572         _hurd_critical_section_lock, _hurd_critical_section_unlock):
32573         Explicit casts from void *.
32574         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
32575         * abi-tags: Rename gnu-gnu os into gnu.
32577         [BZ #4719]
32578         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
32579         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
32580         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
32581         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
32582         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
32583         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
32585         [BZ #17944]
32586         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
32587         duplicates ADDR->sun_path with sockaddr LEN limitation.
32588         * sysdeps/mach/hurd/connect.c: Include <string.h>
32589         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
32590         * sysdeps/mach/hurd/sendmsg.c: Likewise.
32591         * sysdeps/mach/hurd/sendto.c: Likewise.
32592         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
32593         implementing it by hand.
32595 2015-02-06  Roland McGrath  <roland@hack.frob.com>
32597         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
32598         Use sfi_breg on ldr.
32599         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
32600         Likewise.
32602         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
32603         it's defined.
32604         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
32605         Test SIGSETXID only if it's defined.
32607         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
32609         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
32610         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
32612         * nptl/tst-align2.c: Moved ...
32613         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
32614         * nptl/Makefile (tests): Remove tst-align2.
32615         * sysdeps/unix/sysv/linux/Makefile
32616         [$(subdir) = nptl] (tests): Add tst-align-clone.
32617         * nptl/tst-getpid1.c: Moved ...
32618         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
32619         * nptl/tst-getpid2.c: Moved ...
32620         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32621         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
32622         * sysdeps/unix/sysv/linux/Makefile
32623         [$(subdir) = nptl] (tests): ... here.
32624         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
32625         * sysdeps/unix/sysv/linux/Makefile
32626         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
32628         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
32629         Drop trailing \n from perror argument.  Use return rather than exit.
32631         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
32632         on [SA_SIGINFO].
32633         * nptl/tst-cancel21.c (do_test): Likewise.
32634         * debug/tst-backtrace6.c: Include <signal.h> first thing.
32635         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
32636         [!SA_SIGINFO]: Make it a stub test.
32638         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
32639         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
32641         * posix/tst-getlogin.c: Move to ...
32642         * login/tst-getlogin.c: ... here.
32643         * posix/Makefile (tests): Move tst-getlogin to ...
32644         * login/Makefile (tests): ... here.
32646         * libio/tst-atime.c (do_test): Move local variables SV and E
32647         inside [ST_NOATIME] conditional.
32649         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
32651         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
32653         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
32654         (wait_code): New function replaces macro.
32655         Call nanosleep rather than syscall.
32657         * nptl/pt-system.c: Rewritten.  Put everything under
32658         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32659         Use IFUNC to redirect when possible.
32661         * nptl/pt-longjmp.c: Rewritten.  Put everything under
32662         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32663         Use IFUNC to redirect when possible.
32665         * nptl/pt-fork.c: Rewritten.  Put everything under
32666         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
32667         Use IFUNC to redirect when possible.
32668         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
32670         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
32671         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
32672         unconditionally nowadays.  This included the only reference to
32673         __vdso_clock_gettime that appears outside libc proper.
32674         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
32675         Remove version set (containing only __vdso_clock_gettime).
32676         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
32677         Add attribute_hidden.
32678         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
32679         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
32680         libc_hidden_data_def.
32681         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
32682         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
32684         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
32685         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
32686         setrpcent, and getrpcport to ...
32687         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
32688         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
32689         getrpcbynumber_r, and getrpcent_r to ...
32690         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
32691         * inet/getrpcbyname.c: Moved ...
32692         * sunrpc/getrpcbyname.c: ... here.
32693         * inet/getrpcbyname_r.c: Moved ...
32694         * sunrpc/getrpcbyname_r.c: ... here.
32695         * inet/getrpcbynumber.c: Moved ...
32696         * sunrpc/getrpcbynumber.c: ... here.
32697         * inet/getrpcbynumber_r.c: Moved ...
32698         * sunrpc/getrpcbynumber_r.c: ... here.
32699         * inet/getrpcent.c: Moved ...
32700         * sunrpc/getrpcent.c: ... here.
32701         * inet/getrpcent_r.c: Moved ...
32702         * sunrpc/getrpcent_r.c: ... here.
32703         * inet/Makefile (routines): Move those to ...
32704         * sunrpc/Makefile (routines): ... here.
32705         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
32706         the $(subdirs) list.
32707         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
32708         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
32709         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
32710         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
32712         * elf/Makefile (routines): Include $(all-dl-routines), not just
32713         $(dl-routines).
32714         (rtld-routines): Likewise.  Use = rather than :=.
32715         * sysdeps/aarch64/Makefile [$(subdir) = elf]
32716         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
32717         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
32718         * sysdeps/arm/Makefile: Likewise.
32719         * sysdeps/i386/Makefile: Likewise.
32720         * sysdeps/x86_64/Makefile: Likewise.
32721         * sysdeps/hppa/Makefile [$(subdir) = elf]
32722         (sysdep_routines, sysdep-rtld-routines): Don't add
32723         $(sysdep-dl-routines) to these.
32724         * sysdeps/ia64/Makefile: Likewise.
32725         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
32726         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
32727         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
32728         Don't add dl-static to these; sysdep-dl-routines alone is enough.
32729         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
32730         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
32731         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
32732         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
32733         * sysdeps/powerpc/Makefile [$(subdir) = elf]
32734         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
32735         these; sysdep-dl-routines alone is enough.
32737 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
32739         [BZ #17932]
32740         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
32741         where multiplication results in zero and third argument is finite
32742         and nonzero.
32743         * math/auto-libm-test-in: Add more tests of fma.
32744         * math/auto-libm-test-out: Regenerated.
32746         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
32747         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
32748         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
32749         (_FP_CMP_EQ): Likewise.
32750         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
32752         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
32753         extra argument CHECK_NAN.  Redefine as wrapper around
32754         _FP_EXTEND_CNAN.
32756 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
32758         * version.h (RELEASE): Set to "stable".
32759         (VERSION): Set to "2.21"
32760         * include/features.h (__GLIBC_MINOR__): Set to 21.
32762         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
32764 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
32765             Paul Eggert  <eggert@cs.ucla.edu>
32767         [BZ #16618]
32768         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
32769         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
32770         size in bytes. Store needed elements in wpmax. Use needed size
32771         in bytes for extend_alloca.
32773 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
32775         * manual/install.texi: Latest tested versions are GCC 4.9.2,
32776         binutls 2.25, and texinfo 5.2.
32777         * INSTALL: Regenerate.
32778         * sysdeps/nios2/configure: Regenerate.
32779         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
32780         * manual/contrib.texi: Update.
32781         * po/be.po: Update.
32782         * po/bg.po: Update.
32783         * po/ca.po: Update.
32784         * po/cs.po: Update.
32785         * po/da.po: Update.
32786         * po/de.po: Update.
32787         * po/el.po: Update.
32788         * po/eo.po: Update.
32789         * po/es.po: Update.
32790         * po/fi.po: Update.
32791         * po/fr.po: Update.
32792         * po/gl.po: Update.
32793         * po/hr.po: Update.
32794         * po/hu.po: Update.
32795         * po/ia.po: Update.
32796         * po/id.po: Update.
32797         * po/it.po: Update.
32798         * po/ja.po: Update.
32799         * po/ko.po: Update.
32800         * po/lt.po: Update.
32801         * po/nb.po: Update.
32802         * po/nl.po: Update.
32803         * po/pl.po: Update.
32804         * po/pt_BR.po: Update.
32805         * po/ru.po: Update.
32806         * po/rw.po: Update.
32807         * po/sk.po: Update.
32808         * po/sl.po: Update.
32809         * po/sv.po: Update.
32810         * po/tr.po: Update.
32811         * po/uk.po: Update.
32812         * po/vi.po: Update.
32813         * po/zh_CN.po: Update.
32814         * po/zh_TW.po: Update.
32816         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
32817         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
32818         * sysdeps/hppa/dl-irel.h: Remove #warning.
32819         * sysdeps/hppa/entry.h: Provide prototype for
32820         __canonicalize_funcptr_for_compare and cast argument.
32821         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
32822         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
32823         * sysdeps/hppa/sotruss-lib.c: New file.
32824         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
32825         (atomic_compare_and_exchange_val_acq): Use __typeof__.
32826         (atomic_compare_and_exchange_bool_acq): Likewise.
32827         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
32828         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
32830         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
32831         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
32832         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
32834 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
32836         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
32837         called function in non-PIC case.
32839 2015-01-31  David S. Miller  <davem@davemloft.net>
32841         * sysdeps/sparc/sparc32/bits/atomic.h
32842         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
32843         unlock not after it.
32844         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
32845         volatile register usage warnings from the compiler.
32847         * sysdeps/sparc/nptl/sem_init.c: Delete.
32848         * sysdeps/sparc/nptl/sem_post.c: Delete.
32849         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
32850         * sysdeps/sparc/nptl/sem_wait.c: Delete.
32851         * sysdeps/sparc/sparc32/sem_init.c: New file.
32852         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
32853         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
32854         padding explicitly initialized.
32855         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
32856         padding for in-semaphore spinlock.
32857         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
32858         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
32859         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
32860         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
32861         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
32862         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
32863         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
32864         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
32865         version.
32866         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
32867         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
32869 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
32871         [BZ #17801]
32872         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32873         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
32874         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
32875         New.
32876         (index_AVX_Fast_Unaligned_Load): Likewise.
32877         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
32878         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
32879         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
32880         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
32881         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
32882         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
32883         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
32884         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
32885         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
32887 2015-01-29  Andreas Schwab  <schwab@suse.de>
32889         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
32891 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
32893         [BZ #17892]
32894         * nscd/nscd_stat.c (send_stats): Initialize DATA.
32896 2015-01-28  Martin Sebor  <msebor@redhat.com>
32898         * math/README.libm-test: Clarify. Add "How to read the test output."
32900 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
32902         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
32903         Define to 0.
32905 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
32907         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
32908         (__HAVE_64B_ATOMICS): Define to 0.
32910 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32912         [BZ #17885]
32913         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
32914         value to set as new flag.
32916         [BZ #16576]
32917         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
32918         and use _ARCH_PPCSQ instead.
32919         (__ieee754_sqrt): Likewise.
32920         (__ieee754_sqrtf): Likewise.
32921         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
32922         _ARCH_PPCSQ is defined.
32923         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
32924         fsqrt instruction.
32925         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
32926         _ARCH_PPCSQ is defined.
32927         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
32928         fsqrts instruction.
32929         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
32931 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32933         * iconv/loop.c: Suppress array out of bound warning caused by GCC
32934         bug (GCC BZ #64739).
32936 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
32938         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
32939         Mark _retval as used.
32940         (lll_futex_wake_unlock): Likewise.
32941         (lll_futex_timed_wait_requeue_pi): Likewise.
32943         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
32944         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
32945         register variables.
32947         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
32948         libm_hidden_def.
32950         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
32951         (__bswap_64): Mark as __always_inline.
32953 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
32955         [BZ #15378]
32956         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
32957         when none of the search directories exist.
32959 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
32961         [BZ #17869]
32962         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
32963         power8 in .machine directive.
32965         [BZ #17868]
32966         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
32967         set dependency from opd value.
32969 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32971         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32972         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
32973         architecture.
32975 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
32977         [BZ #17870]
32978         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
32979         with uint64_t.
32980         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
32981         (uint64_t) 1.
32982         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
32983         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
32984         Replace 1UL with (uint64_t) 1.
32985         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
32986         int with uint64_t.
32988 2015-01-23  Roland McGrath  <roland@hack.frob.com>
32990         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
32991         (if_freenameindex): Likewise.
32993         * resource/getrlimit64.c: Add missing libc_hidden_def.
32995 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
32997         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
32998         __label__.
32999         (_FP_FMA): Likewise.
33000         (_FP_TO_INT_ROUND): Likewise.
33001         (_FP_FROM_INT): Likewise.
33003 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33005         [BZ #16418]
33006         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33007         Make code racy and cancel safe.
33009 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
33011         * sysdeps/arm/unwind-resume.h: Fix copyright year.
33012         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
33013         attribution.
33015         * pwd/tst-getpw.c: Rewrite.
33017         [BZ #17702]
33018         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
33019         (modules-names): Add moddummy1 and moddummy2.
33020         ($(objpfx)tst-rec-dlopen): Define.
33021         * dlfcn/moddummy1.c: New file.
33022         * dlfcn/moddummy2.c: New file.
33023         * dlfcn/tst-rec-dlopen.c: New file.
33024         * elf/dl-cache.c (_dl_load_cache_lookup):
33025         Return char*. Copy result with alloca/strcpy/strdup.
33026         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
33027         returns char*. Free cached. If not saving realname
33028         free cached.
33029         * elf/dl-open.c (dl_open_worker): Do not assert that
33030         _r_debug->r_state is RT_CONSISTENT.
33031         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
33032         returns char*.
33034 2015-01-21  Torvald Riegel  <triegel@redhat.com>
33035             Carlos O'Donell  <carlos@redhat.com>
33037         [BZ #12674]
33038         * nptl/sem_waitcommon.c: New file.
33039         * nptl/sem_wait.c: Include sem_waitcommon.c.
33040         (__sem_wait_cleanup, do_futex_wait): Remove.
33041         (__new_sem_wait): Adapt.
33042         (__new_sem_trywait): New function.
33043         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
33044         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
33045         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
33046         (sem_timedwait): Adapt.
33047         * nptl/sem_post.c (__new_sem_post): Adapt.
33048         (futex_wake): New function.
33049         (__old_sem_post): Add release MO fence.
33050         * nptl/sem_open.c (sem_open): Adapt.
33051         * nptl/sem_init.c (__new_sem_init): Adapt.
33052         (futex_private_if_supported): New function.
33053         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
33054         (__old_sem_getvalue): Add using previous code.
33055         * sysdeps/nptl/internaltypes.h: Adapt.
33056         * nptl/tst-sem13.c (do_test): Adapt.
33057         * nptl/tst-sem11.c (main): Adapt.
33058         * nptl/sem_trywait.c: Remove.
33059         * nptl/DESIGN-sem.txt: Remove.
33060         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
33061         (gen-as-const-headers): Remove structsem.sym.
33062         * nptl/structsem.sym: Remove.
33063         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
33064         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
33065         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
33066         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
33067         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
33068         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
33069         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
33070         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
33071         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
33072         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
33073         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
33074         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
33075         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
33076         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
33077         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
33078         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
33079         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
33080         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
33081         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
33082         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
33083         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
33084         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
33086 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
33088         * INSTALL: Regenerated.
33090         * po/libc.pot: Regenerated.
33092 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
33093             Sandra Loosemore  <sandra@codesourcery.com>
33094             Andrew Jenner  <andrew@codesourcery.com>
33095             Joseph Myers  <joseph@codesourcery.com>
33096             Nathan Sidwell  <nathan@codesourcery.com>
33098         * NEWS: Mention new Nios II port.
33099         * sysdeps/nios2/Implies: New file.
33100         * sysdeps/nios2/Makefile: New file.
33101         * sysdeps/nios2/Subdirs: New file.
33102         * sysdeps/nios2/Versions: New file.
33103         * sysdeps/nios2/__longjmp.S: New file.
33104         * sysdeps/nios2/abort-instr.h: New file.
33105         * sysdeps/nios2/backtrace.c: New file.
33106         * sysdeps/nios2/bits/endian.h: New file.
33107         * sysdeps/nios2/bits/fenv.h: New file.
33108         * sysdeps/nios2/bits/link.h: New file.
33109         * sysdeps/nios2/bits/setjmp.h: New file.
33110         * sysdeps/nios2/bsd-_setjmp.S: New file.
33111         * sysdeps/nios2/bsd-setjmp.S: New file.
33112         * sysdeps/nios2/configure: New generated file.
33113         * sysdeps/nios2/configure.ac: New file.
33114         * sysdeps/nios2/crti.S: New file.
33115         * sysdeps/nios2/crtn.S: New file.
33116         * sysdeps/nios2/dl-init.c: New file.
33117         * sysdeps/nios2/dl-machine.h: New file.
33118         * sysdeps/nios2/dl-sysdep.h: New file.
33119         * sysdeps/nios2/dl-tls.h: New file.
33120         * sysdeps/nios2/dl-trampoline.S: New file.
33121         * sysdeps/nios2/gccframe.h: New file.
33122         * sysdeps/nios2/gmp-mparam.h: New file.
33123         * sysdeps/nios2/jmpbuf-offsets.h: New file.
33124         * sysdeps/nios2/jmpbuf-unwind.h: New file.
33125         * sysdeps/nios2/ldsodefs.h: New file.
33126         * sysdeps/nios2/libc-tls.c: New file.
33127         * sysdeps/nios2/libm-test-ulps: New file.
33128         * sysdeps/nios2/machine-gmon.h: New file.
33129         * sysdeps/nios2/math-tests.h: New file.
33130         * sysdeps/nios2/math_private.h: New file.
33131         * sysdeps/nios2/memusage.h: New file.
33132         * sysdeps/nios2/nptl/Makefile: New file.
33133         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
33134         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
33135         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
33136         * sysdeps/nios2/nptl/pthreaddef.h: New file.
33137         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
33138         * sysdeps/nios2/nptl/tls.h: New file.
33139         * sysdeps/nios2/preconfigure: New file.
33140         * sysdeps/nios2/s_fma.c: New file.
33141         * sysdeps/nios2/s_fmaf.c: New file.
33142         * sysdeps/nios2/setjmp.S: New file.
33143         * sysdeps/nios2/sfp-machine.h: New file.
33144         * sysdeps/nios2/sotruss-lib.c: New file.
33145         * sysdeps/nios2/stackguard-macros.h: New file.
33146         * sysdeps/nios2/stackinfo.h: New file.
33147         * sysdeps/nios2/start.S: New file.
33148         * sysdeps/nios2/sysdep.h: New file.
33149         * sysdeps/nios2/tls-macros.h: New file.
33150         * sysdeps/nios2/tst-audit.h: New file.
33151         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
33152         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
33153         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
33154         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
33155         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
33156         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
33157         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
33158         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
33159         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
33160         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
33161         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
33162         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
33163         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
33164         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
33165         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
33166         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
33167         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
33168         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
33169         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
33170         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
33171         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
33172         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
33173         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
33174         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
33175         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
33176         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
33177         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
33178         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
33179         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
33180         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
33181         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
33182         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
33183         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
33184         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
33185         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
33186         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
33187         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
33188         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
33189         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
33190         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
33191         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
33192         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
33193         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
33194         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
33196 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33198         [BZ #17844]
33199         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
33200         (getutent): Use weak_alias in non SHARED case
33201         and default_symbol_version in SHARED case.
33202         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
33203         (getutent_r, pututline): Likewise.
33204         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
33205         (getutid): Likewise.
33206         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
33207         (getutid_r): Likewise.
33208         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
33209         (getutline): Likewise.
33210         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
33211         (getutline_r): Likewise.
33212         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
33213         (updwtmp): Likewise.
33215 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
33217         [BZ #17848]
33218         * sysdeps/s390/s390-32/memcmp.S
33219         (memcmp_g5): Rename to __memcmp_g5.
33220         * sysdeps/s390/s390-32/memcpy.S
33221         (memcpy_g5): Rename to __memcpy_g5.
33222         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33223         (memcpy_mvcle) Rename to __memcpy_mvcle.
33224         * sysdeps/s390/s390-32/memset.S
33225         (memset_g5): Rename to __memset_g5.
33226         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
33227         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33228         and use prefixed functions.
33229         * sysdeps/s390/s390-32/multiarch/memcmp.S
33230         (memcmp_z196): Rename to __memcmp_z196.
33231         (memcmp_z10): Rename to __memcmp_z10.
33232         (memcmp): Set alias to __memcmp_g5.
33233         (bcmp): Set alias to __memcmp_g5.
33234         * sysdeps/s390/s390-32/multiarch/memcpy.S
33235         (memcpy_z196): Rename to __memcpy_z196.
33236         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33237         (memcpy_z10): Rename to __memcpy_z10.
33238         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33239         (memcpy): Set alias to __memcpy_g5.
33240         * sysdeps/s390/s390-32/multiarch/memset.S
33241         (memset_z196): Rename to __memset_z196.
33242         Jump to __memset_mvcle instead of memset_mvcle.
33243         (memset_z10): Rename to __memset_z10.
33244         Jump to __memset_mvcle instead of memset_mvcle.
33245         (memset_mvcle) Rename to __memset_mvcle.
33246         (memset): Set alias to __memset_g5.
33247         * sysdeps/s390/s390-64/memcmp.S
33248         (memcmp_z900): Rename to __memcmp_z900.
33249         * sysdeps/s390/s390-64/memcpy.S
33250         (memcpy_z900): Rename to __memcpy_z900.
33251         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33252         (memcpy_mvcle) Rename to __memcpy_mvcle.
33253         * sysdeps/s390/s390-64/memset.S
33254         (memset_z900): Rename to __memset_z900.
33255         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
33256         (IFUNC_RESOLVE): Prefix ifunc-resolve function
33257         and use prefixed functions.
33258         * sysdeps/s390/s390-64/multiarch/memcmp.S
33259         (memcmp_z196): Rename to __memcmp_z196.
33260         (memcmp_z10): Rename to __memcmp_z10.
33261         (memcmp): Set alias to __memcmp_z900.
33262         (bcmp): Set alias to __memcmp_z900.
33263         * sysdeps/s390/s390-64/multiarch/memcpy.S
33264         (memcpy_z196): Rename to __memcpy_z196.
33265         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33266         (memcpy_z10): Rename to __memcpy_z10.
33267         Jump to __memcpy_mvcle instead of memcpy_mvcle.
33268         (memcpy): Set alias to __memcpy_z900.
33269         * sysdeps/s390/s390-64/multiarch/memset.S
33270         (memset_z196): Rename to __memset_z196.
33271         Jump to __memset_mvcle instead of memset_mvcle.
33272         (memset_z10): Rename to __memset_z10.
33273         Jump to __memset_mvcle instead of memset_mvcle.
33274         (memset_mvcle) Rename to __memset_mvcle.
33275         (memset): Set alias to __memset_z900.
33277 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
33279         [BZ #17748]
33280         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
33281         __fesetenv instead of fesetenv.
33283 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33285         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
33286         macro.
33288 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33290         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
33291         regression on LE.
33293         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
33294         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
33295         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33296         strncmp-power8 object.
33297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33298         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
33299         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
33300         * NEWS: Update.
33302 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33303             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33305         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
33306         trailing byte check.
33308 2015-01-13  David S. Miller  <davem@davemloft.net>
33310         * include/signal.h (__sigreturn): Guard with __USE_MISC.
33312 2015-01-13  Roland McGrath  <roland@hack.frob.com>
33314         * login/logout.c (logout): Use memset rather than bzero.
33315         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
33316         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
33317         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
33318         (_gethtbyaddr): Likewise.
33319         * locale/programs/simple-hash.c (bcopy): Macro removed.
33321 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33323         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33324         Add strcmp-power8 object.
33325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33326         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
33327         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
33328         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
33329         __strcmp_power8 implementation.
33330         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
33331         * NEWS: Update.
33333         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33334         Add strncpy-power8 and stpncpy-power8 objects.
33335         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33336         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
33337         implementations.
33338         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
33339         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
33340         __stpncpy_power8 implementation.
33341         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
33342         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
33343         __strncpy_power8 implementation.
33344         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
33345         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
33346         * NEWS: Update.
33348         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
33349         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
33350         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
33352         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33353         strncat-power8 object.
33354         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
33355         __strcat_power8 implementation.
33356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33357         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
33358         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
33359         optimized strcat for power8.
33361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
33362         strcpy-power8 and stpcpy-power8 objects.
33363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33364         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
33365         implementations.
33366         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
33367         multiarch stpcpy implementation for POWER8.
33368         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
33369         multiarch strcpy implementation for POWER8.
33370         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
33371         __strcpy_power8 function.
33372         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
33373         stpcpy for POWER8.
33374         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
33375         strcpy for POWER8.
33376         * NEWS: Update.
33378 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
33380         [BZ #16009]
33381         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
33382         weights and rules. Use do_xfrm_cached if data fits in cache,
33383         do_xfrm otherwise.  Moved former main loop to...
33384         * (do_xfrm_cached): New function.
33385         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
33386         find_idx, find_position and stack_push.
33387         * (find_idx): New function.
33388         * (find_position): Likewise.
33389         * localedata/sort-test.sh: Added test run for do_xfrm.
33390         * localedata/xfrm-test.c (main): Added command line option
33391         -nocache to run the test with strings that are too large for
33392         the STRXFRM cache.
33394 2015-01-13  Torvald Riegel  <triegel@redhat.com>
33396         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
33397         variable to lll_futex_wake call, not the value itself.
33399 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
33401         [BZ #17803]
33402         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
33403         twom64.  Adjust value to 0x1p-64L.
33404         (__scalblnl): Only return standard underflowing result for K <=
33405         -64 not K <= -63; adjust exponent for underflowing result by 64
33406         not 63.
33407         * math/libm-test.inc (scalbn_test_data): Add more tests.
33408         (scalbln_test_data): Likewise.
33410         [BZ #17834]
33411         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
33412         0x1p63L.
33413         (__scalblnl): Get new exponent of adjusted subnormal value from ES
33414         not HX.
33415         * math/libm-test.inc (scalbn_test_data): Add more tests.
33416         (scalbln_test_data): Likewise.
33418 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33419             Stefani Seibold  <stefani@seibold.net>
33421         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
33422         (sysdep_routines): Add dl-vdso here, ...
33423         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
33424         (sysdep_routines): ... not here.
33425         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
33426         fallback when vDSO is not presented.
33427         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
33428         Define with libc_hidden_proto/libc_hidden_data_def definitions.
33429         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
33430         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
33431         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
33432         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
33433         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
33434         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
33435         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
33436         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
33437         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
33438         fallback configurable symbol when vDSO is not available.
33439         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
33440         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
33441         be able to redefine fallback symbol when vDSO is not available.
33442         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
33443         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
33445 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33447         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
33448         (TLS_INIT_TP): Add tm_capable initialization.
33449         (TLS_DEFINE_INIT_TP): Likewise.
33450         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
33451         TCB.
33452         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
33453         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
33454         calculation.
33455         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
33456         transactoion is lock elision is built and TCB tm_capable is set.
33457         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
33458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33459         (INTERNAL_SYSCALL_NCS): Likewise.
33460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33461         (INTERNAL_SYSCALL_NCS): Likewise.
33462         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
33464         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
33465         for powerpc.
33466         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33467         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
33468         and remove it for 32 bits case.
33469         [pthread_rwlock_t] (__rwelision): New field for lock elision.
33470         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
33471         initialization.
33472         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
33473         Disable lock elision with rdlocks if elision is not available.
33475         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
33476         (sysdep_routines): Add lock elision objects.
33477         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33478         [pthread_mutex_t] (__spins): Rework to add lock elision field.
33479         [pthread_mutex_t] (__elision): Add field.
33480         [__PTHREAD_SPINS]: Adjust to init lock elision field.
33481         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
33482         elision definitions for powerpc.
33483         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
33484         implementation of lock elision for powerpc.
33485         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
33486         implementation of timed lock elision for powerpc.
33487         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
33488         implementation of trylock with lock elision for powerpc.
33489         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
33490         implementaion of unlock for lock elision for powerpc.
33491         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
33492         automatic enable lock elision for mutexes.
33493         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
33494         transaction execution definitions for powerpc.
33495         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
33496         definitions.
33497         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
33498         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
33499         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
33500         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
33501         * NEWS: Update.
33503 2015-01-09  Roland McGrath  <roland@hack.frob.com>
33505         * sysdeps/posix/shm-directory.c: Use <> rather than ""
33506         for #include of <shm-directory.h>.
33508 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
33510         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
33511         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
33513 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
33515         [BZ #17791]
33516         * NEWS: Mention bug fix.
33517         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
33518         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
33519         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
33521 2015-01-09  Torvald Riegel <triegel@redhat.com>
33523         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
33525 2015-01-09  Torvald Riegel <triegel@redhat.com>
33527         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
33529 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33531         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
33532         pointer and cast to uintptr_t.
33534 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33536         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
33537         removed.
33538         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
33540 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
33542         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
33543         of 0.
33545 2015-01-08  Roland McGrath  <roland@hack.frob.com>
33547         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
33548         <nptl/pthreadP.h> instead.
33549         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
33551         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
33552         already defined.
33553         [__SIGRTMIN] (init): Function removed.
33554         [__SIGRTMIN] (initialized): Variable removed.
33555         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
33556         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
33557         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
33558         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
33559         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
33560         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
33561         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
33562         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
33563         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
33564         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
33565         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33566         * sysdeps/nptl/allocrtsig.c: New file.
33567         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
33568         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
33569         * sysdeps/generic/testrtsig.h: File removed.
33571         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
33572         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
33574         * nptl/nptl-init.c (pthread_functions): Conditionalize
33575         .ptr__nptl_setxid initialization on [SIGSETXID].
33577         * sysdeps/nptl/sys/procfs.h: New file.
33578         * nptl_db/Makefile (headers): Add it.
33579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
33581         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
33582         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
33583         * nptl/pthread_attr_setaffinity.c: Include it.
33584         * nptl/pthread_setattr_default_np.c: Likewise.
33585         * nptl/check-cpuset.h: New file.
33587 2015-01-08  Richard Henderson  <rth@redhat.com>
33589         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
33590         (CFLAGS-tst-execstack-prog.c): Likewise.
33591         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
33593 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
33594             Sandra Loosemore  <sandra@codesourcery.com>
33595             Andrew Jenner  <andrew@codesourcery.com>
33596             Joseph Myers  <joseph@codesourcery.com>
33597             Nathan Sidwell  <nathan@codesourcery.com>
33599         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
33600         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
33601         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
33602         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
33603         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
33604         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
33605         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
33606         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
33607         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
33608         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
33609         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
33610         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
33611         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
33612         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
33613         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
33614         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
33615         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
33617 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33619         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
33620         timespec struct member in syscall macro.
33621         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
33622         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
33623         first timeval struct member in syscall macro.
33624         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
33626 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
33628         [BZ #17748]
33629         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
33630         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
33631         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
33632         __feupdateenv and define as weak alias of __feupdateenv.  Use
33633         libm_hidden_weak.
33634         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
33635         libm_hidden_def.
33636         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
33637         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
33638         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33639         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
33640         libm_hidden_def.
33641         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
33642         __feupdateenv and define as weak alias of __feupdateenv.  Use
33643         libm_hidden_weak.
33644         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
33645         libm_hidden_def.
33646         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
33647         __feupdateenv and define as weak alias of __feupdateenv.  Use
33648         libm_hidden_weak.
33649         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
33650         libm_hidden_def.
33651         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33652         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33653         (__feupdateenv): Likewise.
33654         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
33655         __feupdateenv and define as weak alias of __feupdateenv.  Use
33656         libm_hidden_weak.
33657         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33658         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
33659         libm_hidden_def.
33660         * sysdeps/tile/math_private.h (__feupdateenv): New inline
33661         function.
33662         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
33663         libm_hidden_def.
33664         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
33665         __feupdateenv instead of feupdateenv.
33666         (default_libc_feupdateenv_test): Likewise.
33667         (libc_feresetround_ctx): Likewise.
33669 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33671         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
33672         prototype.
33674 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
33676         * posix/regcomp.c (parse_bracket_exp): Initialize type to
33677         COLL_SYM in a couple of places to avoid uninitialized variable
33678         wanings on tilegx gcc 4.8.2.
33680 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33682         * sysdeps/aarch64/strcpy.S: New file.
33683         * sysdeps/aarch64/stpcpy.S: New file.
33684         * NEWS: Updated.
33686 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
33688         * sysdeps/aarch64/strrchr.S: New file.
33689         * NEWS: Updated.
33691 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
33693         [BZ #17658]
33694         * stdlib/setenv.c: Fix memory leak when setting large,
33695         duplicate string.
33697 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
33699         [BZ #17273]
33700         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
33701         and tabs from buffer before parsing fstab entry.
33702         * misc/tst-mntent.c (main): Add test for mount entry with
33703         trailing spaces and tabs.
33705 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
33707         [BZ #17748]
33708         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
33709         * math/fesetround.c (fesetround): Rename to __fesetround and
33710         define as weak alias of __fesetround.  Use libm_hidden_weak.
33711         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
33712         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
33713         * sysdeps/arm/fesetround.c (fesetround): Likewise.
33714         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
33715         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
33716         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
33717         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
33718         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
33719         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
33720         __fesetround_inline.
33721         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
33722         __fesetround_inline instead of __fesetround.
33723         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
33724         __fesetround and define as weak alias of __fesetround.  Use
33725         libm_hidden_weak.  Call __fesetround_inline instead of
33726         __fesetround.
33727         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
33728         __fesetround and define as weak alias of __fesetround.  Use
33729         libm_hidden_weak.
33730         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
33731         Likewise.
33732         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
33733         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33734         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
33735         * sysdeps/tile/math_private.h (__fesetround): New inline function.
33736         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
33737         __fesetround and define as weak alias of __fesetround.  Use
33738         libm_hidden_weak.
33739         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
33740         __fesetround instead of fesetround.
33741         (default_libc_feholdexcept_setround): Likewise.
33742         (libc_feholdsetround_ctx): Likewise.
33743         (libc_feholdsetround_noex_ctx): Likewise.
33745         [BZ #17748]
33746         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
33747         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
33748         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33749         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33750         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33751         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
33752         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33753         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33754         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33755         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33756         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33757         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33758         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33759         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33760         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
33761         libm_hidden_def.
33762         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
33763         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
33764         Likewise.
33765         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
33766         define as weak alias of __fesetenv.  Use libm_hidden_weak.
33767         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
33768         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
33769         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
33770         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
33771         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
33772         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
33773         __fesetenv instead of fesetenv.
33774         (libc_feresetround_noex_ctx): Likewise.
33775         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
33776         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
33777         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
33778         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
33779         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
33780         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
33781         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
33782         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
33783         (__feupdateenv): Likewise.
33784         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33785         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
33786         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
33787         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
33789 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33791         [BZ #17806]
33792         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
33793         addresses have been freed.
33795 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
33797         * resolv/res_init.c (__res_vinit): Improve comments about nserv
33798         and nservall.
33800 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
33802         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
33803         Clean up check_pf allocation pattern. addresses
33805 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33807         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
33808         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
33809         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
33810         * nptl/pthread_exit.c (__pthread_exit): Likewise.
33811         * nptl/pthread_join.c (pthread_join): Likewise.
33812         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
33813         * sysdeps/posix/waitid.c (__waitid): Likewise.
33814         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33815         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33816         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33817         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33818         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33819         Likewise.
33820         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33821         (__libc_pread64): Likewise.
33822         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33823         (__libc_pwrite): Likewise.
33824         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33825         (__libc_pwrite64): Likewsie.
33826         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33827         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33828         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33829         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33830         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33831         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33832         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
33833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33834         Likewise.
33835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33836         (__libc_pread64): Likewise.
33837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
33838         Likewise.
33839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
33840         (__libc_pwrite64): Likewise.
33841         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33842         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33843         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
33844         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
33845         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33846         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33847         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
33848         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33849         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33850         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33851         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
33852         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33853         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33854         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
33855         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33856         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33857         Likewise.
33859 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
33861         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
33862         (CFLAGS-test-double.c): Likewise.
33863         (CFLAGS-test-ldouble.c): Likewise.
33864         (CPPFLAGS-test-ifloat.c): Likewise.
33865         (CPPFLAGS-test-idouble.c): Likewise.
33866         (CPPFLAGS-test-ildoubl.c): Likewise.
33867         (CFLAGS-test-test-fenv.c): Remove variable.
33868         (CFLAGS-test-misc.c): Likewise.
33870 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
33872         [BZ #17797]
33873         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
33874         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
33875         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
33876         CLOCKS_PER_SEC == 1000000.
33877         * time/clocktest.c (main): Replace %ld with %jd and cast to
33878         intmax_t.
33880 2015-01-05  Roland McGrath  <roland@hack.frob.com>
33882         * sysdeps/generic/unwind-resume.h: New file.
33883         * sysdeps/gnu/unwind-resume.c: Include it.
33884         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
33885         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
33886         argument list.
33887         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
33888         global rather than static.
33889         (_Unwind_Resume): Update user.
33890         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
33891         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
33892         rather than static.  Add __attribute__ ((cold)).
33893         (_Unwind_Resume, __gcc_personality_v0): Update callers.
33894         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
33895         * sysdeps/arm/arm-unwind-resume.S: New file.
33896         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
33897         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
33898         * sysdeps/arm/Makefile [$(subdir) = csu]
33899         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
33900         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
33901         Add rt-arm-unwind-resume.
33902         [$(subdir) = nptl]
33903         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33904         Add pt-arm-unwind-resume.
33905         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
33906         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
33908 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33910         [BZ #17748]
33911         * include/fenv.h (__feholdexcept): Declare.  Use
33912         libm_hidden_proto.
33913         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
33914         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
33915         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33916         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
33917         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
33918         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
33919         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
33920         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33921         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
33922         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
33923         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33924         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
33925         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
33926         (feholdexcept): Likewise.
33927         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33928         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
33929         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
33930         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
33931         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
33932         __feholdexcept instead of feholdexcept.
33933         (default_libc_feholdexcept_setround): Likewise.
33935 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33937         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
33938         to avoid using stl/str to align destination.
33940 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33942         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
33944 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33946         [BZ #17796]
33947         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
33948         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
33949         Define as weak alias not strong alias.
33951 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
33953         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
33954         bltzal with addiupc.
33955         (RTLD_START): Ditto.
33957 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
33959         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
33960         for __vdso_* functions in declarations.
33961         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
33962         definitions.
33963         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
33964         INTERNAL_VSYSCALL): Use struct return types to check for error.
33966         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
33967         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
33968         function with cast from llround().
33969         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
33970         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
33971         Define.
33973 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
33975         [BZ #17793]
33976         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
33977         Define as weak alias not strong alias.
33979         [BZ #17635]
33980         * ctype/ctype-c99.c: New file.  isblank implementation moved from
33981         ...
33982         * ctype/ctype-extn.c: ... here.
33983         (__isblank_l): Move to ...
33984         * ctype/ctype-c99_l.c: ... here.  New file.
33985         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
33986         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
33987         Remove variable.
33988         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33989         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33990         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33991         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33992         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
33994         [BZ #17777]
33995         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
33996         (posix_fadvise64): Define as weak alias not strong alias.
33997         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33998         (posix_fallocate64): Likewise.
33999         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
34000         Remove variable.
34001         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34002         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34003         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34004         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34005         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34007 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
34009         [BZ #16191]
34010         * NEWS: Mention bug fix.
34011         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
34012         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
34013         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
34014         (HOST_STACK_END_ADDR): Likewise.
34016 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34018         [BZ #17748]
34019         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
34020         * math/fegetround.c (fegetround): Rename to __fegetround and
34021         define as weak alias of __fegetround.  Use libm_hidden_weak.
34022         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
34023         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
34024         * sysdeps/arm/fegetround.c (fegetround): Likewise.
34025         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
34026         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
34027         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
34028         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
34029         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
34030         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
34031         Undefine after rather than before function definition; use
34032         parentheses around function name in definition.
34033         (__fegetround): Also undefine macro after function definition.
34034         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
34035         __fegetround and define as weak alias of __fegetround.  Use
34036         libm_hidden_weak.  Do not undefine as macro.
34037         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
34038         Likewise.
34039         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
34040         __fegetround and define as weak alias of __fegetround.  Use
34041         libm_hidden_weak.
34042         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34043         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
34044         * sysdeps/tile/math_private.h (__fegetround): New inline function.
34045         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
34046         __fegetround and define as weak alias of __fegetround.  Use
34047         libm_hidden_weak.
34048         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
34049         __fegetround instead of fegetround.
34051         [BZ #17782]
34052         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
34053         Condition macro definition on [__USE_MISC].
34055         [BZ #17781]
34056         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34057         (struct sigaction): Change type of sa_flags field to int.
34059         [BZ #17780]
34060         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
34061         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
34062         __glibc_reserved0.
34064         * nptl/version.c (banner): Use single year in copyright notice.
34066         * NEWS: Update copyright dates.
34067         * catgets/gencat.c (print_version): Likewise.
34068         * csu/version.c (banner): Likewise.
34069         * debug/catchsegv.sh: Likewise.
34070         * debug/pcprofiledump.c (print_version): Likewise.
34071         * debug/xtrace.sh (do_version): Likewise.
34072         * elf/ldconfig.c (print_version): Likewise.
34073         * elf/ldd.bash.in: Likewise.
34074         * elf/pldd.c (print_version): Likewise.
34075         * elf/sotruss.sh: Likewise.
34076         * elf/sprof.c (print_version): Likewise.
34077         * iconv/iconv_prog.c (print_version): Likewise.
34078         * iconv/iconvconfig.c (print_version): Likewise.
34079         * locale/programs/locale.c (print_version): Likewise.
34080         * locale/programs/localedef.c (print_version): Likewise.
34081         * login/programs/pt_chown.c (print_version): Likewise.
34082         * malloc/memusage.sh (do_version): Likewise.
34083         * malloc/memusagestat.c (print_version): Likewise.
34084         * malloc/mtrace.pl: Likewise.
34085         * manual/libc.texinfo: Likewise.
34086         * nptl/version.c (banner): Likewise.
34087         * nscd/nscd.c (print_version): Likewise.
34088         * nss/getent.c (print_version): Likewise.
34089         * nss/makedb.c (print_version): Likewise.
34090         * posix/getconf.c (main): Likewise.
34091         * scripts/test-installation.pl: Likewise.
34092         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
34094 2015-01-02  Will Newton  <will.newton@linaro.org>
34096         * sysdeps/arm/armv7/configure: Removed.
34097         * sysdeps/arm/armv7/configure.ac: Likewise.
34099 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
34101         * All files with FSF copyright notices: Update copyright dates
34102         using scripts/update-copyrights.
34103         * intl/plural.c: Regenerated.
34104         * locale/programs/charmap-kw.h: Likewise.
34105         * locale/programs/locfile-kw.h: Likewise.
34107 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34109         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
34111 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34113         [BZ #17748]
34114         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
34115         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
34116         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34117         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34118         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34119         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
34120         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34121         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
34122         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34123         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34124         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34125         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34126         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34127         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34128         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
34129         libm_hidden_def.
34130         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
34131         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
34132         Likewise.
34133         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
34134         define as weak alias of __fegetenv.  Use libm_hidden_weak.
34135         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34136         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
34137         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
34138         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
34139         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
34140         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
34141         __fegetenv instead of fegetenv.
34142         (libc_feholdsetround_noex_ctx): Likewise.
34144 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34146         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
34147         (Elf_MIPS_ABIFlags_v0): New structure.
34148         (EF_MIPS_FP64): Define.
34149         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
34150         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
34151         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
34152         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
34153         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
34154         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
34155         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
34156         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
34157         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
34158         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
34159         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
34160         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
34161         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
34162         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
34163         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
34164         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
34165         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
34166         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
34167         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
34168         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
34169         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
34170         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
34171         field.
34172         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
34173         EF_MIPS_FP64.
34174         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
34175         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
34176         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
34177         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
34178         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
34179         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
34180         * sysdeps/mips/tst-abi-interlink.c: Likewise.
34181         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
34182         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
34183         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
34184         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
34185         record the current FP ABI extension.
34186         (mips-mode-switch): Define to show if kernel headers support mode
34187         switching.
34188         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
34189         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
34190         supported SYSV ABI version to 3.
34191         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
34192         feature.
34194 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34195             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34197         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
34198         path.
34199         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
34201 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
34203         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
34204         __fegetround and redefine to call __fegetround.  Remove condition
34205         on [!__NO_MATH_INLINES].
34206         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
34207         function.
34208         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
34209         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
34210         Remove macro.
34211         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
34212         instead of <fenv_libc.h>.
34213         (__llrintl): Call fegetround instead of __fegetround.
34214         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
34215         instead of <fenv_libc.h>.
34216         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34217         (__lrintl): Call fegetround instead of __fegetround.
34218         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
34219         instead of <fenv_libc.h>.
34220         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34221         (__rintl): Call fegetround instead of __fegetround.
34223 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34225         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
34226         arrays.
34228 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34230         [BZ #17775]
34231         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
34232         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
34233         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
34235 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34237         * sysdeps/i386/tls-macros.h: Include <features.h>.
34238         (TLS_LE): Use non-PIC version for GCC >= 5.0.
34239         (TLS_IE): Likewise.
34240         (TLS_LD): Likewise.
34241         (TLS_GD): Likewise.
34242         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
34243         define for GCC >= 5.0.
34245 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
34247         * math/test-fenv.c (test_single_exception, set_single_exc,
34248         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
34249         feexcp_mask_test, feenable_test, fe_single_test): Add
34250         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
34251         case where they are not used.
34252         * math/libm-test.inc: Likewise.
34253         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
34254         unused in the absence of FP rounding/exception support.
34255         * stdio-common/tst-printf-round.c: Likewise.
34256         * stdlib/tst-strtod-round.c: Likewise.
34257         * stdlib/tst-strtod-underflow.c: Likewise.
34259 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
34261         [BZ #17723]
34262         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
34263         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
34264         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34265         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34266         libm_hidden_weak.
34267         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
34268         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34269         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
34270         libm_hidden_def.
34271         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34272         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34273         libm_hidden_weak.
34274         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
34275         Likewise.
34276         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
34277         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34278         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34279         libm_hidden_weak.
34280         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34281         libm_hidden_def.
34282         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
34283         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
34284         (__feraiseexcept): Likewise.
34285         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
34286         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
34287         libm_hidden_weak.
34288         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
34289         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
34290         libm_hidden_def.
34291         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34292         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
34293         Use libm_hidden_def.
34294         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
34295         libm_hidden_def.
34296         (feraiseexcept): Define as weak not strong alias.  Use
34297         libm_hidden_weak.
34298         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
34299         New inline function.  Factored out of ...
34300         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
34301         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
34302         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
34303         feraiseexcept.
34304         * math/w_acos.c (__acos): Likewise.
34305         * math/w_asin.c (__asin): Likewise.
34306         * math/w_ilogb.c (__ilogb): Likewise.
34307         * math/w_j0.c (y0): Likewise.
34308         * math/w_j1.c (y1): Likewise.
34309         * math/w_jn.c (yn): Likewise.
34310         * math/w_log.c (__log): Likewise.
34311         * math/w_log10.c (__log10): Likewise.
34312         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
34313         * sysdeps/aarch64/fpu/math_private.h
34314         (libc_feupdateenv_test_aarch64): Likewise.
34315         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
34316         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
34317         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
34318         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
34319         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
34320         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
34321         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
34322         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34323         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34324         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
34326 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
34328         [BZ #17732]
34329         * io/test-utime.c (main): Replace %ld with %jd and cast to
34330         intmax_t.
34331         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
34332         * nptl/tst-mutex5.c: Include <stdint.h>.
34333         (do_test): Replace %ld with %jd and cast to intmax_t.
34334         * posix/tst-regex.c (run_test): Likewise.
34335         (run_test_backwards): Likewise.
34336         * rt/tst-clock.c: Include <stdint.h>.
34337         (clock_test): Replace %ld with %jd and cast to intmax_t.
34338         * rt/tst-cpuclock1.c: Include <stdint.h>.
34339         (do_test): Replace %lu with %ju and cast to uintmax_t.
34340         * rt/tst-cpuclock2.c: Include <stdint.h>.
34341         (do_test): Replace %lu with %ju and cast to uintmax_t.
34342         * rt/tst-mqueue1.c: Include <stdint.h>.
34343         (check_attrs): Replace %ld with %jd and cast to intmax_t.
34344         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
34345         intmax_t.
34346         * rt/tst-mqueue4.c (do_test): Likewise.
34347         * rt/tst-timer4.c: Include <stdint.h>.
34348         (check_ts): Replace %ld with %jd and cast to intmax_t.
34349         (do_test): Likewise.
34350         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
34351         and cast to intmax_t.
34352         * sysdeps/pthread/tst-timer.c (main): Likewise.
34353         * time/clocktest.c (main): Likewise.
34354         * time/tst-posixtz.c (do_test): Likewise.
34355         * timezone/tst-timezone.c (main): Likewise.
34357 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34358             H.J. Lu  <hongjiu.lu@intel.com>
34360         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
34361         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
34362         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
34363         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
34364         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
34365         version if bit_Fast_Unaligned_Load is set.
34366         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34367         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34368         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34369         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34370         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34371         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34372         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34373         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
34374         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
34375         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
34376         to 4.
34377         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
34378         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
34379         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
34380         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
34382 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
34384         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
34385         instead of #if to avoid a Wundef warning.
34386         * stdlib/tst-limits.c (do_test): Likewise.
34388         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
34389         parallel other exception macros.
34390         (fegetenv): Convert from macro to extern inline so that it applies
34391         retroactively to inline functions already seen by the compiler.
34392         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
34394         * posix/Makefile (before-compile): Use $(objpfx) for
34395         posix-conf-vars-def.h.
34397 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34399         * posix/getconf.c (main): Use size_t for type of I.
34400         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
34401         NSPEC.
34403         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
34404         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
34405         * posix/posix-envs.def: Likewise.
34406         * sysdeps/posix/sysconf.c: Likewise.
34407         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
34408         (specs): Remove array.
34409         * scripts/gen-posix-conf-vars.awk: Support generation of specs
34410         array.
34412         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
34413         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
34414         (__sysconf): Use CONF_IS_* macros.
34416         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
34417         ($(objpfx)posix-conf-vars-def.h): New target.
34418         * posix/posix-conf-vars.list: New file.
34419         * posix/posix-conf-vars.h: New file.
34420         * posix/confstr.c: Include posix-conf-vars.h.
34421         (confstr): Use CONF_IS_* macros.
34422         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
34423         CONF_IS_* macros.
34424         * scripts/gen-posix-conf-vars.awk: New file.
34426 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
34428         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
34429         fegetround): Add no-op macros to avoid linknamespace issues.
34431         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
34432         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
34434         * sysdeps/unix/sysv/linux/tile/sysdep.h
34435         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
34436         assembly-specific section to avoid a redefinition warning.
34438         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
34439         long before casting to pointer to avoid a cast warning.
34441 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
34443         * sysdeps/tile/tilegx/Implies: New file.
34445 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
34447         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
34449 2014-12-23  Florian Weimer  <fweimer@redhat.com>
34451         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
34453 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34455         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
34456         not define.
34457         * sysdeps/unix/sysv/linux/utimes.c: Do not include
34458         <kernel-features.h>.
34459         (__utimes) [__NR_utimes]: Make code unconditional.
34460         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
34461         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34462         (__ASSUME_UTIMES): Do not undefine.
34463         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34464         (__ASSUME_UTIMES): Likewise.
34465         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34466         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
34467         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
34468         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
34470 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34472         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
34474 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
34476         [BZ #17747]
34477         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
34478         alias to weak alias for j0l, y0l.
34479         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
34480         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
34482         [BZ #17746]
34483         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
34484         conversion.
34486 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
34488         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
34489         to zero if not already defined.
34491 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34493         [BZ #17724]
34494         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
34495         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
34496         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
34497         (char *) casts added.
34498         * sysdeps/ieee754/k_standardf.c: New file.
34499         * sysdeps/ieee754/k_standardl.c: Likewise.
34500         * math/Makefile (libm-support): Remove k_standard.
34501         (libm-calls): Add k_standard.
34503 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34505         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34506         Optimize to avoid an unnecessary FPCR read.
34508 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34510         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
34511         Optimize to reduce FPCR/FPSR accesses.
34513 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34515         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
34516         Call libc_fetestexcept_aarch64.
34518 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
34520         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
34521         Call libc_fesetround_aarch64.
34523 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
34525         [BZ #17733]
34526         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
34527         (__bind): Do not define as weak alias.
34528         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
34529         define.
34530         (__getsockname): Do not define as weak alias.
34532 2014-12-22  Will Newton  <will.newton@linaro.org>
34534         * manual/install.texi: Document that we require bison 2.7
34535         or above.
34536         * INSTALL: Regenerate.
34537         * configure.ac: Use AC_CHECK_PROG_VER instead of
34538         AC_PATH_PROG when checking for bison and check for
34539         version 2.7 or above.
34540         * configure: Regenerate.
34542 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
34544         [BZ #17745]
34545         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
34546         * sysdeps/tile/ffsll.c (ffsll): To here.
34548         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
34550 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34552         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
34553         if not defined.
34554         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
34555         definition.
34556         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34557         hidden ___tls_get_addr.
34558         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
34559         hidden __tls_get_addr.
34560         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
34561         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
34562         Likewise.
34564 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
34566         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
34567         _dl_init call.
34569 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
34571         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
34572         from "call _dl_init@PLT".
34573         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
34575 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
34577         * manual/search.texi: (Array Sort Function): Clarify stable sorting
34578         guarantees.
34580 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
34582         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
34584 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34586         [BZ #17744]
34587         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
34588         strnlen.
34590 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34592         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
34593         of multu on MIPSr6.
34594         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
34595         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
34596         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
34597         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
34598         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
34600 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
34602         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
34603         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
34604         (PTR_SUBU): Use subu for mips32r6/mips64r6.
34605         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
34606         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
34607         mips32r6/mips64r6.
34608         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
34610 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
34612         * string/strncat.c (STRNCAT): Simplify implementation.
34614 2014-12-19  David S. Miller  <davem@davemloft.net>
34616         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
34617         access the quad as both a long double and as a series of 4 words.
34619         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
34620         link_map->l_info array access.
34622 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
34624         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
34626         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
34627         * math/atest-exp2.c (TIMEOUT): Likewise.
34628         * math/atest-sincos.c (TIMEOUT): Likewise.
34630 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34632         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
34633         -Wno-error with -fno-builtin-lround.
34635 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34637         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
34638         Contains futex constants and functions moved over from ...
34639         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
34640         <lowlevellock-futex.h>.
34641         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34642         (lll_timedwait_tid): Add comments and parentheses around macro
34643         arguments.
34645 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34647         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
34648         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
34649         (__lll_private_flag): Remove.
34650         (lll_futex_wait): Likewise.
34651         (lll_futex_timed_wait): Likewise.
34652         (lll_futex_wake): Likewise.
34653         (lll_futex_requeue): Likewise.
34654         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
34655         (__lll_timedwait_tid): Spell out argument names.
34656         (lll_timedwait_tid): Add comments and parentheses around macro
34657         arguments.
34658         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
34659         LLL_SHARED and LLL_PRIVATE usable from assembly code.
34661 2014-12-19  Torvald Riegel  <triegel@redhat.com>
34663         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
34664         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
34665         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34666         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
34667         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
34668         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
34669         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
34670         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
34671         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
34672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
34673         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
34674         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
34675         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
34676         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
34677         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
34678         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
34679         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
34680         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
34681         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
34683 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34685         * sysdeps/x86_64/x32/Makefile: New file.
34687 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
34689         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
34690         1L with (mp_limb_t) 1.
34692 2014-12-17  Roland McGrath  <roland@hack.frob.com>
34694         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
34695         * nptl/libc_pthread_init.c: ... here.
34696         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
34697         * nptl/register-atfork.c: ... here.
34699         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
34700         Use pthread_sigmask rather than INTERNAL_SYSCALL.
34701         Use assert_perror to check its return value.
34702         (__gai_create_helper_thread): Likewise.
34704         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
34706         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
34708 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
34710         [BZ #17725]
34711         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
34712         __profil_counter.
34713         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
34714         Likewise.
34715         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
34716         Likewise.
34717         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
34718         Likewise.
34719         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
34720         (profil_counter): Likewise.
34721         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
34722         (profil_counter): Likewise.
34723         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
34724         Likewise.
34725         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
34726         Likewise.
34727         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
34728         (profil_counter): Likewise.
34729         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
34730         Likewise.
34731         [!__profil_counter] (profil_counter): Define as weak alias of
34732         __profil_counter.
34733         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
34734         (profil_counter): Rename to __profil_counter.
34735         [!__profil_counter] (profil_counter): Define as weak alias of
34736         __profil_counter.
34737         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
34738         (profil_counter): Rename to __profil_counter.
34739         [!__profil_counter] (profil_counter): Define as weak alias of
34740         __profil_counter.
34741         * sysdeps/posix/profil.c: Update comment referring to
34742         profil_counter.
34743         (__profil): Use __profil_counter instead of profil_counter.
34744         * sysdeps/posix/sprofil.c (profil_counter): Rename to
34745         __profil_counter.  Use __profil_counter_ushort and
34746         __profil_counter_uint in definitions.
34747         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
34748         instead of profil_counter_uint and profil_counter_ushort.
34750         [BZ #17722]
34751         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
34752         define as weak alias of __inet_makeaddr.
34753         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
34754         as weak alias of __inet_addr.
34755         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
34756         as weak alias of __inet_pton.  Use libc_hidden_weak.
34757         * include/arpa/inet.h (__inet_pton): Declare.  Use
34758         libc_hidden_proto.
34759         (inet_makeaddr): Don't use libc_hidden_proto.
34760         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
34761         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
34762         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
34763         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
34764         Remove variable.
34765         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34766         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34768 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
34770         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
34772 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34774         * stdio-common/bug-vfprintf-nargs.c (do_test):
34775         Cast value to intptr_t to avoid format warning
34776         for usage with PRIdPTR printing macro.
34778 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34780         * libio/tst-widetext.c (do_test):
34781         Use format type %td instead of %Zd for ptrdiff_t
34782         in order to avoid format warning.
34784 2014-12-17  Andreas Schwab  <schwab@suse.de>
34786         * nscd/mem.c (gc): Add size_t cast to match printf format.
34788 2014-12-16  Roland McGrath  <roland@hack.frob.com>
34790         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
34791         (init): Apply PTR_MANGLE to pointers before storing them.
34792         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
34793         before using them.
34795 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
34797         [BZ #17719]
34798         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
34799         define as weak alias of __memrchr.
34800         (__memrchr): Do not define as strong alias of memrchr.
34801         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
34802         Remove variable.
34803         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34804         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34805         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34807         [BZ #17717]
34808         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
34809         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
34810         (if_indextoname): Rename to __if_indextoname and define as weak
34811         alias of __if_indextoname.  Use libc_hidden_weak.
34812         (if_freenameindex): Rename to __if_freenameindex and define as
34813         weak alias of __if_freenameindex.
34814         (if_nameindex): Rename to __if_nameindex and define as weak alias
34815         of __if_nameindex.
34816         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
34817         __if_nametoindex and define as weak alias of __if_nametoindex.
34818         Use libc_hidden_weak.
34819         (if_freenameindex): Rename to __if_freenameindex and define as
34820         weak alias of __if_freenameindex.
34821         (if_nameindex): Rename to __if_nameindex and define as weak alias
34822         of __if_nameindex.
34823         (if_indextoname): Rename to __if_indextoname and define as weak
34824         alias of __if_indextoname.  Use libc_hidden_weak.
34825         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
34826         __if_nametoindex and define as weak alias of __if_nametoindex.
34827         Use libc_hidden_weak.
34828         (if_freenameindex): Rename to __if_freenameindex and define as
34829         weak alias of __if_freenameindex.  Use libc_hidden_weak.
34830         (if_nameindex_netlink): Use __if_freenameindex instead of
34831         if_freenameindex.
34832         (if_nameindex): Rename to __if_nameindex and define as weak alias
34833         of __if_nameindex.  Use libc_hidden_weak.
34834         (if_indextoname): Rename to __if_indextoname and define as weak
34835         alias of __if_indextoname.  Use libc_hidden_weak.
34836         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
34837         libc_hidden_proto.
34838         [!_ISOMAC] (__if_freenameindex): Likewise.
34839         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
34840         if_nametoindex.
34841         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
34842         variable.
34843         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34844         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34845         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34846         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34847         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34848         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34849         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34851         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
34852         Remove variable.
34853         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34854         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34856 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34858         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
34859         subscript above bounds'
34861         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
34862         bounds.
34864 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
34866         * libio/tst-fopenloc.c: Use test-skeleton.c.
34868         * stdlib/tst-bsearch.c: Use test-skeleton.c.
34869         (entry): Rename to ITEM.
34870         (do_test, comp): Adjust.
34872         * stdio-common/tst-fseek.c: Use test-skeleton.c.
34874 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34876         * string/tester.c: Include <libc-internal.h>.
34877         (test_memset): Ignore -Wmemset-transposed-args.
34879 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34881         * misc/tst-mntent2.c (do_test): Fix warning.
34883 2014-12-16  Torvald Riegel  <triegel@redhat.com>
34885         * elf/tst-unique4lib.cc(a): Mark as used.
34887 2014-12-16  Florian Weimer  <fweimer@redhat.com>
34889         [BZ #17630]
34890         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
34891         names.
34893 2014-12-16  Allan McRae  <allan@archlinux.org>
34895         * stdio-common/Makefile (tests): Re-add bug26.
34897 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
34899         [BZ #17657]
34900         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
34901         static array.
34903 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
34905         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
34906         (__lll_lock_wait): Likewise.
34907         (__lll_timedlock_wait): Likewise.
34908         (__lll_timedwait_tid): Likewise.
34909         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
34910         (__lll_robust_timedlock_wait): Likewise.
34911         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
34912         (lll_cond_trylock): Likewise.
34913         (__lll_lock): Likewise.
34914         (__lll_robust_lock): Likewise.
34915         (__lll_cond_lock): Likewise.
34916         (lll_robust_cond_lock): Likewise.
34917         (__lll_timedlock): Likewise.
34918         (__lll_robust_timedlock): Likewise.
34919         (__lll_unlock): Likewise.
34920         (__lll_robust_unlock): Likewise.
34921         (lll_wait_tid): Likewise.
34922         (lll_timedwait_tid): Likewise.
34924 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34926         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
34928 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34930         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
34932 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
34934         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
34935         * stdio-common/tst-sprintf.c: Likewise.
34937 2014-12-15  Torvald Riegel  <triegel@redhat.com>
34939         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
34941 2014-12-15  Jeff Law  <law@redhat.com>
34943         [BZ #16617]
34944         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
34945         on the heap.  (CVE-2012-3406)
34946         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
34947         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
34948         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
34950 2014-12-15  Will Newton  <will.newton@linaro.org>
34952         * manual/install.texi: Bump required version of texinfo
34953         to 4.7 from 4.5.
34954         * INSTALL: Regenerated.
34955         * configure.ac: Check for makeinfo version 4.7 and above.
34956         * configure: Regenerated.
34958 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34960         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
34961         PREFIX, string constant to insert between directory and name.
34962         * sysdeps/posix/shm_open.c: Update caller.
34963         * sysdeps/posix/shm_unlink.c: Likewise.
34964         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
34965         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
34966         (SEM_SHM_PREFIX): New macro.
34967         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
34968         [$(have-thread-library) = no].
34969         * nptl/Makefile (libpthread-routines): Add shm-directory.
34970         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
34971         * sysdeps/nptl/shm-directory.h: New file.
34972         * sysdeps/posix/shm-directory.c
34973         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
34974         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
34975         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
34976         INTERNAL_SYSCALL.
34977         (__where_is_shmfs): Function removed.
34978         (mountpoint, defaultmount, defaultdir, __namedsem_once):
34979         Variables removed.
34980         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
34981         Use SHM_GET_NAME.
34982         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
34984         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
34985         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
34986         unconditional for use inside libpthread.
34987         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
34989 2014-12-12  Roland McGrath  <roland@hack.frob.com>
34991         * nptl/pthread_getaffinity.c: New file.
34992         * nptl/pthread_setaffinity.c: New file.
34993         * nptl/pthread_getname.c: New file.
34994         * nptl/pthread_setname.c: New file.
34996         * nptl/pthread_create.c (START_THREAD_DEFN)
34997         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
34999 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35000             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35002         * resolv/res_send.c (send_vc): Disable warning resplen may
35003         be used uninitialized.
35005 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35007         * nptl/tst-mutex6.c
35008         (ATTR_NULL): New define checks ATTR against NULL.
35009         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
35010         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
35012 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
35014         [BZ #17581]
35015         * malloc/hooks.c
35016         (mem2mem_check): Revert my previous change.
35017         (malloc_check_get_size): Revert my previous change.
35018         (mem2chunk_check): Revert my previous change.
35020 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35022         * sysdeps/posix/shm-directory.c: New file.
35023         * sysdeps/posix/shm-directory.h: New file.
35024         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
35025         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
35026         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
35027         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
35028         Transmute EPERM to EACCES.
35029         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
35030         from ...
35031         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
35032         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
35034 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35036         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
35037         pointer and cast to uintptr_t.
35038         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
35039         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
35040         Add cast to avoid warning.
35041         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
35043 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35045         * nptl/semaphore.h: Move to ...
35046         * sysdeps/pthread/semaphore.h: ... here.
35047         * Makefile (installed-headers): Change nptl/semaphore.h to
35048         sysdeps/pthread/semaphore.h.
35050 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35052         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
35053         generated error format strings.
35055         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
35056         -Wformat-extra-args warnings for scanf formats.
35057         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
35058         test of zero-length format (duh).
35059         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
35060         corner-case scanf format test.
35061         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
35062         generated fprintf format string.
35063         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
35064         corner-case sprintf format tests.
35065         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
35066         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
35067         -Wformat-extra-args warnings throughout.
35068         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
35069         (CFLAGS-scanf4.c): Likewise.
35070         (CFLAGS-scanf7.c): Likewise.
35071         (CFLAGS-tst-sprintf.c): Likewise.
35072         (CFLAGS-tst-printf.c): Likewise.
35073         (CFLAGS-tst-printfsz.c): Likewise.
35075 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
35077         * include/cpio.h: New file.
35078         * include/fmtmsg.h: Likewise.
35080         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
35081         corresponding format argument to size_t.
35082         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
35083         arguments.
35084         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
35085         corresponding format argument to size_t.
35086         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
35087         arguments.
35088         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
35089         corresponding format argument to size_t.
35090         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
35091         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
35092         (CFLAGS-tst-mbswcs2.c): Likewise.
35093         (CFLAGS-tst-mbswcs3.c): Likewise.
35094         (CFLAGS-tst-mbswcs4.c): Likewise.
35095         (CFLAGS-tst-mbswcs5.c): Likewise.
35096         (CFLAGS-tst-trans.c): Likewise.
35098 2014-12-11  Roland McGrath  <roland@hack.frob.com>
35100         * posix/regexbug1.c (main): Use "%s" format with regerror results,
35101         rather than assuming they won't contain any '%'s.
35103 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
35105         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
35106         inhibit_loop_to_libcall to avoid recursive calls.
35107         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
35108         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
35110 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
35112         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
35113         prototype.
35115 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35117         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
35118         integer value instead of boolean.
35120 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
35122         * malloc/malloc.c: Fix powerof2 check.
35124 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35126         * locale/programs/locfile.h (maybe_swap_uint32):
35127         Remove inline and add unused attribute.
35129 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35131         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
35132         Truncating assembler expression to a .long expression.
35134 2014-12-11  Andreas Schwab  <schwab@suse.de>
35136         * elf/rtld.c (struct map_args): Constify str member.
35137         (do_preload): Constify fname argument.
35139 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35141         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
35142         constants definition.
35144 2014-12-11  Andreas Schwab  <schwab@suse.de>
35146         [BZ #16657]
35147         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
35148         FORCE_ELISION instead of DO_ELISION.
35149         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
35150         Remove.
35151         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
35152         Likewise.
35154         * iconvdata/gconv-modules: Remove duplicate entry.
35156 2014-12-11  Will Newton  <will.newton@linaro.org>
35158         Merge gettext 0.19.3 into intl/.
35160         This involves a number of cosmetic changes to comments
35161         and ANSI function definitions and prototypes throughout
35162         all the files. The gettext copyright header is used but
35163         with the date ranges taken from the glibc copy.
35165         * NEWS: Add gettext merge to 2.21.
35166         * intl/bindtextdom.c: Switch to gettext copyright.
35167         Use ANSI definitions and prototypes.
35168         Use gl_* locking primitives rather than __libc_* ones.
35169         Use __builtin_expect rather than __glibc_likely/unlikely.
35170         * intl/dcgettext.c: Switch to gettext copyright.
35171         Use ANSI definitions and prototypes.
35172         * intl/dcigettext.c: Switch to gettext copyright.
35173         Use ANSI definitions and prototypes.
35174         (INTDIV0_RAISES_SIGFPE): New define.
35175         Use gl_* locking primitives rather than __libc_* ones.
35176         Include eval-plural.h instead of plural-eval.c.
35177         Use __builtin_expect rather than __glibc_likely/unlikely.
35178         * intl/dcngettext.c: Switch to gettext copyright.
35179         Use ANSI definitions and prototypes.
35180         * intl/dgettext.c: Likewise.
35181         * intl/dngettext.c: Likewise.
35182         * intl/plural-eval.c: Renamed to...
35183         * intl/eval-plural.h: ...this.
35184         * intl/explodename.c: Switch to gettext copyright.
35185         Use ANSI definitions and prototypes.
35186         (_nl_explode_name): Use strchr instead of __rawmemchr.
35187         * intl/finddomain.c: Switch to gettext copyright.
35188         Use ANSI definitions and prototypes.
35189         Use gl_* locking primitives rather than __libc_* ones.
35190         (_nl_find_domain): Use malloc rather than alloca for
35191         allocation of temporary locale name.
35192         * intl/gettext.c: Switch to gettext copyright.
35193         Use ANSI definitions and prototypes.
35194         * intl/gettextP.h: Switch to gettext copyright.
35195         Use ANSI definitions and prototypes.
35196         Use gl_* locking primitives rather than __libc_* ones.
35197         * intl/gmo.h: Switch to gettext copyright.
35198         (struct sysdep_string): Move struct segment_pair outside of
35199         struct definition.
35200         * intl/hash-string.c: Use ANSI definitions and prototypes.
35201         * intl/hash-string.h: Switch to gettext copyright.
35202         Use ANSI definitions and prototypes.
35203         * intl/l10nflist.c: Switch to gettext copyright.
35204         Use ANSI definitions and prototypes.
35205         (_nl_normalize_codeset): Avoid integer overflow.
35206         * intl/loadinfo.h: Switch to gettext copyright.
35207         Use ANSI definitions and prototypes.
35208         (LIBINTL_DLL_EXPORTED): New define.
35209         (PATH_SEPARATOR): New define.
35210         * intl/loadmsgcat.c: Switch to gettext copyright.
35211         * intl/localealias.c: Switch to gettext copyright.
35212         Use ANSI definitions and prototypes.
35213         (_nl_expand_alias): Use PATH_SEPARATOR.
35214         * intl/ngettext.c: Switch to gettext copyright.
35215         Use ANSI definitions and prototypes.
35216         * intl/plural-exp.c: Likewise.
35217         * intl/plural-exp.h: Switch to gettext copyright.
35218         Use ANSI definitions and prototypes.
35219         (struct expression): Move definition of enum operator outside
35220         of struct definition.
35221         * intl/plural.c: Regenerate.
35222         * intl/plural.y: Switch to gettext copyright.
35223         Use ANSI definitions and prototypes.
35224         Port to bison 3.0.
35225         * intl/textdomain.c: Switch to gettext copyright.
35226         Use ANSI definitions and prototypes.
35227         Use gl_* locking primitives rather than __libc_* ones.
35229 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
35231         * debug/warning-nop.c: Add used atrribute.
35233 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35235         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
35237         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
35238         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
35239         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
35241 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35242             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35244         [BZ #17634]
35245         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
35246         Undefine after defining function.  Define as weak alias of
35247         __wcschr.  Use libc_hidden_weak.
35248         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
35249         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
35250         (libc_hidden_def): Also define __GI___wcschr alias.
35251         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
35252         __wcschr and define as weak alias of __wcschr.
35253         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
35254         __wcschr.
35255         [!WCSCHR] (DEFAULT_WCSCHR): Define.
35256         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
35257         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
35258         libc_hidden_weak.  Do not use libc_hidden_def.
35259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
35260         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
35261         __GI___wcschr alias.
35262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
35263         [IS_IN (libc)] (wcschr): Define as macro expanding to
35264         __redirect_wcschr.
35265         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
35266         [IS_IN (libc)] (__wcschr_power6): Likewise.
35267         [IS_IN (libc)] (__wcschr_power7): Likewise.
35268         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
35269         instead of wcschr.
35270         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
35271         __libc_wcschr.
35272         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
35273         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
35274         __wcschr and define as weak alias of __wcschr.  Use
35275         libc_hidden_builtin_def.
35276         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
35277         as weak alias of __wcschr.  Use libc_hidden_weak.
35278         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
35279         wcschr.
35280         * time/era.c (_nl_init_era_entries): Likewise.
35281         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
35282         variable.
35283         (test-xfail-XPG3/time.h/linknamespace): Likewise.
35284         (test-xfail-XPG4/time.h/linknamespace): Likewise.
35286 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35288         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
35289         format for long int variable.
35291 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
35293         [BZ #10672]
35294         * manual/search.texi: (Array Sort Function): Remove claim how to make
35295         qsort stable.
35297 2014-12-10  Andreas Schwab  <schwab@suse.de>
35299         [BZ #12847]
35300         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
35301         user-controlled locks.
35303 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
35305         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
35306         register.
35308 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
35310         * configure.ac (--disable-werror): New configure option.
35311         (enable_werror): New AC_SUBST.
35312         * configure: Regenerated.
35313         * config.make.in (enable-werror): New variable.
35314         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
35315         -Wno-error=undef.
35316         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
35317         * manual/install.texi (Configuring and compiling): Document
35318         --disable-werror.
35319         * INSTALL: Regenerated.
35320         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
35321         (CFLAGS-tst-chk2.c): Likewise.
35322         (CFLAGS-tst-chk3.c): Likewise.
35323         (CFLAGS-tst-chk4.cc): Likewise.
35324         (CFLAGS-tst-chk5.cc): Likewise.
35325         (CFLAGS-tst-chk6.cc): Likewise.
35326         (CFLAGS-tst-lfschk1.c): Likewise.
35327         (CFLAGS-tst-lfschk2.c): Likewise.
35328         (CFLAGS-tst-lfschk3.c): Likewise.
35329         (CFLAGS-tst-lfschk4.cc): Likewise.
35330         (CFLAGS-tst-lfschk5.cc): Likewise.
35331         (CFLAGS-tst-lfschk6.cc): Likewise.
35333         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
35334         (main): Disable -Wdeprecated-declarations around calls to
35335         register_printf_function.
35337         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
35338         (do_test): Disable -Wdiv-by-zero around some calls to
35339         fwrite_unlocked and fread_unlocked.
35341         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
35342         (DIAG_POP_NEEDS_COMMENT): Likewise.
35343         (_DIAG_STR1): Likewise.
35344         (_DIAG_STR): Likewise.
35345         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
35346         * stdio-common/bug21.c: Include <libc-internal.h>.
35347         (do_test): Disable -Wformat around call to sscanf.
35348         * stdio-common/scanf14.c: Include <libc-internal.h>.
35349         (main): Disable -Wformat around some calls to scanf functions.
35351 2014-12-09  Torvald Riegel  <triegel@redhat.com>
35353         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
35355 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35357         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
35358         stack variable alignment.
35360 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
35362         [BZ #17682]
35363         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
35364         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
35365         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
35366         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
35367         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
35368         __getrlimit instead of getrlimit.
35369         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
35370         __gettimeofday instead of gettimeofday.
35371         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
35372         Likewise.
35373         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
35374         Likewise.
35375         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35376         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
35377         Remove variable.
35378         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
35379         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
35381 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35383         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
35384         for wide-character tests.
35386 2014-12-04  Roland McGrath  <roland@hack.frob.com>
35388         * io/openat64.c: #include <libc-internal.h>
35389         (__openat64): Prototypify.  Use ignore_value on MODE.
35390         * io/openat.c: Likewise.
35391         * misc/reboot.c: #include <libc-internal.h>
35392         (reboot): Prototypify.  Use ignore_value on HOWTO.
35393         * misc/ptrace.c: #include <libc-internal.h>
35394         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
35396 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
35398         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
35399         XPG4, UNIX98 and XOPEN2K.
35400         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
35401         Remove variable.
35402         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
35404 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35406         * libio/fileops.c: Use ISO C style for function definitions.
35407         * libio/iofopen.c: Likewise.
35408         * libio/wfileops.c: Likewise.
35410         [BZ #17653]
35411         * libio/fileops.c (_IO_new_file_underflow): Unset cached
35412         offset on EOF.
35413         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
35414         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
35415         (fgets_func): Function pointer to fgets and fgetws.
35416         (do_ftell_test): Add test to verify ftell value after read
35417         EOF.
35418         (do_test): Set fgets_func.
35420         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
35421         O_TRUNC flag for w and w+ modes.
35422         (do_rewind_test): Likewise.
35423         (do_ftell_test): Likewise.
35424         (do_write_test): Likewise.
35426         [BZ #17647]
35427         * libio/fileops.c (do_ftell): Seek only when there are
35428         unflushed writes.
35429         * libio/wfileops.c (do_ftell_wide): Likewise.
35430         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
35431         test case.
35432         (do_one_test): Call it.
35434 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
35436         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
35437         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
35438         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
35439         Remove variable.
35440         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
35441         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
35442         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
35444 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35446         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
35447         Remove variable.
35448         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
35450         [BZ #17668]
35451         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
35452         as weak alias of __getifaddrs.  Use libc_hidden_weak.
35453         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35454         __freeifaddrs.  Use libc_hidden_weak.
35455         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
35456         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
35457         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35458         __freeifaddrs.  Use libc_hidden_weak.
35459         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
35460         __getifaddrs and define as weak alias of __getifaddrs.  Use
35461         libc_hidden_weak.
35462         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
35463         __freeifaddrs.  Use libc_hidden_weak.
35464         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
35465         Remove variable.
35466         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
35467         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
35469 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
35471         [BZ #17601]
35472         * sysdeps/mips/start.S (__start): Use indirect jump to call
35473         __libc_start_main.
35475 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
35477         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
35479         * nptl/tst-mutex1.c: Include <stdbool.h>.
35480         [!ATTR] (ATTR_NULL): New macro.
35481         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
35482         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
35483         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
35485         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
35486         to char *.
35488         [BZ #17665]
35489         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
35490         Change conditional to [__USE_MISC].
35492         [BZ #17664]
35493         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
35494         fgets_unlocked.
35495         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
35496         __fgets_unlocked.
35497         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
35498         fgets_unlocked.
35499         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
35500         Remove variable.
35501         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
35502         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
35503         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
35504         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
35505         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
35506         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
35507         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
35508         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
35509         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
35511         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
35513 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35516         Remove strpbrk objects.
35517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35518         (__libc_ifunc_impl_list): Remove strpbrk implementation.
35519         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
35520         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
35521         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
35522         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
35524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35525         Remove strcspn objects.
35526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35527         (__libc_ifunc_impl_list): Remove strcspn implementation.
35528         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
35529         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
35530         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
35531         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
35533         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35534         Remove strspn objetcs.
35535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35536         (__libc_ifunc_impl_list): Remove strspn implementation.
35537         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
35538         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35539         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
35540         * sysdeps/powerpc/powerpc64/strspn.S: New file.
35542 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
35544         [BZ #17581]
35545         * malloc/hooks.c
35546         (mem2mem_check): Add a terminator to the chain of checking blocks.
35547         (malloc_check_get_size): Use it here.
35548         (mem2chunk_check): Ditto.
35550 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35552         * sysdeps/powerpc/powerpc64/strtok.S: New file.
35553         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
35555 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
35557         * bits/ioctl-types.h: Indent preprocessor directives correctly.
35559         * nptl/nptl-init.c: Include libc-internal.h.
35560         (__pthread_initialize_minimal_internal): Use ROUND_UP.
35562         * elf/ldconfig.c (search_dir): Expand comment.
35564 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
35566         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
35567         variable.
35568         (linknamespace-symlist-stdlibs-tests): Likewise.
35569         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
35570         instead of $(objpfx)symlist-stdlibs.
35571         (linknamespace-libs-isoc): New variable.
35572         (linknamespace-libs): Use $(linknamespace-libs-isoc).
35573         (linknamespace-libs-ISO): New variable.
35574         (linknamespace-libs-ISO99): Likewise.
35575         (linknamespace-libs-ISO11): Likewise.
35576         (linknamespace-libs-XPG3): Likewise.
35577         (linknamespace-libs-XPG4): Likewise.
35578         (linknamespace-libs-POSIX): Likewise.
35579         (linknamespace-libs-UNIX98): Likewise.
35580         (linknamespace-libs-XOPEN2K): Likewise.
35581         (linknamespace-libs-POSIX2008): Likewise.
35582         (linknamespace-libs-XOPEN2K8): Likewise.
35583         ($(objpfx)symlist-stdlibs): Replace by
35584         $(linknamespace-symlist-stdlibs-tests).  Use
35585         $(linknamespace-libs-$*) as set of libraries.
35586         ($(linknamespace-header-tests)): Update dependencies.  Use
35587         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
35588         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
35589         * conform/linknamespace.pl: Remove comment about considering
35590         definitions of symbols from irrelevant libraries.
35592 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
35594         [BZ #13862]
35595         * elf/dl-tls.c: Include <atomic.h>.
35596         (oom): Remove #ifdef SHARED/#endif.
35597         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
35598         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
35599         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
35600         big enough.
35601         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
35602         * nptl/Makefile (tests): Add tst-stack4.
35603         (modules-names): Add tst-stack4mod.
35604         ($(objpfx)tst-stack4): New.
35605         (tst-stack4mod.sos): Likewise.
35606         ($(objpfx)tst-stack4.out): Likewise.
35607         ($(tst-stack4mod.sos)): Likewise.
35608         (clean): Likewise.
35609         * nptl/tst-stack4.c: New file.
35610         * nptl/tst-stack4mod.c: Likewise.
35612 2014-11-27  J. Brown  <jb999@gmx.de>
35614         * sysdeps/x86/bits/string.h: Add recent CPUs.
35616 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35618         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
35619         sigblock.
35621         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
35622         feof.
35624         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
35625         variable.
35627 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
35629         * nscd/connections.c: Include libc-internal.h because of macro
35630         usage ignore_value.
35632 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35634         * string/bits/string3.h (__warn_memset_zero_len): Don't
35635         declare for gcc newer than 5.0.
35636         (memset): Don't test for zero-length __LEN for gcc newer than
35637         5.0.
35639 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
35641         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
35642         size_t for %zu format.
35644         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
35645         difference, not %ju.
35647 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35649         * include/libc-internal.h (ignore_value): New macro.
35650         * nscd/connections.c (restart): Wrap calls to setuid and setgid
35651         with ignore_value.
35653         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
35654         definition.
35656         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
35657         pthread_cleanup_push to void *.
35659         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
35660         Undefine.
35662         [BZ #16619]
35663         [BZ #16740]
35664         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
35665         instead of 1L << 52.
35667         * libio/bug-rewind.c (do_test): Check fwscanf return values.
35668         * libio/bug-rewind2.c (do_test): Likewise.
35670         * debug/test-stpcpy_chk-ifunc.c: Remove file.
35671         * debug/test-strcpy_chk-ifunc.c: Likewise.
35672         * wcsmbs/test-wcschr-ifunc.c: Likewise.
35673         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35674         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35675         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35676         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35677         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35678         * Rules [$(multi-arch) = no] (tests): Do not filter out
35679         $(tests-ifunc).
35680         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
35681         * debug/Makefile (tests-ifunc): Remove variable.
35682         (tests): Do not add $(tests-ifunc).
35683         * wcsmbs/Makefile (tests-ifunc): Remove variable.
35684         (tests): Do not add $(tests-ifunc).
35685         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
35686         [TEST_IFUNC]: Remove conditionals.
35687         * string/test-string.h (TEST_IFUNC): Remove macro.
35688         [TEST_IFUNC]: Remove conditionals.
35690         * string/test-strchr.c [!WIDE] (L): New macro.
35691         [WIDE] (L): Likewise.
35692         (check1): Use CHAR instead of char.  Use L on string and character
35693         constants.
35695 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
35697         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
35698         tests.
35699         * sysdeps/powerpc/bits/atomic.h
35700         (__arch_atomic_exchange_and_add_32_acq): Add definition.
35701         (__arch_atomic_exchange_and_add_32_rel): Likewise.
35702         (atomic_exchange_and_add_acq): Likewise.
35703         (atomic_exchange_and_add_rel): Likewise.
35704         * sysdeps/powerpc/powerpc32/bits/atomic.h
35705         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35706         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35707         * sysdeps/powerpc/powerpc64/bits/atomic.h
35708         (__arch_atomic_exchange_and_add_64_acq): Add definition.
35709         (__arch_atomic_exchange_and_add_64_rel): Likewise.
35711 2014-11-26  Torvald Riegel  <triegel@redhat.com>
35713         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
35714         Change synchronization of __sched_fifo_min_prio and
35715         __sched_fifo_max_prio.
35716         * nptl/pthread_mutexattr_getprioceiling.c
35717         (pthread_mutexattr_getprioceiling): Likewise.
35718         * nptl/pthread_mutexattr_setprioceiling.c
35719         (pthread_mutexattr_setprioceiling): Likewise.
35720         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
35721         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35722         Likewise.
35724 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
35726         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
35727         void.
35729 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35731         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
35732         third argument const.
35734 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
35736         fnmatch: work around GCC compiler warning bug with uninit var
35737         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
35738         This works around a bug with x86-64 GCC 4.9.2 and earlier
35739         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
35740         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
35741         used uninitialized in this function [-Wmaybe-uninitialized]".
35743 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35745         * posix/bug-regex31.c (main): Return RES not 0.
35747 2014-11-25  Anton Blanchard <anton@samba.org>
35749         * sysdeps/powerpc/bits/atomic.h
35750         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
35752 2014-11-24  Sterling Augustine  <saugustine@google.com>
35754         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
35756 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
35758         [BZ #17608]
35759         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
35761 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
35763         [BZ #17633]
35764         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
35765         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
35766         variable.
35767         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
35768         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
35770 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35772         * string/strncpy.c (strncpy): Improve performance by using memset.
35774 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
35776         * string/strcpy.c (strcpy):
35777         Improve performance by using strlen and memcpy.
35779 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
35781         * string/strcoll_l.c (get_next_seq): __always_inline.
35782         * string/strcoll_l.c (do_compare): __always_inline.
35784 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35786         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
35787         defined.
35788         * include/mqueue.h: Likewise.
35789         * include/stdlib.h: Likewise.
35791         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
35792         (get_null_defines): Adjust.
35793         * sunrpc/Makefile: Adjust comment.
35794         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
35795         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
35796         (CFLAGS-interp.c): Likewise.
35797         (CFLAGS-ldconfig.c): Likewise.
35798         (CPPFLAGS-.os): Likewise.
35799         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
35800         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
35801         * extra-modules.mk (extra-modules.mk): Likewise.
35802         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
35803         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
35804         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
35805         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
35806         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
35807         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
35808         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
35809         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
35810         * iconvdata/Makefile (CPPFLAGS): Likewise.
35811         (cpp-srcs-left): Add libof for all iconvdata routines.
35812         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
35813         * include/assert.h: Likewise.
35814         * include/ctype.h: Likewise.
35815         * include/errno.h: Likewise.
35816         * include/libc-symbols.h: Likewise.
35817         * include/math.h: Likewise.
35818         * include/netdb.h: Likewise.
35819         * include/resolv.h: Likewise.
35820         * include/stdio.h: Likewise.
35821         * include/stdlib.h: Likewise.
35822         * include/string.h: Likewise.
35823         * include/sys/stat.h: Likewise.
35824         * include/wctype.h: Likewise.
35825         * intl/l10nflist.c: Likewise.
35826         * libidn/idn-stub.c: Likewise.
35827         * libio/libioP.h: Likewise.
35828         * nptl/libc_multiple_threads.c: Likewise.
35829         * nptl/pthreadP.h: Likewise.
35830         * posix/regex_internal.h: Likewise.
35831         * resolv/res_hconf.c: Likewise.
35832         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
35833         * sysdeps/arm/memmove.S: Likewise.
35834         * sysdeps/arm/sysdep.h: Likewise.
35835         * sysdeps/generic/_itoa.h: Likewise.
35836         * sysdeps/generic/symbol-hacks.h: Likewise.
35837         * sysdeps/gnu/errlist.awk: Likewise.
35838         * sysdeps/gnu/errlist.c: Likewise.
35839         * sysdeps/i386/i586/memcpy.S: Likewise.
35840         * sysdeps/i386/i586/memset.S: Likewise.
35841         * sysdeps/i386/i686/memcpy.S: Likewise.
35842         * sysdeps/i386/i686/memmove.S: Likewise.
35843         * sysdeps/i386/i686/mempcpy.S: Likewise.
35844         * sysdeps/i386/i686/memset.S: Likewise.
35845         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35846         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35847         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
35848         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
35849         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35850         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35851         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
35852         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35853         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35854         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35855         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35856         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35857         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35858         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35859         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35860         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35861         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
35862         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
35863         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
35864         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35865         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35866         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35867         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35868         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35869         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35870         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35871         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
35872         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35873         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
35874         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
35875         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35876         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35877         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35878         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35879         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35880         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
35881         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35882         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35883         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
35884         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
35885         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35886         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35887         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
35888         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
35889         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35890         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35891         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
35892         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
35893         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35894         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
35895         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35896         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
35897         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
35898         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35899         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35900         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
35901         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35902         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
35903         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
35904         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35905         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35906         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35907         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
35908         * sysdeps/nptl/bits/libc-lock.h: Likewise.
35909         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
35910         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
35911         * sysdeps/posix/closedir.c: Likewise.
35912         * sysdeps/posix/opendir.c: Likewise.
35913         * sysdeps/posix/readdir.c: Likewise.
35914         * sysdeps/posix/rewinddir.c: Likewise.
35915         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
35916         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
35917         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
35918         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
35919         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
35920         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
35921         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
35922         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
35923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
35924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
35925         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
35926         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
35927         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
35928         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
35929         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
35930         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
35931         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
35932         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
35933         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
35934         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
35935         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
35936         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
35937         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
35938         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
35939         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
35940         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
35941         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
35942         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
35943         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
35944         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
35945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
35946         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
35947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
35948         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
35949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
35950         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
35951         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
35952         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
35953         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
35954         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
35955         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
35956         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
35957         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
35958         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
35959         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
35960         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
35961         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
35962         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
35963         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
35964         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
35965         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
35966         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
35967         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
35968         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
35969         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
35970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
35971         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
35972         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
35973         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
35974         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
35975         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
35976         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
35977         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
35978         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
35979         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
35980         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
35981         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
35982         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
35983         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
35984         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
35985         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
35986         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
35987         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
35988         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
35989         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
35990         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
35991         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
35992         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
35993         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
35994         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
35995         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
35996         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35997         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
35998         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
35999         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
36000         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
36001         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
36002         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36003         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36004         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36005         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
36006         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
36007         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
36008         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36009         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
36011         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36012         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36013         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
36014         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
36015         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36016         * sysdeps/unix/alpha/sysdep.S: Likewise.
36017         * sysdeps/unix/alpha/sysdep.h: Likewise.
36018         * sysdeps/unix/make-syscalls.sh: Likewise.
36019         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36021         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36022         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
36023         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36024         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
36025         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
36026         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36027         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36028         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
36029         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36030         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36031         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36032         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36033         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36034         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36035         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36036         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36037         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36038         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36039         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
36040         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36041         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36042         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36043         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36044         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36045         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36048         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
36049         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36050         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36051         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36052         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36053         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
36054         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36055         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36056         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36057         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
36058         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36059         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36060         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36061         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36062         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36063         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36064         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36065         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36066         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36067         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36069         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36070         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36071         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36072         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36073         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
36074         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36075         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36077         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
36078         * sysdeps/x86_64/memcpy.S: Likewise.
36079         * sysdeps/x86_64/memmove.c: Likewise.
36080         * sysdeps/x86_64/memset.S: Likewise.
36081         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
36082         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36083         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
36084         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
36085         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
36086         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36087         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36088         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36089         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36090         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36091         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36092         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36093         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
36094         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36095         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36096         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
36097         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
36098         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36099         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36100         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36101         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
36102         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36103         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
36104         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36105         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36106         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36107         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36108         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
36109         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36110         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36111         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
36112         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36113         * sysdeps/x86_64/strcmp.S: Likewise.
36115         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
36117         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
36118         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
36119         * elf/rtld-Rules: Likewise.
36120         * elf/setup-vdso.h: Likewise.
36121         * include/assert.h: Likewise.
36122         * include/bits/stdlib-float.h: Likewise.
36123         * include/errno.h: Likewise.
36124         * include/sys/stat.h: Likewise.
36125         * include/unistd.h: Likewise.
36126         * sysdeps/aarch64/setjmp.S: Likewise.
36127         * sysdeps/alpha/setjmp.S: Likewise.
36128         * sysdeps/arm/__longjmp.S: Likewise.
36129         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
36130         * sysdeps/arm/setjmp.S: Likewise.
36131         * sysdeps/arm/sysdep.h: Likewise.
36132         * sysdeps/generic/_itoa.h: Likewise.
36133         * sysdeps/generic/dl-sysdep.h: Likewise.
36134         * sysdeps/generic/ldsodefs.h: Likewise.
36135         * sysdeps/i386/dl-tls.h: Likewise.
36136         * sysdeps/i386/setjmp.S: Likewise.
36137         * sysdeps/m68k/setjmp.c: Likewise.
36138         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
36139         * sysdeps/mach/hurd/opendir.c: Likewise.
36140         * sysdeps/posix/getcwd.c: Likewise.
36141         * sysdeps/posix/opendir.c: Likewise.
36142         * sysdeps/posix/profil.c: Likewise.
36143         * sysdeps/powerpc/dl-procinfo.h: Likewise.
36144         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36145         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36146         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
36147         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36148         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
36149         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36150         * sysdeps/s390/dl-tls.h: Likewise.
36151         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36152         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36153         * sysdeps/sh/sh3/setjmp.S: Likewise.
36154         * sysdeps/sh/sh4/setjmp.S: Likewise.
36155         * sysdeps/unix/alpha/sysdep.h: Likewise.
36156         * sysdeps/unix/arm/sysdep.S: Likewise.
36157         * sysdeps/unix/i386/sysdep.S: Likewise.
36158         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36159         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
36160         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36161         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36162         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36163         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
36164         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36165         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36166         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
36167         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
36168         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
36169         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36170         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36173         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36174         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36175         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36176         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36177         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36178         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36179         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36180         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36181         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36182         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36183         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36184         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36185         * sysdeps/unix/x86_64/sysdep.S: Likewise.
36186         * sysdeps/x86_64/setjmp.S: Likewise.
36188         * include/math.h: Use IS_IN instead of IS_IN_libm.
36189         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
36190         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
36191         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
36192         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
36193         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
36194         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
36195         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
36196         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
36197         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36198         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
36199         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
36200         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
36201         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
36202         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
36203         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
36204         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
36205         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
36206         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
36207         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
36208         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
36209         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
36210         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
36211         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
36212         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
36213         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
36214         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
36215         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
36216         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
36217         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
36218         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
36219         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
36220         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
36221         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
36223         Likewise.
36224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
36225         Likewise.
36226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
36227         Likewise.
36228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
36229         Likewise.
36230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
36231         Likewise.
36232         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
36233         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
36234         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
36235         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36236         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36237         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
36239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
36240         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
36241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
36242         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
36243         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
36244         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
36245         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36246         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36247         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
36248         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36249         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36250         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
36251         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
36252         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
36253         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
36254         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
36255         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
36256         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
36257         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36258         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
36260         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
36261         * nptl/pthreadP.h: Likewise.
36262         * nptl_db/structs.def: Likewise.
36263         * sysdeps/arm/sysdep.h: Likewise.
36264         * sysdeps/nptl/bits/libc-lock.h: Likewise.
36265         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
36266         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
36267         * sysdeps/unix/alpha/sysdep.h: Likewise.
36268         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36269         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36270         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36271         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36272         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36273         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36274         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36275         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36276         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36277         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36278         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36279         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36280         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36281         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
36283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
36284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36285         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36286         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36287         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36288         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36289         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36290         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36291         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36292         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
36293         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36295         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
36296         * nptl/pthreadP.h: Likewise.
36297         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
36298         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
36299         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
36300         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
36301         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
36302         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
36303         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36304         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
36305         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
36306         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
36307         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
36308         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
36309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36310         Likewise.
36311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36312         Likewise.
36313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
36314         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
36315         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
36316         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
36317         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
36318         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
36319         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
36320         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
36322         * dlfcn/dladdr.c: Use IS_IN.
36323         * dlfcn/dladdr1.c: Likewise.
36324         * dlfcn/dlclose.c: Likewise.
36325         * dlfcn/dlerror.c: Likewise.
36326         * dlfcn/dlinfo.c: Likewise.
36327         * dlfcn/dlmopen.c: Likewise.
36328         * dlfcn/dlopen.c: Likewise.
36329         * dlfcn/dlsym.c: Likewise.
36330         * dlfcn/dlvsym.c: Likewise.
36332         * include/ifaddrs.h: Use IS_IN.
36333         * inet/check_pf.c: Likewise.
36334         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36335         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
36337         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
36338         IS_IN_ldconfig.
36339         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
36340         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
36342         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
36343         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
36344         IS_IN (libc).
36346         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
36348         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
36349         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
36350         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
36351         * include/libc-symbols.h (IS_IN_LIB): New macro.
36352         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
36353         * include/netdb.h: Likewise.
36354         * include/stap-probe.h: Remove all uses of IN_LIB.
36356         * Makeconfig (module-cppflags-real): Define MODULE_NAME
36357         instead of IN_MODULE.
36358         * include/libc-symbols.h (IN_MODULE): Define using
36359         MODULE_NAME.
36360         (PASTE_NAME, PASTE_NAME1): New macros.
36361         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
36362         of IN_LIB.
36363         (STAP_PROBE_ASM): Likewise.
36365 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36367         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
36368         __mach_init in dlopened libc.
36370 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
36372         * sysdeps/arm/preconfigure.ac: Delete EABI check.
36373         * sysdeps/arm/preconfigure: Regenerate.
36375 2014-11-21  Roland McGrath  <roland@hack.frob.com>
36377         * nptl/pthread_create.c (__pthread_create_2_1): Set
36378         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
36379         when copying values from IATTR into PD.
36381 2014-11-21  Will Newton  <will.newton@linaro.org>
36382             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
36384         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
36385         Refactor inline-asm.  Also add comment.
36387         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
36388         ElfW macro instead of hardcoded Elf64 types.
36389         (la_aarch64_gnu_pltenter): Likewise.
36390         * sysdeps/aarch64/dl-machine.h
36391         (elf_machine_runtime_setup): Use ElfW(Addr).
36393         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
36394         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
36395         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
36396         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
36397         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
36398         (R_AARCH64_TLS_DTPMOD64): Rename to ..
36399         (R_AARCH64_TLS_DTPMOD): This.
36400         (R_AARCH64_TLS_DTPREL64): Rename to ...
36401         (R_AARCH64_TLS_DTPREL): This.
36402         (R_AARCH64_TLS_TPREL64): Rename to ...
36403         (R_AARCH64_TLS_TPREL): This.
36404         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
36405         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
36406         R_AARCH64_TLS_TPREL64.
36407         (elf_machine_rela): Likewise.
36409 2014-11-21  Torvald Riegel  <triegel@redhat.com>
36411         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
36412         by setting it to 0.  64b atomics are not supported currently.
36414 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36416         [BZ #16469]
36417         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
36418         search domain names.
36420 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36422         [BZ #16469]
36423         * NEWS: Update.
36424         * resolv/res_query.c (__libc_res_nquerydomain): Retain
36425         trailing dot.
36426         * posix/tst-getaddrinfo5.c: New.
36427         * posix/Makefile (tests): Add it.
36429 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36431         [BZ #14498]
36432         * NEWS: Fixed.
36433         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
36434         after parsing line but before break_if_match.
36435         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
36436         if there is a protocol mismatch.
36438 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
36440         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
36441         because the potential race is on the user-supplied stream.
36443 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36445         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
36446         string literal if not passed a buffer.
36447         * manual/job.texi (ctermid): Update reasoning, note deviation
36448         from posix, suggest mtasurace when not passed a buffer, for
36449         future non-preliminary safety notes.
36451 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36453         * manual/users.texi (cuserid): Fix MT-Safety note for the case
36454         of not passing it a buffer.
36455         Reported by Peng Haitao.
36457 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
36459         * manual/Makefile ($(objpfx)stamp-summary): Require
36460         check-safety.sh to pass.
36461         * manual/check-safety.sh: Wish for verification that every
36462         @deftypefn and @deftypefun is followed by a @safety remark.
36464 2014-11-20  Roland McGrath  <roland@hack.frob.com>
36466         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
36468         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
36469         PTHREAD_CANCEL_ASYNCHRONOUS.
36470         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
36471         send SIGCANCEL.
36473         * nptl/default-sched.h: New file.
36474         * sysdeps/unix/sysv/linux/default-sched.h: New file.
36475         * nptl/pthread_create.c: Include it.
36476         (__pthread_create_2_1): Use collect_default_sched instead of making
36477         Linux syscalls here directly.
36479 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36481         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
36482         __pthread_once): Use C11 atomics.
36484 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36486         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
36488 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36490         * include/atomic.h (__atomic_link_error, __atomic_check_size,
36491         atomic_thread_fence_acquire, atomic_thread_fence_release,
36492         atomic_thread_fence_seq_cst, atomic_load_relaxed,
36493         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
36494         atomic_compare_exchange_weak_relaxed,
36495         atomic_compare_exchange_weak_acquire,
36496         atomic_compare_exchange_weak_release,
36497         atomic_exchange_acquire, atomic_exchange_release,
36498         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
36499         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
36500         atomic_fetch_and_acquire,
36501         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
36503 2014-11-20  Torvald Riegel  <triegel@redhat.com>
36505         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
36506         USE_ATOMIC_COMPILER_BUILTINS): Define.
36507         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
36508         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36509         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
36510         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36511         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
36512         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36513         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
36514         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36515         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
36516         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36517         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
36518         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36519         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
36520         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36521         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
36522         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36523         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36524         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36525         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36526         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36527         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
36528         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36529         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
36530         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36531         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
36532         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36533         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
36534         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36535         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
36536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36537         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
36538         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36539         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
36540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36541         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
36542         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36543         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
36544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36545         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
36546         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
36548 2014-11-19  Roland McGrath  <roland@hack.frob.com>
36550         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
36551         the sched_priority value here.  It was already checked when the user
36552         called pthread_attr_setschedparam.
36554         * nptl/tst-bad-schedattr.c: New file.
36555         * nptl/Makefile (tests): Add it.
36557 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
36558             Florian Weimer  <fweimer@redhat.com>
36559             Joseph Myers  <joseph@codesourcery.com>
36560             Adam Conrad  <adconrad@0c3.net>
36561             Andreas Schwab  <schwab@suse.de>
36562             Brooks  <bmoses@google.com>
36564         [BZ #17625]
36565         * wordexp-test.c (__dso_handle): Add prototype.
36566         (__register_atfork): Likewise.
36567         (__app_register_atfork): New function.
36568         (registered_forks): New global.
36569         (register_fork): New function.
36570         (test_case): Add 3 new tests for WRDE_CMDSUB.
36571         (main): Call __app_register_atfork.
36572         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
36573         fork count is non-zero fail the test.
36574         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
36575         is set.
36576         (parse_dollars): Remove check for WRDE_NOCMD.
36577         (parse_dquote): Likewise.
36579 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36581         * Makeconfig (built-modules): List non-library modules to be
36582         built.
36583         (module-cppflags): Include libc-modules.h for
36584         everything except shlib-versions.v.i.
36585         (CPPFLAGS): Use it.
36586         (before-compile): Add libc-modules.h.
36587         ($(common-objpfx)libc-modules.h,
36588         $(common-objpfx)libc-modules.stmp): New targets.
36589         (common-generated): Add libc-modules.h and libc-modules.stmp.
36590         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
36591         * include/libc-symbols.h: Don't include libc-modules.h.
36592         * include/libc-modules.h: Remove file.
36593         * scripts/gen-libc-modules.awk: New script to generate
36594         libc-modules.h.
36595         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
36596         Depend on libc-modules.stmp.
36598         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
36600         * Makeconfig (in-module): Get value of libof set for the
36601         translation unit.
36602         (CPPFLAGS): Use $(in-module).
36603         * Makerules: Don't suffix routine names for nonlib.
36604         * include/libc-modules.h: New file.
36605         * include/libc-symbols.h: Include libc-modules.h
36606         (IS_IN): New macro to replace IS_IN_* macros.
36607         * elf/Makefile: Set libof-* for each routine.
36608         * elf/rtld-Rules: Likewise.
36609         * extra-modules.mk: Likewise.
36610         * iconv/Makefile: Likewise.
36611         * iconvdata/Makefile: Likewise.
36612         * locale/Makefile: Likewise.
36613         * malloc/Makefile: Likewise.
36614         * nss/Makefile: Likewise.
36615         * sysdeps/gnu/Makefile: Likewise.
36616         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
36617         * sysdeps/unix/sysv/linux/Makefile: Likewise.
36618         * sysdeps/s390/s390-64/Makefile: Likewise.
36619         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
36620         CPPFLAGS for nscd instead of nonlib.
36622 2014-11-18  Roland McGrath  <roland@hack.frob.com>
36624         * nptl/createthread.c: New file.
36626         * nptl/createthread.c: Moved ...
36627         * sysdeps/unix/sysv/linux/createthread.c: ... here.
36629         * nptl/createthread.c: Add proper top-line comment.
36630         (do_clone): Folded into ...
36631         (create_thread): ... here.  Take new arguments STOPPED_START and
36632         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
36633         increment __nptl_threads, do event-reporting logic, do
36634         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
36635         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
36636         resource cleanup if sched_setaffinity or sched_setscheduler fails,
36637         just send SIGCANCEL.
36638         * nptl/pthread_create.c: Forward-declare create_thread before
36639         including createthread.c.
36640         (start_thread): Use new macro START_THREAD_DEFN to replace defining
36641         declaration, and new macro START_THREAD_SELF to replace argument.
36642         Remove return statement.
36643         (report_thread_creation): New function.
36644         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
36645         synchronization logic, and __nptl_nthreads increment here, around
36646         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
36647         PD->parent_cancelhandling here, before create_thread.  When
36648         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
36649         __deallocate_stack, and ENOMEM translation here.
36651 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
36653         [BZ #17616]
36654         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
36655         (mptwo): Rename to __mptwo.
36656         (__inv): Use __mptwo instead of mptwo.
36657         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
36658         (mptwo): Rename to __mptwo.
36659         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
36660         of mpone and __mptwo instead of mptwo.
36661         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
36662         instead of mpone.
36663         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36664         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
36665         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
36666         of mpone and __mptwo instead of mptwo.
36667         (__mpranred): Use __mpone instead of mpone.
36668         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
36669         variable.
36670         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36671         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36672         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36673         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36674         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36675         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36676         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36677         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36678         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36679         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36680         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36681         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36682         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36683         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36684         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36685         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36686         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36687         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36688         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
36690 2014-11-18  Tom de Vries  <tom@codesoucery.com>
36692         * manual/signal.texi (Primitives Interrupted by Signals): In section,
36693         replace BSD Handler xref with BSD Signal Handling.
36695 2014-11-17  Richard Henderson  <rth@redhat.com>
36697         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
36698         (_FP_PACK_RAW_2): Remove.
36699         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
36700         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
36701         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
36702         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
36703         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
36704         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
36705         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
36706         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
36707         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
36708         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
36709         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
36710         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
36711         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
36712         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
36713         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
36714         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
36716 2014-11-14  Roland McGrath  <roland@hack.frob.com>
36718         * signal/signal.h [__USE_MISC]
36719         (struct sigvec): Remove type.
36720         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
36721         (sigvec): Remove declaration.
36722         * sysdeps/posix/sigvec.c: Moved ...
36723         * signal/sigvec.c: ... here, replacing old file.
36724         (struct sigvec): New type, copied from old signal.h definition.
36725         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
36726         (__sigvec): Convert definition to prototype.
36727         (sigvec): Replace weak_alias with compat_symbol.
36728         * signal/Versions (libc: GLIBC_2.21): New version set.
36729         * include/signal.h: Remove __sigvec declaration.
36730         * sysdeps/unix/bsd/sigvec.c: Remove file.
36731         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
36732         * manual/signal.texi (BSD Handler): Remove subsection.
36733         Move siginterrupt up to ...
36734         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
36735         (Blocking in BSD): Fold subsection into its parent.
36736         * NEWS: Mention sigvec removal.
36738 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36740         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
36741         (DLA_FMS): Make definition conditional only on [__FMA4__].
36742         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
36743         definition.
36745         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
36746         Make definition conditional only on [PROF].
36747         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
36748         definition.
36749         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
36750         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
36752         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
36753         !__GNUC__].
36754         * include/signal.h (__sigpause): Move declaration above call to
36755         libc_hidden_proto.
36756         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
36757         variable.
36758         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36759         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36761 2014-11-14  David S. Miller  <davem@davemloft.net>
36763         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
36764         Define before including <string/memcpy.c> and <string/mempcpy.c>.
36766 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
36768         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
36769         * configure: Regenerated.
36770         * manual/install.texi (Tools for Compilation): Document a
36771         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
36772         compiler verified to work.
36773         * INSTALL: Regenerated.
36775         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
36776         redeclare with asm name.
36777         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
36778         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
36779         including <string.h>.
36780         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36781         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
36782         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36783         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
36784         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36785         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
36786         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
36788 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
36790         * stdlib/strtol.c (__strtol): Use prototype definition.
36792         [BZ #17594]
36793         * stdlib/strtol.c (SYM__): New macro.
36794         (SYM__1): Likewise.
36795         (__strtol): Likewise.
36796         (strtol): Rename to __strtol and define as weak alias of
36797         __strtol.  Use libc_hidden_weak.
36799 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36801         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
36802         Use numbered labels in inline assembly.
36804 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36806         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
36807         Add setjmp LIBC_PROBE.
36808         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
36809         Likewise.
36810         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
36811         Add longjmp, longjmp_target LIBC_PROBE.
36812         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
36813         Likewise.
36815 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36817         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36818         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
36819         to get rid of unused variable warning.
36821 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36823         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
36824         Check for unwind_backtrace ==  NULL only in SHARED case.
36825         (__backchain_backtrace): Compile only in SHARED case.
36826         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
36827         Likewise.
36828         (__backchain_backtrace): Declare as static.
36830 2014-11-12  Roland McGrath  <roland@hack.frob.com>
36832         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
36833         (__libc_multiple_threads_ptr): Variable moved ...
36834         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
36836 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
36838         * conform/GlibcConform.pm: New file.
36839         * conform/conformtest.pl: Use GlibcConform module.
36840         * conform/linknamespace.pl: New file.
36841         * conform/list-header-symbols.pl: Likewise.
36842         * conform/Makefile (linknamespace-symlists-base): New variable.
36843         (linknamespace-symlists-tests): Likewise.
36844         (linknamespace-header-base): Likewise.
36845         (linknamespace-header-tests): Likewise.
36846         (tests-special): Add new tests.
36847         ($(linknamespace-symlists-tests)): New rule.
36848         (linknamespace-libs): New variable.
36849         ($(objpfx)symlist-stdlibs): New rule.
36850         ($(linknamespace-header-tests)): Likewise.
36851         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
36852         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
36853         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
36854         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
36855         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
36856         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
36857         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
36858         (test-xfail-ISO/math.h/linknamespace): Likewise.
36859         (test-xfail-ISO/signal.h/linknamespace): Likewise.
36860         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
36861         (test-xfail-ISO/time.h/linknamespace): Likewise.
36862         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
36863         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
36864         (test-xfail-ISO99/math.h/linknamespace): Likewise.
36865         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
36866         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
36867         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
36868         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
36869         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
36870         (test-xfail-ISO11/math.h/linknamespace): Likewise.
36871         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
36872         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
36873         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
36874         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
36875         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
36876         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
36877         (test-xfail-XPG3/math.h/linknamespace): Likewise.
36878         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
36879         (test-xfail-XPG3/search.h/linknamespace): Likewise.
36880         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
36881         (test-xfail-XPG3/time.h/linknamespace): Likewise.
36882         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
36883         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36884         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
36885         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
36886         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36887         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36888         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
36889         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
36890         (test-xfail-XPG4/math.h/linknamespace): Likewise.
36891         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
36892         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36893         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36894         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36895         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36896         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
36897         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
36898         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
36899         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
36900         (test-xfail-XPG4/time.h/linknamespace): Likewise.
36901         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
36902         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36903         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
36904         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36905         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36906         (test-xfail-POSIX/math.h/linknamespace): Likewise.
36907         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
36908         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
36909         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36910         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36911         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
36912         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
36913         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36914         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
36915         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36916         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36917         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
36918         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36919         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36920         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36921         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36922         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36923         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
36924         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
36925         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36926         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36927         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36928         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
36929         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36930         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36931         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
36932         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36933         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36934         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
36935         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
36936         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36937         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36938         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
36939         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
36940         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36941         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
36942         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
36943         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
36944         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36945         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36946         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36947         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
36948         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36949         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
36950         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
36951         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
36952         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
36953         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
36954         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
36955         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36956         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36957         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36958         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
36959         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
36960         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36961         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
36962         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
36963         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36964         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36965         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
36966         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
36967         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36968         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36969         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36970         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
36971         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
36972         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
36973         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
36974         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
36975         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36976         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
36977         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
36978         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
36979         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36980         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
36981         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36982         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36983         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36984         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
36985         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
36986         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
36987         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
36988         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
36989         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
36990         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
36991         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36992         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
36993         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36994         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
36995         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36996         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
36997         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
36998         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
36999         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
37000         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37001         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
37002         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37003         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
37004         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
37005         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
37006         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37007         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37008         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
37009         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
37010         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37011         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37013         [BZ #17589]
37014         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
37015         of fgets_unlocked.
37017         [BZ #17585]
37018         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
37019         (memmem): Rename to __memmem and define as weak alias of
37020         __memmem.  Use libc_hidden_weak.
37021         (__memmem): Use libc_hidden_def.
37022         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
37023         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
37024         memmem.
37026         [BZ #17582]
37027         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
37028         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
37029         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
37030         and define as weak alias of __fgets_unlocked.  Use
37031         libc_hidden_weak.
37032         (__fgets_unlocked): Use libc_hidden_def.
37033         * include/stdio.h (__fgets_unlocked): Declare.  Use
37034         libc_hidden_proto.
37035         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
37036         __fgets_unlocked instead of fgets_unlocked.
37037         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
37038         (GET_NPROCS_CONF_PARSER): Likewise.
37039         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
37040         (GET_NPROCS_CONF_PARSER): Likewise.
37042         [BZ #17574]
37043         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
37044         weak alias of __wmemset.  Use libc_hidden_weak.
37045         (__wmemset): Use libc_hidden_def.
37046         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
37047         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
37048         of wmemset.
37050         [BZ #17573]
37051         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
37052         with asm name __mempcpy.
37053         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
37055         [BZ #17572]
37056         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
37057         and define as weak alias of __rawmemchr.
37058         (__rawmemchr): Do not define as strong alias of rawmemchr.
37060         [BZ #17571]
37061         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
37062         alias of __qsort_r.
37063         (qsort): Call __qsort_r instead of qsort_r.
37064         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
37065         (__qsort_r): Declare.  Call libc_hidden_proto.
37066         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
37067         instead of qsort_r.
37068         * nscd/gai.c (__qsort_r): Define to qsort_r.
37069         * posix/tst-rfc3484.c (__qsort_r): Likewise.
37070         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
37071         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
37073         [BZ #17570]
37074         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
37075         define as weak alias of __malloc_info.
37077         [BZ #17584]
37078         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
37079         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37080         (__rewinddir): Use libc_hidden_def.
37081         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
37082         as weak alias of __rewinddir.  Don't use libc_hidden_def.
37083         (__rewinddir): Use libc_hidden_def.
37084         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
37085         weak alias of __rewinddir.  Don't use libc_hidden_def.
37086         (__rewinddir): Use libc_hidden_def.
37087         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
37088         (__rewinddir): Use libc_hidden_proto.
37089         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
37090         rewinddir.
37091         (__getcwd): Use __rewinddir instead of rewinddir.
37093         [BZ #17583]
37094         * libio/fileno.c (fileno): Rename to __fileno and define as weak
37095         alias of __fileno.  Use libc_hidden_weak.
37096         (__fileno): Use libc_hidden_def.
37097         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
37098         * libio/ftello.c (ftello): Rename to __ftello and define as weak
37099         alias of __ftello.
37100         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
37101         __ftello.
37102         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
37103         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
37104         libc_hidden_def.
37105         (fread_unlocked): Don't use libc_hidden_ver.
37106         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
37107         and define as weak alias of __fread_unlocked.  Don't use
37108         libc_hidden_def.
37109         (__fread_unlocked): Use libc_hidden_def.
37110         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
37111         (ftello): Don't use libc_hidden_proto.
37112         (__ftello): Declare.  Use libc_hidden_proto.
37113         (fread_unlocked): Don't use libc_hidden_proto.
37114         (__fread_unlocked): Declare.  Use libc_hidden_proto.
37115         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
37116         and __ftello instead of fileno, fread_unlocked and ftello.
37118 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37120         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
37121         GOT12.
37122         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
37123         Likewise.
37124         (_dl_start_user): Likewise.
37125         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
37127 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
37128             Siddhesh Poyarekar  <siddhesh@redhat.com>
37130         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
37131         Move argv and envp down instead of moving argc up.
37132         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
37134 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
37136         [BZ #17506]
37137         * test-skeleton.c (main): Return successful if one of
37138         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
37139         * string/tst-strcoll-overflow.c: Define expected status.
37141 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
37143         [BZ #17475]
37144         * locale/iso-639.def: Define Bhili and Tulu language codes.
37146 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
37148         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
37150 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
37152         [BZ #17555]
37153         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
37155 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
37157         * configure.ac: Updated check of minimal required version to
37158         2.22.
37159         * manual/install.texi (Tools for Compilation): Updated version
37160         number.
37161         * configure: Regenerated.
37162         * INSTALL: Likewise.
37164 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
37166         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
37167         __tls_get_addr.
37169 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
37171         * include/sys/wait.h (__libc_waitpid): Remove declaration.
37172         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
37173         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37174         libc_hidden_weak.
37175         (waitpid): Define as alias of __waitpid.
37176         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
37177         __waitpid.
37178         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37179         libc_hidden_weak.
37180         (waitpid): Define as alias of __waitpid.
37181         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
37182         __libc_waitpid alias.
37183         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
37184         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
37185         Likewise.
37186         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
37187         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
37188         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
37189         alias.
37190         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
37191         __waitpid.
37192         (__waitpid): Don't define as alias.  Use libc_hidden_def not
37193         libc_hidden_weak.
37194         (waitpid): Define as alias of __waitpid.
37196 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
37198         * manual/llio.texi: Add comment that write safety has been
37199         fixed in Linux.
37201         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
37202         (localplt-build-dso): Add elf/ld.so.
37203         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
37204         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
37205         and free for ld.so.
37206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
37207         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
37208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
37209         Likewise.
37210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
37211         Likewise.
37212         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
37213         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
37214         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
37215         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
37216         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
37217         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
37218         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
37219         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
37220         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
37221         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
37222         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37224 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
37226         [BZ #14132]
37227         * include/libc-symbols.h (INTUSE): Remove macro.
37228         (INTDEF): Likewise.
37229         (INTVARDEF): Likewise.
37230         (_INTVARDEF): Likewise.
37231         (INTDEF2): Likewise.
37232         (INTVARDEF2): Likewise.
37233         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
37234         rtld_hidden_def instead of INTVARDEF.
37235         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
37236         (_dl_starting_up_internal): Remove declaration.
37237         (_dl_starting_up): Use rtld_hidden_proto.
37238         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
37239         declaration.
37240         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
37241         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
37242         _dl_starting_up.
37243         * elf/dl-writev.h (_dl_writev): Likewise.
37244         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
37245         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
37246         _dl_starting_up_internal.
37248 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37250         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
37251         test-skeleton.c.
37253 2014-11-05  Will Newton  <will.newton@linaro.org>
37255         * benchtests/Makefile: (bench-malloc): Add malloc thread
37256         scalability benchmark.
37257         * benchtests/bench-malloc-threads.c: New file.
37259 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
37261         * sysdeps/aarch64/strchrnul.S: New file.
37263 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37265         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
37266         definition.
37267         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
37268         Likewise.
37269         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
37270         Likewise.
37271         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
37272         Likewise.
37273         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
37274         Likewise.
37275         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
37276         Likewise.
37278 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
37280         * catgets/test-gencat.c: Use test-skeleton.c.
37281         * catgets/tst-catgets.c: Likewise.
37282         * csu/tst-empty.c: Likewise.
37283         * elf/tst-audit2.c: Likewise.
37284         * elf/tst-global1.c: Likewise.
37285         * elf/tst-pathopt.c: Likewise.
37286         * elf/tst-piemod1.c: Likewise.
37287         * elf/tst-tls10.c: Likewise.
37288         * elf/tst-tls11.c: Likewise.
37289         * elf/tst-tls12.c: Likewise.
37290         * gnulib/tst-gcc.c: Likewise.
37291         * iconvdata/tst-e2big.c: Likewise.
37292         * iconvdata/tst-loading.c: Likewise.
37293         * iconv/tst-iconv1.c: Likewise.
37294         * iconv/tst-iconv2.c: Likewise.
37295         * inet/test-inet6_opt.c: Likewise.
37296         * inet/tst-gethnm.c: Likewise.
37297         * inet/tst-network.c: Likewise.
37298         * inet/tst-ntoa.c: Likewise.
37299         * intl/tst-codeset.c: Likewise.
37300         * intl/tst-gettext2.c: Likewise.
37301         * intl/tst-gettext3.c: Likewise.
37302         * intl/tst-ngettext.c: Likewise.
37303         * intl/tst-translit.c: Likewise.
37304         * io/test-stat.c: Likewise.
37305         * libio/test-fmemopen.c: Likewise.
37306         * libio/tst-freopen.c: Likewise.
37307         * libio/tst-sscanf.c: Likewise.
37308         * libio/tst-ungetwc1.c: Likewise.
37309         * libio/tst-ungetwc2.c: Likewise.
37310         * libio/tst-widetext.c: Likewise.
37311         * localedata/tst-ctype.c: Likewise.
37312         * localedata/tst-digits.c: Likewise.
37313         * localedata/tst-leaks.c: Likewise.
37314         * localedata/tst-mbswcs1.c: Likewise.
37315         * localedata/tst-mbswcs2.c: Likewise.
37316         * localedata/tst-mbswcs3.c: Likewise.
37317         * localedata/tst-mbswcs4.c: Likewise.
37318         * localedata/tst-mbswcs5.c: Likewise.
37319         * localedata/tst-setlocale.c: Likewise.
37320         * localedata/tst-trans.c: Likewise.
37321         * localedata/tst-wctype.c: Likewise.
37322         * localedata/tst-xlocale1.c: Likewise.
37323         * login/tst-grantpt.c: Likewise.
37324         * malloc/tst-calloc.c: Likewise.
37325         * malloc/tst-malloc.c: Likewise.
37326         * malloc/tst-mallocstate.c: Likewise.
37327         * malloc/tst-mcheck.c: Likewise.
37328         * malloc/tst-mtrace.c: Likewise.
37329         * malloc/tst-obstack.c: Likewise.
37330         * math/atest-exp2.c: Likewise.
37331         * math/atest-exp.c: Likewise.
37332         * math/atest-sincos.c: Likewise.
37333         * math/test-matherr.c: Likewise.
37334         * math/test-misc.c: Likewise.
37335         * math/test-powl.c: Likewise.
37336         * math/tst-definitions.c: Likewise.
37337         * misc/tst-dirname.c: Likewise.
37338         * misc/tst-efgcvt.c: Likewise.
37339         * misc/tst-fdset.c: Likewise.
37340         * misc/tst-hsearch.c: Likewise.
37341         * misc/tst-mntent2.c: Likewise.
37342         * nptl/tst-sem7.c: Likewise.
37343         * nptl/tst-sem8.c: Likewise.
37344         * nptl/tst-sem9.c: Likewise.
37345         * nss/test-netdb.c: Likewise.
37346         * posix/tst-fnmatch.c: Likewise.
37347         * posix/tst-getlogin.c: Likewise.
37348         * posix/tst-gnuglob.c: Likewise.
37349         * posix/tst-mmap.c: Likewise.
37350         * pwd/tst-getpw.c: Likewise.
37351         * resolv/tst-inet_ntop.c: Likewise.
37352         * rt/tst-timer.c: Likewise.
37353         * stdio-common/test-fseek.c: Likewise.
37354         * stdio-common/test-popen.c: Likewise.
37355         * stdio-common/test-vfprintf.c: Likewise.
37356         * stdio-common/tst-cookie.c: Likewise.
37357         * stdio-common/tst-fileno.c: Likewise.
37358         * stdio-common/tst-gets.c: Likewise.
37359         * stdio-common/tst-obprintf.c: Likewise.
37360         * stdio-common/tst-perror.c: Likewise.
37361         * stdio-common/tst-sprintf2.c: Likewise.
37362         * stdio-common/tst-sprintf3.c: Likewise.
37363         * stdio-common/tst-sprintf.c: Likewise.
37364         * stdio-common/tst-swprintf.c: Likewise.
37365         * stdio-common/tst-tmpnam.c: Likewise.
37366         * stdio-common/tst-unbputc.c: Likewise.
37367         * stdio-common/tst-wc-printf.c: Likewise.
37368         * stdlib/tst-environ.c: Likewise.
37369         * stdlib/tst-fmtmsg.c: Likewise.
37370         * stdlib/tst-limits.c: Likewise.
37371         * stdlib/tst-rand48-2.c: Likewise.
37372         * stdlib/tst-rand48.c: Likewise.
37373         * stdlib/tst-random2.c: Likewise.
37374         * stdlib/tst-random.c: Likewise.
37375         * stdlib/tst-strtol.c: Likewise.
37376         * stdlib/tst-strtoll.c: Likewise.
37377         * stdlib/tst-tls-atexit.c: Likewise.
37378         * stdlib/tst-xpg-basename.c: Likewise.
37379         * string/test-ffs.c: Likewise.
37380         * string/tst-bswap.c: Likewise.
37381         * string/tst-inlcall.c: Likewise.
37382         * string/tst-strtok.c: Likewise.
37383         * string/tst-strxfrm.c: Likewise.
37384         * sysdeps/x86_64/tst-audit10.c: Likewise.
37385         * sysdeps/x86_64/tst-audit3.c: Likewise.
37386         * sysdeps/x86_64/tst-audit4.c: Likewise.
37387         * sysdeps/x86_64/tst-audit5.c: Likewise.
37388         * time/tst-ftime_l.c: Likewise.
37389         * time/tst-getdate.c: Likewise.
37390         * time/tst-mktime3.c: Likewise.
37391         * time/tst-mktime.c: Likewise.
37392         * time/tst-posixtz.c: Likewise.
37393         * time/tst-strptime2.c: Likewise.
37394         * time/tst-strptime3.c: Likewise.
37395         * wcsmbs/tst-btowc.c: Likewise.
37396         * wcsmbs/tst-mbrtowc.c: Likewise.
37397         * wcsmbs/tst-mbsrtowcs.c: Likewise.
37398         * wcsmbs/tst-wchar-h.c: Likewise.
37399         * wcsmbs/tst-wcpncpy.c: Likewise.
37400         * wcsmbs/tst-wcrtomb.c: Likewise.
37401         * wcsmbs/tst-wcsnlen.c: Likewise.
37402         * wcsmbs/tst-wcstof.c: Likewise.
37404 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
37406         [BZ #14132]
37407         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
37408         INTDEF.
37409         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
37410         declaration.
37411         (_dl_mcount): Use rtld_hidden_proto.
37412         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
37413         _dl_mcount.
37414         * elf/rtld.c (_rtld_global_ro): Likewise.
37416         [BZ #14132]
37417         * elf/dl-init.c (_dl_init): Don't use INTDEF.
37418         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
37419         of _dl_init_internal.
37420         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
37421         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
37422         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
37423         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
37424         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
37425         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
37426         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
37427         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
37428         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
37429         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
37430         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
37431         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
37432         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
37433         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
37434         * sysdeps/tile/dl-start.S (_start): Likewise.
37435         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
37436         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
37438         [BZ #14132]
37439         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
37440         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
37441         (rtld_progname): Make macro definition unconditional.
37442         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
37443         INTDEF.
37444         (dlmopen_doit): Do not use INTUSE with _dl_argv.
37445         (dl_main): Likewise.
37446         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
37447         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
37448         instead of _dl_argv_internal.
37449         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
37450         __GI__dl_argv instead of INTUSE(_dl_argv).
37451         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
37452         __GI__dl_argv instead of _dl_argv_internal.
37454         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
37455         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
37456         macro.
37457         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
37458         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
37459         New macro.
37460         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
37461         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
37462         macro.
37463         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
37464         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
37466 2014-11-04  Andreas Schwab  <schwab@suse.de>
37468         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
37470 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37472         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
37473         mtvsrd instruction in binary form.
37475 2014-11-03  Andreas Schwab  <schwab@suse.de>
37477         [BZ #17522]
37478         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
37479         for less than MB_LEN_MAX use a local buffer of that size.
37480         * libio/tst-fputws.c: New file.
37481         * libio/Makefile (tests): Add tst-fputws.
37483 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
37485         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
37486         the size of the fpu_fr.fpu_dregs[] array.
37488 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
37490         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
37491         (__nanosleep): Do not define as alias.
37492         (nanosleep): Define as alias of __nanosleep.
37493         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
37494         __libc_nanosleep name.
37496 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37498         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
37499         install.texi in comment.
37501 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37503         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
37504         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
37505         ... add here and use lwsync or sync ...
37506         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
37507         ... and add here using lwsync.
37509 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
37511         * elf/dl-machine-reject-phdr.h: New file.
37512         * elf/dl-load.c: #include that.
37513         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
37514         if that returned true.
37516 2014-10-31  Roland McGrath  <roland@hack.frob.com>
37518         [BZ #17496]
37519         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
37520         gen-as-const-headers chunk.  Add a big scare comment after the last
37521         safe place to touch before-compile.
37523 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
37525         * manual/install.texi (Tools for Compilation): Update autoconf
37526         version requirements.
37527         * INSTALL: Regenerated.
37529         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
37530         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
37531         (__libc_pselect): Likewise.
37533         [BZ #14138]
37534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
37535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
37536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
37537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
37539 2014-10-31  Torvald Riegel  <triegel@redhat.com>
37541         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
37542         correct barrier instruction.
37543         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
37544         Likewise.
37545         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
37546         Likewise.
37548 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37550         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
37551         after defining inlines.  Instead, just use parens to defeat macro
37552         expansion of __isctype in its declaration.
37554 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37556         * include/sys/uio.h (__libc_readv): Remove declaration.
37557         (__libc_writev): Likewise.
37558         * misc/readv.c (__libc_readv): Rename to __readv.
37559         (__readv): Do not define as alias.
37560         (readv): Define as alias of __readv.
37561         * misc/writev.c (__libc_writev): Rename to __writev.
37562         (__writev): Do not define as alias.
37563         (writev): Define as alias of __writev.
37564         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
37565         (__readv): Do not define as alias.
37566         (readv): Define unconditionally as alias of __readv.
37567         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
37568         (__writev): Do not define as alias.
37569         (writev): Define unconditionally as alias of __writev.
37570         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
37571         name.
37572         (writev): Do not define __libc_writev name.
37574 2014-10-30  Roland McGrath  <roland@hack.frob.com>
37576         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
37577         (convert_charseq): New function, broken out of ...
37578         (use_from_charmap): ... here.  Call it.
37579         (use_to_charmap): Use convert_charseq and free instead of duplicating
37580         its code with a variable-length stack struct.
37582 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
37584         * include/fcntl.h (__libc_creat): Remove declaration.
37585         * io/creat.c (__libc_creat): Rename to creat.
37586         (creat): Do not define as alias.
37587         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
37588         of creat instead of __libc_creat.
37589         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
37590         to creat.
37591         (creat): Do not define as alias.
37592         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
37593         __libc_creat.
37594         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
37595         __libc_creat name.
37596         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
37597         Likewise.
37599 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
37601         * manual/llio.texi: Add comments discussing why write() may be
37602         considered MT-unsafe on Linux.
37604 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
37606         * dl-load.c (local_strdup): Remove.
37607         (expand_dynamic_string_token): Use __strdup.
37608         (decompose_rpath): Likewise.
37609         (_dl_map_object): Likewise.
37611 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
37613         [BZ #14132]
37614         * sysdeps/generic/unwind-dw2-fde.c
37615         (__register_frame_info_bases_internal): Do not declare.
37616         (__register_frame_info_table_bases_internal): Likewise.
37617         (__deregister_frame_info_bases_internal): Likewise.
37618         (__register_frame_info_bases): Declare and use hidden_proto before
37619         definition.  Use hidden_def instead of INTDEF.
37620         (__register_frame_info_table_bases): Likewise.
37621         (__deregister_frame_info_bases): Likewise.
37622         (__register_frame_info): Do not use INTUSE.
37623         (__register_frame): Likewise.
37624         (__register_frame_info_table): Likewise.
37625         (__register_frame_table): Likewise.
37626         (__deregister_frame_info): Likewise.
37627         (__deregister_frame): Likewise.
37629 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
37631         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37632         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
37633         not undefine.
37634         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
37635         Likewise.
37636         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
37637         Likewise.
37639 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
37641         [BZ #14138]
37642         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
37643         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
37644         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
37645         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
37646         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
37647         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
37648         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
37649         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
37650         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
37651         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
37652         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
37653         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
37654         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
37655         syscall.
37656         (setfsuid): Likewise.
37657         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
37658         (setfsuid): Likewise.
37659         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
37660         (setfsuid): Likewise.
37661         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
37662         Likewise.
37663         (setfsuid): Likewise.
37664         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
37665         (setfsuid): Likewise.
37666         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
37667         Likewise.
37668         (setfsuid): Likewise.
37670 2014-10-27  Andreas Schwab  <schwab@suse.de>
37672         [BZ #17501]
37673         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
37674         check for Slow_SSE4_2 feature bit.
37675         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
37676         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
37677         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
37678         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
37680 2014-10-24  Roland McGrath  <roland@hack.frob.com>
37682         * configure.ac: Validate compiler version with a empirical test of
37683         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
37684         $CC -v output.
37685         * configure: Regenerated.
37687         * inet/htons.c (htons): Prototypify.
37688         * inet/htonl.c (htonl): Likewise.
37690 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37692         * string/strncat.c (strncat): Improve performance by using strlen.
37694 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37696         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
37698 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37700         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
37701         Call libc_fetestexcept_aarch64.
37703 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37705         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
37706         Call libc_feholdexcept_aarch64.
37708 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37710         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
37711         Call get_rounding_mode.
37713 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37715         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
37716         Simplify logic.
37718 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
37720         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
37721         Simplify logic.
37723 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
37725         [BZ #14138]
37726         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
37727         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
37728         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
37729         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
37730         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
37731         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
37732         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
37733         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
37734         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
37735         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
37736         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
37737         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
37738         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
37739         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
37740         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
37741         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
37742         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
37743         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
37744         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
37745         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
37746         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
37747         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
37748         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
37749         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
37750         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
37751         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
37752         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
37753         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
37754         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
37755         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
37756         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
37757         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
37758         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
37759         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
37760         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
37761         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
37762         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
37763         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
37764         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
37765         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
37766         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
37767         syscall.
37768         (geteuid): Likewise.
37769         (getgid): Likewise.
37770         (getuid): Likewise.
37771         (getresgid): Likewise.
37772         (getresuid): Likewise.
37773         (getgroups): Likewise.
37774         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
37775         (geteuid): Likewise.
37776         (getgid): Likewise.
37777         (getuid): Likewise.
37778         (getresgid): Likewise.
37779         (getresuid): Likewise.
37780         (getgroups): Likewise.
37781         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
37782         (geteuid): Likewise.
37783         (getgid): Likewise.
37784         (getuid): Likewise.
37785         (getresgid): Likewise.
37786         (getresuid): Likewise.
37787         (getgroups): Likewise.
37788         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
37789         Likewise.
37790         (geteuid): Likewise.
37791         (getgid): Likewise.
37792         (getuid): Likewise.
37793         (getresgid): Likewise.
37794         (getresuid): Likewise.
37795         (getgroups): Likewise.
37796         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
37797         (geteuid): Likewise.
37798         (getgid): Likewise.
37799         (getuid): Likewise.
37800         (getresgid): Likewise.
37801         (getresuid): Likewise.
37802         (getgroups): Likewise.
37803         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
37804         Likewise.
37805         (geteuid): Likewise.
37806         (getgid): Likewise.
37807         (getuid): Likewise.
37808         (getgroups): Likewise.
37810         [BZ #14138]
37811         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
37812         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
37813         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
37814         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
37815         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
37816         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
37817         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
37818         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
37819         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
37820         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
37821         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
37822         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
37823         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
37824         __chown.
37825         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
37826         (lchown): Likewise.
37827         (fchown): Likewise.
37828         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
37829         Likewise.
37830         (lchown): Likewise.
37831         (fchown): Likewise.
37832         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
37833         (lchown): Likewise.
37834         (fchown): Likewise.
37835         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
37836         Likewise.
37837         (lchown): Likewise.
37838         (fchown): Likewise.
37840 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37842         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
37843         Simplify logic.
37845 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37847         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37848         Cleanup logic.
37850 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37852         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
37853         Remove unused include.
37855 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
37857         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
37858         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
37859         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
37860         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
37862 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
37863             Helge Deller <deller@gmx.de>
37865         [BZ #17508]
37866         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
37867         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
37868         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
37870 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
37872         [BZ #14132]
37873         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
37874         Remove macro definition.
37875         (__ashrdi3_v_glibc20): Likewise.
37876         (__lshrdi3_v_glibc20): Likewise.
37877         (__cmpdi2_v_glibc20): Likewise.
37878         (__ucmpdi2_v_glibc20): Likewise.
37879         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
37880         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
37881         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
37882         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
37883         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
37884         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
37886 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37888         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
37889         old GNU extension [0] syntax.
37890         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
37891         alloca rather than an array member with variable length.
37892         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
37893         * nscd/nscd.c (invalidate_db): New function, broken out of ...
37894         (parse_opt): ... here.  Likewise use alloca there.
37895         Validate the -i argument before checking for rootness.
37896         (send_shutdown): New function, broken out of ...
37897         (parse_opt): ... here.
37899 2014-10-22  Roland McGrath  <roland@hack.frob.com>
37901         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
37902         macro to get at the _rt_local_ro field.
37903         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
37904         ([PIC] case) or _dl_hwcap ([!PIC] case).
37905         * sysdeps/arm/setjmp.S: Likewise.
37907         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
37908         * sysdeps/arm/configure.ac: New check to define it.
37909         * sysdeps/arm/configure: Regenerated.
37910         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
37911         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
37912         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
37913         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
37914         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
37915         Use move/movt pair instead of a load.
37916         (LDST_GLOBAL): Macro removed.
37917         (LDR_GLOBAL): New macro replaces it.
37918         (LDR_HIDDEN): New macro.
37919         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
37920         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
37922         * setjmp/tst-setjmp-static.c: New file.
37923         * setjmp/Makefile (tests): Add it.
37924         (tests-static): New variable.
37926 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
37928         [BZ #17485]
37929         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
37931 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
37933         [BZ #14132]
37934         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
37936 2014-10-21  Roland McGrath  <roland@hack.frob.com>
37938         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
37940 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37942         * io/fts.c (dirent_not_directory): New function.
37943         (fts_build): Call it.
37945 2014-10-20  Roland McGrath  <roland@hack.frob.com>
37947         * nptl/version.c (__nptl_main): Use normal __write rather than
37948         INTERNAL_SYSCALL.
37949         (banner): Update copyright years.
37951         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
37952         gettimeofday.
37953         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
37954         * nptl/pthread_cond_timedwait.c: Likewise.
37955         * nptl/pthread_mutex_timedlock.c: Likewise.
37956         * nptl/sem_timedwait.c: Likewise.
37958         * sysdeps/nptl/bits/libc-lock.h
37959         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
37960         (__libc_lock_init_recursive): Return void, not 0.
37961         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
37962         (__libc_rwlock_init): Likewise.
37963         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
37965 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37967         [BZ #15215]
37968         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
37969         (__pthread_once_slow): ... here.
37970         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
37971         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
37973 2014-10-20  Torvald Riegel  <triegel@redhat.com>
37975         [BZ #15215]
37976         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
37977         __PTHREAD_ONCE_FORK_GEN_INCR): New.
37978         * sysdeps/nptl/fork.c (__libc_fork): Use them.
37979         * nptl/pthread_once.c (__pthread_once): Likewise.
37980         Update comments.
37982 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
37984         [BZ #14138]
37985         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
37986         name.
37987         (writev): Use __libc_writev as strong name.
37988         * sysdeps/unix/sysv/linux/readv.c: Remove file.
37989         * sysdeps/unix/sysv/linux/writev.c: Likewise.
37991 2014-10-17  Roland McGrath  <roland@hack.frob.com>
37993         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
37995         * sysdeps/i386/nptl/tls.h
37996         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
37997         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
37998         New macros.
37999         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
38000         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
38001         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
38002         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
38003         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
38004         Call CHECK_THREAD_SYSINFO instead of doing an assert.
38006         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
38007         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
38008         on [__NR_futex].
38009         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
38010         broken out of ...
38011         (__pthread_mutex_init): ... here.  Call it.
38012         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
38013         Conditionalize PI cases on [__NR_futex].
38014         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
38015         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
38016         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
38018         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
38019         conditional on [SIGSETXID].
38020         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
38021         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
38022         is defined.  Likewise for SIGSETXID.
38023         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
38024         Conditionalize definitions on [SIGSETXID].
38025         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
38026         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
38027         unblocking on [SIGCANCEL].
38029         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
38030         [__NR_set_robust_list].
38032 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
38034         * string/strcoll_l.c (get_next_seq): Fix up formatting.
38035         (do_compare): Likewise.
38037 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
38039         [BZ #15884]
38040         * string/strcoll_l.c: Don't include stdio.h.
38041         (coll_seq): Remove members idxarr and rulearr.
38042         (get_next_seq_cached): Remove function.
38043         (get_next_seq): Likewise.
38044         (get_next_seq_nocache): Rename to get_next_seq.
38045         (do_compare): Remove function.
38046         (do_compare_nocache): Rename to do_compare.
38047         (STRCOLL): Remove weight and rules cache.
38049 2014-10-16  Roland McGrath  <roland@hack.frob.com>
38051         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
38052         * sysdeps/arm/sfp-machine.h: ... to here.
38053         * sysdeps/arm/Implies: Remove arm/soft-fp.
38055 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
38057         * conform/data/sys/utsname.h-data (*_t): Allow.
38058         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
38059         [POSIX] (WEXITED): Do not expect constant.
38060         [POSIX] (WSTOPPED): Likewise.
38061         [POSIX] (WNOHANG): Likewise.
38062         [POSIX] (WNOWAIT): Likewise.
38063         [POSIX] (siginfo_t): Do not expect type or elements.
38064         [POSIX] (pid_t): Do not expect type.
38065         [POSIX] (signal.h): Do not allow header.
38066         [POSIX] (sys/resource.h): Likewise.
38067         [POSIX] (si_*): Do not allow pattern.
38068         [POSIX] (W*): Likewise.
38069         [POSIX] (P_*): Likewise.
38070         [POSIX] (BUS_*): Likewise.
38071         [POSIX] (CLD_*): Likewise.
38072         [POSIX] (FPE_*): Likewise.
38073         [POSIX] (ILL_*): Likewise.
38074         [POSIX] (POLL_*): Likewise.
38075         [POSIX] (SEGV_*): Likewise.
38076         [POSIX] (SI_*): Likewise.
38077         [POSIX] (TRAP_*): Likewise.
38078         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
38079         variable.
38081 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
38083         [BZ #12926]
38084         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
38085         infinite loop when __recvmsg returns 0.
38087 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
38089         * CANCEL-FCT-WAIVE: Remove file.
38090         * CANCEL-FILE-WAIVE: Likewise.
38092         [BZ #14132]
38093         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
38094         instead of INTVARDEF.
38095         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38096         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
38097         rtld_hidden_data_def instead of INTVARDEF.
38098         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
38099         * elf/dl-deps.c (expand_dst): Likewise.
38100         * elf/dl-load.c (_dl_dst_count): Likewise.
38101         (_dl_dst_substitute): Likewise.
38102         (decompose_rpath): Likewise.
38103         (_dl_init_paths): Likewise.
38104         (open_path): Likewise.
38105         (_dl_map_object): Likewise.
38106         * elf/rtld.c (dl_main): Likewise.
38107         (process_dl_audit): Likewise.
38108         (process_envvars): Likewise.
38109         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
38110         Remove declaration.
38111         (__libc_enable_secure): Use rtld_hidden_proto.
38113 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38115         * elf/dl-load.c
38116         (add_path): New function broken out of _dl_rtld_di_serinfo.
38117         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
38119 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38121         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
38122         parentheses around macro arguments.
38123         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
38124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
38125         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
38126         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
38127         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
38128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38129         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38130         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
38131         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
38132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
38133         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
38134         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
38135         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
38136         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
38137         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
38138         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
38139         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
38140         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
38141         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
38142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
38143         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
38144         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
38145         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
38146         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
38147         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
38148         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
38149         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
38150         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
38151         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
38152         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
38153         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
38154         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
38155         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
38156         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
38157         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
38158         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
38159         Likewise.
38160         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
38161         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38162         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38163         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
38164         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
38165         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
38166         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
38167         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
38168         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
38169         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
38170         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
38171         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
38172         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
38173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
38174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
38175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
38176         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
38177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
38178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
38179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
38180         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
38181         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
38182         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
38183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
38184         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
38185         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
38186         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
38187         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
38188         (_FP_FRAC_SRS_1): Likewise.
38189         (_FP_FRAC_CLZ_1): Likewise.
38190         (_FP_MUL_MEAT_1_imm): Likewise.
38191         (_FP_MUL_MEAT_1_wide): Likewise.
38192         (_FP_MUL_MEAT_1_hard): Likewise.
38193         (_FP_SQRT_MEAT_1): Likewise.
38194         (_FP_FRAC_ASSEMBLE_1): Likewise.
38195         (_FP_FRAC_DISASSEMBLE_1): Likewise.
38196         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
38197         (__FP_CLZ_2): Likewise.
38198         (_FP_MUL_MEAT_2_wide): Likewise.
38199         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38200         (_FP_MUL_MEAT_2_gmp): Likewise.
38201         (_FP_MUL_MEAT_2_120_240_double): Likewise.
38202         (_FP_SQRT_MEAT_2): Likewise.
38203         (_FP_FRAC_ASSEMBLE_2): Likewise.
38204         (_FP_FRAC_DISASSEMBLE_2): Likewise.
38205         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
38206         (_FP_FRAC_CLZ_4): Likewise.
38207         (_FP_MUL_MEAT_4_wide): Likewise.
38208         (_FP_MUL_MEAT_4_gmp): Likewise.
38209         (_FP_SQRT_MEAT_4): Likewise.
38210         (_FP_FRAC_ASSEMBLE_4): Likewise.
38211         (_FP_FRAC_DISASSEMBLE_4): Likewise.
38212         * soft-fp/op-common.h (_FP_CMP): Likewise.
38213         (_FP_CMP_EQ): Likewise.
38214         (_FP_CMP_UNORD): Likewise.
38215         (_FP_TO_INT): Likewise.
38216         (_FP_FROM_INT): Likewise.
38217         [!__FP_CLZ] (__FP_CLZ): Likewise.
38218         (_FP_DIV_HELP_imm): Likewise.
38219         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
38220         Likewise.
38221         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
38222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
38223         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
38224         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
38225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
38226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38227         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
38229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
38230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
38231         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
38232         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
38233         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
38234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
38235         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
38236         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
38237         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
38238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
38239         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
38240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
38241         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
38242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
38243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
38244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
38245         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
38246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
38247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
38248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
38249         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
38250         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
38251         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
38252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
38253         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
38254         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
38255         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
38256         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
38257         (FP_UNPACK_RAW_SP): Likewise.
38258         (FP_PACK_RAW_S): Likewise.
38259         (FP_PACK_RAW_SP): Likewise.
38260         (FP_UNPACK_S): Likewise.
38261         (FP_UNPACK_SP): Likewise.
38262         (FP_UNPACK_SEMIRAW_S): Likewise.
38263         (FP_UNPACK_SEMIRAW_SP): Likewise.
38264         (FP_PACK_S): Likewise.
38265         (FP_PACK_SP): Likewise.
38266         (FP_PACK_SEMIRAW_S): Likewise.
38267         (FP_PACK_SEMIRAW_SP): Likewise.
38268         (_FP_SQRT_MEAT_S): Likewise.
38269         (FP_CMP_S): Likewise.
38270         (FP_CMP_EQ_S): Likewise.
38271         (FP_CMP_UNORD_S): Likewise.
38272         (FP_TO_INT_S): Likewise.
38273         (FP_FROM_INT_S): Likewise.
38275         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
38277         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
38278         (FP_EX_INVALID_IMZ): Likewise.
38279         (FP_EX_INVALID_IMZ_FMA): Likewise.
38280         (FP_EX_INVALID_ISI): Likewise.
38281         (FP_EX_INVALID_ZDZ): Likewise.
38282         (FP_EX_INVALID_IDI): Likewise.
38283         (FP_EX_INVALID_SQRT): Likewise.
38284         (FP_EX_INVALID_CVI): Likewise.
38285         (FP_EX_INVALID_VC): Likewise.
38286         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
38287         "invalid" exceptions.
38288         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
38289         (_FP_ADD_INTERNAL): Likewise.
38290         (_FP_MUL): Likewise.
38291         (_FP_FMA): Likewise.
38292         (_FP_DIV): Likewise.
38293         (_FP_CMP_CHECK_NAN): Likewise.
38294         (_FP_SQRT): Likewise.
38295         (_FP_TO_INT): Likewise.
38296         (FP_EXTEND): Likewise.
38298 2014-10-09  Allan McRae  <allan@archlinux.org>
38300         * po/fr.po: Update French translation from translation project.
38302 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
38304         [BZ #14132]
38305         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
38306         of INTDEF.
38307         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
38308         (__cxa_atexit): Use libc_hidden_proto.
38309         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
38311         [BZ #14132]
38312         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
38313         declaration.
38314         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
38315         [!_ISOMAC] (__iswspace_l_internal): Likewise.
38316         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
38317         [!_ISOMAC] (__iswctype_internal): Likewise.
38318         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
38319         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
38320         alias.
38321         (fcntl): Remove __fcntl_internal alias.
38322         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
38323         __connect_internal alias.
38324         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
38325         Likewise.
38327         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
38328         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
38329         FP_DENORM_ZERO.
38330         (_FP_CHECK_FLUSH_ZERO): New macro.
38331         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
38332         (_FP_CMP): Likewise.
38333         (_FP_CMP_EQ): Likewise.
38334         (_FP_TO_INT): Do not set inexact for subnormal arguments if
38335         FP_DENORM_ZERO.
38336         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
38337         (FP_TRUNC): Likewise.
38339         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
38340         treated as invalid conversion, not as normal exponent.
38342         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
38343         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
38344         (_FP_CMP_EQ): Likewise.
38345         (_FP_CMP_UNORD): Likewise.
38346         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
38347         (FP_CMP_EQ_D): Likewise.
38348         (FP_CMP_UNORD_D): Likewise.
38349         * soft-fp/extended.h (FP_CMP_E): Likewise.
38350         (FP_CMP_EQ_E): Likewise.
38351         (FP_CMP_UNORD_E): Likewise.
38352         * soft-fp/quad.h (FP_CMP_Q): Likewise.
38353         (FP_CMP_EQ_Q): Likewise.
38354         (FP_CMP_UNORD_Q): Likewise.
38355         * soft-fp/single.h (FP_CMP_S): Likewise.
38356         (FP_CMP_EQ_S): Likewise.
38357         (FP_CMP_UNORD_S): Likewise.
38358         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
38359         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
38360         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
38361         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
38362         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
38363         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
38364         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
38365         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
38366         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
38367         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
38368         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
38369         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
38370         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
38371         to FP_CMP_Q.
38372         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
38373         FP_CMP_Q.
38374         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
38375         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
38376         FP_CMP_EQ_Q.
38377         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
38378         FP_CMP_Q.
38379         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
38380         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
38381         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
38382         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
38383         FP_CMP_EQ_Q.
38384         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
38385         FP_CMP_Q.
38386         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
38387         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
38388         FP_CMP_EQ_Q.
38389         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
38390         FP_CMP_Q.
38391         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
38392         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
38393         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
38394         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
38395         FP_CMP_EQ_Q.
38397         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
38398         a subnormal result, set the underflow exception if trapping on
38399         underflow is enabled.
38400         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
38401         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
38402         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
38403         redefine to 0.
38404         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
38405         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38406         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
38407         * soft-fp/extendxftf2.c (__extendxftf2): Use
38408         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
38410         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
38411         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
38412         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38413         FP_HANDLE_EXCEPTIONS.
38414         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
38415         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38416         FP_HANDLE_EXCEPTIONS.
38417         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
38418         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38419         FP_HANDLE_EXCEPTIONS.
38420         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
38421         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
38422         FP_HANDLE_EXCEPTIONS.
38424 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
38426         [BZ #14132]
38427         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
38428         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
38429         use INTUSE.
38430         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
38431         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
38432         Remove alias.
38433         (__adjtimex): Define using libc_hidden_ver.
38434         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
38435         Remove declaration.
38436         (ntp_gettime): Call __adjtimex directly.
38437         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
38438         Remove declaration.
38439         (ntp_gettimex): Call __adjtimex directly.
38440         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
38441         __adjtimex_internal alias.
38443 2014-10-08  Roland McGrath  <roland@hack.frob.com>
38445         [BZ #17460]
38446         * nscd/nscd.c (more_help): Rewrite list of tables collection
38447         using xstrdup and asprintf.
38449         * nscd/nscd_conf.c: Remove local xstrdup declaration.
38451 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38452             Roland McGrath  <roland@hack.frob.com>
38454         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
38455         (do_lookup_unique): ... local function 'enter' here; update callers.
38457 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
38459         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
38460         compat_symbol calls on [SHARED].
38461         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
38462         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
38463         Remove.
38464         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38465         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
38466         (oldsetrlimit): Remove.
38467         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38469         (lchown): New syscall entry.
38470         (oldsetrlimit): Remove.
38471         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38472         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
38473         (oldsetrlimit): Remove.
38474         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
38476         [BZ #14138]
38477         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
38478         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
38479         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
38480         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
38481         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38482         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
38483         (fchown): Likewise.
38484         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
38485         (fchown): Likewise.
38486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
38487         Likewise.
38489 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38491         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
38492         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
38493         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
38494         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
38495         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
38496         Likewise.
38497         (__old_sem_post): Likewise.
38499 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
38501         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
38502         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
38503         HAVE_CLOCK_GETTIME_VSYSCALL macros.
38504         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
38505         Use INLINE_VSYSCALL macro.
38506         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
38507         __vdso_clock_gettime.
38508         * sysdeps/unix/sysv/linux/tile/init-first.c
38509         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
38510         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
38511         __vdso_clock_gettime.
38513         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
38514         to set up frame more cleanly.
38516         * sysdeps/tile/memcmp.c: New file.
38518         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
38520         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
38521         * sysdeps/tile/tilegx/strcasestr.c: New file.
38522         * sysdeps/tile/tilegx/strnlen.c: New file.
38523         * sysdeps/tile/tilegx/strstr.c: New file.
38525         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
38527 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
38529         * nptl/tst-setuid3.c: Write errors to stdout.
38531 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38533         * elf/dl-deps.c
38534         (preload): New functions broken out of _dl_map_object_deps.
38535         (_dl_map_object_deps):  Remove a nested function. Update call sites.
38537 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
38539         [BZ #14138]
38540         * sysdeps/unix/sysv/linux/execve.c: Remove file.
38541         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
38543 2014-10-01  Steve Ellcey  <sellcey@mips.com>
38545         * sysdeps/mips/strcmp.S: New.
38547 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
38549         [BZ #14138]
38550         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
38551         (linkat): Likewise.
38552         (mkdirat): Likewise.
38553         (readlinkat): Likewise.
38554         (renameat): Likewise.
38555         (symlinkat): Likewise.
38556         (unlinkat): Likewise.
38557         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
38558         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
38559         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
38560         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
38561         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
38562         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
38563         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
38565 2014-09-30  Will Newton  <will.newton@linaro.org>
38567         * math/math.h: Define long double math functions if
38568         _LIBC_TEST is defined.
38569         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
38571         * localedata/Makefile: Move assignment to tests-special
38572         into an ifdef testing run-built-tests.
38573         * timezone/Makefile: Likewise.
38575 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
38577         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
38578         with $(BASH) not $(SHELL).
38580 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
38581             Matthew LeGendre  <legendre1@llnl.gov>
38583         [BZ #17411]
38584         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
38585         l_reloc_result.
38587 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38589         * stdio-common/printf_fp.c
38590         (hack_digit): New function, broken out of ...
38591         (__printf_fp): ... local function here.  Update call sites.
38592         hack_digit now takes an additional parameter that is a pointer
38593         to a struct of the referenced locals.  Those locals moved inside
38594         the struct and references updated.
38596 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
38598         * aclocal.m4: Require autoconf 2.69.
38599         * configure: Regenerated.
38600         * sysdeps/aarch64/configure: Likewise.
38601         * sysdeps/alpha/configure: Likewise.
38602         * sysdeps/arm/armv7/configure: Likewise.
38603         * sysdeps/arm/configure: Likewise.
38604         * sysdeps/ia64/configure: Likewise.
38605         * sysdeps/mach/configure: Likewise.
38606         * sysdeps/mips/configure: Likewise.
38607         * sysdeps/s390/configure: Likewise.
38608         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
38609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
38611         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
38612         file.
38613         * sysdeps/ia64/configure.ac: Likewise.
38615 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
38617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
38618         specify symbol version for ld.so.  Do not include entry for
38619         libpthread.
38620         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38621         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38622         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38624         [BZ #14171]
38625         * Makeconfig [$(build-shared) = yes]
38626         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
38627         makefiles.
38628         [$(build-shared) = yes && $(soversions.mk-done) = t]
38629         ($(common-objpfx)gnu/lib-names.h): Remove rule.
38630         [$(build-shared) = yes && $(soversions.mk-done) = t]
38631         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
38632         to Makerules.
38633         [$(build-shared) = yes && $(soversions.mk-done) = t]
38634         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
38635         here.
38636         [$(build-shared) = yes && $(soversions.mk-done) = t]
38637         (common-generated): Don't append gnu/lib-names.h and
38638         gnu/lib-names.stmp here.
38639         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
38640         (lib-names-h-abi): New variable.
38641         [$(build-shared) = yes && $(soversions.mk-done) = t]
38642         (lib-names-stmp-abi): Likewise.
38643         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38644         abi-variants] (before-compile): Append
38645         $(common-objpfx)$(lib-names-h-abi).
38646         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38647         abi-variants] (common-generated): Append gnu/lib-names.h.
38648         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38649         abi-variants] (install-others-nosubdir): Depend on
38650         $(inst_includedir)/$(lib-names-h-abi).
38651         [$(build-shared) = yes && $(soversions.mk-done) = t &&
38652         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
38653         [$(build-shared) = yes && $(soversions.mk-done) = t]
38654         ($(common-objpfx)$(lib-names-h-abi)): New rule.
38655         [$(build-shared) = yes && $(soversions.mk-done) = t]
38656         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
38657         [$(build-shared) = yes && $(soversions.mk-done) = t]
38658         (common-generated): Append $(lib-names-h-abi) and
38659         $(lib-names-stmp-abi).
38660         * scripts/lib-names.awk: Do not handle multi being set.
38661         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
38662         Remove variable.
38663         (abi-lp64_be-ld-soname): Likewise.
38664         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
38665         Likewise.
38666         (abi-hard-ld-soname): Likewise.
38667         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
38668         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
38669         Remove variable.
38670         (abi-o32_hard-ld-soname): Likewise.
38671         (abi-o32_soft_2008-ld-soname): Likewise.
38672         (abi-o32_hard_2008-ld-soname): Likewise.
38673         (abi-n32_soft-ld-soname): Likewise.
38674         (abi-n32_hard-ld-soname): Likewise.
38675         (abi-n32_soft_2008-ld-soname): Likewise.
38676         (abi-n32_hard_2008-ld-soname): Likewise.
38677         (abi-n64_soft-ld-soname): Likewise.
38678         (abi-n64_hard-ld-soname): Likewise.
38679         (abi-n64_soft_2008-ld-soname): Likewise.
38680         (abi-n64_hard_2008-ld-soname): Likewise.
38681         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
38682         Likewise.
38683         (abi-64-v2-ld-soname): Likewise.
38684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
38685         ld.so entries.
38686         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
38687         variable.
38688         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
38689         entry.
38690         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
38691         variable.
38692         (abi-64-ld-soname): Likewise.
38693         (abi-x32-ld-soname): Likewise.
38694         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
38695         entry.
38696         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38698 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
38700         [BZ #14138]
38701         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
38702         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
38703         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
38704         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
38705         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
38706         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
38707         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
38708         syscall entry for GLIBC_2.2 symbol version.
38709         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
38710         Likewise.
38711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
38712         (setrlimit): Likewise.
38713         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
38714         Likewise.
38716 2014-09-23  Will Newton  <will.newton@linaro.org>
38718         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
38719         _LINUX_ARM_SYSDEP_H include guard too.
38720         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
38721         define.
38723 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38725         * sysdeps/unix/sysv/linux/eventfd.c:
38726         Make first argument unsigned.
38727         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
38728         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
38730 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
38732         [BZ #16852]
38733         * socket/recvmmsg.c (recvmmsg): Drop const argument.
38734         * socket/sys/socket.h: Likewise.
38735         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
38737 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38739         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
38741 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
38743         * time/tst-ftime.c: New test.
38744         * time/Makefile (tests): Add tst-ftime.
38746 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
38748         * soft-fp/extended.h: Fix comment formatting.
38749         * soft-fp/op-1.h: Likewise.
38750         * soft-fp/op-2.h: Likewise.
38751         * soft-fp/op-4.h: Likewise.
38752         * soft-fp/op-8.h: Likewise.
38753         * soft-fp/op-common.h: Likewise.
38754         * soft-fp/soft-fp.h: Likewise.
38756         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
38758 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
38760         [BZ #6652]
38761         * Makeconfig (soversions-default-setname): Remove variable.
38762         ($(common-objpfx)soversions.i): Don't pass default_setname to
38763         soversions.awk.
38764         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
38765         oldest_abi to abi-versions.awk.
38766         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
38767         * config.make.in (oldest-abi): Remove variable.
38768         * configure.ac (--enable-oldest-abi): Remove configure option.
38769         * configure: Regenerated.
38770         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
38771         text.
38772         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
38773         * scripts/soversions.awk: Do not handle default_setname variable.
38774         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
38775         variable.
38776         * sysdeps/mach/hurd/configure: Regenerated.
38777         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
38778         variable.
38779         * sysdeps/unix/sysv/linux/configure: Regenerated.
38781 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38783         * elf/Makefile (CFLAGS-interp.c): Remove.
38784         ($(elf-objpfx)runtime-linker.h): Generate header with linker
38785         path string.
38786         * elf/interp.c: Include generated runtime-linker.h
38788         * Makerules (lib%.so): Don't include $(+interp) in
38789         prerequisites.
38790         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
38791         * dlfcn/eval.c: Remove file.
38793         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
38794         macros.
38796         [BZ #17266]
38797         * misc/sys/cdefs.h: Define __extern_always_inline for clang
38798         4.2 and newer.
38800         [BZ #17370]
38801         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
38803 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38804             Jakub Jelinek  <jakub@redhat.com>
38806         [BZ #17266]
38807         * libio/stdio.h: Check definition of __fortify_function
38808         instead of __extern_always_inline to include bits/stdio2.h.
38809         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
38810         check if __extern_always_inline is defined.
38811         [__USE_MISC || __USE_XOPEN]: Likewise.
38812         [__USE_ISOC99] Likewise.
38813         * misc/sys/cdefs.h (__fortify_function): Define only if
38814         __extern_always_inline is defined.
38815         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
38816         __extern_always_inline and __extern_inline only for g++-4.3
38817         and newer or a compatible gcc.
38819 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
38821         [BZ #17371]
38822         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
38823         last change to handle zero prefix length.
38825 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38827         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
38828         _SC_REGEX_VERSION.
38830         * posix/getconf.c (vars): Add _POSIX_IPV6 and
38831         _POSIX_RAW_SOCKETS.
38833 2014-09-13  Allan McRae  <allan@archlinux.org>
38835         * po/ru.po: Update Russian translation from translation project.
38837 2014-09-12  Roland McGrath  <roland@hack.frob.com>
38839         * locale/programs/locale.c (show_locale_vars): Inline local function
38840         into its sole call site.  Clean up some style nits.
38841         (print_item): New function, broken out of ...
38842         (show_info): ... local function here.  Clean up style nits.
38844         * locale/programs/ld-ctype.c (set_one_default): New function, broken
38845         out of ...
38846         (set_class_defaults): ... local function set_default here.
38847         Define set_default as a macro locally to pass constant parameters.
38848         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
38849         rather than a shared local.
38851         * stdlib/rpmatch.c (try): New function, broken out of ...
38852         (rpmatch): ... local function here.  Also, prototypify definition.
38854 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
38856         * scripts/soversions.awk: Do not handle configuration names.
38857         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
38858         vendor and os variables to soversions.awk.
38859         * configure.ac: Do not modify gnu-* host_os.
38860         * configure: Regenerated
38861         * shlib-versions: Remove first column with configuration names.
38862         * nptl/shlib-versions: Likewise.
38863         * nptl_db/shlib-versions: Likewise.
38864         * sysdeps/hppa/shlib-versions: Likewise.
38865         * sysdeps/m68k/shlib-versions: Likewise.
38866         * sysdeps/mach/hurd/shlib-versions: Likewise.
38867         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
38868         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
38869         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
38870         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
38871         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
38872         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
38873         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
38874         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
38875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38876         Likewise.
38877         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38878         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38879         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38880         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38881         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38882         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
38883         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
38884         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
38886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38887         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
38888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
38889         Regenerated.
38890         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
38891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
38892         Condition symbol version definitions on [HAVE_ELFV2_ABI].
38894         * shlib-versions: Remove OS-specific entries.  Moved to files in
38895         sysdeps.
38896         * sysdeps/mach/hurd/shlib-versions: New file.
38897         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
38899         * nptl/shlib-versions: Remove architecture-specific entries.
38900         Moved to files in sysdeps.
38901         * shlib-versions: Likewise.
38902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
38903         file.
38904         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
38905         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
38906         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
38907         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
38909         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
38910         (UDP_NO_CHECK6_RX): Likewise.
38912 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38914         * sysdeps/posix/sysconf.c (__sysconf): Spell
38915         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
38917 2014-08-12  Florian Weimer  <fweimer@redhat.com>
38919         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
38920         loading.
38921         * iconv/Versions (__gconv_transliterate): Export for use from
38922         gconv modules.
38923         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
38924         (struct __gconv_trans_data, __gconv_trans_fct,
38925         __gconv_trans_context_fct, __gconv_trans_query_fct,
38926         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
38927         definitions.
38928         (struct __gconv_step_data): Remove __trans member.
38929         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
38930         longer hidden.  Remove unused trans_data argument.
38931         * iconv/gconv_int.h (struct trans_struct): Remove definition.
38932         (__gconv_translit_find): Remove declaration.
38933         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
38934         prototype.
38935         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
38936         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
38937         trans_data argument.  Add hidden definition.
38938         (__gconv_translit_find): Remove.
38939         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
38940         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
38941         * iconv/skeleton.c: Remove transliteration initialization.
38942         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
38943         __gconv_step_data initialization.
38944         * libio/iofwide.c (__libio_translit_): Remove.
38945         (_IO_fwide): Adjust struct __gconv_step_data initialization.
38946         * wcsmbs/btowc.c (__btowc): Likewise.
38947         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38948         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
38949         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
38950         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
38951         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
38952         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
38953         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
38954         * wcsmbs/wctob.c (wctob): Likewise.
38956 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38958         [BZ #16194]
38959         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
38960         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
38961         register usage.
38962         * sysdeps/x86/Makefile: Adjust.
38964 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38965             Roland McGrath  <roland@hack.frob.com>
38967         * locale/weight.h: Add include guard.
38968         (findidx): Make static rather than auto; take new parameters
38969         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
38970         * locale/weightwc.h: Likewise.
38971         * posix/fnmatch_loop.c
38972         (FCT): Change type of EXTRA from int32_t to wint_t.
38973         Don't include either header inside the function.
38974         Call FINDIDX rather than findidx, and pass new arguments.
38975         #undef FINDIDX at the end of the file.
38976         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
38977         FINDIDX before including fnmatch_loop.c for the non-wide version.
38978         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
38979         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
38980         for the wide version.
38981         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
38982         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
38983         Pass new arguments to findidx.
38984         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
38985         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
38986         Don't #include it inside the function.  Pass new arguments to findidx.
38987         * posix/regex_internal.h
38988         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
38989         (re_string_elem_size_at): Don't #include it inside the function.
38990         Pass new arguments to findidx.
38991         * string/strcoll_l.c: #include WEIGHT_H at top level.
38992         (get_next_seq): Don't #include it inside the function.
38993         Pass new arguments to findidx.
38994         (get_next_seq_nocache): Likewise.
38995         * string/strxfrm_l.c: #include WEIGHT_H at top level.
38996         (STRXFRM): Don't #include it inside the function.
38997         Pass new arguments to findidx.
38999 2014-09-11  Florian Weimer  <fweimer@redhat.com>
39001         [BZ #17344]
39002         * malloc/malloc.c (unlink): Turn asserts into a call to
39003         malloc_printerr.
39005 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
39007         [BZ #17370]
39008         * libio/wfileops (do_ftell_wide): Free OUT.
39010 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
39012         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
39014 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39016         [BZ #17363]
39017         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
39018         group if the current group is empty.
39020 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39022         * benchtests/bench-memset.c (test_main): Add more test from size
39023         from 32 to 512 bytes.
39024         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39025         Add POWER8 memset object.
39026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39027         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
39028         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
39029         implementation.
39030         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
39031         Likewise.
39032         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
39033         multiarch POWER8 memset optimization.
39034         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
39035         POWER8 memset optimization.
39037         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39038         Remove bzero multiarch objects.
39039         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
39040         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
39041         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
39042         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
39043         Remove define.
39044         [__bzero]: Redefine to specific name.
39045         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
39046         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
39047         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
39048         define.
39049         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39050         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39052 2014-09-10  Florian Weimer  <fweimer@redhat.com>
39054         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
39055         warnings into errors.
39057         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
39058         __cxa_thread_atexit_impl prototype.
39060 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39062         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
39063         Fix capitalization of error message.
39065 2014-09-09  Steve Ellcey  <sellcey@mips.com>
39067         * sysdeps/mips/preconfigure: Modify ABI tests.
39069 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
39071         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
39073 2014-09-07  Roland McGrath  <roland@hack.frob.com>
39074             Carlos O'Donell  <carlos@systemhalted.org>
39076         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
39077         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
39078         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
39079         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
39080         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
39081         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
39082         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
39083         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
39084         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
39085         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
39086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
39087         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
39088         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
39089         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
39090         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
39091         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
39092         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
39093         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
39094         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
39095         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
39096         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
39097         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
39098         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
39099         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
39100         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
39101         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
39102         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
39103         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
39104         Deconditionalize the code that was previously under [RESET_PID].
39105         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
39106         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
39107         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
39108         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
39109         include sysdep.h.
39111 2014-09-08  Allan McRae  <allan@archlinux.org>
39113         * version.h (RELEASE): Set to "development".
39114         (VERSION): Set to "2.20.90"
39116 2014-09-07  Allan McRae  <allan@archlinux.org
39118         * version.h (RELEASE): Set to "stable".
39119         (VERSION): Set to "2.20"
39120         * include/features.h (__GLIBC_MINOR__): Set to 20.
39122         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
39123         Liebler.
39125         * po/ko.po: Update Korean translation from translation project.
39127 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
39129         [BZ #17354]
39130         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
39131         macro for handling signed relocations.
39133 2014-09-03  Florian Weimer  <fweimer@redhat.com>
39135         [BZ #17325]
39136         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
39137         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
39138         assert.
39139         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
39140         * iconvdata/ibm935.c (BODY): Likewise.
39141         * iconvdata/ibm937.c (BODY): Likewise.
39142         * iconvdata/ibm939.c (BODY): Likewise.
39143         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
39144         assert.
39145         * iconvdata/Makefile (iconv-test.out): Pass module list to test
39146         script.
39147         * iconvdata/run-iconv-test.sh: New test loop for checking for
39148         decoder crashers.
39150 2014-09-02  Khem Raj  <raj.khem@gmail.com>
39152         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
39153         libm_hidden_ver.
39155 2014-09-01  Allan McRae  <allan@archlinux.org>
39157         * po/eo.po: Update Esperanto translation from translation project.
39159         * po/ca.po: Update Catalan translation from translation project.
39161 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39163         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
39164         __proc_dostop call.
39166 2014-08-27  Mark Wielaard  <mjw@redhat.com>
39168         [BZ #17319]
39169         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
39170         to call set_thread_area instead of hand written asm.
39171         (__NR_set_thread_area): Removed define.
39172         (TLS_FLAG_WRITABLE): Likewise.
39173         (__ASSUME_SET_THREAD_AREA): Remove check.
39174         (TLS_EBX_ARG): Remove define.
39175         (TLS_LOAD_EBX): Likewise.
39177 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39179         Simplify atomicity of socket creation in bind.
39181         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
39182         looking up the name after linking the file.
39184 2014-08-27  Allan McRae  <allan@archlinux.org>
39186         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39188 2014-08-26  Florian Weimer  <fweimer@redhat.com>
39190         [BZ #17187]
39191         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
39192         trans_compare, open_translit, __gconv_translit_find):
39193         Remove module loading code.
39195 2014-08-26  Allan McRae  <allan@archlinux.org>
39197         * po/vi.po: Update Vietnamese translation from translation project.
39199         * po/uk.po: Update Ukrainian translation from translation project.
39201         * po/fr.po: Update French translation from translation project.
39203         * po/ru.po: Update Russian translation from translation project.
39205         * po/pl.po: Update Polish translation from translation project.
39207         * po/cs.po: Update Czech translation from translation project.
39209         * po/de.po: Update German translation from translation project.
39211         * po/bg.po: Update Bulgarian translation from translation project.
39213         * po/sv.po: Update Sweedish translation from translation project.
39215         * po/nl.po: Update Dutch translation from translation project.
39217         * po/es.po: Update Spanish translation from translation project.
39219 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39221         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
39223         * catgets/Makefile (CPPFLAGS-gencat): Remove.
39224         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
39225         (CPPFLAGS-iconvconfig): Likewise.
39226         * timezone/Makefile (CPPFLAGS-zic): Likewise.
39228         * include/libc-symbols.h: Remove unnecessary check for
39229         NOT_IN_libc.
39230         * nptl/pthreadP.h: Likewise.
39231         * sysdeps/aarch64/setjmp.S: Likewise.
39232         * sysdeps/alpha/setjmp.S: Likewise.
39233         * sysdeps/arm/sysdep.h: Likewise.
39234         * sysdeps/i386/setjmp.S: Likewise.
39235         * sysdeps/m68k/setjmp.c: Likewise.
39236         * sysdeps/posix/getcwd.c: Likewise.
39237         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39238         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
39239         * sysdeps/s390/s390-32/setjmp.S: Likewise.
39240         * sysdeps/s390/s390-64/setjmp.S: Likewise.
39241         * sysdeps/sh/sh3/setjmp.S: Likewise.
39242         * sysdeps/sh/sh4/setjmp.S: Likewise.
39243         * sysdeps/unix/alpha/sysdep.h: Likewise.
39244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
39245         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39246         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
39247         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
39248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39249         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39250         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39251         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39252         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
39253         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39254         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39255         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
39256         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39257         * sysdeps/x86_64/setjmp.S: Likewise.
39259 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
39261         [BZ #17263]
39262         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
39263         <stdint.h>.
39264         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
39265         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
39267 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
39269         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
39271         [BZ #17262]
39272         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
39273         and __x86_64__ when disabling x87 inline functions.
39275 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
39277         [BZ #17259]
39278         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
39279         asm statement with __cpuid_count.
39281 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
39283         * configure.ac: Change __ehdr_start code to dereference the struct.
39284         Run readelf on the output to look for relocations.
39285         * configure: Regenerated.
39287 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
39289         [BZ #17261]
39290         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
39291         value to 0.
39292         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
39294 2014-08-12  Roland McGrath  <roland@hack.frob.com>
39296         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
39298 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
39300         [BZ #16892]
39301         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
39302         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
39304 2014-08-12  Sean Anderson  <seanga2@gmail.com>
39306         * malloc/malloc.c: Fix typo in comment.
39308 2014-08-09  Allan McRae  <allan@archlinux.org>
39310         * Regenerate libc.po.
39312 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
39314         * intl/tst-gettext2.sh: Check every lang file for creation.
39316 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39318         * sysdeps/aarch64/fpu/math_private.h
39319         (libc_feholdsetround_noex_aarch64_ctx): New function.
39321 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
39323         * sysdeps/arm/armv6/strcpy.S (strcpy):
39324         Fix performance issue in misaligned cases.
39326 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39328         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
39329         Move definition from termios.h.
39330         (struct termio): Likewise.
39331         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39332         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39333         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39334         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39335         Likewise.
39336         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
39337         Move definition to ioctl-types.h
39338         (struct termio): Likewise.
39339         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
39340         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
39341         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
39342         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
39343         Likewise.
39345 2014-08-05  Richard Henderson  <rth@redhat.com>
39347         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
39348         exceptions.
39349         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
39350         Add fraiseexcpt.
39351         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
39352         Use __feraiseexcept.
39353         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
39354         Protect libm symbols with IS_IN_libm.
39356         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
39358 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
39360         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
39362 2014-08-04  Will Newton  <will.newton@linaro.org>
39364         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
39365         file.
39367 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
39369         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
39370         variants for each function.
39372 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39374         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
39375         appended ...
39376         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
39377         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
39378         appended ...
39379         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
39380         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
39381         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
39382         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
39383         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
39384         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
39385         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
39386         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
39387         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
39388         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
39389         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
39390         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
39391         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
39392         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
39393         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
39394         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
39395         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
39396         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
39397         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
39398         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
39399         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
39400         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
39401         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
39402         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
39403         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
39404         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
39405         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
39406         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
39407         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
39408         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
39409         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
39410         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
39411         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
39412         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
39413         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
39414         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
39415         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
39416         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
39417         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
39418         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
39419         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
39420         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
39421         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
39422         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
39423         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
39424         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
39425         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
39426         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
39427         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
39428         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
39429         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
39430         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
39431         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
39432         Update #include.
39433         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
39434         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
39436 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39438         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
39439         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
39440         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
39441         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
39442         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
39443         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
39445 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39447         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
39448         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
39449         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
39450         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
39452 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39454         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
39455         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
39456         (__libc_vfork): Define function under this name.
39457         (__vfork): Define as an alias.
39458         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
39459         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
39461 2014-08-04  Roland McGrath  <roland@hack.frob.com>
39463         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
39464         that was previously under [RESET_PID].
39465         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
39467 2014-08-04  Andreas Schwab  <schwab@suse.de>
39469         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
39471 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
39473         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
39474         (main): Likewise.
39476 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39478         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
39480 2014-08-01  Richard Henderon  <rth@redhat.com>
39482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
39483         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
39484         typo in exact zero test.
39485         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39486         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39487         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39489 2014-08-01  Roland McGrath  <roland@hack.frob.com>
39491         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
39492         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
39493         * sysdeps/arm/sysdep.h: ... here.
39494         [!__ASSEMBLER__]: Include <stdint.h>.
39496 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
39498         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
39499         (HAVE_WCTYPE_H): Likewise.
39500         (HAVE_ISWCTYPE): Likewise.
39501         (ENABLE_NLS): Likewise.
39502         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
39503         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
39505         * posix/regex_internal.c: Check if DEBUG is defined and is
39506         set.
39508         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
39509         (HAVE_MBSRTOWCS): Likewise.
39510         * posix/fnmatch.c: Include string.h unconditionally.
39512 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
39514         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
39515         reversal.
39517 2014-07-31  Roland McGrath  <roland@hack.frob.com>
39519         * sysdeps/generic/safe-fatal.h: New file.
39520         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
39521         * nptl/forward.c: Include it.
39522         (__pthread_unwind): Use __safe_fatal as default action, rather
39523         than a bogus use of INTERNAL_SYSCALL that could never work.
39525         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
39526         * configure.ac (libc_cv_builtin_trap): New test.
39527         * configure: Regenerated.
39528         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
39529         (ABORT_INSTRUCTION): Define using __builtin_trap.
39531         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
39532         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
39533         * sysdeps/nptl/nptl-signals.h: New file.
39534         * nptl/pthreadP.h: Include <nptl-signals.h>.
39536 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39538         * sysdeps/s390/s390-64/utf16-utf32-z9.c
39539         (ONE_DIRECTION): Define.
39540         * sysdeps/s390/s390-64/utf8-utf16-z9.c
39541         (ONE_DIRECTION): Define.
39542         * sysdeps/s390/s390-64/utf8-utf32-z9.c
39543         (ONE_DIRECTION): Define.
39545 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
39547         * sysdeps/s390/Makefile: Delete file.
39548         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
39549         * sysdeps/s390/__longjmp.c: Delete file.
39550         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
39551         Remove fields __flags and __reserved.
39552         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
39553         and add versioning.
39554         * sysdeps/s390/rtld-__longjmp.c: Delete file.
39555         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
39556         * sysdeps/s390/rtld-setjmp.S: Likewise.
39557         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
39558         * sysdeps/s390/s390-32/__longjmp.c: ... here.
39559         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
39560         * sysdeps/s390/s390-32/setjmp.S: ... here.
39561         Add versioning.
39562         (__sigsetjmp): Remove setting __flags field.
39563         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
39564         * sysdeps/s390/s390-64/__longjmp.c: ... here.
39565         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
39566         * sysdeps/s390/s390-64/setjmp.S: ... here.
39567         Add versioning.
39568         (__sigsetjmp): Remove setting __flags field.
39569         * sysdeps/s390/setjmp.S: Delete file.
39570         * sysdeps/s390/sigjmp.c: Likewise.
39571         * sysdeps/s390/v1-longjmp.c: Likewise.
39572         * sysdeps/s390/v1-setjmp.h: Likewise.
39573         * sysdeps/s390/v1-sigjmp.c: Likewise.
39574         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
39575         Remove v1-longjmp_chk.
39576         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
39577         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
39578         Include debug/longjmp_chk.c and add versioning.
39579         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
39580         Include nptl/pt-longjmp.c and add versioning.
39581         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
39582         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
39583         Include __longjmp.c.
39584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
39585         Move to ...
39586         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
39587         (__getcontext): Remove setting __flags field.
39588         Add versioning.
39589         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
39590         Don't restore upper high grps.
39591         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
39592         Likewise.
39593         (__swapcontext): Remove setting uc_flags field.
39594         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
39595         Delete file.
39596         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
39597         Include __longjmp.c.
39598         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
39599         Move to ...
39600         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
39601         (__getcontext): Remove setting __flags field.
39602         Add versioning.
39603         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
39604         (__swapcontext): Remove setting uc_flags field.
39605         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
39606         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
39607         Remove fields uc_high_gprs and __reserved.
39608         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
39609         New file with reverted content.
39610         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
39611         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
39612         Regenerated.
39613         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
39614         Regenerated.
39616 2014-07-31  Andreas Schwab  <schwab@suse.de>
39618         * config.h.in (HAVE_IFUNC): Define to 0.
39619         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
39620         definedness.
39622 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
39624         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39625         memmove-avx-unaligned, memcpy-avx-unaligned and
39626         mempcpy-avx-unaligned.
39627         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39628         Add tests for AVX memcpy functions.
39629         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
39630         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
39631         memcpy_chk.
39632         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
39633         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
39634         memmove_chk.
39635         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
39636         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
39637         mempcpy_chk.
39638         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
39639         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
39640         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
39642 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39644         [BZ #17213]
39645         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
39646         powerpc64le.
39648 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
39650         [BZ #16839]
39651         * manual/llio.texi: Add section about open file description locks.
39652         * manual/examples/ofdlocks.c: Example of open file description
39653         lock usage.
39654         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
39655         F_OFD_SETLK, and F_OFD_SETLKW.
39657 2014-07-23  Allan McRae  <allan@archlinux.org>
39659         * po/es.po: Update Spanish translation from translation project.
39661 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
39663         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
39665 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
39667         [BZ #17078]
39668         * sysdeps/arm/dl-machine.h (elf_machine_rela)
39669         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
39670         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
39672 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
39674         [BZ #17088]
39675         * math/fesetenv.c (__fesetenv)
39676         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
39677         * math/feupdateenv.c (__feupdateenv)
39678         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
39680         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
39681         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39682         (__ASSUME_SOCKETCALL): Do not define.
39684         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
39685         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
39686         (__ASSUME_SOCKETCALL): Do not define.
39687         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
39688         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39689         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39690         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
39691         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39692         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
39693         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39694         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39696         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
39697         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
39698         (__ASSUME_SOCKETCALL): Do not define.
39699         (__ASSUME_IPC64): Define unconditionally.
39700         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39701         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39702         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
39703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39704         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
39705         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39706         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
39707         Likewise.
39709         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
39710         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
39711         (__ASSUME_SOCKETCALL): Do not define.
39712         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
39713         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39714         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39715         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39716         (__ASSUME_REQUEUE_PI): Define unconditionally.
39717         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
39718         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
39719         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39720         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
39721         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39722         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39724         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
39725         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
39726         (__ASSUME_SOCKETCALL): Do not define.
39727         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
39728         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39729         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39730         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
39731         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39732         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39734         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
39735         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
39736         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
39737         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
39738         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39739         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
39740         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
39741         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
39742         (__ASSUME_GETCPU_SYSCALL): Likewise.
39744         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
39745         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
39746         cases for individual architectures.
39747         * sysdeps/gnu/configure: Regenerated.
39748         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
39749         LIBC_SLIBDIR_RTLDDIR.
39750         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
39751         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
39752         LIBC_SLIBDIR_RTLDDIR.
39753         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
39754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
39755         LIBC_SLIBDIR_RTLDDIR.
39756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
39757         Regenerated.
39758         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
39759         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
39760         file.
39761         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
39762         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
39763         file.
39764         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
39765         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
39766         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
39767         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
39769         * sysdeps/aarch64/shlib-versions: Move to ...
39770         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
39771         * sysdeps/alpha/shlib-versions: Move to ...
39772         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
39773         * sysdeps/arm/shlib-versions: Move to ...
39774         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
39775         * sysdeps/hppa/shlib-versions: Move all contents except for
39776         libgcc_s entry to ...
39777         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
39778         entry from ...
39779         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
39780         * sysdeps/ia64/shlib-versions: Move to ...
39781         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
39782         entry from ...
39783         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
39784         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
39785         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
39786         * sysdeps/microblaze/shlib-versions: Move to ...
39787         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
39788         * sysdeps/mips/shlib-versions: Move to ...
39789         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
39790         entry from ...
39791         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
39792         * sysdeps/tile/shlib-versions: Move to ...
39793         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
39794         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
39795         from ...
39796         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
39797         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
39798         entry from ...
39799         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
39801 2014-07-17  Will Newton  <will.newton@linaro.org>
39803         * sysdeps/arm/bits/atomic.h
39804         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
39805         (__arch_compare_and_exchange_bool_16_int): Likewise.
39806         (__arch_compare_and_exchange_bool_64_int): Likewise.
39808         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
39809         into an #else block.
39811 2014-07-16  Roland McGrath  <roland@hack.frob.com>
39813         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
39814         just Linux configurations.  Test empirically that the compiler sets
39815         __ARM_EABI__, rather than using the tuple to decide.
39816         * sysdeps/arm/preconfigure: Regenerated.
39817         * sysdeps/unix/sysv/linux/arm/configure: File removed.
39818         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
39819         contents appended ...
39820         * sysdeps/arm/configure.ac: ... here.
39821         * sysdeps/arm/configure: Regenerated.
39823 2014-07-15  Roland McGrath  <roland@hack.frob.com>
39825         * nptl/pthread_kill.c: New file.
39826         * nptl/pthread_sigmask.c: New file.
39827         * nptl/pthread_sigqueue.c: New file.
39829         * sysdeps/nptl/lowlevellock.h: New file.
39830         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
39831         * sysdeps/nptl/lowlevellock-futex.h: New file.
39833         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
39834         Remove dead declarations.
39836 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
39838         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
39839         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
39840         config-cflags-avx2.
39841         * sysdeps/x86_64/configure.ac: Likewise.
39842         * sysdeps/i386/configure: Regenerated.
39843         * sysdeps/x86_64/configure: Likewise.
39844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39845         memset-avx2 only if config-cflags-avx2 is yes.
39846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39847         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
39848         defined.
39849         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
39850         only if HAVE_AVX2_SUPPORT is defined.
39851         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39853 2014-07-14  Alan Modra  <amodra@gmail.com>
39855         [BZ #17153]
39856         * elf/elf.h (DT_PPC64_NUM): Correct value.
39857         * NEWS: Add to fixed bug list.
39859 2014-07-13  Jim Meyering  <meyering@fb.com>
39861         [BZ 17150]
39862         regex: don't deref NULL upon heap allocation failure
39863         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
39864         failure in one more place.
39865         To trigger the segfault, configure grep -with-included-regex,
39866         build it, and run these commands:
39867         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
39869 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
39871         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39873 2014-07-11  Richard Henderson  <rth@redhat.com>
39875         * sysdeps/aarch64/libm-test-ulps: Update.
39877 2014-07-10  Florian Weimer  <fweimer@redhat.com>
39879         [BZ #17135]
39880         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
39881         * nptl/allocatestack.c (__nptl_setxid_error): New function.
39882         (__nptl_setxid): Initialize error member.  Call
39883         __nptl_setxid_error.
39884         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
39885         * nptl/descr.h (struct xid_command): Add error member.
39886         * nptl/tst-setuid3.c: New file.
39887         * nptl/Makefile (tests): Add it.
39889 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39891         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
39892         New define.
39893         (__lll_trylock): Use __lll_base_trylock.
39894         (__lll_cond_trylock): Likewise.
39896 2014-07-10  Roland McGrath  <roland@hack.frob.com>
39898         * nptl/pthread_create.c (start_thread): Use atomic_or and
39899         lll_futex_wake directly rather than lll_robust_dead.
39900         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39901         (lll_robust_dead): Macro removed.
39902         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
39903         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39904         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39905         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39906         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39907         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39908         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39909         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39910         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39911         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39912         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39913         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39914         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39915         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39916         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39918         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
39919         Use atomic_compare_and_exchange_val_acq directly rather than
39920         lll_robust_trylock.
39921         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
39922         (__lll_robust_trylock, lll_robust_trylock): Removed.
39923         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
39924         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
39925         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
39926         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
39927         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
39928         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
39929         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
39930         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
39931         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
39932         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
39933         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39934         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
39935         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
39936         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
39938 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39940         * manual/locale.texi (Locale Names): New section documenting
39941         locale name syntax.  Adjust menu and node chaining accordingly.
39942         (Choosing Locale): Reference Locale Names, Locale Categories.
39943         Mention setting LC_ALL=C.  Reflect that name syntax is now
39944         documented.
39945         (Locale Categories): New section title.  Reference Locale Names.
39946         LC_ALL is an environment variable, but not a category.
39947         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
39948         description, now in Locale Name.  Reference that section.  Locale
39949         name syntax is now documented.
39951 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39953         [BZ #17137]
39954         * locale/findlocale.c (name_present, valid_locale_name): New
39955         functions.
39956         (_nl_find_locale): Use the loc_name variable to store name
39957         candidates.  Call name_present and valid_locale_name to check and
39958         validate locale names.  Return an error if the locale is invalid.
39960 2014-07-02  Florian Weimer  <fweimer@redhat.com>
39962         * locale/setlocale.c (setlocale): Use strdup for allocating
39963         composite name copy.
39965 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
39967         Sync up with gnulib.
39968         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
39969         [!_LIBC && ENABLE_NLS]: Include gettext.h.
39970         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
39971         and _GL_ARG_NONNULL.
39972         [USE_UNLOCKED_IO]: Include unlocked-io.h.
39973         [!_LIBC]: Include code for Windows and Cygwin.
39974         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
39975         Include prototype for int strerror_r.
39976         [!_LIBC] (is_open): New function.
39977         (flush_stdout): New function.
39978         (print_errno_message): Use it.
39979         (error): Likewise.
39980         (error_at_line): Likewise.
39981         (error_tail) Add function attribute macros.  Use
39982         __builtin_expect.
39984         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
39986         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
39988         * io/ftw.c: Include sys/param.h unconditionally.
39990         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
39992         [BZ #17125]
39993         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
39994         libc_freeres_ptr.
39995         (freecache): New function to free CACHE on exit.
39997         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
39998         initialization.
40000 2014-07-09  David S. Miller  <davem@davemloft.net>
40002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40004         * sysdeps/sparc/nptl/internaltypes.h: Delete.
40005         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
40006         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
40007         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
40008         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
40009         * sysdeps/sparc/nptl/sem_init.c: Likewise.
40010         * sysdeps/sparc/nptl/sem_post.c: Likewise.
40011         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
40012         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
40013         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
40014         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
40015         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
40016         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
40018 2014-07-09  Andreas Schwab  <schwab@suse.de>
40020         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
40021         output.
40022         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
40023         (do_test): Likewise.
40025         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40027 2014-07-09  Will Newton  <will.newton@linaro.org>
40029         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
40030         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
40031         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
40032         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
40033         * sysdeps/hppa/start.S (_start): Likewise.
40035 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
40037         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
40039         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
40040         defined.
40042 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40044         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
40045         after checking that it is non-NULL.
40047         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
40049 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40051         * sysdeps/powerpc/memmove.c: Remove file.
40052         * sysdeps/powerpc/powerpc32/power4/memcopy.h
40053         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
40054         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40055         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
40056         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
40057         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
40058         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
40059         string memmove instead of removed powerpc one.
40061         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
40062         [weak_alias]: Fix compiler warning due trailing data.
40063         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
40064         [weak_alias]: Likewise.
40065         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
40066         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
40068         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
40069         (__libc_ifunc_impl_list): Add memmove functions.
40071 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
40073         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
40074         Remove code.
40075         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
40076         Likewise.
40077         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
40078         Likewise.
40079         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
40080         Likewise.
40081         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
40082         Likewise.
40083         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
40084         Likewise.
40085         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
40086         Likewise.
40087         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
40088         Likewise.
40089         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
40090         Likewise.
40091         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
40092         Likewise.
40093         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
40094         Likewise.
40095         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
40096         Likewise.
40097         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
40098         Likewise.
40099         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
40100         Likewise.
40101         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
40102         Likewise.
40103         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
40104         Likewise.
40105         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
40106         Likewise.
40108 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40110         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
40111         to avoid alignment traps in non-cacheable memory.
40112         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
40114         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
40115         multiarch objects.
40116         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
40117         file: multiarch power7 memmove.
40118         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
40119         multiarch default memmove.
40120         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
40121         multiarch memove for powerpc32/power4.
40123         * string/bcopy.c: Use full path to include memmove.c.
40124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
40125         multiarch objects.
40126         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
40127         bcopy for powerpc64.
40128         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
40129         bcopy for powerpc64.
40130         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
40131         and memmove implementations.
40132         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
40133         optimized multiarch memmove for POWER7/powerpc64.
40134         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
40135         default multiarch memmove for powerpc64.
40136         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
40137         multiarch for powerpc64.
40138         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
40139         for POWER7/powerpc64.
40140         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
40141         memmove for POWER7/powerpc64.
40143         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
40144         glibc default one.
40146         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
40147         __ELF_NATIVE_CLASS equal to 64.
40149 2014-07-07  Roland McGrath  <roland@hack.frob.com>
40151         * sysdeps/nptl/lowlevellock.h: File removed.
40153         * NEWS: NPTL is no longer an add-on!
40154         * nptl/internaltypes.h: Moved ...
40155         * sysdeps/nptl/internaltypes.h: ... here.
40156         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
40157         * sysdeps/nptl/fork.c: Likewise.
40158         * sysdeps/nptl/gai_misc.h: Likewise.
40159         * sysdeps/nptl/librt-cancellation.c: Likewise.
40160         * sysdeps/nptl/jmp-unwind.c: Likewise.
40161         * sysdeps/nptl/setxid.h: Likewise.
40162         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
40163         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
40164         * sysdeps/unix/sysv/linux/arm/Implies: New file.
40165         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
40166         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
40167         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
40168         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
40169         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
40170         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
40171         * sysdeps/unix/sysv/linux/mips/Implies: New file.
40172         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
40173         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
40174         * sysdeps/unix/sysv/linux/sh/Implies: New file.
40175         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
40176         * sysdeps/unix/sysv/linux/tile/Implies: New file.
40177         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
40178         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
40179         * nptl/Makeconfig: Moved ...
40180         * sysdeps/nptl/Makeconfig: ... here.
40181         * nptl/configure: File removed.
40182         * nptl/ANNOUNCE: File removed.
40183         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
40184         * sysdeps/unix/sysv/linux/configure: Regenerated.
40186         * nptl/Makefile (routines): Add libc_pthread_init,
40187         libc_multiple_threads, register-atfork and unregister-atfork.
40188         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
40189         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
40190         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
40191         pthread-pi-defines.sym, structsem.sym.
40192         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
40193         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
40194         [$(subdir) = nptl] (tests): Add tst-setgetname.
40195         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
40196         * sysdeps/unix/sysv/linux/sigaction.c: Just include
40197         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
40198         [!LIBC_SIGACTION]: Remove aliases.
40199         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
40200         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
40201         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
40202         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
40203         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
40204         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
40205         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
40206         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
40207         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
40208         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
40209         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
40210         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
40211         __libc_allocate_rtsig_private.
40212         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
40213         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
40214         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
40215         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
40216         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
40217         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
40218         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
40219         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
40220         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
40221         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
40222         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
40223         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
40224         * nptl/internaltypes.h: ... here.
40225         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
40226         * sysdeps/nptl/jmp-unwind.c: ... here.
40227         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
40228         * nptl/libc-lowlevellock.c: ... here.
40229         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
40230         * nptl/libc_multiple_threads.c: ... here.
40231         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
40232         * nptl/libc_pthread_init.c: ... here.
40233         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
40234         * nptl/lowlevelbarrier.sym: ... here.
40235         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
40236         * nptl/lowlevelcond.sym: ... here.
40237         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
40238         * nptl/lowlevellock.c: ... here.
40239         * nptl/lowlevellock.h: Moved ...
40240         * sysdeps/nptl/lowlevellock.h: ... here.
40241         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
40242         * nptl/lowlevelrobustlock.c: ... here.
40243         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
40244         * nptl/lowlevelrobustlock.sym: ... here.
40245         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
40246         * nptl/lowlevelrwlock.sym: ... here.
40247         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
40248         * nptl/pt-fork.c: ... here.
40249         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
40250         * nptl/pthread-pi-defines.sym: ... here.
40251         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
40252         * nptl/pthread_attr_getaffinity.c: ... here.
40253         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
40254         * nptl/pthread_attr_setaffinity.c: ... here.
40255         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
40256         * nptl/pthread_mutex_cond_lock.c: ... here.
40257         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
40258         Update #include.
40259         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
40260         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
40261         * nptl/pthread_once.c: ... here, replacing old file.
40262         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
40263         * nptl/pthread_yield.c: ... here.
40264         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
40265         * nptl/register-atfork.c: ... here.
40266         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
40267         * nptl/sem_post.c: ... here.
40268         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
40269         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
40270         * nptl/sem_timedwait.c: ... here.
40271         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
40272         * nptl/sem_trywait.c: ... here.
40273         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
40274         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
40275         * nptl/sem_wait.c: ... here.
40276         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
40277         * nptl/structsem.sym: ... here.
40278         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
40279         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
40280         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
40281         * nptl/unregister-atfork.c: ... here.
40282         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
40283         * nptl/unwindbuf.sym: ... here.
40284         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
40285         * sysdeps/nptl/fork.c: ... here.
40286         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
40287         * sysdeps/nptl/fork.h: ... here.
40288         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
40289         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
40290         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
40291         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
40292         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
40293         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
40294         * sysdeps/unix/sysv/linux/getpid.c: ... here.
40295         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
40296         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
40297         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
40298         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
40299         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
40300         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
40301         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
40302         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
40303         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
40304         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
40305         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
40306         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
40307         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
40308         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
40309         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
40310         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
40311         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
40312         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
40313         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
40314         * sysdeps/unix/sysv/linux/raise.c: ... here.
40315         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
40316         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
40317         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
40318         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
40319         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
40320         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
40321         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
40322         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
40323         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
40324         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
40325         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
40326         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
40327         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
40328         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
40329         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
40331 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40333         * sysdeps/generic/memcopy.h: Add comment for
40334         MEMCPY_OK_FOR_FWD_MEMMOVE.
40336 2014-07-04  Will Newton  <will.newton@linaro.org>
40338         * string/memchr.c: Merge from gnulib.
40339         [_LIBC]: Remove conditionals.
40340         (__ptr_t): Remove define.
40341         (LONG_MAX_32_BITS): Likewise.
40342         (LONG_MAX): Likewise.
40343         (MEMCHR): Use ANSI prototype and optimize algorithm.
40345         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
40347 2014-07-03  Roland McGrath  <roland@hack.frob.com>
40349         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
40350         (lll_futex_timed_wait_bitset): Fix syscall argument count.
40352         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
40353         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
40354         in a bare environment with no <stdlib.h> installed.
40355         * sysdeps/nptl/configure: Regenerated.
40357         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
40359         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
40360         AC_EGREP_CPP for kernel header checks, so they only succeed if
40361         including <linux/version.h> actually works right.
40362         * sysdeps/unix/sysv/linux/configure: Regenerated.
40364         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
40365         value so it's not diagnosed as unused.
40367         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
40368         thing) with "ifeq ($(subdir),rt)".
40370 2014-07-03  Richard Henderson  <rth@redhat.com>
40372         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
40373         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
40374         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
40376         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
40377         (math_force_eval): New.
40379         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
40380         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
40382         * sysdeps/alpha/fpu/s_round.c: Remove file.
40383         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
40385         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
40386         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
40387         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
40388         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
40389         (_dl_start, print_statistics): Likewise.
40390         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
40391         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
40393         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40394         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40395         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40396         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40397         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40398         (HP_SMALL_TIMING_AVAIL): Define.
40399         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40400         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40401         (HP_SMALL_TIMING_AVAIL): Define.
40402         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40403         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
40405         * sysdeps/aarch64/hp-timing.h: New file.
40407         * sysdeps/generic/hp-timing.h: Remove dead comment.
40408         * sysdeps/generic/hp-timing-common.h: New file.
40409         * sysdeps/alpha/hp-timing.h: Include it.
40410         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
40411         * sysdeps/i386/i686/hp-timing.h: Likewise.
40412         * sysdeps/ia64/hp-timing.h: Likewise.
40413         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
40414         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
40415         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
40416         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
40417         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
40418         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
40419         (hp_timing_t): New.
40421         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
40422         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
40423         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
40424         * elf/rtld.c (_dl_start_final): Likewise.
40425         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
40426         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40427         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40428         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40429         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40430         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40431         (HP_TIMING_DIFF_INIT): Remove.
40432         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40433         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
40434         (HP_TIMING_DIFF_INIT): Remove.
40435         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
40436         * sysdeps/i386/i686/hp-timing.c: Remove file.
40437         * sysdeps/x86_64/hp-timing.c: Remove file.
40438         * sysdeps/ia64/hp-timing.c: Remove file.
40439         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
40440         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
40441         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
40442         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
40444         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
40445         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
40446         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
40447         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40448         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
40449         (HP_TIMING_ACCUM): Remove.
40450         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40451         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
40452         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
40454         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
40455         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
40456         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
40457         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
40458         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
40459         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40460         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
40461         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
40463         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
40465 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
40467         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
40469 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40471         Sync up with gettext.
40472         * intl/loadmsgcat.c: Define O_BINARY if not defined.
40473         [_MSC_VER]: Include malloc.h
40474         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
40475         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
40476         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
40477         TEMP_FAILURE_RETRY.  Cast return of alloca.
40478         [!_LIBC] Call gl_rwlock_init.
40479         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
40481 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40483         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
40484         before checking its value.
40486 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40488         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
40490         * debug/memcpy_chk.c: Don't include pagecopy.h.
40491         * debug/mempcpy_chk.c: Likewise.
40492         * string/memcpy.c: Likewise.
40493         * string/memmove.c: Likewise.
40494         * sysdeps/powerpc/memmove.c: Likewise.
40495         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
40496         definition of PAGE_COPY_FWD_MAYBE here...
40497         * sysdeps/generic/pagecopy.h: ... from here.
40498         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
40500 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40501             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40503         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
40504         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
40505         optimizations.
40506         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40507         (__libc_ifunc_impl_list): Likewise.
40508         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
40509         multiarch strcat for PPC64.
40510         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
40511         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
40513 2014-07-02  Roland McGrath  <roland@hack.frob.com>
40515         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
40517 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40519         * intl/loadmsgcat.c: Remove declaration of
40520         get_sysdep_segment_value.
40521         (get_sysdep_segment_value): Use ISO C style.
40522         (_nl_load_domain): Use ISO C style.  Get rid of redundant
40523         semicolon.  Fix typo and formatting in comment.
40524         (_nl_unload_domain): Use ISO C style.
40526         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
40528 2014-07-02  Will Newton  <will.newton@linaro.org>
40530         * malloc/obstack.c: Merge from gnulib master.
40531         [HAVE_CONFIG_H]: Remove conditional code.
40532         [!_LIBC]: Include config.h.
40533         [!ELIDE_CODE]: Don't include inttypes.h, include
40534         stdint.h unconditionally.
40535         (print_and_abort): Mark as _Noreturn.
40536         (_obstack_allocated_p): Mark as __attribute_pure__.
40537         (obstack_free): Rename to __obstack_free.
40538         [!__attribute__]: Remove conditional code.
40539         * malloc/obstack.h: Merge from gnulib master.
40540         [__cplusplus]: Move conditional down.
40541         [!__attribute_pure__]: Define __attribute_pure__ here
40542         if it is not already defined.
40543         (_obstack_memory_used): Mark as __attribute_pure__.
40544         [!__obstack_free]: Define as obstack_free.
40545         [__GNUC__]: Remove check for ancient NeXT gcc.
40547 2014-07-02  Will Newton  <will.newton@linaro.org>
40548             Paul Eggert  <eggert@cs.ucla.edu>
40550         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
40552 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40554         * resolv/gethnamaddr.c: Add comment warning that the file is
40555         not maintained.
40557 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
40559         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
40560         entries.
40562         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
40563         entry for aio_cancel and aio_cancel64.
40564         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
40565         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
40566         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
40567         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
40568         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
40569         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
40570         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
40571         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
40572         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
40573         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
40574         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
40575         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
40576         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
40578 2014-07-01  Roland McGrath  <roland@hack.frob.com>
40580         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
40581         * nptl/pthread_mutex_lock.c: Likewise.
40582         * nptl/pthread_mutex_timedlock.c: Likewise.
40583         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
40585 2014-07-01  Richard henderson  <rth@redhat.com>
40587         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
40588         (__isnan, __isnanl): Remove.
40589         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
40591         * sysdeps/alpha/fpu/libm-test-ulps: Update.
40593 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
40595         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40597 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
40599         * resolv/nss_dns/dns-host.c (getanswer_r)
40600         [MULTI_PTRS_ARE_ALIASES]: Remove code.
40602 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
40604         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40605         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
40606         undefine.
40607         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
40608         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
40610 2014-07-01  Roland McGrath <roland@hack.frob.com>
40612         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
40613         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
40615         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
40616         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
40618         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
40619         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
40620         ... here.
40621         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
40622         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
40624         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
40625         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
40626         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
40627         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
40629         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
40630         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
40631         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
40632         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
40633         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
40634         Moved ...
40635         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
40636         ... here.
40637         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
40638         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
40639         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
40640         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
40641         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
40642         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
40643         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
40644         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
40645         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
40646         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
40647         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
40648         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
40649         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
40650         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
40651         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
40652         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
40653         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
40654         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
40655         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
40656         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
40657         ... here.
40658         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
40659         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
40660         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
40661         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
40662         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
40663         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
40664         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
40665         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
40667 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
40669         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
40670         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
40671         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
40672         Add sysdep.
40674 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40678 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40680         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
40681         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
40683         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40685         * sysdeps/arm/libm-test-ulps: Regenerated.
40687 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40688             Roland McGrath <roland@hack.frob.com>
40690         * test-skeleton.c (signal_handler): Kill the whole process group
40691         before killing the child individually.
40692         (main): Report any failure on `setpgid'.
40694 2014-06-30  Roland McGrath  <roland@hack.frob.com>
40696         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
40697         from _TLS_H to _ARM_NPTL_TLS_H.
40698         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
40699         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
40701 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
40703         [BZ #16539]
40704         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
40705         (__expm1l): Return argument unchanged when small but not
40706         subnormal.
40708         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
40709         include macro name.
40710         (_FP_UNPACK_RAW_1_P): Likewise.
40711         (_FP_PACK_RAW_1): Likewise.
40712         (_FP_PACK_RAW_1_P): Likewise.
40713         (_FP_MUL_MEAT_1_wide): Likewise.
40714         (_FP_MUL_MEAT_DW_1_hard): Likewise.
40715         (_FP_MUL_MEAT_1_hard): Likewise.
40716         (_FP_DIV_MEAT_1_imm): Likewise.
40717         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
40718         (_FP_DIV_MEAT_1_udiv): Likewise.
40719         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
40720         (_FP_UNPACK_RAW_2): Likewise.
40721         (_FP_UNPACK_RAW_2_P): Likewise.
40722         (_FP_PACK_RAW_2): Likewise.
40723         (_FP_PACK_RAW_2_P): Likewise.
40724         (_FP_MUL_MEAT_DW_2_wide): Likewise.
40725         (_FP_MUL_MEAT_2_wide): Likewise.
40726         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
40727         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
40728         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
40729         (_FP_MUL_MEAT_2_gmp): Likewise.
40730         (_FP_DIV_MEAT_2_udiv): Likewise.
40731         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
40732         (_FP_FRAC_SRL_4): Likewise.
40733         (_FP_FRAC_SRST_4): Likewise.
40734         (_FP_FRAC_SRS_4): Likewise.
40735         (_FP_UNPACK_RAW_4): Likewise.
40736         (_FP_UNPACK_RAW_4_P): Likewise.
40737         (_FP_PACK_RAW_4): Likewise.
40738         (_FP_PACK_RAW_4_P): Likewise.
40739         (_FP_MUL_MEAT_DW_4_wide): Likewise.
40740         (_FP_MUL_MEAT_4_wide): Likewise.
40741         (_FP_MUL_MEAT_4_gmp): Likewise.
40742         (umul_ppppmnnn): Likewise.
40743         (_FP_DIV_MEAT_4_udiv): Likewise.
40744         (__FP_FRAC_ADD_4): Likewise.
40745         (__FP_FRAC_SUB_3): Likewise.
40746         (__FP_FRAC_SUB_4): Likewise.
40747         (__FP_FRAC_DEC_3): Likewise.
40748         (__FP_FRAC_DEC_4): Likewise.
40749         (__FP_FRAC_ADDI_4): Likewise.
40750         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
40751         (_FP_FRAC_SRL_8): Likewise.
40752         (_FP_FRAC_SRS_8): Likewise.
40754         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
40755         include macro name.
40756         (FP_UNPACK_RAW_EP): Likewise.
40757         (FP_PACK_RAW_E): Likewise.
40758         (FP_PACK_RAW_EP): Likewise.
40759         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
40760         (_FP_ISSIGNAN): Likewise.
40761         (_FP_ADD_INTERNAL): Likewise.
40762         (_FP_FMA): Likewise.
40763         (_FP_CMP): Likewise.
40764         (_FP_SQRT): Likewise.
40765         (_FP_TO_INT): Likewise.
40766         (_FP_FROM_INT): Likewise.
40767         (FP_EXTEND): Likewise.
40768         (_FP_DIV_MEAT_N_loop): Likewise.
40770 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
40772         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
40773         throughout.
40775 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
40777         [BZ #17097]
40778         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
40779         result with correct sign in case of exponents that produce
40780         overflow except for X very close to 1.
40782 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
40784         mktime: merge #if/#ifdef usage from glibc
40785         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
40786         as that works with both Glibc's and Gnulib's style.
40787         See thread starting at Siddhesh Poyarekar's bug report at:
40788         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
40790 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40792         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
40793         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
40794         * sysdeps/tile/tilegx/memmove.c: Remove file.
40796 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40798         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
40799         abi-name definition.
40800         * scripts/soversions.awk: Do not handle or generate ABI lines.
40801         * shlib-versions: Remove ABI entries.
40802         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
40803         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
40805 2014-06-27  Roland McGrath  <roland@hack.frob.com>
40807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
40808         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
40809         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
40810         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
40811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
40812         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
40813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
40814         Moved ...
40815         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
40816         ... here.
40817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
40818         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
40819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
40820         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
40821         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
40822         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
40823         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
40824         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
40825         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
40826         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
40827         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
40828         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
40829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
40830         Moved ...
40831         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
40832         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
40833         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
40834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
40835         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
40836         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
40837         Moved ...
40838         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
40839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
40840         Moved ...
40841         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
40842         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
40843         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
40844         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
40845         Moved ...
40846         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
40847         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
40848         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
40849         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
40850         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
40851         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
40852         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
40853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
40854         Moved ...
40855         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
40856         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
40857         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
40858         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
40859         Moved ...
40860         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
40861         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
40862         Moved ...
40863         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
40864         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
40865         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
40866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
40867         Moved ...
40868         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
40869         ... here.
40870         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
40871         Identical file removed.
40872         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
40873         Moved ...
40874         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
40875         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
40876         Identical file removed.
40877         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
40878         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
40879         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
40880         Moved ...
40881         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
40882         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
40883         Identical file removed.
40884         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
40885         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
40886         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
40887         Identical file removed.
40888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
40889         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
40890         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
40891         Identical file removed.
40892         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
40893         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
40894         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
40895         Identical file removed.
40896         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
40897         Moved ...
40898         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
40899         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
40900         Identical file removed.
40901         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
40902         Moved ...
40903         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
40904         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
40905         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
40906         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
40907         Identical file removed.
40908         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
40909         Moved ...
40910         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
40911         ... here.
40912         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
40913         Identical file removed.
40914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
40915         Moved ...
40916         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
40917         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
40918         Identical file removed.
40919         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
40920         Moved ...
40921         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
40922         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
40923         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
40924         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
40925         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
40926         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
40927         Moved ...
40928         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
40929         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
40930         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
40932         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
40933         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
40934         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
40935         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
40936         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
40938 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
40940         [BZ #17092]
40941         * nscd/nscd.c (monitor_child): Return exit status of child
40942         instead of return value from wait syscall.
40944 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
40946         * configure.ac (libc_commonpagesize): Remove variable.
40947         (libc_relro_required): Likewise.
40948         (libc_cv_z_relro): Remove configure test.
40949         * configure: Regenerated.
40950         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
40951         variable.
40952         (libc_relro_required): Likewise.
40953         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
40954         (libc_relro_required): Likewise.
40955         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
40956         (libc_relro_required): Likewise.
40957         * sysdeps/arm/preconfigure: Regenerated.
40958         * sysdeps/ia64/preconfigure: Remove file.
40959         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
40960         variable.
40961         (libc_relro_required): Likewise.
40963         [BZ #16561]
40964         [BZ #16562]
40965         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
40966         (__ieee754_yn): Set FE_TONEAREST mode internally and then
40967         recompute overflowing results in original rounding mode.
40968         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
40969         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
40970         recompute overflowing results in original rounding mode.
40971         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
40972         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40973         recompute overflowing results in original rounding mode.
40974         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
40975         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40976         recompute overflowing results in original rounding mode.
40977         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
40978         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
40979         recompute overflowing results in original rounding mode.
40980         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
40981         (libc_feholdsetround_ctx): New macro.
40982         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
40983         * sysdeps/i386/fpu/libm-test-ulps: Update.
40984         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
40986 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
40988         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
40989         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
40990         corresponding .cpsetup call.
40992 2014-06-26  Roland McGrath  <roland@hack.frob.com>
40994         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
40995         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
40996         * sysdeps/arm/Makefile [$(subdir) = csu]
40997         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
40998         (static-only-routines): Add aeabi_read_tp here.
40999         (shared-only-routines): Add libc-aeabi_read_tp here.
41000         (CFLAGS-libc-start.c): Add -fexceptions here.
41001         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
41002         (sysdep_routines, static-only-routines, shared-only-routines):
41003         Don't add to these here.
41004         (CFLAGS-libc-start.c): Likewise.
41006         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
41007         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
41008         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
41009         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
41010         * sysdeps/arm/Makefile [$(subdir) = rt]
41011         (librt-sysdep_routines, librt-shared-only-routines):
41012         Append rt-aeabi_unwind_cpp_pr1 here.
41013         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
41014         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
41015         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
41016         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41017         Append nptl-aeabi_unwind_cpp_pr1 here.
41018         (tests): Filter out tst-cleanupx4 here.
41019         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
41020         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
41021         Don't do those here.
41023 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41025         * scripts/list-sources.sh: Do not handle ports specially.
41027 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41029         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
41030         * sysdeps/arm/feupdateenv.c: Likewise.
41032         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
41034 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41036         * manual/texinfo.tex: Update to version 2014-05-05.10 with
41037         trailing whitespace removed.
41038         * scripts/config.guess: Update to version 2014-03-23.
41039         * scripts/config.sub: Update to version 2014-05-01
41040         * scripts/install-sh: Update to version 2013-12-25.23.
41041         * scripts/move-if-change: Update from gnulib.
41043 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41045         * debug/memmove_chk.c: Remove pagecopy.h include.
41047 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
41049         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
41050         identical to gnulib mktime.
41052 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
41054         * configure.ac: Do not test for machine being rs6000.  Do not test
41055         for powerpc*-*soft.
41056         * configure: Regenerated.
41058         [BZ #11505]
41059         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
41060         test.
41061         * configure: Regenerated.
41062         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
41063         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
41064         Remove configure test.
41065         * sysdeps/arm/configure: Regenerated.
41066         * sysdeps/nptl/configure.ac: Do not check
41067         libc_cv_asm_cfi_directives.
41068         * sysdeps/nptl/configure: Regenerated.
41069         * sysdeps/x86_64/nptl/configure.ac: Remove file.
41070         * sysdeps/x86_64/nptl/configure: Remove generated file.
41071         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
41072         unconditional.
41073         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
41075 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41077         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
41078         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
41079         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
41080         it is defined.
41082         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
41083         instead of whether it is defined.
41084         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
41085         * sysdeps/hppa/dl-machine.h: Likewise.
41086         * sysdeps/ia64/dl-machine.h: Likewise.
41087         * sysdeps/m68k/dl-machine.h: Likewise.
41088         * sysdeps/microblaze/dl-machine.h: Likewise.
41089         * sysdeps/mips/dl-machine.: Likewise.
41090         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
41091         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41092         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
41093         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
41094         * sysdeps/sh/dl-machine.h: Likewise.
41095         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41096         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41097         * sysdeps/tile/dl-machine.h: Likewise.
41098         * sysdeps/x86_64/dl-machine.h: Likewise.
41100         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
41101         code.
41102         (verify_persistent_db): Likewise.
41104 2014-06-26  Roland McGrath  <roland@hack.frob.com>
41106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
41107         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
41108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
41109         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
41110         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41111         Moved ...
41112         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
41113         ... here.
41114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
41115         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
41116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
41117         Identical file removed.
41118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
41119         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
41120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
41121         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
41122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
41123         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
41124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
41125         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
41126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
41127         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
41128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41129         Moved ...
41130         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
41131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
41132         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
41133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
41134         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
41135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41136         Moved ...
41137         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
41138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
41139         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
41140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
41141         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
41142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41143         Identical file removed.
41144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
41145         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
41146         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
41147         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
41148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41149         Moved ...
41150         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
41151         ... here.
41152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
41153         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
41154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
41155         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
41156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
41157         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
41158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
41159         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
41160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
41161         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
41162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41163         Moved ...
41164         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
41165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
41166         Moved ...
41167         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
41168         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
41169         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
41170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41171         Moved ...
41172         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
41173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
41174         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
41176         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
41177         folded into ...
41178         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
41179         * sysdeps/unix/sysv/linux/s390/Versions
41180         (libpthread: GLIBC_2.19): New version set.
41181         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
41182         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
41183         (librt: GLIBC_2.3.3): New version set.
41184         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
41185         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
41186         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
41187         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
41188         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
41189         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
41190         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
41191         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
41192         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
41193         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
41194         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
41195         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
41196         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
41197         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
41198         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
41199         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
41200         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
41201         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
41202         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
41203         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
41204         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
41205         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
41206         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
41207         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
41208         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
41209         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
41210         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
41211         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
41212         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
41213         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
41214         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
41215         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
41216         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
41217         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
41218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
41219         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
41220         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
41221         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
41222         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
41223         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
41224         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
41225         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
41226         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
41227         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
41228         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
41230         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
41231         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
41232         (__libc_vfork): Define the function under this name.
41233         [!NOT_IN_libc] (__vfork): Make this an alias.
41234         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41235         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
41236         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
41237         (__libc_vfork): Define the function under this name.
41238         [!NOT_IN_libc] (__vfork): Make this an alias.
41239         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
41240         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
41241         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
41242         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
41243         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
41244         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41246         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
41247         code that was previously under [RESET_PID].
41248         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
41249         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
41250         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
41252         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
41253         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
41254         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
41255         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
41256         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
41257         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
41258         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
41259         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
41260         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
41261         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
41262         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
41263         Moved ...
41264         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
41265         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
41266         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
41267         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
41268         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
41269         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
41270         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
41271         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
41272         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
41273         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
41274         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
41275         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
41276         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
41277         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
41278         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
41279         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
41280         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
41281         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
41282         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
41283         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
41284         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
41285         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
41286         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
41287         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
41288         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
41289         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
41290         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
41291         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
41292         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
41294 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41296         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
41297         that was previously under [RESET_PID].
41298         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
41300 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41302         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
41303         not undefine and redefine.
41304         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
41305         [O_CLOEXEC]: Make code unconditional.
41306         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
41307         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
41308         <kernel-features.h>.
41309         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
41310         conditional variable definition.
41311         (shm_open) [O_CLOEXEC]: Make code unconditional.
41312         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
41313         code.
41315         * configure.ac (USE_REGPARMS): Don't define here.
41316         * configure: Regenerated.
41317         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
41318         * sysdeps/i386/configure: Regenerated.
41320         * nptl/createthread.c: Don't include kernel-features.h.
41321         * nptl/pthread_cancel.c: Likewise.
41322         * nptl/pthread_condattr_setclock.c: Likewise.
41323         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
41324         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
41325         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
41326         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
41327         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
41328         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
41329         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
41330         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
41331         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
41332         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
41333         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
41334         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
41335         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
41336         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
41337         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
41338         * nscd/gai.c: Likewise.
41339         * nss/nss_db/db-open.c: Likewise.
41340         * sysdeps/generic/ldsodefs.h: Likewise.
41341         * sysdeps/sh/nptl/tls.h: Likewise.
41342         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41343         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
41344         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
41345         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
41346         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
41347         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41348         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
41349         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
41350         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
41351         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
41352         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
41353         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
41354         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
41355         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
41356         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
41357         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
41358         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
41359         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
41360         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41361         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
41362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
41363         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
41364         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
41365         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
41366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
41367         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
41368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
41369         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
41370         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
41371         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
41372         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
41373         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
41374         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
41375         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41376         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41377         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41378         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41379         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
41380         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
41381         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
41382         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41383         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
41384         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
41385         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
41386         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
41387         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
41388         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
41389         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
41390         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
41391         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
41392         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
41393         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
41394         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
41395         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41396         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
41397         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
41398         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
41399         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
41400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
41401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
41402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
41403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
41404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
41405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
41406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
41407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
41408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
41409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
41410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
41411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
41412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
41413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
41414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
41415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
41420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
41421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
41422         * sysdeps/unix/sysv/linux/pread.c: Likewise.
41423         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
41424         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
41425         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
41426         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
41427         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
41428         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
41429         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
41430         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
41431         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
41432         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
41433         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
41434         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
41435         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
41436         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
41437         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
41438         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
41439         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
41440         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
41441         * sysdeps/unix/sysv/linux/system.c: Likewise.
41442         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
41443         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
41444         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
41445         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
41446         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
41447         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41448         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41450         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
41451         * configure: Regenerated.
41452         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
41454         * configure.ac (base_machine): Do not set specially for particular
41455         machines here.
41456         * configure: Regenerated.
41457         * sysdeps/powerpc/preconfigure: Move machine and base_machine
41458         settings from configure.ac.
41459         * sysdeps/i386/preconfigure: New file.
41460         * sysdeps/s390/preconfigure: Likewise.
41461         * sysdeps/sh/preconfigure: Likewise.
41462         * sysdeps/sparc/preconfigure: Likewise.
41464 2014-06-25  Roland McGrath  <roland@hack.frob.com>
41466         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
41467         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
41468         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
41469         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
41470         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
41471         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
41472         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
41473         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
41474         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
41475         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
41476         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
41477         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
41478         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
41479         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
41480         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
41481         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
41482         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
41483         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
41484         * sysdeps/sparc/sparc64/Makefile: ... appended here.
41486         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
41487         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
41488         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
41489         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
41490         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
41491         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
41492         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
41493         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
41494         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
41495         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
41496         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
41497         * sysdeps/sparc/sparc32/sem_post.c: ... here.
41498         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
41499         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
41500         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
41501         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
41502         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
41503         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
41504         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
41505         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
41506         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
41507         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
41508         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
41509         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
41510         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
41511         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
41512         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
41513         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
41514         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
41515         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
41516         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
41517         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
41518         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
41519         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
41520         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
41521         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
41522         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
41523         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
41525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
41526         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
41527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
41528         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
41529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41530         Moved ...
41531         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
41532         ... here.
41533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
41534         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
41535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
41536         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
41537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
41538         Moved ...
41539         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
41540         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
41541         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
41542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
41543         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
41544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
41545         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
41546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41547         Moved ...
41548         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
41549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41550         Moved ...
41551         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
41552         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
41553         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
41554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41555         Moved ...
41556         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
41557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
41558         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
41559         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
41560         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
41561         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
41562         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
41563         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
41564         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
41565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41566         Moved ...
41567         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
41568         ... here.
41569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
41570         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
41571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
41572         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
41573         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
41574         Moved ...
41575         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
41576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
41577         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
41578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
41579         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
41580         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
41581         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
41582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41583         Moved ...
41584         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
41585         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41586         Moved ...
41587         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
41588         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
41589         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
41590         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41591         Moved ...
41592         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
41593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
41594         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
41595         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
41596         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
41598 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41600         * timezone/checktab.awk: Update from tzcode 2014e.
41601         * timezone/private.h: Likewise.
41602         * timezone/tzfile.h: Likewise.
41603         * timezone/zdump.c: Likewise.
41604         * timezone/zic.c: Likewise.
41606         * sysdeps/unix/sysv/linux/kernel-features.h
41607         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
41608         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
41609         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
41610         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
41611         Remove conditional code.
41613 2014-06-25  Will Newton  <will.newton@linaro.org>
41615         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
41616         (_dl_arm_cap_flags): Add HWCAP2 values.
41617         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
41618         (_DL_HWCAP_COUNT): Increase to 37.
41619         (_DL_HWCAP_LAST): New define.
41620         (_DL_HWCAP2_LAST): New define.
41621         (_dl_procinfo): Add support for printing
41622         AT_HWCAP2 entries.
41623         (_dl_string_hwcap): Use _dl_hwcap_string.
41625 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41629 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
41631         * README: Do not mention ports directory.
41633         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
41634         Remove macro.
41635         * sysdeps/unix/sysv/linux/futimes.c: Do not include
41636         <kernel-features.h>.
41637         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
41638         conditional variable definition.
41639         (__futimes): Update comment.
41640         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
41641         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
41643         [BZ #16560]
41644         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
41645         arguments close to 0.
41646         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
41647         Likewise.
41648         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
41649         Likewise.
41650         * math/auto-libm-test-in: Add more tests of exp10.
41651         * math/auto-libm-test-out: Regenerated.
41652         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41654         * sysdeps/unix/sysv/linux/kernel-features.h
41655         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
41656         * sysdeps/unix/sysv/linux/readv.c: Do not include
41657         <kernel-features.h>.
41658         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41659         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41660         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41661         unconditional.
41662         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41663         conditional code.
41664         * sysdeps/unix/sysv/linux/writev.c: Do not include
41665         <kernel-features.h>.
41666         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
41667         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
41668         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
41669         unconditional.
41670         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
41671         conditional code.
41673 2014-06-25  Will Newton  <will.newton@linaro.org>
41675         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
41676         comment changes throughout the file.  Remove checks
41677         for HAVE_*_H definitions that are not required.
41678         (__gen_tempname): Call abort if an unknown kind value is
41679         passed.
41681 2014-06-25  Andreas Schwab  <schwab@suse.de>
41683         [BZ #17086]
41684         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
41685         scalbln, scalblnf, scalblnl in libc.
41687 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41689         [BZ #17086]
41690         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
41691         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
41692         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
41694 2014-06-24  Roland McGrath  <roland@hack.frob.com>
41696         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
41697         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
41698         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
41699         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
41700         Update #include.
41701         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
41702         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
41703         Update #include.
41704         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
41705         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
41706         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
41707         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
41708         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
41709         * sysdeps/x86/bits/pthreadtypes.h: ... here.
41710         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
41711         * sysdeps/x86/bits/semaphore.h: ... here.
41712         * sysdeps/x86/nptl/elide.h: Moved ...
41713         * sysdeps/x86/elide.h: ... here.
41714         * sysdeps/x86_64/nptl/Implies: File removed.
41715         * sysdeps/i386/nptl/Implies: File removed.
41717 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
41719         [BZ #16539]
41720         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
41721         return the argument for normal arguments with exponent below -64.
41722         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41723         Likewise.
41724         * math/auto-libm-test-in: Add another test of expm1.
41725         * math/auto-libm-test-out: Regenerated.
41727         [BZ #16287]
41728         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
41729         calling __erfcl for arguments at least 16.
41730         * math/auto-libm-test-in: Add more tests of erf.
41731         * math/auto-libm-test-out: Regenerated.
41733         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
41734         individual architectures.
41735         * sysdeps/unix/sysv/linux/configure: Regenerated.
41736         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
41737         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
41738         * sysdeps/unix/sysv/linux/powerpc/configure.ac
41739         (ldd_rewrite_script): Define variable.
41740         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
41741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
41742         file.
41743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
41744         generated file.
41745         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
41746         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
41747         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
41748         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
41749         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
41750         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
41751         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
41752         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
41754 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41756         [BZ #17084]
41757         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
41758         Rename member __data.d to __data.__elision_data.
41760 2014-06-24  Wilco  <wdijkstr@arm.com>
41762         * NEWS: Add 16918 to fixed bug list.
41764 2014-06-24  Wilco  <wdijkstr@arm.com>
41766         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
41768 2014-06-24  Wilco  <wdijkstr@arm.com>
41770         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
41771         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
41772         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
41773         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
41774         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
41775         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
41776         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
41777         Use _FPU_MASK_RM.
41779 2014-06-24  Wilco  <wdijkstr@arm.com>
41781         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
41783 2014-06-24  Wilco  <wdijkstr@arm.com>
41785         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
41786         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
41787         * sysdeps/arm/fesetround.c (fesetround): Remove space.
41788         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
41790 2014-06-24  Wilco  <wdijkstr@arm.com>
41792         [BZ #16918]
41793         * sysdeps/arm/feupdateenv.c (feupdateenv):
41794         Rewrite to reduce FPSCR accesses and fix return value.
41796 2014-06-24  Wilco  <wdijkstr@arm.com>
41798         * sysdeps/arm/fclrexcpt.c (feclearexcept):
41799         Optimize to avoid unnecessary FPSCR writes.
41800         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
41801         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
41802         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
41803         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
41805 2014-06-24  Wilco  <wdijkstr@arm.com>
41807         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
41808         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
41809         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
41810         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
41811         Call libc_fetestexcept_vfp.
41812         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
41813         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
41814         __SOFTFP__ ifdef so that they can be built for softfp.
41816 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41818         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
41819         argument type signed char.
41821         * Makerules (check-abi): Dump diff of symlist if the test
41822         fails.
41824 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41826         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
41827         using abort.
41829         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41830         Remove unused variable ST.
41832 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
41834         [BZ #16354]
41835         [BZ #17061]
41836         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
41837         small arguments before calling __expm1.
41838         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
41839         small arguments before calling __expm1f.
41840         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
41841         small arguments before calling __expm1l.
41842         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41843         Likewise.
41844         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
41845         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
41846         spurious underflow for some cosh tests.
41847         * math/auto-libm-test-out: Regenerated.
41848         * sysdeps/i386/fpu/libm-test-ulps: Update.
41850         [BZ #17050]
41851         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
41852         (__ieee754_y1): Set errno if return value overflows.
41853         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
41854         (__ieee754_y1f): Set errno if return value overflows.
41855         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
41856         (__ieee754_y1l): Set errno if return value overflows.
41857         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
41858         (__ieee754_y1l): Set errno if return value overflows.
41859         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
41860         * math/auto-libm-test-out: Regenerated.
41862         * math/gen-auto-libm-tests.c: Document use of
41863         ignore-zero-inf-sign.
41864         (input_flag_type): Add value flag_ignore_zero_inf_sign.
41865         (input_flags): Add ignore-zero-inf-sign.
41866         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
41867         * math/gen-libm-test.pl (generate_testfile): Handle
41868         ignore-zero-inf-sign.
41869         * math/auto-libm-test-in: Mark some cpow tests with
41870         ignore-zero-inf-sign and some with xfail-rounding.
41871         * math/auto-libm-test-out: Regenerated.
41872         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
41873         * sysdeps/i386/fpu/libm-test-ulps: Update.
41874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41876         [BZ #16315]
41877         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
41878         overflowing or underflowing operations take place with sign of
41879         result.
41880         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
41881         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
41882         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
41883         (__ieee754_pow): Recompute overflowing and underflowing results in
41884         original rounding mode.
41885         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
41886         (__powl_helper): Allow negative argument X and scale negated value
41887         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
41888         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
41889         overflowing or underflowing operations take place with sign of
41890         result.
41891         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
41892         Include <math.h>.
41893         * math/auto-libm-test-in: Add more tests of pow.
41894         * math/auto-libm-test-out: Regenerated.
41895         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
41896         (pow_tonearest_test_data): Remove.
41897         (pow_test_tonearest): Likewise.
41898         (pow_towardzero_test_data): Likewise.
41899         (pow_test_towardzero): Likewise.
41900         (pow_downward_test_data): Likewise.
41901         (pow_test_downward): Likewise.
41902         (pow_upward_test_data): Likewise.
41903         (pow_test_upward): Likewise.
41904         (main): Don't call removed functions.
41905         * sysdeps/i386/fpu/libm-test-ulps: Update.
41906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41908 2014-06-23  Roland McGrath  <roland@hack.frob.com>
41910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
41911         Moved ...
41912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
41913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41914         Moved ...
41915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
41916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
41917         Moved ...
41918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
41919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41920         Moved ...
41921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
41922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41923         File removed.
41924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
41925         File removed.
41926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
41927         File removed.
41928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
41929         File removed.
41930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
41931         File removed.
41932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
41933         File removed.
41934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
41935         File removed.
41936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41937         File removed.
41938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
41939         File removed.
41940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
41941         File removed.
41942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
41943         File removed.
41944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
41945         File removed.
41946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
41947         Moved ...
41948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
41949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
41950         Moved ...
41951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
41952         ... here.
41953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
41954         Moved ...
41955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
41956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
41957         Moved ...
41958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
41959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
41960         Moved ...
41961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
41962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
41963         Moved ...
41964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
41965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
41966         Moved ...
41967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
41968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
41969         Moved ...
41970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
41971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
41972         Moved ...
41973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
41974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
41975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
41976         ... here.
41977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
41978         Moved ...
41979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
41980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
41981         Moved ...
41982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
41983         ... here.
41984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
41985         Moved ...
41986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
41987         ... here.
41988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41989         Moved ...
41990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41991         ... here.
41992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41993         Moved ...
41994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
41995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
41996         Moved ...
41997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
41998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
41999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
42000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
42001         Moved ...
42002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
42003         ... here.
42004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42005         Moved ...
42006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
42007         ... here.
42008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
42009         Moved ...
42010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
42011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42012         Moved ...
42013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
42014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
42015         Moved ...
42016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
42017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42018         Moved ...
42019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
42020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
42021         Moved ...
42022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
42023         ... here.
42024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42025         Moved ...
42026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
42027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
42028         Moved ...
42029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
42030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42031         Moved ...
42032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
42033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
42034         Moved ...
42035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
42036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
42037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
42038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
42039         Moved ...
42040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
42041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42042         Moved ...
42043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
42044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
42045         Moved ...
42046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
42047         ... here.
42048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42049         Moved ...
42050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
42051         ... here.
42052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
42053         Moved ...
42054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
42055         ... here.
42056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42057         Moved ...
42058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
42059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
42060         Moved ...
42061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
42062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42063         Moved ...
42064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
42065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
42066         Moved ...
42067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
42068         ... here.
42069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42070         Moved ...
42071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
42072         ... here.
42073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
42074         Moved ...
42075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
42076         ... here.
42077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42078         Moved ...
42079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
42080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42081         Moved ...
42082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
42084 2014-06-23  Will Newton  <will.newton@linaro.org>
42085             Wilco  <wdijkstr@arm.com>
42087         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
42088         implementation.  Include get-rounding-mode.h.
42089         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
42090         [!libc_feholdsetround_noex_ctx]: Define
42091         libc_feholdsetround_noex_ctx.
42092         [!libc_feholdsetround_noexf_ctx]: Define
42093         libc_feholdsetround_noexf_ctx.
42094         [!libc_feholdsetround_noexl_ctx]: Define
42095         libc_feholdsetround_noexl_ctx.
42096         (libc_feholdsetround_ctx): New function.
42097         (libc_feresetround_ctx): New function.
42098         (libc_feholdsetround_noex_ctx): New function.
42099         (libc_feresetround_noex_ctx): New function.
42101 2014-06-23  Roland McGrath  <roland@hack.frob.com>
42103         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
42104         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
42105         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
42106         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
42107         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
42108         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
42110         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
42111         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
42112         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
42113         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
42114         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
42115         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
42116         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
42117         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
42118         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
42119         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
42120         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
42121         Moved ...
42122         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
42123         ... here.
42124         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
42125         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
42126         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
42127         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
42128         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
42129         Moved ...
42130         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
42131         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
42132         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
42133         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
42134         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
42135         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
42136         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
42137         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
42138         Moved ...
42139         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
42140         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
42141         Moved ...
42142         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
42143         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
42144         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
42145         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
42146         Moved ...
42147         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
42148         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
42149         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
42150         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
42151         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
42152         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
42153         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
42154         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
42155         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
42156         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
42157         Moved ...
42158         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
42159         ... here.
42160         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
42161         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
42162         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
42163         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
42164         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
42165         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
42166         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
42167         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
42168         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
42169         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
42170         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
42171         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
42172         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
42173         Moved ...
42174         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
42175         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
42176         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
42177         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
42178         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
42179         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
42180         Moved ...
42181         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
42182         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
42183         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
42184         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
42185         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
42187         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
42188         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
42189         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
42190         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
42191         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
42192         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
42193         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
42194         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
42195         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
42196         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
42197         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
42198         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
42199         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
42200         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
42201         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
42202         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
42203         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
42204         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
42205         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
42206         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
42207         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
42208         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
42209         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
42210         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
42211         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
42212         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
42213         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
42214         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
42216 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
42218         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
42219         (FALLOC_FL_COLLAPSE_RANGE): New macro.
42220         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
42221         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
42222         (IPV6_PMTUDISC_INTERFACE): Likewise.
42223         (IPV6_PMTUDISC_OMIT): Likewise.
42225 2014-06-23  Andreas Schwab  <schwab@suse.de>
42227         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
42228         Remove unused errout label.
42230 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42232         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
42233         macro: hardware supports Vector Crypto instructions.
42235 2014-06-23  Will Newton  <will.newton@linaro.org>
42237         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
42238         rather than __builtin_expect.
42240         * elf/dl-lookup.c (undefined_msg): Remove variable.
42241         (_dl_lookup_symbol_x): Replace undefined_msg with string
42242         literal.
42244         * elf/dl-lookup.c (do_lookup_unique): New function.
42245         (do_lookup_x): Move STB_GNU_UNIQUE handling code
42246         to a separate function.
42248 2014-06-23  Andreas Schwab  <schwab@suse.de>
42250         [BZ #17079]
42251         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
42252         before reading the next line.
42254 2014-06-23  Will Newton  <will.newton@linaro.org>
42256         * test-skeleton.c (signal_handler): Use printf and %m
42257         rather than perror.  Use printf rather than fprintf to
42258         stderr.  Use puts rather than fputs to stderr.
42259         (main): Likewise.
42261 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
42263         * nscd/nscd.c (thread_info_t): Remove typedef.
42264         (thread_info): Remove variable.
42266 2014-06-21  Allan McRae  <allan@archlinux.org>
42268         * NEWS: Mention CVE-2014-4043.
42270 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42272         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
42273         * nptl/smp.h: ... here.
42275         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
42277         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
42278         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
42279         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
42280         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
42282         * nptl/allocatestack.c: Include <stack-aliasing.h>.
42283         * nptl/stack-aliasing.h: New file.
42284         * sysdeps/i386/i686/stack-aliasing.h: New file.
42285         * sysdeps/i386/i686/nptl/Makefile: File removed.
42286         * sysdeps/x86_64/stack-aliasing.h: New file.
42287         * sysdeps/x86_64/nptl/Makefile
42288         (CFLAGS-pthread_create.c): Variable removed.
42290         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
42291         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
42292         old file.
42293         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
42294         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
42295         old file.
42297 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
42299         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42300         (__ASSUME_SIGFRAME_V2): Remove macro.
42301         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42302         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
42303         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
42304         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
42305         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
42306         Declare as function.  Remove conditional macro definitions.
42307         (__default_rt_sa_restorer): Likewise.
42308         (__default_sa_restorer_v1): Remove declaration.
42309         (__default_sa_restorer_v2): Likewise.
42310         (__default_rt_sa_restorer_v1): Likewise.
42311         (__default_rt_sa_restorer_v2): Likewise.
42312         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
42313         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
42314         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
42316 2014-06-20  Roland McGrath  <roland@hack.frob.com>
42318         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
42319         (libpthread-routines): Add sysdep.
42320         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
42321         * sysdeps/unix/sysv/linux/sparc/Versions
42322         (libpthread: GLIBC_2.3.3): New version set.
42323         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
42324         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
42325         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
42326         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
42327         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
42328         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
42329         Moved ...
42330         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
42331         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
42332         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
42333         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
42334         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
42335         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
42336         * sysdeps/sparc/nptl/sem_init.c: ... here.
42337         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
42338         * sysdeps/sparc/nptl/sem_post.c: ... here.
42339         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
42340         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
42341         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
42342         * sysdeps/sparc/nptl/sem_wait.c: ... here.
42343         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
42344         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
42345         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
42346         (libpthread-routines): Add cpu_relax.
42347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
42348         File removed.
42349         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
42350         (librt: GLIBC_2.3.3): New version set.
42351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
42352         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
42353         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
42354         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
42355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
42356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
42357         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
42358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
42359         Moved ...
42360         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
42361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
42362         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
42363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
42364         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
42365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
42366         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
42367         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
42368         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
42369         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
42370         Moved ...
42371         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
42372         Update #include.
42373         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
42374         Moved ...
42375         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
42376         Update #include.
42377         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
42378         Moved ...
42379         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
42380         Update #include.
42381         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
42382         Moved ...
42383         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
42384         Update #include.
42385         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
42386         Moved ...
42387         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
42388         Update #include.
42389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
42390         Moved ...
42391         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
42392         Update #include.
42393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
42394         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
42395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
42396         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
42397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
42398         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
42399         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
42400         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
42401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
42402         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
42403         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42404         Moved ...
42405         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
42406         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
42407         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
42408         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
42409         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
42411 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42413         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
42414         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
42415         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42416         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
42417         * nscd/nscd.c: Likewise.
42418         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
42419         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
42420         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
42421         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
42423         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
42424         <kernel-features.h>.
42425         (init_mq_netlink): Remove conditional have_sock_cloexec
42426         definitions.  Remove code conditional on have_sock_cloexec < 0.
42427         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
42428         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
42429         * sysdeps/unix/sysv/linux/opensock.c: Do not include
42430         <kernel-features.h>.
42431         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
42432         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
42434 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
42437         Add tests for memset_chk and memset.
42439         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
42440         with AVX2_Usable.
42442 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42444         [BZ #16046]
42445         * elf/tst-dl-iter-static.c: New file.
42446         * elf/Makefile (tests-static): Add tst-dl-iter-static.
42448         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
42449         error.
42451 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42453         * sysdeps/unix/sysv/linux/kernel-features.h
42454         (__ASSUME_F_GETOWN_EX): Remove macro.
42455         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
42456         <kernel-features.h>.
42457         (miss_F_GETOWN_EX): Remove variable or macro.
42458         (do_fcntl): Do not check miss_F_GETOWN_EX.
42459         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
42461         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
42462         Remove macro.
42463         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
42464         [!__ASSUME_AT_RANDOM]: Remove conditional code.
42465         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
42467         * sysdeps/unix/sysv/linux/kernel-features.h
42468         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
42469         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
42470         [ADJ_OFFSET_SS_READ]: Make code unconditional.
42471         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
42473 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
42475         [BZ #17075]
42476         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
42477         Fix calculation of the symbol's value.
42478         * sysdeps/arm/tst-armtlsdescloc.c: New file.
42479         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
42480         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
42481         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
42482         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
42483         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
42484         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
42485         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
42486         (modules-names): Add `tst-armtlsdescmod',
42487         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
42488         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
42489         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42490         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
42491         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
42492         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
42493         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
42494         ($(objpfx)tst-armtlsdescloc): New dependency.
42495         ($(objpfx)tst-armtlsdescextnow): Likewise.
42496         ($(objpfx)tst-armtlsdescextlazy): Likewise.
42497         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
42498         TLS scheme support.
42499         * sysdeps/arm/configure: Regenerate.
42501 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
42503         * include/fcntl.h (__atfct_seterrno): Remove prototype.
42504         (__atfct_seterrno_2): Likewise.
42505         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
42506         <kernel-features.h>.
42507         (__ASSUME_ATFCTS): Do not undefine and redefine.
42508         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
42509         (__have_atfcts): Remove conditional definition.
42510         (__fxstatat([__NR_fstatat64]: Make code unconditional.
42511         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
42512         unreachable if [__ASSUME_ATFCTS].
42513         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
42514         not undefine and redefine.
42515         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
42516         <kernel-features.h>.
42517         (faccessat) [__NR_faccessat]: Make code unconditional.
42518         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
42519         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
42520         <kernel-features.h>.
42521         (fchmodat) [__NR_fchmodat]: Make code unconditional.
42522         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42523         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
42524         <kernel-features.h>.
42525         (fchownat) [__NR_fchownat]: Make code unconditional.
42526         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
42527         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
42528         <kernel-features.h>.
42529         (futimesat) [__NR_futimesat]: Make code unconditional.
42530         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
42531         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42532         <kernel-features.h>.
42533         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42534         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42535         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42536         <kernel-features.h>.
42537         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
42538         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42539         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
42540         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42541         <kernel-features.h>.
42542         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
42543         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42544         * sysdeps/unix/sysv/linux/linkat.c: Do not include
42545         <kernel-features.h>.
42546         (linkat) [__NR_linkat]: Make code unconditional.
42547         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42548         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
42549         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
42550         <kernel-features.h>.
42551         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
42552         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
42553         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
42554         <kernel-features.h>.
42555         (mkdirat) [__NR_mkdirat]: Make code unconditional.
42556         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
42557         * sysdeps/unix/sysv/linux/openat.c: Do not include
42558         <kernel-features.h>.
42559         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
42560         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
42561         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
42562         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
42563         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
42564         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
42565         <kernel-features.h>.
42566         (readlinkat) [__NR_readlinkat]: Make code unconditional.
42567         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
42568         result of INLINE_SYSCALL directly, not via int variable.
42569         * sysdeps/unix/sysv/linux/renameat.c: Do not include
42570         <kernel-features.h>.
42571         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
42572         (renameat) [__NR_renameat]: Make code unconditional.
42573         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
42574         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
42575         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
42576         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
42577         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
42578         (__ASSUME_ATFCTS): Do not undefine and redefine.
42579         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
42580         <kernel-features.h>.
42581         (symlinkat) [__NR_symlinkat]: Make code unconditional.
42582         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42583         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
42584         <kernel-features.h>.
42585         (unlinkat) [__NR_unlinkat]: Make code unconditional.
42586         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
42587         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
42588         (__ASSUME_ATFCTS): Do not undefine and redefine.
42589         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42590         <kernel-features.h>.
42591         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
42592         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
42593         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42594         <kernel-features.h>.
42595         (__xmknodat) [__NR_mknodat]: Make code unconditional.
42596         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
42598 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
42600         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
42602 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
42604         [BZ #17069]
42605         * posix/regcomp.c (parse_reg_exp): Deallocate partially
42606         constructed tree before returning error.
42607         * posix/bug-regexp36.c: Expand test case.
42609 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
42611         [BZ #6803]
42612         * math/libm-test.inc (scalbln_test_date):
42613         Add errno expectations.
42614         * math/w_scalblnf.c: New File.
42615         Add wrapper which checks for setting errno to ERANGE.
42616         Add weak_alias for corresponding scalbln function.
42617         * math/w_scalbln.c: Likewise.
42618         * math/w_scalblnl.c: Likewise.
42619         * math/Makefile (libm-calls): Add w_scalbln.
42620         * sysdeps/ieee754/flt-32/s_scalblnf.c:
42621         Remove weak_alias for corresponding scalbln function.
42622         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
42623         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
42624         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42625         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42626         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
42627         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
42628         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
42629         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
42630         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
42631         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
42632         Remove long_double_symbol for scalblnl function in libm, libc.
42633         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
42634         Add wrapper which checks for setting errno to ERANGE.
42635         Add long_double_symbol for scalblnl function in libm, libc.
42636         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
42637         Remove long_double_symbol for scalblnl in libm.
42638         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
42639         Add wrapper which checks for setting errno to ERANGE.
42640         Add long_double_symbol for scalblnl function in libm.
42641         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
42642         Do not use wrapper because of own implementation.
42644 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
42646         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
42647         3 bytes for __pad1 for x32.
42648         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
42650 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
42651             H.J. Lu  <hongjiu.lu@intel.com>
42653         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
42654         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
42655         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42656         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42657         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
42659 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
42661         [BZ #17069]
42662         * posix/regcomp.c (parse_expression): Deallocate partially
42663         constructed tree before returning error.
42664         * posix/Makefile.c (tests): Add bug-regex36.
42665         (generated): Add bug-regex36.mtrace.
42666         (tests-special): Add $(objpfx)bug-regex36-mem.out
42667         (bug-regex36-ENV): New variable.
42668         ($(objpfx)bug-regex36-mem.out): New rule.
42669         * posix/bug-regex36.c: New file.
42671 2014-06-19  Will Newton  <will.newton@linaro.org>
42673         * malloc/malloc.c (systrim): If extra is zero then return
42674         early.
42676 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42678         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
42680 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
42682         * sysdeps/aarch64/strchr.S: New file.
42684 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42686         [BZ #17022]
42687         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
42688         from arguments -2 or below.
42689         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
42690         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
42692 2014-06-18  Andreas Schwab  <schwab@suse.de>
42694         [BZ #17062]
42695         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
42696         of a bracket expr not to run off the end of the string.
42697         * posix/Makefile (tests): Add tst-fnmatch3.
42698         * posix/tst-fnmatch3.c: New file.
42700 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
42702         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
42703         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
42704         [$(cross-compiling) = no]: Likewise.
42705         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
42706         [$(cross-compiling) = no]: Likewise.
42708 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42710         [BZ #17031]
42711         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
42712         double, adjusted for any remainder from the high double.
42713         * math/libm-test.inc (nearbyint): Add tests.
42714         (rint): Likewise.
42716 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42718         * nptl/sysdeps/powerpc/Makefile: Moved ...
42719         * sysdeps/powerpc/nptl/Makefile: ... here.
42720         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
42721         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
42722         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
42723         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
42724         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
42725         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
42726         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
42727         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
42728         * nptl/sysdeps/powerpc/tls.h: Moved ...
42729         * sysdeps/powerpc/nptl/tls.h: ... here.
42731 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
42733         [BZ #16681]
42734         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
42735         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
42736         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
42737         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
42738         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
42739         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
42740         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
42741         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
42742         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
42744 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
42746         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
42748 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
42750         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
42751         defined operator.
42753         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
42754         $TIMEOUTFACTOR.
42756 2014-06-16  Florian Weimer  <fweimer@redhat.com>
42758         [BZ #17058]
42759         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
42760         non-executed part of the test.
42762 2014-06-16  Andreas Schwab  <schwab@suse.de>
42764         * string/bits/string2.h (strdup, strndup): Update feature guard.
42766 2014-06-14  David S. Miller  <davem@davemloft.net>
42768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42770 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
42772         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
42773         that was previously under [RESET_PID].
42774         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
42776         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
42777         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
42778         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
42779         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42780         (__libc_vfork): New strong alias.
42781         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
42783 2014-06-14 Andi Kleen  <ak@linux.intel.com>
42785         * sysdeps/generic/elide.h: New file.
42787 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
42789         * Makefile (installed-headers): Adjust path of pthread.h header.
42791 2014-06-13  Roland McGrath  <roland@hack.frob.com>
42793         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
42794         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
42795         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
42796         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
42798         * nptl/sysdeps/s390/Makefile: Moved ...
42799         * sysdeps/s390/nptl/Makefile: ... here.
42800         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
42801         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
42802         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
42803         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
42804         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
42805         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
42806         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
42807         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
42808         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
42809         * sysdeps/s390/nptl/pthreaddef.h: ... here.
42810         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
42811         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
42812         * nptl/sysdeps/s390/tls.h: Moved ...
42813         * sysdeps/s390/nptl/tls.h: ... here.
42815         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
42816         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
42818 2014-06-13  David S. Miller  <davem@davemloft.net>
42820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
42821         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
42822         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
42823         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
42824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
42825         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
42826         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
42827         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
42828         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
42829         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
42830         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
42831         Remove RESET_PID cpp guards.
42832         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
42833         Remove RESET_PID cpp guards.
42834         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
42836 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
42838         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
42839         __sp to uintptr_t.
42841 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42843         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
42844         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
42845         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
42846         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
42847         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
42848         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
42849         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
42850         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
42851         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
42852         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
42853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
42854         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
42855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
42856         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
42857         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
42858         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
42859         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
42860         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
42861         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
42862         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
42864         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
42865         (pthread_rwlock_rdlock): Add elision.
42866         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
42867         (pthread_rwlock_wrlock): Add elision.
42868         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
42869         (pthread_rwlock_trywrlock): Add elision.
42870         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
42871         (pthread_rwlock_tryrdlock): Add elision.
42872         * nptl/pthread_rwlock_unlock.c: Include elide.h.
42873         (pthread_rwlock_tryrdlock): Add elision unlock.
42874         * nptl/sysdeps/pthread/pthread.h:
42875         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
42876         (PTHREAD_RWLOCK_INITIALIZER,
42877         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
42878         Handle new elision field.
42879         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
42880         * sysdeps/arm/nptl/bits/pthreadtypes.h
42881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42882         * sysdeps/sh/nptl/bits/pthreadtypes.h
42883         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42884         * sysdeps/tile/nptl/bits/pthreadtypes.h
42885         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42886         * sysdeps/a/nptl/bits/pthreadtypes.h
42887         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42888         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
42889         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42890         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
42891         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42892         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
42893         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42894         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
42895         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42896         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
42897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42898         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
42899         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42900         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
42901         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42902         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
42903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42904         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
42905         (elision_init): Set try_xbegin to zero when no RTM.
42906         * sysdeps/x86/nptl/bits/pthreadtypes.h
42907         (pthread_rwlock_t): Change __pad1 to __rwelision.
42908         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
42910 2014-06-13  Andi Kleen  <ak@linux.intel.com>
42912         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
42913         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
42914         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
42915         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
42917 2014-06-13  Meador Inge  <meadori@codesourcery.com>
42919         [BZ #16996]
42920         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
42921         that the cached result has been set before returning it.
42923 2014-06-12  Roland McGrath  <roland@hack.frob.com>
42925         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
42926         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
42927         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
42928         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
42929         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
42930         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
42932         * nptl/sysdeps/sparc/Makefile: Moved ...
42933         * sysdeps/sparc/nptl/Makefile: ... here.
42934         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
42935         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
42936         * nptl/sysdeps/sparc/tls.h: Moved ...
42937         * sysdeps/sparc/nptl/tls.h: ... here.
42938         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
42939         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
42940         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
42941         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
42942         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
42943         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
42944         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
42945         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
42946         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
42947         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
42948         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
42949         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
42950         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
42951         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
42952         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
42953         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
42954         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
42955         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
42956         Update #include.
42957         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
42958         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
42959         Update #include.
42960         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
42961         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
42962         Update #include.
42963         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
42964         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
42965         Update #include.
42967         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
42969         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
42970         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
42972         * sysdeps/pthread/posix-timer.h: Include <list.h>.
42973         (struct list_links): Type removed.
42974         (struct thread_node, struct timer_node): Replace struct list_links
42975         with struct list_head.
42976         (list_unlink_ip): Likewise.
42977         * sysdeps/pthread/timer_routines.c
42978         (timer_free_list, thread_free_list, thread_active_list): Likewise.
42979         (list_append, list_insbefore): Likewise.
42980         (list_init): Function removed.
42981         (thread_init, init_module): Use INIT_LIST_HEAD instead.
42982         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
42983         * sysdeps/pthread/Makefile: ... here, new file.
42985         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
42986         * sysdeps/nptl/Implies: ... here.
42987         * sysdeps/unix/sysv/linux/Implies: Add nptl.
42988         * nptl/sysdeps/pthread/list.h: Moved ...
42989         * include/list.h: ... here.
42990         * nptl/sysdeps/pthread/createthread.c: Moved ...
42991         * nptl/createthread.c: ... here.
42992         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
42993         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
42994         * nptl/pt-longjmp.c: ... here.
42995         * nptl/sysdeps/pthread/Makefile: Moved ...
42996         * sysdeps/nptl/Makefile: ... here.
42997         * nptl/sysdeps/pthread/Subdirs: Moved ...
42998         * sysdeps/nptl/Subdirs: ... here.
42999         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
43000         * sysdeps/nptl/aio_misc.h: ... here.
43001         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
43002         * sysdeps/nptl/bits/libc-lock.h: ... here.
43003         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
43004         * sysdeps/nptl/bits/libc-lockP.h: ... here.
43005         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
43006         * sysdeps/nptl/bits/stdio-lock.h: ... here.
43007         * nptl/sysdeps/pthread/configure: Moved ...
43008         * sysdeps/nptl/configure: ... here.
43009         * nptl/sysdeps/pthread/configure.ac: Moved ...
43010         * sysdeps/nptl/configure.ac: ... here.
43011         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
43012         * sysdeps/nptl/gai_misc.h: ... here.
43013         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
43014         * sysdeps/nptl/librt-cancellation.c: ... here.
43015         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
43016         * sysdeps/nptl/malloc-machine.h: ... here.
43017         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
43018         * sysdeps/nptl/pthread-functions.h: ... here.
43019         * nptl/sysdeps/pthread/pthread.h: Moved ...
43020         * sysdeps/nptl/pthread.h: ... here.
43021         * nptl/sysdeps/pthread/setxid.h: Moved ...
43022         * sysdeps/nptl/setxid.h: ... here.
43023         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
43024         * sysdeps/nptl/sigfillset.c: ... here.
43025         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
43026         * sysdeps/nptl/tcb-offsets.h: ... here.
43027         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
43028         * sysdeps/nptl/tst-mqueue8x.c: ... here.
43029         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
43030         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
43031         * nptl/sysdeps/pthread/allocalim.h: Moved ...
43032         * sysdeps/pthread/allocalim.h: ... here.
43033         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
43034         * sysdeps/pthread/bits/sigthread.h: ... here.
43035         * nptl/sysdeps/pthread/flockfile.c: Moved ...
43036         * sysdeps/pthread/flockfile.c: ... here.
43037         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
43038         * sysdeps/pthread/ftrylockfile.c: ... here.
43039         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
43040         * sysdeps/pthread/funlockfile.c: ... here.
43041         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
43042         * sysdeps/pthread/posix-timer.h: ... here.
43043         * nptl/sysdeps/pthread/timer_create.c: Moved ...
43044         * sysdeps/pthread/timer_create.c: ... here.
43045         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
43046         * sysdeps/pthread/timer_delete.c: ... here.
43047         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
43048         * sysdeps/pthread/timer_getoverr.c: ... here.
43049         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
43050         * sysdeps/pthread/timer_gettime.c: ... here.
43051         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
43052         * sysdeps/pthread/timer_routines.c: ... here.
43053         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
43054         * sysdeps/pthread/timer_settime.c: ... here.
43055         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
43056         * sysdeps/pthread/tst-timer.c: ... here.
43057         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
43058         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
43060         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
43061         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
43063         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
43064         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
43065         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
43066         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
43067         Update #include target.
43068         * nptl/sysdeps/i386/i686/Makefile: Moved ...
43069         * sysdeps/i386/i686/nptl/Makefile: ... here.
43070         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
43071         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
43072         Update #include target.
43073         * nptl/sysdeps/i386/i686/tls.h: Moved ...
43074         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
43075         * nptl/sysdeps/i386/Makefile: Moved ...
43076         * sysdeps/i386/nptl/Makefile: ... here.
43077         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
43078         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
43079         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
43080         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
43081         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
43082         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
43083         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
43084         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
43085         * sysdeps/i386/nptl/pthreaddef.h: ... here.
43086         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
43087         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
43088         * nptl/sysdeps/i386/tls.h: Moved ...
43089         * sysdeps/i386/nptl/tls.h: ... here.
43091         * sysdeps/sh/Makefile [$(subdir) = csu]
43092         (gen-as-const-headers): Add tcb-offsets.sym.
43093         * nptl/sysdeps/sh/Makefile: File removed.
43094         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
43095         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
43096         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
43097         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
43098         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
43099         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
43100         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
43101         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
43102         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
43103         * sysdeps/sh/nptl/pthreaddef.h: ... here.
43104         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
43105         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
43106         * nptl/sysdeps/sh/tls.h: Moved ...
43107         * sysdeps/sh/nptl/tls.h: ... here.
43108         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
43109         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
43110         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
43111         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
43112         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
43113         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
43114         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
43115         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
43116         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
43117         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
43118         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
43119         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
43120         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
43121         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
43122         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
43123         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
43124         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
43125         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
43126         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
43127         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
43128         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
43129         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
43130         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
43131         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
43132         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
43133         Moved ...
43134         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
43135         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
43136         Moved ...
43137         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
43138         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
43139         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
43140         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
43141         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
43142         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
43143         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
43144         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
43145         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
43146         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
43147         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
43148         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
43149         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
43150         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
43151         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
43152         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
43153         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
43154         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
43155         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
43157 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
43159         * posix/spawn_faction_addopen.c: Include string.h.
43161 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43163         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
43164         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
43165         * nptl/sysdeps/x86_64/Makefile: Moved ...
43166         * sysdeps/x86_64/nptl/Makefile: ... here.
43167         * nptl/sysdeps/x86_64/configure: Moved ...
43168         * sysdeps/x86_64/nptl/configure: ... here.
43169         * nptl/sysdeps/x86_64/configure.ac: Moved ...
43170         * sysdeps/x86_64/nptl/configure.ac: ... here.
43171         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
43172         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
43173         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
43174         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
43175         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
43176         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
43177         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
43178         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
43179         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
43180         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
43181         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
43182         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
43183         * nptl/sysdeps/x86_64/tls.h: Moved ...
43184         * sysdeps/x86_64/nptl/tls.h: ... here.
43185         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
43186         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
43187         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
43188         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
43190         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
43192 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43196 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
43198         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
43199         type.
43200         [POSIX] (off_t): Likewise.
43201         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
43202         [POSIX] (S_ISBLK): Require macro.
43203         [POSIX] (S_ISCHR): Likewise.
43204         [POSIX] (S_ISDIR): Likewise.
43205         [POSIX] (S_ISFIFO): Likewise.
43206         [POSIX] (S_ISREG): Likewise.
43207         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
43208         optional-macro.
43209         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
43210         type.
43211         [POSIX] (time_t): Likewise.
43212         [POSIX] (timer_t): Likewise.
43214 2014-06-11  Florian Weimer  <fweimer@redhat.com>
43216         [BZ #17048]
43217         * posix/spawn_int.h (struct __spawn_action): Make the path string
43218         non-const to support deallocation.
43219         * posix/spawn_faction_addopen.c
43220         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
43221         * posix/spawn_faction_destroy.c
43222         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
43223         path in all spawn_do_open actions.
43224         * posix/tst-spawn.c (do_test): Exercise the copy operation in
43225         posix_spawn_file_actions_addopen.
43227 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
43229         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
43230         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
43231         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
43232         conditional code always true.
43233         (__libc_vfork): New alias.
43235 2014-06-11  Roland McGrath  <roland@hack.frob.com>
43237         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43238         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
43240         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
43242         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43243         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
43245         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
43246         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
43248         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43249         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
43251 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43253         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
43254         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
43255         multiarch strcmp for PPC64.
43256         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
43257         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
43258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
43259         multiarch optimizations.
43260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
43261         (__libc_ifunc_impl_list): Likewise.
43263 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
43265         * benchtests/scripts/validate_benchout.py: New script.
43266         * benchtests/Makefile (bench-func): Call it.
43267         * benchtests/scripts/benchout.schema.json: New file.
43269 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
43271         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
43272         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
43273         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
43274         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
43275         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
43276         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
43277         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
43278         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
43279         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
43280         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
43281         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
43282         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
43283         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
43284         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
43285         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
43286         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
43287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
43288         Moved ...
43289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
43290         ... here.
43291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
43292         Moved ...
43293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
43294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
43295         Moved ...
43296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
43297         ... here.
43298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
43299         Moved ...
43300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
43301         ... here.
43302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
43303         Moved ...
43304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
43305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
43306         Moved ...
43307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
43308         ... here.
43309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
43310         Moved ...
43311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
43312         ... here.
43313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
43314         Moved ...
43315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
43316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
43317         Moved ...
43318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
43319         ... here.
43320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
43321         Moved ...
43322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
43323         ... here.
43324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
43325         Moved ...
43326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
43327         ... here.
43328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
43329         Moved ...
43330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
43331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
43332         Moved ...
43333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
43334         ... here.
43335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
43336         Moved ...
43337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
43338         ... here.
43339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
43340         Moved ...
43341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
43342         ... here.
43343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
43344         Moved ...
43345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
43346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
43347         Moved ...
43348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
43349         ... here.
43350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
43351         Moved ...
43352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
43353         ... here.
43354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
43355         Moved ...
43356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
43357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
43358         Moved ...
43359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
43360         ... here.
43361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
43362         Moved ...
43363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
43364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
43365         Moved ...
43366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
43367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
43368         Moved ...
43369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
43370         ... here.
43371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
43372         Moved ...
43373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
43374         ... here.
43375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
43376         Moved ...
43377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
43378         ... here.
43379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
43380         Moved ...
43381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
43382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
43383         Moved ...
43384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
43385         ... here.
43386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
43387         Moved ...
43388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
43389         ... here.
43390         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
43391         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
43392         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
43393         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
43394         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
43395         Moved ...
43396         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
43397         ... here.
43398         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
43399         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
43400         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
43401         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
43402         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
43403         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
43404         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
43405         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
43406         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
43407         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
43408         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
43409         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
43410         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
43411         Moved ...
43412         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
43413         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
43414         Moved ...
43415         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
43416         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
43417         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
43418         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
43419         Moved ...
43420         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
43421         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
43422         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
43423         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
43424         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
43425         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
43426         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
43428 2014-06-10  Wilco  <wdijkstr@arm.com>
43430         * math/test-fenv-return.c: New file.
43431         * math/Makefile: Add new test test-fenv-return.
43433 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
43435         [BZ #17042]
43436         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
43437         when x - 1 is zero.
43438         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
43439         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
43440         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
43441         0.0L for an argument of 1.0L.
43442         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
43443         Likewise.
43444         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
43445         value when x - 1 is zero.
43446         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
43447         * sysdeps/i386/fpu/libm-test-ulps: Update.
43448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43450 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
43452         [BZ #15119]
43453         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
43455 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43457         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
43458         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
43460 2014-06-09  Roland McGrath  <roland@hack.frob.com>
43462         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43463         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
43465         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43466         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
43468         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43469         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
43471         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43472         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
43474         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
43475         if not already defined.
43476         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
43477         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
43478         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
43479         (TLS_INIT_TP): Use it.
43480         (TLS_DEFINE_INIT_TP): New macro.
43481         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
43483 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
43485         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
43486         constant.
43487         [POSIX] (IXANY): Likewise.
43488         [POSIX] (OLCUC): Likewise.
43489         [POSIX || POSIX2008] (CBAUD): Do not allow.
43490         [POSIX || POSIX2008] (DEFECHO): Likewise.
43491         [POSIX || POSIX2008] (ECHOCTL): Likewise.
43492         [POSIX || POSIX2008] (ECHOKE): Likewise.
43493         [POSIX || POSIX2008] (ECHOPRT): Likewise.
43494         [POSIX || POSIX2008] (EXTA): Likewise.
43495         [POSIX || POSIX2008] (EXTB): Likewise.
43496         [POSIX || POSIX2008] (FLUSHO): Likewise.
43497         [POSIX || POSIX2008] (LOBLK): Likewise.
43498         [POSIX || POSIX2008] (PENDIN): Likewise.
43499         [POSIX || POSIX2008] (SWTCH): Likewise.
43500         [POSIX || POSIX2008] (VDISCARD): Likewise.
43501         [POSIX || POSIX2008] (VDSUSP): Likewise.
43502         [POSIX || POSIX2008] (VLNEXT): Likewise.
43503         [POSIX || POSIX2008] (VREPRINT): Likewise.
43504         [POSIX || POSIX2008] (VSTATUS): Likewise.
43505         [POSIX || POSIX2008] (VWERASE): Likewise.
43506         (B*): Change to B[0123456789]*.
43507         * conform/data/time.h-data [POSIX || UNIX98]
43508         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
43509         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
43510         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
43511         [POSIX] (tm_*): Do not allow.
43513 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
43515         * Makefile (install): Don't set LANGUAGE.
43516         * Makefile.in (install): Likewise.
43517         * assert/Makefile (test-assert-ENV): Remove variable.
43518         (test-assert-perr-ENV): Likewise.
43519         * elf/Makefile (neededtest4-ENV): Likewise.
43520         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
43521         [$(cross-compiling) = no]: Don't set LANGUAGE.
43522         * io/ftwtest-sh (LANG): Remove variable.
43523         * libio/Makefile (tst-widetext-ENV): Likewise.
43524         * manual/install.texi (Running make install): Don't refer to
43525         environment settings for make install.
43526         * INSTALL: Regenerated.
43527         * nptl/tst-tls6.sh: Don't set LANG.
43528         * posix/globtest.sh (LANG): Remove variable.
43529         * string/Makefile (tester-ENV): Likewise.
43530         (inl-tester-ENV): Likewise.
43531         (noinl-tester-ENV): Likewise.
43532         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
43533         [$(cross-compiling) = no]: Don't set LANGUAGE.
43534         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
43535         without explicit environment settings.
43537 2014-06-06  Roland McGrath  <roland@hack.frob.com>
43539         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
43540         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
43541         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
43542         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
43544 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
43546         * crypt/crypt-private.h [DOS]: Add some includes taken from the
43547         other files in the crypt directory.
43548         * crypt/crypt.c: Remove duplicate includes.
43549         * crypt/crypt-entry.c: Likewise.
43550         * crypt/crypt_util.c: Likewise.
43552 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
43554         * Makeconfig (run-program-env): New variable.
43555         (run-program-prefix-before-env): Likewise.
43556         (run-program-prefix-after-env): Likewise.
43557         (run-program-prefix): Define in terms of new variables.
43558         (built-program-cmd-before-env): New variable.
43559         (built-program-cmd-after-env): Likewise.
43560         (built-program-cmd): Define in terms of new variables.
43561         (test-program-prefix-before-env): New variable.
43562         (test-program-prefix-after-env): Likewise.
43563         (test-program-prefix): Define in terms of new variables.
43564         (test-program-cmd-before-env): New variable.
43565         (test-program-cmd-after-env): Likewise.
43566         (test-program-cmd): Define in terms of new variables.
43567         * Rules (make-test-out): Use $(run-program-env).
43568         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
43569         (help): Do not mention environment variables.  Mention
43570         --timeoutfactor option.
43571         (timeoutfactor): New variable.
43572         (blacklist_exports): Remove function.
43573         (exports): Remove variable.
43574         (command): Do not include ${exports}.
43575         * manual/install.texi (Configuring and compiling): Do not mention
43576         test wrappers preserving environment variables.  Mention that last
43577         assignment to a variable must take precedence.
43578         * INSTALL: Regenerated.
43579         * benchtests/Makefile (run-bench): Use $(run-program-env).
43580         * catgets/Makefile ($(objpfx)test1.cat): Use
43581         $(built-program-cmd-before-env), $(run-program-env) and
43582         $(built-program-cmd-after-env).
43583         ($(objpfx)test2.cat): Do not specify environment variables
43584         explicitly.
43585         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
43586         $(run-program-env) and $(built-program-cmd-after-env).
43587         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
43588         $(run-program-env) and $(test-program-cmd-after-env).
43589         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
43590         explicitly.
43591         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
43592         run_program_env and test_program_cmd_after_env arguments.
43593         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
43594         * elf/tst-pathopt.sh: Use run_program_env argument.
43595         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
43596         $(test-wrapper-env) and $(run-program-env).
43597         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
43598         run_program_env arguments.
43599         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
43600         * intl/Makefile ($(objpfx)tst-gettext.out): Use
43601         $(test-program-prefix-before-env), $(run-program-env) and
43602         $(test-program-prefix-after-env).
43603         ($(objpfx)tst-gettext2.out): Likewise.
43604         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
43605         run_program_env and test_program_prefix_after_env arguments.
43606         * intl/tst-gettext2.sh: Likewise.
43607         * intl/tst-gettext4.sh: Do not set environment variables
43608         explicitly.
43609         * intl/tst-gettext6.sh: Likewise.
43610         * intl/tst-translit.sh: Likewise.
43611         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
43612         $(test-program-prefix-before-env), $(run-program-env) and
43613         $(test-program-prefix-after-env).
43614         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
43615         run_program_env and test_program_prefix_after_env arguments.
43616         * math/Makefile (run-regen-ulps): Use $(run-program-env).
43617         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
43618         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
43619         explicitly with each use of ${test_wrapper_env}.
43620         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
43621         $(test-program-prefix-before-env), $(run-program-env) and
43622         $(test-program-prefix-after-env).
43623         * posix/tst-getconf.sh: Do not set environment variables
43624         explicitly.
43625         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
43626         run_program_env and test_program_prefix_after_env arguments.
43627         * stdio-common/tst-printf.sh: Do not set environment variables
43628         explicitly.
43629         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
43630         $(test-program-prefix-before-env), $(run-program-env) and
43631         $(test-program-prefix-after-env).
43632         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
43633         run_program_env and test_program_prefix_after_env arguments.
43634         Split $test calls into $test_pre and $test.
43635         * timezone/Makefile (build-testdata): Use
43636         $(built-program-cmd-before-env), $(run-program-env) and
43637         $(built-program-cmd-after-env).
43639 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43641         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
43642         strlen for non SHARED builds.
43644 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43646         * nptl/allocatestack.c (check_list): Inlined function...
43647         (__reclaim_stacks): ... here.
43649 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43651         [BZ #15698]
43652         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43653         memory overrun.
43655 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
43657         * Rules (make-test-out): Include
43658         LOCPATH=$(common-objpfx)localedata in default environment.
43659         * debug/Makefile (tst-chk1-ENV): Remove variable.
43660         (tst-chk2-ENV): Likewise.
43661         (tst-chk3-ENV): Likewise.
43662         (tst-chk4-ENV): Likewise.
43663         (tst-chk5-ENV): Likewise.
43664         (tst-chk6-ENV): Likewise.
43665         (tst-lfschk1-ENV): Likewise.
43666         (tst-lfschk2-ENV): Likewise.
43667         (tst-lfschk3-ENV): Likewise.
43668         (tst-lfschk4-ENV): Likewise.
43669         (tst-lfschk5-ENV): Likewise.
43670         (tst-lfschk6-ENV): Likewise.
43671         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
43672         (tst-iconv7-ENV): Likewise.
43673         * intl/Makefile (LOCPATH-ENV): Likewise.
43674         (tst-codeset-ENV): Likewise.
43675         (tst-gettext3-ENV): Likewise.
43676         (tst-gettext5-ENV): Likewise.
43677         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
43678         (tst-fopenloc-ENV): Likewise.
43679         (tst-fgetws-ENV): Remove variable.
43680         (tst-ungetwc1-ENV): Likewise.
43681         (tst-ungetwc2-ENV): Likewise.
43682         (bug-ungetwc2-ENV): Likewise.
43683         (tst-swscanf-ENV): Likewise.
43684         (bug-ftell-ENV): Likewise.
43685         (tst-fgetwc-ENV): Likewise.
43686         (tst-fseek-ENV): Likewise.
43687         (tst-ftell-partial-wide-ENV): Likewise.
43688         (tst-ftell-active-handler-ENV): Likewise.
43689         (tst-ftell-append-ENV): Likewise.
43690         * posix/Makefile (tst-fnmatch-ENV): Likewise.
43691         (tst-regexloc-ENV): Likewise.
43692         (bug-regex1-ENV): Likewise.
43693         (tst-regex-ENV): Likewise.
43694         (tst-regex2-ENV): Likewise.
43695         (bug-regex5-ENV): Likewise.
43696         (bug-regex6-ENV): Likewise.
43697         (bug-regex17-ENV): Likewise.
43698         (bug-regex18-ENV): Likewise.
43699         (bug-regex19-ENV): Likewise.
43700         (bug-regex20-ENV): Likewise.
43701         (bug-regex22-ENV): Likewise.
43702         (bug-regex23-ENV): Likewise.
43703         (bug-regex25-ENV): Likewise.
43704         (bug-regex26-ENV): Likewise.
43705         (bug-regex30-ENV): Likewise.
43706         (bug-regex32-ENV): Likewise.
43707         (bug-regex33-ENV): Likewise.
43708         (bug-regex34-ENV): Likewise.
43709         (bug-regex35-ENV): Likewise.
43710         (tst-rxspencer-ENV): Likewise.
43711         (tst-rxspencer-no-utf8-ENV): Likewise.
43712         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
43713         (tst-sscanf-ENV): Likewise.
43714         (tst-swprintf-ENV): Likewise.
43715         (tst-swscanf-ENV): Likewise.
43716         (test-vfprintf-ENV): Likewise.
43717         (scanf13-ENV): Likewise.
43718         (bug14-ENV): Likewise.
43719         (tst-grouping-ENV): Likewise.
43720         * stdlib/Makefile (tst-strtod-ENV): Likewise.
43721         (tst-strtod3-ENV): Likewise.
43722         (tst-strtod4-ENV): Likewise.
43723         (tst-strtod5-ENV): Likewise.
43724         (testmb2-ENV): Likewise./
43725         * string/Makefile (tst-strxfrm-ENV): Likewise.
43726         (tst-strxfrm2-ENV): Likewise.
43727         (bug-strcoll1-ENV): Likewise.
43728         (test-strcasecmp-ENV): Likewise.
43729         (test-strncasecmp-ENV): Likewise.
43730         * time/Makefile (tst-strptime-ENV): Likewise.
43731         (tst-ftime_l-ENV): Likewise.
43732         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
43733         (tst-mbrtowc-ENV): Likewise.
43734         (tst-wcrtomb-ENV): Likewise.
43735         (tst-mbrtowc2-ENV): Likewise.
43736         (tst-c16c32-1-ENV): Likewise.
43737         (tst-mbsnrtowcs-ENV): Likewise.
43739 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
43741         * manual/resource.texi (How to get information about the memory
43742         subsystem?): Fix typo.
43743         Reported by Peon de la Parra Ivan <peon@keba.com>
43745 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
43747         [BZ #16882]
43748         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
43749         (pthread_spin_lock): Branch out of spin loop to proper location.
43750         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
43751         (pthread_spin_lock): Likewise.
43753         * nptl/tst-spin4.c: New test.
43754         * nptl/Makefile (tests): Add tst-spin4.
43756 2014-06-03  Andreas Schwab  <schwab@suse.de>
43758         [BZ #15946]
43759         * resolv/res_send.c (send_dg): Reload file descriptor after
43760         calling reopen.
43762 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
43764         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43766 2014-06-03  Richard Henderson  <rth@redhat.com>
43768         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
43769         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
43770         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
43771         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
43772         in the SAVE_PID block.
43773         (__libc_vfork): New alias.
43774         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
43776         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
43777         child in registers, not on the stack.  Remove RESET_PID conditionals.
43778         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
43780 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43782         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43784 2014-06-03  Wilco  <wdijkstr@arm.com>
43786         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
43787         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
43788         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43789         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
43790         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
43791         Likewise.
43793 2014-06-03  Wilco  <wdijkstr@arm.com>
43795         * sysdeps/aarch64/fpu/math_private.h
43796         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
43797         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
43798         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
43799         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
43800         Fix declarations.
43802 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43804         * crypt/crypt-private.h: Include ufc-crypt.h.
43805         (__b64_from_24bit): Declare extern.
43806         * crypt/crypt_util.c(__b64_from_24bit): New function.
43807         (b64t): New static const variable.
43808         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
43809         (b64t): Remove variable.
43810         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
43811         * crypt/sha256-crypt.c: Include crypt-private.h.
43812         (b64t): Remove variable.
43813         (__sha256_crypt_r): Remove b64_from_24bit and replace
43814         with __b64_from_24bit.
43815         * crypt/sha512-crypt.c: Likewise.
43817 2014-06-02  Roland McGrath  <roland@hack.frob.com>
43819         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
43820         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
43821         Label the code __libc_vfork rather than __vfork.
43822         [!NOT_IN_libc] (vfork): Define as weak alias.
43823         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
43824         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
43825         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
43827 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43829         * malloc/malloc.c (malloc_info): Fix format specifier for
43830         n_mmaps.
43832 2014-06-02  Wilco  <wdijkstr@arm.com>
43834         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
43835         FPCR write.
43837 2014-06-02  Wilco  <wdijkstr@arm.com>
43839         [BZ #17009]
43840         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
43841         Rewrite to reduce FPCR/FPSR accesses.
43843 2014-06-01  David S. Miller  <davem@davemloft.net>
43845         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43847 2014-05-31  David S. Miller  <davem@davemloft.net>
43849         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
43850         to occur in round to nearest mode when |x| >= 2.0
43852 2014-05-30  Richard Henderson  <rth@twiddle.net>
43854         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
43855         (PSEUDO_RET_NOERRNO): Remove.
43856         (ret): Don't redefine.
43857         (ret_NOERRNO): Define in terms of ret.
43858         (ret_ERRVAL): Likewise.
43860         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
43861         use of PSEUDO_RET; perform the error check directly.
43863 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
43865         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
43866         with __int128_t.
43868 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43870         * malloc/malloc (malloc_info): Fix formatting.
43872 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43873             Roland McGrath  <roland@hack.frob.com>
43875         * malloc/malloc (malloc_info): Also print mmapped statistics.
43877 2014-05-30  Roland McGrath  <roland@hack.frob.com>
43879         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
43880         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
43882 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
43884         * malloc/malloc.c (malloc_info): Inline mi_arena.
43886 2014-05-29  Richard Henderson  <rth@twiddle.net>
43888         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
43889         Remove comma before expanding ASM_ARGS_##nr.
43890         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
43891         Make _x0 a strict output; make _x8 a strict input; adjust expansion
43892         of ASM_ARGS_##nr.
43893         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
43894         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
43895         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
43896         (ASM_ARGS_1): Add leading comma.
43898         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
43899         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
43900         to __errno_location.
43901         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
43902         Remove the expected plt for __errno_location.
43904         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43905         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
43906         call to __read_tp.
43908         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43909         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
43910         it and break it down.
43911         (DOCARGS_0, DOCARGS_1): Do nothing.
43912         (DOCARGS_2): Update to store into the new stack frame.
43913         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
43914         (UNDOCARGS_1): Update to restore from the new stack frame.
43915         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
43916         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
43918         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
43919         (SINGLE_THREAD_P): New parameter for result regno.
43920         (PSEUDO): Update to match; use cbz instead of beq.
43922         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
43923         Use ENTRY to define the _nocancel entry point.  Share the syscall
43924         and syscall error check paths with the cancel path.
43925         (PSEUDO_END): New.
43927         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
43928         whitespace; tabs before and after asm mnemonics.
43930 2014-05-29  Eric Wong  <normalperson@yhbt.net>
43932         [BZ #15132]
43933         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43934         Call fstat64 or stat64 internally, depending on arguments passed.
43935         Replace stat buffer argument with file descriptor argument.
43936         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
43937         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43938         Pass fd to __internal_statvfs instead of calling fstat64.
43939         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
43940         Pass fd to __internal_statvfs64 instead of calling fstat64.
43941         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
43942         Pass -1 to __internal_statvfs instead of calling stat64.
43943         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
43944         Pass -1 to __internal_statvfs64 instead of calling stat64.
43946 2014-05-28  Roland McGrath  <roland@hack.frob.com>
43948         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
43949         that was previously under [RESET_PID].
43950         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
43952         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
43953         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
43955 2014-05-27  Roland McGrath  <roland@hack.frob.com>
43957         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
43959         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
43960         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
43962 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
43964         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
43966 2014-05-27  Andreas Schwab  <schwab@suse.de>
43968         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
43969         TLS_INIT_TP macro.
43970         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
43971         * elf/rtld.c (init_tls, dl_main): Likewise.
43972         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
43973         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
43974         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
43975         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
43976         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
43977         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
43978         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
43979         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
43980         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
43981         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
43982         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
43983         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
43984         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
43985         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
43986         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
43987         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
43988         * sysdeps/generic/tls.h: Update description.
43990 2014-05-27  Will Newton  <will.newton@linaro.org>
43992         [BZ #16990]
43993         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
43994         and restore r2 rather than just restoring.
43996 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43998         [BZ #16724]
43999         * libio/tst-ftell-append.c: New test case.
44000         * libio/Makefile (tests): Add test case.
44001         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
44002         append mode.
44003         * libio/wfileops.c (do_ftell_wide): Likewise.
44005 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44007         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44009         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
44010         ...
44011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
44012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44013         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
44014         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
44015         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
44016         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
44017         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
44018         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
44019         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44020         Moved ...
44021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
44022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44023         Moved ...
44024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
44025         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
44026         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
44027         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
44028         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
44029         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
44030         ...
44031         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
44032         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
44033         Moved ...
44034         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
44035         here.
44036         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
44037         ...
44038         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
44039         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
44040         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
44042         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
44043         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
44044         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
44045         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
44047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
44048         merge into ...
44049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
44050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
44051         ...
44052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
44053         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
44054         ...
44055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
44056         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44057         Moved ...
44058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
44059         here.
44060         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44061         Moved ...
44062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
44063         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44064         Moved ...
44065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
44067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
44068         conditional [RESET_PID].
44069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
44070         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
44071         removed.
44072         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
44073         removed.
44075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
44076         <tcb-offsets.h>.
44077         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44078         (__libc_vfork): New strong alias.
44079         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
44080         removed.
44081         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
44082         Removed.
44084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
44085         <tcb-offsets.h>.
44086         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
44087         (__libc_vfork): New strong alias.
44088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
44089         removed.
44090         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
44091         removed.
44093 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
44095         * malloc/malloc.c (mi_arena): New function.
44096         (malloc_info): Remove nested function mi_arena. Call non-nosted
44097         function mi_arena.
44099 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44101         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
44102         by insrwi.
44103         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
44104         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
44105         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
44106         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
44107         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
44108         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
44109         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
44111 2014-05-26  Andreas Schwab  <schwab@suse.de>
44113         [BZ #16984]
44114         * locale/programs/repertoire.c (repertoire_read): Add slash
44115         between I18NPATH element and file name.
44116         * locale/programs/locfile.c (locfile_read): Likewise.
44118 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44120         * nptl/pthread_mutexattr_settype.c
44121         (__pthread_mutexattr_settype):
44122         Disable lock elision for PTHREAD_MUTEX_NORMAL.
44124 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
44126         * nptl/tst-mutex5 (do_test):
44127         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
44129 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44131         * benchtests/README: Document 'init' directive.
44132         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
44133         BENCH_INIT.
44134         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
44135         (parse_file): Recognize 'init' directive.
44137 2014-05-26  Kyle McMartin  <kyle@redhat.com>
44139         [BZ #16796]
44140         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
44141         alignment of struct pthread.
44143 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44145         [BZ #16878]
44146         * nscd/netgroupcache.c (addgetnetgrentX): Look for
44147         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44148         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
44149         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
44151 2014-05-25  Richard Henderson  <rth@twiddle.net>
44153         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44154         (SINGLE_THREAD_P_PIC): Remove.
44155         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
44156         (SINGLE_THREAD_P_PIC): Remove.
44158         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
44159         branch to syscall error ...
44160         (PSEUDO): ... here.
44161         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
44162         from __local_syscall_error to .Lsyscall_error.
44163         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
44164         (SYSCALL_ERROR): Update label name.
44166         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44167         Do not use DOARGS/UNDOARGS.
44168         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
44169         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
44170         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
44171         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
44172         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
44174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
44175         block comment.
44177         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
44178         define if !NOT_IN_libc.
44179         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
44180         define with non-default symbol versions.
44182 2014-05-23  Richard Henderson  <rth@twiddle.net>
44184         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
44185         (vfork, __vfork): Define via compat_symbol.
44187         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
44188         [!HAVE_IFUNC] (vfork_compat): Remove.
44189         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
44191 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44193         [BZ #16978]
44194         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
44195         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
44196         variable.
44198 2014-05-23  Richard Henderson  <rth@twiddle.net>
44200         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
44201         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
44202         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
44203         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
44205         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
44206         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
44207         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
44208         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
44209         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
44210         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
44211         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
44212         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
44213         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
44214         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
44215         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
44216         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
44217         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
44218         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
44219         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
44220         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
44221         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
44222         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
44223         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
44224         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
44225         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
44226         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
44227         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
44228         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
44229         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
44230         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
44231         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
44232         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
44233         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
44234         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
44235         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
44236         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
44237         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
44238         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
44239         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
44240         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
44241         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
44242         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
44243         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
44244         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
44245         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
44246         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
44247         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
44248         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
44249         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
44250         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
44251         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
44252         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
44253         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
44254         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
44255         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
44256         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
44257         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
44258         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
44259         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
44260         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
44262         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
44263         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
44264         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
44265         before exiting on error.
44266         (__libc_vfork): New strong alias.
44267         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
44268         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
44270         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
44271         that was previously under [RESET_PID].
44272         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
44274         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
44276 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
44278         [BZ #16977]
44279         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
44280         value when x - 1 is zero.
44281         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
44282         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
44283         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
44284         0.0L for an argument of 1.0L.
44285         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
44286         Likewise.
44287         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
44288         value when x - 1 is zero.
44289         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
44290         * sysdeps/i386/fpu/libm-test-ulps: Update.
44291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44293 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
44295         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
44296         alphasort and versionsort.
44298 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44300         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
44301         macro.
44302         [copysignf]: Likewise.
44304 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
44306         * crypt/md5-crypt.c: Fix formatting.
44308 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44310         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
44311         (b64_from_24bit): New function.
44313 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44315         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
44316         libc_hidden_builtin_def to ifunc.
44317         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
44318         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
44320 2014-05-21  Roland McGrath  <roland@hack.frob.com>
44322         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
44323         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
44325 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
44327         * nscd/Depend (linuxthreads): Remove.
44328         (nptl): Add.
44329         * resolv/Depend (linuxthreads): Remove.
44330         * rt/Depend (linuxthreads): Remove.
44332         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
44333         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
44334         $(common-objpfx)elf/.
44335         (link-libc-before-gnulib): Likewise.
44336         (elfobjdir): Remove variable.
44337         * Makefile (install): Use $(elf-objpfx) instead of
44338         $(common-objpfx)elf/.
44339         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
44340         $(elfobjdir)/.
44341         (link-libc-deps): Likewise.
44342         ($(common-objpfx)libc.so): Likewise.
44343         ($(common-objpfx)linkobj/libc.so): Likewise.
44344         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
44345         instead of $(common-objpfx)elf/.
44346         (symbolic-link-list): Likewise.
44347         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44348         [$(cross-compiling) = no]: Likewise.
44349         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
44350         $(elfobjdir)/.
44351         (static-gnulib-arch): Likewise.
44352         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44353         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
44354         $(common-objpfx)elf/.
44356 2014-05-21  Richard Henderson  <rth@redhat.com>
44358         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
44359         (SINGLE_THREAD_P): Use the correct width load.  Fold
44360         into the ldr offset.
44362         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
44363         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
44365 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
44367         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
44368         (libgcc_s_resume): Use __attribute_used__.
44369         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
44370         Likewise.
44372 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44374         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
44375         optimization when used with float constants.
44377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44379 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
44381         [BZ #16915]
44382         * locale/nl_langinfo_l.c: Make direct reference to every
44383         _nl_current_CATEGORY symbol.
44384         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
44385         (tests-static): Add tst-langinfo-static.
44386         (tests-special): Add tst-langinfo-static.out.
44387         ($(objpfx)tst-langinfo.out): Redirect output.
44388         ($(objpfx)tst-langinfo-static.out): New.
44389         * localedata/tst-langinfo.sh: Send output to stdout.
44390         * localedata/tst-langinfo-static.c: New file.
44392         [BZ #16965]
44393         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
44394         when the shift amount is modulo the limb size.
44396 2014-05-20  Richard Henderson  <rth@redhat.com>
44398         [BZ #16967]
44399         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
44400         Change type of sa_flags from unsigned int to int.
44402         [BZ #16966]
44403         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
44405         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
44407 2014-05-20  Will Newton  <will.newton@linaro.org>
44409         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
44410         Test the return value of the system call in the nocancel case.
44412 2014-05-20  Will Newton  <will.newton@linaro.org>
44413             Yvan Roux  <yvan.roux@linaro.org>
44415         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
44416         #include of asm/ptrace.h.
44417         (PTRACE_GET_THREAD_AREA): Remove #undef.
44418         (PTRACE_GETHBPREGS): Likewise.
44419         (PTRACE_SETHBPREGS): Likewise.
44420         (struct user_regs_struct): New structure.
44421         (struct user_fpsimd_struct): New structure.
44422         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
44423         #include of asm/ptrace.h and second #include of sys/user.h.
44424         (PTRACE_GET_THREAD_AREA): Remove #undef.
44425         (PTRACE_GETHBPREGS): Likewise.
44426         (PTRACE_SETHBPREGS): Likewise.
44427         (ELF_NGREG): Use new struct user_regs_struct.
44428         (elf_fpregset_t): Use new struct user_fpsimd_struct.
44430 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44432         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
44433         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
44435 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
44437         [BZ #16958]
44438         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
44439         membar to avoid block loads/stores to overlap previous stores.
44441 2014-05-17  Richard Henderson  <rth@redhat.com>
44443         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
44444         Create the __##syscall_name##_nocancel entry point.
44445         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
44446         Remove; let the sysdep-cancel.h code create it.
44448 2014-05-17  David S. Miller  <davem@davemloft.net>
44450         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
44451         Protect with __USE_GNU.
44452         (TIOCSET_TEMPT): Likewise.
44453         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
44454         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
44455         these are already provided in bits/ioctl-types.h
44457 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44459         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
44460         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
44462         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
44463         Use wait4 regardless of [__NR_waitpid].
44465 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
44467         PR libgcc/60166
44468         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
44469         (_FP_NANSIGN_Q): Set the quiet bit.
44471 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
44473         * benchtests/Makefile
44474         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
44475         not $(common-objpfx)math/libm.so.
44476         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
44477         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
44478         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
44479         $(common-objpfx)dlfcn/libdl.so.
44480         ($(objpfx)tst-audit8): Depend on $(libm), not
44481         $(common-objpfx)math/libm.so.
44482         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
44483         not $(common-objpfx)dlfcn/libdl.so.
44484         * math/Makefile
44485         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
44486         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
44487         [$(build-shared) = yes].
44488         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
44489         $(common-objpfx)nptl/libpthread.so.
44490         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44491         $(common-objpfx)math/libm.so$(libm.so-version) or
44492         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
44493         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
44494         $(common-objpfx)dlfcn/libdl.so.
44495         * setjmp/Makefile (link-libm): Remove variable.
44496         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
44497         * stdio-common/Makefile (link-libm): Remove variable.
44498         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
44499         * stdlib/Makefile (link-libm): Remove variable.
44500         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
44501         ($(objpfx)tst-strtod-round): Likewise.
44502         ($(objpfx)tst-tininess): Likewise.
44503         ($(objpfx)tst-strtod-underflow): Likewise.
44504         ($(objpfx)tst-strtod6): Likewise.
44505         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
44506         $(libdl), not $(common-objpfx)nptl/libpthread.so and
44507         $(common-objpfx)dlfcn/libdl.so.
44509 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44511         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
44512         BSD terminal modes definitions.
44514 2014-05-16  Roland McGrath  <roland@hack.frob.com>
44516         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
44517         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
44519         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
44520         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
44521         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
44522         Don't do #include_next.
44523         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
44524         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
44525         Don't do #include_next.
44526         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
44527         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
44528         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
44529         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
44531 2014-05-16  Allan McRae  <allan@archlinux.org>
44533         * po/sv.po: Update Swedish translation from translation project.
44535         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
44536         in sed expression.
44538 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
44540         [BZ #16917]
44541         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
44542         errno if the TIOCGPTN ioctl fails with an error different than
44543         EINVAL.
44544         * login/tst-ptsname.c: New file.
44545         * login/Makefile (tests): Add tst-ptsname.
44547         [BZ #16943]
44548         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
44549         and prlimit64.
44551 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44553         [BZ #16849]
44554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
44555         herrno to return EAI_AGAIN.
44557 2014-05-14  Roland McGrath  <roland@hack.frob.com>
44559         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
44560         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
44561         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
44562         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
44563         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
44564         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
44565         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
44566         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
44567         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
44568         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
44569         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
44570         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
44571         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
44572         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
44573         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
44574         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
44575         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
44576         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
44577         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
44578         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
44579         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
44580         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
44581         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
44582         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
44583         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
44584         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
44585         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
44586         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
44587         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
44588         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
44589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
44590         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
44591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
44592         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
44593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44594         Moved ...
44595         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
44596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
44597         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
44598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
44599         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
44600         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
44601         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
44602         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
44603         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
44604         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
44605         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
44606         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
44607         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
44608         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
44609         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
44610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
44611         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
44612         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
44613         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
44614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
44615         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
44616         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
44617         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
44618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
44619         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
44620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
44621         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
44622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44623         Moved ...
44624         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
44625         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
44626         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
44627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
44628         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
44629         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
44630         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
44631         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
44632         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
44633         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
44634         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
44635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
44636         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
44637         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
44638         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
44639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
44640         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
44641         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
44642         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
44643         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44644         Moved ...
44645         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
44646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
44647         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
44649         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
44650         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
44651         (libpthread-sysdep_routines): Add elision-related stuff here instead.
44652         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
44653         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
44654         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
44655         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
44656         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
44657         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
44658         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
44659         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
44660         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
44661         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
44662         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
44663         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
44664         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
44665         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
44666         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
44667         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
44668         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
44669         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
44670         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
44671         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
44672         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
44673         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
44674         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
44675         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
44676         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
44677         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
44678         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
44679         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
44681         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
44682         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
44684         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
44685         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
44686         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
44687         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
44688         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
44689         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
44690         Moved ...
44691         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
44692         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
44693         Moved ...
44694         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
44695         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
44696         Moved ...
44697         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
44698         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
44699         Moved ...
44700         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
44701         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
44702         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
44703         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
44704         Moved ...
44705         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
44706         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
44707         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
44708         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
44709         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
44710         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
44711         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
44712         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
44713         Moved ...
44714         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
44715         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44716         Moved ...
44717         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
44718         ... here.
44719         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
44720         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
44721         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
44722         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
44723         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44724         Moved ...
44725         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
44726         ... here.
44727         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
44728         Moved ...
44729         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
44730         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
44731         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
44732         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
44733         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
44734         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
44735         Moved ...
44736         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
44737         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
44738         Moved ...
44739         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
44740         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
44741         Moved ...
44742         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
44743         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
44744         Moved ...
44745         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
44746         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
44747         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
44748         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
44749         Moved ...
44750         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
44751         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
44752         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
44753         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
44754         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
44755         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
44756         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
44757         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
44758         Moved ...
44759         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
44760         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44761         Moved ...
44762         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
44763         ... here.
44764         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
44765         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
44766         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
44767         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
44768         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44769         Moved ...
44770         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
44771         ... here.
44772         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
44773         Moved ...
44774         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
44775         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
44776         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
44777         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
44778         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
44779         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
44780         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
44781         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
44782         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
44783         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
44784         Moved ...
44785         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
44786         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
44787         Moved ...
44788         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
44789         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
44790         Moved ...
44791         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
44792         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
44793         Moved ...
44794         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
44795         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
44796         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
44797         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
44798         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
44799         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
44800         Moved ...
44801         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
44802         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
44803         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
44804         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
44805         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
44806         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
44807         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
44808         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
44809         Moved ...
44810         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
44811         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44812         Moved ...
44813         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
44814         ... here.
44815         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
44816         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
44817         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
44818         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
44819         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44820         Moved ...
44821         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
44822         ... here.
44823         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
44824         Moved ...
44825         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
44826         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
44827         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
44828         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
44829         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
44830         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
44831         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
44832         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
44833         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
44834         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
44835         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
44837         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
44838         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
44840         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
44841         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
44843         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
44844         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
44845         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
44846         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
44847         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
44848         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
44849         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
44850         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
44851         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
44852         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
44853         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
44854         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
44855         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
44856         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
44857         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
44858         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
44859         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
44860         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
44861         Moved ...
44862         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
44863         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
44864         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
44865         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
44866         Moved ...
44867         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
44868         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
44869         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
44870         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
44871         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
44872         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
44873         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
44874         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
44875         Moved ...
44876         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
44877         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
44878         Moved ...
44879         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
44880         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
44881         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
44882         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
44883         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
44884         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
44885         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
44886         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
44887         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
44888         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
44889         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
44890         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
44891         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
44892         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
44893         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
44894         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
44895         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
44897         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
44898         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
44899         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
44900         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
44901         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
44903         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
44904         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
44905         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
44906         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
44907         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
44908         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
44909         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
44910         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
44911         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
44912         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
44914         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
44915         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
44917         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
44918         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
44919         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
44920         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
44921         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
44922         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
44923         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
44924         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
44925         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
44926         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
44927         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
44928         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
44929         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
44930         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
44931         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
44932         Update #include.
44933         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
44934         Likewise.
44935         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
44936         Likewise.
44937         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
44938         Likewise.
44939         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
44940         Likewise.
44941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
44942         Likewise.
44943         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
44944         Likewise.
44945         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44946         Likewise.
44947         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
44948         Likewise.
44949         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
44950         Likewise.
44951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
44952         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
44953         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
44954         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
44955         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
44956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
44957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
44958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
44959         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
44960         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
44961         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
44962         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
44963         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
44964         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
44965         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
44967         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
44968         that was previously under [RESET_PID].
44969         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
44970         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
44971         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
44973         * sysdeps/i386/nptl/Implies: New file.
44974         * sysdeps/x86_64/nptl/Implies: New file.
44975         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
44976         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
44977         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
44978         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
44980         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
44981         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44982         (__libc_vfork): New strong alias.
44983         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
44984         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
44986         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
44987         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44988         (__libc_vfork): New strong alias.
44989         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
44990         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
44992         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
44993         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44994         (__libc_vfork): New strong alias.
44995         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
44996         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
44997         * nptl/pt-vfork.c: New file.
44998         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
44999         (libpthread: GLIBC_2.20): New version set (empty).
45001 2014-05-14  Will Newton  <will.newton@linaro.org>
45003         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
45004         rather than #if.
45006 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45008         [BZ #16564]
45009         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
45010         arguments with exponent 65 or above.
45011         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
45012         arguments 0x1p113L or above.
45013         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
45014         to arguments 0x1p107L or above.
45015         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
45016         positive arguments with exponent 65 or above.
45017         * math/auto-libm-test-in: Add more tests of log1p.
45018         * math/auto-libm-test-out: Regenerated.
45020         [BZ #16928]
45021         * math/s_cacos.c (__cacos): Ensure zero real part of result from
45022         non-finite arguments is +0.
45023         * math/s_cacosf.c (__cacosf): Likewise.
45024         * math/s_cacosl.c (__cacosl): Likewise.
45025         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
45026         * sysdeps/i386/fpu/libm-test-ulps: Update.
45027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45029         [BZ #16927]
45030         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
45031         value.
45032         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
45033         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
45034         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
45035         for explicit high bit of mantissa when testing for argument equal
45036         to 1.
45037         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
45038         * sysdeps/i386/fpu/libm-test-ulps: Update.
45039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45041         [BZ #16516]
45042         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
45043         (__erf): Scale by 16 instead of 8 in potentially underflowing
45044         case.  Ensure exception if result actually underflows.
45045         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
45046         (__erff): Scale by 16 instead of 8 in potentially underflowing
45047         case.  Ensure exception if result actually underflows.
45048         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
45049         (efx8): Remove variable.
45050         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45051         case.  Ensure exception if result actually underflows.
45052         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
45053         (efx8): Remove variable.
45054         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45055         case.  Ensure exception if result actually underflows.
45056         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
45057         (efx8): Remove variable.
45058         (__erfl): Scale by 16 instead of 8 in potentially underflowing
45059         case.  Ensure exception if result actually underflows.
45060         * math/auto-libm-test-in: Add more tests of erf.
45061         * math/auto-libm-test-out: Regenerated.
45063 2014-05-14  Andreas Schwab  <schwab@suse.de>
45065         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
45066         Remove code conditionalized on USE___THREAD.
45068         * config.h.in (HAVE_PT_CHOWN): Define as 0.
45069         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
45070         not definedness.
45072 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
45074         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
45075         Define unconditionally.
45076         (__ASSUME_O_CLOEXEC): Likewise.
45077         (__ASSUME_SOCK_CLOEXEC): Likewise.
45078         (__ASSUME_IN_NONBLOCK): Likewise.
45079         (__ASSUME_PIPE2): Likewise.
45080         (__ASSUME_EVENTFD2): Likewise.
45081         (__ASSUME_SIGNALFD4): Likewise.
45082         (__ASSUME_DUP3): Likewise.
45083         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45084         (__ASSUME_DUP3): Do not define.
45085         (__ASSUME_EVENTFD2): Likewise.
45086         (__ASSUME_IN_NONBLOCK): Likewise.
45087         (__ASSUME_O_CLOEXEC): Likewise.
45088         (__ASSUME_PIPE2): Likewise.
45089         (__ASSUME_SIGNALFD4): Likewise.
45090         (__ASSUME_SOCK_CLOEXEC): Likewise.
45091         (__ASSUME_UTIMES): Undefine.
45092         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45093         (__ASSUME_UTIMES): Do not define.
45094         (__ASSUME_O_CLOEXEC): Likewise.
45095         (__ASSUME_SOCK_CLOEXEC): Likewise.
45096         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
45097         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
45098         0x020621].
45099         (__ASSUME_PIPE2): Likewise.
45100         (__ASSUME_EVENTFD2): Likewise.
45101         (__ASSUME_SIGNALFD4): Likewise.
45102         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
45103         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
45104         Do not define.
45105         (__ASSUME_EVENTFD2): Likewise.
45106         (__ASSUME_SIGNALFD4): Likewise.
45107         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
45108         (__ASSUME_32BITUIDS): Likewise.
45109         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45110         (__ASSUME_IPC64): Likewise.
45111         (__ASSUME_ST_INO_64_BIT): Likewise.
45112         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
45113         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
45114         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45115         (__ASSUME_UTIMES): Do not define.
45116         (__ASSUME_PSELECT): Likewise.
45117         (__ASSUME_PPOLL): Likewise.
45118         (__ASSUME_O_CLOEXEC): Likewise.
45119         (__ASSUME_SOCK_CLOEXEC): Likewise.
45120         (__ASSUME_IN_NONBLOCK): Likewise.
45121         (__ASSUME_PIPE2): Likewise.
45122         (__ASSUME_EVENTFD2): Likewise.
45123         (__ASSUME_SIGNALFD4): Likewise.
45124         (__ASSUME_DUP3): Likewise.
45125         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45126         (__ASSUME_UTIMES): Likewise.
45127         (__ASSUME_O_CLOEXEC): Likewise.
45128         (__ASSUME_SOCK_CLOEXEC): Likewise.
45129         (__ASSUME_IN_NONBLOCK): Likewise.
45130         (__ASSUME_PIPE2): Likewise.
45131         (__ASSUME_EVENTFD2): Likewise.
45132         (__ASSUME_SIGNALFD4): Likewise.
45133         (__ASSUME_DUP3): Likewise.
45134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45135         (__ASSUME_UTIMES): Likewise.
45136         (__ASSUME_O_CLOEXEC): Likewise.
45137         (__ASSUME_SOCK_CLOEXEC): Likewise.
45138         (__ASSUME_IN_NONBLOCK): Likewise.
45139         (__ASSUME_PIPE2): Likewise.
45140         (__ASSUME_EVENTFD2): Likewise.
45141         (__ASSUME_SIGNALFD4): Likewise.
45142         (__ASSUME_DUP3): Likewise.
45143         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
45144         Likewise.
45145         (__ASSUME_UTIMES): Likewise.
45146         (__ASSUME_EVENTFD2): Likewise.
45147         (__ASSUME_SIGNALFD4): Likewise.
45148         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45149         (__ASSUME_O_CLOEXEC): Likewise.
45150         (__ASSUME_SOCK_CLOEXEC): Likewise.
45151         (__ASSUME_IN_NONBLOCK): Likewise.
45152         (__ASSUME_PIPE2): Likewise.
45153         (__ASSUME_EVENTFD2): Likewise.
45154         (__ASSUME_SIGNALFD4): Likewise.
45155         (__ASSUME_DUP3): Likewise.
45156         (__ASSUME_UTIMES): Undefine.
45158         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
45159         feclearexcept.  Remove symbol versioning code.
45160         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
45161         symbol versioning code.
45162         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
45163         symbol versioning code.
45164         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
45165         feupdateenv.  Remove symbol versioning code.
45166         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
45167         fegetexceptflag.  Remove symbol versioning code.
45168         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
45169         fesetexceptflag.  Remove symbol versioning code.
45170         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
45171         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
45172         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
45173         (__posix_fadvise64_l32): Remove prototype.
45174         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
45175         code.
45177 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45179         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
45180         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
45181         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
45182         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
45184 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
45186         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
45187         current working directory
45189 2014-05-13  Roland McGrath  <roland@hack.frob.com>
45191         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
45192         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
45193         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
45194         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
45195         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
45196         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
45197         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
45198         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
45199         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
45200         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
45201         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
45202         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
45203         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
45204         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
45205         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
45206         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
45207         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
45208         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
45209         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
45210         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
45211         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
45212         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
45213         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
45214         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
45215         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
45216         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
45217         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
45218         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
45219         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
45220         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
45221         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
45222         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
45223         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
45224         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
45225         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
45226         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
45227         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
45228         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
45229         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
45230         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
45231         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
45232         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
45234         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
45235         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
45237         * sysdeps/unix/sysv/linux/arm/Makefile
45238         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
45239         Add rt-aeabi_unwind_cpp_pr1.
45240         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
45241         Add nptl-aeabi_unwind_cpp_pr1.
45242         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
45243         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
45244         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
45245         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45246         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
45247         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45249         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
45250         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
45251         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
45252         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
45254         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
45255         Deconditionalize the code that was previously under [RESET_PID].
45256         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
45258         * sysdeps/generic/exit-thread.h: New file.
45259         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
45260         * include/unistd.h (__exit_thread): Remove declaration.
45261         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
45262         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
45263         * csu/libc-start.c: Include <exit-thread.h>.
45264         (LIBC_START_MAIN): Pass no argument to __exit_thread.
45265         * nptl/pthread_create.c: Include <exit-thread.h>.
45266         (start_thread): Call __exit_thread in place of __exit_thread_inline.
45267         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
45268         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
45269         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
45270         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
45271         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
45272         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
45273         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
45274         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
45275         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
45276         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
45277         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
45278         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
45279         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
45280         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
45281         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
45282         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
45284 2014-05-13  Andreas Schwab  <schwab@suse.de>
45286         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
45288 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
45290         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
45291         (__ASSUME_UTIMES): Do not condition on kernel version.
45292         (__ASSUME_PSELECT): Define unconditionally.
45293         (__ASSUME_PPOLL): Likewise.
45294         (__ASSUME_ATFCTS): Likewise.
45295         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
45296         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
45297         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
45298         (__ASSUME_UTIMENSAT): Define unconditionally.
45299         (__ASSUME_PRIVATE_FUTEX): Likewise.
45300         (__ASSUME_FALLOCATE): Likewise.
45301         (__ASSUME_O_CLOEXEC): Likewise.
45302         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
45303         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
45304         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
45305         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
45306         (__ASSUME_IN_NONBLOCK): Likewise.
45307         (__ASSUME_PIPE2): Likewise.
45308         (__ASSUME_EVENTFD2): Likewise.
45309         (__ASSUME_SIGNALFD4): Likewise.
45310         (__ASSUME_DUP3): Likewise.
45311         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45312         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
45313         (__ASSUME_AT_RANDOM): Likewise.
45314         (__ASSUME_PREADV): Likewise.
45315         (__ASSUME_PWRITEV): Likewise.
45316         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
45317         (__ASSUME_F_GETOWN_EX): Define unconditionally.
45318         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
45319         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
45320         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
45321         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
45322         (__ASSUME_O_CLOEXEC): Define unconditionally.
45323         (__ASSUME_PSELECT): Do not undefine conditionally.
45324         (__ASSUME_PPOLL): Likewise.
45325         (__ASSUME_ATFCTS): Likewise.
45326         (__ASSUME_SET_ROBUST_LIST): Likewise.
45327         (__ASSUME_UTIMENSAT): Likewise.
45328         (__ASSUME_FDATASYNC): Define unconditionally.
45329         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45330         (__ASSUME_SIGFRAME_V2): Likewise.
45331         )__ASSUME_EVENTFD2): Likewise.
45332         (__ASSUME_SIGNALFD4): Likewise.
45333         (__ASSUME_PSELECT): Do not undefine conditionally.
45334         (__ASSUME_PPOLL): Likewise.
45335         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
45336         (__ASSUME_PSELECT): Define unconditionally.
45337         (__ASSUME_PPOLL): Likewise.
45338         (__ASSUME_O_CLOEXEC): Likewise.
45339         (__ASSUME_SOCK_CLOEXEC): Likewise.
45340         (__ASSUME_IN_NONBLOCK): Likewise.
45341         (__ASSUME_PIPE2): Likewise.
45342         (__ASSUME_EVENTFD2): Likewise.
45343         (__ASSUME_SIGNALFD4): Likewise.
45344         (__ASSUME_DUP3): Likewise.
45345         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
45346         (__ASSUME_O_CLOEXEC): Likewise.
45347         (__ASSUME_SOCK_CLOEXEC): Likewise.
45348         (__ASSUME_IN_NONBLOCK): Likewise.
45349         (__ASSUME_PIPE2): Likewise.
45350         (__ASSUME_EVENTFD2): Likewise.
45351         (__ASSUME_SIGNALFD4): Likewise.
45352         (__ASSUME_DUP3): Likewise.
45353         * sysdeps/unix/sysv/linux/mips/kernel-features.h
45354         (__ASSUME_EVENTFD2): Likewise.
45355         (__ASSUME_SIGNALFD4): Likewise.
45356         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
45358 2014-05-12  Andreas Schwab  <schwab@suse.de>
45360         [BZ #16932]
45361         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
45362         (_nss_nis_gethostbyname4_r): Return error if item length is larger
45363         than maximum RPC packet size.
45364         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
45365         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
45366         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
45367         (_nss_nis_getservbyport_r): Likewise.
45369 2014-05-12  Will Newton  <will.newton@linaro.org>
45371         * malloc/Makefile (tests): Add tst-mallopt.
45372         * malloc/tst-mallopt.c: New file.
45374 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45376         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
45377         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
45379 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45381         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
45382         (tst-tlsmod6.so): Likewise.
45384 2014-05-09  Roland McGrath  <roland@hack.frob.com>
45386         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
45388 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
45390         [BZ #16064]
45391         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
45392         and <dl-procinfo.h>.
45393         (__fegetenv): Save SSE state in envp->__eip if supported.
45394         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
45395         envp->__eip if supported.
45396         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
45397         and <dl-procinfo.h>.
45398         (__fesetenv): Always set __eip, __cs_selector, __opcode,
45399         __data_offset and __data_selector in environment to 0.  Set SSE
45400         state if supported.
45401         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
45402         test-fenv-sse.
45403         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
45404         -mfpmath=sse.
45405         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
45407 2014-05-09  Will Newton  <will.newton@linaro.org>
45409         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
45410         and libc_relro_required for ARM.
45411         * sysdeps/arm/preconfigure: Regenerate.
45413 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
45414             Stefan Liebler  <stli@linux.vnet.ibm.com>
45416         * config.make.in (enable-lock-elision): New Makefile variable.
45417         * configure.ac: Likewise.
45418         * configure: Regenerate.
45419         * sysdeps/s390/configure.ac:
45420         Add check for gcc transactions support.
45421         * sysdeps/s390/configure: Regenerate.
45422         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
45423         Build elision files if enabled.
45424         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
45425         Add lock elision support for s390.
45426         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
45427         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
45428         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
45429         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
45430         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
45431         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
45432         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
45433         Likewise.
45434         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
45435         Likewise.
45436         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
45437         Likewise.
45438         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
45439         Likewise.
45440         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
45441         (__lll_timedlock_elision, __lll_lock_elision)
45442         (__lll_unlock_elision, __lll_trylock_elision)
45443         (lll_timedlock_elision, lll_lock_elision)
45444         (lll_unlock_elision, lll_trylock_elision): Add.
45445         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
45446         (pthread_mutex_t): Add lock elision support for s390.
45448 2014-05-14  Wilco  <wdijkstr@arm.com>
45450         * sysdeps/arm/fclrexcpt.c: Cleanup.
45451         * sysdeps/arm/fedisblxcpt.c: Cleanup.
45452         * sysdeps/arm/feenablxcpt.c: Cleanup.
45453         * sysdeps/arm/fegetenv.c: Cleanup.
45454         * sysdeps/arm/fegetexcept.c: Cleanup.
45455         * sysdeps/arm/fegetround.c: Cleanup.
45456         * sysdeps/arm/feholdexcpt.c: Cleanup.
45457         * sysdeps/arm/fesetenv.c: Cleanup.
45458         * sysdeps/arm/fesetround.c: Cleanup.
45459         * sysdeps/arm/feupdateenv.c: Cleanup.
45460         * sysdeps/arm/fgetexcptflg.c: Cleanup.
45461         * sysdeps/arm/fraiseexcpt.c: Cleanup.
45462         * sysdeps/arm/fsetexcptflg.c: Cleanup.
45463         * sysdeps/arm/ftestexcept.c: Cleanup.
45464         * sysdeps/arm/get-rounding-mode.h: Cleanup.
45465         * sysdeps/arm/setfpucw.c: Cleanup.
45467 2014-05-09  Will Newton  <will.newton@linaro.org>
45469         * sysdeps/arm/armv7/strcmp.S: New file.
45470         * NEWS: Mention addition of ARMv7 optimized strcmp.
45472 2014-05-08  Roland McGrath  <roland@hack.frob.com>
45474         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
45475         look for %.ac rather than %.in.
45477         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
45478         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
45479         * sysdeps/mach/hurd/configure: Regenerated.
45480         * sysdeps/unix/sysv/linux/configure: Regenerated.
45482         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
45484 2014-05-07  Steve Ellcey  <sellcey@mips.com>
45486         [BZ# 16922]
45487         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
45488         (LONG_SUB): Ditto.
45489         (PTR_SUB): Ditto.
45491 2014-05-07  Andreas Schwab  <schwab@suse.de>
45493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
45494         when skipping over non-matching result from nscd.
45496 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
45498         [BZ #16876]
45499         * nptl/sockperf.c (client): Check socket return value.
45501         [BZ #16877]
45502         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
45503         nscd security class.
45505 2014-05-06  Roland McGrath  <roland@hack.frob.com>
45507         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
45508         * sysdeps/arm/unwind.h: ... here.
45510 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
45512         [BZ# 16916]
45513         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
45514         Define.
45516 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45518         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
45519         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
45520         multiarch strncpy for PPC64.
45521         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
45522         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
45523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
45524         multiarch optimizations.
45525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45526         (__libc_ifunc_impl_list): Likewise.
45527         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
45528         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
45529         multiarch stpncpy for PPC64.
45530         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
45531         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
45533 2014-05-06  Andreas Schwab  <schwab@suse.de>
45535         [BZ #16912]
45536         * gmon/mcount.c (_MCOUNT_DECL): Use
45537         atomic_compare_and_exchange_bool_acq instead of
45538         catomic_compare_and_exchange_bool_acq.
45540 2014-05-05  Roland McGrath  <roland@hack.frob.com>
45542         * elf/Makefile (others, install-bin): Remove pldd.
45543         (pldd-modules): Variable removed.
45544         ($(objpfx)pldd): Target removed.
45545         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
45546         (others, install-bin): Append pldd here.
45547         ($(objpfx)pldd): New target.
45549         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
45550         to 0, so the first #if test emitted later doesn't see it undefined.
45551         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
45552         * sysdeps/gnu/errlist.c: Regenerated.
45554 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45556         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
45557         [libc_hidden_builtin_def]: Define to empty value.
45558         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
45559         [libc_hidden_builtin_def]: Likewise.
45560         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
45561         [libc_hidden_builtin_def]: Likewise.
45562         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
45563         [libc_hidden_builtin_def]: Likewise.
45564         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
45565         __redirect_memcpy and define ifunc as default hidden symbol.
45566         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
45567         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
45569 2014-05-04  Adam Conrad  <adconrad@0c3.net>
45571         * locale/iso-4217.def: Reintroduce XDR currency.
45573 2014-05-04  Allan McRae  <allan@archlinux.org>
45575         * po/eo.po: Update Esperanto translation from translation project.
45577 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
45579         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
45580         and FEATURE_INDEX_MAX to 1.
45581         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
45583 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45585         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
45586         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
45587         * iconvdata/big5.c (ONE_DIRECTION): Define.
45588         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
45589         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
45590         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
45591         * iconvdata/cp932.c (ONE_DIRECTION): Define.
45592         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
45593         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
45594         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
45595         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
45596         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
45597         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
45598         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
45599         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
45600         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
45601         * iconvdata/gbk.c (ONE_DIRECTION): Define.
45602         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
45603         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
45604         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
45605         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
45606         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
45607         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
45608         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
45609         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
45610         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
45611         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
45612         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
45613         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
45614         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
45615         * iconvdata/iso646.c (ONE_DIRECTION): Define.
45616         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
45617         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
45618         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
45619         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
45620         * iconvdata/johab.c (ONE_DIRECTION): Define.
45621         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
45622         * iconvdata/sjis.c (ONE_DIRECTION): Define.
45623         * iconvdata/t.61.c (ONE_DIRECTION): Define.
45624         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
45625         * iconvdata/tscii.c (ONE_DIRECTION): Define.
45626         * iconvdata/uhc.c (ONE_DIRECTION): Define.
45627         * iconvdata/unicode.c (ONE_DIRECTION): Define.
45628         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
45629         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
45630         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
45632 2014-05-01  Roland McGrath  <roland@hack.frob.com>
45634         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
45635         (_IO_JUMPS_OFFSET): Define to 0.
45637         * nptl/sysdeps/pthread/bits/libc-lock.h
45638         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45639         (__libc_lock_define_initialized_recursive): Always define using
45640         initializer.  Modern compilers treat uninitialized (implicit zero) and
45641         explicit zero initializers the same (i.e. put the datum in bss).
45643 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45645         * nscd/nscd-client.h: Include <string.h>.
45647 2014-05-01  David S. Miller  <davem@davemloft.net>
45649         [BZ #16885]
45650         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
45651         multiple zero bytes exist at the end of a string.
45652         Reported by Aurelien Jarno <aurelien@aurel32.net>
45654         * string/test-strcmp.c (check): Add explicit test for situations where
45655         there are multiple zero bytes after the first.
45657 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45659         [BZ #16890]
45660         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
45661         when compiling wprintf.
45662         * stdio-common/tstdiomisc.c (t3): New function.
45663         (main): Call it.
45665 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45667         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
45668         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
45669         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
45670         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
45672 2014-05-01  Steve Ellcey  <sellcey@mips.com>
45674         * stdlib/longlong.h: Updated from GCC.
45676 2014-05-01  Will Newton  <will.newton@linaro.org>
45677             Bernard Ogden  <bernie.ogden@linaro.org>
45679         * NEWS: Update fixed bug list.
45681         [BZ #15119]
45682         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
45684 2014-04-30  David S. Miller  <davem@davemloft.net>
45686         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
45687         (libc_feholdexcept_setround_sparc_ctx): New function.
45688         (libc_fesetenv_sparc_ctx): Likewise.
45689         (libc_feupdateenv_sparc_ctx): Likewise.
45690         (libc_feholdsetround_sparc_ctx): Likewise.
45691         (libc_feholdexcept_setround_ctx): Define.
45692         (libc_feholdexcept_setroundf_ctx): Likewise.
45693         (libc_feholdexcept_setroundl_ctx): Likewise.
45694         (libc_fesetenv_ctx): Likewise.
45695         (libc_fesetenvf_ctx): Likewise.
45696         (libc_fesetenvl_ctx): Likewise.
45697         (libc_feupdateenv_ctx): Likewise.
45698         (libc_feupdateenvf_ctx): Likewise.
45699         (libc_feupdateenvl_ctx): Likewise.
45700         (libc_feresetround_ctx): Likewise.
45701         (libc_feresetroundf_ctx): Likewise.
45702         (libc_feresetroundl_ctx): Likewise.
45703         (libc_feholdsetround_ctx): Likewise.
45704         (libc_feholdsetroundf_ctx): Likewise.
45705         (libc_feholdsetroundl_ctx): Likewise.
45707         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45708         with __USE_GNU instead of XOPEN cpp guards.
45710         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
45711         0.
45713         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
45714         with XOPEN cpp guards.
45716 2014-04-30  Julian Brown  <julian@codesourcery.com>
45718         [BZ #16888]
45719         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
45720         handling.
45722 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
45724         [BZ #9894]
45725         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
45726         Change to 2.6.32.
45727         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
45728         * sysdeps/unix/sysv/linux/configure: Regenerated.
45729         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
45730         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
45731         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
45732         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
45733         * README: Update reference to required Linux kernel version.
45734         * manual/install.texi (Linux): Update reference to required Linux
45735         kernel headers version.
45736         * INSTALL: Regenerated.
45738         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
45739         header inclusion.
45740         [POSIX] (limits.h): Likewise.
45741         [POSIX] (math.h): Likewise.
45742         [POSIX] (sys/wait.h): Likewise.
45743         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
45744         function.
45745         [POSIX] (stddef.h): Do not allow header inclusion.
45747 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45749         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
45751 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
45753         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
45754         Return immediately after lll_futex_wake.
45756 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45758         [BZ #16791]
45759         * nscd/nscd-client.h (datahead_init_common): Initialize entire
45760         structure.
45761         (datahead_init_pos): Call datahead_init_common early.
45762         (datahead_init_neg): Likewise.
45764         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
45765         datahead_init_neg): New functions.
45766         * nscd/aicache.c (addhstaiX): Use them.
45767         * nscd/grpcache.c (cache_addgr): Likewise.
45768         * nscd/hstcache.c (cache_addhst): Likewise.
45769         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45770         * nscd/netgroupcache.c (do_notfound): Likewise.
45771         (addgetnetgrentX): Likewise.
45772         (addinnetgrX): Likewise.
45773         * nscd/pwdcache.c (cache_addpw): Likewise.
45774         * nscd/servicescache.c (cache_addserv): Likewise.
45776 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45777             Atsushi Onoe  <atsushi@onoe.org>
45779         [BZ #14308]
45780         [BZ #12994]
45781         [BZ #13651]
45782         * resolv/res_query.c (__libc_res_nsearch): Return if at least
45783         one response is valid.
45784         * resolv/res_send.c (send_dg): Check for validity of other
45785         response if the current response is a referral.
45787 2014-04-29  Steve Ellcey  <sellcey@mips.com>
45789         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
45791 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
45793         [BZ #16823]
45794         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
45795         Always divide by positive zero when computing -Inf result.
45796         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
45797         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
45799 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45801         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
45802         FPSCR if value do not change.
45803         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45804         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
45805         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
45806         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
45807         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
45808         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
45809         function.
45811 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
45813         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
45814         * sysdeps/unix/sysv/linux/hppa: Move directory from
45815         ports/systeps/unix/sysv/linux/hppa.
45816         * README: Update listing for hppa-*-linux-gnu.
45818 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
45820         [BZ #16754]
45821         * manual/stdio.texi (Hook functions): Fix types of stream hook
45822         functions.
45823         [BZ #16854]
45824         * socket/sys/socket.h: Fix typo in comment.
45826 2014-04-28  Wilco  <wdijkstr@arm.com>
45828         * sysdeps/arm/fenv_private.h: New file.
45829         * sysdeps/arm/math_private.h: New file.
45830         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
45832 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
45834         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
45835         with __int128_t.
45836         (La_x86_64_retval): Likewise.
45838 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
45840         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
45841         fpsr if value didn't change.
45842         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
45843         to fpcr if value didn't change.
45844         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
45845         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
45846         fpsr or fpcr if value didn't change.
45847         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45848         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
45849         fpcr if value didn't change.
45850         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
45851         to fpsr if value didn't change.
45853 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45855         * nptl/tst-sem3.c: Use test-skeleton.c
45856         (main): Rename to do_test.  Use return instead of
45857         exit.
45858         * nptl/tst-sem4.c: Use test-skeleton.c
45859         (main): Rename to do_test.
45861 2014-04-22  David S. Miller  <davem@davemloft.net>
45863         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
45864         (struct sigaction): New struct member __glibc_reserved0, change
45865         type of sa_flags to int.
45867 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
45869         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
45870         (COUNT_LEADING_ZEROS_0): Define for AArch64.
45872 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45874         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
45875         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
45877 2014-04-22  Will Newton  <will.newton@linaro.org>
45878             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
45880         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
45881         (__longjmp): Add longjmp and longjmp_target SystemTap
45882         probes.
45883         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
45884         (__sigsetjmp): Add setjmp SystemTap probe.
45886 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
45888         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
45889         match manual order.
45891 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45893         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
45895         * sysdeps/powerpc/fpu/fenv_private.h
45896         (libc_feholdexcept_setroundl_ctx): Define to
45897         libc_feholdexcept_setround_ppc_ctx.
45898         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
45899         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
45900         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
45901         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
45903 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45905         * sysdeps/aarch64/math-tests.h: New file.
45907 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
45909         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
45910         New.
45911         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45912         Check and set bit_AVX2_Usable.
45913         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
45914         macro.
45915         (bit_AVX2): Likewise.
45916         (index_AVX2_Usable): Likewise.
45917         (CPUID_AVX2): Likewise.
45918         (HAS_AVX2): Likewise.
45920 2014-04-17  Will Newton  <will.newton@linaro.org>
45922         * manual/setjmp.texi (System V contexts): Add note that
45923         calling setcontext on a context created by a call to a
45924         signal handler is undefined.  Update text to note that
45925         setcontext from a signal handler is possible but not
45926         recommended.
45928         [BZ #16629]
45929         * stdlib/tst-setcontext.c: Include signal.h.
45930         (main): Check that the signal stack before and
45931         after swapcontext is the same.
45933         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
45934         Re-implement to restore registers in user code and avoid
45935         rt_sigreturn system call.
45937 2014-04-17  Wilco  <wdijkstr@arm.com>
45939         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
45940         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
45941         * math/test-fenv.c: Skip exception trap tests on targets which only
45942         support non-stop mode.
45944 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
45945             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45947         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
45948         (libc_feholdsetround_aarch64_ctx)
45949         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
45950         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
45951         (libc_feresetround_ctx, libc_feresetroundf_ctx)
45952         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
45953         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
45954         (libc_feresetround_noexl_ctx): Define.
45956 2014-04-16  Richard Henderson  <rth@redhat.com>
45958         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
45960         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
45961         unwind tables.
45963         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
45964         const from the non-libc, non-ldso copy.
45966         * sysdeps/alpha/libm-test-ulps: Regenerate.
45968 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
45969             Wilco Dijkstra  <wilco.dijkstra@arm.com>
45971         * sysdeps/aarch64/fpu/math_private.h: New file.
45973 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45975         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45977 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
45979         [BZ #16275]
45980         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
45981         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
45982         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
45983         Intel MPX bound registers before _dl_profile_fixup.
45984         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
45985         registers after _dl_profile_fixup.  Save and restore bound
45986         registers bnd0/bnd1 when calling _dl_call_pltexit.
45987         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
45988         (LR_BND_OFFSET): Likewise.
45989         (LRV_BND0_OFFSET): Likewise.
45990         (LRV_BND1_OFFSET): Likewise.
45992 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45994         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
45995         to...
45996         * sysdeps/mach/hurd/i386/tls.h: ... here.
45997         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
45998         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
45999         fields.
46001 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46003         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
46005 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46007         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46009 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
46011         [BZ #14770]
46012         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
46013         * sysdeps/s390/configure: Regenerate.
46015         [BZ #16824]
46016         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
46017         Set round-to-nearest internally to reduce error accumulation.
46019 2014-04-16  Alan Modra  <amodra@gmail.com>
46021         [BZ #16740]
46022         [BZ #16619]
46023         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
46024         * math/libm-test.inc (frexp_test_data): Add tests.
46025         * NEWS: Update fixed bug list.
46027 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46029         * benchtests/Makefile: Depend on libraries in build directory.
46030         (bench-math): Separate out math tests.
46031         (bench-pthread): Separate out pthread tests.
46032         (bench): Include math and pthread tests.
46034 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
46036         [BZ #16831]
46037         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
46038         _dl_debug_initialize.
46040         * configure.ac: Remove SELinux header check.
46041         * configure: Regenerate.
46042         * nscd/selinux.c (perms): Array of const char* to permission names.
46043         (nscd_request_avc_has_perm): Call security_deny_unknown to find
46044         default policy. Call string_to_security_class and string_to_av_perm to
46045         translate strings. Enforce default policy and call avs_has_perm with
46046         results of translated strings.
46048 2014-04-13  David S. Miller  <davem@davemloft.net>
46050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46052 2014-04-12  Allan McRae  <allan@archlinux.org>
46054         [BZ #16838]
46055         * manual/string.texi (Collation Functions): Fix qsort argument
46056         order in example.
46057         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46059 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
46061         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
46062         Make the test a no-op if there are no exceptions defined.
46064 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
46066         * elf/Makefile (tests): make tst-dlopen-aout conditional on
46067         enable-hardcoded-path-in-tests
46069 2014-04-11  Will Newton  <will.newton@linaro.org>
46071         * benchtests/Makefile (extra-objs): Add json-lib.o.
46072         (bench-func): Tidy up JSON output.
46073         * benchtests/bench-skeleton.c: Include json-lib.h.
46074         (main): Use JSON library functions to do output of
46075         benchmark results.
46076         * benchtests/bench-timing-type.c (main): Output the
46077         timing type simply, leaving formatting to the user.
46078         * benchtests/json-lib.c: New file.
46079         * benchtests/json-lib.h: Likewise.
46081 2014-04-11  Torvald Riegel  <triegel@redhat.com>
46083         [BZ #15215]
46084         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
46085         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
46086         memory barriers.  Add comments.
46087         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
46088         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
46089         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
46090         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
46091         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
46092         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46094 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46096         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
46097         * sysdeps/s390/s390-64/configure.ac: ... this ...
46098         * sysdeps/s390/configure.ac: ... to here.
46099         * sysdeps/s390/s390-32/configure: Delete file.
46100         * sysdeps/s390/s390-64/configure: Delete file.
46101         * sysdeps/s390/configure: Regenerate.
46103 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
46105         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
46107 2014-04-11  Will Newton  <will.newton@linaro.org>
46109         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
46110         to zero if it is not defined elsewhere.  (mtrim): Test
46111         the value of MALLOC_DEBUG with #if rather than #ifdef.
46113 2014-04-10 Torvald Riegel  <triegel@redhat.com>
46115         * benchtests/pthread_once-inputs: New file.
46116         * benchtests/pthread_once-source.c: New file.
46117         * benchtests/README: Update documentation.
46119 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
46120             H.J. Lu  <hongjiu.lu@intel.com>
46122         [BZ #16275]
46123         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
46124         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
46125         * sysdeps/x86_64/configure: Regenerated.
46126         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
46127         macro.
46128         (REGISTER_SAVE_RAX): Likewise.
46129         (REGISTER_SAVE_RCX): Likewise.
46130         (REGISTER_SAVE_RDX): Likewise.
46131         (REGISTER_SAVE_RSI): Likewise.
46132         (REGISTER_SAVE_RDI): Likewise.
46133         (REGISTER_SAVE_R8): Likewise.
46134         (REGISTER_SAVE_R9): Likewise.
46135         (REGISTER_SAVE_BND0): Likewise.
46136         (REGISTER_SAVE_BND1): Likewise.
46137         (REGISTER_SAVE_BND2): Likewise.
46138         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
46139         bound registers when calling _dl_fixup.
46141 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46143         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
46144         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
46145         of its definition.
46146         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
46147         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
46148         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
46149         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
46150         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
46151         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
46152         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
46154 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
46156         [BZ #15514]
46157         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
46158         pathconf(_PC_NAME_MAX).
46160 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46162         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
46163         Remove macro usage.
46164         (__PTHREAD_SPINS): Move definition to ...
46165         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46166         (__PTHREAD_SPINS): ... here.
46167         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46168         (__PTHREAD_SPIN): Likewise.
46169         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
46170         (__PTHREAD_SPIN): Likewise.
46171         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
46172         (__PTHREAD_SPIN): Likewise.
46173         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
46174         (__PTHREAD_SPIN): Likewise.
46175         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
46176         (__PTHREAD_SPIN): Likewise.
46177         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
46178         (__PTHREAD_SPIN): Likewise.
46179         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
46180         (__PTHREAD_SPIN): Likewise.
46181         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
46182         (__PTHREAD_SPIN): Likewise.
46183         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
46184         (__PTHREAD_SPIN): Likewise.
46185         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
46186         (__PTHREAD_SPIN): Likewise.
46187         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
46188         (__PTHREAD_SPIN): Likewise.
46189         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
46190         (__PTHREAD_SPIN): Likewise.
46192         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
46193         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
46194         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
46195         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
46196         imply folder.
46197         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
46198         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
46199         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
46200         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
46201         correct imply path.
46202         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
46203         strlen symbol for non multi-arch builds.
46204         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
46205         missing hidden_def and weak_alias.
46207 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
46209         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
46211 2014-04-07  Will Newton  <will.newton@linaro.org>
46213         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
46214         and contents.  [!_LIBC] Remove #ifndef and contents.
46215         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
46216         * string/memccpy.c (__memccpy): Use ANSI prototype.
46217         * string/memfrob.c (memfrob): Likewise.
46218         * string/strcoll.c (STRCOLL): Likewise.
46219         * string/strlen.c (strlen): Likewise.
46220         * string/strtok.c (STRTOK): Likewise.
46221         * string/strcat.c: Remove unused #include of memcopy.h.
46222         (strcat): Use ANSI prototype.
46223         * string/strchr.c: Remove unused #include of memcopy.h.
46224         (strchr): Use ANSI prototype.
46225         * string/strcmp.c: Remove unused #include of memcopy.h.
46226         (strcmp): Use ANSI prototype.
46227         * string/strcpy.c: Remove unused #include of memcopy.h.
46228         (strcpy): Use ANSI prototype.
46230 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46232         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
46233         * config.make.in (config-extra-cppflags): Set it from
46234         libc_extra_cppflags.
46235         * configure.ac (libc_extra_cflags): Make it accumulate over
46236         configure fragments.
46237         (libc_extra_cppflags): New flag.
46238         * configure. Regenerate.
46239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46240         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
46241         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
46242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
46244         [BZ #16815]
46245         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
46246         result for FE_DOWNWARD rounding mode.
46247         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
46248         Likewise.
46249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46251 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
46253         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
46254         in function argument name.
46256 2014-04-03  David Svoboda  <svoboda@cert.org>
46258         [BZ #5666]
46259         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
46260         explicitly.
46262 2014-04-03  Roland McGrath  <roland@hack.frob.com>
46264         * elf/dl-unmap-segments.h: New file.
46265         * sysdeps/generic/ldsodefs.h
46266         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
46267         * elf/dl-close.c: Include <dl-unmap-segments.h>.
46268         * elf/dl-fptr.c: Likewise.
46269         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
46270         * sysdeps/aarch64/tlsdesc.c: Likewise.
46271         * sysdeps/arm/tlsdesc.c: Likewise.
46272         * sysdeps/i386/tlsdesc.c: Likewise.
46273         * sysdeps/tile/dl-runtime.c: Likewise.
46274         * sysdeps/x86_64/tlsdesc.c: Likewise.
46275         * elf/dl-load.h: New file.
46276         * elf/dl-load.c: Include it.
46277         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
46278         Macros moved to dl-load.h.
46279         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
46280         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
46281         Use _dl_unmap_segments in place of __munmap.
46282         Break out segment-mapping loop into ...
46283         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
46285 2014-04-03  Will Newton  <will.newton@linaro.org>
46287         * elf/dl-lookup.c (do_lookup_x): Remove comment
46288         referring to nested function and move variable
46289         declarations down to before first use.
46291 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
46293         [BZ #16799]
46294         [BZ #16800]
46295         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
46296         with 0 numerator.
46297         * math/s_catanf.c (__catanf): Likewise.
46298         * math/s_catanh.c (__catanh): Likewise.
46299         * math/s_catanhf.c (__catanhf): Likewise.
46300         * math/s_catanhl.c (__catanhl): Likewise.
46301         * math/s_catanl.c (__catanl): Likewise.
46302         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
46303         by positive zero when computing -Inf result.
46304         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
46305         (catanh_test): Likewise.
46306         * sysdeps/i386/fpu/libm-test-ulps: Update.
46307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46309         [BZ #16789]
46310         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
46311         instead of using underflowing value in computing result.
46312         * math/s_clog10.c (__clog10): Likewise.
46313         * math/s_clog10f.c (__clog10f): Likewise.
46314         * math/s_clog10l.c (__clog10l): Likewise.
46315         * math/s_clogf.c (__clogf): Likewise.
46316         * math/s_clogl.c (__clogl): Likewise.
46317         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
46318         (clog10_test): Likewise.
46319         * sysdeps/i386/fpu/libm-test-ulps: Update.
46320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46322 2014-04-02  Alan Modra  <amodra@gmail.com>
46324         [BZ #16739]
46325         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
46326         output when value is near a power of two.  Use int64_t for lx and
46327         remove casts.  Use decimal rather than hex exponent constants.
46328         Don't use long double multiplication when double will suffice.
46329         * math/libm-test.inc (nextafter_test_data): Add tests.
46330         * NEWS: Add 16739 and 16786 to bug list.
46332         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
46334         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
46336 2014-04-01  Will Newton  <will.newton@linaro.org>
46338         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
46339         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
46341 2014-04-01  Florian Weimer  <fweimer@redhat.com>
46343         [BZ #13347]
46344         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
46345         * nptl/tst-setuid2.c: New file.
46346         * nptl/Makefile (xtests): Add tst-setuid2.
46348 2014-04-01  Alan Modra  <amodra@gmail.com>
46350         [BZ #16786]
46351         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
46353 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46355         [BZ #6803]
46356         [BZ #6804]
46357         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
46358         set errno as appropriate.
46359         * math/w_scalbf.c (__scalbf): Likewise.
46360         * math/w_scalbl.c (__scalbl): Likewise.
46361         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
46362         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
46363         * math/libm-test.inc (scalb_test_data): Add errno expectations.
46364         Add more NaN tests.
46366         [BZ #16349]
46367         * math/w_atan2.c: Include <errno.h>.
46368         (__atan2): Set errno for result underflowing to zero.
46369         * math/w_atan2f.c: Include <errno.h>.
46370         (__atan2f): Set errno for result underflowing to zero.
46371         * math/w_atan2l.c: Include <errno.h>.
46372         (__atan2l): Set errno for result underflowing to zero.
46373         * math/auto-libm-test-in: Don't allow missing errno for some atan2
46374         tests.
46375         * math/auto-libm-test-out: Regenerated.
46377 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46379         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
46380         Encode instruction correctly in little endian.
46381         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
46382         Likewise.
46383         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
46384         Likewise.
46385         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
46386         Likewise.
46387         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
46388         Likewise.
46390 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
46392         [BZ #9894]
46393         * sysdeps/unix/sysv/linux/kernel-features.h
46394         [__sparc__ && !__arch64__ && !__sparc_v9__]
46395         (__ASSUME_SET_ROBUST_LIST): Do not define.
46396         [__sparc__ && !__arch64__ && !__sparc_v9__]
46397         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46398         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
46399         Likewise.
46400         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46401         (__ASSUME_FUTEX_LOCK_PI): Undefine.
46402         (__ASSUME_REQUEUE_PI): Likewise.
46403         (__ASSUME_SET_ROBUST_LIST): Likewise.
46404         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46405         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
46406         Undefine.
46407         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46408         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
46409         Likewise.
46410         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
46411         Likewise.
46412         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
46413         Likewise.
46414         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46415         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
46416         Undefine.
46417         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
46418         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
46419         Likewise.
46421         [BZ #16648]
46422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46423         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
46424         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
46426 2014-03-31  Will Newton  <will.newton@linaro.org>
46428         * benchtests/Makefile (bench): Add ffs and ffsll to list
46429         of tests.
46430         * benchtests/ffs-inputs: New file.
46431         * benchtests/ffsll-inputs: Likewise.
46433 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
46435         [BZ #16770]
46436         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
46437         too large before casting to int.
46438         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
46439         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
46440         * math/libm-test.inc (scalb_test_data): Add more tests.
46442 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46444         * benchtests/Makefile (DETAILED_OPT): New make option.
46445         (bench-func): Run benchmark program with -d if DETAILED_OPT is
46446         set.
46447         * benchtests/bench-skeleton.c: Include stdbool.h.
46448         (main): Store and print timings per input.
46449         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
46450         member to each argument value.
46451         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
46452         (_print_arg_data): Initialize per-input timing to 0.
46454         * benchtests/Makefile (timing-type): New binary.
46455         (bench-clean): Also remove bench-timing-type.
46456         (bench): New target for timing-type.
46457         (bench-func): Print output in JSON format.
46458         * benchtests/bench-skeleton.c (main): Print output in JSON
46459         format.
46460         * benchtests/bench-timing-type.c: New file.
46461         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
46462         (TIMING_PRINT_STATS): Remove.
46463         * benchtests/scripts/bench.py (_print_arg_data): Store variant
46464         name separately.
46466         * benchtests/bench-modf.c: Remove.
46467         * benchtests/modf-inputs: New inputs file.
46469 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
46471         [BZ #16362]
46472         * math/s_clog10.c (M_PI_LOG10E): New macro.
46473         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
46474         imaginary parts are 0.
46475         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
46476         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
46477         imaginary parts are 0.
46478         * math/s_clog10l.c (M_PI_LOG10El): New macro.
46479         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
46480         imaginary parts are 0.
46481         * math/libm-test.inc (clog10_test_data): Update expected results
46482         for when real and imaginary parts are 0.
46484 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
46486         * elf/dl-load.c: Finish conversion of __builtin_expect into
46487         __glibc_{un}likely.
46489 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
46491         [BZ #16348]
46492         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
46493         1+x for argument with exponent below -67.
46494         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
46495         Likewise.
46496         * math/auto-libm-test-in: Add more tests of exp.
46497         * math/auto-libm-test-out: Regenerated.
46499 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46501         [BZ #16759]
46502         * inet/getnetgrent_r.c (get_nonempty_val): New function.
46503         (nscd_getnetgrent): Use it.
46505         [BZ #16760]
46506         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
46507         of stpcpy.
46509 2014-03-27  Andi Kleen  <ak@linux.intel.com>
46511         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
46512         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46513         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46514         (lll_robust_unlock): Remove out of line section. Use cfi
46515         intrinsics.
46516         (LLL_STUB_UNWIND_INFO*): Remove.
46517         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
46518         (lll_robust_lock, lll_cond_lock, lll_timedlock)
46519         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
46520         (lll_robust_unlock): Remove out of line section. Use cfi
46521         intrinsics.
46522         (LLL_STUB_UNWIND_INFO*): Remove.
46524 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46526         [BZ #16758]
46527         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
46528         blank values.
46530 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
46532         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
46534 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
46536         [BZ #16198]
46537         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
46538         fnstenv.
46539         * math/test-fenv-preserve.c: New file.
46540         * math/Makefile (tests): Add test-fenv-preserve.
46542 2014-03-26  Will Newton <will.newton@linaro.org>
46544         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
46546 2014-03-25  Roland McGrath  <roland@hack.frob.com>
46548         * scripts/versionlist.awk: Partition the version sets and emit all
46549         GLIBC_* (sorted) before all others (sorted).
46551 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46553         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
46554         GLIBC_2.2.5 version.
46556 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46558         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
46559         calls.
46561         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
46562         previous change.
46564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46566 2014-03-25  Andreas Schwab  <schwab@suse.de>
46568         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
46569         label to be used after in6ailist is initialized.
46571 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46573         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
46574         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46576 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
46578         [BZ #16357]
46579         [BZ #16599]
46580         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
46581         min_plus_half.
46582         (fp_formats): Update initializers.
46583         (init_fp_formats): Initialize new field.
46584         (output_for_one_input_case): Allow underflow for results up to
46585         min_plus_half.
46586         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
46587         * math/auto-libm-test-in: Don't mark some underflows from asin and
46588         atanh as spurious.
46589         * math/auto-libm-test-out: Regenerated.
46590         * sysdeps/i386/fpu/libm-test-ulps: Update.
46591         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46593 2014-03-25  Andreas Schwab  <schwab@suse.de>
46595         * libio/Makefile (tst-ftell-partial-wide-ENV)
46596         (tst-ftell-active-handler-ENV): Define.
46598 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
46600         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
46602 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46604         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
46606 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46608         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
46609         * sysdeps/x86_64/fpu/multiarch/e_exp.c
46610         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
46612 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
46614         [BZ #16634]
46615         * elf/dl-load.c (open_verify): Add mode parameter.
46616         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
46617         (open_path): Change from boolean 'secure' to complete flag 'mode'
46618         (_dl_map_object): Adjust.
46619         * elf/Makefile (tests): Add tst-dlopen-aout.
46620         * elf/tst-dlopen-aout.c: New test.
46622 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
46624         [BZ #16714]
46625         * sysdeps/unix/sysv/linux/s390/bits/stat.h
46626         (struct stat): Rename member pad0 to __glibc_reserved0.
46628         [BZ #16712]
46629         * sysdeps/s390/s390-32/bits/wordsize.h
46630         (__WORDSIZE32_SIZE_ULONG): New define.
46631         * sysdeps/s390/s390-64/bits/wordsize.h
46632         (__WORDSIZE32_SIZE_ULONG): Likewise.
46633         * sysdeps/generic/stdint.h (SIZE_MAX):
46634         Define as UL if __WORDSIZE32_SIZE_ULONG.
46636         [BZ #16713]
46637         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
46638         (__glibc_reserved0): New variable.
46639         (sa_flags): Change type to int.
46641         * posix/Makefile (before-compile): Use += before-compile instead
46642         of a :=.
46644         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
46645         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
46647 2014-03-20  Andreas Schwab  <schwab@suse.de>
46649         [BZ #16743]
46650         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
46651         non-matching result from nscd.
46653 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46655         * scripts/bench.py: Moved to ...
46656         * benchtests/scripts/bench.py: ... here.
46657         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
46659 2014-03-24  Andreas Schwab  <schwab@suse.de>
46661         [BZ #16002]
46662         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
46663         alloca_account and account alloca use for struct in6ailist.
46665 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
46667         [BZ #16284]
46668         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
46669         rounding mode to recompute results that overflow to infinity or
46670         underflow to zero.
46671         * math/auto-libm-test-in: Don't mark tests as expected to fail for
46672         bug 16284.
46673         * math/auto-libm-test-out: Regenerated.
46674         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
46675         (ccosh_test): Likewise.
46676         (csin_test_data): Use plus_oflow.
46677         (csin_test): Use ALL_RM_TEST.
46678         (csinh_test_data): Use plus_oflow.
46679         (csinh_test): Use ALL_RM_TEST.
46680         * sysdeps/i386/fpu/libm-test-ulps: Update.
46681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46683 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
46685         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
46686         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
46687         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
46689         [BZ #16731]
46690         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
46691         when x - 1 is zero.
46692         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
46693         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
46694         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
46695         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
46696         argument is 1.
46697         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
46698         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
46699         zero.
46700         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
46701         * sysdeps/i386/fpu/libm-test-ulps: Update.
46702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46704 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46706         * scripts/bench.pl: Remove file.
46707         * scripts/bench.py: New benchmark script.
46708         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
46709         * benchtests/README: Mention python dependency.
46710         * scripts/pylintrc: New file.
46711         * scripts/pylint: New file.
46713         * bits/mathdef.h: Use #ifdef instead of #if.
46714         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
46715         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46716         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
46717         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46718         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
46719         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
46721 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46722             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
46724         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
46725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
46726         and strpbrk-ppc64 objects.
46727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46728         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
46729         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
46730         multiarch strpbrk for POWER7.
46731         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
46732         multiarch strpbrk for PPC64.
46733         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
46734         ifunc selector.
46735         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
46736         strpbrk for POWER7.
46738 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46740         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
46741         (atan_test): Likewise.
46742         (atanh_test_data): Use NO_TEST_INLINE for two tests.
46743         (atanh_test): Use ALL_RM_TEST.
46744         (atan2_test_data): Likewise.
46745         (cabs_test): Likewise.
46746         (cacosh_test): Likewise.
46747         (carg_test): Likewise.
46748         (casin_test): Likewise.
46749         (casinh_test): Likewise.
46750         (cbrt_test): Likewise.
46751         (csqrt_test): Likewise.
46752         (erf_test): Likewise.
46753         (erfc_test): Likewise.
46754         (pow10_test): Likewise.
46755         (exp2_test): Likewise.
46756         (hypot_test): Likewise.
46757         (j0_test): Likewise.
46758         (j1_test): Likewise.
46759         (lgamma_test): Likewise.
46760         (gamma_test): Likewise.
46761         (sincos_test): Likewise.
46762         (tanh_test): Likewise.
46763         (y0_test): Likewise.
46764         (y1_test): Likewise.
46765         * sysdeps/i386/fpu/libm-test-ulps: Update.
46766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46768 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46770         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
46771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
46772         and strcspn-ppc64 objects.
46773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46774         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
46775         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
46776         multiarch strcspn for POWER7.
46777         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
46778         multiarch strcspn for PPC64.
46779         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
46780         ifunc selector.
46781         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
46782         strcspn for POWER7.
46784 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
46786         * math/gen-libm-test.pl (generate_testfile): Expect only function
46787         name as argument to AUTO_TESTS_* and pass results for all rounding
46788         modes to parse_args.
46789         (parse_auto_input): Separate inputs of automatic tests from
46790         outputs before storing in %auto_tests.
46791         * math/libm-test.inc (acos_test_data): Update call to
46792         AUTO_TESTS_f_f.
46793         (acos_test): Use ALL_RM_TEST.
46794         (acos_tonearest_test_data): Remove.
46795         (acos_test_tonearest): Likewise.
46796         (acos_towardzero_test_data): Likewise.
46797         (acos_test_towardzero): Likewise.
46798         (acos_downward_test_data): Likewise.
46799         (acos_test_downward): Likewise.
46800         (acos_upward_test_data): Likewise.
46801         (acos_test_upward): Likewise.
46802         (acosh_test_data): Update call to AUTO_TESTS_f_f.
46803         (asin_test_data): Likewise.
46804         (asin_test): Use ALL_RM_TEST.
46805         (asin_tonearest_test_data): Remove.
46806         (asin_test_tonearest): Likewise.
46807         (asin_towardzero_test_data): Likewise.
46808         (asin_test_towardzero): Likewise.
46809         (asin_downward_test_data): Likewise.
46810         (asin_test_downward): Likewise.
46811         (asin_upward_test_data): Likewise.
46812         (asin_test_upward): Likewise.
46813         (asinh_test_data): Update call to AUTO_TESTS_f_f.
46814         (atan_test_data): Likewise.
46815         (atanh_test_data): Likewise.
46816         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
46817         (cabs_test_data): Update call to AUTO_TESTS_c_f.
46818         (carg_test_data): Likewise.
46819         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
46820         (ccos_test_data): Update call to AUTO_TESTS_c_c.
46821         (ccosh_test_data): Likewise.
46822         (cexp_test_data): Likewise.
46823         (clog_test_data): Likewise.
46824         (clog10_test_data): Likewise.
46825         (cos_test_data): Update call to AUTO_TESTS_f_f.
46826         (cos_test): Use ALL_RM_TEST.
46827         (cos_tonearest_test_data): Remove.
46828         (cos_test_tonearest): Likewise.
46829         (cos_towardzero_test_data): Likewise.
46830         (cos_test_towardzero): Likewise.
46831         (cos_downward_test_data): Likewise.
46832         (cos_test_downward): Likewise.
46833         (cos_upward_test_data): Likewise.
46834         (cos_test_upward): Likewise.
46835         (cosh_test_data): Update call to AUTO_TESTS_f_f.
46836         (cosh_test): Use ALL_RM_TEST.
46837         (cosh_tonearest_test_data): Remove.
46838         (cosh_test_tonearest): Likewise.
46839         (cosh_towardzero_test_data): Likewise.
46840         (cosh_test_towardzero): Likewise.
46841         (cosh_downward_test_data): Likewise.
46842         (cosh_test_downward): Likewise.
46843         (cosh_upward_test_data): Likewise.
46844         (cosh_test_upward): Likewise.
46845         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
46846         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
46847         (ctan_test_data): Likewise.
46848         (ctan_test): Use ALL_RM_TEST.
46849         (ctan_tonearest_test_data): Remove.
46850         (ctan_test_tonearest): Likewise.
46851         (ctan_towardzero_test_data): Likewise.
46852         (ctan_test_towardzero): Likewise.
46853         (ctan_downward_test_data): Likewise.
46854         (ctan_test_downward): Likewise.
46855         (ctan_upward_test_data): Likewise.
46856         (ctan_test_upward): Likewise.
46857         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
46858         (ctanh_test): Use ALL_RM_TEST.
46859         (ctanh_tonearest_test_data): Remove.
46860         (ctanh_test_tonearest): Likewise.
46861         (ctanh_towardzero_test_data): Likewise.
46862         (ctanh_test_towardzero): Likewise.
46863         (ctanh_downward_test_data): Likewise.
46864         (ctanh_test_downward): Likewise.
46865         (ctanh_upward_test_data): Likewise.
46866         (ctanh_test_upward): Likewise.
46867         (erf_test_data): Update call to AUTO_TESTS_f_f.
46868         (erfc_test_data): Likewise.
46869         (exp_test_data): Likewise.
46870         (exp_test): Use ALL_RM_TEST.
46871         (exp_tonearest_test_data): Remove.
46872         (exp_test_tonearest): Likewise.
46873         (exp_towardzero_test_data): Likewise.
46874         (exp_test_towardzero): Likewise.
46875         (exp_downward_test_data): Likewise.
46876         (exp_test_downward): Likewise.
46877         (exp_upward_test_data): Likewise.
46878         (exp_test_upward): Likewise.
46879         (exp10_test_data): Update call to AUTO_TESTS_f_f.
46880         (exp10_test): Use ALL_RM_TEST.
46881         (exp10_tonearest_test_data): Remove.
46882         (exp10_test_tonearest): Likewise.
46883         (exp10_towardzero_test_data): Likewise.
46884         (exp10_test_towardzero): Likewise.
46885         (exp10_downward_test_data): Likewise.
46886         (exp10_test_downward): Likewise.
46887         (exp10_upward_test_data): Likewise.
46888         (exp10_test_upward): Likewise.
46889         (exp2_test_data): Update call to AUTO_TESTS_f_f.
46890         (expm1_test_data): Likewise.
46891         (expm1_test): Use ALL_RM_TEST.
46892         (expm1_tonearest_test_data): Remove.
46893         (expm1_test_tonearest): Likewise.
46894         (expm1_towardzero_test_data): Likewise.
46895         (expm1_test_towardzero): Likewise.
46896         (expm1_downward_test_data): Likewise.
46897         (expm1_test_downward): Likewise.
46898         (expm1_upward_test_data): Likewise.
46899         (expm1_test_upward): Likewise.
46900         (fma_test_data): Update call to AUTO_TESTS_fff_f.
46901         (fma_test): Use ALL_RM_TEST.
46902         (fma_towardzero_test_data): Remove.
46903         (fma_test_towardzero): Likewise.
46904         (fma_downward_test_data): Likewise.
46905         (fma_test_downward): Likewise.
46906         (fma_upward_test_data): Likewise.
46907         (fma_test_upward): Likewise.
46908         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
46909         (j0_test_data): Update call to AUTO_TESTS_f_f.
46910         (j1_test_data): Likewise.
46911         (jn_test_data): Update call to AUTO_TESTS_if_f.
46912         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
46913         (log_test_data): Update call to AUTO_TESTS_f_f.
46914         (log10_test_data): Likewise.
46915         (log1p_test_data): Likewise.
46916         (log2_test_data): Likewise.
46917         (pow_test_data): Update call to AUTO_TESTS_ff_f.
46918         (pow_tonearest_test_data): Likewise.
46919         (sin_test_data): Update call to AUTO_TESTS_f_f.
46920         (sin_test): Use ALL_RM_TEST.
46921         (sin_tonearest_test_data): Remove.
46922         (sin_test_tonearest): Likewise.
46923         (sin_towardzero_test_data): Likewise.
46924         (sin_test_towardzero): Likewise.
46925         (sin_downward_test_data): Likewise.
46926         (sin_test_downward): Likewise.
46927         (sin_upward_test_data): Likewise.
46928         (sin_test_upward): Likewise.
46929         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
46930         (sinh_test_data): Update call to AUTO_TESTS_f_f.
46931         (sinh_test): Use ALL_RM_TEST.
46932         (sinh_tonearest_test_data): Remove.
46933         (sinh_test_tonearest): Likewise.
46934         (sinh_towardzero_test_data): Likewise.
46935         (sinh_test_towardzero): Likewise.
46936         (sinh_downward_test_data): Likewise.
46937         (sinh_test_downward): Likewise.
46938         (sinh_upward_test_data): Likewise.
46939         (sinh_test_upward): Likewise.
46940         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
46941         (sqrt_test): Use ALL_RM_TEST.
46942         (sqrt_tonearest_test_data): Remove.
46943         (sqrt_test_tonearest): Likewise.
46944         (sqrt_towardzero_test_data): Likewise.
46945         (sqrt_test_towardzero): Likewise.
46946         (sqrt_downward_test_data): Likewise.
46947         (sqrt_test_downward): Likewise.
46948         (sqrt_upward_test_data): Likewise.
46949         (sqrt_test_upward): Likewise.
46950         (tan_test_data): Update call to AUTO_TESTS_f_f.
46951         (tan_test): Use ALL_RM_TEST.
46952         (tan_tonearest_test_data): Remove.
46953         (tan_test_tonearest): Likewise.
46954         (tan_towardzero_test_data): Likewise.
46955         (tan_test_towardzero): Likewise.
46956         (tan_downward_test_data): Likewise.
46957         (tan_test_downward): Likewise.
46958         (tan_upward_test_data): Likewise.
46959         (tan_test_upward): Likewise.
46960         (tanh_test_data): Update call to AUTO_TESTS_f_f.
46961         (tgamma_test_data): Likewise.
46962         (y0_test_data): Likewise.
46963         (y1_test_data): Likewise.
46964         (yn_test_data): Update call to AUTO_TESTS_if_f.
46965         (main): Do not call removed functions.
46967 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46969         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
46970         (ldexp_test_data): Remove.
46971         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
46972         scalbn_test_data.
46973         (scalb_test): Use ALL_RM_TEST.
46975 2014-03-19  Andreas Schwab  <schwab@suse.de>
46977         * nscd/nscd.service: Also invalidate netgroup cache on reload.
46979 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
46981         [BZ #16649]
46982         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46983         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
46984         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
46985         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46986         (__ASSUME_PREADV): Undefine.
46987         (__ASSUME_PWRITEV): Likewise.
46989 2014-03-18  Roland McGrath  <roland@hack.frob.com>
46991         * bits/mman-linux.h: Add comment about non-Linux use.
46992         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
46993         bits/mman-linux.h resting place.
46995         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
46996         * bits/mman-linux.h: ... here.
46998 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47000         * conform/conformtest.pl: Add standard definition when calling C
47001         preprocessor on data files.
47002         (checknamespace): Remove unused variable.
47004 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47006         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
47007         minus_oflow, plus_uflow and minus_uflow in expected results.
47008         * math/libm-test.inc (scalbn_test_data): Add more tests of
47009         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
47010         minus_uflow.
47011         (scalbn_test): Use ALL_RM_TEST.
47012         (scalbln_test_data): Add more tests of negative arguments.  Use
47013         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
47014         (scalbln_test): Use ALL_RM_TEST.
47016 2014-03-18  Roland McGrath  <roland@hack.frob.com>
47018         * scripts/abilist.awk: Ignore symbols marked with .hidden.
47020 2014-03-18  Will Newton  <will.newton@linaro.org>
47022         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
47023         inaccurate comment.
47025 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
47027         * Makerules [!subdir] (check-abi): Exit with error status if a
47028         test failed.
47030 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47032         * math/libm-test.inc (nearbyint_test_data): Include all tests used
47033         for rint.  Include results for all rounding modes.
47034         (nearbyint_test): Use ALL_RM_TEST.
47035         (rint_test_data): Include all tests used for nearbyint.
47037 2014-03-17  Will Newton  <will.newton@linaro.org>
47039         * nptl/sysdeps/pthread/pthread.h: Revert previous
47040         change.
47042         * sysdeps/generic/ldsodefs.h: Revert previous
47043         change.
47045         * libio/genops.c: Revert previous change.
47046         * libio/libioP.h: Likewise.
47047         * stdio-common/vfprintf.c: Likewise.
47049         * sysdeps/generic/math_private.h: Revert previous
47050         change.
47052         * sysdeps/generic/math_private.h: Check whether
47053         HAVE_RM_CTX is defined with #ifdef rather
47054         than #if.
47056         * argp/argp-fmtstream.h: Check whether
47057         __STRICT_ANSI__ is defined with #ifdef rather
47058         than #if.
47059         * argp/argp.h: Likewise.
47061         * libio/genops.c: Check whether
47062         _IO_JUMPS_OFFSET is defined with #ifdef rather
47063         than #if.
47064         * libio/libioP.h: Likewise.
47065         * stdio-common/vfprintf.c: Likewise.
47067         * sysdeps/generic/ldsodefs.h: Check whether
47068         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
47069         than #if.
47071         * nptl/sysdeps/pthread/pthread.h: Check
47072         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
47073         its value.
47075 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47077         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
47078         setting O_APPEND.
47079         * libio/tst-ftell-active-handler.c (do_append_test): Add a
47080         test case.
47082         [BZ #16680]
47083         * libio/fileops.c (_IO_file_open): Seek to end of file but
47084         don't cache the offset.
47085         (get_file_offset): Remove function.
47086         (do_ftell): Use cached offset when available.
47087         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
47088         don't cache the offset.
47089         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
47090         case.
47091         (do_one_test): Call it.
47092         (do_ftell_test): Fix up expected old offset for a+ mode.
47093         * libio/wfileops.c (do_ftell_wide): Used cached offset when
47094         available.
47096         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
47097         up test status with function return status.
47098         (do_write_test): Likewise.
47099         (do_append_test): Likewise.
47101         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
47102         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
47103         Remove.
47105 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
47107         * math/gen-libm-test.pl (parse_args): Handle results specified for
47108         each rounding mode separately.
47109         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
47110         tests and results from lrint_tonearest_test_data,
47111         lrint_towardzero_test_data, lrint_downward_test_data and
47112         lrint_upward_test_data.
47113         (lrint_test): Use ALL_RM_TEST.
47114         (lrint_tonearest_test_data): Remove.
47115         (lrint_test_tonearest): Likewise.
47116         (lrint_towardzero_test_data): Likewise.
47117         (lrint_test_towardzero): Likewise.
47118         (lrint_downward_test_data): Likewise.
47119         (lrint_test_downward): Likewise.
47120         (lrint_upward_test_data): Likewise.
47121         (lrint_test_upward): Likewise.
47122         (llrint_test_data): Merge in per-rounding-mode tests and results
47123         from llrint_tonearest_test_data, llrint_towardzero_test_data,
47124         llrint_downward_test_data and llrint_upward_test_data.
47125         (llrint_test): Use ALL_RM_TEST.
47126         (llrint_tonearest_test_data): Remove.
47127         (llrint_test_tonearest): Likewise.
47128         (llrint_towardzero_test_data): Likewise.
47129         (llrint_test_towardzero): Likewise.
47130         (llrint_downward_test_data): Likewise.
47131         (llrint_test_downward): Likewise.
47132         (llrint_upward_test_data): Likewise.
47133         (llrint_test_upward): Likewise.
47134         (rint_test_data): Merge in per-rounding-mode tests and results
47135         from rint_tonearest_test_data, rint_towardzero_test_data,
47136         rint_downward_test_data and rint_upward_test_data.  Add
47137         per-rounding-mode results for tests not in those arrays.
47138         (rint_test): Use ALL_RM_TEST.
47139         (rint_tonearest_test_data): Remove.
47140         (rint_test_tonearest): Likewise.
47141         (rint_towardzero_test_data): Likewise.
47142         (rint_test_towardzero): Likewise.
47143         (rint_downward_test_data): Likewise.
47144         (rint_test_downward): Likewise.
47145         (rint_upward_test_data): Likewise.
47146         (rint_test_upward): Likewise.
47147         (main): Don't call removed functions.
47149 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47151         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
47152         "Compiled on ..." crapola.  It is anti-useful.
47154 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
47156         * scripts/evaluate-test.sh: Handle fourth argument to determine
47157         whether test run should stop on failure.
47158         * Makeconfig (stop-on-test-failure): New variable.
47159         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
47160         $(stop-on-test-failure).
47161         * Makefile (tests): Give a summary of results from testing and
47162         exit with failure status if they include an ERROR or FAIL.
47163         (xtests): Likewise.
47164         * manual/install.texi (Configuring and compiling): Mention
47165         stop-on-test-failure=y.
47166         * INSTALL: Regenerated.
47168 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47170         * scripts/versionlist.awk: New file.
47171         * Makerules [$(build-shared) = yes]
47172         (postclean-generated): Add Versions.def, not Versions.def.v and
47173         Versions.def.v.i.
47174         ($(common-objpfx)Versions.def.v.i): Target removed.
47175         ($(common-objpfx)Versions.def): New target.
47176         ($(common-objpfx)Versions.all): Depend on that rather that
47177         $(common-objpfx)Versions.def.v.
47178         * Versions.def: File removed.
47180         * Makeconfig (+gccwarn): Add -Wundef.
47181         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
47182         a dl-sysdep.h breaking its contract.
47183         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
47184         * include/stackinfo.h: New file.
47185         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
47186         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
47187         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
47188         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
47189         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
47190         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
47191         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47192         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47193         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47194         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47195         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47196         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
47197         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47198         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47199         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
47201 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47203         [BZ #16707]
47204         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
47205         implementation.
47206         * math/libm-test.inc (round_test_data): Add more tests.
47208         [BZ #16706]
47209         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
47210         implementation.
47211         * math/libm-test.inc (nearbyint_test_data): Add more tests.
47213         [BZ #16701]
47214         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
47215         implementation.
47216         * math/libm-test.inc (ceil_test_data): Add more tests.
47218         * math/libm-test.inc (trunc_test_data): Add more tests related to
47219         BZ#16414.
47221 2014-03-14  Roland McGrath  <roland@hack.frob.com>
47223         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
47224         with #if rather than #ifdef.
47225         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
47227 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
47229         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
47230         first.  Disable AVX-512 GCC support if assembler doesn't support
47231         it.
47232         * sysdeps/x86_64/configure: Regenerated.
47234 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
47236         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
47237         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
47238         (__old_pthread_attr_setstack): Likewise.
47239         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
47240         [!_STACK_GROWS_DOWN]: Likewise.
47242 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
47244         * config.make.in (have-bash2): Delete.
47245         * configure.ac (libc_cv_have_bash2): Delete.
47246         * configure: Regenerate.
47247         * elf/Makefile (common-ldd-rewrite): Rename to ...
47248         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
47249         (sh-ldd-rewrite): Delete.
47250         (bash-ldd-rewrite): Delete.
47251         (have-bash2): Delete checks.
47252         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
47253         ldd-rewrite.
47255         * config.make.in (have-ksh): Delete.
47256         (KSH): Delete.
47257         * configure.ac (libc_cv_have_ksh): Delete.
47258         * configure: Regenerate.
47260         * elf/Makefile: Delete $(have-ksh) check.
47261         ($(objpfx)sotruss): Change KSH to BASH.
47262         * elf/sotruss.ksh: Rename to ...
47263         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
47264         function style to match POSIX.  Drop ksh vim mode setting.
47266         * manual/time.texi (Specifying the Time Zone with TZ): Change
47267         Tuesday to Thursday.
47269         * debug/tst-longjmp_chk2.c: Update header comment.
47270         (stackoverflow_handler): Add comment.  Call assert on pass value.
47272 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
47274         [BZ #16194]
47275         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
47276         (HAVE_AVX512_ASM_SUPPORT): Likewise.
47277         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
47278         (La_x86_64_vector): Add zmm.
47279         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
47280         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
47281         ($(objpfx)tst-audit10): New target.
47282         ($(objpfx)tst-audit10.out): Likewise.
47283         (tst-audit10-ENV): New.
47284         (AVX512-CFLAGS): Likewise.
47285         (CFLAGS-tst-audit10.c): Likewise.
47286         (CFLAGS-tst-auditmod10a.c): Likewise.
47287         (CFLAGS-tst-auditmod10b.c): Likewise.
47288         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
47289         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
47290         * sysdeps/x86_64/configure: Regenerated.
47291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
47292         AVX-512 zmm register support.
47293         (_dl_x86_64_save_sse): Likewise.
47294         (_dl_x86_64_restore_sse): Likewise.
47295         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
47296         size vector registers.
47297         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
47298         (ZMM_SIZE): Likewise.
47299         * sysdeps/x86_64/tst-audit10.c: New file.
47300         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
47301         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
47303 2014-03-13  Roland McGrath  <roland@hack.frob.com>
47305         * configure.ac (HAVE_EHDR_START): New check.
47306         * configure: Regenerated.
47307         * config.h.in (HAVE_EHDR_START): New #undef.
47308         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
47309         assuming the lowest-addressed segment maps the start of the file.
47311 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
47313         * INSTALL: Regenerated.
47315 2014-03-13  Will Newton  <will.newton@linaro.org>
47317         * manual/setjmp.texi (System V contexts): Improve
47318         clarity and grammar of documentation.
47320 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
47322         [BZ #16381]
47323         * elf/Makefile (tests): Add tst-pie2.
47324         (tests-pie): Add tst-pie2.
47325         * elf/tst-pie2.c: New file.
47326         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
47327         for ET_EXEC.
47328         * elf/rtld.c (map_doit): Load executable as lt_executable.
47329         (dl_main): Likewise.
47331 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
47333         [BZ #16642]
47334         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47335         (__ASSUME_PSELECT): Undefine.
47337 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47339         [BZ #16689]
47340         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
47341         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
47342         static build.
47343         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
47344         selector for static builds.
47346 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47348         [BZ #16695]
47349         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
47350         key in the buffer.
47352 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47354         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
47355         IFUNC selector for static builds.
47357 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
47359         * sysdeps/mips/math_private.h [__mips_hard_float]
47360         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
47361         libc_feresetround_mips_ctx.
47362         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
47363         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
47364         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
47366         [BZ #16677]
47367         * math/s_nextafter.c (__nextafter): Do not return value from
47368         overflowing computation.
47369         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
47370         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
47371         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
47372         Likewise.
47373         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
47374         Likewise.
47375         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
47376         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
47378 2014-03-11  Roland McGrath  <roland@hack.frob.com>
47380         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
47381         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
47382         Move sfi_sp use from the load-multiple (that no longer sets sp) to
47383         the new mov targetting sp.
47385 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47387         [BZ #16683]
47388         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
47389         Define it for static builds as well.
47390         (NO_BZERO_IMPL): Likewise.
47392 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47394         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
47395         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
47396         multiarch strspn for PPC64.
47397         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
47398         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
47399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47400         (__libc_ifunc_impl_list): Likewise.
47401         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
47402         multiarch optimizations
47403         * string/strspn.c (strspn): Using macro to redefine symbol name.
47405 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47406             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47408         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
47409         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
47410         multiarch strncat for PPC64.
47411         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
47412         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
47413         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47414         (__libc_ifunc_impl_list): Likewise.
47415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
47416         multiarch optimizations
47418 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47420         [BZ #16639]
47421         * nscd/nscd.service: Make service type forking.
47423 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47425         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
47426         sign in non default rounding modes.
47427         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
47429 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
47431         * math/libm-test.inc (ALL_RM_TEST): New macro.
47432         (ceil_test): Use ALL_RM_TEST.
47433         (cimag_test): Likewise.
47434         (conj_test): Likewise.
47435         (copysign_test): Likewise.
47436         (cproj_test): Likewise.
47437         (creal_test): Likewise.
47438         (fabs_test): Likewise.
47439         (floor_test): Likewise.
47440         (fmax_test): Likewise.
47441         (fmin_test): Likewise.
47442         (fmod_test): Likewise.
47443         (fpclassify_test): Likewise.
47444         (frexp_test): Likewise.
47445         (ilogb_test): Likewise.
47446         (isfinite_test): Likewise.
47447         (finite_test): Likewise.
47448         (isgreater_test): Likewise.
47449         (isgreaterequal_test): Likewise.
47450         (isinf_test): Likewise.
47451         (isless_test): Likewise.
47452         (islessequal_test): Likewise.
47453         (islessgreater_test): Likewise.
47454         (isnan_test): Likewise.
47455         (isnormal_test): Likewise.
47456         (issignaling_test): Likewise.
47457         (isunordered_test): Likewise.
47458         (logb_test): Likewise.
47459         (logb_downward_test_data): Remove.
47460         (logb_test_downward): Likewise.
47461         (lround_test): Use ALL_RM_TEST.
47462         (llround_test): Likewise.
47463         (modf_test): Likewise.
47464         (nexttoward_test): Likewise.
47465         (remainder_test): Likewise.
47466         (drem_test): Likewise.
47467         (remainder_tonearest_test_data): Likewise.
47468         (remainder_test_tonearest): Likewise.
47469         (drem_test_tonearest): Likewise.
47470         (remainder_towardzero_test_data): Likewise.
47471         (remainder_test_towardzero): Likewise.
47472         (drem_test_towardzero): Likewise.
47473         (remainder_downward_test_data): Likewise.
47474         (remainder_test_downward): Likewise.
47475         (drem_test_downward): Likewise.
47476         (remainder_upward_test_data): Likewise.
47477         (remainder_test_upward): Likewise.
47478         (drem_test_upward): Likewise.
47479         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
47480         (round_test): Use ALL_RM_TEST.
47481         (signbit_test): Likewise.
47482         (trunc_test): Likewise.
47483         (significand_test): Likewise.
47484         (main): Don't call removed functions.
47486 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47488         [BZ #16674]
47489         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
47490         || __USE_XOPEN2K8].
47491         (ILL_ILLOPN): Likewise.
47492         (ILL_ILLADR): Likewise.
47493         (ILL_ILLTRP): Likewise.
47494         (ILL_PRVOPC): Likewise.
47495         (ILL_PRVREG): Likewise.
47496         (ILL_COPROC): Likewise.
47497         (ILL_BADSTK): Likewise.
47498         (FPE_INTDIV): Likewise.
47499         (FPE_INTOVF): Likewise.
47500         (FPE_FLTDIV): Likewise.
47501         (FPE_FLTOVF): Likewise.
47502         (FPE_FLTUND): Likewise.
47503         (FPE_FLTRES): Likewise.
47504         (FPE_FLTINV): Likewise.
47505         (FPE_FLTSUB): Likewise.
47506         (SEGV_MAPERR): Likewise.
47507         (SEGV_ACCERR): Likewise.
47508         (BUS_ADRALN): Likewise.
47509         (BUS_ADRERR): Likewise.
47510         (BUS_OBJERR): Likewise.
47511         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47512         (TRAP_TRACE): Likewise.
47513         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47514         __USE_XOPEN2K8].
47515         (CLD_KILLED): Likewise.
47516         (CLD_DUMPED): Likewise.
47517         (CLD_TRAPPED): Likewise.
47518         (CLD_STOPPED): Likewise.
47519         (CLD_CONTINUED): Likewise.
47520         (POLL_IN): Likewise.
47521         (POLL_OUT): Likewise.
47522         (POLL_MSG): Likewise.
47523         (POLL_ERR): Likewise.
47524         (POLL_PRI): Likewise.
47525         (POLL_HUP): Likewise.
47526         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
47527         Likewise.
47528         (ILL_ILLOPN): Likewise.
47529         (ILL_ILLADR): Likewise.
47530         (ILL_ILLTRP): Likewise.
47531         (ILL_PRVOPC): Likewise.
47532         (ILL_PRVREG): Likewise.
47533         (ILL_COPROC): Likewise.
47534         (ILL_BADSTK): Likewise.
47535         (FPE_INTDIV): Likewise.
47536         (FPE_INTOVF): Likewise.
47537         (FPE_FLTDIV): Likewise.
47538         (FPE_FLTOVF): Likewise.
47539         (FPE_FLTUND): Likewise.
47540         (FPE_FLTRES): Likewise.
47541         (FPE_FLTINV): Likewise.
47542         (FPE_FLTSUB): Likewise.
47543         (SEGV_MAPERR): Likewise.
47544         (SEGV_ACCERR): Likewise.
47545         (BUS_ADRALN): Likewise.
47546         (BUS_ADRERR): Likewise.
47547         (BUS_OBJERR): Likewise.
47548         (BUS_MCEERR_AR): Likewise.
47549         (BUS_MCEERR_AO): Likewise.
47550         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47551         (TRAP_TRACE): Likewise.
47552         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47553         __USE_XOPEN2K8].
47554         (CLD_KILLED): Likewise.
47555         (CLD_DUMPED): Likewise.
47556         (CLD_TRAPPED): Likewise.
47557         (CLD_STOPPED): Likewise.
47558         (CLD_CONTINUED): Likewise.
47559         (POLL_IN): Likewise.
47560         (POLL_OUT): Likewise.
47561         (POLL_MSG): Likewise.
47562         (POLL_ERR): Likewise.
47563         (POLL_PRI): Likewise.
47564         (POLL_HUP): Likewise.
47565         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
47566         (ILL_ILLOPN): Likewise.
47567         (ILL_ILLADR): Likewise.
47568         (ILL_ILLTRP): Likewise.
47569         (ILL_PRVOPC): Likewise.
47570         (ILL_PRVREG): Likewise.
47571         (ILL_COPROC): Likewise.
47572         (ILL_BADSTK): Likewise.
47573         (FPE_INTDIV): Likewise.
47574         (FPE_INTOVF): Likewise.
47575         (FPE_FLTDIV): Likewise.
47576         (FPE_FLTOVF): Likewise.
47577         (FPE_FLTUND): Likewise.
47578         (FPE_FLTRES): Likewise.
47579         (FPE_FLTINV): Likewise.
47580         (FPE_FLTSUB): Likewise.
47581         (SEGV_MAPERR): Likewise.
47582         (SEGV_ACCERR): Likewise.
47583         (BUS_ADRALN): Likewise.
47584         (BUS_ADRERR): Likewise.
47585         (BUS_OBJERR): Likewise.
47586         (BUS_MCEERR_AR): Likewise.
47587         (BUS_MCEERR_AO): Likewise.
47588         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47589         (TRAP_TRACE): Likewise.
47590         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47591         __USE_XOPEN2K8].
47592         (CLD_KILLED): Likewise.
47593         (CLD_DUMPED): Likewise.
47594         (CLD_TRAPPED): Likewise.
47595         (CLD_STOPPED): Likewise.
47596         (CLD_CONTINUED): Likewise.
47597         (POLL_IN): Likewise.
47598         (POLL_OUT): Likewise.
47599         (POLL_MSG): Likewise.
47600         (POLL_ERR): Likewise.
47601         (POLL_PRI): Likewise.
47602         (POLL_HUP): Likewise.
47603         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
47604         Likewise.
47605         (ILL_ILLOPN): Likewise.
47606         (ILL_ILLADR): Likewise.
47607         (ILL_ILLTRP): Likewise.
47608         (ILL_PRVOPC): Likewise.
47609         (ILL_PRVREG): Likewise.
47610         (ILL_COPROC): Likewise.
47611         (ILL_BADSTK): Likewise.
47612         (ILL_BADIADDR): Likewise.
47613         (ILL_BREAK): Likewise.
47614         (FPE_INTDIV): Likewise.
47615         (FPE_INTOVF): Likewise.
47616         (FPE_FLTDIV): Likewise.
47617         (FPE_FLTOVF): Likewise.
47618         (FPE_FLTUND): Likewise.
47619         (FPE_FLTRES): Likewise.
47620         (FPE_FLTINV): Likewise.
47621         (FPE_FLTSUB): Likewise.
47622         (FPE_DECOVF): Likewise.
47623         (FPE_DECDIV): Likewise.
47624         (FPE_DECERR): Likewise.
47625         (FPE_INVASC): Likewise.
47626         (FPE_INVDEC): Likewise.
47627         (SEGV_MAPERR): Likewise.
47628         (SEGV_ACCERR): Likewise.
47629         (SEGV_PSTKOVF): Likewise.
47630         (BUS_ADRALN): Likewise.
47631         (BUS_ADRERR): Likewise.
47632         (BUS_OBJERR): Likewise.
47633         (BUS_MCEERR_AR): Likewise.
47634         (BUS_MCEERR_AO): Likewise.
47635         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47636         (TRAP_TRACE): Likewise.
47637         (TRAP_BRANCH): Likewise.
47638         (TRAP_HWBKPT): Likewise.
47639         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47640         __USE_XOPEN2K8].
47641         (CLD_KILLED): Likewise.
47642         (CLD_DUMPED): Likewise.
47643         (CLD_TRAPPED): Likewise.
47644         (CLD_STOPPED): Likewise.
47645         (CLD_CONTINUED): Likewise.
47646         (POLL_IN): Likewise.
47647         (POLL_OUT): Likewise.
47648         (POLL_MSG): Likewise.
47649         (POLL_ERR): Likewise.
47650         (POLL_PRI): Likewise.
47651         (POLL_HUP): Likewise.
47652         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
47653         (ILL_ILLOPN): Likewise.
47654         (ILL_ILLADR): Likewise.
47655         (ILL_ILLTRP): Likewise.
47656         (ILL_PRVOPC): Likewise.
47657         (ILL_PRVREG): Likewise.
47658         (ILL_COPROC): Likewise.
47659         (ILL_BADSTK): Likewise.
47660         (FPE_INTDIV): Likewise.
47661         (FPE_INTOVF): Likewise.
47662         (FPE_FLTDIV): Likewise.
47663         (FPE_FLTOVF): Likewise.
47664         (FPE_FLTUND): Likewise.
47665         (FPE_FLTRES): Likewise.
47666         (FPE_FLTINV): Likewise.
47667         (FPE_FLTSUB): Likewise.
47668         (SEGV_MAPERR): Likewise.
47669         (SEGV_ACCERR): Likewise.
47670         (BUS_ADRALN): Likewise.
47671         (BUS_ADRERR): Likewise.
47672         (BUS_OBJERR): Likewise.
47673         (BUS_MCEERR_AR): Likewise.
47674         (BUS_MCEERR_AO): Likewise.
47675         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47676         (TRAP_TRACE): Likewise.
47677         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47678         __USE_XOPEN2K8].
47679         (CLD_KILLED): Likewise.
47680         (CLD_DUMPED): Likewise.
47681         (CLD_TRAPPED): Likewise.
47682         (CLD_STOPPED): Likewise.
47683         (CLD_CONTINUED): Likewise.
47684         (POLL_IN): Likewise.
47685         (POLL_OUT): Likewise.
47686         (POLL_MSG): Likewise.
47687         (POLL_ERR): Likewise.
47688         (POLL_PRI): Likewise.
47689         (POLL_HUP): Likewise.
47690         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
47691         (ILL_ILLOPN): Likewise.
47692         (ILL_ILLADR): Likewise.
47693         (ILL_ILLTRP): Likewise.
47694         (ILL_PRVOPC): Likewise.
47695         (ILL_PRVREG): Likewise.
47696         (ILL_COPROC): Likewise.
47697         (ILL_BADSTK): Likewise.
47698         (FPE_INTDIV): Likewise.
47699         (FPE_INTOVF): Likewise.
47700         (FPE_FLTDIV): Likewise.
47701         (FPE_FLTOVF): Likewise.
47702         (FPE_FLTUND): Likewise.
47703         (FPE_FLTRES): Likewise.
47704         (FPE_FLTINV): Likewise.
47705         (FPE_FLTSUB): Likewise.
47706         (SEGV_MAPERR): Likewise.
47707         (SEGV_ACCERR): Likewise.
47708         (BUS_ADRALN): Likewise.
47709         (BUS_ADRERR): Likewise.
47710         (BUS_OBJERR): Likewise.
47711         (BUS_MCEERR_AR): Likewise.
47712         (BUS_MCEERR_AO): Likewise.
47713         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47714         (TRAP_TRACE): Likewise.
47715         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47716         __USE_XOPEN2K8].
47717         (CLD_KILLED): Likewise.
47718         (CLD_DUMPED): Likewise.
47719         (CLD_TRAPPED): Likewise.
47720         (CLD_STOPPED): Likewise.
47721         (CLD_CONTINUED): Likewise.
47722         (POLL_IN): Likewise.
47723         (POLL_OUT): Likewise.
47724         (POLL_MSG): Likewise.
47725         (POLL_ERR): Likewise.
47726         (POLL_PRI): Likewise.
47727         (POLL_HUP): Likewise.
47728         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
47729         (ILL_ILLOPN): Likewise.
47730         (ILL_ILLADR): Likewise.
47731         (ILL_ILLTRP): Likewise.
47732         (ILL_PRVOPC): Likewise.
47733         (ILL_PRVREG): Likewise.
47734         (ILL_COPROC): Likewise.
47735         (ILL_BADSTK): Likewise.
47736         (FPE_INTDIV): Likewise.
47737         (FPE_INTOVF): Likewise.
47738         (FPE_FLTDIV): Likewise.
47739         (FPE_FLTOVF): Likewise.
47740         (FPE_FLTUND): Likewise.
47741         (FPE_FLTRES): Likewise.
47742         (FPE_FLTINV): Likewise.
47743         (FPE_FLTSUB): Likewise.
47744         (SEGV_MAPERR): Likewise.
47745         (SEGV_ACCERR): Likewise.
47746         (BUS_ADRALN): Likewise.
47747         (BUS_ADRERR): Likewise.
47748         (BUS_OBJERR): Likewise.
47749         (BUS_MCEERR_AR): Likewise.
47750         (BUS_MCEERR_AO): Likewise.
47751         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47752         (TRAP_TRACE): Likewise.
47753         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47754         __USE_XOPEN2K8].
47755         (CLD_KILLED): Likewise.
47756         (CLD_DUMPED): Likewise.
47757         (CLD_TRAPPED): Likewise.
47758         (CLD_STOPPED): Likewise.
47759         (CLD_CONTINUED): Likewise.
47760         (POLL_IN): Likewise.
47761         (POLL_OUT): Likewise.
47762         (POLL_MSG): Likewise.
47763         (POLL_ERR): Likewise.
47764         (POLL_PRI): Likewise.
47765         (POLL_HUP): Likewise.
47766         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
47767         (ILL_ILLOPN): Likewise.
47768         (ILL_ILLADR): Likewise.
47769         (ILL_ILLTRP): Likewise.
47770         (ILL_PRVOPC): Likewise.
47771         (ILL_PRVREG): Likewise.
47772         (ILL_COPROC): Likewise.
47773         (ILL_BADSTK): Likewise.
47774         (ILL_DBLFLT): Likewise.
47775         (ILL_HARDWALL): Likewise.
47776         (FPE_INTDIV): Likewise.
47777         (FPE_INTOVF): Likewise.
47778         (FPE_FLTDIV): Likewise.
47779         (FPE_FLTOVF): Likewise.
47780         (FPE_FLTUND): Likewise.
47781         (FPE_FLTRES): Likewise.
47782         (FPE_FLTINV): Likewise.
47783         (FPE_FLTSUB): Likewise.
47784         (SEGV_MAPERR): Likewise.
47785         (SEGV_ACCERR): Likewise.
47786         (BUS_ADRALN): Likewise.
47787         (BUS_ADRERR): Likewise.
47788         (BUS_OBJERR): Likewise.
47789         (BUS_MCEERR_AR): Likewise.
47790         (BUS_MCEERR_AO): Likewise.
47791         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47792         (TRAP_TRACE): Likewise.
47793         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47794         __USE_XOPEN2K8].
47795         (CLD_KILLED): Likewise.
47796         (CLD_DUMPED): Likewise.
47797         (CLD_TRAPPED): Likewise.
47798         (CLD_STOPPED): Likewise.
47799         (CLD_CONTINUED): Likewise.
47800         (POLL_IN): Likewise.
47801         (POLL_OUT): Likewise.
47802         (POLL_MSG): Likewise.
47803         (POLL_ERR): Likewise.
47804         (POLL_PRI): Likewise.
47805         (POLL_HUP): Likewise.
47806         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
47807         (ILL_ILLOPN): Likewise.
47808         (ILL_ILLADR): Likewise.
47809         (ILL_ILLTRP): Likewise.
47810         (ILL_PRVOPC): Likewise.
47811         (ILL_PRVREG): Likewise.
47812         (ILL_COPROC): Likewise.
47813         (ILL_BADSTK): Likewise.
47814         (FPE_INTDIV): Likewise.
47815         (FPE_INTOVF): Likewise.
47816         (FPE_FLTDIV): Likewise.
47817         (FPE_FLTOVF): Likewise.
47818         (FPE_FLTUND): Likewise.
47819         (FPE_FLTRES): Likewise.
47820         (FPE_FLTINV): Likewise.
47821         (FPE_FLTSUB): Likewise.
47822         (SEGV_MAPERR): Likewise.
47823         (SEGV_ACCERR): Likewise.
47824         (BUS_ADRALN): Likewise.
47825         (BUS_ADRERR): Likewise.
47826         (BUS_OBJERR): Likewise.
47827         (BUS_MCEERR_AR): Likewise.
47828         (BUS_MCEERR_AO): Likewise.
47829         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
47830         (TRAP_TRACE): Likewise.
47831         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
47832         __USE_XOPEN2K8].
47833         (CLD_KILLED): Likewise.
47834         (CLD_DUMPED): Likewise.
47835         (CLD_TRAPPED): Likewise.
47836         (CLD_STOPPED): Likewise.
47837         (CLD_CONTINUED): Likewise.
47838         (POLL_IN): Likewise.
47839         (POLL_OUT): Likewise.
47840         (POLL_MSG): Likewise.
47841         (POLL_ERR): Likewise.
47842         (POLL_PRI): Likewise.
47843         (POLL_HUP): Likewise.
47844         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
47845         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
47847         [BZ #16670]
47848         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
47849         before #include of <time.h>.
47850         [!__USE_XOPEN2K] (__need_timespec): Likewise.
47851         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
47852         (test-xfail-UNIX98/sched.h/conform): Likewise.
47854 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47856         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
47857         error absence of trapping exception support.
47858         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47860 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
47862         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
47863         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
47864         * timezone/Makefile (testdata): Move definition above include of
47865         Rules.
47866         (test-zones): New variable.
47867         (tests-special): Add zone files.
47868         (build-testdata): Use $(evaluate-test).
47870         * elf/Makefile (tests-special): Rename tests to end with .out.
47871         ($(objpfx)noload-mem): Likewise.
47872         ($(objpfx)tst-leaks1-mem): Likewise.
47873         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
47874         * iconv/Makefile (xtests-special): Change test-iconvconfig to
47875         $(objpfx)test-iconvconfig.out.
47876         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
47877         set -e inside subshell and redirect output to file.
47878         * iconvdata/Makefile (generated): Rename tests to end with .out.
47879         Correct type.
47880         (tests-special): Rename tests to end with .out.
47881         ($(objpfx)mtrace-tst-loading): Likewise.
47882         * intl/Makefile (generated): Likewise.
47883         (tests-special): Likewise.
47884         ($(objpfx)mtrace-tst-gettext): Likewise.
47885         * misc/Makefile (generated): Likewise.
47886         (tests-special): Likewise.
47887         ($(objpfx)tst-error1-mem): Likewise.
47888         * nptl/Makefile (tests-special): Likewise.
47889         ($(objpfx)tst-stack3-mem): Likewise.
47890         (generated): Likewise.
47891         * posix/Makefile (generated): Likewise.
47892         (tests-special): Likewise.
47893         (xtests-special): Likewise.
47894         ($(objpfx)tst-fnmatch-mem): Likewise.
47895         ($(objpfx)bug-regex2-mem): Likewise.
47896         ($(objpfx)bug-regex14-mem): Likewise.
47897         ($(objpfx)bug-regex21-mem): Likewise.
47898         ($(objpfx)bug-regex31-mem): Likewise.
47899         ($(objpfx)tst-vfork3-mem): Likewise.
47900         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
47901         ($(objpfx)tst-pcre-mem): Likewise.
47902         ($(objpfx)tst-boost-mem): Likewise.
47903         ($(objpfx)bug-ga2-mem): Likewise.
47904         ($(objpfx)bug-glob2-mem): Likewise.
47905         * resolv/Makefile (generate): Likewise.
47906         (tests-special): Likewise.
47907         (xtests-special): Likewise.
47908         (generated): Likewise.
47909         ($(objpfx)mtrace-tst-leaks): Likewise.
47910         ($(objpfx)mtrace-tst-leaks2): Likewise.
47912         * scripts/merge-test-results.sh: New file.
47913         * Makefile (tests-special-notdir): New variable.
47914         (tests): Run merge-test-results.sh.
47915         (xtests): Likewise.
47916         * Rules (tests-special-notdir): New variable.
47917         (xtests-special-notdir): Likewise.
47918         (tests): Run merge-test-results.sh
47919         (xtests): Likewise.
47921         * Makeconfig (test-xfail-name): New variable.
47922         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
47923         compute variable name for expected failures.
47924         * conform/Makefile (conformtest-headers-data): New variable.
47925         (conformtest-standards): Likewise.
47926         (conformtest-headers-ISO): Likewise.
47927         (conformtest-headers-ISO99): Likewise.
47928         (conformtest-headers-ISO11): Likewise.
47929         (conformtest-headers-POSIX): Likewise.
47930         (conformtest-headers-XPG3): Likewise.
47931         (conformtest-headers-XPG4): Likewise.
47932         (conformtest-headers-UNIX98): Likewise.
47933         (conformtest-headers-XOPEN2K): Likewise.
47934         (conformtest-headers-POSIX2008): Likewise.
47935         (conformtest-headers-XOPEN2K8): Likewise.
47936         (conformtest-header-list-base): Likewise.
47937         (conformtest-header-list-tests): Likewise.
47938         (conformtest-header-base): Likewise.
47939         (conformtest-header-tests): Likewise.
47940         (tests-special): Add $(conformtest-header-list-tests).  If
47941         [$(fast-check) && !$(cross-compiling)], add
47942         $(conformtest-header-tests) instead of
47943         $(objpfx)run-conformtest.out.
47944         (generated): Add $(conformtest-header-list-base).  If
47945         [$(fast-check) && !$(cross-compiling)], add
47946         $(conformtest-header-base).  Remove previous setting.
47947         ($(conformtest-header-list-tests)): New target.
47948         (test-xfail-run-conformtest): Remove variable.
47949         ($(objpfx)run-conformtest.out): Remove target.
47950         (test-xfail-ISO11/complex.h/conform): New variable.
47951         (test-xfail-ISO11/stdalign.h/conform): Likewise.
47952         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
47953         (test-xfail-XPG3/varargs.h/conform): Likewise.
47954         (test-xfail-XPG4/varargs.h/conform): Likewise.
47955         (test-xfail-UNIX98/varargs.h/conform): Likewise.
47956         (test-xfail-XPG4/ndbm.h/conform): Likewise.
47957         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
47958         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
47959         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
47960         (test-xfail-XPG3/fcntl.h/conform): Likewise.
47961         (test-xfail-XPG3/ftw.h/conform): Likewise.
47962         (test-xfail-XPG3/grp.h/conform): Likewise.
47963         (test-xfail-XPG3/langinfo.h/conform): Likewise.
47964         (test-xfail-XPG3/limits.h/conform): Likewise.
47965         (test-xfail-XPG3/pwd.h/conform): Likewise.
47966         (test-xfail-XPG3/search.h/conform): Likewise.
47967         (test-xfail-XPG3/signal.h/conform): Likewise.
47968         (test-xfail-XPG3/stdio.h/conform): Likewise.
47969         (test-xfail-XPG3/stdlib.h/conform): Likewise.
47970         (test-xfail-XPG3/string.h/conform): Likewise.
47971         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
47972         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
47973         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
47974         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
47975         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
47976         (test-xfail-XPG3/sys/types.h/conform): Likewise.
47977         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
47978         (test-xfail-XPG3/termios.h/conform): Likewise.
47979         (test-xfail-XPG3/time.h/conform): Likewise.
47980         (test-xfail-XPG3/unistd.h/conform): Likewise.
47981         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
47982         (test-xfail-XPG4/fcntl.h/conform): Likewise.
47983         (test-xfail-XPG4/langinfo.h/conform): Likewise.
47984         (test-xfail-XPG4/netdb.h/conform): Likewise.
47985         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
47986         (test-xfail-XPG4/signal.h/conform): Likewise.
47987         (test-xfail-XPG4/stdio.h/conform): Likewise.
47988         (test-xfail-XPG4/stdlib.h/conform): Likewise.
47989         (test-xfail-XPG4/stropts.h/conform): Likewise.
47990         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
47991         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
47992         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
47993         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
47994         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
47995         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
47996         (test-xfail-XPG4/sys/time.h/conform): Likewise.
47997         (test-xfail-XPG4/sys/types.h/conform): Likewise.
47998         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
47999         (test-xfail-XPG4/termios.h/conform): Likewise.
48000         (test-xfail-XPG4/ucontext.h/conform): Likewise.
48001         (test-xfail-XPG4/unistd.h/conform): Likewise.
48002         (test-xfail-XPG4/utmpx.h/conform): Likewise.
48003         (test-xfail-POSIX/sched.h/conform): Likewise.
48004         (test-xfail-POSIX/signal.h/conform): Likewise.
48005         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
48006         (test-xfail-POSIX/tar.h/conform): Likewise.
48007         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
48008         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
48009         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
48010         (test-xfail-UNIX98/netdb.h/conform): Likewise.
48011         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
48012         (test-xfail-UNIX98/sched.h/conform): Likewise.
48013         (test-xfail-UNIX98/signal.h/conform): Likewise.
48014         (test-xfail-UNIX98/stdio.h/conform): Likewise.
48015         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
48016         (test-xfail-UNIX98/stropts.h/conform): Likewise.
48017         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
48018         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
48019         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
48020         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
48021         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
48022         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
48023         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
48024         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
48025         (test-xfail-UNIX98/unistd.h/conform): Likewise.
48026         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
48027         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
48028         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
48029         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
48030         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
48031         (test-xfail-XOPEN2K/math.h/conform): Likewise.
48032         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
48033         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
48034         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
48035         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
48036         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
48037         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
48038         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
48039         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
48040         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
48041         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
48042         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
48043         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
48044         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
48045         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
48046         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
48047         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
48048         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
48049         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
48050         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
48051         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
48052         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
48053         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
48054         (test-xfail-POSIX2008/signal.h/conform): Likewise.
48055         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
48056         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
48057         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
48058         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
48059         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
48060         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
48061         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
48062         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
48063         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
48064         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
48065         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
48066         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
48067         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
48068         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
48069         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
48070         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
48071         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
48072         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
48073         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
48074         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
48075         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
48076         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
48077         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
48078         (conformtest-cc-flags): Likewise.
48079         ($(conformtest-header-tests): New target.
48080         * conform/check-header-lists.sh: New file.
48081         * conform/run-conformtest.sh: Remove.
48083         * conform/conformtest.pl: Allow ' and \ in values given for
48084         constants.
48085         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
48086         inclusion.
48087         [POSIX] (sys/types.h): Likewise.
48088         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
48089         inclusion.
48090         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
48091         inclusion.
48092         * conform/data/signal.h-data (SIGIO): Remove expectation.
48093         [XPG3] (SIGBUS): Do not expect.
48094         [POSIX || XPG3] (SIGPOLL): Likewise.
48095         [POSIX || XPG3] (SIGPROF): Likewise.
48096         [POSIX || XPG3] (SIGSYS): Likewise.
48097         [XPG3] (SIGTRAP): Likewise.
48098         [POSIX || XPG3] (SIGURG): Likewise.
48099         [POSIX || XPG3] (SIGVTALRM): Likewise.
48100         [POSIX || XPG3] (SIGXCPU): Likewise.
48101         [POSIX || XPG3] (SIGXFSZ): Likewise.
48102         [POSIX] (SA_SIGINFO): Expect.
48103         [XPG3] (siginfo_t): Do not expect type or contents.
48104         [POSIX] (si_pid): Do not expect element.
48105         [POSIX] (si_uid): Likewise.
48106         [POSIX] (si_addr): Likewise.
48107         [POSIX] (si_status): Likewise.
48108         [POSIX] (si_band): Likewise.
48109         [XPG4] (si_value): Likewise.
48110         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
48111         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
48112         [POSIX || XPG3] (ILL_ILLADR): Likewise.
48113         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
48114         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
48115         [POSIX || XPG3] (ILL_PRVREG): Likewise.
48116         [POSIX || XPG3] (ILL_COPROC): Likewise.
48117         [POSIX || XPG3] (ILL_BADSTK): Likewise.
48118         [POSIX || XPG3] (FPE_INTDIV): Likewise.
48119         [POSIX || XPG3] (FPE_INTOVF): Likewise.
48120         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
48121         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
48122         [POSIX || XPG3] (FPE_FLTUND): Likewise.
48123         [POSIX || XPG3] (FPE_FLTRES): Likewise.
48124         [POSIX || XPG3] (FPE_FLTINV): Likewise.
48125         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
48126         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
48127         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
48128         [POSIX || XPG3] (BUS_ADRALN): Likewise.
48129         [POSIX || XPG3] (BUS_ADRERR): Likewise.
48130         [POSIX || XPG3] (BUS_OBJERR): Likewise.
48131         [POSIX || XPG3] (CLD_EXITED): Likewise.
48132         [POSIX || XPG3] (CLD_KILLED): Likewise.
48133         [POSIX || XPG3] (CLD_DUMPED): Likewise.
48134         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
48135         [POSIX || XPG3] (CLD_STOPPED): Likewise.
48136         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
48137         [POSIX || XPG3] (POLL_IN): Likewise.
48138         [POSIX || XPG3] (POLL_OUT): Likewise.
48139         [POSIX || XPG3] (POLL_MSG): Likewise.
48140         [POSIX || XPG3] (POLL_ERR): Likewise.
48141         [POSIX || XPG3] (POLL_PRI): Likewise.
48142         [POSIX || XPG3] (POLL_HUP): Likewise.
48143         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
48144         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
48145         (SIG*): Do not allow.
48146         [XPG3] (si_*): Likewise.
48147         [XPG3] (SI_*): Likewise.
48148         [XPG3 || XPG4] (sigev_*): Likewise.
48149         [XPG3 || XPG4] (SIGEV_*): Likewise.
48150         [XPG3 || XPG4] (sival_*): Likewise.
48151         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
48152         [POSIX || XPG3] (BUS_*): Likewise.
48153         [POSIX || XPG3] (CLD_*): Likewise.
48154         [POSIX || XPG3] (FPE_*): Likewise.
48155         [POSIX || XPG3] (ILL_*): Likewise.
48156         [POSIX || XPG3] (POLL_*): Likewise.
48157         [POSIX || XPG3] (SEGV_*): Likewise.
48158         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
48159         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
48160         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
48161         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
48162         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
48163         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
48164         Specify type and value.
48165         (TVERSLEN): Likewise.
48166         (REGTYPE): Likewise.
48167         (AREGTYPE): Likewise.
48168         (LNKTYPE): Likewise.
48169         (SYMTYPE): Likewise.
48170         (CHRTYPE): Likewise.
48171         (BLKTYPE): Likewise.
48172         (DIRTYPE): Likewise.
48173         (FIFOTYPE): Likewise.
48174         (CONTTYPE): Likewise.
48175         (TSUID): Likewise.
48176         (TSGID): Likewise.
48177         (TSVTX): Likewise.
48178         (TUREAD): Likewise.
48179         (TUWRITE): Likewise.
48180         (TUEXEC): Likewise.
48181         (TGREAD): Likewise.
48182         (TGWRITE): Likewise.
48183         (TGEXEC): Likewise.
48184         (TOREAD): Likewise.
48185         (TOWRITE): Likewise.
48186         (TOEXEC): Likewise.
48187         [POSIX] (TSVTX): Expect constant.
48189 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
48191         * Makefile (tests): Change dependencies to ....
48192         (tests-special): ... additions to this variable.
48193         (tests): Depend on $(tests-special).
48194         * Makerules (check-abi-list): New variable.
48195         (check-abi): Depend on $(check-abi-list).
48196         [$(subdir) = elf] (tests-special): Add
48197         $(objpfx)check-abi-libc.out.
48198         [$(build-shared) = yes && subdir] (tests-special): Add
48199         $(check-abi-list).
48200         [$(build-shared) = yes && subdir] (tests): Do not depend on
48201         check-abi.
48202         * Rules (tests): Depend on $(tests-special).
48203         (xtests): Depend on $(xtests-special).
48204         * catgets/Makefile (tests): Change dependencies to ....
48205         (tests-special): ... additions to this variable.
48206         * conform/Makefile (tests): Change dependencies to ....
48207         (tests-special): ... additions to this variable.
48208         * elf/Makefile (tests): Change dependencies to ....
48209         (tests-special): ... additions to this variable.
48210         * grp/Makefile (tests): Change dependencies to ....
48211         (tests-special): ... additions to this variable.
48212         * iconv/Makefile (xtests): Change dependencies to ....
48213         (xtests-special): ... additions to this variable.
48214         * iconvdata/Makefile (tests): Change dependencies to ....
48215         (tests-special): ... additions to this variable.
48216         * intl/Makefile (tests): Change dependencies to ....
48217         (tests-special): ... additions to this variable.  Also add
48218         $(objpfx)tst-gettext.out.
48219         * io/Makefile (tests): Change dependencies to ....
48220         (tests-special): ... additions to this variable.
48221         * libio/Makefile (tests): Change dependencies to ....
48222         (tests-special): ... additions to this variable.
48223         * malloc/Makefile (tests): Change dependencies to ....
48224         (tests-special): ... additions to this variable.
48225         * misc/Makefile (tests): Change dependencies to ....
48226         (tests-special): ... additions to this variable.
48227         * nptl/Makefile (tests): Change dependencies to ....
48228         (tests-special): ... additions to this variable.
48229         * nptl_db/Makefile (tests): Change dependencies to ....
48230         (tests-special): ... additions to this variable.
48231         * posix/Makefile (tests): Change dependencies to ....
48232         (tests-special): ... additions to this variable.
48233         (xtests): Change dependencies to ....
48234         (xtests-special): ... additions to this variable.
48235         * resolv/Makefile (tests): Change dependencies to ....
48236         (tests-special): ... additions to this variable.
48237         (xtests): Change dependencies to ....
48238         (xtests-special): ... additions to this variable.
48239         * stdio-common/Makefile (tests): Change dependencies to ....
48240         (tests-special): ... additions to this variable.
48241         (do-tst-unbputc): Remove target.
48242         (do-tst-printf): Likewise.
48243         * stdlib/Makefile (tests): Change dependencies to ....
48244         (tests-special): ... additions to this variable.
48245         * string/Makefile (tests): Change dependencies to ....
48246         (tests-special): ... additions to this variable.
48247         * sysdeps/x86/Makefile (tests): Change dependencies to ....
48248         (tests-special): ... additions to this variable.
48250         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
48251         whole file.
48252         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
48253         whole file.
48254         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
48255         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
48257         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
48258         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
48259         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
48260         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
48261         * conform/data/libgen.h-data [XPG3]: Likewise.
48262         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
48263         * conform/data/ndbm.h-data [XPG3]: Likewise.
48264         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48265         * conform/data/netdb.h-data [XPG3]: Likewise.
48266         * conform/data/netinet/in.h-data [XPG3]: Likewise.
48267         * conform/data/poll.h-data [XPG3]: Likewise.
48268         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
48269         * conform/data/strings.h-data [XPG3]: Likewise.
48270         * conform/data/stropts.h-data [XPG3]: Likewise.
48271         * conform/data/sys/mman.h-data [XPG3]: Likewise.
48272         * conform/data/sys/resource.h-data [XPG3]: Likewise.
48273         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
48274         Likewise.
48275         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
48276         * conform/data/sys/time.h-data [XPG3]: Likewise.
48277         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
48278         * conform/data/sys/uio.h-data [XPG3]: Likewise.
48279         * conform/data/sys/un.h-data [XPG3]: Likewise.
48280         * conform/data/syslog.h-data [XPG3]: Likewise.
48281         * conform/data/ucontext.h-data [XPG3]: Likewise.
48282         * conform/data/utmpx.h-data [XPG3]: Likewise.
48283         * conform/data/varargs.h-data [UNIX98]: Enable file.
48285         * manual/Makefile (INSTALL_INFO): Remove variable setting.
48287         * math/libm-test.inc (struct test_f_f_data): Move expected results
48288         into structure for each rounding mode.
48289         (struct test_ff_f_data): Likewise.
48290         (struct test_ff_f_data_nexttoward): Likewise.
48291         (struct test_fi_f_data): Likewise.
48292         (struct test_fl_f_data): Likewise.
48293         (struct test_if_f_data): Likewise.
48294         (struct test_fff_f_data): Likewise.
48295         (struct test_c_f_data): Likewise.
48296         (struct test_f_f1_data): Likewise.
48297         (struct test_fF_f1_data): Likewise.
48298         (struct test_ffI_f1_data): Likewise.
48299         (struct test_c_c_data): Likewise.
48300         (struct test_cc_c_data): Likewise.
48301         (struct test_f_i_data): Likewise.
48302         (struct test_ff_i_data): Likewise.
48303         (struct test_f_l_data): Likewise.
48304         (struct test_f_L_data): Likewise.
48305         (struct test_fFF_11_data): Likewise.
48306         (RM_): New macro.
48307         (RM_FE_DOWNWARD): Likewise.
48308         (RM_FE_TONEAREST): Likewise.
48309         (RM_FE_TOWARDZERO): Likewise.
48310         (RM_FE_UPWARD): Likewise.
48311         (RUN_TEST_LOOP_f_f): Update references to expected results.
48312         (RUN_TEST_LOOP_2_f): Likewise.
48313         (RUN_TEST_LOOP_fff_f): Likewise.
48314         (RUN_TEST_LOOP_c_f): Likewise.
48315         (RUN_TEST_LOOP_f_f1): Likewise.
48316         (RUN_TEST_LOOP_fF_f1): Likewise.
48317         (RUN_TEST_LOOP_fI_f1): Likewise.
48318         (RUN_TEST_LOOP_ffI_f1): Likewise.
48319         (RUN_TEST_LOOP_c_c): Likewise.
48320         (RUN_TEST_LOOP_cc_c): Likewise.
48321         (RUN_TEST_LOOP_f_i): Likewise.
48322         (RUN_TEST_LOOP_f_i_tg): Likewise.
48323         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48324         (RUN_TEST_LOOP_f_b): Likewise.
48325         (RUN_TEST_LOOP_f_b_tg): Likewise.
48326         (RUN_TEST_LOOP_f_l): Likewise.
48327         (RUN_TEST_LOOP_f_L): Likewise.
48328         (RUN_TEST_LOOP_fFF_11): Likewise.
48329         * math/gen-libm-test.pl (parse_args): Output four copies of
48330         expected results for each test.
48332         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
48333         (__ASSUME_UTIMES): Remove.
48334         * sysdeps/unix/sysv/linux/tile/kernel-features.h
48335         (__ASSUME_UTIMES): Likewise.
48337         * math/gen-auto-libm-tests.c: Update comment on output format.
48338         (output_for_one_input_case): Generate before-rounding and
48339         after-rounding information as conditions on output flags not
48340         floating-point format.
48341         * math/auto-libm-test-out: Regenerated.
48342         * math/gen-libm-test.pl (cond_value): New function.
48343         (or_cond_value): Use cond_value.
48344         (generate_testfile): Handle conditional exceptions.
48346 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
48348         * math/libm-test.inc (max_valid_error): New variable.
48349         (init_max_error): Take new argument specifying whether function
48350         results are exactly determined.  Set max_valid_error and bound
48351         other variables for errors based on this argument.
48352         (set_max_error): Do not record results above max_valid_error.
48353         (check_float_internal): Only accept errors of up to 0.5ulps if
48354         also at most max_valid_error.
48355         (START): Take new argument EXACT and pass it to init_max_error.
48356         (acos_test): Update call to START.
48357         (acos_test_tonearest): Likewise.
48358         (acos_test_towardzero): Likewise.
48359         (acos_test_downward): Likewise.
48360         (acos_test_upward): Likewise.
48361         (acosh_test): Likewise.
48362         (asin_test): Likewise.
48363         (asin_test_tonearest): Likewise.
48364         (asin_test_towardzero): Likewise.
48365         (asin_test_downward): Likewise.
48366         (asin_test_upward): Likewise.
48367         (asinh_test): Likewise.
48368         (atan_test): Likewise.
48369         (atanh_test): Likewise.
48370         (atan2_test): Likewise.
48371         (cabs_test): Likewise.
48372         (cacos_test): Likewise.
48373         (cacosh_test): Likewise.
48374         (carg_test): Likewise.
48375         (casin_test): Likewise.
48376         (casinh_test): Likewise.
48377         (catan_test): Likewise.
48378         (catanh_test): Likewise.
48379         (cbrt_test): Likewise.
48380         (ccos_test): Likewise.
48381         (ccosh_test): Likewise.
48382         (ceil_test): Likewise.
48383         (cexp_test): Likewise.
48384         (cimag_test): Likewise.
48385         (clog_test): Likewise.
48386         (clog10_test): Likewise.
48387         (conj_test): Likewise.
48388         (copysign_test): Likewise.
48389         (cos_test): Likewise.
48390         (cos_test_tonearest): Likewise.
48391         (cos_test_towardzero): Likewise.
48392         (cos_test_downward): Likewise.
48393         (cos_test_upward): Likewise.
48394         (cosh_test): Likewise.
48395         (cosh_test_tonearest): Likewise.
48396         (cosh_test_towardzero): Likewise.
48397         (cosh_test_downward): Likewise.
48398         (cosh_test_upward): Likewise.
48399         (cpow_test): Likewise.
48400         (cproj_test): Likewise.
48401         (creal_test): Likewise.
48402         (csin_test): Likewise.
48403         (csinh_test): Likewise.
48404         (csqrt_test): Likewise.
48405         (ctan_test): Likewise.
48406         (ctan_test_tonearest): Likewise.
48407         (ctan_test_towardzero): Likewise.
48408         (ctan_test_downward): Likewise.
48409         (ctan_test_upward): Likewise.
48410         (ctanh_test): Likewise.
48411         (ctanh_test_tonearest): Likewise.
48412         (ctanh_test_towardzero): Likewise.
48413         (ctanh_test_downward): Likewise.
48414         (ctanh_test_upward): Likewise.
48415         (erf_test): Likewise.
48416         (erfc_test): Likewise.
48417         (exp_test): Likewise.
48418         (exp_test_tonearest): Likewise.
48419         (exp_test_towardzero): Likewise.
48420         (exp_test_downward): Likewise.
48421         (exp_test_upward): Likewise.
48422         (exp10_test): Likewise.
48423         (exp10_test_tonearest): Likewise.
48424         (exp10_test_towardzero): Likewise.
48425         (exp10_test_downward): Likewise.
48426         (exp10_test_upward): Likewise.
48427         (pow10_test): Likewise.
48428         (exp2_test): Likewise.
48429         (expm1_test): Likewise.
48430         (expm1_test_tonearest): Likewise.
48431         (expm1_test_towardzero): Likewise.
48432         (expm1_test_downward): Likewise.
48433         (expm1_test_upward): Likewise.
48434         (fabs_test): Likewise.
48435         (fdim_test): Likewise.
48436         (floor_test): Likewise.
48437         (fma_test): Likewise.
48438         (fma_test_towardzero): Likewise.
48439         (fma_test_downward): Likewise.
48440         (fma_test_upward): Likewise.
48441         (fmax_test): Likewise.
48442         (fmin_test): Likewise.
48443         (fmod_test): Likewise.
48444         (fpclassify_test): Likewise.
48445         (frexp_test): Likewise.
48446         (hypot_test): Likewise.
48447         (ilogb_test): Likewise.
48448         (isfinite_test): Likewise.
48449         (finite_test): Likewise.
48450         (isgreater_test): Likewise.
48451         (isgreaterequal_test): Likewise.
48452         (isinf_test): Likewise.
48453         (isless_test): Likewise.
48454         (islessequal_test): Likewise.
48455         (islessgreater_test): Likewise.
48456         (isnan_test): Likewise.
48457         (isnormal_test): Likewise.
48458         (issignaling_test): Likewise.
48459         (isunordered_test): Likewise.
48460         (j0_test): Likewise.
48461         (j1_test): Likewise.
48462         (jn_test): Likewise.
48463         (ldexp_test): Likewise.
48464         (lgamma_test): Likewise.
48465         (gamma_test): Likewise.
48466         (lrint_test): Likewise.
48467         (lrint_test_tonearest): Likewise.
48468         (lrint_test_towardzero): Likewise.
48469         (lrint_test_downward): Likewise.
48470         (lrint_test_upward): Likewise.
48471         (llrint_test): Likewise.
48472         (llrint_test_tonearest): Likewise.
48473         (llrint_test_towardzero): Likewise.
48474         (llrint_test_downward): Likewise.
48475         (llrint_test_upward): Likewise.
48476         (log_test): Likewise.
48477         (log10_test): Likewise.
48478         (log1p_test): Likewise.
48479         (log2_test): Likewise.
48480         (logb_test): Likewise.
48481         (logb_test_downward): Likewise.
48482         (lround_test): Likewise.
48483         (llround_test): Likewise.
48484         (modf_test): Likewise.
48485         (nearbyint_test): Likewise.
48486         (nextafter_test): Likewise.
48487         (nexttoward_test): Likewise.
48488         (pow_test): Likewise.
48489         (pow_test_tonearest): Likewise.
48490         (pow_test_towardzero): Likewise.
48491         (pow_test_downward): Likewise.
48492         (pow_test_upward): Likewise.
48493         (remainder_test): Likewise.
48494         (drem_test): Likewise.
48495         (remainder_test_tonearest): Likewise.
48496         (drem_test_tonearest): Likewise.
48497         (remainder_test_towardzero): Likewise.
48498         (drem_test_towardzero): Likewise.
48499         (remainder_test_downward): Likewise.
48500         (drem_test_downward): Likewise.
48501         (remainder_test_upward): Likewise.
48502         (drem_test_upward): Likewise.
48503         (remquo_test): Likewise.
48504         (rint_test): Likewise.
48505         (rint_test_tonearest): Likewise.
48506         (rint_test_towardzero): Likewise.
48507         (rint_test_downward): Likewise.
48508         (rint_test_upward): Likewise.
48509         (round_test): Likewise.
48510         (scalb_test): Likewise.
48511         (scalbn_test): Likewise.
48512         (scalbln_test): Likewise.
48513         (signbit_test): Likewise.
48514         (sin_test): Likewise.
48515         (sin_test_tonearest): Likewise.
48516         (sin_test_towardzero): Likewise.
48517         (sin_test_downward): Likewise.
48518         (sin_test_upward): Likewise.
48519         (sincos_test): Likewise.
48520         (sinh_test): Likewise.
48521         (sinh_test_tonearest): Likewise.
48522         (sinh_test_towardzero): Likewise.
48523         (sinh_test_downward): Likewise.
48524         (sinh_test_upward): Likewise.
48525         (sqrt_test): Likewise.
48526         (sqrt_test_tonearest): Likewise.
48527         (sqrt_test_towardzero): Likewise.
48528         (sqrt_test_downward): Likewise.
48529         (sqrt_test_upward): Likewise.
48530         (tan_test): Likewise.
48531         (tan_test_tonearest): Likewise.
48532         (tan_test_towardzero): Likewise.
48533         (tan_test_downward): Likewise.
48534         (tan_test_upward): Likewise.
48535         (tanh_test): Likewise.
48536         (tgamma_test): Likewise.
48537         (trunc_test): Likewise.
48538         (y0_test): Likewise.
48539         (y1_test): Likewise.
48540         (yn_test): Likewise.
48541         (significand_test): Likewise.
48543         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
48544         individual tests in comment.
48545         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
48546         (prev_max_error): New variable.
48547         (prev_real_max_error): Likewise.
48548         (prev_imag_max_error): Likewise.
48549         (compare_ulp_data): Don't refer to test names in comment.
48550         (find_test_ulps): Remove function.
48551         (find_function_ulps): Likewise.
48552         (find_complex_function_ulps): Likewise.
48553         (init_max_error): Take function name as argument.  Look up ulps
48554         for that function.
48555         (print_ulps): Remove function.
48556         (print_max_error): Use prev_max_error instead of calling
48557         find_function_ulps.
48558         (print_complex_max_error): Use prev_real_max_error and
48559         prev_imag_max_error instead of calling find_complex_function_ulps.
48560         (check_float_internal): Take max_ulp parameter instead of calling
48561         find_test_ulps.  Don't call print_ulps.
48562         (check_float): Update call to check_float_internal.
48563         (check_complex): Update calls to check_float_internal.
48564         (START): Pass argument to init_max_error.
48565         * math/gen-libm-test.pl (%results): Don't include "kind"
48566         information.
48567         (parse_ulps): Don't handle ulps of individual tests.
48568         (print_ulps_file): Likewise.
48569         (output_ulps): Likewise.
48570         * math/README.libm-test: Update.
48571         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
48572         individual tests.
48573         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
48574         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
48575         * sysdeps/arm/libm-test-ulps: Likewise.
48576         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
48577         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
48578         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
48579         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
48580         * sysdeps/microblaze/libm-test-ulps: Likewise.
48581         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
48582         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48583         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48584         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
48585         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48586         * sysdeps/sh/libm-test-ulps: Likewise.
48587         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48588         * sysdeps/tile/libm-test-ulps: Likewise.
48589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48591 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
48593         * math/libm-test.inc (print_complex_max_error): Check separately
48594         whether real and imaginary errors are within allowed range and
48595         pass 0 to print_complex_function_ulps instead of value within
48596         allowed range.
48598 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48600         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
48601         formatting.
48602         (get_handles_fopen): Likewise.
48603         (do_write_test): Likewise.
48605         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
48607         * libio/fileops.c (do_ftell): Use cached offset when
48608         available.
48609         * libio/iofwide.c (do_ftell_wide): Likewise.
48610         * libio/iofdopen.c (_IO_new_fdopen): Don't use
48611         _IO_file_attach.
48612         * libio/wfileops.c (_IO_fwide): Don't cache offset.
48614         [BZ #16532]
48615         * libio/libioP.h (get_file_offset): New function.
48616         * libio/fileops.c (get_file_offset): Likewise.
48617         (do_ftell): Likewise.
48618         (_IO_new_file_seekoff): Split out ftell logic.
48619         * libio/wfileops.c (do_ftell_wide): Likewise.
48620         (_IO_wfile_seekoff): Split out ftell logic.
48621         * libio/tst-ftell-active-handler.c: New test case.
48622         * libio/Makefile (tests): Add it.
48624 2014-03-03  Roland McGrath  <roland@hack.frob.com>
48626         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
48627         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
48629 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48631         [BZ #16639]
48632         * nscd/connections.c (nscd_init): Call do_exit.
48633         (start_threads): Call do_exit and notify_parent.
48634         (begin_drop_privileges): Call do_exit.
48635         (finish_drop_privileges): Likewise.
48636         * nscd/selinux.c (preserve_capabilities): Likewise.
48637         (install_real_capabilities): Likewise.
48638         (nscd_selinux_enabled): Likewise.
48639         (avc_create_thread): Likewise.
48640         (avc_alloc_lock): Likewise.
48641         (nscd_avc_init): Likewise.
48642         * nscd/nscd.c (parent_fd): New static variable.
48643         (main): Create a pipe between parent and child processes.
48644         Skip closing parent_fd.
48645         (monitor_child): New function.
48646         (do_exit): Likewise.
48647         (notify_parent): Likewise.
48648         * nscd/nscd.h (notify_parent): Likewise.
48649         (do_exit): Likewise.
48651 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
48653         * malloc/malloc.c (__libc_calloc): Revert last change.
48655 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48659 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48661         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
48662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
48663         implementation.
48664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48665         (__libc_ifunc_impl_list): Likewise.
48666         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
48667         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
48668         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
48669         * string/strrchr.c: Define STRRCHR.
48671 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
48673         * benchtest/bench-strtok.c (simple_strtok): Delete.
48674         (strtok_string): Use as benchmark.
48675         * string/strtok (STRTOK): New macro.
48677 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
48679         * manual/threads.texi: Add header and standard comments to all
48680         functions.
48682         * elf/dl-lookup.c (check_match): New function.
48683         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
48684         (do_lookup_x): Remove nested function check_match. Use non-nested
48685         function check_match.
48687 2014-02-28  Roland McGrath  <roland@hack.frob.com>
48689         * csu/Makefile (generated, before-compile): Use += rather than =.
48690         * catgets/Makefile (generated, generated-dirs): Likewise.
48691         * debug/Makefile (generated): Likewise.
48692         * dlfcn/Makefile (generated): Likewise.
48693         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
48694         * iconvdata/Makefile (before-compile, generated): Likewise.
48695         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
48696         * libio/Makefile (generated): Likewise.
48697         * malloc/Makefile (generated): Likewise.
48698         * manual/Makefile (generated, generated-dirs): Likewise.
48699         * misc/Makefile (generated): Likewise.
48700         * posix/Makefile (generated): Likewise.
48701         * resolv/Makefile (generated): Likewise.
48702         * sunrpc/Makefile (generated, generated-dirs): Likewise.
48703         * timezone/Makefile (generated, generated-dirs): Likewise.
48705         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
48707 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48709         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48710         power8 implementation.
48711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
48712         file: POWER8 llround ifunc implementation.
48713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
48714         (__lllround): Add POWER8 implementation.
48715         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
48716         POWER8 llround implementation.
48718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
48719         power8 implementation.
48720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
48721         file: POWER8 llrint ifunc implementation.
48722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
48723         Add POWER8 implementation.
48724         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
48725         POWER8 llrint implementation.
48727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
48728         power8 implementation.
48729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
48730         file: POWER8 finite ifunc implementation.
48731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
48732         Add POWER8 implementation.
48733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
48734         Likewise.
48735         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
48736         POWER8 finite implementation.
48737         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
48739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
48740         power8 implementation.
48741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
48742         file: POWER8 isinf ifunc implementation.
48743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
48744         POWER8 implementation.
48745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
48746         Likewise.
48747         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
48748         isinf implementation.
48749         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
48751         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
48752         (INIT_ARCH): Add hwcap2 initialization.
48753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48754         power8 implementation.
48755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
48756         file: POWER8 isnan ifunc implementation.
48757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
48758         POWER8 implementation.
48759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
48760         Likewise.
48761         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
48762         isnan implementation.
48763         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
48765 2014-02-27  Joey Ye  <joey.ye@arm.com>
48767         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48768         (_FP_NANFRAC_Q): Set to zero.
48770 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48772         [BZ #16623]
48773         * math/auto-libm-test-in: New test inputs.
48774         * math/auto-libm-test-out: Regenerate.
48775         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
48776         and DA.
48777         (__cos): Likewise.
48778         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
48780 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
48782         * scripts/evaluate-test.sh: Take new argument indicating whether
48783         failure is expected.
48784         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
48785         indicating whether failure is expected.
48786         * conform/Makefile (test-xfail-run-conformtest): New variable.
48787         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
48788         level.
48789         * posix/Makefile (test-xfail-annexc): New variable.
48790         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
48792 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
48794         * argp/Makefile: Include Makeconfig immediately after defining
48795         subdir.
48796         * assert/Makefile: Likewise.
48797         * benchtests/Makefile: Likewise.
48798         * catgets/Makefile: Likewise.
48799         * conform/Makefile: Likewise.
48800         * crypt/Makefile: Likewise.
48801         * csu/Makefile: Likewise.
48802         (all): Remove target.
48803         * ctype/Makefile: Include Makeconfig immediately after defining
48804         subdir.
48805         * debug/Makefile: Likewise.
48806         * dirent/Makefile: Likewise.
48807         * dlfcn/Makefile: Likewise.
48808         * gmon/Makefile: Likewise.
48809         * gnulib/Makefile: Likewise.
48810         * grp/Makefile: Likewise.
48811         * gshadow/Makefile: Likewise.
48812         * hesiod/Makefile: Likewise.
48813         * hurd/Makefile: Likewise.
48814         (all): Remove target.
48815         * iconvdata/Makefile: Include Makeconfig immediately after
48816         defining subdir.
48817         * inet/Makefile: Likewise.
48818         * intl/Makefile: Likewise.
48819         * io/Makefile: Likewise.
48820         * libio/Makefile: Likewise.
48821         (all): Remove target.
48822         * locale/Makefile: Include Makeconfig immediately after defining
48823         subdir.
48824         * login/Makefile: Likewise.
48825         * mach/Makefile: Likewise.
48826         (all): Remove target.
48827         * malloc/Makefile: Include Makeconfig immediately after defining
48828         subdir.
48829         (all): Remove target.
48830         * manual/Makefile: Include Makeconfig immediately after defining
48831         subdir.
48832         * math/Makefile: Likewise.
48833         * misc/Makefile: Likewise.
48834         * nis/Makefile: Likewise.
48835         * nss/Makefile: Likewise.
48836         * po/Makefile: Likewise.
48837         (all): Remove target.
48838         * posix/Makefile: Include Makeconfig immediately after defining
48839         subdir.
48840         * pwd/Makefile: Likewise.
48841         * resolv/Makefile: Likewise.
48842         * resource/Makefile: Likewise.
48843         * rt/Makefile: Likewise.
48844         * setjmp/Makefile: Likewise.
48845         * shadow/Makefile: Likewise.
48846         * signal/Makefile: Likewise.
48847         * socket/Makefile: Likewise.
48848         * soft-fp/Makefile: Likewise.
48849         * stdio-common/Makefile: Likewise.
48850         * stdlib/Makefile: Likewise.
48851         * streams/Makefile: Likewise.
48852         * string/Makefile: Likewise.
48853         * sunrpc/Makefile: Likewise.
48854         (all): Remove target.
48855         * sysvipc/Makefile: Include Makeconfig immediately after defining
48856         subdir.
48857         * termios/Makefile: Likewise.
48858         * time/Makefile: Likewise.
48859         * timezone/Makefile: Likewise.
48860         (all): Remove target.
48861         * wcsmbs/Makefile: Include Makeconfig immediately after defining
48862         subdir.
48863         * wctype/Makefile: Likewise.
48865 2014-02-26  Steve Ellcey  <sellcey@mips.com>
48867         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
48868         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
48869         (libc_feholdexcept_setround_mips): Ditto.
48870         (libc_feholdsetround): New.
48871         (libc_feholdsetroundf): New.
48872         (libc_feholdsetroundl): New.
48873         (libc_feupdateenv_test_mips): New.
48874         (libc_feupdateenv_test): New.
48875         (libc_feupdateenv_testf): New.
48876         (libc_feupdateenv_testl): New.
48877         (libc_feresetround): New.
48878         (libc_feresetroundf): New.
48879         (libc_feresetroundl): New.
48880         (libc_fetestexcept_mips): New.
48881         (libc_fetestexcept): New.
48882         (libc_fetestexceptf): New.
48883         (libc_fetestexceptl): New.
48884         (HAVE_RM_CTX): New.
48885         (libc_feholdexcept_setround_mips_ctx): New.
48886         (libc_feholdexcept_setround_ctx): New.
48887         (libc_feholdexcept_setroundf_ctx): New.
48888         (libc_feholdexcept_setroundl_ctx): New.
48889         (libc_fesetenv_mips_ctx): New.
48890         (libc_fesetenv_ctx): New.
48891         (libc_fesetenv_ctxf): New.
48892         (libc_fesetenv_ctxl): New.
48893         (libc_feupdateenv_mips_ctx): New.
48894         (libc_feupdateenv_ctx): New.
48895         (libc_feupdateenvf_ctx): New.
48896         (libc_feupdateenvl_ctx): New.
48897         (libc_feholdsetround_mips_ctx): New.
48898         (libc_feholdsetround_ctx): New.
48899         (libc_feholdsetroundf_ctx): New.
48900         (libc_feholdsetroundl_ctx): New.
48901         (libc_feresetround_mips_ctx): New.
48902         (libc_feresetround_ctx): New.
48903         (libc_feresetroundf_ctx): New.
48904         (libc_feresetroundl_ctx): New.
48906 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
48908         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
48910         * manual/ipc.texi: New file.
48911         * manual/Makefile (chapters): Add ipc.
48912         * manual/job.texi: Add "Inter-Process Communication" to next.
48913         * manual/process.texi: Add "Inter-Process Communication" to prev.
48915 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48919 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
48921         * malloc/malloc.c (__libc_calloc): Simplify implementation.
48923         * manual/arith.texi: Fix spaces after sentences.
48924         * manual/charset.texi: Likewise.
48925         * manual/errno.texi: Likewise.
48926         * manual/install.texi: Likewise.
48927         * manual/llio.texi: Likewise.
48928         * manual/locale.texi: Likewise.
48929         * manual/maint.texi: Likewise.
48930         * manual/math.texi: Likewise.
48931         * manual/memory.texi: Likewise.
48932         * manual/message.texi: Likewise.
48933         * manual/probes.texi: Likewise.
48934         * manual/resource.texi: Likewise.
48935         * manual/signal.texi: Likewise.
48936         * manual/socket.texi: Likewise.
48937         * manual/stdio.texi: Likewise.
48938         * manual/string.texi: Likewise.
48939         * manual/time.texi: Likewise.
48940         * manual/users.texi: Likewise.
48942 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
48944         [BZ #16632]
48945         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
48946         _DEFAULT_SOURCE is defined.
48948 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
48949             Carlos O'Donell  <carlos@redhat.com>
48951         [BZ #16613]
48952         * elf/dl-tls.c (_dl_count_modids): New function.
48953         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
48954         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
48955         audit library and increment generation counter.
48956         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
48957         * elf/tst-audit9.c: New file.
48958         * elf/tst-auditmod9a.c: New file.
48959         * elf/tst-auditmod9b.c: New file.
48960         * elf/Makefile: Add rules to build and run tst-audit9.
48962 2014-02-25  Florian Weimer  <fweimer@redhat.com>
48964         [BZ #15347]
48965         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
48967 2014-02-25  Will Newton  <will.newton@linaro.org>
48969         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
48970         (__longjmp): Restore sp and lr before restoring callee
48971         saved registers.  Add longjmp and longjmp_target
48972         SystemTap probe point.
48973         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
48974         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
48975         Define to zero to match jmpbuf layout.
48976         * sysdeps/arm/setjmp.S: Include stap-probe.h.
48977         (__sigsetjmp): Save sp and lr before saving callee
48978         saved registers.  Add setjmp SystemTap probe point.
48980 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
48982         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48984 2014-02-24  Andreas Schwab  <schwab@suse.de>
48986         [BZ #15804]
48987         * elf/pldd.c (wait_for_ptrace_stop): New function.
48988         (main): Call it after attaching.
48990 2014-02-22  Roland McGrath  <roland@hack.frob.com>
48992         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
48993         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
48994         Versions files is now verboten.
48995         * hurd/Versions (libc: GLIBC_2.0):
48996         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
48997         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
48998         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
48999         * mach/Versions: Likewise.
49001         * csu/Versions: Remove unused %include.
49002         * resolv/Versions: Likewise.
49004 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
49006         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
49007         ($(objpfx)check-local-headers.out): Likewise.
49008         ($(objpfx)begin-end-check.out): Likewise.
49009         * Makerules (check-abi-%.out): Likewise.
49010         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
49011         ($(objpfx)test2.cat): Likewise.
49012         ($(objpfx)de/libc.cat): Likewise.
49013         ($(objpfx)test-gencat.out): Likewise.
49014         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
49015         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
49016         ($(objpfx)noload-mem): Likewise.
49017         ($(objpfx)tst-pathopt.out): Likewise.
49018         ($(objpfx)tst-rtld-load-self.out): Likewise.
49019         ($(objpfx)tst-array1-cmp.out): Likewise.
49020         ($(objpfx)tst-array1-static-cmp.out): Likewise.
49021         ($(objpfx)tst-array2-cmp.out): Likewise.
49022         ($(objpfx)tst-array3-cmp.out): Likewise.
49023         ($(objpfx)tst-array4-cmp.out): Likewise.
49024         ($(objpfx)tst-array5-cmp.out): Likewise.
49025         ($(objpfx)tst-array5-static-cmp.out): Likewise.
49026         ($(objpfx)check-textrel.out): Likewise.
49027         ($(objpfx)check-execstack.out): Likewise.
49028         ($(objpfx)check-localplt.out): Likewise.
49029         ($(objpfx)order2-cmp.out): Likewise.
49030         ($(objpfx)tst-leaks1-mem): Likewise.
49031         ($(objpfx)tst-leaks1-static-mem): Likewise.
49032         ($(objpfx)tst-initorder-cmp.out): Likewise.
49033         ($(objpfx)tst-initorder2-cmp.out): Likewise.
49034         ($(objpfx)tst-unused-dep.out): Likewise.
49035         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
49036         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
49037         * iconv/Makefile (test-iconvconfig): Likewise.
49038         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
49039         ($(objpfx)iconv-test.out): Likewise.
49040         ($(objpfx)tst-tables.out): Likewise.
49041         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
49042         ($(objpfx)tst-gettext.out): Likewise.
49043         ($(objpfx)tst-translit.out): Likewise.
49044         ($(objpfx)tst-gettext2.out): Likewise.
49045         ($(objpfx)tst-gettext4.out): Likewise.
49046         ($(objpfx)tst-gettext6.out): Likewise.
49047         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
49048         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
49049         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
49050         ($(objpfx)tst-fopenloc-mem.out): Likewise.
49051         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
49052         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
49053         * posix/Makefile ($(objpfx)globtest.out): Likewise.
49054         ($(objpfx)wordexp-tst.out): Likewise.
49055         ($(objpfx)annexc.out): Likewise.
49056         ($(objpfx)tst-fnmatch-mem): Likewise.
49057         ($(objpfx)bug-regex2-mem): Likewise.
49058         ($(objpfx)bug-regex14-mem): Likewise.
49059         ($(objpfx)bug-regex21-mem): Likewise.
49060         ($(objpfx)bug-regex31-mem): Likewise.
49061         ($(objpfx)tst-vfork3-mem): Likewise.
49062         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49063         ($(objpfx)tst-pcre-mem): Likewise.
49064         ($(objpfx)tst-boost-mem): Likewise.
49065         ($(objpfx)tst-getconf.out): Likewise.
49066         ($(objpfx)bug-ga2-mem): Likewise.
49067         ($(objpfx)bug-glob2-mem): Likewise.
49068         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
49069         ($(objpfx)mtrace-tst-leaks2): Likewise.
49070         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
49071         ($(objpfx)tst-printf.out): Likewise.
49072         ($(objpfx)tst-setvbuf1.out): Likewise.
49073         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
49074         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
49075         ($(objpfx)tst-fmtmsg.out): Likewise.
49076         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
49077         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
49079         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
49080         * bits/sigaction.h [__USE_MISC]: Likewise.
49081         * bits/waitstatus.h: Update #endif comments.
49082         * ctype/ctype.h: Likewise.
49083         * dirent/dirent.h: Likewise.
49084         [__USE_MISC]: Remove redundant conditionals.
49085         * grp/grp.h: Update #endif comments.
49086         [__USE_GNU]: Remove redundant conditionals.
49087         [__USE_MISC]: Likewise.
49088         * inet/netinet/in.h [__USE_GNU]: Likewise.
49089         * io/sys/stat.h [__USE_MISC]: Likewise.
49090         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
49091         * libio/bits/stdio.h: Update #endif comments.
49092         [__USE_MISC]: Remove redundant conditionals.
49093         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
49094         * libio/stdio.h: Update #endif comments.
49095         [__USE_MISC]: Remove redundant conditionals.
49096         * math/bits/math-finite.h [__USE_MISC]: Likewise.
49097         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
49098         * math/math.h: Update #else and #endif comments.
49099         [__USE_MISC]: Remove redundant conditionals.
49100         * misc/sys/uio.h: Update #endif comments.
49101         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
49102         * posix/glob.h [__USE_MISC]: Likewise.
49103         * posix/sys/types.h: Update #endif comments.
49104         [__USE_MISC]: Remove redundant conditionals.
49105         * posix/sys/wait.h: Update #endif comments.
49106         [__USE_MISC]: Remove redundant conditionals.
49107         * posix/unistd.h: Update #endif comments.
49108         [__USE_MISC]: Remove redundant conditionals.
49109         * pwd/pwd.h [__USE_GNU]: Likewise.
49110         [__USE_MISC]: Likewise.
49111         * resolv/netdb.h [__USE_GNU]: Likewise.
49112         * signal/signal.h: Update #endif comments.
49113         [__USE_MISC]: Remove redundant conditionals.
49114         * stdlib/stdlib.h: Update #else and #endif comments.
49115         [__USE_MISC]: Remove redundant conditionals.
49116         [__USE_GNU]: Likewise.
49117         * string/bits/string2.h [__USE_MISC]: Likewise.
49118         * string/string.h: Update #endif comments.
49119         [__USE_MISC]: Remove redundant conditionals.
49120         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
49121         Likewise.
49122         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
49123         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
49124         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
49125         Likewise.
49126         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
49127         Likewise.
49128         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
49129         comments.
49130         [__USE_MISC]: Remove redundant conditionals.
49131         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
49132         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
49133         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
49134         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
49135         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
49136         Likewise.
49137         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
49138         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
49139         Likewise.
49140         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
49141         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
49142         Likewise.
49143         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
49144         Likewise.
49145         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
49146         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
49147         Likewise.
49148         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
49149         Likewise.
49150         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
49151         * sysdeps/x86/bits/string.h: Update #endif comments.
49152         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
49153         conditionals.
49154         * time/sys/time.h: Update #endif comments.
49155         * time/time.h: Likewise.
49156         [__USE_MISC]: Remove redundant conditionals.
49158 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
49160         [BZ #16600]
49161         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
49163 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
49165         * Versions.def (librt): Add GLIBC_2.17.
49167 2014-02-21  Adam Conrad  <adconrad@0c3.net>
49169         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
49170         synonym for _SYS_AUXV_H to allow direct inclusion.
49171         * sysdeps/sparc/bits/hwcap.h: Likewise.
49172         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
49173         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
49174         * sysdeps/sparc/sysdep.h: Likewise.
49176 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49178         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
49180 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
49182         * benchtests/bench-strrchr.c: Print length instead of position.
49184 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
49186         [BZ #16611]
49187         * sysdeps/unix/sysv/linux/kernel-features.h
49188         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
49189         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
49190         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
49191         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
49192         Likewise.
49193         [__i386__ || __powerpc__ || __sh__ || __sparc__]
49194         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49195         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
49196         (__ASSUME_SENDMMSG): Define instead of using previous
49197         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
49198         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49199         (__ASSUME_SENDMMSG_SYSCALL): Define.
49200         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49201         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
49202         Likewise.
49203         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49204         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49205         Likewise.
49206         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49207         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49208         Likewise.
49209         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
49210         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49211         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49212         [__ASSUME_SENDMMSG]: Change conditionals to
49213         [__ASSUME_SENDMMSG_SOCKETCALL].
49214         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49215         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
49216         Define.
49217         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49218         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
49219         Likewise.
49220         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
49221         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
49222         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
49223         [!__ASSUME_SENDMMSG]: Change conditional to
49224         [!__ASSUME_SENDMMSG_SOCKETCALL].
49225         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49226         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
49227         Define.
49229         [BZ #16610]
49230         * sysdeps/unix/sysv/linux/kernel-features.h
49231         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
49232         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
49233         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
49234         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
49235         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
49236         [__i386__ || __sparc__]
49237         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49238         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
49239         (__ASSUME_RECVMMSG): Define instead of using previous
49240         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
49241         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49242         (__ASSUME_RECVMMSG_SYSCALL): Define.
49243         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49244         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49245         Likewise.
49246         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49247         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49248         Likewise.
49249         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49250         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49251         Likewise.
49252         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
49253         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49254         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49255         [__ASSUME_RECVMMSG]: Change condition to
49256         [__ASSUME_RECVMMSG_SOCKETCALL].
49257         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49258         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49259         Define.
49260         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
49261         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49262         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
49263         Likewise.
49264         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
49265         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
49266         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
49267         [!__ASSUME_RECVMMSG]: Change condition to
49268         [!__ASSUME_RECVMMSG_SOCKETCALL].
49269         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49270         (__ASSUME_RECVMMSG_SYSCALL): Define.
49272         [BZ #16609]
49273         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
49274         __powerpc__ || __s390__ || __sh__ || __sparc__]
49275         (__ASSUME_SOCKETCALL): Define.
49276         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
49277         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
49278         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
49279         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
49280         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49281         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
49282         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
49283         (__ASSUME_ACCEPT4): Define instead of using previous
49284         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
49285         __powerpc__ || __sparc__ || __s390__)] condition.
49286         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49287         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49288         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
49289         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49290         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49291         [!__ASSUME_ACCEPT4]: Change condition to
49292         [!__ASSUME_ACCEPT4_SOCKETCALL].
49293         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49294         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
49295         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
49296         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49297         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
49298         __ASSUME_ACCEPT4_SYSCALL.
49299         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
49300         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
49301         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49302         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
49303         __ASSUME_ACCEPT4_SYSCALL.
49304         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
49305         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
49306         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
49307         [__ASSUME_ACCEPT4]: Change condition to
49308         [__ASSUME_ACCEPT4_SOCKETCALL].
49309         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49310         (__ASSUME_SOCKETCALL): Define.
49311         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
49312         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49313         (__ASSUME_SOCKETCALL): Define.
49314         (__ASSUME_ACCEPT4): Remove.
49315         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
49316         Define.
49317         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49318         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
49319         Likewise.
49320         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49321         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
49323         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
49324         macro.
49325         (HWCAP_ARM_LPAE): Likewise.
49326         (HWCAP_ARM_EVTSTRM): Likewise.
49327         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
49328         Add vpfd32, lpae and evtstrm.
49329         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
49330         Increase to 22.
49332 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
49334         * math/auto-libm-test-in: Add tests of clog10.
49335         * math/auto-libm-test-out: Regenerated.
49336         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
49337         * sysdeps/i386/fpu/libm-test-ulps: Update.
49338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49340 2014-02-18  Andreas Schwab  <schwab@suse.de>
49342         [BZ #16574]
49343         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
49344         Store non-zero if the second buffer was newly allocated.
49345         (send_dg): Likewise.
49346         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
49347         to send_vc and send_dg.
49348         (res_nsend): Pass NULL for ansp2_malloced.
49349         * resolv/res_query.c (__libc_res_nquery): Add parameter
49350         answerp2_malloced and pass it down to __libc_res_nsend.
49351         (res_nquery): Pass additional NULL to __libc_res_nquery.
49352         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
49353         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
49354         second answer buffer if answerp2_malloced was set.
49355         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
49356         (__libc_res_nquerydomain): Add parameter
49357         answerp2_malloced and pass it down to __libc_res_nquery.
49358         (res_nquerydomain): Pass additional NULL to
49359         __libc_res_nquerydomain.
49360         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
49361         additional NULL to __libc_res_nsend and __libc_res_nquery.
49362         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
49363         additional NULL to __libc_res_nsearch.
49364         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
49365         parameter of __libc_res_nsearch to check for separately allocated
49366         second buffer.
49367         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
49368         __libc_res_nquery.
49369         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
49370         additional NULL to __libc_res_nquery.
49371         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
49372         __libc_res_nsearch.
49373         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
49374         * include/resolv.h: Update prototypes of __libc_res_nquery,
49375         __libc_res_nsearch, __libc_res_nsend.
49377 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
49379         * math/auto-libm-test-in: Add tests of fma.
49380         * math/auto-libm-test-out: Regenerated.
49381         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
49382         (fma_towardzero_test_data): Likewise.
49383         (fma_downward_test_data): Likewise.
49384         (fma_upward_test_data): Likewise.
49385         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
49386         mpc_mode.
49387         (rounding_modes): Add values for new field.
49388         (func_calc_method): Add value mpfr_fff_f.
49389         (func_calc_desc): Add mpfr_fff_f union field.
49390         (test_function): Add field exact_args.
49391         (FUNC): Add macro argument EXACT_ARGS.
49392         (FUNC_mpfr_f_f): Update call to FUNC.
49393         (FUNC_mpfr_f_f): Likewise.
49394         (FUNC_mpfr_ff_f): Likewise.
49395         (FUNC_mpfr_if_f): Likewise.
49396         (FUNC_mpc_c_f): Likewise.
49397         (FUNC_mpc_c_c): Likewise.
49398         (test_functions): Add fma.  Update calls to FUNC.
49399         (handle_input_arg): Add argument exact_args.
49400         (add_test): Update call to handle_input_arg.
49401         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
49402         (output_for_one_input_case): Update call to calc_generic_results.
49403         Recalculate exact zero results in each rounding mode.
49405         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
49406         non-negative before setting low bit.
49407         * math/auto-libm-test-in: Mark one asin test possibly having
49408         spurious underflow.
49409         * math/auto-libm-test-out: Regenerated.
49410         * sysdeps/i386/fpu/libm-test-ulps: Update.
49411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49413 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
49415         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
49416         * sysdeps/unix/sysv/linux/microblaze: Move directory from
49417         ports/sysdeps/unix/sysv/linux/microblaze.
49418         * README: Add missing listing for microblaze*-*-linux-gnu.
49420 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
49422         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
49423         duplicate code
49425 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
49427         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
49428         * sysdeps/unix/sysv/linux/ia64: Move directory from
49429         ports/sysdeps/unix/sysv/linux/ia64.
49430         * README: Update listing for ia64-*-linux-gnu.
49432 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
49433             Joseph Myers  <joseph@codesourcery.com>
49435         * Makeconfig (test-name): New variable.
49436         (evaluate-test): Likewise.
49437         * Makerules (do-test-clean): Remove .test-result files.
49438         (common-mostlyclean): Likewise.
49439         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
49440         * scripts/evaluate-test.sh: New file.
49442 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
49444         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
49445         separate $(objpfx)tst-fopenloc-cmp.out and
49446         $(objpfx)tst-fopenloc-mem.out targets.
49447         (tests): Update dependencies.
49448         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
49449         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
49450         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
49451         (tst-rxspencer-no-utf8-ARGS): New variable.
49452         (tst-rxspencer-no-utf8-ENV): Likewise.
49453         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
49454         instead of $(objpfx)tst-rxspencer-mem.
49455         ($(objpfx)tst-rxspencer-mem): Change target to
49456         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
49457         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
49458         * posix/tst-rxspencer-no-utf8.c: New file.
49460         * elf/Makefile ($(objpfx)order.out): Remove rule.
49461         [$(run-built-tests) = yes] (tests): Depend on
49462         $(objpfx)order-cmp.out.
49463         ($(objpfx)order-cmp.out): New rule.
49464         [$(run-built-tests) = yes] (tests): Depend on
49465         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
49466         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
49467         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
49468         $(objpfx)tst-array5-static-cmp.out.
49469         ($(objpfx)tst-array1.out): Remove rule.
49470         ($(objpfx)tst-array1-cmp.out): New rule.
49471         ($(objpfx)tst-array1-static.out): Remove rule.
49472         ($(objpfx)tst-array1-static-cmp.out): New rule.
49473         ($(objpfx)tst-array2.out): Remove rule.
49474         ($(objpfx)tst-array2-cmp.out): New rule.
49475         ($(objpfx)tst-array3.out): Remove rule.
49476         ($(objpfx)tst-array3-cmp.out): New rule.
49477         ($(objpfx)tst-array4.out): Remove rule.
49478         ($(objpfx)tst-array4-cmp.out): New rule.
49479         ($(objpfx)tst-array5.out): Remove rule.
49480         ($(objpfx)tst-array5-cmp.out): New rule.
49481         ($(objpfx)tst-array5-static.out): Remove rule.
49482         ($(objpfx)tst-array5-static-cmp.out): New rule.
49483         [$(run-built-tests) = yes] (tests): Depend on
49484         $(objpfx)order2-cmp.out.
49485         ($(objpfx)order2.out): Remove rule.
49486         ($(objpfx)order2-cmp.out): New rule.
49487         ($(objpfx)tst-initorder.out): Remove rule.
49488         [$(run-built-tests) = yes] (tests): Depend on
49489         $(objpfx)tst-initorder-cmp.out.
49490         ($(objpfx)tst-initorder-cmp.out): New rule.
49491         ($(objpfx)tst-initorder2.out): Remove rule.
49492         [$(run-built-tests) = yes] (tests): Depend on
49493         $(objpfx)tst-initorder2-cmp.out.
49494         ($(objpfx)tst-initorder2-cmp.out): New rule.
49495         [$(run-built-tests) = yes] (tests): Depend on
49496         $(objpfx)tst-unused-dep-cmp.out.
49497         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
49498         ($(objpfx)tst-unused-dep-cmp.out): New rule.
49499         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
49500         on $(objpfx)tst-setvbuf1-cmp.out.
49501         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
49502         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
49503         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
49504         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
49505         ($(objpfx)tst-svc.out): Remove rule.
49506         ($(objpfx)tst-svc-cmp.out): New rule.
49508 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
49510         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
49511         * ctype/ctype.h [__USE_MISC]: Likewise.
49512         * dirent/dirent.h [__USE_MISC]: Likewise.
49513         * grp/grp.h [__USE_MISC]: Likewise.
49514         * io/fcntl.h [__USE_MISC]: Likewise.
49515         * io/sys/stat.h [__USE_MISC]: Likewise.
49516         * libio/stdio.h [__USE_MISC]: Likewise.
49517         * posix/unistd.h [__USE_MISC]: Likewise.
49518         * pwd/pwd.h [__USE_MISC]: Likewise.
49519         * stdlib.h [__USE_MISC]: Likewise.
49520         * string/bits/string2.h [__USE_MISC]: Likewise.
49521         * string/string.h [__USE_MISC]: Likewise.
49522         * time/time.h [__USE_MISC]: Likewise.
49524 2014-02-13  Andreas Schwab  <schwab@suse.de>
49526         [BZ #16574]
49527         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
49528         second answer buffer if it was separately allocated.
49530 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
49532         * sysdeps/mips/math-tests.h: Include <features.h>.
49533         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49534         (ROUNDING_TESTS_long_double): Do not define.
49535         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
49536         (EXCEPTION_TESTS_long_double): Likewise.
49537         * sysdeps/mips/mips64/libm-test-ulps: Update.
49539         * include/features.h (__USE_BSD): Remove macro definitions.
49540         (__USE_SVID): Likewise.
49541         (_BSD_SOURCE): Likewise.
49542         (_SVID_SOURCE): Likewise.
49543         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
49544         from definition of _DEFAULT_SOURCE.
49545         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
49546         [_DEFAULT_SOURCE].
49547         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
49548         * bits/mman.h [__USE_BSD]: Likewise.
49549         * bits/termios.h [__USE_BSD]: Likewise.
49550         * bits/waitstatus.h [__USE_BSD]: Likewise.
49551         * ctype/ctype.h [__USE_SVID]: Likewise.
49552         * dirent/dirent.h [__USE_BSD]: Likewise.
49553         * grp/grp.h [__USE_SVID]: Likewise.
49554         [__USE_BSD]: Likewise.
49555         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
49556         * io/fcntl.h [__USE_BSD]: Likewise.
49557         * io/ftw.h [__USE_BSD]: Likewise.
49558         * io/sys/stat.h [__USE_BSD]: Likewise.
49559         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
49560         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
49561         * libio/stdio.h [__USE_SVID]: Likewise.
49562         [__USE_BSD]: Likewise.
49563         * math/math.h [__USE_SVID]: Likewise.
49564         [__USE_BSD]: Likewise.
49565         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
49566         * misc/bits/syslog.h [__USE_BSD]: Likewise.
49567         * misc/search.h [__USE_SVID]: Likewise.
49568         * misc/sys/mman.h [__USE_BSD]: Likewise.
49569         * misc/sys/syslog.h [__USE_BSD]: Likewise.
49570         * misc/sys/uio.h [__USE_BSD]: Likewise.
49571         * posix/bits/unistd.h [__USE_BSD]: Likewise.
49572         * posix/glob.h [__USE_BSD]: Likewise.
49573         * posix/regex.h [__USE_BSD]: Likewise.
49574         * posix/sys/types.h [__USE_BSD]: Likewise.
49575         [__USE_SVID]: Likewise.
49576         * posix/sys/utsname.h [__USE_SVID]: Likewise.
49577         * posix/sys/wait.h [__USE_BSD]: Likewise.
49578         [__USE_SVID]: Likewise.
49579         * posix/unistd.h [__USE_BSD]: Likewise.
49580         [__USE_SVID]: Likewise.
49581         * pwd/pwd.h [__USE_SVID]: Likewise.
49582         * resolv/netdb.h [__USE_BSD]: Likewise.
49583         * setjmp/setjmp.h [__USE_BSD]: Likewise.
49584         * signal/signal.h [__USE_BSD]: Likewise.
49585         [__USE_SVID]: Likewise.
49586         * socket/sys/socket.h [__USE_BSD]: Likewise.
49587         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
49588         * stdlib/stdlib.h [__USE_BSD]: Likewise.
49589         [__USE_SVID]: Likewise.
49590         * string/bits/string2.h [__USE_BSD]: Likewise.
49591         [__USE_SVID]: Likewise.
49592         * string/bits/string3.h [__USE_BSD]: Likewise.
49593         * string/endian.h [__USE_BSD]: Likewise.
49594         * string/string.h [__USE_SVID]: Likewise.
49595         [__USE_BSD]: Likewise.
49596         * string/strings.h [__USE_BSD]: Likewise.
49597         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
49598         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
49599         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
49600         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
49601         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
49602         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
49603         Likewise.
49604         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
49605         Likewise.
49606         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
49607         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
49608         Likewise.
49609         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
49610         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
49611         Likewise.
49612         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
49613         Likewise.
49614         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
49615         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
49616         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
49617         Likewise.
49618         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
49619         Likewise.
49620         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
49621         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
49622         * termios/termios.h [__USE_BSD]: Likewise.
49623         * time/sys/time.h [__USE_BSD]: Likewise.
49624         * time/time.h [__USE_BSD]: Likewise.
49625         [__USE_SVID]: Likewise.
49627         * Makefile (subdir_targets): Remove subdir_lint.out.
49629         * stdio-common/Makefile (do-tst-unbputc): Remove target.
49630         (do-tst-printf): Likewise.
49631         (tests): Depend directly on $(objpfx)tst-unbputc.out and
49632         $(objpfx)tst-printf.out.
49634         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
49636         * Makerules (check-abi-%): Change target to
49637         $(objpfx)check-abi-%.out.
49638         (check-abi target): Update dependencies.
49639         (check-abi-pattern variable): Redirect output of diff to $@.
49640         (check-abi variable): Likewise.
49641         * elf/Makefile (check-abi): Update dependencies.
49643         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
49644         unused.
49645         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
49646         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
49647         subnormal range.
49648         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
49649         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
49650         value has largest subnormal exponent.
49651         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
49652         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
49653         * sysdeps/aarch64/soft-fp/sfp-machine.h
49654         (_FP_TININESS_AFTER_ROUNDING): New macro.
49655         * sysdeps/alpha/soft-fp/sfp-machine.h
49656         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49657         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49658         Likewise.
49659         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
49660         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49661         * sysdeps/mips/soft-fp/sfp-machine.h
49662         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49663         * sysdeps/powerpc/soft-fp/sfp-machine.h
49664         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49665         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49666         Likewise.
49667         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49668         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49669         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49670         (_FP_TININESS_AFTER_ROUNDING): Likewise.
49671         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
49672         Likewise.
49674 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
49676         [BZ #16545]
49677         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
49678         model 1.
49680 2014-02-12  Richard Henderson  <rth@redhat.com>
49682         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
49683         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
49684         * sysdeps/unix/sysv/linux/alpha: Move directory from
49685         ports/sysdeps/unix/sysv/linux/alpha.
49686         * README: Update listing for alpha-*-linux-gnu.
49688 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
49690         * include/features.h: Update comment documenting feature test
49691         macros.
49692         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
49693         _DEFAULT_SOURCE.
49694         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
49695         (_SVID_SOURCE): Likewise.
49696         (_DEFAULT_SOURCE): Update description of default features.
49697         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
49698         with _GNU_SOURCE.
49699         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
49700         (S_ISVTX): Likewise.
49701         * manual/math.texi (Mathematical Constants): Likewise.
49702         * manual/signal.texi (Interrupted Primitives): Likewise.
49703         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
49704         * math/test-matherr.c (_SVID_SOURCE): Do not define.
49705         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
49706         Don't refer to _SVID_SOURCE in warning text.
49708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49710         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
49711         already defined.
49712         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
49713         * sysdeps/mips/dl-lookup.c: Remove.
49714         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
49716 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
49718         [BZ #16447]
49719         * math/auto-libm-test-in: Add testcase for expl.
49720         * math/auto-libm-test-out: Regenerate.
49721         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
49722         calculation of unsafe.
49723         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
49725 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49727         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
49728         * sysdeps/unix/sysv/linux/aarch64: Move directory from
49729         ports/sysdeps/unix/sysv/linux/aarch64.
49730         * README: Update listing for aarch64*-*-linux-gnu.
49732 2014-02-11  Will Newton  <will.newton@linaro.org>
49734         * manual/probes.texi (Mathematical Function Probes): Use
49735         "triggered" instead of "hit".
49737         * manual/probes.texi (Internal Probes): Add documentation
49738         of setjmp, longjmp and longjmp_target probes.
49740         * include/stap-probe.h: Add comment about probe argument
49741         format.
49743         * malloc/mtrace.c (attribute_hidden): Remove unused macro
49744         definition.  (tr_where, tr_freehook, tr_mallochook,
49745         tr_reallochook, tr_memalignhook): Use ANSI protoype.
49747 2014-02-11  David S. Miller  <davem@davemloft.net>
49749         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
49750         processing int_tests.
49752 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
49754         * sysdeps/mips: Move directory from ports/sysdeps/mips.
49755         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
49756         * sysdeps/unix/sysv/linux/mips: Move directory from
49757         ports/sysdeps/unix/sysv/linux/mips.
49758         * README: Update listing for mips-*-linux-gnu and
49759         mips64-*-linux-gnu.
49761 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
49763         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
49764         * sysdeps/unix/sysv/linux/m68k: Move directory from
49765         ports/sysdeps/unix/sysv/linux/m68k.
49766         * README: Update listing for m68k-*-linux-gnu.
49768 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
49770         * sysdeps/tile: Move directory from ports/sysdeps/tile.
49771         * sysdeps/unix/sysv/linux/generic: Move directory from
49772         ports/sysdeps/unix/sysv/linux/generic.
49773         * sysdeps/unix/sysv/linux/tile: Move directory from
49774         ports/sysdeps/unix/sysv/linux/tile.
49775         * README: Update listing for tile*-*-linux-gnu.
49777 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
49779         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
49780         __builtin_expect.
49781         * benchtests/bench-memmem.c (simple_memmem): Likewise.
49782         * catgets/open_catalog.c (__open_catalog): Likewise.
49783         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
49784         * debug/confstr_chk.c: Likewise.
49785         * debug/fread_chk.c (__fread_chk): Likewise.
49786         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
49787         * debug/getgroups_chk.c: Likewise.
49788         * debug/mbsnrtowcs_chk.c: Likewise.
49789         * debug/mbsrtowcs_chk.c: Likewise.
49790         * debug/mbstowcs_chk.c: Likewise.
49791         * debug/memcpy_chk.c: Likewise.
49792         * debug/memmove_chk.c: Likewise.
49793         * debug/mempcpy_chk.c: Likewise.
49794         * debug/memset_chk.c: Likewise.
49795         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
49796         * debug/strcat_chk.c (__strcat_chk): Likewise.
49797         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
49798         * debug/strncat_chk.c (__strncat_chk): Likewise.
49799         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
49800         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
49801         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
49802         * debug/wcpncpy_chk.c: Likewise.
49803         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
49804         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
49805         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
49806         * debug/wcsncpy_chk.c: Likewise.
49807         * debug/wcsnrtombs_chk.c: Likewise.
49808         * debug/wcsrtombs_chk.c: Likewise.
49809         * debug/wcstombs_chk.c: Likewise.
49810         * debug/wmemcpy_chk.c: Likewise.
49811         * debug/wmemmove_chk.c: Likewise.
49812         * debug/wmempcpy_chk.c: Likewise.
49813         * debug/wmemset_chk.c: Likewise.
49814         * dirent/scandirat.c (SCANDIRAT): Likewise.
49815         * dlfcn/dladdr1.c (dladdr1): Likewise.
49816         * dlfcn/dladdr.c (dladdr): Likewise.
49817         * dlfcn/dlclose.c (dlclose_doit): Likewise.
49818         * dlfcn/dlerror.c (__dlerror): Likewise.
49819         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
49820         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
49821         * dlfcn/dlopen.c (dlopen_doit): Likewise.
49822         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
49823         * dlfcn/dlsym.c (dlsym_doit): Likewise.
49824         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
49825         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
49826         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
49827         Likewise.
49828         * elf/dl-conflict.c: Likewise.
49829         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
49830         * elf/dl-dst.h: Likewise.
49831         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
49832         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
49833         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
49834         * elf/dl-init.c (call_init, _dl_init): Likewise.
49835         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
49836         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
49837         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
49838         Likewise.
49839         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
49840         Likewise.
49841         * elf/dl-minimal.c (__libc_memalign): Likewise.
49842         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
49843         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49844         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
49845         * elf/dl-sym.c (do_sym): Likewise.
49846         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
49847         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
49848         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
49849         * elf/dl-writev.h (_dl_writev): Likewise.
49850         * elf/ldconfig.c (search_dir): Likewise.
49851         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
49852         (dl_main): Likewise.
49853         * elf/setup-vdso.h (setup_vdso): Likewise.
49854         * grp/compat-initgroups.c (compat_call): Likewise.
49855         * grp/fgetgrent.c (fgetgrent): Likewise.
49856         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
49857         * grp/putgrent.c (putgrent): Likewise.
49858         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
49859         Likewise.
49860         * hurd/hurdinit.c: Likewise.
49861         * iconvdata/8bit-gap.c (struct): Likewise.
49862         * iconvdata/ansi_x3.110.c : Likewise.
49863         * iconvdata/big5.c : Likewise.
49864         * iconvdata/big5hkscs.c : Likewise.
49865         * iconvdata/cp1255.c: Likewise.
49866         * iconvdata/cp1258.c : Likewise.
49867         * iconvdata/cp932.c : Likewise.
49868         * iconvdata/euc-cn.c: Likewise.
49869         * iconvdata/euc-jisx0213.c : Likewise.
49870         * iconvdata/euc-jp.c: Likewise.
49871         * iconvdata/euc-jp-ms.c : Likewise.
49872         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
49873         * iconvdata/gb18030.c : Likewise.
49874         * iconvdata/gbbig5.c (const): Likewise.
49875         * iconvdata/gbgbk.c: Likewise.
49876         * iconvdata/gbk.c : Likewise.
49877         * iconvdata/ibm1364.c : Likewise.
49878         * iconvdata/ibm930.c : Likewise.
49879         * iconvdata/ibm932.c: Likewise.
49880         * iconvdata/ibm933.c : Likewise.
49881         * iconvdata/ibm935.c : Likewise.
49882         * iconvdata/ibm937.c : Likewise.
49883         * iconvdata/ibm939.c : Likewise.
49884         * iconvdata/ibm943.c: Likewise.
49885         * iconvdata/iso_11548-1.c: Likewise.
49886         * iconvdata/iso-2022-cn.c : Likewise.
49887         * iconvdata/iso-2022-cn-ext.c : Likewise.
49888         * iconvdata/iso-2022-jp-3.c: Likewise.
49889         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
49890         * iconvdata/iso-2022-kr.c : Likewise.
49891         * iconvdata/iso646.c (gconv_end): Likewise.
49892         * iconvdata/iso_6937-2.c : Likewise.
49893         * iconvdata/iso_6937.c : Likewise.
49894         * iconvdata/iso8859-1.c: Likewise.
49895         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
49896         * iconvdata/shift_jisx0213.c : Likewise.
49897         * iconvdata/sjis.c : Likewise.
49898         * iconvdata/t.61.c : Likewise.
49899         * iconvdata/tcvn5712-1.c : Likewise.
49900         * iconvdata/tscii.c: Likewise.
49901         * iconvdata/uhc.c : Likewise.
49902         * iconvdata/unicode.c (gconv_end): Likewise.
49903         * iconvdata/utf-16.c (gconv_end): Likewise.
49904         * iconvdata/utf-32.c (gconv_end): Likewise.
49905         * iconvdata/utf-7.c (base64): Likewise.
49906         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
49907         * iconv/gconv_close.c (__gconv_close): Likewise.
49908         * iconv/gconv_open.c (__gconv_open): Likewise.
49909         * iconv/gconv_simple.c (internal_ucs4_loop_single)
49910         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
49911         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
49912         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
49913         (ucs4le_internal_loop_single): Likewise.
49914         * iconv/iconv.c (iconv): Likewise.
49915         * iconv/iconv_close.c: Likewise.
49916         * iconv/loop.c (SINGLE): Likewise.
49917         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
49918         * include/atomic.h: Likewise.
49919         * inet/inet6_option.c (option_alloc): Likewise.
49920         * intl/bindtextdom.c (set_binding_values): Likewise.
49921         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
49922         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
49923         * intl/localealias.c (read_alias_file): Likewise.
49924         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
49925         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
49926         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
49927         * libio/fmemopen.c (fmemopen): Likewise.
49928         * libio/iofgets.c (_IO_fgets): Likewise.
49929         * libio/iofgets_u.c (fgets_unlocked): Likewise.
49930         * libio/iofgetws.c (fgetws): Likewise.
49931         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
49932         * libio/iogetdelim.c (_IO_getdelim): Likewise.
49933         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
49934         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
49935         * locale/findlocale.c (_nl_find_locale): Likewise.
49936         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
49937         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
49938         Likewise.
49939         * locale/setlocale.c (setlocale): Likewise.
49940         * login/programs/pt_chown.c (main): Likewise.
49941         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
49942         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
49943         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
49944         (mmap, mmap64, mremap, munmap): Likewise.
49945         * math/e_exp2l.c: Likewise.
49946         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
49947         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
49948         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
49949         * math/s_catan.c (__catan): Likewise.
49950         * math/s_catanf.c (__catanf): Likewise.
49951         * math/s_catanh.c (__catanh): Likewise.
49952         * math/s_catanhf.c (__catanhf): Likewise.
49953         * math/s_catanhl.c (__catanhl): Likewise.
49954         * math/s_catanl.c (__catanl): Likewise.
49955         * math/s_ccosh.c (__ccosh): Likewise.
49956         * math/s_ccoshf.c (__ccoshf): Likewise.
49957         * math/s_ccoshl.c (__ccoshl): Likewise.
49958         * math/s_cexp.c (__cexp): Likewise.
49959         * math/s_cexpf.c (__cexpf): Likewise.
49960         * math/s_cexpl.c (__cexpl): Likewise.
49961         * math/s_clog10.c (__clog10): Likewise.
49962         * math/s_clog10f.c (__clog10f): Likewise.
49963         * math/s_clog10l.c (__clog10l): Likewise.
49964         * math/s_clog.c (__clog): Likewise.
49965         * math/s_clogf.c (__clogf): Likewise.
49966         * math/s_clogl.c (__clogl): Likewise.
49967         * math/s_csin.c (__csin): Likewise.
49968         * math/s_csinf.c (__csinf): Likewise.
49969         * math/s_csinh.c (__csinh): Likewise.
49970         * math/s_csinhf.c (__csinhf): Likewise.
49971         * math/s_csinhl.c (__csinhl): Likewise.
49972         * math/s_csinl.c (__csinl): Likewise.
49973         * math/s_csqrt.c (__csqrt): Likewise.
49974         * math/s_csqrtf.c (__csqrtf): Likewise.
49975         * math/s_csqrtl.c (__csqrtl): Likewise.
49976         * math/s_ctan.c (__ctan): Likewise.
49977         * math/s_ctanf.c (__ctanf): Likewise.
49978         * math/s_ctanh.c (__ctanh): Likewise.
49979         * math/s_ctanhf.c (__ctanhf): Likewise.
49980         * math/s_ctanhl.c (__ctanhl): Likewise.
49981         * math/s_ctanl.c (__ctanl): Likewise.
49982         * math/w_pow.c: Likewise.
49983         * math/w_powf.c: Likewise.
49984         * math/w_powl.c: Likewise.
49985         * math/w_scalb.c (sysv_scalb): Likewise.
49986         * math/w_scalbf.c (sysv_scalbf): Likewise.
49987         * math/w_scalbl.c (sysv_scalbl): Likewise.
49988         * misc/error.c (error_tail): Likewise.
49989         * misc/pselect.c (__pselect): Likewise.
49990         * nis/nis_callback.c (__nis_create_callback): Likewise.
49991         * nis/nis_call.c (__nisfind_server): Likewise.
49992         * nis/nis_creategroup.c (nis_creategroup): Likewise.
49993         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
49994         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
49995         * nis/nis_getservlist.c (nis_getservlist): Likewise.
49996         * nis/nis_lookup.c (nis_lookup): Likewise.
49997         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
49998         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
49999         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
50000         * nis/nis_xdr.c (xdr_endpoint): Likewise.
50001         * nis/nss_compat/compat-grp.c (getgrent_next_file)
50002         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
50003         * nis/nss_compat/compat-initgroups.c (add_group)
50004         (internal_getgrent_r): Likewise.
50005         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
50006         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
50007         * nis/nss_compat/compat-spwd.c (getspent_next_file)
50008         (internal_getspnam_r): Likewise.
50009         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
50010         (_nss_nis_getaliasbyname_r): Likewise.
50011         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
50012         (_nss_nis_getntohost_r): Likewise.
50013         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
50014         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
50015         (_nss_nis_getgrgid_r): Likewise.
50016         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
50017         (internal_nis_gethostent_r, internal_gethostbyname2_r)
50018         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
50019         (_nss_nis_gethostbyname4_r): Likewise.
50020         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
50021         (initgroups_netid): Likewise.
50022         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
50023         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
50024         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
50025         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
50026         (_nss_nis_getprotobynumber_r): Likewise.
50027         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
50028         (_nss_nis_getsecretkey): Likewise.
50029         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
50030         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
50031         (_nss_nis_getpwuid_r): Likewise.
50032         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
50033         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
50034         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
50035         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
50036         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
50037         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
50038         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
50039         Likewise.
50040         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
50041         (_nss_nisplus_getntohost_r): Likewise.
50042         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
50043         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
50044         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
50045         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
50046         Likewise.
50047         * nis/nss_nisplus/nisplus-initgroups.c
50048         (_nss_nisplus_initgroups_dyn): Likewise.
50049         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
50050         (_nss_nisplus_getnetbyaddr_r): Likewise.
50051         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
50052         (_nss_nisplus_getprotobynumber_r): Likewise.
50053         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
50054         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
50055         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
50056         Likewise.
50057         * nis/nss_nisplus/nisplus-service.c
50058         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
50059         (_nss_nisplus_getservbyport_r): Likewise.
50060         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
50061         (_nss_nisplus_getspnam_r): Likewise.
50062         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
50063         Likewise.
50064         * nscd/aicache.c (addhstaiX): Likewise.
50065         * nscd/cache.c (cache_search, prune_cache): Likewise.
50066         * nscd/connections.c (register_traced_file, send_ro_fd)
50067         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
50068         (main_loop_epoll): Likewise.
50069         * nscd/grpcache.c (addgrbyX): Likewise.
50070         * nscd/hstcache.c (addhstbyX): Likewise.
50071         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50072         * nscd/mem.c (gc, mempool_alloc): Likewise.
50073         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
50074         (addinnetgrX): Likewise.
50075         * nscd/nscd-client.h (__nscd_acquire_maplock)
50076         (__nscd_drop_map_ref): Likewise.
50077         * nscd/nscd_getai.c (__nscd_getai): Likewise.
50078         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
50079         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
50080         Likewise.
50081         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
50082         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50083         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
50084         (__nscd_get_map_ref): Likewise.
50085         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
50086         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
50087         Likewise.
50088         * nscd/pwdcache.c (addpwbyX): Likewise.
50089         * nscd/selinux.c (preserve_capabilities): Likewise.
50090         * nscd/servicescache.c (addservbyX): Likewise.
50091         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
50092         * posix/fnmatch.c (fnmatch): Likewise.
50093         * posix/getopt.c (_getopt_internal_r): Likewise.
50094         * posix/glob.c (glob, glob_in_dir): Likewise.
50095         * posix/wordexp.c (exec_comm_child): Likewise.
50096         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
50097         (getanswer_r, gaih_getanswer_slice): Likewise.
50098         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
50099         * resolv/res_init.c: Likewise.
50100         * resolv/res_mkquery.c (res_nmkquery): Likewise.
50101         * resolv/res_query.c (__libc_res_nquery): Likewise.
50102         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
50103         Likewise.
50104         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
50105         * stdio-common/perror.c (perror): Likewise.
50106         * stdio-common/printf_fp.c (___printf_fp): Likewise.
50107         * stdio-common/tmpnam.c (tmpnam): Likewise.
50108         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50109         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
50110         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
50111         Likewise.
50112         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
50113         * stdlib/putenv.c (putenv): Likewise.
50114         * stdlib/setenv.c (__add_to_environ): Likewise.
50115         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50116         * stdlib/strtol_l.c (INTERNAL): Likewise.
50117         * string/memmem.c (memmem): Likewise.
50118         * string/strerror.c (strerror): Likewise.
50119         * string/strnlen.c (__strnlen): Likewise.
50120         * string/test-memmem.c (simple_memmem): Likewise.
50121         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
50122         * sunrpc/pm_getport.c (__get_socket): Likewise.
50123         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
50124         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
50125         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
50126         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
50127         Likewise.
50128         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
50129         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
50130         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
50131         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
50132         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
50133         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
50134         Likewise.
50135         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
50136         Likewise.
50137         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
50138         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
50139         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
50140         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
50141         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
50142         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
50143         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50144         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
50145         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
50146         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
50147         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
50148         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
50149         Likewise.
50150         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
50151         Likewise.
50152         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
50153         Likewise.
50154         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
50155         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
50156         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
50157         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
50158         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
50159         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
50160         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
50161         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
50162         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
50163         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
50164         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
50165         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50166         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50167         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
50168         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
50169         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
50170         Likewise.
50171         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
50172         Likewise.
50173         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
50174         Likewise.
50175         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
50176         Likewise.
50177         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
50178         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
50179         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
50180         Likewise.
50181         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
50182         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
50183         * sysdeps/posix/opendir.c (__opendirat): Likewise.
50184         * sysdeps/posix/sleep.c: Likewise.
50185         * sysdeps/posix/tempname.c: Likewise.
50186         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
50187         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
50188         Likewise.
50189         * sysdeps/powerpc/powerpc32/dl-machine.h
50190         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
50191         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
50193         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
50194         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
50195         Likewise.
50196         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
50197         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
50198         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50199         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
50200         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
50201         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
50202         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
50203         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
50204         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50205         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
50206         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
50207         (elf_machine_lazy_rel): Likewise.
50208         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50209         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
50210         (elf_machine_lazy_rel): Likewise.
50211         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
50212         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
50213         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
50214         * sysdeps/unix/grantpt.c (grantpt): Likewise.
50215         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
50216         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
50217         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
50218         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50219         Likewise.
50220         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
50221         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
50222         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
50223         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
50224         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50225         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50226         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
50227         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
50228         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
50229         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50230         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
50231         Likewise.
50232         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
50233         (__posix_fallocate64_l64): Likewise.
50234         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
50235         (posix_fallocate): Likewise.
50236         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
50237         Likewise.
50238         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50239         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
50240         (getifaddrs_internal): Likewise.
50241         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
50242         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
50243         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
50244         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
50245         * sysdeps/unix/sysv/linux/posix_fallocate64.c
50246         (__posix_fallocate64_l64): Likewise.
50247         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
50248         Likewise.
50249         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
50250         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
50251         (__get_clockfreq): Likewise.
50252         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
50253         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
50254         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
50255         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50256         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50257         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
50258         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
50259         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
50260         Likewise.
50261         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
50262         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
50263         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
50264         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
50265         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
50266         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
50267         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
50268         Likewise.
50269         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50270         (posix_fallocate): Likewise.
50271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50272         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
50273         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
50274         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
50275         (elf_machine_rela, elf_machine_rela_relative)
50276         (elf_machine_lazy_rel): Likewise.
50277         * time/asctime.c (asctime_internal): Likewise.
50278         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
50279         * time/tzset.c (__tzset_parse_tz): Likewise.
50280         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
50281         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
50282         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
50283         * wcsmbs/wcsmbsload.h: Likewise.
50285         [BZ #15894]
50286         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
50288         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
50289         (arena_get2): Remove THREAD_STATS conditionals.
50290         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
50291         (__malloc_stats, int): Likewise.
50293 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
50295         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
50296         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
50298         * manual/setjmp.texi: Fix typos/grammar errors.
50300         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
50301         Only return early when n is <= 0.  Delete unused return statement.
50303         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
50304         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
50305         * debug/tst-longjmp_chk3.c: New file.
50307         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
50308         (test_main): Replace code with set_fortify_handler call.
50309         * debug/test-strcpy_chk.c: Likewise.
50310         * debug/tst-chk1.c: Likewise.
50311         * debug/tst-longjmp_chk.c: Likewise.
50312         * test-skeleton.c: Include fcntl.h & paths.h
50313         (set_fortify_handler): Define.
50315         * debug/tst-longjmp_chk.c: Add header comment and include
50316         ../test-skeleton.c.
50317         (do_test): Mark static.
50318         (TEST_FUNCTION): Define.
50320         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
50321         (IP_PMTUDISC_INTERFACE): Likewise.
50322         (IP_MULTICAST_IF): Likewise.
50323         (IP_MULTICAST_TTL): Likewise.
50324         (IP_MULTICAST_LOOP): Likewise.
50325         (IP_ADD_MEMBERSHIP): Likewise.
50326         (IP_DROP_MEMBERSHIP): Likewise.
50327         (IP_UNBLOCK_SOURCE): Likewise.
50328         (IP_BLOCK_SOURCE): Likewise.
50329         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
50330         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
50331         (IP_MSFILTER): Likewise.
50332         (MCAST_JOIN_GROUP): Likewise.
50333         (MCAST_BLOCK_SOURCE): Likewise.
50334         (MCAST_UNBLOCK_SOURCE): Likewise.
50335         (MCAST_LEAVE_GROUP): Likewise.
50336         (MCAST_JOIN_SOURCE_GROUP): Likewise.
50337         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
50338         (MCAST_MSFILTER): Likewise.
50339         (IP_MULTICAST_ALL): Likewise.
50340         (IP_UNICAST_IF): Likewise.
50342         * timezone/Makefile: Delete $(have-ksh) check.
50343         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
50344         * timezone/tzselect.ksh: Add +x mode bits.
50346         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
50347         (ANON_INODE_FS_MAGIC): Likewise.
50348         (BDEVFS_MAGIC): Likewise.
50349         (BINFMTFS_MAGIC): Likewise.
50350         (BTRFS_TEST_MAGIC): Likewise.
50351         (CRAMFS_MAGIC_WEND): Likewise.
50352         (DEBUGFS_MAGIC): Likewise.
50353         (ECRYPTFS_SUPER_MAGIC): Likewise.
50354         (EXT3_SUPER_MAGIC): Likewise.
50355         (EXT4_SUPER_MAGIC): Likewise.
50356         (FUTEXFS_SUPER_MAGIC): Likewise.
50357         (HOSTFS_SUPER_MAGIC): Likewise.
50358         (HUGETLBFS_MAGIC): Likewise.
50359         (MINIX3_SUPER_MAGIC): Likewise.
50360         (MTD_INODE_FS_MAGIC): Likewise.
50361         (NILFS_SUPER_MAGIC): Likewise.
50362         (OPENPROM_SUPER_MAGIC): Likewise.
50363         (PIPEFS_MAGIC): Likewise.
50364         (PSTOREFS_MAGIC): Likewise.
50365         (QNX6_SUPER_MAGIC): Likewise.
50366         (RAMFS_MAGIC): Likewise.
50367         (REISERFS_SUPER_MAGIC_STRING): Likewise.
50368         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
50369         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
50370         (SECURITYFS_MAGIC): Likewise.
50371         (SELINUX_MAGIC): Likewise.
50372         (SMACK_MAGIC): Likewise.
50373         (SOCKFS_MAGIC): Likewise.
50374         (SQUASHFS_MAGIC): Likewise.
50375         (STACK_END_MAGIC): Likewise.
50376         (TMPFS_MAGIC): Likewise.
50377         (USBDEVICE_SUPER_MAGIC): Likewise.
50378         (V9FS_MAGIC): Likewise.
50379         (XENFS_SUPER_MAGIC): Likewise.
50380         (CRAMFS_MAGIC): Fix typo in comment.
50381         (EXT2_SUPER_MAGIC): Update comment.
50382         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
50384 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
50386         * sysdeps/arm: Move directory from ports/sysdeps/arm.
50387         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
50388         * sysdeps/unix/sysv/linux/arm: Move directory from
50389         ports/sysdeps/unix/sysv/linux/arm.
50390         * README: Update listing for arm-*-linux-gnueabi.
50392         * README: Remove mention of am33.
50394 2014-02-07  Roland McGrath  <roland@hack.frob.com>
50396         * bits/sigset.h (__sigemptyset): Use a statement expression rather
50397         than the comma operator, to avoid "rhs of comma has no effect"
50398         compiler warnings.
50399         (__sigfillset, __sigandset, __sigorset): Likewise.
50400         * include/signal.h (__sigemptyset): Likewise.
50401         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
50403 2014-02-07  Allan McRae  <allan@archlinux.org>
50405         * version.h (RELEASE): Set to "development".
50406         (VERSION): Set to "2.19.90"
50407         * NEWS: Add 2.20 section.
50409 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
50411         [BZ #16529]
50412         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
50414 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50416         * manual/contrib.texi: Update entry for Carlos O'Donell,
50417         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
50419 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
50421         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
50423         * sysdeps/unix/sysv/linux/kernel-features.h
50424         [__LINUX_KERNEL_VERSION >= 0x020621]
50425         (__ASSUME_PROC_PID_TASK_COMM): Define.
50427 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50429         [BZ #16398]
50430         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
50431         conversion when destination buffer does not have enough space.
50432         * libio/tst-ftell-partial-wide.c: New test case.
50433         * libio/Makefile (tests): Add tst-ftell-partial-wide.
50435         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
50436         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
50437         Leonard and Allan McRae.
50439 2014-02-04  David S. Miller  <davem@davemloft.net>
50441         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
50442         32-bit.
50444 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
50447         New file
50448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
50449         New file
50450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
50451         New file.
50452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
50453         New file.
50454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
50455         New file.
50456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
50457         New file.
50458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
50459         New file.
50460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
50461         New file.
50462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
50463         New file.
50464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
50465         New file.
50466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
50467         New file.
50468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
50469         New file.
50470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
50471         New file.
50473 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50475         * nptl/shlib-versions: Change powerpc*le start to 2.17.
50476         * shlib-versions: Likewise.
50478 2014-02-04  Roland McGrath  <roland@hack.frob.com>
50479             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50481         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
50482         (abilist-pattern): New variable, set to %-le.abilist.
50484         * Makerules (abilist-pattern): New variable.
50485         (vpath): Use $(abilist-pattern) in place of %.abilist.
50486         (check-abi-% pattern rule): Likewise.
50487         (check-abi, update-abi): Likewise.
50489 2014-02-04  Eric Wong  <normalperson@yhbt.net>
50491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50493 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
50495         * manual/startup.texi: Add next, previous, and top entries for
50496         the `Program Arguments' and `Environment Variables' nodes.
50498 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
50500         * manual/macros.texi: Add comments before MTASC-safety macros.
50502         * manual/users.texi: Document MTASC-safety properties.
50504         * manual/threads.texi (pthread_key_create, pthread_key_delete)
50505         (pthread_getspecific, pthread_setspecific): Format with
50506         @deftypefun, and add @safety note.
50507         * manual/signal.texi: Move comments that analyze the above
50508         functions to their home place.
50510 2014-02-03  Allan McRae  <allan@archlinux.org>
50512         * po/sl.po: Update Slovenian translation from translation project.
50514 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
50516         * manual/time.texi (timegm): Add missing blank after @c.
50517         Reported by Joseph Myers <joseph@codesourcery.com>.
50519 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
50521         * manual/check-safety.sh: New.
50522         * manual/Makefile ($(objpfx)stamp-summary): Run it.
50524         * manual/terminal.texi: Document MTASC-safety properties.
50526         * manual/filesys.texi: Document MTASC-safety properties.
50528         * manual/errno.texi: Document MTASC-safety properties.
50530         * manual/intro.texi: Document safety identifiers and
50531         conditionals.
50533         * manual/string.texi (wcstok): Fix prototype.
50534         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
50536         * manual/time.texi: Document MTASC-safety properties.
50538         * manual/string.texi: Document MTASC-safety properties.
50540         * manual/threads.texi: Document MTASC-safety properties.
50542         * manual/stdio.texi: Document MTASC-safety properties.
50544         * manual/syslog.texi: Document MTASC-safety properties.
50546         * manual/sysinfo.texi: Document MTASC-safety properties.
50548         * manual/startup.texi: Document MTASC-safety properties.
50550         * manual/socket.texi: Document MTASC-safety properties.
50552         * manual/signal.texi: Document MTASC-safety properties.
50554 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
50556         * manual/setjmp.texi: Document MTASC-safety properties.
50558         * manual/search.texi: Document MTASC-safety properties.
50560         * manual/resource.texi: Document MTASC-safety properties.
50562         * manual/process.texi: Document MTASC-safety properties.
50564         * manual/platform.texi: Document MTASC-safety properties.
50566         * manual/pipe.texi: Document MTASC-safety properties.
50568         * manual/pattern.texi: Document MTASC-safety properties.
50570         * manual/message.texi: Document MTASC-safety properties.
50572         [BZ #12751]
50573         * manual/memory.texi: Document MTASC-safety properties.
50575         * manual/math.texi: Document MTASC-safety properties.
50577         * manual/locale.texi: Document MTASC-safety properties.
50579         * manual/llio.texi: Document MTASC-safety properties.
50581         * manual/libdl.texi: New.
50583         * manual/lang.texi: Document MTASC-safety properties.
50585         * manual/job.texi: Document MTASC-safety properties.
50587         * manual/getopt.texi: Document MTASC-safety properties.
50589         * manual/ctype.texi: Document MTASC-safety properties.
50591 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
50593         [BZ #16046]
50594         * csu/libc-tls.c (static_map): Remove variable.
50595         (__libc_setup_tls): Use main executable's link map for TLS data.
50596         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
50597         casing for LM_ID_BASE and GL(dl_nns).
50598         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
50599         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
50600         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
50601         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
50602         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
50603         member.
50604         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
50605         l_phnum members.
50607 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
50609         * manual/debug.texi: Document MTASC-safety properties.
50611 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
50613         [BZ #16510]
50614         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
50615         of __x86_64__ when disabling x87 inline functions.
50617 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
50619         * manual/charset.texi: Document MTASC-safety properties.
50621         * manual/crypt.texi: Document MTASC-safety properties.
50623         * manual/conf.texi: Document MTASC-safety properties.
50625         * manual/arith.texi: Document MTASC-safety properties.
50627         * manual/argp.texi: Document MTASC-safety properties.
50629         * manual/macros.texi: Introduce macros to document multi
50630         thread, asynchronous signal and asynchronous cancellation
50631         safety properties.
50632         * manual/intro.texi: Introduce the properties themselves.
50634 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50636         * sysdeps/sh/sh4/Makefile: New file.
50638 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
50640         * math/gen-libm-test.pl ($srcdir): New variable.
50641         ($auto_input): Use it.
50643 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50645         [BZ #16506]
50646         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
50647         access beyond array bounds when parsing netgroups file.
50649         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
50650         the old buffer before realloc.
50652 2014-01-27  Allan McRae  <allan@archlinux.org>
50654         * po/fr.po: Update French translation from translation project.
50656 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50658         * sysdeps/sh/libm-test-ulps: Regenerate.
50660 2014-01-24  David S. Miller  <davem@davemloft.net>
50662         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
50664 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50666         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
50667         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
50669 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50671         [BZ #16474]
50672         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
50673         string pointers after reallocation.
50675 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50677         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
50678         __SH4A__ instead of __SH_FPU_ANY__.
50680 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50682         * sysdeps/sh/fpu_control.h: New file.
50683         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
50684         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
50685         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
50686         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
50687         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
50688         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
50689         * sysdeps/sh/sys/ucontext.h: Remove.
50690         * sysdeps/sh/sys: Remove directory.
50692 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50694         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
50695         s390/sys/ucontext.h.
50696         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
50697         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
50699 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
50701         [BZ #15605]
50702         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
50704 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50706         [BZ#16431]
50707         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
50708         Adjust the vDSO correctly for internal calls.
50709         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
50711 2014-01-20  Allan McRae  <allan@archlinux.org>
50713         * po/ca.po: Update Catalan translation from translation project.
50715 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
50717         * sysdeps/s390/sotruss-lib.c: New file.
50719 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50721         [BZ#16430]
50722         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
50723         (__GI___gettimeofday): Alias for a different internal symbol to avoid
50724         local calls issues by not having a PLT stub required for IFUNC calls.
50725         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
50727 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
50729         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
50730         * math/test-fpucw-static.c: Likewise.
50732 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50734         [BZ #16453]
50735         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
50737 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50739         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
50740         implementation for powerpc.
50742 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
50744         [BZ #14782]
50745         * sysdeps/posix/system.c (__libc_system): Do not enable
50746         asynchronous cancellation.
50748 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50750         [BZ #16427]
50751         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
50752         handling only for numbers special also in the IEEE case.
50754 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50756         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50758 2014-01-11  Allan McRae  <allan@archlinux.org>
50760         * po/bg.po: Update Bulgarian translation from translation project.
50762         * po/de.po: Update German translation from translation project.
50764 2014-01-10  Roland McGrath  <roland@hack.frob.com>
50766         * sysdeps/generic/gcc-compat.h: New file.
50768 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50770         * benchtests/asin-inputs: Correct slow inputs.
50771         * benchtests/acos-inputs: Likewise.
50773 2014-01-10  Allan McRae  <allan@archlinux.org>
50775         * po:sv.po: Update Swedish translation from translation project.
50777         * po/vi.po: Update Vietnamese translation from translation project.
50779         * po/eo.po: Update Esperanto translation from translation project.
50781         * po/cs.po: Update Czech translation from translation project.
50783         * po/nl.po: Update Dutch translation from translation project.
50785         * po/pl.po: Update Polish translation from translation project.
50787         * po/ru.po: Update Russian translation from translation project.
50789         * po/uk.po: Update Ukrainian translation from translation project.
50791 2014-01-08  Brooks Moses  <bmoses@google.com>
50793         * elf/dl-load.c: Fix comment typo.
50795 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
50797         * po/header.pot: Rename to...
50798         * po/pot.header: ... this.
50799         * po/Makefile: Use pot.header.
50801 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
50802             Maxim Kuvyrkov  <maxim@kugelworks.com>
50804         [BZ #16394]
50805         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
50806         SRC and DEST against LEN.
50808 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50810         [BZ #16414]
50811         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
50812         implementation.
50813         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
50815 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50819 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
50821         [BZ #16408]
50822         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
50823         for large positive arguments.
50825 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
50827         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50829         * math/auto-libm-test-in: Mark various tests with
50830         xfail-rounding:ldbl-128ibm.
50831         * math/auto-libm-test-out: Regenerated.
50833         [BZ #16407]
50834         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
50835         Increase overflow threshold.
50837 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
50839         [BZ #14286]
50840         * stdio-common/vfprintf.c: Check for integer overflow.
50842 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50844         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
50845         the first argument and return value of __tls_get_addr_internal.
50847 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50849         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
50850         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
50852 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50854         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
50855         * sysdeps/s390/rtld-global-offsets.sym: New file.
50856         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
50857         GLIBC_2.19 symbol.
50858         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
50859         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
50860         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
50861         ... this.
50862         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
50863         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
50864         ... this.
50865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50866         Regenerate.
50867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50868         Regenerate.
50869         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
50870         halfs of GPRs for high_gprs contexts.
50871         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
50872         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
50873         field.
50874         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
50875         uc_flags field.
50876         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
50877         64 bit versions:
50878         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
50879         for high GPRs (uc_high_gprs) and for future extensions
50880         (__reserved).
50881         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
50882         for future extensions (__reserved).
50883         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
50884         64 bit versions:
50885         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
50886         SC_HIGHGPRS offset definition.
50887         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
50888         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
50890         * Versions.def: Add GLIBC_2.19 for libpthread.
50891         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
50892         siglongjmp for libpthread with GLIBC_2.19 symver.
50893         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
50894         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
50895         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
50896         * sysdeps/s390/__longjmp.c: New file.
50897         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
50898         * sysdeps/s390/longjmp.c: New file.
50899         * sysdeps/s390/setjmp.S: New file.
50900         * sysdeps/s390/sigjmp.S: New file.
50901         * sysdeps/s390/v1-longjmp.c: New file.
50902         * sysdeps/s390/v1-setjmp.h: New file.
50903         * sysdeps/s390/v1-sigjmp.c: New file.
50904         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
50905         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
50906         GLIBC_2.19 version.
50907         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
50908         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
50909         versioned symbols for ____longjmp_chk.
50910         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
50911         Likewise.
50912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50913         Regenerate.
50914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50915         Regenerate.
50916         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50917         Regenerate.
50918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50919         Regenerate.
50920         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
50921         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
50922         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
50923         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
50924         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
50925         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
50926         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
50927         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
50928         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
50929         * sysdeps/s390/rtld-__longjmp.c: New file.
50930         * sysdeps/s390/rtld-setjmp.S: New file.
50932 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
50934         [BZ #16400]
50935         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
50936         Return -__logl (x) for small positive arguments without evaluating
50937         a polynomial.
50939 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
50941         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
50942         Rename to ...
50943         (__ptrace_peeksiginfo_args): ... this.
50944         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
50945         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
50946         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
50948 2014-01-06  Allan McRae  <allan@archlinux.org>
50950         * inet/netinet/in.h: Fix typo in comment.
50952 2014-01-05  Andreas Jaeger  <aj@suse.de>
50954         * sysdeps/i386/fpu/libm-test-ulps: Update.
50956 2014-01-05  Allan McRae  <allan@archlinux.org>
50958         * po/libc.pot: Regenerated.
50960         * malloc/memusagestat.c: Fix gettext call formatting.
50962 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
50964         * nscd/nscd.c: Improve usage() output.
50966 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
50968         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
50969         * sysdeps/unix/sysv/linux/configure: Regenerated.
50970         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
50971         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
50973 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50975         [BZ #16390]
50976         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
50977         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
50979 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50981         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
50982         extra tokens at end of #undef directive.
50983         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
50984         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
50985         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
50987 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
50989         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
50991         * math/auto-libm-test-in: Mark various tests with
50992         xfail-rounding:ldbl-128ibm.
50993         * math/auto-libm-test-out: Regenerated.
50995 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
50997         [BZ #16386]
50998         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
50999         numbers with subnormal high part when calculating exponent.
51001         [BZ #16385]
51002         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
51003         fabs.
51005         [BZ #16384]
51006         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
51007         M_LN2l.
51008         (__ieee754_acoshl): Use __log1pl not __log1p.
51010 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
51012         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
51013         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
51014         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
51015         (grow_heap, heap_trim, _int_new_arena, get_free_list)
51016         (reused_arena, arena_get2): Convert to GNU style.
51017         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
51018         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
51019         (memalign_check, __malloc_set_state): Likewise.
51020         * malloc/mallocbug.c (main): Likewise.
51021         * malloc/malloc.c (__malloc_assert, malloc_init_state)
51022         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
51023         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
51024         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
51025         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
51026         (__posix_memalign, malloc_info): Likewise.
51027         * malloc/malloc.h: Likewise.
51028         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
51029         (mallochook, memalignhook, reallochook, mabort): Likewise.
51030         * malloc/mcheck.h: Likewise.
51031         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
51032         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
51033         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
51034         * malloc/morecore.c (__default_morecore): Likewise.
51035         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
51036         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
51037         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
51038         (print_and_abort): Likewise.
51039         * malloc/obstack.h: Likewise.
51040         * malloc/set-freeres.c (__libc_freeres): Likewise.
51041         * malloc/tst-mallocstate.c (main): Likewise.
51042         * malloc/tst-mtrace.c (main): Likewise.
51043         * malloc/tst-realloc.c (do_test): Likewise.
51045 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51047         [BZ #16366]
51048         * nscd/netgroupcache.c (do_notfound): New function.
51049         (addgetnetgrentX): Use it.
51051         [BZ # 16365]
51052         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
51053         NSS_STATUS_NOTFOUND.
51055 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
51057         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51060 2014-01-01  Allan McRae  <allan@archlinux.org>
51062         * scripts/update-copyrights: Update configure input file suffix.
51064         * NEWS: Update copyright year.
51065         * catgets/gencat.c: Likewise.
51066         * csu/version.c: Likewise.
51067         * debug/catchsegv.sh: Likewise.
51068         * debug/pcprofiledump.c: Likewise.
51069         * debug/xtrace.sh: Likewise.
51070         * elf/ldconfig.c: Likewise.
51071         * elf/ldd.bash.in: Likewise.
51072         * elf/pldd.c: Likewise.
51073         * elf/sotruss.ksh: Likewise.
51074         * elf/sprof.c: Likewise.
51075         * iconv/iconv_prog.c: Likewise.
51076         * iconv/iconvconfig.c: Likewise.
51077         * locale/programs/locale.c: Likewise.
51078         * locale/programs/localedef.c: Likewise.
51079         * login/programs/pt_chown.c: Likewise.
51080         * malloc/memusage.sh: Likewise.
51081         * malloc/memusagestat.c: Likewise.
51082         * malloc/mtrace.pl: Likewise.
51083         * manual/libc.texinfo: Likewise.
51084         * nscd/nscd.c: Likewise.
51085         * nss/getent.c: Likewise.
51086         * nss/makedb.c: Likewise.
51087         * posix/getconf.c: Likewise.
51088         * scripts/test-installation.pl: Likewise.
51090         * All files with FSF copyright notices: Update copyright dates
51091         using scripts/update-copyrights.
51092         * intl/plural.c: Regenerated.
51093         * locale/programs/charmap-kw.h: Likewise.
51094         * locale/programs/locfile-kw.h: Likewise.
51096 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
51098         * sysdeps/unix/sysv/linux/configure: Regenerated.
51099         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
51100         the linux/fanotify.h header.
51101         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
51102         HAVE_LINUX_FANOTIFY_H is defined.
51104 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
51106         * benchtests/cos-inputs: New inputs.
51107         * benchtests/sin-inputs: Likewise.
51109         * benchtests/atan-inputs: New inputs. Fix name of multiple
51110         precision fallback inputs.
51112         * benchtests/atanh-inputs: New inputs.
51113         * benchtests/tanh-inputs: Likewise.
51115         * benchtests/acosh-inputs: New inputs.
51116         * benchtests/asinh-inputs: Likewise.
51118         * benchtests/cosh-inputs: New inputs.
51119         * benchtests/sinh-inputs: Likewise.
51121         * benchtests/acos-inputs: Add more inputs.
51122         * benchtests/asin-inputs: Likewise.
51124 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
51126         [BZ #16375]
51127         * manual/arith.texi: Fix spelling.
51128         * manual/charset.texi: Likewise.
51129         * manual/errno.texi: Likewise.
51130         * manual/filesys.texi: Likewise.
51131         * manual/lang.texi: Likewise.
51132         * manual/llio.texi: Likewise.
51133         * manual/locale.texi: Likewise.
51134         * manual/message.texi: Likewise.
51135         * manual/resource.texi: Likewise.
51136         * manual/search.texi: Likewise.
51137         * manual/setjmp.texi: Likewise.
51138         * manual/stdio.texi: Likewise.
51139         * manual/string.texi: Likewise.
51140         * manual/sysinfo.texi: Likewise.
51141         * manual/time.texi: Likewise.
51143 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
51145         * po/sl.po: New file.
51147 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
51149         * .gitignore: Add core/.gdbinit/.gdb_history.
51151 2013-12-27  Allan McRae  <allan@archlinux.org>
51153         [BZ #16369]
51154         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
51155         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
51157 2013-12-24  Brooks Moses  <bmoses@google.com>
51159         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
51160         all compilers that claim C++98 compliance, not just GCC.
51161         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
51162         Likewise.
51164 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51166         * NEWS: Restore accidentally deleted bug-fix entries.
51168 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
51169             Ondřej Bílka  <neleai@seznam.cz>
51171         [BZ #15073]
51172         * malloc/malloc.c (_int_free): Perform sanity check only if we
51173         have_lock.
51175 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
51177         [BZ #12986]
51178         * manual/stdio.texi (String Input Conversions): Clarify that character
51179         classes are not supported.
51181 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51185 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
51187         [BZ #16337]
51188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
51189         Calculate results for small negative arguments directly rather
51190         than using reflection formula with special underflow handling.
51192         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
51193         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
51194         sysdeps/unix/bsd/bsd4.4/syscalls.list.
51195         (fchflags): Likewise.
51196         (revoke): Likewise.
51197         (setlogin): Likewise.
51198         (sigaltstack): Likewise.
51199         (wait4): Likewise.
51200         (sigblock): Remove.
51201         (sigsetmask): Likewise.
51202         (wait3): Likewise.
51203         (waitpid): Likewise.
51204         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
51205         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
51206         file.
51207         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
51208         * sysdeps/unix/bsd/Makefile: ... here.
51209         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
51210         * sysdeps/unix/bsd/Versions: ... here.
51211         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
51212         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
51213         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
51214         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
51215         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
51216         * sysdeps/unix/bsd/sigblock.c: ... here.
51217         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
51218         * sysdeps/unix/bsd/sigsetmask.c: ... here.
51219         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
51220         * sysdeps/unix/bsd/sigvec.c: ... here.
51221         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
51222         * sysdeps/unix/bsd/tcdrain.c: ... here.
51223         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
51224         * sysdeps/unix/bsd/tcgetattr.c: ... here.
51225         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
51226         * sysdeps/unix/bsd/tcsetattr.c: ... here.
51227         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
51228         * sysdeps/unix/bsd/wait.c: ... here.
51229         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
51230         * sysdeps/unix/bsd/wait3.c: ... here.
51231         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
51232         * sysdeps/unix/bsd/waitpid.c: ... here.
51234 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
51236         [BZ #16356]
51237         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
51238         round-to-nearest for [!USE_AS_EXPM1L].
51239         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
51240         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
51241         more tests of exp and exp10.  Expect some exp10 tests to miss
51242         exceptions or fail in directed rounding modes.
51243         * math/auto-libm-test-out: Regenerated.
51244         * math/libm-test.inc (exp10_tonearest_test_data): New array.
51245         (exp10_test_tonearest): New function.
51246         (exp10_towardzero_test_data): New array.
51247         (exp10_test_towardzero): New function.
51248         (exp10_downward_test_data): New array.
51249         (exp10_test_downward): New function.
51250         (exp10_upward_test_data): New array.
51251         (exp10_test_upward): New function.
51252         (main): Call the new functions.
51253         * sysdeps/i386/fpu/libm-test-ulps: Update.
51254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51256 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
51258         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
51259         asinh, atan, atan2, atanh, cbrt, cos and cosh.
51260         * math/auto-libm-test-out: Regenerated.
51261         * math/libm-test.inc (acosh_test_data): Add more tests.
51262         (atanh_test_data): Likewise.
51263         (ceil_test_data): Likewise.
51264         (copysign_test_data): Likewise.
51265         * sysdeps/i386/fpu/libm-test-ulps: Update.
51266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51268         * timezone/checktab.awk: Update from tzcode 2013i.
51269         * timezone/private.h: Likewise.
51270         * timezone/scheck.c: Likewise.
51271         * timezone/tzfile.h: Likewise.
51272         * timezone/tzselect.ksh: Likewise.
51273         * timezone/zdump.c: Likewise.
51274         * timezone/zic.c: Likewise.
51276         * math/auto-libm-test-in: Add tests of cpow.
51277         * math/auto-libm-test-out: Regenerated.
51278         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
51279         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51280         mpc_cc_c.
51281         (func_calc_desc): Add mpc_cc_c union field.
51282         (test_functions): Add cpow.
51283         (special_fill_2pi): New function.
51284         (special_real_inputs): Add 2pi.
51285         (calc_generic_results): Handle mpc_cc_c.
51286         * sysdeps/i386/fpu/libm-test-ulps: Update.
51287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51289         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
51290         csqrt, ctan and ctanh.
51291         * math/auto-libm-test-out: Regenerated.
51292         * math/libm-test.inc (TEST_COND_x86_64): New macro.
51293         (TEST_COND_x86): Likewise.
51294         (ccos_test_data): Use AUTO_TESTS_c_c.
51295         (ccosh_test_data): Likewise.
51296         (cexp_test_data): Likewise.
51297         (clog_test_data): Likewise.
51298         (csqrt_test_data): Likewise.
51299         (ctan_test_data): Likewise.
51300         (ctan_tonearest_test_data): Likewise.
51301         (ctan_towardzero_test_data): Likewise.
51302         (ctan_downward_test_data): Likewise.
51303         (ctan_upward_test_data): Likewise.
51304         (ctanh_test_data): Likewise.
51305         (ctanh_tonearest_test_data): Likewise.
51306         (ctanh_towardzero_test_data): Likewise.
51307         (ctanh_downward_test_data): Likewise.
51308         (ctanh_upward_test_data): Likewise.
51309         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51310         mpc_c_c.
51311         (func_calc_desc): Add mpc_c_c union field.
51312         (FUNC_mpc_c_c): New macro.
51313         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
51314         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
51315         ctanh.
51316         (special_fill_min_subnorm_p120): New function.
51317         (special_real_inputs): Add min_subnorm_p120.
51318         (calc_generic_results): Handle mpc_c_c.
51319         * sysdeps/i386/fpu/libm-test-ulps: Update.
51320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51322 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51324         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
51325         (do_sin_slow): New functions.
51326         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
51327         (cslow2, csloww1, csloww2): Use the new functions.
51329         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
51330         Use M to change sign of result instead of X.  Assume X is
51331         positive.
51332         (csloww1): Likewise.
51333         (__sin): Adjust.
51334         (__cos): Adjust.
51336         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
51337         arguments A and DA.
51338         (__sin): Adjust.
51339         (__cos): Likewise.
51341         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
51342         (__cos): Likewise.
51343         (sloww1): Don't adjust sign of DX.
51344         (csloww1): Likewise.
51345         (sloww2): Use X directly and don't adjust sign of DX.
51346         (csloww2): Likewise.
51348 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51350         * math/auto-libm-test-in: Add tests of cabs and carg.
51351         * math/auto-libm-test-out: Regenerated.
51352         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
51353         (carg_test_data): Likewise.
51354         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51355         mpc_c_f.
51356         (func_calc_desc): Add mpc_c_f union field.
51357         (test_functions): Add cabs and carg.
51358         (calc_generic_results): Handle mpc_c_f.
51360         * sysdeps/powerpc/powerpc32/libgcc-compat.S
51361         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
51362         as a macro and a compat symbol.
51363         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
51364         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
51365         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
51366         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
51367         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
51368         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
51369         not use .hidden.
51370         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
51371         Likewise.
51372         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
51373         Likewise.
51374         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
51375         Likewise.
51376         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
51377         Likewise.
51378         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
51379         Likewise.
51380         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
51381         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
51382         from GLIBC_2.3.2.
51384 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51388 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51390         * manual/texinfo.tex: Update to version 2013-11-26.10 with
51391         trailing whitespace removed.
51392         * scripts/config.guess: Update to version 2013-11-29.
51393         * scripts/config.sub: Update to version 2013-10-01.
51395         * math/auto-libm-test-in: Add tests of sincos.
51396         * math/auto-libm-test-out: Regenerated.
51397         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
51398         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51399         mpfr_f_11.
51400         (func_calc_desc): Add mpfr_f_11 union field.
51401         (test_functions): Add sincos.
51402         (calc_generic_results): Handle mpfr_f_11.
51403         * sysdeps/i386/fpu/libm-test-ulps: Update.
51404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51406 2013-12-19  Andreas Schwab  <schwab@suse.de>
51408         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
51409         CALL_MCOUNT.
51410         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51411         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
51412         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
51414 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
51416         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
51417         * sysdeps/i386/fpu/libm-test-ulps: Update.
51418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51420         [BZ #16293]
51421         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
51422         round-to-nearest mode when using frndint.
51423         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
51424         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
51425         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
51426         Likewise.
51427         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
51428         sinh test to fail.
51429         * math/auto-libm-test-out: Regenerated.
51430         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
51431         (TEST_COND_x86): Likewise.
51432         (expm1_tonearest_test_data): New array.
51433         (expm1_test_tonearest): New function.
51434         (expm1_towardzero_test_data): New array.
51435         (expm1_test_towardzero): New function.
51436         (expm1_downward_test_data): New array.
51437         (expm1_test_downward): New function.
51438         (expm1_upward_test_data): New array.
51439         (expm1_test_upward): New function.
51440         (main): Run the new test functions.
51441         * sysdeps/i386/fpu/libm-test-ulps: Update.
51442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51444         * include/features.h: Update comment documenting feature test
51445         macros.  Mention _DEFAULT_SOURCE in comment.
51446         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
51447         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
51448         _BSD_SOURCE and _SVID_SOURCE.
51449         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
51450         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
51451         !_SVID_SOURCE]: Likewise.
51452         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51453         (__USE_POSIX_IMPLICITLY): Define.
51454         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51455         (_POSIX_SOURCE): Undefine and redefine.
51456         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
51457         (_POSIX_C_SOURCE): Likewise.
51458         * manual/creature.texi (_DEFAULT_SOURCE): Document.
51459         (Feature Test Macros): Update documentation of default features.
51461 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51463         * benchtests/Makefile: Add bench-strtok.
51464         * benchtests/bench-strtok.c: New file: strtok benchtest.
51466 2013-12-19  Allan McRae  <allan@archlinux.org>
51468         * manual/install.texi: Suppress menu for plain text output.
51469         * INSTALL: Regenerated.
51471 2013-12-18  Brooks Moses  <bmoses@google.com>
51473         [BZ #15846]
51474         * misc/getauxval.c: Include errno.h.
51475         (__getauxval): Set errno to ENOENT if the requested type is not
51476         found.
51477         * misc/sys/auxv.h (getauxval): Document that it may set errno;
51478         don't declare with __attribute_const__.
51479         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
51480         * manual/startup.texi: Document that getauxval sets errno.
51482 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51484         * math/auto-libm-test-in: Add tests of jn and yn.
51485         * math/auto-libm-test-out: Regenerated.
51486         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
51487         (yn_test_data): Likewise.
51488         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51489         mpfr_if_f.
51490         (func_calc_desc): Add mpfr_if_f union field.
51491         (FUNC_mpfr_if_f): New macro.
51492         (test_functions): Add jn and yn.
51493         (calc_generic_results): Assert type of second input for
51494         mpfr_ff_f.  Handle mpfr_if_f.
51495         (output_for_one_input_case): Disable all checking for arguments
51496         fitting floating-point types in case of an integer argument.
51497         * sysdeps/i386/fpu/libm-test-ulps: Update.
51498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51501         Don't expect fegetround reference in libm.so.
51503 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51505         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
51506         $(config-cflags-nofma).
51508 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
51510         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
51511         * math/auto-libm-test-out: Regenerated.
51513         [BZ #16338]
51514         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
51515         to determine exponent and adjust argument to have exponent of -1.
51516         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
51517         log2.
51518         * math/auto-libm-test-out: Regenerated.
51519         * sysdeps/i386/fpu/libm-test-ulps: Update.
51520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51522 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
51524         * manual/probes.texi: Remove cases when per-thread arenas are
51525         disabled.
51527 2013-12-18  Andreas Schwab  <schwab@suse.de>
51529         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
51530         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
51531         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
51532         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
51533         * sysdeps/i386/i686/multiarch/Makefile: Update.
51534         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
51536 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51538         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
51539         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
51541 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
51543         [BZ #15968]
51544         Support TZ transition times < 00:00:00.
51545         This is needed for version-3 tz-format files; it supports time
51546         stamps past 2037 for America/Godthab (the only entry in the tz
51547         database for which this change is relevant).
51548         * manual/time.texi (TZ Variable): Document transition times
51549         from -167:59:59 through -00:00:01.
51550         * time/tzset.c (tz_rule): Time of day is now signed.
51551         (__tzset_parse_tz): Parse negative time of day.
51553         Document TZ transition times >= 25:00:00.
51554         * manual/time.texi (TZ Variable): Document transition times from
51555         25:00:00 through 167:59:59.  These are already supported, and this
51556         support will help with version-3 tz-format files.
51558         * manual/time.texi (TZ Variable): Modernize North America example
51559         to reflect current (i.e., 2007-and-later) daylight saving rules.
51561         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
51563 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51565         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
51566         * sysdeps/unix/bsd/bits/stat.h: Likewise.
51567         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
51568         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
51569         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
51570         * sysdeps/unix/bsd/bsdstat.h: Likewise.
51571         * sysdeps/unix/bsd/clock.c: Likewise.
51572         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
51573         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
51574         * sysdeps/unix/bsd/init-posix.c: Likewise.
51575         * sysdeps/unix/bsd/poll.c: Likewise.
51576         * sysdeps/unix/bsd/ptsname.c: Likewise.
51577         * sysdeps/unix/bsd/seekdir.c: Likewise.
51578         * sysdeps/unix/bsd/setegid.c: Likewise.
51579         * sysdeps/unix/bsd/seteuid.c: Likewise.
51580         * sysdeps/unix/bsd/setgid.c: Likewise.
51581         * sysdeps/unix/bsd/setrgid.c: Likewise.
51582         * sysdeps/unix/bsd/setruid.c: Likewise.
51583         * sysdeps/unix/bsd/setsid.c: Likewise.
51584         * sysdeps/unix/bsd/setuid.c: Likewise.
51585         * sysdeps/unix/bsd/sigaction.c: Likewise.
51586         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
51587         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
51588         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
51589         * sysdeps/unix/bsd/telldir.c: Likewise.
51590         * sysdeps/unix/bsd/times.c: Likewise.
51591         * sysdeps/unix/bsd/usleep.c: Likewise.
51593         * misc/Makefile (install-lib): Remove libbsd-compat.a.
51594         ($(objpfx)libbsd-compat.a): Remove rule.
51596         * include/features.h (__FAVOR_BSD): Do not define.
51597         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
51598         features conflicting with POSIX.
51599         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
51600         (_BSD_SOURCE): Remove description of not being a subset of other
51601         feature test macros.
51602         * manual/job.texi (getpgrp): Do not document BSD version.
51603         (getpgid): Do not document by reference to BSD getpgrp.
51604         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
51605         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
51606         * signal/signal.h [__FAVOR_BSD]: Likewise.
51607         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
51608         instead of making contents conditional on [__FAVOR_BSD].
51609         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
51611 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51615 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
51617         [BZ #16314]
51618         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
51619         values below 2**-450, not 2**-500.
51620         * math/auto-libm-test-in: Don't allow spurious underflow from
51621         hypot.
51622         * math/auto-libm-test-out: Regenerated.
51624         [BZ #16316]
51625         [BZ #16330]
51626         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
51627         values of ha and hb and sort them after adjusting subnormal
51628         arguments.
51629         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
51630         Likewise.
51631         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
51632         values of ea and eb and sort them after adjusting subnormal
51633         arguments.
51634         * math/auto-libm-test-in: Do not expect some hypot tests of
51635         subnormals to fail.  Add more hypot tests.
51636         * math/auto-libm-test-out: Regenerated.
51638 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51640         [BZ #13304]
51641         * sysdeps/sh/s_fma.c: New file.
51642         * sysdeps/sh/s_fmaf.c: New file.
51643         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
51644         version.
51645         * sysdeps/sh/Implies: Add sh/soft-fp.
51647 2013-12-16  Roland McGrath  <roland@hack.frob.com>
51649         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
51650         level of indirection to members `objname', `errstring', `malloced'.
51651         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
51652         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
51653         it as the __longjmp argument (just pass 1 instead).
51654         (_dl_catch_error): Initialize C with argument pointers and address of
51655         volatile local ERRCODE rather than copying values out of C at return.
51657 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
51659         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
51660         * math/auto-libm-test-out: Regenerated.
51661         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
51662         (hypot_test_data): Likewise.
51663         (pow_test_data): Likewise.
51664         (pow_tonearest_test_data): Likewise.
51665         * math/gen-auto-libm-tests.c (func_calc_method): Add value
51666         mpfr_ff_f.
51667         (func_calc_desc): Add mpfr_ff_f union field.
51668         (FUNC_mpfr_ff_f): New macro.
51669         (test_functions): Add atan2, hypot and pow.
51670         (special_fill_min): New function.
51671         (special_fill_minus_min): Likewise.
51672         (special_fill_min_subnorm): Likewise.
51673         (special_fill_minus_min_subnorm): Likewise.
51674         (special_real_inputs): Add min, -min, min_subnorm and
51675         -min_subnorm.
51676         (calc_generic_results): Handle mpfr_ff_f.
51677         * sysdeps/i386/fpu/libm-test-ulps: Update.
51678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51680 2013-12-16  Will Newton  <will.newton@linaro.org>
51682         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
51683         (Aligned Memory Blocks): Add documentation for aligned_alloc
51684         and suggest it as an alternative to posix_memalign.
51685         (Hooks for Malloc): Document __memalign_hook is also called
51686         for aligned_alloc.  (Summary of Malloc): Add summary for
51687         aligned alloc.  Document __memalign_hook is also called
51688         for aligned_alloc.
51690 2013-12-16  Will Newton  <will.newton@linaro.org>
51692         * manual/memory.texi (Malloc Examples): Clarify default
51693         alignment documentation.  Suggest posix_memalign rather
51694         than memalign or valloc.
51695         (Aligned Memory Blocks): Remove suggestion to use memalign
51696         or valloc.  Remove obsolete comment about BSD.
51697         Document memalign errno values and mark the function obsolete.
51698         Document posix_memalign returned error codes.  Mark valloc
51699         as obsolete.  (Hooks for Malloc): __memalign_hook is also
51700         called for posix_memalign and valloc.
51701         (Summary of Malloc): Add posix_memalign to function summary.
51702         __memalign_hook is also called for posix_memalign and valloc.
51704 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51706         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
51707         TAYLOR_SIN.
51708         (__sin): Adjust.
51709         (__cos): Likewise.
51710         (sloww): Use mynumber union.  Expand ternary operator into
51711         if-else statements.
51712         (cslow): use mynumber union.
51714 2013-12-16  Allan McRae  <allan@archlinux.org>
51716         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
51717         * configure: Regenerated.
51719         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
51721         [BZ #14120]
51722         * configure.ac: Added --enable-maintainer-mode. Check for
51723         autoconf when enabled.
51724         * configure: Regenerated.
51726         * nscd/nscd.service: New file.
51727         * nscd/nscd.tmpfiles: New file.
51729 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
51731         [BZ #12100]
51732         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
51733         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
51734         * sysdeps/x86_64/multiarch/strstr.c: ... here.
51735         (strstr): Add __strstr_sse2_unaligned ifunc.
51736         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
51737         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
51738         (strcasestr): Remove __strcasestr_sse42 ifunc.
51739         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
51740         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51741         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
51743 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51745         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
51746         * sysdeps/sh/bits/fenv.h: ... here.
51747         * sysdeps/sh/sh4/fpu/bits: Remove directory.
51749 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51751         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
51753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
51754         hypotf multiarch implementations.
51755         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
51756         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
51757         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
51758         multiarch hypot for PPC64.
51759         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
51760         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
51761         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
51762         multiarch hypotf for PPC64.
51764         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
51765         modff multiarch implementations.
51766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
51767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
51768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
51769         multiarch modf for PPC64.
51770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
51771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
51772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
51773         multiarch modff for PPC64.
51775         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
51776         and logl multiarch implementations.
51777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
51778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
51779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
51780         multiarch logb for PPC64.
51781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
51782         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
51783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
51784         multiarch logb for PPC64.
51785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
51786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
51787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
51788         multiarch logb for PPC64.
51790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
51791         isinff multiarch implementation.
51792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
51793         file.
51794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
51795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
51796         multiarch isinf for PPC64.
51797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
51798         file.
51799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
51800         multiarch isinff for PPC64.
51802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
51803         finitef multiarch implementation.
51804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
51805         file.
51806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
51807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
51808         multiarch finite for PPC64.
51809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
51810         file.
51811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
51812         multiarch finitef for PPC64.
51814         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
51815         lrint multiarch implementation.
51816         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
51817         file.
51818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
51819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
51820         multiarch llrint for PPC64.
51821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
51822         multiarch lrint for PPC64.
51824         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
51825         copysignf multiarch implementation.
51826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
51827         file.
51828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
51829         file.
51830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
51831         multiarch copysign for PPC64.
51832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
51833         multiarch copysignf for PPC64.
51835         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
51836         multiarch implementation.
51837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
51838         file.
51839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
51840         file.
51841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
51842         file.
51843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
51844         file.
51845         multiarch llround for PPC64.
51846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
51847         multiarch trunc for PPC64.
51848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
51849         multiarch truncf for PPC64.
51851         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
51852         multiarch implementation.
51853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
51854         file.
51855         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
51856         file.
51857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
51858         file.
51859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
51860         file.
51861         multiarch llround for PPC64.
51862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
51863         multiarch round for PPC64.
51864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
51865         multiarch roundf for PPC64.
51867         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
51868         multiarch implementation.
51869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
51870         file.
51871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
51872         file.
51873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
51874         file.
51875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
51876         file.
51877         multiarch llround for PPC64.
51878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
51879         multiarch floor for PPC64.
51880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
51881         multiarch floorf for PPC64.
51883         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
51884         multiarch implementation.
51885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
51886         file.
51887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
51888         file.
51889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
51890         file.
51891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
51892         file.
51893         multiarch llround for PPC64.
51894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
51895         multiarch ceil for PPC64.
51896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
51897         multiarch ceilf for PPC64.
51899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
51900         multiarch implementation.
51901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
51902         file.
51903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
51904         file.
51905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
51906         file.
51907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
51908         multiarch llround for PPC64.
51909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
51910         multiarch lround for PPC64.
51912         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
51913         multiarch implementation.
51914         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
51915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
51916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
51917         file.
51918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
51919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
51920         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
51921         multiarch isnan for PPC64.
51922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
51923         multiarch isnanf for PPC64.
51925         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
51926         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
51927         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
51928         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
51929         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
51930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
51932         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
51933         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51934         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51935         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
51938         multiarch implementations.
51939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51940         (__libc_ifunc_impl_list): Likewise.
51941         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
51942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
51943         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
51944         multiarch stpcpy for PPC64.
51946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
51947         multiarch implementations.
51948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51949         (__libc_ifunc_impl_list): Likewise.
51950         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
51951         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
51952         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
51953         multiarch strcpy for PPC64.
51955         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
51956         redefine function name.
51957         (_wordcopy_fwd_dest_aligned): Likewise.
51958         (_wordcopy_bwd_aligned): Likewise.
51959         (_wordcopy_bwd_dest_aligned): Likewise.
51960         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
51961         multiarch implementations.
51962         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51963         (__libc_ifunc_impl_list): Likewise.
51964         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
51965         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
51966         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
51967         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
51968         multiarch wcscpy for PPC64.
51970         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
51971         multiarch implementations.
51972         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51973         (__libc_ifunc_impl_list): Likewise.
51974         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
51975         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
51976         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
51977         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
51978         multiarch wcscpy for PPC64.
51980         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
51981         multiarch implementations.
51982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51983         (__libc_ifunc_impl_list): Likewise.
51984         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
51985         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
51986         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
51987         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
51988         multiarch wcsrchr for PPC64.
51990         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
51991         multiarch implementations.
51992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51993         (__libc_ifunc_impl_list): Likewise.
51994         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
51995         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
51996         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
51997         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
51998         multiarch wcschr for PPC64.
52000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
52001         multiarch implementations.
52002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52003         (__libc_ifunc_impl_list): Likewise.
52004         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
52005         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
52006         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
52007         multiarch strchrnul for PPC64.
52009         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
52010         implementations.
52011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52012         (__libc_ifunc_impl_list): Likewise.
52013         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
52014         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
52015         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
52016         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
52017         strchr for PPC64.
52019         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
52020         implementations.
52021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52022         (__libc_ifunc_impl_list): Likewise.
52023         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
52024         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
52025         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
52026         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
52027         strncmp for PPC64.
52029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
52030         multiarch implementations.
52031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52032         (__libc_ifunc_impl_list): Likewise.
52033         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
52034         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
52035         strncasecmp for PPC64.
52036         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
52037         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
52038         multiarch strncasecmp_l for PPC64.
52040         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
52041         multiarch implementations.
52042         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52043         (__libc_ifunc_impl_list): Likewise.
52044         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
52045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
52046         multiarch strcasecmp for PPC64.
52047         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
52048         file.
52049         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
52050         multiarch strcasecmp_l for PPC64.
52052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
52053         implementations.
52054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52055         (__libc_ifunc_impl_list): Likewise.
52056         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
52057         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
52058         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
52059         strnlen for PPC64.
52061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
52062         implementations.
52063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52064         (__libc_ifunc_impl_list): Likewise.
52065         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
52066         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
52067         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
52068         strlen for PPC64.
52070         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
52071         implementations.
52072         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52073         (__libc_ifunc_impl_list): Likewise.
52074         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
52075         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
52076         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
52077         rawmemrchr for PPC64.
52079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
52080         implementation.
52081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52082         (__libc_ifunc_impl_list): Likewise.
52083         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
52084         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
52085         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
52086         memrchr for PPC64.
52088         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
52089         implementation.
52090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52091         (__libc_ifunc_impl_list): Likewise.
52092         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
52093         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
52094         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
52095         memchr for PPC64.
52097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
52098         implementation.
52099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52100         (__libc_ifunc_impl_list): Likewise.
52101         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
52102         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
52103         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
52104         mempcpy for PPC64.
52106         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
52107         avoid cretion of __bzero symbol.
52108         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
52109         Likewise.
52110         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
52111         Likewise.
52112         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
52113         Likewise.
52114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
52115         multiarch implementations.
52116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52117         (__libc_ifunc_impl_list): Likewise.
52118         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
52119         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
52120         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
52121         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
52122         bzero for PPC32.
52123         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
52124         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
52125         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
52126         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
52127         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
52128         memset for PPC64.
52129         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
52131         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
52132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
52133         implementations.
52134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
52135         (__libc_ifunc_impl_list): Likewise.
52136         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
52137         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
52138         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
52139         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
52140         memcmp for PPC64.
52142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
52143         multiarch for POWER/PPC64.
52144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
52145         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
52146         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
52147         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
52148         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
52149         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
52150         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52151         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
52152         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
52153         memcpy for PPC64.
52155         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
52156         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
52157         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
52158         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
52159         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
52160         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
52161         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
52162         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
52163         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
52164         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
52165         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
52166         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
52167         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
52168         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
52169         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
52170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
52171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
52172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
52173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
52174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
52175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
52176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
52178 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52180         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
52182 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
52184         * benchtests/Makefile (bench): Add exp2 and log2.
52185         (LDLIBS-bench-exp2): Add -lm.
52186         (LDLIBS-bench-log2): Likewise.
52187         * benchtests/exp2-inputs: New inputs file.
52188         * benchtests/log2-inputs: New inputs file.
52189         * benchtests/log-inputs: Add new inputs.
52190         * benchtests/tan-inputs: Likewise.
52192 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52194         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
52195         definition...
52196         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
52197         (csloww2): ... from here.
52199         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
52200         instead of structures.
52201         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
52202         (POLYNOMIAL): Likewise.
52203         (TAYLOR_SLOW): Likewise.
52204         (__sin): Likewise.
52205         (__cos): Likewise.
52206         (slow1): Likewise.
52207         (slow2): Likewise.
52208         (sloww): Likewise.
52209         (sloww1); Likewise.
52210         (sloww2): Likewise.
52211         (bsloww1): Likewise.
52212         (bsloww2): Likewise.
52213         (cslow2): Likewise.
52214         (csloww): Likewise.
52215         (csloww1): Likewise.
52216         (csloww2): Likewise.
52218 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
52220         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
52221         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
52222         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
52223         * malloc/hooks.c (realloc_check): Likewise.
52225         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
52226         * malloc/arena.c: Remove PER_THREAD conditional.
52227         [!PER_THREAD]: Remove code.
52228         (ptmalloc_unlock_all2): Likewise.
52229         (ptmalloc_init): Likewise.
52230         (_int_new_arena): Likewise.
52231         (arena_get2): Likewise.
52232         * malloc/hooks.c (__malloc_get_state): Likewise.
52233         (__malloc_set_state): Likewise.
52234         * malloc/malloc.c: Likewise.
52235         (struct malloc_state): Likewise.
52236         (struct malloc_par): Likewise.
52237         (__libc_realloc): Likewise.
52238         (__libc_mallopt): Likewise.
52240 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52242         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
52244 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
52246         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
52247         macro to a function.  Check for zero perturb_byte.
52248         (_int_malloc, _int_free): Remove zero perturb_byte checks.
52250         * malloc/malloc.c: (force_reg): Remove.
52251         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
52252         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
52253         force_reg by atomic_forced_read.
52254         * malloc/arena.c (ptmalloc_init): Likewise.
52255         * malloc/hooks.c (top_check): Likewise.
52257 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52259         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52261 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
52263         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52265 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
52267         * math/auto-libm-test-in: Add tests of lgamma.
52268         * math/auto-libm-test-out: Regenerated.
52269         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
52270         (M_LOG_2_SQRT_PIl): Likewise.
52271         (lgamma_test_data): Use AUTO_TESTS_f_f1.
52272         * math/gen-auto-libm-tests.c (func_calc_method): Add value
52273         mpfr_f_f1.
52274         (func_calc_desc): Add mpfr_f_f1 union field.
52275         (ARGS1): New macro.
52276         (ARGS2): Likewise.
52277         (ARGS3): Likewise.
52278         (ARGS4): Likewise.
52279         (RET1): Likewise.
52280         (RET2): Likewise.
52281         (CALC): Likewise.
52282         (FUNC): Likewise.
52283         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
52284         (test_functions): Add lgamma.
52285         (calc_generic_results): Handle mpfr_f_f1.
52286         * sysdeps/i386/fpu/libm-test-ulps: Update.
52287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52289 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52291         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
52292         __mpn_add_n for PowerPC64/POWER7.
52293         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
52294         __mpn_sub_n for PowerPC64/POWER7.
52296         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
52297         __mpn_addmul_1 for PowerPC64.
52298         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
52299         __mpn_submul_1 for PowerPC64.
52300         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
52301         for PowerPC64.
52302         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
52303         for PowerPC64.
52305 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
52307         [BZ #15089]
52308         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
52310 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52312         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
52314         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
52315         add multiarch folders.
52316         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
52317         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
52318         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
52319         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
52320         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
52321         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
52322         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
52323         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
52324         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
52325         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
52326         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
52327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
52328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
52329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
52330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
52331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
52332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
52334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52335         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
52336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
52337         New file.
52338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
52339         New file.
52340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
52341         multiarch __ieee754_hypot for PowerPC32.
52342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
52343         New file.
52344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
52345         New file.
52346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
52347         multiarch __ieee754_hypotf for PowerPC32.
52349         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
52350         long_double_symbol only if __logbl is defined.
52351         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
52352         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
52353         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
52354         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
52355         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
52356         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
52357         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
52358         path for implementation.
52359         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
52360         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
52361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
52362         logb, and logbl multiarch implementations for PowerPC32.
52363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
52364         file.
52365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
52366         file.
52367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
52368         multiarch logb for PowerPC32.
52369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
52370         file.
52371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
52372         file.
52373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
52374         multiarch logbf for PowerPC32.
52375         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
52376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
52377         file.
52378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
52379         multiarch logbl implementation for PowerPC32.
52381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
52382         and modff multiarch implementations.
52383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
52384         New file.
52385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
52386         New file.
52387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
52388         multiarch modf for PowerPC32.
52389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
52390         New file.
52391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
52392         New file.
52393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
52394         multiarch modff for PowerPC32.
52396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
52397         and lrintf multiarch implementations.
52398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
52399         New file.
52400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
52401         New file.
52402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
52403         multiarch lrint for PowerPC32.
52404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
52405         file: multiarch lrintf for PowerPC32.
52407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
52408         and lroundf multiarch implementations.
52409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
52410         New file.
52411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
52412         New file.
52413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
52414         New file.
52415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
52416         multiarch lround for PowerPC32.
52417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
52418         file: multiarch lroundf for PowerPC32.
52420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
52421         copysign and copysignf multiarch implementations.
52422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
52423         New file.
52424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
52425         New file.
52426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
52427         file: multiarch copysign for PowerPC32.
52428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
52429         file: multiarch copysignf for PowerPC32.
52431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
52432         and truncf multiarch implementations.
52433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
52434         New file.
52435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
52436         file.
52437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
52438         multiarch trunc for PowerPC32.
52439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
52440         New file.
52441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
52442         New file.
52443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
52444         multiarch truncf for PowerPC32.
52446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
52447         and roundf multiarch implementations.
52448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
52449         New file.
52450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
52451         file.
52452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
52453         multiarch round for PowerPC32.
52454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
52455         New file.
52456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
52457         New file.
52458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
52459         multiarch roundf for PowerPC32.
52461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
52462         and floorf multiarch implementations.
52463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
52464         New file.
52465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
52466         file.
52467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
52468         multiarch floor for PowerPC32.
52469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
52470         New file.
52471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
52472         New file.
52473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
52474         multiarch floorf for PowerPC32.
52476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
52477         and ceilf multiarch implementations.
52478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
52479         New file.
52480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
52481         file.
52482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
52483         multiarch ceil for PowerPC32.
52484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
52485         New file.
52486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
52487         file.
52488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
52489         multiarch ceilf for PowerPC32.
52491         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
52492         is defined.
52493         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
52494         FINITEF is defined.
52495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
52496         and finitef multiarch implementations.
52497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
52498         New file.
52499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
52500         file.
52501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
52502         multiarch finite for PowerPC32.
52503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
52504         New file.
52505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
52506         file: multiarch finitef for PowerPC32.
52508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
52509         and isinff multiarch implementations.
52510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
52511         file.
52512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
52513         file.
52514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
52515         multiarch isinf for PowerPC32.
52516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
52517         New file.
52518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
52519         multiarch isinff for PowerPC32.
52521         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
52522         alias when __isnan is defined.
52523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
52524         and isnanf multiarch implementations.
52525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
52526         file.
52527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
52528         file.
52529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
52530         file.
52531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
52532         file.
52533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
52534         multiarch isnan for PowerPC32.
52535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
52536         New file.
52537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
52538         New file.
52539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
52540         multiarch isnanf for PowerPC32.
52542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
52543         and sqrtf multiarch implementations.
52544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
52545         file.
52546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
52547         file.
52548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
52549         multiarch sqrt for PowerPC32.
52550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
52551         file.
52552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
52553         file.
52554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
52555         multiarch sqrtf for PowerPC32.
52557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
52558         and llroundf multiarch implementations.
52559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
52560         New file.
52561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
52562         New file.
52563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
52564         New file.
52565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
52566         file: multiarch llround for PowerPC32.
52567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
52568         file: multiarch llroundf for PowerPC32.
52570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
52571         multiarch PowerPC32 fpu implementations.
52572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
52573         New file.
52574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
52575         New file.
52576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
52577         multiarch llrint for PowerPC32.
52578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
52579         New file.
52580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
52581         New file.
52582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
52583         file.
52585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
52587         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
52588         file.
52589         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
52590         file.
52591         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
52592         file.
52593         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
52594         multiarch wordcopy for PPC32.
52595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52596         wordcopy objects.
52597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52598         (__libc_ifunc_impl_list): Likewise.
52599         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
52600         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
52601         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
52602         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
52603         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
52604         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
52606         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
52607         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
52608         file.
52609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
52610         file.
52611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
52612         file.
52613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
52614         multiarch wcscpy for PPC32.
52615         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
52616         multiarch objects.
52617         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52618         (__libc_ifunc_impl_list): Likewise.
52619         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52620         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52621         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
52622         sysdeps/powerpc/power6/wcscpy.c.
52624         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
52625         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
52626         file.
52627         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
52628         file.
52629         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
52630         file.
52631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
52632         multiarch wcsrchr for PPC32.
52633         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52634         multiarch objects.
52635         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52636         (__libc_ifunc_impl_list): Likewise.
52637         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
52638         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
52639         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
52640         sysdeps/powerpc/power6/wcsrchr.c.
52642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
52643         file.
52644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
52645         file.
52646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
52647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
52648         multiarch wcschr for PPc32.
52649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
52650         multiarch objects.
52651         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52652         (__libc_ifunc_impl_list): Likewise.
52653         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
52654         * sysdeps/powerpc/power6/wcschr.c: ... to here.
52655         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
52656         sysdeps/powerpc/power6/wcschr.c.
52658         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
52659         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
52660         file.
52661         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
52662         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
52663         file: multiarch strchr for PPC32.
52664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
52665         multiarch objects.
52666         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52667         (__libc_ifunc_impl_list): Likewise.
52669         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
52670         name.
52671         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
52672         file.
52673         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
52674         file.
52675         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
52676         multiarch strchrnul for PPC32.
52677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
52678         multiarch objects.
52679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52680         (__libc_ifunc_impl_list): Likewise.
52682         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
52683         file.
52684         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
52685         multiarch strncasecmp for PPC32.
52686         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
52687         file.
52688         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
52689         multiarch strncasecmp_l for PPC32.
52690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
52691         strncasecmp multiarch objects.
52692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52693         (__libc_ifunc_impl_list): Likewise.
52695         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
52696         file.
52697         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
52698         multiarch strncasecmp for PPC32.
52699         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
52700         New file.
52701         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
52702         multiarch strcasecmp_l for PPC32.
52703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
52704         multiarch objects.
52705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52706         (__libc_ifunc_impl_list): Likewise.
52708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
52709         file.
52710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
52711         file.
52712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
52713         multiarch strncmp for PPC32.
52714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
52715         multiarch objects.
52716         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52717         (__libc_ifunc_impl_list): Likewise.
52719         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
52720         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
52721         file.
52722         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
52723         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
52724         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
52725         multiarch objects.
52726         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52727         (__libc_ifunc_impl_list): Likewise.
52729         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
52730         file.
52731         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
52732         file.
52733         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
52734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
52735         multiarch objects.
52736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52737         (__libc_ifunc_impl_list): Likewise.
52739         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
52740         file.
52741         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
52742         file.
52743         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
52744         multiarch rawmemchr for PPC32.
52745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
52746         multiarch objects.
52747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52748         (__libc_ifunc_impl_list): Likewise.
52750         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
52751         file.
52752         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
52753         file.
52754         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
52755         file: memrchr multiarch for PPC32.
52756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
52757         multiarch objects.
52758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
52759         (__libc_ifunc_impl_list): Likewise.
52761         * string/memchr.c (__memchr): Using macro to redefine symbol name.
52762         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
52763         file.
52764         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
52765         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
52766         multiarch memchr for PPC32.
52767         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
52768         multiarch objects.
52769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52770         (__libc_ifunc_impl_list): Likewise.
52772         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
52773         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
52774         file.
52775         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
52776         file.
52777         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
52778         file: multiarch mempcpy for PPC32.
52779         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
52780         multiarch objects.
52781         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52782         (__libc_ifunc_impl_list): Likewise.
52784         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
52785         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
52786         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
52787         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
52788         multiarch bzero for PPC32.
52789         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
52790         file.
52791         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
52792         file.
52793         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
52794         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
52795         file: multiarch memset for PPC32.
52796         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
52797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
52798         memset multiarch objects.
52799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52800         (__libc_ifunc_impl_list): Likewise.
52802         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
52803         file.
52804         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
52805         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
52806         memcmp for PPC32.
52807         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
52808         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
52809         multiarch objects.
52810         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52811         (__libc_ifunc_impl_list): Likewise.
52813         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
52814         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
52815         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
52816         file.
52817         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
52818         file.
52819         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
52820         file.
52821         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
52822         multiarch memcpy for PPC32.
52823         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
52824         multiarch objects.
52825         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52826         (__libc_ifunc_impl_list): Likewise.
52828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
52829         support multiarch for POWER/PPC32.
52830         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
52831         Likewise.
52832         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
52833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
52834         Implies file to make multiarch folder appers before the fpu and
52835         default folder for power4 configuration.
52837 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52839         * scripts/bench.pl: Append volatile keyword to type.
52841 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52843         * sysdeps/sh/sotruss-lib.c: New file.
52844         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
52846 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52850 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
52852         [BZ #6810]
52853         * math/w_tgamma.c: Include <errno.h>.
52854         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
52855         * math/w_tgammaf.c: Include <errno.h>.
52856         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
52857         * math/w_tgammal.c: Include <errno.h>.
52858         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
52859         * math/auto-libm-test-in: Do not allow missing errno on tgamma
52860         underflow.  Add more tgamma tests.
52861         * math/auto-libm-test-out: Regenerated.
52862         * sysdeps/i386/fpu/libm-test-ulps: Update.
52863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52865         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
52866         sin, sinh, tan, tanh, tgamma, y0 and y1.
52867         * math/auto-libm-test-out: Regenerated.
52868         * math/libm-test.inc (TEST_COND_x86_64): New macro.
52869         (TEST_COND_x86): Likewise.
52870         (M_E2l): Remove macro.
52871         (M_E3l): Likewise.
52872         (M_2_SQRT_PIl): Likewise.
52873         (M_SQRT_PIl): Likewise.
52874         (M_1_DIV_El): Likewise.
52875         (log_test_data): Use AUTO_TESTS_f_f.
52876         (log10_test_data): Likewise.
52877         (log1p_test_data): Likewise.
52878         (log2_test_data): Likewise.
52879         (sin_test_data): Likewise.
52880         (sin_tonearest_test_data): Likewise.
52881         (sin_towardzero_test_data): Likewise.
52882         (sin_downward_test_data): Likewise.
52883         (sin_upward_test_data): Likewise.
52884         (sinh_test_data): Likewise.
52885         (sinh_tonearest_test_data): Likewise.
52886         (sinh_towardzero_test_data): Likewise.
52887         (sinh_downward_test_data): Likewise.
52888         (sinh_upward_test_data): Likewise.
52889         (tan_test_data): Likewise.
52890         (tan_tonearest_test_data): Likewise.
52891         (tan_towardzero_test_data): Likewise.
52892         (tan_downward_test_data): Likewise.
52893         (tan_upward_test_data): Likewise.
52894         (tanh_test_data): Likewise.
52895         (tgamma_test_data): Likewise.
52896         (y0_test_data): Likewise.
52897         (y1_test_data): Likewise.
52898         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
52899         (special_real_inputs): Add pi/4.
52900         * sysdeps/i386/fpu/libm-test-ulps: Update.
52901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52903 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52905         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
52906         "longjmp_target" static probes.
52907         (__longjmp): Rename to __longjmp_symbol.
52908         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52909         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
52910         on which longjmp to generate.
52911         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52912         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
52913         probe.
52914         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52915         (__sigjmp_save): Rename to __sigjmp_save_symbol.
52916         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
52917         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
52918         and __sigjmp_save_symbol based on which sigsetjmp to generated.
52919         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
52921         __longjmp_symbol based on which __longjmp to generate.
52922         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
52923         probe.
52924         (setjmp): Rename to setjmp_symbol.
52925         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52926         (_setjmp): Rename to _setjmp_symbol.
52927         (__sigsetjmp): Rename to __sigsetjmp_symbol.
52928         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
52929         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
52930         which setjmp to generate.
52931         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
52932         "longjmp_target" static probes.
52934 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52936         * benchtests/README: Add note about output arguments.
52937         * benchtests/bench-sincos.c: Remove file.
52938         * benchtests/sincos-inputs: New file.
52939         * scripts/bench.pl: Identify output arguments and define
52940         static variables for them.
52942         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
52944         [BZ #15941]
52945         * Makefile (INSTALL): Add install-plain.texi as the primary
52946         dependency.
52947         * manual/install-plain.texi: New file.
52948         * manual/install.texi: Include node directive only for
52949         non-plaintext output.
52951 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
52953         * stdlib/longlong.h: Update from GCC.
52955         [BZ #6807]
52956         [BZ #15901]
52957         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
52958         * math/w_j0f.c (y0f): Likewise.
52959         * math/w_j0l.c (__y0l): Likewise.
52960         * math/w_j1.c (y1): Likewise.
52961         * math/w_j1f.c (y1f): Likewise.
52962         * math/w_j1l.c (__y1l): Likewise.
52963         * math/w_jn.c (yn): Likewise.
52964         * math/w_jnf.c (ynf): Likewise.
52965         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
52966         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
52967         value for Bessel function domain errors outside _SVID_ mode.
52968         Adjust sign of return value for yn (negative integer, 0).
52969         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
52970         by zero in return for negative x and set sign appropriately for
52971         negative n.
52972         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
52973         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
52974         * math/libm-test.inc (y0_test_data): Add more tests and adjust
52975         expectations in error cases.
52976         (y1_test_data): Likewise.
52977         (yn_test_data): Likewise.
52978         * sysdeps/i386/fpu/libm-test-ulps: Update.
52979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52981 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
52983         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
52984         "64" to "64-v1".  Add "64-v2".
52985         (abi-64-options): Rename to ...
52986         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
52987         (abi-64-condition): Rename to ...
52988         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
52989         (abi-64-ld-soname): Rename to ...
52990         (abi-64-v1-ld-soname): ... this.
52991         (abi-64-v2-options): Define.
52992         (abi-64-v2-condition): Likewise.
52993         (abi-64-v2-ld-soname): Likewise.
52994         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
52995         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
52996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
52997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
52998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
53000 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53001             Alan Modra  <amodra@gmail.com>
53003         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
53004         New versions for use with the ELFv2 ABI.
53005         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
53006         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
53007         declaration.
53008         (struct La_ppc64v2_retval): Likewise.
53009         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
53010         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
53011         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
53012         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
53013         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
53014         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
53015         Do not save or restore CR.
53016         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
53017         (_dl_profile_resolve): Do no save or restore CR.  Support extended
53018         return values for ELFv2 ABI.  Fix location of FPR return registers.
53019         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
53020         updated values for _CALL_ELF == 2.
53021         (La_regs, La_retval, int_retval): Likewise.
53023 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53025         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
53026         (FRAME_MIN_SIZE_PARM): Likewise.
53027         (FRAME_BACKCHAIN): Likewise.
53028         (FRAME_CR_SAVE): Likewise.
53029         (FRAME_LR_SAVE): Likewise.
53030         (FRAME_TOC_SAVE): Likewise.
53031         (FRAME_PARM_SAVE): Likewise.
53032         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
53033         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
53034         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53035         (call_mcount_parm_offset): New macro.
53036         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
53037         (PROF): Use symbolic stack frame offsets.
53038         (TAIL_CALL_SYSCALL_ERROR): Likewise.
53039         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
53040         Redefine in terms of FRAME_MIN_SIZE.
53041         (_dl_runtime_resolve): Use symbolic stack frame offsets.
53042         (_dl_profile_resolve): Likewise.  Update comment.
53043         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
53044         symbols stack frame offsets.
53045         (__sigsetjmp): Likewise.
53046         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
53047         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
53048         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
53049         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
53051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
53052         (FRAME_BACKCHAIN): Remove.
53053         (FRAME_CR_SAVE): Likewise.
53054         (FRAME_LR_SAVE): Likewise.
53055         (FRAME_COMPILER_DW): Likewise.
53056         (FRAME_LINKER_DW): Likewise.
53057         (FRAME_TOC_SAVE): Likewise.
53058         (FRAME_PARM_SAVE): Likewise.
53059         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
53060         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
53061         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
53062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
53063         (CHECK_SP): Use symbolic stack frame offsets.
53064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
53065         zone" instead of caller's parameter save area for temp storage.
53066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
53067         Likewise.  Also, use symbolic stack frame offsets.
53068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
53069         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
53070         our own stack frame instead of the caller's.
53071         (__socket): Use symbolic stack frame offsets.
53073 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53074             Alan Modra  <amodra@gmail.com>
53076         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
53077         Define.
53078         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
53079         (PPC64_LOCAL_ENTRY_OFFSET): Define.
53080         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
53081         New function.
53082         (elf_machine_fixup_plt): Call it.
53083         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
53084         reloc arguments.
53085         (elf_machine_rela): Update call to elf_machine_plt_conflict.
53086         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53087         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
53088         r2 before calling target.
53090 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53091             Alan Modra  <amodra@gmail.com>
53093         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
53094         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
53095         versions of macros to support ELFv2 ABI.
53096         (LOCALENTRY): New macro.
53097         (ENTRY, EALIGN): Use it.
53098         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
53099         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
53100         fall through into ENTRY entry point.
53101         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
53102         Only define if _CALL_ELF != 2.
53104         (elf_machine_matches_host): Verify ABI version matches.
53105         (RTLD_START): Use LOCALENTRY.
53106         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
53107         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
53108         (PLT_ENTRY_WORDS): New macro.
53109         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
53110         (elf_machine_runtime_setup): Support ELFv2 ABI.
53111         (elf_machine_fixup_plt): Likewise.
53112         (elf_machine_plt_conflict): Likewise.
53113         (resolve_ifunc): Likewise.
53114         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
53115         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
53116         Likewise.
53117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
53118         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
53119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53120         (makecontext): Support ELFv2 ABI.
53121         * elf/elf.h (EF_PPC64_ABI): Define.
53123 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53125         * sysdeps/powerpc/powerpc64/sysdep.h
53126         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
53127         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
53128         (ENTRY) [ASSEMBLER]: ... but instead here ...
53129         (EALIGN) [ASSEMBLER]: ... and here.
53130         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
53131         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
53132         (ENTRY_2) [!ASSEMBLER]: Use it.
53133         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
53134         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
53135         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
53136         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
53137         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
53138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
53139         Use PPC64_LOAD_FUNCPTR.
53141         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
53143 2013-12-04  Alan Modra  <amodra@gmail.com>
53145         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
53146         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
53147         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
53148         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
53150         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
53151         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
53152         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
53153         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
53154         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
53155         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
53157 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
53159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
53160         (__makecontext): Fix incorrect CFI when backtracing out of
53161         context created via makecontext.
53162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
53163         (__setcontext): Fix incorrect CFI during switch to new context.
53164         (__novec_setcontext): Likewise.
53166 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53168         [BZ #4772]
53169         * time/strptime_l.c (__strptime_internal): Allow modifiers
53170         in strptime.
53171         * time/tst-strptime.c (day_tests): Add testcase.
53173 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53175         * scripts/bench.pl: Skip over blank lines.
53177 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
53179         [BZ #926]
53180         * manual/time.texi (Calendar Time): Clarify what timezone functions
53181         use.
53183 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53187 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
53189         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
53190         implementation.
53191         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
53192         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
53193         * debug/memset_chk.c (__memset_chk): Likewise.
53194         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
53195         * debug/strncpy_chk.c: Likewise.
53197 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53199         [BZ #15268]
53200         [BZ #15425]
53201         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
53202         (__ieee754_exp): For possibly underflowing results, check size of
53203         result and force underflow exception if required.
53204         * math/auto-libm-test-in: Add more tests of exp.
53205         * math/auto-libm-test-out: Regenerated.
53206         * sysdeps/i386/fpu/libm-test-ulps: Update.
53207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53209         [BZ #16283]
53210         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
53211         * math/w_exp2f.c (__exp2f): Likewise.
53212         * math/w_exp2l.c (__exp2l): Likewise.
53213         * math/auto-libm-test-in: Do not allow missing errno on exp2
53214         underflow.
53215         * math/auto-libm-test-out: Regenerated.
53217 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
53219         [BZ #16274]
53220         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
53221         handle filename validation.
53222         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
53223         (do_open): Delete.
53225 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
53227         [BZ #6786]
53228         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
53229         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
53230         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
53231         <float.h>.
53232         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
53233         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
53234         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53235         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
53236         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53237         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
53238         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
53239         * math/auto-libm-test-in: Don't allow missing errno from erfc.
53240         Add more erfc tests.
53241         * math/auto-libm-test-out: Regenerated.
53242         * sysdeps/i386/fpu/libm-test-ulps: Update.
53243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53245         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
53246         exp2, expm1, j0 and j1.
53247         * math/auto-libm-test-out: Regenerated.
53248         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
53249         (erfc_test_data): Likewise.
53250         (exp_test_data): Likewise.
53251         (exp_tonearest_test_data): Likewise.
53252         (exp_towardzero_test_data): Likewise.
53253         (exp_downward_test_data): Likewise.
53254         (exp_upward_test_data): Likewise.
53255         (exp10_test_data): Likewise.
53256         (exp2_test_data): Likewise.
53257         (expm1_test_data): Likewise.
53258         (j0_test_data): Likewise.
53259         (j1_test_data): Likewise.
53260         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
53261         (input_flag_type): Add flag_xfail_rounding.
53262         (input_flags): Add xfail-rounding.
53263         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
53264         (output_for_one_input_case): Handle flag_xfail_rounding.
53265         * sysdeps/i386/fpu/libm-test-ulps: Update.
53266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53268 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
53270         [BZ #16289]
53271         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
53272         division by 0.
53274 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53276         [BZ #16195]
53277         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
53278         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
53279         (STAP_PROBE0): New macro.
53280         (STAP_PROBE1): Likewise.
53281         (STAP_PROBE2): Likewise.
53282         (STAP_PROBE3): Likewise.
53283         (STAP_PROBE4): Likewise.
53285 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
53287         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
53289 2013-12-02  Steve Ellcey  <sellcey@mips.com>
53291         * benchtests/Makefile (bench): Add sqrt.
53292         (LDLIBS-bench-sqrt): New.
53293         * benchtests/sqrt-input: New.
53295 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
53297         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
53298         (GAIH_EAI): Likewise.
53299         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
53300         (gaih_inet): Likewise.
53301         (getaddrinfo): Don't use GAIH_EAI.
53303         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
53304         (struct gaih): Remove definition.
53306 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
53308         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
53309         Use HERRNOP directly.
53311 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53315 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
53317         * math/gen-auto-libm-tests.c (test_functions): Add more
53318         single-argument functions.
53319         (special_fill_pi_2): New function.
53320         (special_fill_minus_pi_2): Likewise.
53321         (special_fill_pi_6): Likewise.
53322         (special_fill_minus_pi_6): Likewise.
53323         (special_fill_pi_3): Likewise.
53324         (special_fill_2pi_3): Likewise.
53325         (special_fill_e): Likewise.
53326         (special_fill_1_e): Likewise.
53327         (special_fill_e_minus_1): Likewise.
53328         (special_real_inputs): Add more special inputs.
53329         (output_for_one_input_case): Do not require ERANGE on underflow to
53330         zero if round-to-nearest result does not underflow to zero, unless
53331         exact results required.
53332         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
53333         atan, atanh, cbrt, cos and cosh.
53334         * math/auto-libm-test-out: Regenerated.
53335         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
53336         (acos_tonearest_test_data): Likewise.
53337         (acos_towardzero_test_data): Likewise.
53338         (acos_downward_test_data): Likewise.
53339         (acos_upward_test_data): Likewise.
53340         (acosh_test_data): Likewise.
53341         (asin_test_data): Likewise.
53342         (asin_tonearest_test_data): Likewise.
53343         (asin_towardzero_test_data): Likewise.
53344         (asin_upward_test_data): Likewise.
53345         (asinh_test_data): Likewise.
53346         (atan_test_data): Likewise.
53347         (atanh_test_data): Likewise.
53348         (cbrt_test_data): Likewise.
53349         (cos_test_data): Likewise.
53350         (cos_tonearest_test_data): Likewise.
53351         (cos_towardzero_test_data): Likewise.
53352         (cos_downward_test_data): Likewise.
53353         (cos_upward_test_data): Likewise.
53354         (cosh_test_data): Likewise.
53355         (cosh_tonearest_test_data): Likewise.
53356         (cosh_towardzero_test_data): Likewise.
53357         (cosh_downward_test_data): Likewise.
53358         (cosh_upward_test_data): Likewise.
53359         * sysdeps/i386/fpu/libm-test-ulps: Update.
53360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53362 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
53364         [BZ #6787]
53365         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
53366         * math/w_exp10f.c (__exp10f): Likewise.
53367         * math/w_exp10l.c (__exp10l): Likewise.
53368         * math/libm-test.inc (exp10_test_data): Add more tests and expect
53369         errno settings in existing tests.
53371         [BZ #14032]
53372         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
53373         precision control set to double precision.
53374         * sysdeps/i386/fpu/w_sqrt.c: New file.
53375         * math/auto-libm-test-in: Add more tests.
53376         * math/auto-libm-test-out: Update.
53378         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
53379         (sqrt_test_tonearest): New function.
53380         (sqrt_towardzero_test_data): New variable.
53381         (sqrt_test_towardzero): New function.
53382         (sqrt_downward_test_data): New variable.
53383         (sqrt_test_downward): New function.
53384         (sqrt_upward_test_data): New variable.
53385         (sqrt_test_upward): New function.
53386         (main): Call the new functions.
53388         * math/gen-auto-libm-tests.c: New file.
53389         * math/auto-libm-test-in: Likewise.
53390         * math/auto-libm-test-out: New generated file.
53391         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
53392         variables.
53393         (%beautify): Add generated representations of zero.
53394         (top level): Set $auto_input and call parse_auto_input.
53395         (beautify): Remove trailing "f" from hex float constants.
53396         (parse_args): Handle XFAIL_TEST.
53397         (convert_condition): New function.
53398         (or_value): Likewise.
53399         (or_cond_value): Likewise.
53400         (generate_testfile): Handle AUTO_TESTS_* lines.
53401         (parse_auto_input): New function.
53402         * math/libm-test.inc (XFAIL_TEST): New macro.
53403         (ERRNO_UNCHANGED): Update value.
53404         (ERRNO_EDOM): Likewise.
53405         (ERRNO_ERANGE): Likewise.
53406         (IGNORE_RESULT): Likewise.
53407         (TEST_COND_flt_32): New macro.
53408         (TEST_COND_dbl_64): Likewise.
53409         (TEST_COND_ldbl_96_intel): Likewise.
53410         (TEST_COND_ldbl_96_m68k): Likewise.
53411         (TEST_COND_ldbl_128): Likewise.
53412         (TEST_COND_ldbl_128ibm): Likewise.
53413         (TEST_COND_long32): Likewise.
53414         (TEST_COND_long64): Likewise.
53415         (TEST_COND_before_rounding): Likewise.
53416         (TEST_COND_after_rounding): Likewise.
53417         (enable_test): Handle XFAIL_TEST flag.
53418         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
53419         with finite results.
53420         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
53421         auto-libm-test-out.
53423 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53424             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53426         [BZ #16214]
53427         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
53428         __tls_get_addr_internal instead of __tls_get_offset in order to
53429         avoid GOT pointer dependency.  Make rtld export
53430         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
53431         __tls_get_addr since we are a __tls_get_offset platform.
53432         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
53433         GOT pointer being set up before.
53434         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
53436 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
53438         * manual/math.texi (Errors in Math Functions): Document accuracy
53439         goals.
53441         [BZ #15004]
53442         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
53443         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
53444         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53445         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53446         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53447         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53448         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53449         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
53450         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
53451         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53452         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53453         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53454         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53455         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53456         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53457         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
53459         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
53460         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
53461         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
53462         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
53463         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
53464         Likewise.
53465         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
53466         Likewise.
53467         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
53468         Likewise.
53469         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
53470         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
53471         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
53472         atomic-feupdateenv and flt-rounds.
53473         * sysdeps/powerpc/nofpu/Versions (libc): Add
53474         __atomic_feholdexcept, __atomic_feclearexcept,
53475         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
53476         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
53477         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
53478         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
53479         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
53480         here.
53481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
53482         Update.
53484         * manual/arith.texi (FP Exceptions): Document that exceptions may
53485         not be raised when matherr is used.
53486         (Math Error Reporting): Document overflow in directed rounding
53487         modes.  Document that errno may not be set when finite values are
53488         returned on overflow.  Document intent to set errno on underflow
53489         only for underflow to zero.
53491         [BZ #16271]
53492         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
53493         round-to-nearest then adjust result for other rounding modes.
53494         * include/fenv.h (fegetround): Use libm_hidden_proto.
53495         * math/fegetround.c (fegetround): Use libm_hidden_def.
53496         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
53497         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
53498         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53499         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
53500         Likewise.
53501         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
53502         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
53503         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
53504         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
53506 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53508         [BZ #16077]
53509         * nss/Versions (libnss_files): Add
53510         _nss_files_gethostbyname3_r.
53511         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
53512         New function.
53513         (HOST_DB_LOOKUP): Remove macro.
53514         (_nss_files_gethostbyname_r): Implement function without the
53515         HOST_DB_LOOKUP macro.
53516         (_nss_files_gethostbyname2_r): Likewise.
53518 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
53520         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
53522 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
53524         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
53525         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
53526         warning.
53528 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53530         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
53531         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
53532         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53533         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
53534         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
53535         __fe_nomask_env_priv and attribute_hidden.
53536         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
53537         (libc_feupdateenv_test_ppc): Likewise.
53538         (libc_feresetround_ppc): Likewise.
53539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
53540         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
53541         compat_symbol macro.
53542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
53543         (__fe_nomask_env): Likewise.
53544         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
53546 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53548         * string/Makefile: Remove ifunc tests.
53549         * string/test-string.h: Define TEST_IFUNC.
53550         * string/test-bcopy-ifunc.c: Remove.
53551         * string/test-bzero-ifunc.c: Likewise.
53552         * string/test-memccpy-ifunc.c: Likewise.
53553         * string/test-memchr-ifunc.c: Likewise.
53554         * string/test-memcmp-ifunc.c: Likewise.
53555         * string/test-memcpy-ifunc.c: Likewise.
53556         * string/test-memmem-ifunc.c: Likewise.
53557         * string/test-memmove-ifunc.c: Likewise.
53558         * string/test-mempcpy-ifunc.c: Likewise.
53559         * string/test-memrchr-ifunc.c: Likewise.
53560         * string/test-memset-ifunc.c: Likewise.
53561         * string/test-rawmemchr-ifunc.c: Likewise.
53562         * string/test-stpcpy-ifunc.c: Likewise.
53563         * string/test-stpncpy-ifunc.c: Likewise.
53564         * string/test-strcasecmp-ifunc.c: Likewise.
53565         * string/test-strcasestr-ifunc.c: Likewise.
53566         * string/test-strcat-ifunc.c: Likewise.
53567         * string/test-strchr-ifunc.c: Likewise.
53568         * string/test-strchrnul-ifunc.c: Likewise.
53569         * string/test-strcmp-ifunc.c: Likewise.
53570         * string/test-strcpy-ifunc.c: Likewise.
53571         * string/test-strcspn-ifunc.c: Likewise.
53572         * string/test-strlen-ifunc.c: Likewise.
53573         * string/test-strncasecmp-ifunc.c: Likewise.
53574         * string/test-strncat-ifunc.c: Likewise.
53575         * string/test-strncmp-ifunc.c: Likewise.
53576         * string/test-strncpy-ifunc.c: Likewise.
53577         * string/test-strnlen-ifunc.c: Likewise.
53578         * string/test-strpbrk-ifunc.c: Likewise.
53579         * string/test-strrchr-ifunc.c: Likewise.
53580         * string/test-strspn-ifunc.c: Likewise.
53581         * string/test-strstr-ifunc.c: Likewise.
53583 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53585         * benchtests/Makefile: Remove ifunc tests.
53586         * benchtests/bench-string.h: Define TEST_IFUNC.
53587         * benchtests/bench-bcopy-ifunc.c: Remove.
53588         * benchtests/bench-bzero-ifunc.c: Likewise.
53589         * benchtests/bench-memccpy-ifunc.c: Likewise.
53590         * benchtests/bench-memchr-ifunc.c: Likewise.
53591         * benchtests/bench-memcmp-ifunc.c: Likewise.
53592         * benchtests/bench-memcpy-ifunc.c: Likewise.
53593         * benchtests/bench-memmem-ifunc.c: Likewise.
53594         * benchtests/bench-memmove-ifunc.c: Likewise.
53595         * benchtests/bench-mempcpy-ifunc.c: Likewise.
53596         * benchtests/bench-memrchr-ifunc.c: Likewise.
53597         * benchtests/bench-memset-ifunc.c: Likewise.
53598         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
53599         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
53600         * benchtests/bench-stpcpy-ifunc.c: Likewise.
53601         * benchtests/bench-stpncpy-ifunc.c: Likewise.
53602         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
53603         * benchtests/bench-strcasestr-ifunc.c: Likewise.
53604         * benchtests/bench-strcat-ifunc.c: Likewise.
53605         * benchtests/bench-strchr-ifunc.c: Likewise.
53606         * benchtests/bench-strchrnul-ifunc.c: Likewise.
53607         * benchtests/bench-strcmp-ifunc.c: Likewise.
53608         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
53609         * benchtests/bench-strcpy-ifunc.c: Likewise.
53610         * benchtests/bench-strcspn-ifunc.c: Likewise.
53611         * benchtests/bench-strlen-ifunc.c: Likewise.
53612         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
53613         * benchtests/bench-strncat-ifunc.c: Likewise.
53614         * benchtests/bench-strncmp-ifunc.c: Likewise.
53615         * benchtests/bench-strncpy-ifunc.c: Likewise.
53616         * benchtests/bench-strnlen-ifunc.c: Likewise.
53617         * benchtests/bench-strpbrk-ifunc.c: Likewise.
53618         * benchtests/bench-strrchr-ifunc.c: Likewise.
53619         * benchtests/bench-strsep-ifunc.c: Likewise.
53620         * benchtests/bench-strspn-ifunc.c: Likewise.
53621         * benchtests/bench-strstr-ifunc.c: Likewise.
53623 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53625         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
53627 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
53629         * resolv/netdb.h: Use __glibc_reserved instead __unused.
53630         * rt/aio.h: Likewise.
53631         * sysdeps/gnu/bits/utmp.h: Likewise.
53632         * sysdeps/gnu/bits/utmpx.h: Likewise.
53633         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
53634         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
53635         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
53636         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
53637         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
53638         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
53639         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
53640         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
53641         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
53642         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
53643         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
53644         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
53645         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
53646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
53647         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
53648         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
53649         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
53650         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
53651         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
53652         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
53653         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
53654         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
53655         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
53656         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53657         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
53658         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53659         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
53660         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
53661         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
53662         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
53663         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
53664         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
53665         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
53666         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
53667         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
53668         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
53669         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
53670         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
53671         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
53672         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
53673         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
53674         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53676 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
53678         [BZ #16245]
53679         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
53680         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
53682 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
53684         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
53685         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
53686         Likewise.
53688 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53690         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
53691         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
53692         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
53693         (__fesetround): Remove define.
53694         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
53695         rounding and exceptions handling.
53696         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
53697         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
53698         (__fe_nomask_env): Likewise.
53699         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
53700         __fegetround instead of fegetround.
53701         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
53702         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
53704 2013-11-21  Roland McGrath  <roland@hack.frob.com>
53706         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
53707         it's there.
53709         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
53711 2013-11-21  Meador Inge  <meadori@codesourcery.com>
53713         [BZ #11157]
53714         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
53715         (encrypt_r): Likewise.
53716         * malloc/obstack.h (obstack_free): Likewise.
53717         * posix/unistd.h (encrypt): Likewise.
53719 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
53721         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
53722         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
53723         DL_CALL_DT_FINI() that call the functions directly.
53724         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
53725         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
53726         * elf/dl-fini.c: Likewise.
53728 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
53730         * malloc/hooks.c (memalign_check): Add alignment rounding.
53731         * malloc/malloc.c (_mid_memalign): New function.
53732         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
53733         Implement by calling _mid_memalign.
53734         * manual/probes.texi (Memory Allocation Probes): Remove
53735         memory_valloc_retry and memory_pvalloc_retry.
53737 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53739         * locale/programs/locarchive.c (open_archive): Add const
53740         qualifier to ARCHIVEFNAME and copy default fname to
53741         DEFAULT_FNAME.
53743         [BZ #15601]
53744         * libio/tst-widetext.input: Rename Oriya to Odia.
53745         * locale/iso-639.def: Likewise.
53747         * manual/probes.texi (Mathematical Function Probes): Add
53748         documentation for sin, cos, asin and acos probes.
53749         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
53750         (__sin32): Add slowasin probe.
53751         (__cos32): Add slowacos probe.
53752         (__mpsin): Add slowsin probe.
53753         (__mpcos): Add slowcos probe.
53755 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
53757         [BZ #15483]
53758         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
53759         thread-local __sim_exceptions_thread and global
53760         __sim_exceptions_global.
53761         (__sim_disabled_exceptions): Change to thread-local
53762         __sim_disabled_exceptions_thread and global
53763         __sim_disabled_exceptions_global.
53764         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53765         and global __sim_round_mode_global.
53766         (__simulate_exceptions): Use thread-local floating-point state and
53767         set global state from it as needed.
53768         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
53769         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
53770         __sim_round_mode_thread.
53771         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
53772         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
53773         and global __sim_exceptions_global.
53774         (__sim_disabled_exceptions): Change to thread-local
53775         __sim_disabled_exceptions_thread and global
53776         __sim_disabled_exceptions_global.
53777         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
53778         and global __sim_round_mode_global.
53779         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
53780         (SIM_SET_GLOBAL): Likewise.
53781         * sysdeps/powerpc/soft-fp/sfp-machine.h
53782         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
53783         __sim_round_mode_thread.
53784         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
53785         __sim_disabled_exceptions_thread.
53786         (__sim_exceptions): Change to __sim_exceptions_thread.
53787         (__sim_disabled_exceptions): Change to
53788         __sim_disabled_exceptions_thread.
53789         (__sim_round_mode): Change to __sim_round_mode_thread.
53790         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
53791         thread-local floating-point state and set global state from it as
53792         needed.
53793         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
53794         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
53795         (__sim_disabled_exceptions): Remove extern declaration.
53796         (feenableexcept): Use thread-local floating-point state and set
53797         global state from it as needed.
53798         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
53799         extern declaration.
53800         (__sim_disabled_exceptions): Likewise.
53801         (__sim_round_mode): Likewise.
53802         (__fegetenv): Use thread-local floating-point state.
53803         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
53804         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
53805         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
53806         floating-point state and set global state from it as needed.
53807         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
53808         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
53809         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
53810         Likewise.
53811         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
53812         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
53813         Likewise.
53814         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
53815         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
53816         Use __sim_round_mode_thread.
53817         * math/test-fenv-tls.c: New file.
53818         * math/Makefile (tests): Add test-fenv-tls.
53819         ($(objpfx)test-fenv-tls): Depend on
53820         $(common-objpfx)nptl/libpthread.so.
53822 2013-11-19  Andreas Schwab  <schwab@suse.de>
53824         * locale/programs/locale.c (show_info): Decode wordarray elements.
53825         * locale/categories.def (LC_MONETARY): Add element for
53826         _NL_MONETARY_CRNCYSTR.
53827         * locale/C-monetary.c (conversion_rate): New variable.
53828         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
53829         element.
53831 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
53833         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
53834         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
53836 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53838         * elf/Makefile (tst-auxv): New test.
53839         * elf/tst-auxv.c: New
53840         * elf/rtld.c (dl_main): Adjust AT_EXECFN
53842 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
53844         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
53845         (hidden_proto): Caller changed.
53846         (hidden_tls_proto): New macro.
53847         (libc_hidden_tls_proto): Likewise.
53848         (rtld_hidden_tls_proto): Likewise.
53849         (libm_hidden_tls_proto): Likewise.
53850         (libresolv_hidden_tls_proto): Likewise.
53851         (librt_hidden_tls_proto): Likewise.
53852         (libdl_hidden_tls_proto): Likewise.
53853         (libnss_files_hidden_tls_proto): Likewise.
53854         (libnsl_hidden_tls_proto): Likewise.
53855         (libnss_nisplus_hidden_tls_proto): Likewise.
53856         (libutil_hidden_tls_proto): Likewise.
53858 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
53860         [BZ #10253]
53861         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
53862         (decompose_rpath): Defer expansion to fillin_rpath.
53863         (_dl_init_paths): Pass linkmap to fillin_rpath.
53865 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53867         * benchtests/Makefile: Add strsep.
53868         * benchtests/bench-strsep.c: New file: strsep benchtest.
53869         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
53871 2013-11-18  Andreas Schwab  <schwab@suse.de>
53873         * locale/programs/locale.c (show_info) [case byte]: Check for
53874         '\377' instead of '\177'.
53875         * locale/C-monetary.c (not_available): Always use "\377".
53876         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
53877         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
53878         detect unavailable sign_posn locale elements.
53879         * locale/localeconv.c (__localeconv): For grouping and
53880         mon_grouping handle "\177" and "\377" like no grouping.
53881         (INT_ELEM): New macro.  Use it to set all numeric members.
53882         * locale/programs/ld-monetary.c (monetary_read)
53883         <tok_mon_grouping>: Normalize single -1 to the empty string.
53884         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
53885         Likewise.
53887 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
53889         [BZ #16055]
53890         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
53891         when we match (nil).
53892         * stdio-common/tst-sscanf.c (struct test): Add testcase.
53894 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
53896         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
53897         (NO_TEST_INLINE): Update value.
53898         (ERRNO_UNCHANGED): Likewise.
53899         (ERRNO_EDOM): Likewise.
53900         (ERRNO_ERANGE): Likewise.
53901         (IGNORE_RESULT): Likewise.
53902         (check_float_internal): Check signs of NaN results if
53903         TEST_NAN_SIGN used.
53904         (check_complex): Pass TEST_NAN_SIGN flag through to second
53905         check_float_internal call.
53906         (copysign_test_data): Add tests with quiet NaNs as second
53907         argument.  Use TEST_NAN_SIGN.
53908         (fabs_test_data): Add test of negative quiet NaN argument.  Use
53909         TEST_NAN_SIGN.
53910         (signbit_test_data): Add tests of quiet NaN argument.
53911         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
53913         * math/gen-libm-test.pl (show_exceptions): Take extra argument
53914         $ignore_result.
53915         (parse_args): Handle function results specified as IGNORE.
53916         * math/libm-test.inc (IGNORE_RESULT): New macro.
53917         (check_float_internal): Do not check numerical result if flag
53918         IGNORE_RESULT set.
53919         (check_complex): Pass through IGNORE_RESULT to second
53920         check_float_internal call.
53921         (check_int): Do not check numerical result if flag IGNORE_RESULT
53922         set.
53923         (check_long): Likewise.
53924         (check_bool): Likewise.
53925         (check_longlong): Likewise.
53926         (lrint_test_data): Add tests of infinite and NaN arguments.
53927         (lrint_tonearest_test_data): Likewise.
53928         (lrint_towardzero_test_data): Likewise.
53929         (lrint_downward_test_data): Likewise.
53930         (lrint_upward_test_data): Likewise.
53931         (llrint_test_data): Likewise.
53932         (llrint_tonearest_test_data): Likewise.
53933         (llrint_towardzero_test_data): Likewise.
53934         (llrint_downward_test_data): Likewise.
53935         (llrint_upward_test_data): Likewise.
53936         (lround_test_data): Likewise.
53937         (llround_test_data): Likewise.
53939         * math/libm-test.inc (NO_TEST_INLINE): New macro.
53940         (ERRNO_UNCHANGED): Update value.
53941         (ERRNO_EDOM): Likewise.
53942         (ERRNO_ERANGE): Likewise.
53943         (NO_TEST_INLINE_FLOAT): New macro.
53944         (NO_TEST_INLINE_DOUBLE): Likewise.
53945         (enable_test): New function.
53946         (RUN_TEST_f_f): Check enable_test before running test.
53947         (RUN_TEST_2_f): Likewise.
53948         (RUN_TEST_fff_f): Likewise.
53949         (RUN_TEST_c_f): Likewise.
53950         (RUN_TEST_f_f1): Likewise.
53951         (RUN_TEST_fF_f1): Likewise.
53952         (RUN_TEST_fI_f1): Likewise.
53953         (RUN_TEST_ffI_f1): Likewise.
53954         (RUN_TEST_c_c): Likewise.
53955         (RUN_TEST_cc_c): Likewise.
53956         (RUN_TEST_f_i): Likewise.
53957         (RUN_TEST_f_i_tg): Likewise.
53958         (RUN_TEST_ff_i_tg): Likewise.
53959         (RUN_TEST_f_b): Likewise.
53960         (RUN_TEST_f_b_tg): Likewise.
53961         (RUN_TEST_f_l): Likewise.
53962         (RUN_TEST_f_L): Likewise.
53963         (RUN_TEST_fFF_11): Likewise.
53964         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
53965         conditionals.
53966         (cosh_test_data): Likewise.
53967         (exp_test_data): Likewise.
53968         (expm1_test_data): Likewise.
53969         (hypot_test_data): Likewise.
53970         (pow_test_data): Likewise.
53971         (sinh_test_data): Likewise.
53972         (tanh_test_data): Likewise.
53973         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
53974         flags argument.
53976         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
53977         tests with quiet NaN input and output.
53978         (acosh_test_data): Likewise.
53979         (asin_test_data): Likewise.
53980         (asinh_test_data): Likewise.
53981         (atan_test_data): Likewise.
53982         (atanh_test_data): Likewise.
53983         (atan2_test_data): Likewise.
53984         (cbrt_test_data): Likewise.
53985         (cos_test_data): Likewise.
53986         (cosh_test_data): Likewise.
53987         (erf_test_data): Likewise.
53988         (erfc_test_data): Likewise.
53989         (exp_test_data): Likewise.
53990         (exp10_test_data): Likewise.
53991         (exp2_test_data): Likewise.
53992         (expm1_test_data): Likewise.
53993         (hypot_test_data): Likewise.
53994         (j0_test_data): Likewise.
53995         (j1_test_data): Likewise.
53996         (jn_test_data): Likewise.
53997         (lgamma_test_data): Likewise.
53998         (log_test_data): Likewise.
53999         (log10_test_data): Likewise.
54000         (log1p_test_data): Likewise.
54001         (log2_test_data): Likewise.
54002         (pow_test_data): Likewise.
54003         (scalb_test_data): Likewise.
54004         (sin_test_data): Likewise.
54005         (sincos_test_data): Likewise.
54006         (sinh_test_data): Likewise.
54007         (tan_test_data): Likewise.
54008         (tanh_test_data): Likewise.
54009         (tgamma_test_data): Likewise.
54010         (y0_test_data): Likewise.
54011         (y1_test_data): Likewise.
54012         (yn_test_data): Likewise.
54014         [BZ #16167]
54015         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
54016         argument being NaN and avoid computations with second argument in
54017         that case.
54018         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54019         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
54020         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54022 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
54024         * locale/iso-639.def: Add Chitwani Tharu (the).
54026 2013-11-14  Andreas Schwab  <schwab@suse.de>
54028         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
54029         word instead of empty string.
54031 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54034         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
54035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54036         (__fe_nomask_env): Likewise.
54038 2013-11-13  Steve Ellcey  <sellcey@mips.com>
54040         * benchtests/bench-timing.h: Include time.h.
54042 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
54044         [BZ #15997]
54045         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
54046         to 3.4.0 for x32.
54047         * sysdeps/unix/sysv/linux/configure: Regenerated.
54049 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
54051         [BZ #16151]
54052         * stdlib/strtod_l.c (round_and_return): Do not consider
54053         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
54054         exponent one less than half the least subnormal exponent.
54055         * stdlib/test-strtod-round-data: Add more tests.
54056         * stdlib/tst-strtod-round.c (tests): Regenerated.
54058 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54060         [BZ #14143]
54061         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
54062         (__fe_mask_env): Likewise.
54063         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
54064         libm_hidden_proto and add function prototype.
54065         (__fe_mask_env): Add function prototype.
54066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
54067         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
54068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
54069         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
54070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
54071         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
54073 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54075         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
54076         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
54078 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54080         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
54081         of htab_find_slot().
54083 2013-11-11  David S. Miller  <davem@davemloft.net>
54085         [BZ #16150]
54086         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
54087         symbol in the non-vis3 case in static builds.
54088         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
54089         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
54090         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
54091         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
54093 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
54095         [BZ #387]
54096         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
54097         it is empty.
54099 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54101         * benchtests/Makefile: Add bench-strtod.
54102         * benchtests/bench-strtod.c: New file: strtod benchtest
54104 2013-11-11  Andreas Schwab  <schwab@suse.de>
54106         [BZ #16153]
54107         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
54108         terminating NUL in key length.
54110 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54112         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54113         Add artificial ODP entry for vDSO symbol for PPC64.
54114         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
54115         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
54117 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
54119         [BZ #15374]
54120         * nss/getent.c (services_keys): Recognize services starting with digit.
54122 2013-11-06  David S. Miller  <davem@davemloft.net>
54124         [BZ #15985]
54125         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
54126         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
54128 2013-11-06  Will Newton  <will.newton@linaro.org>
54130         * manual/memory.texi (Malloc Examples): Remove register
54131         keyword from examples.
54133 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
54135         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
54137 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
54139         [BZ #6981]
54140         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
54141         depending on [__GCC_IEC_559 > 0].
54142         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
54143         depending on [__GCC_IEC_559_COMPLEX > 0].
54145 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
54147         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
54148         to iso-639.def.
54150 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
54152         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
54154 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
54156         [BZ #16112]
54157         * malloc/malloc (malloc_info): Do not handle first bin as
54158         special case.
54160 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
54162         * locale/iso-639.def: Add Central Nahuatl (nhn).
54164 2013-11-01  Bruno Haible  <bruno@clisp.org>
54166         [BZ #7003]
54167         * manual/math.texi (BSD Random): Specify range upper bound as
54168         in POSIX.
54170 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
54172         * locale/iso-639.def: Add Meadow Mari (mhr).
54174 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
54176         [BZ #14752], [BZ #15763]
54177         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
54178         Validate name.
54179         * rt/tst_shm.c: Add test for escaping directory.
54181 2013-10-31  Andreas Schwab  <schwab@suse.de>
54183         [BZ #15917]
54184         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
54185         followed by 'x' as part of digit sequence.
54186         * stdio-common/tst-sscanf.c (double_tests2): New tests.
54188 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
54190         [BZ #16037]
54191         * configure.ac: allow GNU Make 4.0 and greater.
54192         * configure: Regenerated.
54194 2013-10-30  Will Newton  <will.newton@linaro.org>
54196         [BZ #16038]
54197         * malloc/hooks.c (memalign_check): Limit alignment to the
54198         maximum representable power of two.
54199         * malloc/malloc.c (__libc_memalign): Likewise.
54200         * malloc/tst-memalign.c (do_test): Add test for very
54201         large alignment values.
54202         * malloc/tst-posix_memalign.c (do_test): Likewise.
54204 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54206         [BZ #11087]
54207         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
54208         (munmap_chunk): Likewise.
54209         (mremap_chunk): Likewise.
54211 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
54213         [BZ #15799]
54214         * stdlib/div.c (div): Remove obsolete code.
54215         * stdlib/ldiv.c (ldiv): Likewise.
54216         * stdlib/lldiv.c (lldiv): Likewise.
54218 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54220         [BZ #16071]
54221         * nss/nss_files/files-XXX.c (get_contents_ret): New
54222         enumerator.
54223         (get_contents): New function.
54224         (internal_getent): Use it.  Expand size of LINEBUFLEN.
54226 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
54228         * configure.in: Moved to ...
54229         * configure.ac: ... here. Change reference to configure.in
54230         to configure.ac.
54231         * sysdeps/arm/preconfigure.ac: ... here.
54232         configure.in to configure.ac.
54233         * sysdeps/gnu/configure.in: Moved to ...
54234         * sysdeps/gnu/configure.ac: ... here.
54235         * sysdeps/i386/configure.in: Moved to ...
54236         * sysdeps/i386/configure.ac: ... here.
54237         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
54238         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
54239         * sysdeps/mach/configure.in: Moved to ...
54240         * sysdeps/mach/configure.ac: ... here.
54241         * sysdeps/mach/hurd/configure.in: Moved to ...
54242         * sysdeps/mach/hurd/configure.ac: ... here.
54243         * sysdeps/powerpc/configure.in: Moved to ...
54244         * sysdeps/powerpc/configure.ac: ... here.
54245         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
54246         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
54247         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
54248         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
54249         * sysdeps/s390/s390-32/configure.in: Moved to ...
54250         * sysdeps/s390/s390-32/configure.ac: ... here.
54251         * sysdeps/s390/s390-64/configure.in: Moved to ...
54252         * sysdeps/s390/s390-64/configure.ac: ... here.
54253         * sysdeps/sh/configure.in: Moved to ...
54254         * sysdeps/sh/configure.ac: ... here.
54255         * sysdeps/sparc/configure.in: Moved to ...
54256         * sysdeps/sparc/configure.ac: ... here.
54257         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
54258         * sysdeps/unix/sysv/linux/configure.ac: ... here.
54259         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
54260         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
54261         * sysdeps/x86_64/configure.in: Moved to ...
54262         * sysdeps/x86_64/configure.ac: ... here.
54263         * sysdeps/x86_64/preconfigure.in: Moved to ...
54264         * sysdeps/x86_64/preconfigure.ac: ... here.
54265         * aclocal.m4: Change reference to configure.in to configure.ac.
54266         * config.h.in: Likewise.
54267         * manual/install.texi: Likewise.
54268         * manual/maint.texi: Likewise.
54269         * Makefile: Likewise.
54270         * malloc/Makefile: Likewise.
54271         * nscd/Makefile: Likewise.
54272         * Makeconfig: Change reference to configure.in and
54273         preconfigure.in to configure.ac and preconfigure.ac
54274         respectively.
54275         * INSTALL: Regenerated.
54276         * configure: Likewise.
54277         * sysdeps/gnu/configure: Likewise.
54278         * sysdeps/i386/configure: Likewise.
54279         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
54280         * sysdeps/mach/configure: Likewise.
54281         * sysdeps/mach/hurd/configure: Likewise.
54282         * sysdeps/powerpc/configure: Likewise.
54283         * sysdeps/powerpc/powerpc32/configure: Likewise.
54284         * sysdeps/powerpc/powerpc64/configure: Likewise.
54285         * sysdeps/s390/s390-32/configure: Likewise.
54286         * sysdeps/s390/s390-64/configure: Likewise.
54287         * sysdeps/sh/configure: Likewise.
54288         * sysdeps/sparc/configure: Likewise.
54289         * sysdeps/unix/sysv/linux/configure: Likewise.
54290         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
54291         * sysdeps/x86_64/configure: Likewise.
54292         * sysdeps/x86_64/preconfigure: Likewise.
54294 2013-10-29  Andreas Schwab  <schwab@suse.de>
54296         * stdio-common/Makefile (tst-swscanf-ENV): Define.
54298 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54300         * benchtests/pow-inputs: Add new inputs.
54302         * benchtests/exp-inputs: Add new inputs.
54304         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
54305         conditional check for return value.
54306         (__cos32): Likewise.
54308 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54310         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
54311         to provide a boost for large inputs with word alignment.
54312         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
54313         implementation based on optimized PPC64 strcpy.
54314         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
54315         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
54316         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
54317         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
54319 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54321         [BZ #2801]
54322         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
54324 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54326         [BZ #14876]
54327         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
54328         * time/tst-strptime.c (day_tests): Add testcase.
54330 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
54332         [BZ #14029]
54333         * manual/pattern.texi: Acknowledge that fnmatch can fail.
54335 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
54337         [BZ #16074]
54338         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
54339         MAP_FAILED on error.
54341 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
54343         [BZ #16072]
54344         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
54345         heap for large requests.
54347 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
54349         [BZ #9954]
54350         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54351         result if the result has no associated interface.
54352         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
54353         interface for all 127.X.Y.Z addresses.
54355 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
54357         * locale/iso-639.def: Add Ligurian (lij)
54359 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
54361         [BZ #15825]
54362         * sunrpc/rpc_main.c: Document rpcgen -5.
54364 2013-10-19  Michael Stahl  <mstahl@redhat.com>
54366         * elf/rtld.c (do_preload): Print the reason why preloading failed.
54368 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54370         [BZ #10278]
54371         * posix/glob.c: Match only directories when trailing slash is present.
54372         * posix/tst-gnuglob.c (my_opendir): Do not open files.
54373         (main): Add testcase.
54375 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
54377         [BZ #15670]
54378         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
54380 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
54382         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
54383         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
54384         AUTH_DES and cindex for FIPS 140-2.
54385         (DES Encryption): Add cindex FIPS 46-3.
54387         * locale/locarchive.h (struct locarhandle): Add fname.
54388         * locale/programs/localedef.c (main): Pass ARGV[remaining]
54389         if an optional argument was specified to --list-archive,
54390         otherwise NULL.
54391         * locale/programs/locarchive.c (show_archive_content): Take new
54392         argument fname and pass it via ah.fname to open_archive.
54393         * locale/programs/localedef.h: Update decl.
54394         (open_archive): If AH->fname is non-null, open that file
54395         rather than the default file name, and don't ignore ENOENT.
54396         (create_archive): Set AH.fname to NULL.
54397         (delete_locales_from_archive): Likewise.
54398         (add_locales_to_archive): Likewise.
54399         * locale/programs/locfile.c (write_all_categories): Likewise.
54401 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
54402             Aldy Hernandez  <aldyh@redhat.com>
54404         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
54405         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
54406         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
54407         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
54408         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
54409         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
54410         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
54411         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
54412         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
54413         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
54414         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
54415         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
54416         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
54417         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
54418         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
54419         Likewise.
54420         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
54421         Likewise.
54422         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
54423         Likewise.
54424         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
54425         Likewise.
54426         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
54427         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
54428         Likewise.
54429         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
54430         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
54431         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
54432         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
54433         Likewise.
54434         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
54435         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
54436         * sysdeps/powerpc/preconfigure: Likewise.
54437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
54438         Likewise.
54439         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
54440         Replace contents of file by #include of <fenv_libc.h>.
54441         * sysdeps/powerpc/soft-fp/sfp-machine.h
54442         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
54443         and <sys/prctl.h>.
54444         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
54445         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
54446         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
54447         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
54448         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
54449         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
54450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
54451         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
54452         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
54453         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
54454         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
54455         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
54456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
54457         Allow copysignl PLT reference to be missing.
54459 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
54460             Joseph Myers  <joseph@codesourcery.com
54462         [BZ #15948]
54463         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
54464         single character.
54465         (add_to_tablewc): Assert sequence of wide characters is nonempty.
54467 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54469         * elf/tst-tls-dlinfo.c: Don't include tls.h.
54470         * elf/tst-tls1.c: Likewise.
54471         * elf/tst-tls10.h: Likewise.
54472         * elf/tst-tls14.c: Likewise.
54473         * elf/tst-tls2.c: Likewise.
54474         * elf/tst-tls3.c: Likewise.
54475         * elf/tst-tls4.c: Likewise.
54476         * elf/tst-tls5.c: Likewise.
54477         * elf/tst-tls6.c: Likewise.
54478         * elf/tst-tls7.c: Likewise.
54479         * elf/tst-tls8.c: Likewise.
54480         * elf/tst-tls9.c: Likewise.
54481         * elf/tst-tlsmod1.c: Likewise.
54482         * elf/tst-tlsmod13.c: Likewise.
54483         * elf/tst-tlsmod13a.c: Likewise.
54484         * elf/tst-tlsmod14a.c: Likewise.
54485         * elf/tst-tlsmod16a.c: Likewise.
54486         * elf/tst-tlsmod16b.c: Likewise.
54487         * elf/tst-tlsmod2.c: Likewise.
54488         * elf/tst-tlsmod3.c: Likewise.
54489         * elf/tst-tlsmod4.c: Likewise.
54490         * elf/tst-tlsmod5.c: Likewise.
54491         * elf/tst-tlsmod6.c: Likewise.
54493 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
54495         [BZ #12486]
54496         * malloc/malloc.c: remove checks for statistics.
54498 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54500         [BZ #15277]
54501         * inet/inet_net.c (inet_network): Detect additional invalid strings.
54502         * inet/tst-network.c: Add testcase.
54504 2013-10-17  Andreas Schwab  <schwab@suse.de>
54506         [BZ #15218]
54507         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
54508         to determine canonical name.
54510 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
54512         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
54513         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
54514         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54515         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54516         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54517         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54518         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54519         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54520         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54521         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54522         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
54523         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54524         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54525         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54526         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54527         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54528         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54529         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54530         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
54531         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54532         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54533         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54534         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
54535         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
54536         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
54537         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54538         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54539         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
54540         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54541         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
54542         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54543         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54544         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
54545         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54546         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
54547         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
54548         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54549         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
54550         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
54551         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54552         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
54553         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
54554         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
54555         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
54556         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
54557         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54558         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
54559         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
54560         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
54561         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
54562         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
54563         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54564         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
54565         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
54566         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54567         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
54568         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54569         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
54571 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
54573         [BZ #16041]
54574         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
54575         make result into a quiet NaN.
54577 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
54579         * soft-fp/adddf3.c: Fix horizontal whitespace.
54580         * soft-fp/addsf3.c: Likewise.
54581         * soft-fp/addtf3.c: Likewise.
54582         * soft-fp/divdf3.c: Likewise.
54583         * soft-fp/divsf3.c: Likewise.
54584         * soft-fp/divtf3.c: Likewise.
54585         * soft-fp/double.h: Likewise.
54586         * soft-fp/eqdf2.c: Likewise.
54587         * soft-fp/eqsf2.c: Likewise.
54588         * soft-fp/eqtf2.c: Likewise.
54589         * soft-fp/extenddftf2.c: Likewise.
54590         * soft-fp/extended.h: Likewise.
54591         * soft-fp/extendsfdf2.c: Likewise.
54592         * soft-fp/extendsftf2.c: Likewise.
54593         * soft-fp/extendxftf2.c: Likewise.
54594         * soft-fp/fixdfdi.c: Likewise.
54595         * soft-fp/fixdfsi.c: Likewise.
54596         * soft-fp/fixdfti.c: Likewise.
54597         * soft-fp/fixsfdi.c: Likewise.
54598         * soft-fp/fixsfsi.c: Likewise.
54599         * soft-fp/fixsfti.c: Likewise.
54600         * soft-fp/fixtfdi.c: Likewise.
54601         * soft-fp/fixtfsi.c: Likewise.
54602         * soft-fp/fixtfti.c: Likewise.
54603         * soft-fp/fixunsdfdi.c: Likewise.
54604         * soft-fp/fixunsdfsi.c: Likewise.
54605         * soft-fp/fixunsdfti.c: Likewise.
54606         * soft-fp/fixunssfdi.c: Likewise.
54607         * soft-fp/fixunssfsi.c: Likewise.
54608         * soft-fp/fixunssfti.c: Likewise.
54609         * soft-fp/fixunstfdi.c: Likewise.
54610         * soft-fp/fixunstfsi.c: Likewise.
54611         * soft-fp/fixunstfti.c: Likewise.
54612         * soft-fp/floatdidf.c: Likewise.
54613         * soft-fp/floatdisf.c: Likewise.
54614         * soft-fp/floatditf.c: Likewise.
54615         * soft-fp/floatsidf.c: Likewise.
54616         * soft-fp/floatsisf.c: Likewise.
54617         * soft-fp/floatsitf.c: Likewise.
54618         * soft-fp/floattidf.c: Likewise.
54619         * soft-fp/floattisf.c: Likewise.
54620         * soft-fp/floattitf.c: Likewise.
54621         * soft-fp/floatundidf.c: Likewise.
54622         * soft-fp/floatundisf.c: Likewise.
54623         * soft-fp/floatunditf.c: Likewise.
54624         * soft-fp/floatunsidf.c: Likewise.
54625         * soft-fp/floatunsisf.c: Likewise.
54626         * soft-fp/floatunsitf.c: Likewise.
54627         * soft-fp/floatuntidf.c: Likewise.
54628         * soft-fp/floatuntisf.c: Likewise.
54629         * soft-fp/floatuntitf.c: Likewise.
54630         * soft-fp/fmadf4.c: Likewise.
54631         * soft-fp/fmasf4.c: Likewise.
54632         * soft-fp/fmatf4.c: Likewise.
54633         * soft-fp/gedf2.c: Likewise.
54634         * soft-fp/gesf2.c: Likewise.
54635         * soft-fp/getf2.c: Likewise.
54636         * soft-fp/ledf2.c: Likewise.
54637         * soft-fp/lesf2.c: Likewise.
54638         * soft-fp/letf2.c: Likewise.
54639         * soft-fp/muldf3.c: Likewise.
54640         * soft-fp/mulsf3.c: Likewise.
54641         * soft-fp/multf3.c: Likewise.
54642         * soft-fp/negdf2.c: Likewise.
54643         * soft-fp/negsf2.c: Likewise.
54644         * soft-fp/negtf2.c: Likewise.
54645         * soft-fp/op-1.h: Likewise.
54646         * soft-fp/op-2.h: Likewise.
54647         * soft-fp/op-4.h: Likewise.
54648         * soft-fp/op-8.h: Likewise.
54649         * soft-fp/op-common.h: Likewise.
54650         * soft-fp/quad.h: Likewise.
54651         * soft-fp/single.h: Likewise.
54652         * soft-fp/soft-fp.h: Likewise.
54653         * soft-fp/sqrtdf2.c: Likewise.
54654         * soft-fp/sqrtsf2.c: Likewise.
54655         * soft-fp/sqrttf2.c: Likewise.
54656         * soft-fp/subdf3.c: Likewise.
54657         * soft-fp/subsf3.c: Likewise.
54658         * soft-fp/subtf3.c: Likewise.
54659         * soft-fp/truncdfsf2.c: Likewise.
54660         * soft-fp/trunctfdf2.c: Likewise.
54661         * soft-fp/trunctfsf2.c: Likewise.
54662         * soft-fp/trunctfxf2.c: Likewise.
54663         * soft-fp/unorddf2.c: Likewise.
54664         * soft-fp/unordsf2.c: Likewise.
54665         * soft-fp/unordtf2.c: Likewise.
54667 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
54669         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
54670         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
54672 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
54674         * elf/dl-libc.c: Clear initfini list after freeing.
54676 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
54678         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
54679         * soft-fp/addsf3.c: Likewise.
54680         * soft-fp/addtf3.c: Likewise.
54681         * soft-fp/divdf3.c: Likewise.
54682         * soft-fp/divsf3.c: Likewise.
54683         * soft-fp/divtf3.c: Likewise.
54684         * soft-fp/double.h: Likewise.
54685         * soft-fp/eqdf2.c: Likewise.
54686         * soft-fp/eqsf2.c: Likewise.
54687         * soft-fp/eqtf2.c: Likewise.
54688         * soft-fp/extenddftf2.c: Likewise.
54689         * soft-fp/extended.h: Likewise.
54690         * soft-fp/extendsfdf2.c: Likewise.
54691         * soft-fp/extendsftf2.c: Likewise.
54692         * soft-fp/extendxftf2.c: Likewise.
54693         * soft-fp/fixdfdi.c: Likewise.
54694         * soft-fp/fixdfsi.c: Likewise.
54695         * soft-fp/fixdfti.c: Likewise.
54696         * soft-fp/fixsfdi.c: Likewise.
54697         * soft-fp/fixsfsi.c: Likewise.
54698         * soft-fp/fixsfti.c: Likewise.
54699         * soft-fp/fixtfdi.c: Likewise.
54700         * soft-fp/fixtfsi.c: Likewise.
54701         * soft-fp/fixtfti.c: Likewise.
54702         * soft-fp/fixunsdfdi.c: Likewise.
54703         * soft-fp/fixunsdfsi.c: Likewise.
54704         * soft-fp/fixunsdfti.c: Likewise.
54705         * soft-fp/fixunssfdi.c: Likewise.
54706         * soft-fp/fixunssfsi.c: Likewise.
54707         * soft-fp/fixunssfti.c: Likewise.
54708         * soft-fp/fixunstfdi.c: Likewise.
54709         * soft-fp/fixunstfsi.c: Likewise.
54710         * soft-fp/fixunstfti.c: Likewise.
54711         * soft-fp/floatdidf.c: Likewise.
54712         * soft-fp/floatdisf.c: Likewise.
54713         * soft-fp/floatditf.c: Likewise.
54714         * soft-fp/floatsidf.c: Likewise.
54715         * soft-fp/floatsisf.c: Likewise.
54716         * soft-fp/floatsitf.c: Likewise.
54717         * soft-fp/floattidf.c: Likewise.
54718         * soft-fp/floattisf.c: Likewise.
54719         * soft-fp/floattitf.c: Likewise.
54720         * soft-fp/floatundidf.c: Likewise.
54721         * soft-fp/floatundisf.c: Likewise.
54722         * soft-fp/floatunsidf.c: Likewise.
54723         * soft-fp/floatunsisf.c: Likewise.
54724         * soft-fp/floatuntidf.c: Likewise.
54725         * soft-fp/floatuntisf.c: Likewise.
54726         * soft-fp/floatuntitf.c: Likewise.
54727         * soft-fp/fmadf4.c: Likewise.
54728         * soft-fp/fmasf4.c: Likewise.
54729         * soft-fp/fmatf4.c: Likewise.
54730         * soft-fp/gedf2.c: Likewise.
54731         * soft-fp/gesf2.c: Likewise.
54732         * soft-fp/getf2.c: Likewise.
54733         * soft-fp/ledf2.c: Likewise.
54734         * soft-fp/lesf2.c: Likewise.
54735         * soft-fp/letf2.c: Likewise.
54736         * soft-fp/muldf3.c: Likewise.
54737         * soft-fp/mulsf3.c: Likewise.
54738         * soft-fp/multf3.c: Likewise.
54739         * soft-fp/negdf2.c: Likewise.
54740         * soft-fp/negsf2.c: Likewise.
54741         * soft-fp/negtf2.c: Likewise.
54742         * soft-fp/op-1.h: Likewise.
54743         * soft-fp/op-2.h: Likewise.
54744         * soft-fp/op-4.h: Likewise.
54745         * soft-fp/op-8.h: Likewise.
54746         * soft-fp/op-common.h: Likewise.
54747         * soft-fp/quad.h: Likewise.
54748         * soft-fp/single.h: Likewise.
54749         * soft-fp/soft-fp.h: Likewise.
54750         * soft-fp/sqrtdf2.c: Likewise.
54751         * soft-fp/sqrtsf2.c: Likewise.
54752         * soft-fp/sqrttf2.c: Likewise.
54753         * soft-fp/subdf3.c: Likewise.
54754         * soft-fp/subsf3.c: Likewise.
54755         * soft-fp/subtf3.c: Likewise.
54756         * soft-fp/truncdfsf2.c: Likewise.
54757         * soft-fp/trunctfdf2.c: Likewise.
54758         * soft-fp/trunctfsf2.c: Likewise.
54759         * soft-fp/trunctfxf2.c: Likewise.
54760         * soft-fp/unorddf2.c: Likewise.
54761         * soft-fp/unordsf2.c: Likewise.
54762         * soft-fp/unordtf2.c: Likewise.
54764 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
54766         [BZ #15672]
54767         * misc/error.c (error_tail): Fix possible buffer overflow.
54769 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
54771         [BZ #13028]
54772         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
54773         address.
54775 2013-10-14  P. J. McDermott  <pj@pehjota.net>
54777         [BZ #832]
54778         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
54779         testing pipefail option.
54781 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54783         * soft-fp/double.h: Indent preprocessor directives inside #if.
54784         * soft-fp/extended.h: Likewise.
54785         * soft-fp/op-2.h: Likewise.
54786         * soft-fp/op-4.h: Likewise.
54787         * soft-fp/op-common.h: Likewise.
54788         * soft-fp/quad.h: Likewise.
54789         * soft-fp/single.h: Likewise.
54790         * soft-fp/soft-fp.h: Likewise.
54792 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
54794         * iconv/iconv_prog.c: Fix typos.
54795         * stdio-common/psiginfo-data.h: Likewise.
54797 2013-10-12   Reuben Thomas <rrt@sc3d.org>
54799         [BZ #15764]
54800         * locale/setlocale.c: Fix typo.
54802 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
54804         [BZ #16036]
54805         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
54806         signaling NaN arguments.
54807         * soft-fp/unordsf2.c (__unordsf2): Likewise.
54808         * soft-fp/unordtf2.c (__unordtf2): Likewise.
54810         [BZ #14910]
54811         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
54812         unordered operands.
54813         * soft-fp/gesf2.c (__gesf2): Likewise.
54814         * soft-fp/getf2.c (__getf2): Likewise.
54815         * soft-fp/ledf2.c (__ledf2): Likewise.
54816         * soft-fp/lesf2.c (__lesf2): Likewise.
54817         * soft-fp/letf2.c (__letf2): Likewise.
54819         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
54820         * soft-fp/eqsf2.c (__eqsf2): Likewise.
54821         * soft-fp/eqtf2.c (__eqtf2): Likewise.
54822         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
54823         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
54824         * soft-fp/fixdfti.c (__fixdfti): Likewise.
54825         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
54826         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
54827         * soft-fp/fixsfti.c (__fixsfti): Likewise.
54828         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
54829         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
54830         * soft-fp/fixtfti.c (__fixtfti): Likewise.
54831         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
54832         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
54833         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
54834         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
54835         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
54836         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
54837         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
54838         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
54839         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
54840         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
54841         * soft-fp/floatdisf.c (__floatdisf): Likewise.
54842         * soft-fp/floatsisf.c (__floatsisf): Likewise.
54843         * soft-fp/floattidf.c (__floattidf): Likewise.
54844         * soft-fp/floattisf.c (__floattisf): Likewise.
54845         * soft-fp/floattitf.c (__floattitf): Likewise.
54846         * soft-fp/floatundidf.c (__floatundidf): Likewise.
54847         * soft-fp/floatundisf.c (__floatundisf): Likewise.
54848         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
54849         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
54850         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
54851         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
54852         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
54853         * soft-fp/gesf2.c (__gesf2): Likewise.
54854         * soft-fp/getf2.c (__getf2): Likewise.
54855         * soft-fp/ledf2.c (__ledf2): Likewise.
54856         * soft-fp/lesf2.c (__lesf2): Likewise.
54857         * soft-fp/letf2.c (__letf2): Likewise.
54859         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
54860         Undefine and redefine.
54861         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
54862         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
54863         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
54864         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
54865         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54866         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
54867         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54868         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
54869         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54870         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
54871         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54872         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
54873         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54874         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
54875         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
54877         [BZ #16032]
54878         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
54879         without decrementing exponent if mantissa >= that for the
54880         denominator, not >.
54881         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
54882         denominator, not >.  Decrement exponent in < case instead of
54883         incrementing in >= case.
54884         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
54885         without decrementing exponent if mantissa >= that for the
54886         denominator, not >.
54888         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
54889         computing saturated result for unsigned overflow.
54891 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54892             Jeff Law  <law@redhat.com>
54894         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
54895         (atan2Mp): Add systemtap probe marker.
54896         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
54897         (__ieee754_log): Add systemtap probe marker.
54898         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
54899         (atanMp): Add systemtap probe marker.
54900         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
54901         (tanMp): Add systemtap probe marker.
54902         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
54903         (__slowexp): Add systemtap probe marker.
54904         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
54905         (__slowpow): Add systemtap probe marker.
54906         * manual/probes.texi: Document probes.
54908 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
54910         [BZ #15362]
54911         * libio/fileops.c (_IO_new_file_write): Return count of bytes
54912         written.
54913         (_IO_new_file_xsputn): Don't return EOF if nothing has been
54914         written.
54915         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
54916         written to buffer but not flushed.
54917         * libio/iofwrite_u.c:  Likewise.
54918         * libio/iopadn.c:  Return bytes returned even if EOF was
54919         encountered.
54920         * libio/iowpadn.c:  Likewise.
54921         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
54922         if _IO_padn does not write the whole buffer.
54923         [!COMPILE_WPRINTF] (PAD): Likewise.
54925 2013-10-10  David S. Miller  <davem@davemloft.net>
54927         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
54928         directory block.
54930 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54932         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
54933         instead of FSF address.
54934         * soft-fp/fixdfti.c: Likewise.
54935         * soft-fp/fixsfti.c: Likewise.
54936         * soft-fp/fixtfti.c: Likewise.
54937         * soft-fp/fixunsdfti.c: Likewise.
54938         * soft-fp/fixunssfti.c: Likewise.
54939         * soft-fp/fixunstfti.c: Likewise.
54940         * soft-fp/floattidf.c: Likewise.
54941         * soft-fp/floattisf.c: Likewise.
54942         * soft-fp/floattitf.c: Likewise.
54943         * soft-fp/floatuntidf.c: Likewise.
54944         * soft-fp/floatuntisf.c: Likewise.
54945         * soft-fp/floatuntitf.c: Likewise.
54946         * soft-fp/trunctfxf2.c: Likewise.
54948         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
54949         * soft-fp/fixdfti.c: Likewise.
54950         * soft-fp/fixsfti.c: Likewise.
54951         * soft-fp/fixtfti.c: Likewise.
54952         * soft-fp/fixunsdfti.c: Likewise.
54953         * soft-fp/fixunssfti.c: Likewise.
54954         * soft-fp/fixunstfti.c: Likewise.
54955         * soft-fp/floattidf.c: Likewise.
54956         * soft-fp/floattisf.c: Likewise.
54957         * soft-fp/floattitf.c: Likewise.
54958         * soft-fp/floatuntidf.c: Likewise.
54959         * soft-fp/floatuntisf.c: Likewise.
54960         * soft-fp/floatuntitf.c: Likewise.
54961         * soft-fp/trunctfxf2.c: Likewise.
54963 2013-10-10  David S. Miller  <davem@davemloft.net>
54965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54967 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
54969         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
54970         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
54971         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
54972         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
54973         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
54974         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
54975         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
54977         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
54978         for NaNs before doing comparisons on argument.
54979         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
54980         Likewise.
54982 2013-10-10  Will Newton  <will.newton@linaro.org>
54984         * malloc/hooks.c (memalign_check): Ensure the value of bytes
54985         passed to _int_memalign does not overflow.
54987 2013-10-10  Torvald Riegel  <triegel@redhat.com>
54989         * scripts/bench.pl: Add include-sources directive.
54990         * benchtests/README: Update documentation.
54992 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
54994         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
54995         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
54996         instead of FP_INIT_ROUNDMODE.
54997         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
54998         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
55000         [BZ #16034]
55001         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
55002         copy class of input value.
55003         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
55004         not handle exceptions.
55005         * soft-fp/negsf2.c (__negsf2): Likewise.
55006         * soft-fp/negtf2.c (__negtf2): Likewise.
55007         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
55009 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
55011         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
55012         semicolon.  From Linux kernel.
55014 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
55016         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
55018 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
55020         [BZ #156]
55021         * manual/socket.texi: Added statement about buffer
55022         for gethostbyname2_r.
55024 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
55026         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
55027         Use .p2align directive instead, throughout.
55028         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55029         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
55030         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
55031         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55032         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55033         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
55034         * sysdeps/x86_64/strchr.S: Likewise.
55035         * sysdeps/x86_64/strrchr.S: Likewise.
55037 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55039         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
55041         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
55043         * sysdeps/generic/math_private.h (__mpsin1): Remove
55044         declaration.
55045         (__mpcos1): Likewise.
55046         (__mpsin): New argument __range_reduce.
55047         (__mpcos): Likewise.
55048         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55049         (slow): Use __mpsin and __mpcos.
55050         (slow1): Likewise.
55051         (slow2): Likewise.
55052         (sloww): Likewise.
55053         (sloww1): Likewise.
55054         (sloww2): Likewise.
55055         (bsloww): Likewise.
55056         (bsloww1): Likewise.
55057         (bsloww2): Likewise.
55058         (cslow2): Likewise.
55059         (csloww): Likewise.
55060         (csloww1): Likewise.
55061         (csloww2): Likewise.
55062         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
55063         range_reduce.  Merge in __mpsin1.
55064         (__mpcos): Likewise.
55065         (__mpsin1): Remove.
55066         (__mpcos1): Likewise.
55068 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
55070         * locale/loadlocale.c (_nl_intern_locale_data): Use
55071         LOCFILE_ALIGNED_P.
55072         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
55073         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
55074         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
55075         obstack data is appropriately aligned.
55076         (obstack_int32_grow_fast): Likewise.
55077         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
55078         * locale/programs/locfile.c (add_locale_uint32): Likewise.
55079         (add_locale_uint32_array): Likewise.
55081 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
55083         * benchtests/Makefile: Remove ARGLIST and RET variables.
55084         ($(objpfx)bench-%.c): Pass only function name to the script.
55085         * benchtests/README: Update documentation.
55086         * benchtests/acos-inputs: Add new directives.
55087         * benchtests/acosh-inputs: Likewise.
55088         * benchtests/asin-inputs: Likewise.
55089         * benchtests/asinh-inputs: Likewise.
55090         * benchtests/atan-inputs: Likewise.
55091         * benchtests/atanh-inputs: Likewise.
55092         * benchtests/cos-inputs: Likewise.
55093         * benchtests/cosh-inputs: Likewise.
55094         * benchtests/exp-inputs: Likewise.
55095         * benchtests/log-inputs: Likewise.
55096         * benchtests/pow-inputs: Likewise.
55097         * benchtests/rint-inputs: Likewise.
55098         * benchtests/sin-inputs: Likewise.
55099         * benchtests/sinh-inputs: Likewise.
55100         * benchtests/tan-inputs: Likewise.
55101         * benchtests/tanh-inputs: Likewise.
55102         * scripts/bench.pl: Add support for new directives.
55104 2013-10-07  Alan Modra  <amodra@gmail.com>
55106         * README: Fix careless merge.
55108 2013-10-05  Alan Modra  <amodra@gmail.com>
55110         * NEWS: Mention powerpc64le support and bugs fixed.
55111         * README: Both big-endian and little-endian powerpc64 supported.
55113 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55115         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
55116         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
55117         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
55118         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
55120 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
55122         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
55123         match prototype.
55125 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
55127         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
55128         Move -mhard-float appending from
55129         ports/sysdeps/powerpc/powerpc32/Makefile.
55130         [$(with-fp) = yes] (ASFLAGS): Likewise.
55131         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
55132         * sysdeps/powerpc/nofpu: Move directory from
55133         ports/sysdeps/powerpc/nofpu.
55134         * sysdeps/powerpc/soft-fp: Move directory from
55135         ports/sysdeps/powerpc/soft-fp.
55136         * sysdeps/powerpc/powerpc32/405: Move directory from
55137         ports/sysdeps/powerpc/powerpc32/405.
55138         * sysdeps/powerpc/powerpc32/440: Move directory from
55139         ports/sysdeps/powerpc/powerpc32/440.
55140         * sysdeps/powerpc/powerpc32/464: Move directory from
55141         ports/sysdeps/powerpc/powerpc32/464.
55142         * sysdeps/powerpc/powerpc32/476: Move directory from
55143         ports/sysdeps/powerpc/powerpc32/476.
55144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
55145         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
55146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
55147         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
55148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
55149         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
55150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
55151         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
55152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
55153         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
55154         * README: Update for powerpc-*-linux-gnu software floating point
55155         support in libc.
55157         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
55158         case to powerpc/powerpc32*.
55159         * sysdeps/unix/sysv/linux/configure: Regenerated.
55161         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
55162         (_FPU_MASK_OM): Define as 0x04.
55163         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
55164         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
55165         0x00c10080.
55166         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
55167         0x0000003c.
55168         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
55170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
55171         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55172         getcontext_e500.
55173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
55174         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
55175         setcontext_e500.
55176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
55177         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
55178         and setcontext_e500.
55180 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
55182         * locale/iso-3166.def: Update iso-1366.def and related occurrences
55184 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55186         * manual/threads.texi (Default Thread Attributes): Fix typo.
55188 2013-10-04  Will Newton  <will.newton@linaro.org>
55190         * malloc/Makefile: Add tst-memalign.
55191         * malloc/tst-memalign.c: New file.
55193         * malloc/tst-posix_memalign.c: Add comments.
55194         (do_test): Add comments and call free on all potentially
55195         allocated pointers. Add space after cast.
55197         * malloc/tst-pvalloc.c: Add comments.
55198         (do_test): Add comments and call free on all potentially
55199         allocated pointers. Remove duplicate check for NULL pointer.
55200         Add space after cast.
55202         * malloc/tst-valloc.c: Add comments.
55203         (do_test): Add comments and call free on all potentially
55204         allocated pointers. Remove duplicate check for NULL pointer.
55205         Add space after cast.
55207 2013-10-04  Alan Modra  <amodra@gmail.com>
55209         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55210         Use stdint types in rather than __attribute__((mode())).
55211         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55213 2013-10-04  Alan Modra  <amodra@gmail.com>
55215         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
55216         Correct handling of unaligned relocs for little-endian.
55217         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
55219 2013-10-04  Alan Modra  <amodra@gmail.com>
55221         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
55222         * configure: Regenerate.
55223         * nptl/shlib-versions: Powerpc*le starts at 2.18.
55224         * shlib-versions: Likewise.
55226 2013-10-04  Alan Modra  <amodra@gmail.com>
55228         * string/tester.c (test_memrchr): Increment reported test cycle.
55230 2013-10-04  Alan Modra  <amodra@gmail.com>
55232         * string/test-memcpy.c (do_one_test): When reporting errors, print
55233         string address and don't overrun end of string.
55235 2013-10-04  Alan Modra  <amodra@gmail.com>
55237         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
55238         insrdi.  Make better use of reg selection to speed exit slightly.
55239         Schedule entry path a little better.  Remove useless "are we done"
55240         checks on entry to main loop.  Handle wrapping around zero address.
55241         Correct main loop count.  Handle single left-over word from main
55242         loop inline rather than by using loop_small.  Remove extra word
55243         case in loop_small caused by wrong loop count.  Add little-endian
55244         support.
55245         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55246         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
55247         cache hint.
55248         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55249         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
55250         support.  Avoid rlwimi.
55251         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
55253 2013-10-04  Alan Modra  <amodra@gmail.com>
55255         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
55256         insrdi.  Formatting.
55257         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
55258         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
55259         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
55260         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55261         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
55262         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
55264 2013-10-04  Alan Modra  <amodra@gmail.com>
55266         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
55267         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55268         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
55269         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
55270         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55271         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55272         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55273         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55274         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
55275         use of regs.  Use power7 mtocrf.  Tidy function tails.
55277 2013-10-04  Alan Modra  <amodra@gmail.com>
55279         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
55280         Formatting.  Consistently use rXXX register defines or rN defines.
55281         Use early exit labels that avoid restoring unused non-volatile regs.
55282         Make cr field use more consistent with rWORDn compares.  Rename
55283         regs used as shift registers for unaligned loop, using rN defines
55284         for short lifetime/multiple use regs.
55285         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55286         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
55287         addi 1,1,64 to pop stack frame.  Simplify return value code.
55288         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55290 2013-10-04  Alan Modra  <amodra@gmail.com>
55292         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
55293         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
55294         rather than rlwimi.
55295         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
55296         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
55297         little-endian support.  Correct typos.
55298         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
55299         rather than rlwimi.
55300         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
55301         in loop and entry code to keep "and." results.
55302         (strchr): Add little-endian support.  Comment.  Move cntlzd
55303         earlier in tail.
55304         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
55306 2013-10-04  Alan Modra  <amodra@gmail.com>
55308         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
55309         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
55310         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
55311         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
55313 2013-10-04  Alan Modra  <amodra@gmail.com>
55315         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
55316         (rTMP): Define as r11.
55317         (strcmp): Add little-endian support.  Optimise tail.
55318         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
55319         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55320         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55321         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55322         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55323         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55324         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55326 2013-10-04  Alan Modra  <amodra@gmail.com>
55328         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
55329         little-endian support.  Remove unnecessary "are we done" tests.
55330         Handle "s" wrapping around zero and extremely large "size".
55331         Correct main loop count.  Handle single left-over word from main
55332         loop inline rather than by using small_loop.  Correct comments.
55333         Delete "zero" tail, use "end_max" instead.
55334         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
55336 2013-10-04  Alan Modra  <amodra@gmail.com>
55338         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
55339         support.  Don't branch over align.
55340         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
55341         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
55342         support.  Rearrange tmp reg use to suit.  Comment.
55343         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
55345 2013-10-04  Alan Modra  <amodra@gmail.com>
55347         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
55349 2013-10-04  Alan Modra  <amodra@gmail.com>
55351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
55352         conditional form of branch and link when obtaining pc.
55353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
55355 2013-10-04  Alan Modra  <amodra@gmail.com>
55357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
55358         HIWORD/LOWORD.
55359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
55360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
55362 2013-10-04  Alan Modra  <amodra@gmail.com>
55364         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
55365         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
55366         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
55367         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
55368         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
55369         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
55370         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
55371         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
55372         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
55373         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
55375 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55376             Alistair Popple <alistair@ozlabs.au.ibm.com>
55377             Alan Modra <amodra@gmail.com>
55379         [BZ #15723]
55380         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
55381         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
55382         _dl_hwcap access for little-endian.
55383         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
55384         destroy vmx regs when saving unaligned.
55385         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
55386         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
55387         destroy vmx regs when saving unaligned.
55389 2013-10-04  Alan Modra  <amodra@gmail.com>
55391         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
55392         Don't use a union to pack hi/low value.
55394 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55396         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
55397         for little-endian.
55398         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55399         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
55400         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55401         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55402         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55404 2013-10-04  Alan Modra  <amodra@gmail.com>
55406         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
55407         constants to usual value for .cst8 section, and remove redundant
55408         high address load.
55409         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
55410         constant for 0x1p52.  Load little-endian words of double from
55411         correct stack offsets.
55413 2013-10-04  Alan Modra  <amodra@gmail.com>
55415         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
55416         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
55417         words of double from correct stack offsets.
55418         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
55419         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
55420         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55421         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55422         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55423         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55424         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55425         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
55426         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
55427         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55428         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55429         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55430         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
55431         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
55432         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
55433         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
55434         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
55436 2013-10-04  Alan Modra  <amodra@gmail.com>
55438         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
55439         64-bit int/double union.
55440         (_FPU_SETCW): Likewise.
55441         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
55442         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
55444 2013-10-04  Alan Modra  <amodra@gmail.com>
55446         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
55447         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
55449 2013-10-04  Alan Modra  <amodra@gmail.com>
55451         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
55452         use vector int constants.
55453         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
55455 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55457         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
55458         array with long long.
55459         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
55460         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
55461         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
55462         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
55463         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
55464         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
55465         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
55466         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
55467         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
55468         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
55469         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
55470         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
55471         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
55473 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
55475         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
55476         (__signbit): Likewise.  Correct for little-endian.
55477         (__signbitl): Call __signbit.
55478         (lrint): Correct for little-endian.
55479         (lrintf): Call lrint.
55481 2013-10-04  Alan Modra  <amodra@gmail.com>
55483         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
55484         union 32-bit int array member with 64-bit int array.
55485         (t515, tm256): Double rather than long double.
55486         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
55488 2013-10-04  Alan Modra  <amodra@gmail.com>
55490         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
55491         Delete.
55492         (IEEE854_LONG_DOUBLE_BIAS): Delete.
55493         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
55494         version of math_ldbl.h.
55496 2013-10-04  Alan Modra  <amodra@gmail.com>
55498         [BZ #15734], [BZ #15735]
55499         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
55500         all uses of ieee875 long double macros and unions.  Simplify test
55501         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
55502         ldbl_extract_mantissa value for ix,iy exponents.  Properly
55503         normalize after ldbl_extract_mantissa, and don't add hidden bit
55504         already handled.  Don't treat low word of ieee854 mantissa like
55505         low word of IBM long double and mask off bit when testing for
55506         zero.
55507         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
55508         all uses of ieee875 long double macros and unions.  Simplify tests
55509         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
55510         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
55511         two1022, instead use their values.  Recognise that tests for large
55512         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
55513         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
55514         Rewrite all uses of ieee875 long double macros and unions.  Simplify
55515         test for 0.0L and nan.  Correct negation.
55516         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
55517         ieee875 long double macros and unions.  Correct output for large
55518         magnitude x.  Correct absolute value calculation.
55519         (__erfcl): Likewise.
55520         * math/libm-test.inc: Add tests for errors discovered in IBM long
55521         double versions of fmodl, remainderl, erfl and erfcl.
55523 2013-10-04  Alan Modra  <amodra@gmail.com>
55525         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
55526         all uses of ieee854 long double macros and unions.  Simplify tests
55527         for long doubles that are fully specified by the high double.
55528         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
55529         Likewise.
55530         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
55531         Remove dead code too.
55532         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
55533         (__ieee754_ynl): Likewise.
55534         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
55535         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
55536         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
55537         Remove dead code too.
55538         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
55539         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
55540         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
55541         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
55542         Simplify.
55543         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
55544         Simplify.
55545         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
55546         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
55547         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
55548         Comment on variable precision.
55549         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
55550         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
55551         Likewise.
55552         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
55553         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
55554         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
55555         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
55556         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
55558 2013-10-04  Alan Modra  <amodra@gmail.com>
55560         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
55561         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
55562         all uses of ieee854 long double macros and unions.
55563         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
55564         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
55565         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
55566         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
55567         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
55568         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55569         Likewise.
55570         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
55571         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
55572         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
55573         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
55574         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
55575         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
55576         Simplify sign and nan test too.
55577         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
55578         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
55579         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
55580         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
55581         Likewise.
55582         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55583         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
55584         Likewise.
55585         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55586         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
55587         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
55588         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
55589         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
55590         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
55592 2013-10-04  Alan Modra  <amodra@gmail.com>
55594         * stdio-common/printf_size.c (__printf_size): Don't use
55595         union ieee854_long_double in fpnum union.
55596         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
55597         signbit macro to retrieve sign from long double.
55598         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
55599         retrieve sign from long double.
55600         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
55601         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
55602         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
55603         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
55604         * math/test-misc.c (main): Don't use union ieee854_long_double.
55606 2013-10-04  Alan Modra  <amodra@gmail.com>
55608         [BZ #15680]
55609         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
55610         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
55611         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
55612         calculation.  Remove unnecessary test for denormal exponent.
55613         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
55614         Correct handling of denormals.  Avoid undefined shift behaviour.
55615         Correct normalisation of low mantissa when low double is denormal.
55616         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
55617         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
55618         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
55619         Correct normalisation of low mantissa.  Test for overflow of high
55620         mantissa and normalise.
55621         (ldbl_nearbyint): Use more readable constant for two52.
55622         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
55623         (__mpn_construct_long_double): Fix test for overflow of high
55624         mantissa and correct normalisation.  Avoid undefined shift.
55626 2013-10-04  Alan Modra  <amodra@gmail.com>
55628         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
55629         (union ibm_extended_long_double): Define as an array of ieee754_double.
55630         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
55631         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
55632         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
55633         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
55634         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55635         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
55636         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55637         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55638         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
55639         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
55640         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
55642 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
55644         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
55645         page size instead of calling getpagesize.
55647         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
55648         (LOCFILE_ALIGN_MASK): Likewise.
55649         (LOCFILE_ALIGN_UP): Likewise.
55650         (LOCFILE_ALIGNED_P): Likewise.
55651         * locale/programs/ld-collate.c (collate_output): Use the new
55652         macros instead of __alignof__ (int32_t).
55653         * locale/weight.h (findidx): Likewise.
55655 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
55657         [BZ #431]
55658         * manual/string.texi: Fix strncat and wcsncat.
55660 2013-10-03  Brooks Moses  <bmoses@google.com>
55662         [BZ #15915]
55663         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
55664         * Makerules: ...here, and adjust associated comments.
55666 2013-10-02  Will Newton  <will.newton@linaro.org>
55668         * malloc/Makefile: Add tst-pvalloc.
55669         * malloc/tst-pvalloc.c: New file.
55671 2013-10-02  Will Newton  <will.newton@linaro.org>
55673         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
55674         improve test coverage.
55676 2013-10-02  Will Newton  <will.newton@linaro.org>
55678         * malloc/Makefile: Add tst-posix_memalign.
55679         * malloc/tst-posix_memalign.c: New file.
55681 2013-10-01  Eric Blake  <eblake@redhat.com>
55683         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
55684         Use __THROWNL rather than __THROW on static functions.
55686 2013-09-30  Petr Machata  <pmachata@redhat.com>
55688         * elf/elf.h (R_AARCH64_ABS16): New macro.
55689         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
55690         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
55691         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
55692         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
55693         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
55694         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
55695         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
55696         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
55697         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
55698         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
55699         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
55700         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
55701         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
55702         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
55703         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
55704         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
55705         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
55706         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
55707         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
55708         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
55709         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
55710         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
55711         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
55712         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
55713         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
55714         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
55715         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
55716         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
55717         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
55718         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
55719         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
55720         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
55721         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
55722         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
55723         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
55724         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
55725         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
55726         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
55727         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
55728         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
55729         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
55730         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
55731         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
55732         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
55733         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
55734         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
55735         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
55736         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
55737         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
55738         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
55739         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
55740         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
55741         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
55742         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
55743         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
55744         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
55745         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
55746         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
55747         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
55748         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
55749         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
55750         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
55751         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
55752         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
55753         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
55754         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
55755         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
55756         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
55757         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
55758         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
55759         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
55760         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
55761         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
55762         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
55763         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
55764         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
55765         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
55766         (R_AARCH64_TLSDESC_LDR): Likewise.
55767         (R_AARCH64_TLSDESC_ADD): Likewise.
55768         (R_AARCH64_TLSDESC_CALL): Likewise.
55770 2013-09-30  Andreas Schwab  <schwab@suse.de>
55772         [BZ #15048]
55773         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
55774         the nss database lookup.
55775         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55776         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55778 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
55780         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
55782 2013-09-28  P. J. McDermott  <pj@pehjota.net>
55784         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
55785         ${Bash-specific parameter/pattern/string} parameter expansion.
55786         * sysdeps/unix/make-syscalls.sh: Likewise.
55788 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55790         * sysdeps/sh/stackguard-macros.h: New file.
55792 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
55794         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
55795         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
55796         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
55797         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
55798         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55799         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
55801 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55803         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
55804         Fix thread ID register.
55806 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
55808         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
55809         [POSIX || UNIX98]: Require rather than permitting all symbols from
55810         <time.h>.
55811         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
55812         element of struct sched_param.
55813         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
55814         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
55815         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
55816         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
55817         constant.
55819 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
55821         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
55822         argument calculation.
55824 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55826         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
55827         Expect macro.
55828         [POSIX] (pthread_attr_t): Do not require type.
55829         [POSIX] (pthread_cond_t): Likewise.
55830         [POSIX] (pthread_condattr_t): Likewise.
55831         [POSIX] (pthread_key_t): Likewise.
55832         [POSIX] (pthread_mutex_t): Likewise.
55833         [POSIX] (pthread_mutexattr_t): Likewise.
55834         [POSIX] (pthread_once_t): Likewise.
55835         [POSIX] (pthread_t): Likewise.
55836         [POSIX-based standards] (pthread_atfork): Expect function.
55838 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
55839             Richard Sandiford  <richard@codesourcery.com>
55841         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
55842         (swap_endianness_p): New extern variable.
55843         (set_big_endian): New inline function.
55844         (maybe_swap_uint32): Likewise.
55845         (maybe_swap_uint32_array): Likewise.
55846         (maybe_swap_uint32_obstack): Likewise.
55847         * locale/programs/locfile.c: Include <stdbool.h>.
55848         (swap_endianness_p): New variable.
55849         (add_locale_uint32): Call maybe_swap_uint32.
55850         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
55851         (write_locale_data): Call maybe_swap_uint32_array.
55852         * locale/programs/ld-collate.c (obstack_int32_grow): Call
55853         maybe_swap_uint32.
55854         (obstack_int32_grow_fast): Likewise.
55855         (output_weightwc): Call maybe_swap_uint32_obstack.
55856         (collate_output): Likewise.
55857         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
55858         (OPT_LITTLE_ENDIAN): Likewise.
55859         (options): Add --little-endian and --big-endian options.
55860         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
55861         * locale/programs/locarchive.c: Include "locfile.h".
55862         (GET): New macro.
55863         (SET): Likewise.
55864         (INC): Likewise.
55865         (create_archive): Use the new macros to access fields of
55866         structures directly mapped from or written to locale archives.
55867         (oldlocrecentcmp): Likewise.
55868         (enlarge_archive): Likewise.
55869         (insert_name): Likewise.
55870         (add_alias): Likewise.
55871         (add_locale): Likewise.
55872         (delete_locales_from_archive): Likewise.
55873         (show_archive_content): Likewise.
55874         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
55875         locale data.
55877 2013-09-24  Roland McGrath  <roland@hack.frob.com>
55879         * manual/freemanuals.texi: Updated from (newly) canonical copy at
55880         http://www.gnu.org/doc/freemanuals.texi.
55881         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
55883 2013-09-24  Will Newton  <will.newton@linaro.org>
55885         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
55886         macro.
55888 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
55890         * locale/hashval.h (compute_hashval): Interpret bytes of key as
55891         unsigned char.
55893 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
55895         * manual/threads.texi (POSIX Threads): Fix a typo.
55897 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55899         [BZ #14547]
55900         * string/tst-strcoll-overflow.c: New test case.
55901         * string/Makefile (xtests): Add tst-strcoll-overflow.
55902         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
55903         cache if string sizes may cause integer overflow.
55905         [BZ #14547]
55906         * string/strcoll_l.c (coll_seq): New members rule, idx,
55907         save_idx and back_us.
55908         (get_next_seq_nocache): New function.
55909         (do_compare_nocache): New function.
55910         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
55911         when malloc fails.
55913 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
55915         [BZ #15754]
55916         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
55917         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
55918         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
55920         [BZ #15754]
55921         * elf/Makefile (tests): Add tst-ptrguard1.
55922         (tests-static): Add tst-ptrguard1-static.
55923         (tst-ptrguard1-ARGS): Define.
55924         (tst-ptrguard1-static-ARGS): Define.
55925         * elf/tst-ptrguard1.c: New file.
55926         * elf/tst-ptrguard1-static.c: New file.
55927         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
55928         * sysdeps/i386/stackguard-macros.h: Likewise.
55929         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
55930         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
55931         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
55932         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
55933         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
55934         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
55936 2013-09-23  Hector Marco  <hecmargi@upv.es>
55937             Ismael Ripoll  <iripoll@disca.upv.es>
55938             Carlos O'Donell  <carlos@redhat.com>
55940         [BZ #15754]
55941         * sysdeps/generic/stackguard-macros.h: Define
55942         __pointer_chk_guard_local and POINTER_CHK_GUARD.
55943         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
55944         Define __pointer_chk_guard_local.
55945         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
55946         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
55948 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
55950         [BZ #15859]
55951         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
55953 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
55955         * include/string.h (__ffs): Declare as hidden.
55956         * string/ffs.c (__ffs): Define as hidden.
55957         * sysdeps/i386/ffs.c (__ffs): Likewise.
55958         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
55959         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
55960         * sysdeps/s390/ffs.c (__ffs): Likewise.
55961         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
55963 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
55965         * NEWS: Mention malloc probes.
55967         * malloc/arena.c (new_heap): New memory_heap_new probe.
55968         (grow_heap): New memory_heap_more probe.
55969         (shrink_heap): New memory_heap_less probe.
55970         (heap_trim): New memory_heap_free probe.
55971         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
55972         (systrim): New memory_sbrk_less probe.
55973         * manual/probes.texi: Document them.
55975         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
55976         * manual/probes.texi: Document it.
55978         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
55979         (__libc_realloc): Add memory_realloc_retry probe.
55980         (__libc_memalign): Add memory_memalign_retry probe.
55981         (__libc_valloc): Add memory_valloc_retry probe.
55982         (__libc_pvalloc): Add memory_pvalloc_retry probe.
55983         (__libc_calloc): Add memory_calloc_retry probe.
55984         * manual/probes.texi: Document them.
55986         * malloc/arena.c (get_free_list): Add probe
55987         memory_arena_reuse_free_list.
55988         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
55989         and memory_arena_reuse.
55990         (arena_get2) [!PER_THREAD]: Likewise.
55991         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
55992         memory_arena_reuse_realloc.
55993         * manual/probes.texi: Document them.
55995         * malloc/malloc.c (__libc_free): Add
55996         memory_mallopt_free_dyn_thresholds probe.
55997         (__libc_mallopt): Add multiple memory_mallopt probes.
55998         * manual/probes.texi: Document them.
56000         * malloc/malloc.c: Include stap-probe.h.
56001         (__libc_mallopt): Add memory_mallopt probe.
56002         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
56003         * manual/probes.texi: New.
56004         * manual/Makefile (chapters): Add probes.
56005         * manual/threads.texi: Set next node.
56007 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
56009         [BZ #15963, #13985]
56010         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
56011         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
56012         Add `Chinese' to `nan' entry name.
56014 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56016         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
56017         (POLYNOMIAL): Likewise.
56018         (TAYLOR_SINCOS): Likewise.
56019         (TAYLOR_SLOW): Likewise.
56020         (__sin): Use TAYLOR_SINCOS.
56021         (__cos): Likewise.
56022         (slow): Use TAYLOR_SLOW.
56023         (sloww): Likewise.
56024         (bsloww): Likewise.
56025         (csloww): Likewise.
56027 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56029         * stdlib/strtod_l.c: Fix buffer overrun.
56031 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56033         * benchtests/Makefile (bench): Add sincos.
56034         * benchtests/bench-sincos.c: New file.
56036         * math/libm-test.inc (cos_test_data): New test inputs.
56037         (sin_test_data): Likewise.
56039         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
56040         macro.
56041         (__sin): Use it.
56042         (__cos): Likewise.
56043         (slow1): Likewise.
56044         (slow2): Likewise.
56045         (sloww1): Likewise.
56046         (sloww2): Likewise.
56047         (bsloww1): Likewise.
56048         (bsloww2): Likewise.
56049         (cslow2): Likewise.
56050         (csloww1): Likewise.
56051         (csloww2): Likewise.
56053         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
56054         function.
56055         (__sin): Use it.
56056         (__cos): Likewise.
56058         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
56059         gotos.
56060         (__cos): Likewise.
56062 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
56064         * config.h.in (HAVE_MIPS_NAN2008): New macro.
56065         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
56066         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
56067         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
56068         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
56069         * elf/cache.c (print_entry): Handle the new cache flags.
56071 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56072             Aldy Hernandez  <aldyh@redhat.com>
56074         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
56075         Change condition to [_SOFT_FLOAT].
56076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
56077         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
56078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
56079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
56080         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
56081         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
56082         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
56083         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
56084         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
56085         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
56086         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
56087         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
56088         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
56089         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
56090         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
56091         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
56092         declaration.
56094 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
56096         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
56097         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56098         (__longjmp): Use LOAD_GP to load saved GPRs.
56099         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
56100         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
56101         (__sigsetjmp): Use SAVE_GP to save GPRs.
56103         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
56104         Do not append -msoft-float.
56105         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
56107 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56109         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
56111 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
56113         [BZ #15966]
56114         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
56115         (_FPU_GETCW): Use initial "__" on variable and field names but not
56116         on macro parameter name.
56117         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
56118         parentheses around reference to macro parameter.
56120 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
56122         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
56123         prototype.
56124         (ctype_startup): Use uint32_t in cast and sizeof for
56125         ctype->charnames.
56127 2013-09-11  Jia Liu  <proljc@gmail.com>
56129         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
56130         __daddr_t_defined.
56131         [__FreeBSD__]: Likewise.
56133 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
56135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
56136         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
56137         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
56138         (strchr): Remove __strchr_sse42 ifunc selection.
56139         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
56140         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
56142 2013-09-11  Will Newton  <will.newton@linaro.org>
56144         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
56145         parameter to RES. Remove hardcoded 1000 value.
56146         * benchtests/bench-skeleton.c (main): Pass RES parameter
56147         to TIMING_INIT and multiply result by 1000.
56149 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56153 2013-09-11  Andreas Schwab  <schwab@suse.de>
56155         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
56156         if not defined.
56157         (O_TMPFILE) [__USE_GNU]: Define.
56158         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
56159         Define.
56161 2013-09-11  Will Newton  <will.newton@linaro.org>
56163         [BZ #15857]
56164         * malloc/malloc.c (__libc_memalign): Check the value of bytes
56165         does not overflow.
56167 2013-09-11  Will Newton  <will.newton@linaro.org>
56169         [BZ #15856]
56170         * malloc/malloc.c (__libc_valloc): Check the value of bytes
56171         does not overflow.
56173 2013-09-11  Will Newton  <will.newton@linaro.org>
56175         [BZ #15855]
56176         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
56177         does not overflow.
56179 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
56181         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
56182         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56183         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56184         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56185         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56187 2013-09-10  Allan McRae  <allan@archlinux.org>
56189         [BZ #15748]
56190         * manual/arith.texi (Parsing of Floats): Clarify
56191         cross-reference.
56193         [BZ #15849]
56194         * manual/install.texi (Running make install): Mention
56195         --enable-pt-chown.
56196         * INSTALL: Regenerated.
56198 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
56200         * csu/init-first.c (_init): Remove the !SHARED condition around
56201         FPU control word initialization.
56202         * elf/dl-support.c (_dl_fpu_control): New variable.
56203         (_dl_aux_init) <AT_FPUCW>: Initialize it.
56204         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
56205         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
56206         * math/test-fpucw-static.c: New file.
56207         * math/test-fpucw-ieee.c: New file.
56208         * math/test-fpucw-ieee-static.c: New file.
56209         * math/Makefile (tests): Add `test-fpucw-ieee' and
56210         `$(tests-static)'.
56211         (tests-static): New variable.
56212         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
56213         dependency to...
56214         [($(build-shared),yes)]
56215         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
56216         ... this.
56217         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
56218         New dependency.
56220 2013-09-09  Allan McRae  <allan@archlinux.org>
56222         [BZ #15939]
56223         * manual/string.texi (Collation Functions): Fix typo in
56224         strcoll example.
56225         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
56227         [BZ #15893]
56228         * stdlib/isomac.c (get_null_defines): Fix memory leak.
56230         [BZ #15892]
56231         * libio/memstream.c (open_memstream): Fix memory leak.
56232         * libio/wmemstream.c (open_wmemstream): Likewise.
56234         [BZ #15895]
56235         * nscd/netgroupcache.c: Fix nesting of ifdefs.
56237 2013-09-09  Will Newton  <will.newton@linaro.org>
56239         * malloc/Makefile: Add tst-realloc to tests.
56240         * malloc/tst-realloc.c: New file.
56242 2013-09-09  Allan McRae  <allan@archlinux.org>
56244         [BZ #15844]
56245         * COPYING: Update from GNU website to fix FSF address.
56246         * COPYING.LIB: Likewise.
56248 2013-09-06  David S. Miller  <davem@davemloft.net>
56250         * po/zh_TW.po: Update Chinese (traditional) translation from
56251         translation project.
56253 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
56254             Joseph Myers  <joseph@codesourcery.com>
56256         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
56257         "localeinfo.h".
56258         (obstack_chunk_alloc): New macro.
56259         (obstack_chunk_free): Likewise.
56260         (record_offset): New function.
56261         (init_locale_data): Likewise.
56262         (align_locale_data): Likewise.
56263         (add_locale_empty): Likewise.
56264         (add_locale_raw_data): Likewise.
56265         (add_locale_raw_obstack): Likewise.
56266         (add_locale_string): Likewise.
56267         (add_locale_wstring): Likewise.
56268         (add_locale_uint32): Likewise.
56269         (add_locale_uint32_array): Likewise.
56270         (add_locale_char): Likewise.
56271         (start_locale_structure): Likewise.
56272         (end_locale_structure): Likewise.
56273         (start_locale_prelude): Likewise.
56274         (end_locale_prelude): Likewise.
56275         (write_locale_data): Take locale_file structure rather than an
56276         iovec.
56277         * locale/programs/locfile.h: Include "obstack.h".
56278         (struct locale_file): Change to store locale file contents instead
56279         of header.
56280         (init_locale_data): New prototype.
56281         (align_locale_data): Likewise.
56282         (add_locale_empty): Likewise.
56283         (add_locale_raw_data): Likewise.
56284         (add_locale_raw_obstack): Likewise.
56285         (add_locale_string): Likewise.
56286         (add_locale_wstring): Likewise.
56287         (add_locale_uint32): Likewise.
56288         (add_locale_uint32_array): Likewise.
56289         (add_locale_char): Likewise.
56290         (start_locale_structure): Likewise.
56291         (end_locale_structure): Likewise.
56292         (start_locale_prelude): Likewise.
56293         (end_locale_prelude): Likewise.
56294         (write_locale_data): Update prototype.
56295         * locale/programs/3level.h (struct TABLE): Remove result field.
56296         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
56297         Use new locale_file interface.
56298         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
56299         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
56300         * locale/programs/ld-address.c (address_output): Use new
56301         locale_file interface.
56302         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
56303         NO_ADD_LOCALE.
56304         (collate_finish): Don't call collseq_table_finalize.
56305         (collate_output): Use new locale_file interface.
56306         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
56307         in file.
56308         (NO_FINALIZE): Change to NO_ADD_LOCALE.
56309         (TABLE): Move defines earlier in file.
56310         (ELEMENT): Likewise.
56311         (DEFAULT): Likewise.
56312         (wctrans_table_add): Move macro and inline function earlier in
56313         file.
56314         (struct wctype_table): Move type earlier in file.
56315         (add_locale_wctype_table): New static prototype.
56316         (struct locale_ctype_t): Use logical types instead of struct iovec
56317         pointers for members.
56318         (ctype_output): Use new locale_file interface.
56319         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
56320         new locale_file interface.
56321         (allocate_arrays): Update for use of new locale_file interface.
56322         * locale/programs/ld-identification.c (identification_output): Use
56323         new locale_file interface.
56324         * locale/programs/ld-measurement.c (measurement_output): Likewise.
56325         * locale/programs/ld-messages.c (messages_output): Likewise.
56326         * locale/programs/ld-monetary.c (monetary_output): Likewise.
56327         * locale/programs/ld-name.c (name_output): Likewise.
56328         * locale/programs/ld-numeric.c (numeric_output): Likewise.
56329         * locale/programs/ld-paper.c (paper_output): Likewise.
56330         * locale/programs/ld-telephone.c (telephone_output): Likewise.
56331         * locale/programs/ld-time.c (time_output): Likewise.
56333 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56335         * benchtests/Makefile: Add memrchr benchmark.
56336         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
56337         benchmark as memrchr.
56338         * benchtests/bench-memrchr-ifunc.c: New file.
56339         * benchtests/bench-memrchr.c: New file.
56341 2013-09-06   Will Newton  <will.newton@linaro.org>
56343         * benchtests/Makefile (string-bench): Add memcpy.
56345 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
56346             Cong Wang  <amwang@redhat.com>
56348         [BZ #15850]
56349         * sysdeps/unix/sysv/linux/bits/in.h
56350         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
56351         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
56352         before __USE_KERNEL_IPV6_DEFS uses.
56353         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
56354         IPPROTO_BEETPH.
56355         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
56356         sockaddr_in6, or ipv6_mreq.
56358 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56360         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
56361         memory access for final bytes in some large inputs.
56362         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
56364 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56366         * string/test-memrchr.c: New file.
56367         * string/test-memrchr-ifunc.c: New file.
56368         * string/Makefile: Add new memrchr testcase.
56370 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
56372         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
56373         fanotify_init returns EPERM.
56375 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56377         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
56378         errors.
56379         (top level): Treat second token from macro or constant entries for
56380         allowed headers as allowed.
56381         * include/complex.h: Condition internal declarations on
56382         [!_ISOMAC].
56383         * include/fenv.h: Condition include of <stdbool.h> and internal
56384         declarations on [!_ISOMAC].
56386 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
56388         [BZ #15923]
56389         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
56391 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
56393         * configure.in (--enable-versioning): Remove configure option.
56394         (libc_cv_asm_symver_directive): Remove configure test.
56395         (libc_cv_ld_version_script_option): Likewise.
56396         (VERSIONING): Remove variable and AC_SUBST.
56397         (DO_VERSIONING): Remove AC_DEFINE.
56398         * configure: Regenerated.
56399         * config.h.in (DO_VERSIONING): Remove macro.
56400         * Makerules [$(versioning) = yes]: Change conditionals to
56401         [$(build-shared) = yes].
56402         * config.make.in (versioning): Remove variable.
56403         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
56404         [$(build-shared) = yes].
56405         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
56406         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
56407         * elf/Makefile [$(versioning) = yes]: Change conditionals to
56408         [$(build-shared) = yes].
56409         * extra-lib.mk [$(versioning) = yes]: Likewise.
56410         * hurd/Makefile [$(versioning) = yes]: Likewise.
56411         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
56412         [SHARED].
56413         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
56414         [SHARED].
56415         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56416         [SHARED && !NO_HIDDEN].
56417         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
56418         [SHARED].
56419         [SHARED && DO_VERSIONING]: Likewise..
56420         * libio/Makefile [$(versioning) = yes]: Change conditionals to
56421         [$(build-shared) = yes].
56422         * manual/install.texi (--disable-versioning): Remove
56423         documentation.
56424         * INSTALL: Regenerated.
56425         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
56426         to [SHARED].
56427         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
56428         [$(build-shared) = yes].
56429         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
56430         * sysdeps/i386/i686/multiarch/strstr-c.c
56431         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
56432         [SHARED && !NO_HIDDEN].
56433         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
56434         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
56435         * sysdeps/powerpc/powerpc32/dl-machine.c
56436         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
56437         * sysdeps/powerpc/powerpc32/sysdep.h
56438         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
56439         to [SHARED && PIC && !NO_HIDDEN].
56440         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
56441         conditional to [SHARED].
56443 2013-09-04   Will Newton  <will.newton@linaro.org>
56445         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
56446         * benchtests/bench-string.h: Include bench-timing.h instead
56447         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
56448         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
56449         call to HP_TIMING_DIFF_INIT.
56450         * benchtests/bench-memccpy.c: Use bench-timing.h macros
56451         instead of hp-timing.h macros.
56452         * benchtests/bench-memchr.c: Likewise.
56453         * benchtests/bench-memcmp.c: Likewise.
56454         * benchtests/bench-memcpy.c: Likewise.
56455         * benchtests/bench-memmem.c: Likewise.
56456         * benchtests/bench-memmove.c: Likewise.
56457         * benchtests/bench-memset.c: Likewise.
56458         * benchtests/bench-rawmemchr.c: Likewise.
56459         * benchtests/bench-strcasecmp.c: Likewise.
56460         * benchtests/bench-strcasestr.c: Likewise.
56461         * benchtests/bench-strcat.c: Likewise.
56462         * benchtests/bench-strchr.c: Likewise.
56463         * benchtests/bench-strcmp.c: Likewise.
56464         * benchtests/bench-strcpy.c: Likewise.
56465         * benchtests/bench-strcpy_chk.c: Likewise.
56466         * benchtests/bench-strlen.c: Likewise.
56467         * benchtests/bench-strncasecmp.c: Likewise.
56468         * benchtests/bench-strncat.c: Likewise.
56469         * benchtests/bench-strncmp.c: Likewise.
56470         * benchtests/bench-strncpy.c: Likewise.
56471         * benchtests/bench-strnlen.c: Likewise.
56472         * benchtests/bench-strpbrk.c: Likewise.
56473         * benchtests/bench-strrchr.c: Likewise.
56474         * benchtests/bench-strspn.c: Likewise.
56475         * benchtests/bench-strstr.c: Likewise.
56477 2013-09-04  Will Newton  <will.newton@linaro.org>
56479         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
56481 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
56483         [BZ #15427]
56484         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
56485         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
56486         * math/libm-test.inc (lgamma_test_data): Add more tests.
56487         * sysdeps/i386/fpu/libm-test-ulps: Update.
56488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56490 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
56492         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
56493         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56494         Add ifunc.
56495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56496         Add strcmp-sse2-unaligned
56497         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
56499 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56501         * Versions.def (libc): Add GLIBC_2.19.
56503 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
56505         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
56506         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
56508 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
56510         [BZ #14155]
56511         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
56512         intermediate calculations in recurrence.
56513         (__ieee754_ynf): Likewise.
56514         * math/libm-test.inc (jn_test_data): Do not allow spurious
56515         underflow exception.  Add more tests.
56516         (yn_test_data): Add more tests.
56517         * sysdeps/i386/fpu/libm-test-ulps: Update.
56518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56520 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
56522         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
56524 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56526         * csu/init-first.c: Fix then/than typos.
56527         * locale/programs/ld-collate.c: Likewise.
56528         * locale/programs/linereader.h: Likewise.
56529         * manual/charset.texi: Likewise.
56530         * manual/filesys.texi: Likewise.
56531         * manual/stdio.texi: Likewise.
56532         * manual/string.texi: Likewise.
56533         * stdlib/fmtmsg.c: Likewise.
56534         * sysdeps/i386/stpncpy.S: Likewise.
56535         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
56536         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
56537         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
56538         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
56540 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
56542         * elf/dl-open.c: Fix typos.
56543         * iconvdata/gbbig5.c: Likewise.
56544         * iconvdata/iso-2022-jp.c: Likewise.
56545         * iconv/gconv_int.h: Likewise.
56546         * iconv/loop.c: Likewise.
56547         * nis/rpcsvc/nis.h: Likewise.
56548         * resolv/ns_name.c: Likewise.
56549         * stdio-common/vfscanf.c: Likewise.
56550         * streams/stropts.h: Likewise.
56551         * sunrpc/rpc_thread.c: Likewise.
56552         * sysdeps/i386/strpbrk.S: Likewise.
56553         * sysdeps/ieee754/k_standard.c: Likewise.
56554         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
56555         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
56556         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
56557         * sysdeps/mach/hurd/profil.c: Likewise.
56558         * sysdeps/s390/dl-procinfo.h: Likewise.
56559         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
56560         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
56561         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
56562         * sysdeps/x86_64/dl-trampoline.S: Likewise.
56563         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
56565 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
56567         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
56568         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
56570 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
56572         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
56573         aix specific files.
56574         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
56575         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
56576         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
56577         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
56578         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
56579         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
56580         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
56581         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
56583 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56584             Roland McGrath  <roland@hack.frob.com>
56586         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
56587         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
56589 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56591         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
56592         __executable_start symbol instead of _start.
56594 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
56596         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
56597         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
56598         Move macros to...
56599         * sysdeps/gnu/ldsodefs.h: ... this new file.
56601         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
56602         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
56603         instead of ELFOSABI_LINUX.
56605         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
56606         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
56607         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
56608         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
56609         Likewise.
56610         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
56611         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
56612         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
56613         Likewise.
56614         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
56615         (ibm_extended_long_double): Add ieee_nan member.
56616         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
56617         (do_test): New function.
56619         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
56620         TEST_TRUNC.
56621         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
56622         functions, renamed from truncdfsf_test, trunctfsf_test,
56623         trunctfdf_test.
56624         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
56625         functions.
56626         (do_test): Run all these.
56628 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
56630         * argp/argp-help.c: Fix typos.
56631         * argp/argp-parse.c: Likewise.
56632         * debug/backtracesyms.c: Likewise.
56633         * elf/elf.h: Likewise.
56634         * malloc/malloc.c: Likewise.
56635         * nis/nis_print.c: Likewise.
56636         * resolv/res_comp.c: Likewise.
56637         * stdlib/stdlib.h: Likewise.
56638         * sunrpc/clnt_tcp.c: Likewise.
56639         * sunrpc/clnt_udp.c: Likewise.
56640         * sunrpc/clnt_unix.c: Likewise.
56641         * sysdeps/unix/bsd/ptsname.c: Likewise.
56642         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
56643         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
56644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
56645         Likewise.
56646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
56647         Likewise.
56648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
56649         Likewise.
56650         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56652 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56654         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
56655         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56657 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
56659         [BZ #15897]
56660         * dlfcn/Makefile (tests): Add bug-dl-leaf.
56661         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
56662         ($(objpfx)bug-dl-leaf): New rule.
56663         ($(objpfx)bug-dl-leaf.so): Likewise.
56664         ($(objpfx)bug-dl-leaf.out): Likewise.
56665         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
56666         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
56667         * dlfcn/bug-dl-leaf.c: New test.
56668         * dlfcn/bug-dl-leaf-lib.c: Likewise.
56669         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
56670         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
56671         (dlclose): Likewise.
56672         (dlmopen): Likewise.
56674 2013-08-27  Roland McGrath  <roland@hack.frob.com>
56676         * include/netdb.h [!_ISOMAC]:
56677         Don't include <tls.h>.
56678         (h_errno, __libc_h_errno): Move declaration and macros out of
56679         [_LIBC_REENTRANT].
56681         * include/resolv.h [_RESOLV_H_]:
56682         Don't include <tls.h>.
56683         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
56684         * resolv/res_libc.c: Don't include <tls.h>.
56685         (_res): Use __attribute__ ((nocommon)) in place of
56686         __attribute__ ((section (".bss"))).
56688         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
56689         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
56691         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
56693         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
56694         only under [SIOCGIFCONF && SIOCGIFNETMASK].
56696         * resolv/res_mkquery.c: Include <sys/time.h>.
56698         * inet/ifreq.c: Moved to ...
56699         * sysdeps/unix/ifreq.c: ... here.
56700         * inet/ifreq.c: New file, true stub version.
56702         * socket/sa_len.c: New file.
56703         * socket/Makefile (aux): Add it.
56704         * sysdeps/unix/sysv/linux/Makefile
56705         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
56706         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
56707         and #include <socket/sa_len.c>.
56708         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
56709         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
56711         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
56712         * bits/socket.h: ... here.
56714         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
56715         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
56716         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
56718 2013-08-27  Andreas Schwab  <schwab@suse.de>
56720         [BZ #15736]
56721         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
56722         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
56723         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
56724         * string/test-strcasecmp.c (test_main): Run tests in several
56725         locales.
56726         * string/test-strncasecmp.c (test_main): Likewise.
56728         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
56729         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
56730         to __strcasecmp_nonascii and __strncasecmp_nonascii.
56731         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
56732         (__strncasecmp_ssse3) [PIC]: Likewise.
56734 2013-08-26  Roland McGrath  <roland@hack.frob.com>
56736         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
56738         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
56739         instead of explicitly declaring xdecrypt.
56740         * nis/nss_nis/nis-publickey.c: Likewise.
56742 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56744         [BZ #15890]
56745         * nscd/aicache.c: Include res_hconf.h.
56746         (addhstaiX): Initialize res_hconf.
56748 2013-08-26  Andreas Schwab  <schwab@suse.de>
56750         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
56751         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
56753 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56755         * nscd/aicache.c (addhstaiX): Fix indentation.
56757 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
56759         * configure.ac: Quote $build_pt_chown test.
56760         * configure: Regenerated.
56762 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
56764         [BZ #15532]
56765         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
56766         * math/s_cexpf.c (__cexpf): Likewise.
56767         * math/s_cexpl.c (__cexpl): Likewise.
56768         * math/libm-test.inc (cexp_test_data): Correct expected return
56769         value for NaN + i0.  Add another test.
56771 2013-08-22  David S. Miller  <davem@davemloft.net>
56773         * po/ca.po: Update Catalan translation from translation project.
56774         * po/uk.po: Add Ukrainian translations from translation project.
56776 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
56778         [BZ #15797]
56779         * math/s_fdim.c (__fdim): Check for infinite arguments if result
56780         is infinite, not alongside NaN test.
56781         * math/s_fdimf.c (__fdimf): Likewise.
56782         * math/s_fdiml.c (__fdiml): Likewise.
56783         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
56784         errno is unchanged.
56786 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
56788         * argp/argp-help.c: Fix typos.
56789         * crypt/speeds.c: Likewise.
56790         * csu/check_fds.c: Likewise.
56791         * elf/dl-load.c: Likewise.
56792         * elf/dl-open.c: Likewise.
56793         * elf/reldep3.c: Likewise.
56794         * elf/reldep.c: Likewise.
56795         * elf/sprof.c: Likewise.
56796         * iconv/iconv_charmap.c: Likewise.
56797         * iconv/skeleton.c: Likewise.
56798         * iconv/strtab.c: Likewise.
56799         * io/lockf64.c: Likewise.
56800         * libio/libioP.h: Likewise.
56801         * resolv/gai_notify.c: Likewise.
56802         * resolv/ns_name.c: Likewise.
56803         * resolv/ns_samedomain.c: Likewise.
56804         * resolv/res_send.c: Likewise.
56805         * stdlib/random.c: Likewise.
56806         * sunrpc/rpc/xdr.h: Likewise.
56807         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
56808         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
56809         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
56810         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
56811         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
56812         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
56813         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
56814         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
56815         * sysdeps/mach/hurd/check_fds.c: Likewise.
56816         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
56817         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
56818         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
56819         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
56820         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
56821         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
56822         * sysdeps/pthread/aio_notify.c: Likewise.
56823         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
56824         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
56825         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
56826         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56827         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
56829 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56831         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
56832         version if bit_Slow_SSE4_2 is set.
56833         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
56834         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
56836 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56838         [BZ #15867]
56839         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
56840         trampoline stack frame information.
56841         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
56842         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
56843         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
56844         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
56845         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
56846         * sysdeps/unix/sysv/linux/powerpc/init-first.c
56847         (_libc_vdso_platform_setup): Initialize the signal trampolines.
56848         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
56849         sa_flags value.
56850         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
56851         interrupting a syscall and set with option SA_SIGINFO.
56853 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56855         [BZ #15531]
56856         * math/s_cproj.c (__cproj): Only return an infinity if one part of
56857         argument is infinite.
56858         * math/s_cprojf.c (__cprojf): Likewise.
56859         * math/s_cprojl.c (__cprojl): Likewise.
56860         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
56861         * math/libm-test.inc (cproj_test_data): Add more tests.
56863         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
56865         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
56866         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
56867         size.  Use __ffs to determine corresponding shift.
56869 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
56870             Roland McGrath  <roland@hack.frob.com>
56872         * Makefile (INSTALL): Remove trailing blank lines from output of
56873         makeinfo.
56875 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56877         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
56878         Align 32 bit compat elf_greg to 8 bytes.
56880 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
56882         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
56884 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
56886         * string/strcoll_l.c (coll_seq): New structure.
56887         (get_next_seq_cached): New function.
56888         (get_next_seq): New function.
56889         (do_compare): New function.
56890         (STRCOLL): Use GNU style definition.  Simplify implementation
56891         by using get_next_seq, get_next_seq_cached and do_compare.
56893 2013-08-16  Florian Weimer  <fweimer@redhat.com>
56895         [BZ #14699]
56896         CVE-2013-4237
56897         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
56898         member.
56899         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
56900         member.
56901         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
56902         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
56903         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
56904         conditional.
56905         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
56906         GETDENTS_64BIT_ALIGNED.
56907         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
56908         * manual/filesys.texi (Reading/Closing Directory): Document
56909         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
56910         strongly.
56911         * manual/conf.texi (Limits for Files): Add portability note to
56912         NAME_MAX, PATH_MAX.
56913         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
56915 2013-08-13  Andreas Schwab  <schwab@suse.de>
56917         [BZ #15749]
56918         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
56919         of fabs.
56920         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
56921         LDBL_MAX_EXP >= 16384]: Add tests for it.
56923 2013-08-12  David S. Miller  <davem@davemloft.net>
56925         * version.h (RELEASE): Set to "development".
56926         (VERSION): Set to "2.18.90".
56927         * NEWS: Add 2.19 section.
56929 2013-08-03  David S. Miller  <davem@davemloft.net>
56931         * po/ko.po: Update Korean translation from translation project.
56933 2013-08-01  David S. Miller  <davem@davemloft.net>
56935         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
56936         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
56937         Bilka.
56939 2013-07-30  David S. Miller  <davem@davemloft.net>
56941         * po/fr.po: Update French translation from translation project.
56943 2013-07-28  David S. Miller  <davem@davemloft.net>
56945         * po/cs.po: Update Czech translation from translation project.
56947         * po/sv.po: Update Swedish translation from translation project.
56949 2013-07-27  David S. Miller  <davem@davemloft.net>
56951         * po/eo.po: Update Esperanto translation from translation project.
56953         * po/vi.po: Update Vietnamese translation from translation project.
56955         * po/de.po: Update German translation from translation project.
56957 2013-07-26  David S. Miller  <davem@davemloft.net>
56959         * po/bg.po: Update Bulgarian translation from translation project.
56961         * po/nl.po: Update Dutch translation from translation project.
56962         * po/pl.po: Update Polish translation from translation project.
56963         * po/ru.po: Update Russian translation from translation project.
56965 2013-07-24  David S. Miller  <davem@davemloft.net>
56967         * po/libc.pot: Update.
56969 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56971         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
56972         variable page size.
56973         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
56974         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
56975         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
56977 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56979         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
56981 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56982             Andreas Schwab  <schwab@suse.de>
56983             Roland McGrath  <roland@hack.frob.com>
56984             Joseph Myers  <joseph@codesourcery.com>
56985             Carlos O'Donell  <carlos@redhat.com>
56987         [BZ #15755]
56988         * config.h.in: Define HAVE_PT_CHOWN.
56989         * config.make.in (build-pt-chown): New variable.
56990         * configure.in (--enable-pt_chown): New configure option.
56991         * configure: Regenerate.
56992         * login/Makefile: Include Makeconfig.  Build pt_chown only if
56993         build-pt-chown is enabled.
56994         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
56995         pt_chown to fix pty ownership.
56996         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
56997         CLOSE_ALL_FDS.
56998         * manual/install.texi (Configuring and compiling): Mention
56999         --enable-pt_chown. Add @findex for grantpt.
57000         * INSTALL: Regenerate.
57002 2013-07-20  David S. Miller  <davem@davemloft.net>
57004         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
57005         difference between 32-bit and 64-bit.
57007 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
57009         [BZ #15711]
57010         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
57011         Avoid system header dependency with -ffreestanding.
57012         ($(objpfx)bits/syscall%d): Likewise.
57014 2013-07-13  David S. Miller  <davem@davemloft.net>
57016         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
57017         underflows from atanl/atan2l due to bug 15319.
57018         (casinh_test_data): Likewise.
57020 2013-07-07  David S. Miller  <davem@davemloft.net>
57022         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
57024 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
57026         * sysdeps/i386/fpu/libm-test-ulps: Update.
57027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57029 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57031         * configure.in (--enable-lock-elision): Fix message text.
57032         * INSTALL: Regenerate.
57033         * configure: Regenerate.
57035 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57039 2013-07-03  Andreas Jaeger  <aj@suse.de>
57041         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
57042         define.
57043         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
57044         (ptrace_peeksiginfo_args): Add.
57045         (__ptrace_peeksiginfo_flags): Add.
57046         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57047         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57048         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57050 2013-07-03  Allan McRae  <allan@archlinux.org>
57052         * sysdeps/i386/fpu/libm-test-ulps: Update.
57054 2013-07-02  David S. Miller  <davem@davemloft.net>
57056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57058 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
57060         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57062 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57064         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57067 2013-07-02  Andi Kleen <ak@linux.intel.com>
57069         * config.h.in (ENABLE_LOCK_ELISION): Add.
57070         * configure.in (--enable-lock-elision): Add option.
57071         * manual/install.texi: Document --enable lock elision.
57072         * configure: Regenerate
57073         * INSTALL: Regenerate.
57075 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
57077         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
57078         SSE4.2 strcasecmp for libc.a.
57079         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
57081 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
57083         [BZ #13304]
57084         * soft-fp/op-common.h (_FP_FMA): New macro.
57085         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
57086         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
57087         (_FP_MUL_MEAT_1_imm): ... here.
57088         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
57089         (_FP_MUL_MEAT_1_wide): ... here.
57090         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
57091         (_FP_MUL_MEAT_1_hard): ... here.
57092         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
57093         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
57094         (_FP_MUL_MEAT_2_wide): ... here.
57095         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
57096         (_FP_MUL_MEAT_2_wide_3mul): ... here.
57097         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
57098         (_FP_MUL_MEAT_2_gmp): ... here.
57099         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
57100         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
57101         (_FP_MUL_MEAT_4_wide): ... here.
57102         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
57103         (_FP_MUL_MEAT_4_gmp): ... here.
57104         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
57105         (_FP_WFRACBITS_DW_S): Likewise.
57106         (_FP_WFRACXBITS_DW_S): Likewise.
57107         (_FP_HIGHBIT_DW_S): Likewise.
57108         (FP_FMA_S): Likewise.
57109         (_FP_FRAC_HIGH_DW_S): Likewise.
57110         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
57111         (_FP_WFRACBITS_DW_D): Likewise.
57112         (_FP_WFRACXBITS_DW_D): Likewise.
57113         (_FP_HIGHBIT_DW_D): Likewise.
57114         (FP_FMA_D): Likewise.
57115         (_FP_FRAC_HIGH_DW_D): Likewise.
57116         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
57117         (_FP_WFRACBITS_DW_E): Likewise.
57118         (_FP_WFRACXBITS_DW_E): Likewise.
57119         (_FP_HIGHBIT_DW_E): Likewise.
57120         (FP_FMA_E): Likewise.
57121         (_FP_FRAC_HIGH_DW_E): Likewise.
57122         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
57123         (_FP_WFRACBITS_DW_Q): Likewise.
57124         (_FP_WFRACXBITS_DW_Q): Likewise.
57125         (_FP_HIGHBIT_DW_Q): Likewise.
57126         (FP_FMA_Q): Likewise.
57127         (_FP_FRAC_HIGH_DW_Q): Likewise.
57128         * soft-fp/fmasf4.c: New file.
57129         * soft-fp/fmadf4.c: Likewise.
57130         * soft-fp/fmatf4.c: Likewise.
57132 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57135         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
57136         Silvermont.
57137         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
57138         macro.
57139         (index_Slow_SSE4_2): Likewise.
57140         (index_Prefer_PMINUB_for_stringop): Likewise.
57141         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
57142         bit_Slow_SSE4_2 is set.
57143         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
57144         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57146 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57148         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
57149         rtld_global._dl_hwcap2.
57150         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
57151         POWER8.
57152         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
57153         POWER8 feature descriptions defined in _dl_hwcap2.
57154         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
57155         string handling for POWER8 feature bits.
57156         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
57157         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
57158         _dl_powerpc_cap_flags.
57159         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
57160         * sysdeps/powerpc/rtld-global-offsets.sym
57161         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
57162         _dl_hwcap2 in the rtld_global_ro structure.
57164 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57166         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
57167         hardware capabilities in support of AT_HWCAP2.
57168         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
57169         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
57170         GLRO(dl_hwcap2).
57171         (_dl_show_auxv): Add support for calling _dl_procinfo to display
57172         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
57173         explicitly the unknown a_type display mechanism is used.
57174         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
57175         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
57176         struct member.
57177         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
57178         to macro prototype for AT_HWCAP2 support.
57179         * sysdeps/i386/dl-procinfo.h: Likewise.
57180         * sysdeps/s390/dl-procinfo.h: Likewise.
57181         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
57182         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
57183         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
57184         return -1 for unknown a_type display fallback.
57185         * sysdeps/sparc/dl-procinfo.h: Likewise.
57186         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
57187         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
57189 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
57191         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
57192         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
57194 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
57196         [BZ #12492]
57197         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
57198         mprotect making __stack_prot writable.
57200 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
57201             Joseph Myers  <joseph@codesourcery.com>
57203         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
57204         as being properly aligned.
57206 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
57208         * dlfcn/modstatic5.c: New file.
57209         * dlfcn/tststatic5.c: New file.
57210         * dlfcn/Makefile (tests): Add tststatic5.
57211         (tests-static): Likewise.
57212         (modules-names): Add modstatic5.
57213         (tststatic5-ENV): New variable.
57214         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
57216         [BZ #15022]
57217         * elf/dl-support.c (_dl_main_map): New variable.
57218         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
57219         (_dl_nns, _dl_load_adds): Set to 1.
57220         (_dl_initial_searchlist): Refer to _dl_main_map.
57221         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
57222         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
57223         call to _dl_get_origin.
57224         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
57225         around call_map.
57226         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
57227         * dlfcn/modstatic3.c: New file.
57228         * dlfcn/tststatic3.c: New file.
57229         * dlfcn/tststatic4.c: New file.
57230         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
57231         (tests-static): Likewise.
57232         (modules-names): Add modstatic3.
57233         (tststatic3-ENV, tststatic4-ENV): New variables.
57234         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
57235         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
57237 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
57239         * configure.in (CC): Require GCC version 4.4 or later.
57240         * configure: Regenerated.
57241         * manual/install.texi (Tools for Compilation): Update GCC version
57242         requirement.
57243         * INSTALL: Regenerated.
57245 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57247         [BZ #15674]
57248         * string/test-memcmp.c (check2): New.
57249         (main): Call check2.
57251         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
57253 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
57255         [BZ #15022]
57256         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
57257         over to...
57258         (dl_open_worker) [!SHARED]: ... here.
57260 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57262         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
57264 2013-06-25  Richard Henderson  <rth@redhat.com>
57266         * locale/programs/locarchive.c: Include <libc-internal.h>
57268 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
57270         * manual/texinfo.tex: Update to version 2013-06-21.17, with
57271         trailing whitespace removed.
57273 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57275         [BZ #10283]
57276         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
57277         * locale/programs/locarchive.c: Include libc-mmap.h.
57278         (prepare_address_space): Take two new outputs (the mmap base and len).
57279         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
57280         values.
57281         (create_archive): Declare new mmap base and len values for
57282         prepare_address_space, and store the result in ah.
57283         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
57284         (enlarge_archive): If ah->mmap_base is not NULL, use that and
57285         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57286         Declare new mmap base and len values for
57287         prepare_address_space, and store the result in new_ah.
57288         (open_archive): Declare new mmap base and len values for
57289         prepare_address_space, and store the result in ah.
57290         (close_archive): If ah->mmap_base is not NULL, use that and
57291         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
57292         * sysdeps/generic/libc-mmap.h: New file.
57294 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
57296         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
57297         (ALIGN_UP): Likewise.
57298         (PTR_ALIGN_DOWN): Likewise.
57299         (PTR_ALIGN_UP): Likewise.
57301 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57303         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
57304         entry mapped to PPC_PLATFORM_POWER8.
57305         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
57306         POWER8.
57307         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
57308         (_dl_string_platform): Add case for exporting platform position for
57309         POWER8.
57310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
57311         search path to sysdeps/powerpc/powerpc32/power8 directory.
57312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
57313         search path to sysdeps/powerpc/powerpc64/power8 directory.
57314         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
57315         power7 directories.
57316         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
57317         power7 directories.
57319 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57321         * INSTALL: Regenerate.
57323         * nscd/connections.c (nscd_init): Fix comment.
57325 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
57327         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
57329         [BZ #15667]
57330         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
57331         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
57333 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57335         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
57336         DL_DST_REQ_STATIC.
57337         (DL_DST_REQ_STATIC): Remove macro.
57339 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
57341         [BZ #7006]
57342         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
57343         with a shift of 0 bits.
57345 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
57347         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
57348         $(tststatic-ENV).
57350 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57352         [BZ #15655]
57353         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
57355 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57357         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
57358         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
57359         accepts -fno-tree-loop-distribute-patterns.
57360         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
57361         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
57362         recursive call.
57363         * string/memset.c (memset): Likewise.
57364         * string/test-memmove.c (simple_memmove): Disable loop transformation
57365         to library calls.
57366         * string/test-memset.c (simple_memset): Likewise.
57367         * benchtests/bench-memmove.c (simple_memmove): Likewise.
57368         * benchtests/bench-memset.c (simple_memset): Likewise.
57369         * configure: Regenerated.
57371 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
57373         * math/test-misc.c (main): Ignore fesetround failure when failures
57374         of subsequent rounding tests would be ignored.
57376         [BZ #15654]
57377         * math/fedisblxcpt.c (fedisableexcept): Return 0.
57378         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
57379         * math/fegetenv.c (__fegetenv): Return 0.
57380         * math/fegetexcept.c (fegetexcept): Return 0.
57381         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
57382         FE_TONEAREST.
57383         * math/feholdexcpt.c (feholdexcept): Return 0.
57384         * math/fesetenv.c (__fesetenv): Return 0.
57385         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
57386         argument FE_TONEAREST.
57387         * math/feupdateenv.c (__feupdateenv): Return 0.
57388         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
57390 2013-06-18  Roland McGrath  <roland@hack.frob.com>
57392         * elf/rtld-Rules (rtld-compile-command.S): New variable.
57393         (rtld-compile-command.s, rtld-compile-command.c): New variables.
57394         ($(objpfx)rtld-%.os rules): Use them.
57396 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57398         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
57399         fields.
57401 2013-06-17  Roland McGrath  <roland@hack.frob.com>
57403         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
57404         length of target pattern, then descending length of dependency pattern.
57405         * configure.in (AWK): Require gawk 3.1.2 or newer.
57406         * manual/install.texi (Tools for Compilation): Say that we do.
57407         * configure: Regenerated.
57409         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
57410         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
57411         * scripts/sysd-rules.awk: ... this new script.
57412         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
57413         than a glob-style pattern.
57415 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
57417         * math/test-misc.c (main): Do not treat incorrectly rounded
57418         conversions as failure unless ROUNDING_TESTS passes.
57420 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
57422         [BZ #15631]
57423         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
57424         restore exception state around main square root computation, then
57425         check for inexactness explicitly.
57427         * math/libm-test.inc (fma_test_data): Add another test.
57429 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57431         * manual/threads.texi (Non-POSIX Extensions): New document
57432         node.  Document pthread_getattr_default_np and
57433         pthread_setattr_default_np.
57435         * Versions.def (libpthread): Add GLIBC_2.18.
57436         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
57437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
57438         Likewise.
57439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
57440         Likewise.
57441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57442         Likewise.
57443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57444         Likewise.
57445         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57446         Likewise.
57447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
57448         Likewise.
57449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
57450         Likewise.
57451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
57452         Likewise.
57453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
57454         Likewise.
57456 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57458         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57459         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
57461 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57462             H.J. Lu  <hjl.tools@gmail.com>
57464         [BZ #15627]
57465         * sysdeps/x86_64/rtld-memset.c: Remove file.
57466         * sysdeps/x86_64/rtld-memset.S: New file.
57468 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
57470         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
57471         (test_in_one_mode): Take arguments for whether the rounding mode
57472         is supported for each floating-point type.
57473         (do_test): Pass new arguments to test_in_one_mode using
57474         ROUNDING_TESTS.
57476 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57478         * posix/tst-waitid.c (do_test): Distinguish different instances of
57479         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
57480         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
57481         before entering the kernel for waitpid.
57483 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57485         * NEWS: Fix note on clock function precision.  Text by Roland
57486         McGrath.
57488 2013-06-13  Roland McGrath  <roland@hack.frob.com>
57490         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
57491         it into place only when and if the sanity check passes.
57493 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
57495         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
57496         output for whether conversion result is exact.  Take argument
57497         indicating whether type is IBM long double.
57498         (round_for_all): Change need_exact field to ibm_ld.
57499         * stdlib/tst-strtod-round.c (struct exactness): New type.
57500         (struct test): Change bool ld_ok field to struct exactness exact.
57501         (TEST): Update all definitions for change to field.
57502         (tests): Regenerate array contents.
57503         (test_in_one_mode): Take pointer to new field instead of old ld_ok
57504         field value.  Check for IBM long double here.
57505         (do_test): Update calls to test_in_one_mode.
57507 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57509         [BZ #12515]
57510         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
57511         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
57513 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57515         [BZ #15605]
57516         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
57517         generated by the compiler on loop optimizations.
57518         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
57519         general definitions.
57521 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
57523         * math/bug-nextafter.c: Include <math-tests.h>.
57524         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57525         the relevant type.
57526         * math/bug-nexttoward.c: Include <math-tests.h>.
57527         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57528         the relevant type.
57529         * math/test-misc.c: Include <math-tests.h>.
57530         (main): Only test for exceptions if EXCEPTION_TESTS is true for
57531         the relevant type.
57533 2013-06-12  Andreas Jaeger  <aj@suse.de>
57535         * po/ia.po: Update Interlingua translation from translation
57536         project.
57538 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
57540         * include/fenv.h: Include stdbool.h.
57541         (struct rm_ctx): New structure.
57542         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
57543         Define macro.
57544         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
57545         (SET_RESTORE_ROUNDF): Likewise.
57546         (SET_RESTORE_ROUNDL): Likewise.
57547         (SET_RESTORE_ROUND_NOEX): Likewise.
57548         (SET_RESTORE_ROUND_NOEXF): Likewise.
57549         (SET_RESTORE_ROUND_NOEXL): Likewise.
57550         (SET_RESTORE_ROUND_53BIT): Likewise.
57551         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
57552         (libc_feresetround_noexf_ctx): Likewise.
57553         (libc_feresetround_noexl_ctx): Likewise.
57554         (libc_feholdsetround_53bit_ctx): Likewise.
57555         (libc_feresetround_53bit_ctx): Likewise.
57556         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
57557         (libc_feholdexcept_setround_sse_ctx): New function.
57558         (libc_fesetenv_sse_ctx): Likewise.
57559         (libc_feupdateenv_sse_ctx): Likewise.
57560         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
57561         (libc_feholdexcept_setround_387_ctx): Likewise.
57562         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
57563         (libc_feholdsetround_387_prec_ctx): Likewise.
57564         (libc_feholdsetround_387_ctx): Likewise.
57565         (libc_feholdsetround_387_53bit_ctx): Likewise.
57566         (libc_feholdsetround_sse_ctx): Likewise.
57567         (libc_feresetround_sse_ctx): Likewise.
57568         (libc_feresetround_387_ctx): Likewise.
57569         (libc_feupdateenv_387_ctx): Likewise.
57570         (libc_feholdexcept_setroundf_ctx): Define macro.
57571         (libc_fesetenvf_ctx): Likewise.
57572         (libc_feupdateenvf_ctx): Likewise.
57573         (libc_feholdsetroundf_ctx): Likewise.
57574         (libc_feresetroundf_ctx): Likewise.
57575         (libc_feholdexcept_setround_ctx): Likewise.
57576         (libc_fesetenv_ctx): Likewise.
57577         (libc_feupdateenv_ctx): Likewise.
57578         (libc_feholdsetround_ctx): Likewise.
57579         (libc_feresetround_ctx): Likewise.
57580         (libc_feholdexcept_setroundl_ctx): Likewise.
57581         (libc_feupdateenvl_ctx): Likewise.
57582         (libc_feholdsetroundl_ctx): Likewise.
57583         (libc_feresetroundl_ctx): Likewise.
57584         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
57585         (libc_feresetround_53bit_ctx): Likewise.
57587 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57589         * locale/iso-639.def: Convert to UTF-8.
57591 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
57593         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
57594         (EXCEPTION_TESTS_double): Likewise.
57595         (EXCEPTION_TESTS_long_double): Likewise.
57596         (EXCEPTION_TESTS): Likewise.
57597         * math/libm-test.inc (test_exceptions): Only test exceptions if
57598         EXCEPTION_TESTS (FLOAT).
57600 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57602         * benchtests/Makefile (string-bench): Add strcpy_chk and
57603         stpcpy_chk.
57604         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
57605         * benchtests/bench-stpcpy_chk.c: New file.
57606         * benchtests/bench-strcpy_chk-ifunc.c: New file.
57607         * benchtests/bench-strcpy_chk.c: New file.
57608         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
57609         code.
57610         (do_test): Likewise.
57612 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57614         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
57615         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
57616         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
57617         with tabs where appropriate.
57618         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
57619         dl-procinfo.h.
57620         [PPC_PLATFORM_PPC440]: Likewise.
57621         [PPC_PLATFORM_PPC464]: Likewise.
57622         [PPC_PLATFORM_PPC476]: Likewise.
57623         (_dl_string_platform): Add support for detecting ppc405, ppc440,
57624         ppc464, and ppc476 platform strings merging from ports/
57625         dl-procinfo.h.
57627 2013-06-11  Andreas Schwab  <schwab@suse.de>
57629         [BZ #14991]
57630         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
57631         (from_ucs4_idx): Regenerate.
57632         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
57633         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
57634         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
57635         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
57636         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
57637         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
57638         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
57639         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
57640         from FROM_LOOP and TO_LOOP specific macros.
57641         (BODY): Handle combining characters.
57642         * iconvdata/BIG5HKSCS.irreversible: Update.
57643         * iconvdata/BIG5HKSCS.precomposed: New file.
57644         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
57645         characters.
57646         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
57648 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57650         * include/sys/time.h: Fix indentation and add copyright header.
57652         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
57653         (do_test): Likewise.
57654         * string/test-memchr.c (do_one_test): Likewise.
57655         (do_test): Likewise.
57656         * string/test-memcmp.c (do_one_test): Likewise.
57657         (do_test): Likewise.
57658         * string/test-memcpy.c (do_one_test): Likewise.
57659         (do_test): Likewise.
57660         * string/test-memmem.c (do_one_test): Likewise.
57661         (do_test): Likewise.
57662         (do_random_tests): Likewise.
57663         * string/test-memmove.c (do_one_test): Likewise.
57664         (do_test): Likewise.
57665         * string/test-memset.c (do_one_test): Likewise.
57666         (do_test): Likewise.
57667         * string/test-rawmemchr.c (do_one_test): Likewise.
57668         (do_test): Likewise.
57669         * string/test-strcasecmp.c (do_one_test): Likewise.
57670         (do_test): Likewise.
57671         * string/test-strcasestr.c (do_one_test): Likewise.
57672         (do_test): Likewise.
57673         * string/test-strcat.c (do_one_test): Likewise.
57674         (do_test): Likewise.
57675         * string/test-strchr.c (do_one_test): Likewise.
57676         (do_test): Likewise.
57677         * string/test-strcmp.c (do_one_test): Likewise.
57678         (do_test): Likewise.
57679         * string/test-strcpy.c (do_one_test): Likewise.
57680         (do_test): Likewise.
57681         * string/test-string.h: Likewise.
57682         (test_init): Likewise.
57683         * string/test-strlen.c (do_one_test): Likewise.
57684         (do_test): Likewise.
57685         * string/test-strncasecmp.c (do_one_test): Likewise.
57686         (do_test): Likewise.
57687         * string/test-strncat.c (do_one_test): Likewise.
57688         (do_test): Likewise.
57689         * string/test-strncmp.c (do_one_test): Likewise.
57690         (do_test_limit): Likewise.
57691         (do_test): Likewise.
57692         * string/test-strncpy.c (do_one_test): Likewise.
57693         (do_test): Likewise.
57694         * string/test-strnlen.c (do_one_test): Likewise.
57695         (do_test): Likewise.
57696         * string/test-strpbrk.c (do_one_test): Likewise.
57697         (do_test): Likewise.
57698         * string/test-strrchr.c (do_one_test): Likewise.
57699         (do_test): Likewise.
57700         * string/test-strspn.c (do_one_test): Likewise.
57701         (do_test): Likewise.
57702         * string/test-strstr.c (do_one_test): Likewise.
57703         (do_test): Likewise.
57705         * benchtests/Makefile (string-bench): Add string benchmarks.
57706         * benchtests/bench-bcopy-ifunc.c: New file.
57707         * benchtests/bench-bcopy.c: New file.
57708         * benchtests/bench-bzero-ifunc.c: New file.
57709         * benchtests/bench-bzero.c: New file.
57710         * benchtests/bench-memccpy-ifunc.c: New file.
57711         * benchtests/bench-memccpy.c: New file.
57712         * benchtests/bench-memchr-ifunc.c: New file.
57713         * benchtests/bench-memchr.c: New file.
57714         * benchtests/bench-memcmp-ifunc.c: New file.
57715         * benchtests/bench-memcmp.c: New file.
57716         * benchtests/bench-memmem-ifunc.c: New file.
57717         * benchtests/bench-memmem.c: New file.
57718         * benchtests/bench-memmove-ifunc.c: New file.
57719         * benchtests/bench-memmove.c: New file.
57720         * benchtests/bench-mempcpy-ifunc.c: New file.
57721         * benchtests/bench-mempcpy.c: New file.
57722         * benchtests/bench-memset-ifunc.c: New file.
57723         * benchtests/bench-memset.c: New file.
57724         * benchtests/bench-rawmemchr-ifunc.c: New file.
57725         * benchtests/bench-rawmemchr.c: New file.
57726         * benchtests/bench-stpcpy-ifunc.c: New file.
57727         * benchtests/bench-stpcpy.c: New file.
57728         * benchtests/bench-stpncpy-ifunc.c: New file.
57729         * benchtests/bench-stpncpy.c: New file.
57730         * benchtests/bench-strcasecmp-ifunc.c: New file.
57731         * benchtests/bench-strcasecmp.c: New file.
57732         * benchtests/bench-strcasestr-ifunc.c: New file.
57733         * benchtests/bench-strcasestr.c: New file.
57734         * benchtests/bench-strcat-ifunc.c: New file.
57735         * benchtests/bench-strcat.c: New file.
57736         * benchtests/bench-strchr-ifunc.c: New file.
57737         * benchtests/bench-strchr.c: New file.
57738         * benchtests/bench-strchrnul-ifunc.c: New file.
57739         * benchtests/bench-strchrnul.c: New file.
57740         * benchtests/bench-strcmp-ifunc.c: New file.
57741         * benchtests/bench-strcmp.c: New file.
57742         * benchtests/bench-strcpy-ifunc.c: New file.
57743         * benchtests/bench-strcpy.c: New file.
57744         * benchtests/bench-strcspn-ifunc.c: New file.
57745         * benchtests/bench-strcspn.c: New file.
57746         * benchtests/bench-strlen-ifunc.c: New file.
57747         * benchtests/bench-strlen.c: New file.
57748         * benchtests/bench-strncasecmp-ifunc.c: New file.
57749         * benchtests/bench-strncasecmp.c: New file.
57750         * benchtests/bench-strncat-ifunc.c: New file.
57751         * benchtests/bench-strncat.c: New file.
57752         * benchtests/bench-strncmp-ifunc.c: New file.
57753         * benchtests/bench-strncmp.c: New file.
57754         * benchtests/bench-strncpy-ifunc.c: New file.
57755         * benchtests/bench-strncpy.c: New file.
57756         * benchtests/bench-strnlen-ifunc.c: New file.
57757         * benchtests/bench-strnlen.c: New file.
57758         * benchtests/bench-strpbrk-ifunc.c: New file.
57759         * benchtests/bench-strpbrk.c: New file.
57760         * benchtests/bench-strrchr-ifunc.c: New file.
57761         * benchtests/bench-strrchr.c: New file.
57762         * benchtests/bench-strspn-ifunc.c: New file.
57763         * benchtests/bench-strspn.c: New file.
57764         * benchtests/bench-strstr-ifunc.c: New file.
57765         * benchtests/bench-strstr.c: New file.
57767         * benchtests/Makefile: Disable parallel execution of targets.
57768         (string-bench): Add memcpy.
57769         (benchset): New variable to store a list of benchmark sets.
57770         (bench-func): Renamed from bench.
57771         (bench-set): New target.
57772         (bench): Depend on bench-func and bench-set.
57773         * benchtests/README: Add section on benchmark sets.
57774         * benchtests/bench-memcpy-ifunc.c: New file.
57775         * benchtests/bench-memcpy.c: New file.
57776         * benchtests/bench-string.h: New file.
57778 2013-06-11  Andreas Schwab  <schwab@suse.de>
57780         [BZ #15577]
57781         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
57782         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
57783         values in the triple.
57784         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
57785         terminator in the group key.
57787 2013-06-11  Andreas Jaeger  <aj@suse.de>
57789         * po/zh_TW.po: Update Chinese (traditional) translation from
57790         translation project.
57792 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
57794         * include/time.h (__clock_gettime): Add libc_hidden_proto.
57795         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
57796         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
57797         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57798         (clock_getcpuclockid): Likewise.
57799         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
57800         Add weak_alias and libc_hidden_def.
57801         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
57802         * rt/clock_gettime.c (clock_gettime): Rename to
57803         __clock_gettime.  Add weak_alias and libc_hidden_def.
57804         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
57805         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
57806         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
57807         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
57808         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
57809         Likewise.
57810         * rt/clock_settime.c (clock_settime): Rename to
57811         __clock_settime.  Add weak_alias and libc_hidden_def.
57812         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
57814 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
57816         * mach/err_boot.sub: Remove trailing whitespace.
57817         * mach/err_ipc.sub: Likewise.
57818         * mach/err_mach.sub: Likewise.
57820         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
57821         (ROUNDING_TESTS_double): Likewise.
57822         (ROUNDING_TESTS_long_double): Likewise.
57823         (ROUNDING_TESTS): Likewise.
57824         * math/libm-test.inc: Include <math-tests.h>.
57825         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
57826         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57827         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57828         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57830 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57832         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
57833         of assigning.
57835 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
57837         * sysdeps/gnu/errlist.awk: Do not generate space at end of
57838         otherwise empty TRANS lines.
57839         * sysdeps/gnu/errlist.c: Regenerated.
57841         * catgets/gencat.c (error_print): Use (void) in function
57842         definition.
57843         * crypt/crypt_util.c (__init_des): Likewise.
57844         * crypt/speeds.c (Stop): Likewise.
57845         (main): Likewise.
57846         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
57847         * inet/ruserpass.c (token): Likewise.
57848         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
57849         * intl/localealias.c (extend_alias_table): Likewise.
57850         * intl/plural-exp.c (init_germanic_plural): Likewise.
57851         * libio/fcloseall.c (__fcloseall): Likewise.
57852         * libio/genops.c (_IO_flush_all): Likewise.
57853         (_IO_flush_all_linebuffered): Likewise.
57854         (_IO_cleanup): Likewise.
57855         (_IO_iter_begin): Likewise.
57856         (_IO_iter_end): Likewise.
57857         (_IO_list_lock): Likewise.
57858         (_IO_list_unlock): Likewise.
57859         (_IO_list_resetlock): Likewise.
57860         * libio/getchar.c (getchar): Likewise.
57861         * libio/getchar_u.c (getchar_unlocked): Likewise.
57862         * libio/getwchar.c (getwchar): Likewise.
57863         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
57864         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
57865         * login/getpt.c (__getpt): Likewise.
57866         * login/tst-utmp.c (main): Likewise.
57867         * malloc/hooks.c (__malloc_check_init): Likewise.
57868         * malloc/malloc.c (__malloc_stats): Likewise.
57869         * malloc/mtrace.c (tr_break): Likewise.
57870         (mtrace): Likewise.
57871         (muntrace): Likewise.
57872         * misc/fstab.c (endfsent): Likewise.
57873         * misc/getclktck.c (__getclktck): Likewise.
57874         * misc/getdtsz.c (__getdtablesize): Likewise.
57875         * misc/gethostid.c (gethostid): Likewise.
57876         * misc/getpagesize.c (__getpagesize): Likewise.
57877         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
57878         (__get_nprocs): Likewise.
57879         (__get_phys_pages): Likewise.
57880         (__get_avphys_pages): Likewise.
57881         * misc/getttyent.c (getttyent): Likewise.
57882         (setttyent): Likewise.
57883         (endttyent): Likewise.
57884         * misc/getusershell.c (getusershell): Likewise.
57885         (endusershell): Likewise.
57886         (setusershell): Likewise.
57887         (initshells): Likewise.
57888         * misc/hsearch.c (__hdestroy): Likewise.
57889         * misc/sync.c (sync): Likewise.
57890         * misc/syslog.c (closelog_internal): Likewise.
57891         (closelog): Likewise.
57892         * misc/ttyslot.c (ttyslot): Likewise.
57893         * misc/vhangup.c (vhangup): Likewise.
57894         * posix/fork.c (__fork): Likewise.
57895         * posix/getegid.c (__getegid): Likewise.
57896         * posix/geteuid.c (__geteuid): Likewise.
57897         * posix/getgid.c (__getgid): Likewise.
57898         * posix/getpid.c (__getpid): Likewise.
57899         * posix/getppid.c (__getppid): Likewise.
57900         * posix/getuid.c (__getuid): Likewise.
57901         * posix/pause.c (pause): Likewise.
57902         * posix/setpgrp.c (setpgrp): Likewise.
57903         * posix/setsid.c (__setsid): Likewise.
57904         * posix/test-vfork.c (noop): Likewise.
57905         * resolv/gethnamaddr.c (_endhtent): Likewise.
57906         (_gethtent): Likewise.
57907         (ht_endhostent): Likewise.
57908         (gethostent): Likewise.
57909         (dns_service): Likewise.
57910         * stdlib/drand48.c (drand48): Likewise.
57911         * stdlib/lrand48.c (lrand48): Likewise.
57912         * stdlib/mrand48.c (mrand48): Likewise.
57913         * stdlib/rand.c (rand): Likewise.
57914         * stdlib/random.c (__random): Likewise.
57915         * stdlib/setenv.c (clearenv): Likewise.
57916         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
57917         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
57918         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
57919         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
57920         (__get_nprocs): Likewise.
57921         (__get_phys_pages): Likewise.
57922         (__get_avphys_pages): Likewise.
57923         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
57924         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
57925         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
57926         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
57927         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
57928         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
57929         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
57930         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
57931         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
57932         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
57933         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
57934         * sysdeps/mach/hurd/sync.c (sync): Likewise.
57935         * sysdeps/posix/clock.c (clock): Likewise.
57936         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
57937         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
57938         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
57939         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
57940         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
57941         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
57942         (__get_nprocs_conf): Likewise.
57943         (__get_phys_pages): Likewise.
57944         (__get_avphys_pages): Likewise.
57945         * time/clock.c (clock): Likewise.
57946         * time/tzset.c (__tzname_max): Likewise.
57948 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
57950         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
57951         (__bswap_32): Do not use "register".
57952         * crypt/crypt.c (_ufc_doit_r): Likewise.
57953         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57954         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57955         * gmon/gmon.c (__monstartup): Likewise.
57956         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
57957         * hurd/hurdmalloc.c (more_memory): Likewise.
57958         (malloc): Likewise.
57959         (free): Likewise.
57960         (realloc): Likewise.
57961         (malloc_fork_prepare): Likewise.
57962         (malloc_fork_parent): Likewise.
57963         (malloc_fork_child): Likewise.
57964         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
57965         (_svcauth_des): Likewise.
57966         * inet/inet_lnaof.c (inet_lnaof): Likewise.
57967         * inet/inet_net.c (inet_network): Likewise.
57968         * inet/inet_netof.c (inet_netof): Likewise.
57969         * inet/rcmd.c (__validuser2_sa): Likewise.
57970         * io/fts.c (fts_open): Likewise.
57971         (fts_load): Likewise.
57972         (fts_close): Likewise.
57973         (fts_read): Likewise.
57974         (fts_children): Likewise.
57975         (fts_build): Likewise.
57976         (fts_stat): Likewise.
57977         (fts_sort): Likewise.
57978         (fts_alloc): Likewise.
57979         (fts_lfree): Likewise.
57980         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
57981         (_IO_file_xsgetn): Likewise.
57982         (_IO_file_xsgetn_mmap): Likewise.
57983         * libio/iofopncook.c (_IO_cookie_read): Likewise.
57984         (_IO_cookie_write): Likewise.
57985         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
57986         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
57987         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
57988         * malloc/obstack.c (_obstack_begin): Likewise.
57989         (_obstack_begin_1): Likewise.
57990         (_obstack_newchunk): Likewise.
57991         (_obstack_allocated_p): Likewise.
57992         (obstack_free): Likewise.
57993         (_obstack_memory_used): Likewise.
57994         * misc/getttyent.c (getttynam): Likewise.
57995         (getttyent): Likewise.
57996         (skip): Likewise.
57997         (value): Likewise.
57998         * misc/getusershell.c (initshells): Likewise.
57999         * misc/syslog.c (__vsyslog_chk): Likewise.
58000         * misc/ttyslot.c (ttyslot): Likewise.
58001         * nis/nis_hash.c (__nis_hash): Likewise.
58002         * posix/fnmatch_loop.c (FCT): Likewise.
58003         * posix/getconf.c (print_all): Likewise.
58004         (main): Likewise.
58005         * posix/getopt.c (exchange): Likewise.
58006         * posix/glob.c (globfree): Likewise.
58007         (prefix_array): Likewise.
58008         (__glob_pattern_type): Likewise.
58009         * resolv/arpa/nameser.h (NS_GET16): Likewise.
58010         (NS_GET32): Likewise.
58011         (NS_PUT16): Likewise.
58012         (NS_PUT32): Likewise.
58013         * resolv/gethnamaddr.c (getanswer): Likewise.
58014         (gethostbyname2): Likewise.
58015         (gethostbyaddr): Likewise.
58016         (_gethtent): Likewise.
58017         (_gethtbyname2): Likewise.
58018         (_gethtbyaddr): Likewise.
58019         * resolv/ns_print.c (dst_s_get_int16): Likewise.
58020         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
58021         * resolv/res_init.c (__res_vinit): Likewise.
58022         (net_mask): Likewise.
58023         * resolv/res_mkquery.c (outchar): Likewise.
58024         (PRINT): Likewise.
58025         * stdio-common/printf_fp.c (outchar): Likewise.
58026         (PRINT): Likewise.
58027         * stdio-common/printf_fphex.c (outchar): Likewise.
58028         (PRINT): Likewise.
58029         * stdio-common/printf_size.c (outchar): Likewise.
58030         (PRINT): Likewise.
58031         * stdio-common/test_rdwr.c (main): Likewise.
58032         * stdio-common/tfformat.c (matches): Likewise.
58033         * stdio-common/vfprintf.c (outchar): Likewise.
58034         (printf_unknown): Likewise.
58035         (buffered_vfprintf): Likewise.
58036         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
58037         * stdio-common/xbug.c (AppendToBuffer): Likewise.
58038         (ReadFile): Likewise.
58039         * stdlib/qsort.c (SWAP): Likewise.
58040         (_quicksort): Likewise.
58041         * stdlib/setenv.c (__add_to_environ): Likewise.
58042         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
58043         * stdlib/strtol_l.c (__strtol_l): Likewise.
58044         * stdlib/tst-strtod.c (main): Likewise.
58045         * stdlib/tst-strtol.c (main): Likewise.
58046         * stdlib/tst-strtoll.c (main): Likewise.
58047         * string/bits/string2.h (__strcmp_cc): Likewise.
58048         (__strcmp_cg): Likewise.
58049         (__strcspn_c1): Likewise.
58050         (__strcspn_c2): Likewise.
58051         (__strcspn_c3): Likewise.
58052         (__strspn_c1): Likewise.
58053         (__strspn_c2): Likewise.
58054         (__strspn_c3): Likewise.
58055         (__strsep_1c): Likewise.
58056         (__strsep_2c): Likewise.
58057         (__strsep_3c): Likewise.
58058         * string/memccpy.c (__memccpy): Likewise.
58059         * string/stpcpy.c (__stpcpy): Likewise.
58060         * string/strcmp.c (strcmp): Likewise.
58061         * string/strrchr.c (strrchr): Likewise.
58062         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
58063         Likewise.
58064         * sysdeps/mach/hurd/getcwd.c
58065         (_hurd_canonicalize_directory_name_internal): Likewise.
58066         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
58067         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
58068         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
58069         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
58070         Likewise, in both definitions.
58071         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
58072         definitions.
58073         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
58074         64] (__bswap_64): Likewise.
58075         * time/test_time.c (main): Likewise.
58076         * time/tzfile.c (__tzfile_read): Likewise.
58077         (__tzfile_compute): Likewise.
58078         * time/tzset.c (__tzset_parse_tz): Likewise.
58079         (tzset_internal): Likewise.
58080         (compute_change): Likewise.
58081         * wcsmbs/wcscat.c (__wcscat): Likewise.
58082         * wcsmbs/wcschr.c (wcschr): Likewise.
58083         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
58084         * wcsmbs/wcscspn.c (wcscspn): Likewise.
58085         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
58086         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
58087         * wcsmbs/wcsspn.c (wcsspn): Likewise.
58088         * wcsmbs/wcsstr.c (wcsstr): Likewise.
58089         * wcsmbs/wmemchr.c (wmemchr): Likewise.
58090         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
58091         * wcsmbs/wmemset.c (wmemset): Likewise.
58093 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
58095         * scripts/config.guess: Update to version 2013-05-16.
58096         * scripts/config.sub: Update to version 2013-04-24.
58097         * scripts/install-sh: Update to version 2011-11-20.07.
58098         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
58099         * scripts/move-if-change: Update to version 2012-01-06 07:23.
58101 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
58103         * debug/fgetws_u_chk.c: Fix leading whitespaces.
58104         * elf/sln.c: Likewise.
58105         * hurd/hurd/ioctl.h: Likewise.
58106         * hurd/hurdmalloc.c: Likewise.
58107         * hurd/xattr.c: Likewise.
58108         * include/shlib-compat.h: Likewise.
58109         * inet/ruserpass.c: Likewise.
58110         * libio/iofgets_u.c: Likewise.
58111         * libio/iofgetws_u.c: Likewise.
58112         * locale/programs/ld-identification.c: Likewise.
58113         * locale/programs/ld-time.c: Likewise.
58114         * mach/msg-destroy.c: Likewise.
58115         * nss/nss_files/files-netgrp.c: Likewise.
58116         * resolv/res_data.c: Likewise.
58117         * soft-fp/op-1.h: Likewise.
58118         * soft-fp/op-2.h: Likewise.
58119         * soft-fp/op-4.h: Likewise.
58120         * soft-fp/op-common.h: Likewise.
58121         * stdio-common/printf_fphex.c: Likewise.
58122         * stdlib/strtod_l.c: Likewise.
58123         * sunrpc/rpc/clnt.h: Likewise.
58124         * sysdeps/generic/framestate.c: Likewise.
58125         * sysdeps/i386/bsd-_setjmp.S: Likewise.
58126         * sysdeps/i386/bsd-setjmp.S: Likewise.
58127         * sysdeps/i386/__longjmp.S: Likewise.
58128         * sysdeps/i386/setjmp.S: Likewise.
58129         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58130         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
58131         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58132         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58133         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58134         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
58135         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
58136         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
58137         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
58138         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58139         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
58140         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
58141         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
58142         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
58143         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
58144         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
58145         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
58146         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
58147         * sysdeps/ieee754/support.c: Likewise.
58148         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
58149         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
58150         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
58151         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
58152         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
58153         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
58154         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
58155         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
58156         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
58157         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
58158         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
58159         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
58160         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
58161         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
58162         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
58163         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
58164         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
58167 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
58169         * posix/transbug.c: Remove executable mode.
58171 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
58173         * crypt/speeds.c: Remove trailing whitespace.
58174         * dlfcn/default.c: Likewise.
58175         * elf/ifuncdep2.c: Likewise.
58176         * elf/ifuncmain1.c: Likewise.
58177         * elf/ifuncmain1vis.c: Likewise.
58178         * elf/testobj.h: Likewise.
58179         * elf/tst-stackguard1.c: Likewise.
58180         * gmon/sys/gmon.h: Likewise.
58181         * hurd/hurdmsg.c: Likewise.
58182         * hurd/new-fd.c: Likewise.
58183         * hurd/ports-get.c: Likewise.
58184         * iconvdata/ibm1008_420.c: Likewise.
58185         * inet/tst-getni1.c: Likewise.
58186         * inet/tst-getni2.c: Likewise.
58187         * libio/ioungetc.c: Likewise.
58188         * libio/wfiledoalloc.c: Likewise.
58189         * manual/libm-err-tab.pl: Likewise.
58190         * math/w_dremf.c: Likewise.
58191         * misc/ftruncate.c: Likewise.
58192         * posix/bug-glob2.c: Likewise.
58193         * posix/tst-pcre.c: Likewise.
58194         * posix/wait4.c: Likewise.
58195         * resolv/README: Likewise.
58196         * resolv/res_debug.h: Likewise.
58197         * resolv/tst-inet_ntop.c: Likewise.
58198         * setjmp/bug269-setjmp.c: Likewise.
58199         * soft-fp/extended.h: Likewise.
58200         * soft-fp/op-1.h: Likewise.
58201         * soft-fp/op-2.h: Likewise.
58202         * soft-fp/op-4.h: Likewise.
58203         * soft-fp/op-8.h: Likewise.
58204         * soft-fp/testit.c: Likewise.
58205         * stdio-common/bug16.c: Likewise.
58206         * stdlib/random.c: Likewise.
58207         * sunrpc/rpcsvc/rquota.x: Likewise.
58208         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
58209         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
58210         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
58211         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
58212         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
58213         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
58214         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
58215         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
58216         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
58217         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
58218         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
58219         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
58220         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
58221         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
58222         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
58223         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
58224         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
58225         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
58226         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
58227         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
58228         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
58229         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
58230         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
58231         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
58232         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
58233         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
58234         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
58235         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
58236         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
58237         * sysdeps/ieee754/s_lib_version.c: Likewise.
58238         * sysdeps/mach/hurd/check_fds.c: Likewise.
58239         * sysdeps/mach/hurd/getsockname.c: Likewise.
58240         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
58241         * sysdeps/mach/hurd/recvfrom.c: Likewise.
58242         * sysdeps/powerpc/bits/link.h: Likewise.
58243         * sysdeps/powerpc/dl-procinfo.c: Likewise.
58244         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
58245         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
58246         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
58247         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
58248         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
58249         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
58250         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
58251         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
58252         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58253         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
58254         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
58255         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
58256         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58257         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58258         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58259         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
58260         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
58261         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58262         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58263         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58264         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
58265         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58266         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
58267         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
58268         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
58269         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
58270         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58271         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58272         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
58273         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
58274         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
58275         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58276         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
58277         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
58278         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
58279         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
58280         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
58281         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
58282         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
58283         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
58284         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
58285         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
58286         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
58287         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
58288         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
58289         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
58290         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
58291         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
58292         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
58293         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58294         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58295         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
58296         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
58297         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
58298         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
58299         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
58300         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58301         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
58302         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
58303         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
58304         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
58305         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
58306         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
58307         * sysdeps/powerpc/sysdep.h: Likewise.
58308         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58309         * sysdeps/s390/s390-64/sub_n.S: Likewise.
58310         * sysdeps/sh/dl-trampoline.S: Likewise.
58311         * sysdeps/sh/memset.S: Likewise.
58312         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
58313         * sysdeps/sh/strlen.S: Likewise.
58314         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
58315         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
58316         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
58317         * sysdeps/sparc/sparc32/rem.S: Likewise.
58318         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
58319         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
58320         * sysdeps/sparc/sparc32/strchr.S: Likewise.
58321         * sysdeps/sparc/sparc32/udiv.S: Likewise.
58322         * sysdeps/sparc/sparc32/urem.S: Likewise.
58323         * sysdeps/sparc/sparc64/add_n.S: Likewise.
58324         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
58325         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
58326         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
58327         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
58328         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
58329         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
58330         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
58331         * sysdeps/unix/bsd/times.c: Likewise.
58332         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
58333         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
58334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
58335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
58336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
58337         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
58338         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58339         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
58340         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
58341         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
58342         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
58343         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
58344         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
58345         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
58346         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
58347         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
58348         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
58349         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
58350         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
58351         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
58352         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
58353         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
58354         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
58355         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
58356         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
58357         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
58358         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
58359         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58360         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
58361         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
58362         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
58363         * sysdeps/x86_64/strcspn.S: Likewise.
58365 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58367         * locale/C-translit.h: Revert #include <stdint.h> because this is a
58368         generated file.  Regenerate properly from gen-translit.pl.
58369         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
58370         locale/C-translit.h.
58372 2013-06-05  Andreas Schwab  <schwab@suse.de>
58374         [BZ #15100]
58375         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
58376         week as 6 instead of -1.
58377         * time/tst-strptime.c (day_tests): Add test case.
58379 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58381         * sysdeps/generic/math_private.h
58382         (libc_feholdexcept_setround_53bit): Replace with
58383         libc_feholdsetround_53bit.
58384         (libc_feupdateenv_53bit): Replace with
58385         libc_feresetround_53bit.
58386         (SET_RESTORE_ROUND_53BIT): Adjust.
58388 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58390         * string/test-strchrnul.c: Add copyright header.
58392         * posix/tst-getaddrinfo4.c: Increase test timeout.
58394 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
58396         [BZ #15536]
58397         * math/libm-test.inc (MAX_EXP): Remove
58398         (MIN_EXP): Define.
58399         (ulp): Use MIN_EXP - MANT_DIG.
58400         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
58402 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
58404         * po/be.po: Revert last change.
58405         * po/zh_CN.po: Likewise.
58406         * po/header.pot: Likewise.
58408 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
58410         * Makefile ($(common-objpfx)linkobj/libc.so): Define
58411         link-libc-deps to empty as target-specific variable.
58412         * Makerules (link-libc-args): New variable.
58413         (libc-for-link): Likewise.
58414         (link-libc-deps): Likewise.
58415         (lib%.so): Depend on $(link-libc-deps).  Link with
58416         $(link-libc-args).
58417         (build-module): Link with $(link-libc-args).
58418         (build-module-asneeded): Likewise.
58419         (build-module-helper-objlist): Filter out $(link-libc-deps) from
58420         list of objects.
58421         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
58422         target-specific variable.
58423         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
58424         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
58425         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
58426         libc.
58427         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
58428         libc and ld.so.
58429         ($(objpfx)libpcprofile.so): Likewise.
58430         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
58431         libc_nonshared.a.
58432         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
58433         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
58434         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
58435         $(link-libc-deps).
58436         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
58437         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
58438         * login/Makefile ($(objpfx)libutil.so): Likewise.
58439         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
58440         * math/Makefile ($(objpfx)libm.so): Likewise.
58441         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
58442         $(objpfx)libnsl.so): Define libc-for-link as target-specific
58443         variable instead of depending directly on libc.
58444         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
58445         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
58446         $(link-libc-deps).
58447         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
58448         libc.
58449         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
58450         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
58451         ($(objpfx)libanl.so): Likewise.
58452         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
58453         ld.so.
58454         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
58455         $(link-libc-deps).
58456         * sysdeps/i386/fpu/Makefile: Remove file.
58457         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
58458         ($(objpfx)libm.so): Remove dependency on ld.so.
58460 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
58462         [BZ # 15553]
58463         * nis/yp_xdr.c (XDRMAXNAME): Define.
58464         (XDRMAXRECORD): Define.
58465         (xdr_domainname): Use XDRMAXNAME.
58466         (xdr_mapname): Likewise.
58467         (xdr_peername): Likewise.
58468         (xdr_keydat): Use XDRMAXRECORD.
58469         (xdr_valdat): Likewise.
58471 2013-05-30  Jeff Law  <law@redhat.com>
58473         [BZ #14256]
58474         * manual/errno.texi (ESTALE): Update to account for more than
58475         just NFS file systems.
58476         * sysdeps/gnu/errlist.c: Regenerated.
58478 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58480         [BZ #15465]
58481         * elf/Makefile (tests): Add tst-null-argv.
58482         (modules-names):  Add tst-null-argv-lib.
58483         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
58484         (tst-null-argv-ENV): Set environment for tst-null-argv.
58485         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
58486         (RTLD_PROGNAME): New macro.
58487         * elf/tst-null-argv.c: New test case.
58488         * elf/tst-null-argv-lib.c: Library for test case.
58489         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
58490         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
58491         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
58492         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
58493         * elf/dl-init.c (call_init): Likewise.
58494         (_dl_init): Likewise.
58495         * elf/dl-load.c (print_search_path): Likewise.
58496         (_dl_map_object): Likewise.
58497         * elf/dl-lookup.c (do_lookup_x): Likewise.
58498         (add_dependency): Likewise.
58499         (_dl_lookup_symbol_x): Likewise.
58500         (_dl_debug_bindings): Likewise.
58501         * elf/dl-open.c (_dl_show_scope): Likewise.
58502         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
58503         * elf/dl-version.c (match_symbol): Likewise.
58504         (_dl_check_map_versions): Likewise.
58505         * elf/rtld.c (dl_main): Likewise.
58506         (print_unresolved): Use RTLD_PROGNAME.
58507         (print_missing_version): Likewise.
58508         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
58509         (elf_machine_rela): Likewise.
58510         * sysdeps/powerpc/powerpc32/dl-machine.c
58511         (__process_machine_rela): Likewise.
58512         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
58513         Likewise.
58514         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58515         Likewise.
58516         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
58517         Likewise.
58518         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
58519         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
58520         Likewise.
58521         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
58522         Likewise.
58523         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
58525 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
58527         * po/be.po: Add descriptive title.
58528         * po/zh_CN.po: Likewise.
58529         * po/header.pot: Likewise.
58531 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
58533         * locale/programs/locarchive.c (create_archive): Inlucde fname in
58534         error message.
58535         (enlarge_archive): Likewise.
58537 2013-05-28  Ben North  <ben@redfrontdoor.org>
58539         * manual/arith.texi (frexp): It is the magnitude of the return
58540         value which lies in [0.5, 1), not the return value itself.
58542 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58544         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58546 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
58548         * stdio-common/bug26.c (main): Correct fscanf template.
58550         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
58551         declare _dl_skip_args.
58553         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
58554         Don't declare.
58556         * manual/platform.texi: Add missing @end deftypefun.
58558 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58560         [BZ #15529]
58561         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
58562         bit of mantissa of 2^16382.
58563         * math/libm-test.inc (hypot_test_data): Add more tests.
58565         * math/libm-test.inc: Add drem and pow10 to list of tested
58566         functions.
58567         (pow10_test): New function.
58568         (drem_test): Likewise.
58569         (drem_test_tonearest): Likewise.
58570         (drem_test_towardzero): Likewise.
58571         (drem_test_downward): Likewise.
58572         (drem_test_upward): Likewise.
58573         (main): Call the new functions.
58575         * math/libm-test.inc (finite_test_data): Remove.
58576         (finite_test): Run tests from isfinite_test_data.
58577         (gamma_test_data): Remove.
58578         (gamma_test): Run tests from lgamma_test_data.
58579         * sysdeps/i386/fpu/libm-test-ulps: Update.
58580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58582 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58584         * manual/platform.texi: Add PowerPC PPR function set documentation.
58585         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
58586         implementation.
58588 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
58590         * math/libm-test.inc (MAX_EXP): Define.
58591         (ULPDIFF): Define.
58592         (ulp): New function.
58593         (check_float_internal): Use ULPDIFF.
58594         (cpow_test): Disable failing test.
58595         (check_ulp): Test ulp() implementation.
58596         (main): Call check_ulp before starting tests.
58598 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
58600         * math/gen-libm-test.pl (generate_testfile): Do not handle
58601         START_DATA and END_DATA.
58602         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
58603         END_DATA.
58604         (acos_tonearest_test_data): Likewise.
58605         (acos_towardzero_test_data): Likewise.
58606         (acos_downward_test_data): Likewise.
58607         (acos_upward_test_data): Likewise.
58608         (acosh_test_data): Likewise.
58609         (asin_test_data): Likewise.
58610         (asin_tonearest_test_data): Likewise.
58611         (asin_towardzero_test_data): Likewise.
58612         (asin_downward_test_data): Likewise.
58613         (asin_upward_test_data): Likewise.
58614         (asinh_test_data): Likewise.
58615         (atan_test_data): Likewise.
58616         (atanh_test_data): Likewise.
58617         (atan2_test_data): Likewise.
58618         (cabs_test_data): Likewise.
58619         (cacos_test_data): Likewise.
58620         (cacosh_test_data): Likewise.
58621         (carg_test_data): Likewise.
58622         (casin_test_data): Likewise.
58623         (casinh_test_data): Likewise.
58624         (catan_test_data): Likewise.
58625         (catanh_test_data): Likewise.
58626         (cbrt_test_data): Likewise.
58627         (ccos_test_data): Likewise.
58628         (ccosh_test_data): Likewise.
58629         (ceil_test_data): Likewise.
58630         (cexp_test_data): Likewise.
58631         (cimag_test_data): Likewise.
58632         (clog_test_data): Likewise.
58633         (clog10_test_data): Likewise.
58634         (conj_test_data): Likewise.
58635         (copysign_test_data): Likewise.
58636         (cos_test_data): Likewise.
58637         (cos_tonearest_test_data): Likewise.
58638         (cos_towardzero_test_data): Likewise.
58639         (cos_downward_test_data): Likewise.
58640         (cos_upward_test_data): Likewise.
58641         (cosh_test_data): Likewise.
58642         (cosh_tonearest_test_data): Likewise.
58643         (cosh_towardzero_test_data): Likewise.
58644         (cosh_downward_test_data): Likewise.
58645         (cosh_upward_test_data): Likewise.
58646         (cpow_test_data): Likewise.
58647         (cproj_test_data): Likewise.
58648         (creal_test_data): Likewise.
58649         (csin_test_data): Likewise.
58650         (csinh_test_data): Likewise.
58651         (csqrt_test_data): Likewise.
58652         (ctan_test_data): Likewise.
58653         (ctan_tonearest_test_data): Likewise.
58654         (ctan_towardzero_test_data): Likewise.
58655         (ctan_downward_test_data): Likewise.
58656         (ctan_upward_test_data): Likewise.
58657         (ctanh_test_data): Likewise.
58658         (ctanh_tonearest_test_data): Likewise.
58659         (ctanh_towardzero_test_data): Likewise.
58660         (ctanh_downward_test_data): Likewise.
58661         (ctanh_upward_test_data): Likewise.
58662         (erf_test_data): Likewise.
58663         (erfc_test_data): Likewise.
58664         (exp_test_data): Likewise.
58665         (exp_tonearest_test_data): Likewise.
58666         (exp_towardzero_test_data): Likewise.
58667         (exp_downward_test_data): Likewise.
58668         (exp_upward_test_data): Likewise.
58669         (exp10_test_data): Likewise.
58670         (exp2_test_data): Likewise.
58671         (expm1_test_data): Likewise.
58672         (fabs_test_data): Likewise.
58673         (fdim_test_data): Likewise.
58674         (finite_test_data): Likewise.
58675         (floor_test_data): Likewise.
58676         (fma_test_data): Likewise.
58677         (fma_towardzero_test_data): Likewise.
58678         (fma_downward_test_data): Likewise.
58679         (fma_upward_test_data): Likewise.
58680         (fmax_test_data): Likewise.
58681         (fmin_test_data): Likewise.
58682         (fmod_test_data): Likewise.
58683         (fpclassify_test_data): Likewise.
58684         (frexp_test_data): Likewise.
58685         (gamma_test_data): Likewise.
58686         (hypot_test_data): Likewise.
58687         (ilogb_test_data): Likewise.
58688         (isfinite_test_data): Likewise.
58689         (isgreater_test_data): Likewise.
58690         (isgreaterequal_test_data): Likewise.
58691         (isinf_test_data): Likewise.
58692         (isless_test_data): Likewise.
58693         (islessequal_test_data): Likewise.
58694         (islessgreater_test_data): Likewise.
58695         (isnan_test_data): Likewise.
58696         (isnormal_test_data): Likewise.
58697         (issignaling_test_data): Likewise.
58698         (isunordered_test_data): Likewise.
58699         (j0_test_data): Likewise.
58700         (j1_test_data): Likewise.
58701         (jn_test_data): Likewise.
58702         (ldexp_test_data): Likewise.
58703         (lgamma_test_data): Likewise.
58704         (lrint_test_data): Likewise.
58705         (lrint_tonearest_test_data): Likewise.
58706         (lrint_towardzero_test_data): Likewise.
58707         (lrint_downward_test_data): Likewise.
58708         (lrint_upward_test_data): Likewise.
58709         (llrint_test_data): Likewise.
58710         (llrint_tonearest_test_data): Likewise.
58711         (llrint_towardzero_test_data): Likewise.
58712         (llrint_downward_test_data): Likewise.
58713         (llrint_upward_test_data): Likewise.
58714         (log_test_data): Likewise.
58715         (log10_test_data): Likewise.
58716         (log1p_test_data): Likewise.
58717         (log2_test_data): Likewise.
58718         (logb_test_data): Likewise.
58719         (logb_downward_test_data): Likewise.
58720         (lround_test_data): Likewise.
58721         (llround_test_data): Likewise.
58722         (modf_test_data): Likewise.
58723         (nearbyint_test_data): Likewise.
58724         (nextafter_test_data): Likewise.
58725         (nexttoward_test_data): Likewise.
58726         (pow_test_data): Likewise.
58727         (pow_tonearest_test_data): Likewise.
58728         (pow_towardzero_test_data): Likewise.
58729         (pow_downward_test_data): Likewise.
58730         (pow_upward_test_data): Likewise.
58731         (remainder_test_data): Likewise.
58732         (remainder_tonearest_test_data): Likewise.
58733         (remainder_towardzero_test_data): Likewise.
58734         (remainder_downward_test_data): Likewise.
58735         (remainder_upward_test_data): Likewise.
58736         (remquo_test_data): Likewise.
58737         (rint_test_data): Likewise.
58738         (rint_tonearest_test_data): Likewise.
58739         (rint_towardzero_test_data): Likewise.
58740         (rint_downward_test_data): Likewise.
58741         (rint_upward_test_data): Likewise.
58742         (round_test_data): Likewise.
58743         (scalb_test_data): Likewise.
58744         (scalbn_test_data): Likewise.
58745         (scalbln_test_data): Likewise.
58746         (signbit_test_data): Likewise.
58747         (sin_test_data): Likewise.
58748         (sin_tonearest_test_data): Likewise.
58749         (sin_towardzero_test_data): Likewise.
58750         (sin_downward_test_data): Likewise.
58751         (sin_upward_test_data): Likewise.
58752         (sincos_test_data): Likewise.
58753         (sinh_test_data): Likewise.
58754         (sinh_tonearest_test_data): Likewise.
58755         (sinh_towardzero_test_data): Likewise.
58756         (sinh_downward_test_data): Likewise.
58757         (sinh_upward_test_data): Likewise.
58758         (sqrt_test_data): Likewise.
58759         (tan_test_data): Likewise.
58760         (tan_tonearest_test_data): Likewise.
58761         (tan_towardzero_test_data): Likewise.
58762         (tan_downward_test_data): Likewise.
58763         (tan_upward_test_data): Likewise.
58764         (tanh_test_data): Likewise.
58765         (tgamma_test_data): Likewise.
58766         (trunc_test_data): Likewise.
58767         (y0_test_data): Likewise.
58768         (y1_test_data): Likewise.
58769         (yn_test_data): Likewise.
58770         (significand_test_data): Likewise.
58772         * math/gen-libm-test.pl (@functions): Remove variable.
58773         (generate_testfile): Don't handle START and END lines.
58774         * math/libm-test.inc (START): New macro.
58775         (END): Likewise.
58776         (END_COMPLEX): Likewise.
58777         (acos_test): Use END macro without arguments.
58778         (acos_test_tonearest): Likewise.
58779         (acos_test_towardzero): Likewise.
58780         (acos_test_downward): Likewise.
58781         (acos_test_upward): Likewise.
58782         (acosh_test): Likewise.
58783         (asin_test): Likewise.
58784         (asin_test_tonearest): Likewise.
58785         (asin_test_towardzero): Likewise.
58786         (asin_test_downward): Likewise.
58787         (asin_test_upward): Likewise.
58788         (asinh_test): Likewise.
58789         (atan_test): Likewise.
58790         (atanh_test): Likewise.
58791         (atan2_test): Likewise.
58792         (cabs_test): Likewise.
58793         (cacos_test): Use END_COMPLEX macro without arguments.
58794         (cacosh_test): Likewise.
58795         (carg_test): Use END macro without arguments.
58796         (casin_test): Use END_COMPLEX macro without arguments.
58797         (casinh_test): Likewise.
58798         (catan_test): Likewise.
58799         (catanh_test): Likewise.
58800         (cbrt_test): Use END macro without arguments.
58801         (ccos_test): Use END_COMPLEX macro without arguments.
58802         (ccosh_test): Likewise.
58803         (ceil_test): Use END macro without arguments.
58804         (cexp_test): Use END_COMPLEX macro without arguments.
58805         (cimag_test): Use END macro without arguments.
58806         (clog_test): Use END_COMPLEX macro without arguments.
58807         (clog10_test): Likewise.
58808         (conj_test): Likewise.
58809         (copysign_test): Use END macro without arguments.
58810         (cos_test): Likewise.
58811         (cos_test_tonearest): Likewise.
58812         (cos_test_towardzero): Likewise.
58813         (cos_test_downward): Likewise.
58814         (cos_test_upward): Likewise.
58815         (cosh_test): Likewise.
58816         (cosh_test_tonearest): Likewise.
58817         (cosh_test_towardzero): Likewise.
58818         (cosh_test_downward): Likewise.
58819         (cosh_test_upward): Likewise.
58820         (cpow_test): Use END_COMPLEX macro without arguments.
58821         (cproj_test): Likewise.
58822         (creal_test): Use END macro without arguments.
58823         (csin_test): Use END_COMPLEX macro without arguments.
58824         (csinh_test): Likewise.
58825         (csqrt_test): Likewise.
58826         (ctan_test): Likewise.
58827         (ctan_test_tonearest): Likewise.
58828         (ctan_test_towardzero): Likewise.
58829         (ctan_test_downward): Likewise.
58830         (ctan_test_upward): Likewise.
58831         (ctanh_test): Likewise.
58832         (ctanh_test_tonearest): Likewise.
58833         (ctanh_test_towardzero): Likewise.
58834         (ctanh_test_downward): Likewise.
58835         (ctanh_test_upward): Likewise.
58836         (erf_test): Use END macro without arguments.
58837         (erfc_test): Likewise.
58838         (exp_test): Likewise.
58839         (exp_test_tonearest): Likewise.
58840         (exp_test_towardzero): Likewise.
58841         (exp_test_downward): Likewise.
58842         (exp_test_upward): Likewise.
58843         (exp10_test): Likewise.
58844         (exp2_test): Likewise.
58845         (expm1_test): Likewise.
58846         (fabs_test): Likewise.
58847         (fdim_test): Likewise.
58848         (finite_test): Likewise.
58849         (floor_test): Likewise.
58850         (fma_test): Likewise.
58851         (fma_test_towardzero): Likewise.
58852         (fma_test_downward): Likewise.
58853         (fma_test_upward): Likewise.
58854         (fmax_test): Likewise.
58855         (fmin_test): Likewise.
58856         (fmod_test): Likewise.
58857         (fpclassify_test): Likewise.
58858         (frexp_test): Likewise.
58859         (gamma_test): Likewise.
58860         (hypot_test): Likewise.
58861         (ilogb_test): Likewise.
58862         (isfinite_test): Likewise.
58863         (isgreater_test): Likewise.
58864         (isgreaterequal_test): Likewise.
58865         (isinf_test): Likewise.
58866         (isless_test): Likewise.
58867         (islessequal_test): Likewise.
58868         (islessgreater_test): Likewise.
58869         (isnan_test): Likewise.
58870         (isnormal_test): Likewise.
58871         (issignaling_test): Likewise.
58872         (isunordered_test): Likewise.
58873         (j0_test): Likewise.
58874         (j1_test): Likewise.
58875         (jn_test): Likewise.
58876         (ldexp_test): Likewise.
58877         (lgamma_test): Likewise.
58878         (lrint_test): Likewise.
58879         (lrint_test_tonearest): Likewise.
58880         (lrint_test_towardzero): Likewise.
58881         (lrint_test_downward): Likewise.
58882         (lrint_test_upward): Likewise.
58883         (llrint_test): Likewise.
58884         (llrint_test_tonearest): Likewise.
58885         (llrint_test_towardzero): Likewise.
58886         (llrint_test_downward): Likewise.
58887         (llrint_test_upward): Likewise.
58888         (log_test): Likewise.
58889         (log10_test): Likewise.
58890         (log1p_test): Likewise.
58891         (log2_test): Likewise.
58892         (logb_test): Likewise.
58893         (logb_test_downward): Likewise.
58894         (lround_test): Likewise.
58895         (llround_test): Likewise.
58896         (modf_test): Likewise.
58897         (nearbyint_test): Likewise.
58898         (nextafter_test): Likewise.
58899         (nexttoward_test): Likewise.
58900         (pow_test): Likewise.
58901         (pow_test_tonearest): Likewise.
58902         (pow_test_towardzero): Likewise.
58903         (pow_test_downward): Likewise.
58904         (pow_test_upward): Likewise.
58905         (remainder_test): Likewise.
58906         (remainder_test_tonearest): Likewise.
58907         (remainder_test_towardzero): Likewise.
58908         (remainder_test_downward): Likewise.
58909         (remainder_test_upward): Likewise.
58910         (remquo_test): Likewise.
58911         (rint_test): Likewise.
58912         (rint_test_tonearest): Likewise.
58913         (rint_test_towardzero): Likewise.
58914         (rint_test_downward): Likewise.
58915         (rint_test_upward): Likewise.
58916         (round_test): Likewise.
58917         (scalb_test): Likewise.
58918         (scalbn_test): Likewise.
58919         (scalbln_test): Likewise.
58920         (signbit_test): Likewise.
58921         (sin_test): Likewise.
58922         (sin_test_tonearest): Likewise.
58923         (sin_test_towardzero): Likewise.
58924         (sin_test_downward): Likewise.
58925         (sin_test_upward): Likewise.
58926         (sincos_test): Likewise.
58927         (sinh_test): Likewise.
58928         (sinh_test_tonearest): Likewise.
58929         (sinh_test_towardzero): Likewise.
58930         (sinh_test_downward): Likewise.
58931         (sinh_test_upward): Likewise.
58932         (sqrt_test): Likewise.
58933         (tan_test): Likewise.
58934         (tan_test_tonearest): Likewise.
58935         (tan_test_towardzero): Likewise.
58936         (tan_test_downward): Likewise.
58937         (tan_test_upward): Likewise.
58938         (tanh_test): Likewise.
58939         (tgamma_test): Likewise.
58940         (trunc_test): Likewise.
58941         (y0_test): Likewise.
58942         (y1_test): Likewise.
58943         (yn_test): Likewise.
58944         (significand_test): Likewise.
58946 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
58948         [BZ #15381]
58949         * libio/genops.c (_IO_no_init): Initialize wide struct info.
58951 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
58953         [BZ #14894]
58954         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
58955         __ppc_mdoio and __ppc_mdoom.
58956         * manual/platform.texi: Document new functions __ppc_yield,
58957         __ppc_mdoio and __ppc_mdoom.
58959 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
58961         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
58962         (main): Mention "tls" pseudo-hwcap is legacy.
58963         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
58965 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
58967         * math/gen-libm-test.pl (parse_args): Output only string of
58968         arguments as text for test name, not full call or descriptions of
58969         tests for extra outputs.
58970         (generate_testfile): Do not pass function name to parse_args.
58971         Generate this_func variable from START.
58972         * math/libm-test.inc (struct test_f_f_data): Rename test_name
58973         field to arg_str.
58974         (struct test_ff_f_data): Likewise.
58975         (test_ff_f_data_nexttoward): Likewise.
58976         (struct test_fi_f_data): Likewise.
58977         (struct test_fl_f_data): Likewise.
58978         (struct test_if_f_data): Likewise.
58979         (struct test_fff_f_data): Likewise.
58980         (struct test_c_f_data): Likewise.
58981         (struct test_f_f1_data): Likewise.  Remove field extra_name.
58982         (struct test_fF_f1_data): Likewise.
58983         (struct test_ffI_f1_data): Likewise.
58984         (struct test_c_c_data): Rename test_name field to arg_str.
58985         (struct test_cc_c_data): Likewise.
58986         (struct test_f_i_data): Likewise.
58987         (struct test_ff_i_data): Likewise.
58988         (struct test_f_l_data): Likewise.
58989         (struct test_f_L_data): Likewise.
58990         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
58991         and extra2_name.
58992         (COMMON_TEST_SETUP): New macro.
58993         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
58994         (COMMON_TEST_CLEANUP): Likewise.
58995         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
58996         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
58997         macros.
58998         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
58999         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
59000         macros.
59001         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
59002         (RUN_TEST_fff_f): Take argument string.  Call new setup and
59003         cleanup macros.
59004         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
59005         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
59006         macros.
59007         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
59008         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
59009         macros.
59010         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59011         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
59012         cleanup macros.
59013         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59014         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
59015         cleanup macros.
59016         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59017         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
59018         cleanup macros.
59019         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59020         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
59021         macros.
59022         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
59023         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
59024         macros.
59025         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
59026         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
59027         macros.
59028         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
59029         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
59030         cleanup macros.
59031         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
59032         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
59033         cleanup macros.
59034         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
59035         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
59036         macros.
59037         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
59038         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
59039         cleanup macros.
59040         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
59041         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
59042         macros.
59043         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
59044         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
59045         macros.
59046         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
59047         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
59048         cleanup macros.
59049         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
59051 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
59053         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
59054         to _sifields.sigfault.
59055         (si_addr_lsb): Define new macro.
59056         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59057         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
59058         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
59060 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
59062         [BZ #15441]
59063         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
59064         returns -1.
59065         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
59066         null return -1.
59067         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
59068         loading the domain.
59070 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
59072         * math/gen-libm-test.pl (parse_args): Do not include expected
59073         result in test name.
59074         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
59075         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59076         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59077         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59078         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59081 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
59083         * benchtests/Makefile: Sort function entries.
59085         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
59086         tanh, asinh, acosh, atanh.
59087         * benchtests/acos-inputs: New file.
59088         * benchtests/acosh-inputs: New file.
59089         * benchtests/asin-inputs: New file.
59090         * benchtests/asinh-inputs: New file.
59091         * benchtests/atanh-inputs: New file.
59092         * benchtests/cosh-inputs: New file.
59093         * benchtests/log-inputs: New file.
59094         * benchtests/sinh-inputs: New file.
59095         * benchtests/tanh-inputs: New file.
59097 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
59099         [BZ #15339]
59100         * posix/tst-getaddrinfo4.c: New test.
59101         * posix/Makefile (tests): Add it.
59103 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59105         [BZ #15339]
59106         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
59107         when no services were used.
59108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
59109         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
59111 2013-05-21  Andreas Schwab  <schwab@suse.de>
59113         [BZ #15014]
59114         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
59115         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
59116         successful.
59117         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
59118         redundant variable declarations and reallocation of buffer when
59119         parsing as IPv6 address.  Always set NSS status when called from
59120         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
59121         buffer too small.  Correct computation of needed size.
59122         * nss/Makefile (tests): Add test-digits-dots.
59123         * nss/test-digits-dots.c: New test.
59125 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59127         * benchtests/Makefile: Remove instructions for adding
59128         benchmark tests.
59129         * benchtests/README: New file to explain how to execute and
59130         enhance the benchmark tests.
59132 2013-05-21  Andreas Schwab  <schwab@suse.de>
59134         [BZ #15493]
59135         * setjmp/Makefile (tests): Add tst-sigsetjmp.
59136         * setjmp/tst-sigsetjmp.c: New test.
59138 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59140         * sysdeps/x86_64/memset.S (memset): New implementation.
59141         (__bzero): Likewise.
59142         (__memset_tail): New function.
59144 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
59146         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
59147         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
59148         __memcpy_sse2_unaligned ifunc selection.
59149         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59150         Add memcpy-sse2-unaligned.S.
59151         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59152         Add: __memcpy_sse2_unaligned.
59154 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
59156         [BZ #15490]
59157         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
59158         math_force_eval before restoring floating-point envrionment.
59159         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
59160         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
59161         Likewise.
59162         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
59163         <math_private.h>.
59164         (__nearbyintl): Use math_force_eval before restoring
59165         floating-point environment.
59166         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
59168         * math/gen-libm-test.pl (special_functions): Remove.
59169         (parse_args): Don't handle TEST_extra.  Handle functions with no
59170         return value.
59171         * math/libm-test.inc (struct test_sincos_data): Replace with
59172         struct test_fFF_11_data.
59173         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
59174         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
59175         (sincos_test_data): Change element type to struct
59176         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
59177         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
59178         RUN_TEST_LOOP_sincos.
59179         * math/README.libm-test: Don't mention special handling of
59180         individual functions.
59181         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
59182         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
59183         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
59184         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
59185         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
59186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59188         * math/gen-libm-test.pl (get_variable): Remove function.
59189         (parse_args): Don't show pointer parameters to call in test
59190         names.  Use "extra output N" in test names for extra outputs
59191         rather than naming variables.
59193 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
59195         [BZ #15488]
59196         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
59197         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
59198         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
59199         double tests.
59200         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
59201         disable.
59202         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
59203         check_long_double.
59205         * math/gen-libm-test.pl (@tests): Remove variable.
59206         ($count): Likewise.
59207         (new_test): Remove function.
59208         (show_exceptions): New function.
59209         (special_functions): Use show_exceptions instead of new_test.
59210         (parse_args): Likewise.
59211         (generate_testfile): Pass only function name in generated call to
59212         print_max_error or print_complex_max_error.
59213         (get_ulps): Do not handle complex tests specially.
59214         (output_test): Rename to ...
59215         (get_all_ulps_for_test): ... this.  Return a string rather than
59216         printing to a file.  Require ulps to be present.
59217         (output_ulps): Generate arrays rather than #defines.
59218         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
59219         (struct ulp_data): New type.
59220         (BUILD_COMPLEX_ULP): Remove macro.
59221         (compare_ulp_data): New function.
59222         (find_ulps): Likewise.
59223         (find_test_ulps): Likewise.
59224         (find_function_ulps): Likewise.
59225         (find_complex_function_ulps): Likewise.
59226         (print_max_error): Determine allowed ulps using
59227         find_function_ulps.
59228         (print_complex_max_error): Determine allowed ulps using
59229         find_complex_function_ulps.
59230         (check_float_internal): Determine max ulps using find_test_ulps.
59231         (check_float): Do not take max_ulp parameter.  Update call to
59232         check_float_internal.
59233         (check_complex): Likewise.
59234         (check_int): Do not take max_ulp parameter.
59235         (check_long): Likewise.
59236         (check_bool): Likewise.
59237         (check_longlong): Likewise.
59238         (struct test_f_f_data): Remove max_ulp field.
59239         (struct test_ff_f_data): Likewise.
59240         (struct test_ff_f_data_nexttoward): Likewise.
59241         (struct test_fi_f_data): Likewise.
59242         (struct test_fl_f_data): Likewise.
59243         (struct test_if_f_data): Likewise.
59244         (struct test_fff_f_data): Likewise.
59245         (struct test_c_f_data): Likewise.
59246         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
59247         (struct test_fF_f1_data): Likewise.
59248         (struct test_ffI_f1_data): Likewise.
59249         (struct test_c_c_data): Remove max_ulp field.
59250         (struct test_cc_c_data): Likewise.
59251         (struct test_f_i_data): Likewise.
59252         (struct test_ff_i_data): Likewise.
59253         (struct test_f_l_data): Likewise.
59254         (struct test_f_L_data): Likewise.
59255         (struct test_sincos_data): Likewise.
59256         (RUN_TEST_f_f): Do not handle ulps.
59257         (RUN_TEST_LOOP_f_f): Likewise.
59258         (RUN_TEST_2_f): Likewise.
59259         (RUN_TEST_LOOP_2_f): Likewise.
59260         (RUN_TEST_fff_f): Likewise.
59261         (RUN_TEST_LOOP_fff_f): Likewise.
59262         (RUN_TEST_c_f): Likewise.
59263         (RUN_TEST_LOOP_c_f): Likewise.
59264         (RUN_TEST_f_f1): Likewise.
59265         (RUN_TEST_LOOP_f_f1): Likewise.
59266         (RUN_TEST_fF_f1): Likewise.
59267         (RUN_TEST_LOOP_fF_f1): Likewise.
59268         (RUN_TEST_fI_f1): Likewise.
59269         (RUN_TEST_LOOP_fI_f1): Likewise.
59270         (RUN_TEST_ffI_f1): Likewise.
59271         (RUN_TEST_LOOP_ffI_f1): Likewise.
59272         (RUN_TEST_c_c): Likewise.
59273         (RUN_TEST_LOOP_c_c): Likewise.
59274         (RUN_TEST_cc_c): Likewise.
59275         (RUN_TEST_LOOP_cc_c): Likewise.
59276         (RUN_TEST_f_i): Likewise.
59277         (RUN_TEST_LOOP_f_i): Likewise.
59278         (RUN_TEST_f_i_tg): Likewise.
59279         (RUN_TEST_LOOP_f_i_tg): Likewise.
59280         (RUN_TEST_ff_i_tg): Likewise.
59281         (RUN_TEST_LOOP_ff_i_tg): Likewise.
59282         (RUN_TEST_f_b): Likewise.
59283         (RUN_TEST_LOOP_f_b): Likewise.
59284         (RUN_TEST_f_b_tg): Likewise.
59285         (RUN_TEST_LOOP_f_b_tg): Likewise.
59286         (RUN_TEST_f_l): Likewise.
59287         (RUN_TEST_LOOP_f_l): Likewise.
59288         (RUN_TEST_f_L): Likewise.
59289         (RUN_TEST_LOOP_f_L): Likewise.
59290         (RUN_TEST_sincos): Likewise.
59291         (RUN_TEST_LOOP_sincos): Likewise.
59293 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
59295         [BZ #15480]
59296         [BZ #15485]
59297         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
59298         main case of finite arguments, set rounding mode to FE_TONEAREST
59299         and discard exceptions.
59300         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
59301         exceptions.
59302         (remainder_tonearest_test_data): New variable.
59303         (remainder_test_tonearest): New function.
59304         (remainder_towardzero_test_data): New variable.
59305         (remainder_test_towardzero): New function.
59306         (remainder_downward_test_data): New variable.
59307         (remainder_test_downward): New function.
59308         (remainder_upward_test_data): New variable.
59309         (remainder_test_upward): New function.
59310         (main): Call the new test functions.
59312         * math/libm-test.inc (struct test_f_f1_data): Remove field
59313         extra_init.
59314         (struct test_fF_f1_data): Likewise.
59315         (struct test_ffI_f1_data): Likewise.
59316         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
59317         based on value of EXTRA_EXPECTED.
59318         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
59319         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
59320         EXTRA_VAR based on value of EXTRA_EXPECTED.
59321         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
59322         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
59323         EXTRA_VAR based on value of EXTRA_EXPECTED.
59324         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
59325         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
59326         EXTRA_VAR based on value of EXTRA_EXPECTED.
59327         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
59328         * math/gen-libm-test.pl (parse_args): Don't output initializers
59329         for extra output values.
59331         * math/libm-test.inc (check_int): Expect result to be exactly
59332         equal to expected value and do not handle ulps.
59333         (check_long): Likewise.
59334         (check_longlong): Likewise.
59336         * math/libm-test.inc (ceil_test_data): Test for "inexact"
59337         exceptions.
59338         (cimag_test_data): Likewise.
59339         (conj_test_data): Likewise.
59340         (copysign_test_data): Likewise.
59341         (cproj_test_data): Likewise.
59342         (creal_test_data): Likewise.
59343         (fabs_test_data): Likewise.
59344         (fdim_test_data): Likewise.
59345         (finite_test_data): Likewise.
59346         (floor_test_data): Likewise.
59347         (fmax_test_data): Likewise.
59348         (fmin_test_data): Likewise.
59349         (fmod_test_data): Likewise.
59350         (fpclassify_test_data): Likewise.
59351         (frexp_test_data): Likewise.
59352         (ilogb_test_data): Likewise.
59353         (isfinite_test_data): Likewise.
59354         (isgreater_test_data): Likewise.
59355         (isgreaterequal_test_data): Likewise.
59356         (isinf_test_data): Likewise.
59357         (isless_test_data): Likewise.
59358         (islessequal_test_data): Likewise.
59359         (islessgreater_test_data): Likewise.
59360         (isnan_test_data): Likewise.
59361         (isnormal_test_data): Likewise.
59362         (issignaling_test_data): Likewise.
59363         (isunordered_test_data): Likewise.
59364         (ldexp_test_data): Likewise.
59365         (lrint_test_data): Likewise.
59366         (lrint_test_data) [TEST_FLOAT]: Disable one test.
59367         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
59368         (lrint_tonearest_test_data): Test for "inexact" exceptions.
59369         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59370         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
59371         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59372         test input.
59373         (lrint_towardzero_test_data): Test for "inexact" exceptions.
59374         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59375         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
59376         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
59377         that test input.
59378         (lrint_downward_test_data): Test for "inexact" exceptions.
59379         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59380         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
59381         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
59382         test input.
59383         (lrint_upward_test_data): Test for "inexact" exceptions.
59384         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
59385         test input.
59386         (llrint_test_data): Test for "inexact" exceptions.
59387         (llrint_test_data) [TEST_FLOAT]: Disable one test.
59388         (llrint_tonearest_test_data): Test for "inexact" exceptions.
59389         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
59390         (llrint_towardzero_test_data): Test for "inexact" exceptions.
59391         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
59392         (llrint_downward_test_data): Test for "inexact" exceptions.
59393         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
59394         (llrint_upward_test_data): Test for "inexact" exceptions.
59395         (logb_test_data): Likewise.
59396         (logb_downward_test_data): Likewise.
59397         (nextafter_test_data): Likewise.
59398         (nexttoward_test_data): Likewise.
59399         (remainder_test_data): Likewise.
59400         (remquo_test_data): Likewise.
59401         (scalbn_test_data): Likewise.
59402         (scalbln_test_data): Likewise.
59403         (signbit_test_data): Likewise.
59404         (sqrt_test_data): Likewise.
59405         (significand_test_data): Likewise.
59407 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
59409         [BZ #15424]
59410         * benchtests/bench-modf.c (struct args): Mark arg0 as
59411         volatile.
59412         * scripts/bench.pl: Mark members of struct args as volatile.
59414 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59416         [BZ # 15497]
59417         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
59418         negative infinity on POWER6 or lower.
59419         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
59421 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
59423         [BZ #15442]
59424         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
59425         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
59426         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
59427         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
59428         (_FP_SETQNAN): New macro.
59429         (_FP_SETQNAN_SEMIRAW): Likewise.
59430         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
59431         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
59432         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
59433         (FP_EXTEND): Use _FP_FRAC_SNANP.
59434         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
59435         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
59436         into account.
59437         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59438         New macro.
59439         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
59440         Likewise.
59442 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59444         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
59445         with DIVIDE_BY_ZERO_EXCEPTION.
59446         (gamma_test_data): Likewise.
59447         (lgamma_test_data): Likewise.
59448         (log_test_data): Likewise.
59449         (log10_test_data): Likewise.
59450         (log2_test_data): Likewise.
59451         (tgamma_test_data): Likewise.
59453         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
59454         (acos_test_tonearest): Likewise.
59455         (acos_test_towardzero): Likewise.
59456         (acos_test_downward): Likewise.
59457         (acos_test_upward): Likewise.
59458         (acosh_test): Likewise.
59459         (asin_test): Likewise.
59460         (asin_test_tonearest): Likewise.
59461         (asin_test_towardzero): Likewise.
59462         (asin_test_downward): Likewise.
59463         (asin_test_upward): Likewise.
59464         (asinh_test): Likewise.
59465         (atan_test): Likewise.
59466         (atanh_test): Likewise.
59467         (atan2_test): Likewise.
59468         (cabs_test): Likewise.
59469         (cacos_test): Likewise.
59470         (cacosh_test): Likewise.
59471         (casin_test): Likewise.
59472         (casinh_test): Likewise.
59473         (catan_test): Likewise.
59474         (catanh_test): Likewise.
59475         (cbrt_test): Likewise.
59476         (ccos_test): Likewise.
59477         (ccosh_test): Likewise.
59478         (cexp_test): Likewise.
59479         (clog_test): Likewise.
59480         (clog10_test): Likewise.
59481         (cos_test): Likewise.
59482         (cos_test_tonearest): Likewise.
59483         (cos_test_towardzero): Likewise.
59484         (cos_test_downward): Likewise.
59485         (cos_test_upward): Likewise.
59486         (cosh_test): Likewise.
59487         (cosh_test_tonearest): Likewise.
59488         (cosh_test_towardzero): Likewise.
59489         (cosh_test_downward): Likewise.
59490         (cosh_test_upward): Likewise.
59491         (cpow_test): Likewise.
59492         (csin_test): Likewise.
59493         (csinh_test): Likewise.
59494         (csqrt_test): Likewise.
59495         (ctan_test): Likewise.
59496         (ctan_test_tonearest): Likewise.
59497         (ctan_test_towardzero): Likewise.
59498         (ctan_test_downward): Likewise.
59499         (ctan_test_upward): Likewise.
59500         (ctanh_test): Likewise.
59501         (ctanh_test_tonearest): Likewise.
59502         (ctanh_test_towardzero): Likewise.
59503         (ctanh_test_downward): Likewise.
59504         (ctanh_test_upward): Likewise.
59505         (erf_test): Likewise.
59506         (erfc_test): Likewise.
59507         (exp_test): Likewise.
59508         (exp_test_tonearest): Likewise.
59509         (exp_test_towardzero): Likewise.
59510         (exp_test_downward): Likewise.
59511         (exp_test_upward): Likewise.
59512         (exp10_test): Likewise.
59513         (exp2_test): Likewise.
59514         (expm1_test): Likewise.
59515         (fmod_test): Likewise.
59516         (gamma_test): Likewise.
59517         (hypot_test): Likewise.
59518         (j0_test): Likewise.
59519         (j1_test): Likewise.
59520         (jn_test): Likewise.
59521         (lgamma_test): Likewise.
59522         (log_test): Likewise.
59523         (log10_test): Likewise.
59524         (log1p_test): Likewise.
59525         (log2_test): Likewise.
59526         (logb_test_downward): Likewise.
59527         (pow_test): Likewise.
59528         (pow_test_tonearest): Likewise.
59529         (pow_test_towardzero): Likewise.
59530         (pow_test_downward): Likewise.
59531         (pow_test_upward): Likewise.
59532         (remainder_test): Likewise.
59533         (remquo_test): Likewise.
59534         (sin_test): Likewise.
59535         (sin_test_tonearest): Likewise.
59536         (sin_test_towardzero): Likewise.
59537         (sin_test_downward): Likewise.
59538         (sin_test_upward): Likewise.
59539         (sincos_test): Likewise.
59540         (sinh_test): Likewise.
59541         (sinh_test_tonearest): Likewise.
59542         (sinh_test_towardzero): Likewise.
59543         (sinh_test_downward): Likewise.
59544         (sinh_test_upward): Likewise.
59545         (sqrt_test): Likewise.
59546         (tan_test): Likewise.
59547         (tan_test_tonearest): Likewise.
59548         (tan_test_towardzero): Likewise.
59549         (tan_test_downward): Likewise.
59550         (tan_test_upward): Likewise.
59551         (tanh_test): Likewise.
59552         (tgamma_test): Likewise.
59553         (y0_test): Likewise.
59554         (y1_test): Likewise.
59555         (yn_test): Likewise.
59557         * math/gen-libm-test.pl (adjust_arg): Remove function.
59558         (special_function): Remove argument $in_func.  Only handle
59559         generating output for tables of tests, not inside functions.
59560         (parse_args): Likewise.
59561         (generate_testfile): Remove variable $in_func.  Update call to
59562         parse_args.
59563         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
59564         (MINUS_ZERO_INIT): Rename macro to minus_zero.
59565         (PLUS_INFTY_INIT): Rename macro to plus_infty.
59566         (MINUS_INFTY_INIT): Rename macro to minus_infty.
59567         (QNAN_VALUE_INIT): Rename macro to qnan_value.
59568         (MAX_VALUE_INIT): Rename macro to max_value.
59569         (MIN_VALUE_INIT): Rename macro to min_value.
59570         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
59571         (plus_zero): Remove variable.
59572         (minus_zero): Likewise.
59573         (plus_infty): Likewise.
59574         (minus_infty): Likewise.
59575         (qnan_value): Likewise.
59576         (max_value): Likewise.
59577         (min_value): Likewise.
59578         (min_subnorm_value): Likewise.
59580 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59582         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
59583         uint64_t or uint32_t usage.
59584         * crypt/sha256-block.c: Likewise.
59585         * crypt/sha256-crypt.c: Likewise.
59586         * crypt/sha256.c: Likewise.
59587         * crypt/sha512-block.c: Likewise.
59588         * crypt/sha512-crypt.c: Likewise.
59589         * crypt/sha512.c: Likewise.
59590         * debug/backtrace-tst.c: Likewise.
59591         * debug/pcprofiledump.c: Likewise.
59592         * elf/cache.c: Likewise.
59593         * elf/dl-cache.c: Likewise.
59594         * elf/dl-misc.c: Likewise.
59595         * elf/dl-profile.c: Likewise.
59596         * elf/dl-support.c: Likewise.
59597         * elf/ldconfig.c: Likewise.
59598         * elf/sprof.c: Likewise.
59599         * iconv/dummy-repertoire.c: Likewise.
59600         * iconv/iconv_charmap.c: Likewise.
59601         * iconv/skeleton.c: Likewise.
59602         * iconvdata/8bit-generic.c: Likewise.
59603         * iconvdata/cp737.h: Likewise.
59604         * iconvdata/cp775.h: Likewise.
59605         * iconvdata/ibm1008.h: Likewise.
59606         * iconvdata/ibm1025.h: Likewise.
59607         * iconvdata/ibm1046.h: Likewise.
59608         * iconvdata/ibm1097.h: Likewise.
59609         * iconvdata/ibm1112.h: Likewise.
59610         * iconvdata/ibm1122.h: Likewise.
59611         * iconvdata/ibm1123.h: Likewise.
59612         * iconvdata/ibm1124.h: Likewise.
59613         * iconvdata/ibm1129.h: Likewise.
59614         * iconvdata/ibm1130.h: Likewise.
59615         * iconvdata/ibm1132.h: Likewise.
59616         * iconvdata/ibm1133.h: Likewise.
59617         * iconvdata/ibm1137.h: Likewise.
59618         * iconvdata/ibm1140.h: Likewise.
59619         * iconvdata/ibm1141.h: Likewise.
59620         * iconvdata/ibm1142.h: Likewise.
59621         * iconvdata/ibm1143.h: Likewise.
59622         * iconvdata/ibm1144.h: Likewise.
59623         * iconvdata/ibm1145.h: Likewise.
59624         * iconvdata/ibm1146.h: Likewise.
59625         * iconvdata/ibm1147.h: Likewise.
59626         * iconvdata/ibm1148.h: Likewise.
59627         * iconvdata/ibm1149.h: Likewise.
59628         * iconvdata/ibm1153.h: Likewise.
59629         * iconvdata/ibm1154.h: Likewise.
59630         * iconvdata/ibm1155.h: Likewise.
59631         * iconvdata/ibm1156.h: Likewise.
59632         * iconvdata/ibm1157.h: Likewise.
59633         * iconvdata/ibm1158.h: Likewise.
59634         * iconvdata/ibm1160.h: Likewise.
59635         * iconvdata/ibm1161.h: Likewise.
59636         * iconvdata/ibm1162.h: Likewise.
59637         * iconvdata/ibm1163.h: Likewise.
59638         * iconvdata/ibm1164.h: Likewise.
59639         * iconvdata/ibm1166.h: Likewise.
59640         * iconvdata/ibm1167.h: Likewise.
59641         * iconvdata/ibm12712.h: Likewise.
59642         * iconvdata/ibm1390.h: Likewise.
59643         * iconvdata/ibm1399.h: Likewise.
59644         * iconvdata/ibm16804.h: Likewise.
59645         * iconvdata/ibm4517.h: Likewise.
59646         * iconvdata/ibm4899.h: Likewise.
59647         * iconvdata/ibm4909.h: Likewise.
59648         * iconvdata/ibm4971.h: Likewise.
59649         * iconvdata/ibm5347.h: Likewise.
59650         * iconvdata/ibm803.h: Likewise.
59651         * iconvdata/ibm856.h: Likewise.
59652         * iconvdata/ibm901.h: Likewise.
59653         * iconvdata/ibm902.h: Likewise.
59654         * iconvdata/ibm9030.h: Likewise.
59655         * iconvdata/ibm9066.h: Likewise.
59656         * iconvdata/ibm921.h: Likewise.
59657         * iconvdata/ibm922.h: Likewise.
59658         * iconvdata/ibm9448.h: Likewise.
59659         * iconvdata/isiri-3342.h: Likewise.
59660         * iconvdata/jis0201.h: Likewise.
59661         * include/link.h: Likewise.
59662         * include/netdb.h: Likewise.
59663         * inet/check_native.c: Likewise.
59664         * inet/check_pf.c: Likewise.
59665         * inet/getipv4sourcefilter.c: Likewise.
59666         * inet/getnameinfo.c: Likewise.
59667         * inet/getsourcefilter.c: Likewise.
59668         * inet/htonl.c: Likewise.
59669         * inet/setipv4sourcefilter.c: Likewise.
59670         * inet/setsourcefilter.c: Likewise.
59671         * inet/test-inet6_opt.c: Likewise.
59672         * inet/tst-network.c: Likewise.
59673         * locale/C-collate.c: Likewise.
59674         * locale/C-ctype.c: Likewise.
59675         * locale/C-time.c: Likewise.
59676         * locale/C-translit.h: Likewise.
59677         * locale/loadarchive.c: Likewise.
59678         * locale/programs/3level.h: Likewise.
59679         * locale/programs/charmap.c: Likewise.
59680         * locale/programs/charmap.h: Likewise.
59681         * locale/programs/ld-address.c: Likewise.
59682         * locale/programs/ld-collate.c: Likewise.
59683         * locale/programs/ld-ctype.c: Likewise.
59684         * locale/programs/ld-identification.c: Likewise.
59685         * locale/programs/ld-measurement.c: Likewise.
59686         * locale/programs/ld-messages.c: Likewise.
59687         * locale/programs/ld-monetary.c: Likewise.
59688         * locale/programs/ld-name.c: Likewise.
59689         * locale/programs/ld-numeric.c: Likewise.
59690         * locale/programs/ld-paper.c: Likewise.
59691         * locale/programs/ld-telephone.c: Likewise.
59692         * locale/programs/ld-time.c: Likewise.
59693         * locale/programs/linereader.c: Likewise.
59694         * locale/programs/locale.c: Likewise.
59695         * locale/programs/locarchive.c: Likewise.
59696         * locale/programs/locfile.h: Likewise.
59697         * locale/programs/repertoire.c: Likewise.
59698         * locale/programs/simple-hash.c: Likewise.
59699         * locale/programs/simple-hash.h: Likewise.
59700         * malloc/memusage.c: Likewise.
59701         * malloc/memusagestat.c: Likewise.
59702         * nis/nis_defaults.c: Likewise.
59703         * nis/nis_hash.c: Likewise.
59704         * nis/nis_print.c: Likewise.
59705         * nis/nis_xdr.c: Likewise.
59706         * nscd/connections.c: Likewise.
59707         * nscd/hstcache.c: Likewise.
59708         * nscd/nscd_gethst_r.c: Likewise.
59709         * nscd/nscd_getserv_r.c: Likewise.
59710         * nscd/nscd_helper.c: Likewise.
59711         * nscd/servicescache.c: Likewise.
59712         * nss/makedb.c: Likewise.
59713         * nss/nss_db/db-XXX.c: Likewise.
59714         * nss/nss_db/db-initgroups.c: Likewise.
59715         * nss/nss_db/db-netgrp.c: Likewise.
59716         * nss/nss_files/files-network.c: Likewise.
59717         * nss/nss_files/files-parse.c: Likewise.
59718         * posix/bug-regex5.c: Likewise.
59719         * posix/fnmatch_loop.c: Likewise.
59720         * posix/regcomp.c: Likewise.
59721         * posix/regexec.c: Likewise.
59722         * posix/tst-rfc3484-2.c: Likewise.
59723         * posix/tst-rfc3484-3.c: Likewise.
59724         * posix/tst-rfc3484.c: Likewise.
59725         * resolv/nss_dns/dns-canon.c: Likewise.
59726         * resolv/nss_dns/dns-network.c: Likewise.
59727         * resolv/res_init.c: Likewise.
59728         * resolv/res_mkquery.c: Likewise.
59729         * resolv/tst-aton.c: Likewise.
59730         * stdlib/cxa_atexit.c: Likewise.
59731         * stdlib/cxa_finalize.c: Likewise.
59732         * stdlib/gen-fpioconst.c: Likewise.
59733         * stdlib/strtol_l.c: Likewise.
59734         * string/tst-endian.c: Likewise.
59735         * sunrpc/auth_des.c: Likewise.
59736         * sunrpc/clnt_udp.c: Likewise.
59737         * sunrpc/rtime.c: Likewise.
59738         * sunrpc/svcauth_des.c: Likewise.
59739         * sunrpc/xdr.c: Likewise.
59740         * sunrpc/xdr_intXX_t.c: Likewise.
59741         * sunrpc/xdr_rec.c: Likewise.
59742         * sysdeps/generic/ldconfig.h: Likewise.
59743         * sysdeps/generic/ldsodefs.h: Likewise.
59744         * sysdeps/generic/memusage.h: Likewise.
59745         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
59746         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
59747         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
59748         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
59749         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59750         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59751         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
59752         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
59753         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59754         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
59755         * sysdeps/posix/getaddrinfo.c: Likewise.
59756         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
59757         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
59758         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
59759         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59760         * sysdeps/powerpc/test-gettimebase.c: Likewise.
59761         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
59762         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
59763         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
59764         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
59765         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
59766         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
59767         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
59768         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
59769         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
59770         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
59771         * sysdeps/x86_64/dl-tls.h: Likewise.
59772         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
59773         * time/alt_digit.c: Likewise.
59774         * time/era.c: Likewise.
59775         * wcsmbs/tst-c16c32-1.c: Likewise.
59777 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59779         * math/libm-test.inc (struct test_sincos_data): New type.
59780         (RUN_TEST_LOOP_sincos): New macro.
59781         (sincos_test_data): New variable.
59782         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
59784 2013-05-16  Richard Henderson  <rth@redhat.com>
59786         * math/atest-exp2.c (LIMB64): New macro.
59787         (CONSTSZ): New macro.
59788         (mp_exp1, mp_exp_m1, mp_log2): New variables.
59789         (hexdig): Move ...
59790         (print_mpn_fp): ... to function scope.
59791         (read_mpn_hex): Remove.
59792         (get_log2): Remove.
59793         (exp2_mpn): Use mp_log2.
59794         (main): Use mp_exp1.
59796 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
59798         * math/libm-test.inc: Remove comment about not testing "inexact"
59799         exceptions.
59800         (INEXACT_EXCEPTION): New macro.
59801         (NO_INEXACT_EXCEPTION): Likewise.
59802         (INVALID_EXCEPTION_OK): Update value.
59803         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
59804         (OVERFLOW_EXCEPTION_OK): Likewise.
59805         (UNDERFLOW_EXCEPTION_OK): Likewise.
59806         (IGNORE_ZERO_INF_SIGN): Likewise.
59807         (ERRNO_UNCHANGED): Likewise.
59808         (ERRNO_EDOM): Likewise.
59809         (ERRNO_ERANGE): Likewise.
59810         (test_exceptions): Handle testing "inexact" exceptions.
59811         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
59812         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
59813         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
59814         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
59815         INEXACT_EXCEPTION.
59816         (rint_towardzero_test_data): Likewise.
59817         (rint_downward_test_data): Likewise.
59818         (rint_upward_test_data): Likewise.
59820         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
59821         with OVERFLOW_EXCEPTION.
59822         (exp10_test_data): Likewise.
59823         (exp2_test_data): Likewise.
59824         (expm1_test_data): Likewise.
59825         (lgamma_test_data): Likewise.
59826         (pow_test_data): Likewise.
59827         (tgamma_test_data): Likewise.
59828         (yn_test_data): Remove duplicate test of overflow.
59830         * math/libm-test.inc (struct test_cc_c_data): New type.
59831         (RUN_TEST_LOOP_cc_c): New macro.
59832         (cpow_test_data): New variable.
59833         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
59835         * math/libm-test.inc (struct test_f_L_data): New type.
59836         (RUN_TEST_LOOP_f_L): New macro.
59837         (llrint_test_data): New variable.
59838         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
59839         (llrint_tonearest_test_data): New variable.
59840         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
59841         (llrint_towardzero_test_data): New variable.
59842         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
59843         (llrint_downward_test_data): New variable.
59844         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
59845         (llrint_upward_test_data): New variable.
59846         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
59847         (llround_test_data): New variable.
59848         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
59850 2013-05-13  Peter Collingbourne  <pcc@google.com>
59852         * math/atest-exp2.c (get_log2): Remove const attribute.
59854 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59856         * math/libm-test.inc (struct test_f_l_data): New type.
59857         (RUN_TEST_LOOP_f_l): New macro.
59858         (lrint_test_data): New variable.
59859         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
59860         (lrint_tonearest_test_data): New variable.
59861         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
59862         (lrint_towardzero_test_data): New variable.
59863         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
59864         (lrint_downward_test_data): New variable.
59865         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
59866         (lrint_upward_test_data): New variable.
59867         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
59868         (lround_test_data): New variable.
59869         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
59871 2013-05-15  Peter Collingbourne  <pcc@google.com>
59873         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
59874         (EXTRACT_WORDS64) Use where appropriate.
59875         (INSERT_WORDS64) Likewise.
59877         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
59878         constraints with x constraints.
59879         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
59881         * malloc/obstack.c (_obstack_compat): Add initializer.
59883 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
59885         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
59886         si_trapno and add si_addr_lsb to _sifields.sigfault.
59887         (si_trapno): Remove macro.
59888         (si_addr_lsb): Define new macro.
59889         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
59891 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
59893         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
59894         instead of TEST_f_l.
59895         (llrint_test_tonearest): Likewise.
59896         (llrint_test_towardzero): Likewise.
59897         (llrint_test_downward): Likewise.
59898         (llrint_test_upward): Likewise.
59899         (llround_test): Likewise.
59901         * math/libm-test.inc (struct test_f_i_data): Add comment.
59902         (RUN_TEST_LOOP_f_b): New macro.
59903         (RUN_TEST_LOOP_f_b_tg): Likewise.
59904         (finite_test_data): New variable.
59905         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
59906         (isfinite_test_data): New variable.
59907         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59908         (isinf_test_data): New variable.
59909         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59910         (isnan_test_data): New variable.
59911         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59912         (isnormal_test_data): New variable.
59913         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59914         (issignaling_test_data): New variable.
59915         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59916         (signbit_test_data): New variable.
59917         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
59919         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
59920         with INVALID_EXCEPTION.
59921         (acosh_test_data): Likewise.
59922         (asin_test_data): Likewise.
59923         (atanh_test_data): Likewise.
59924         (fmod_test_data): Likewise.
59925         (log_test_data): Likewise.
59926         (log10_test_data): Likewise.
59927         (log2_test_data): Likewise.
59928         (pow_test_data): Likewise.
59929         (sqrt_test_data): Likewise.
59930         (y0_test_data): Likewise.
59931         (y1_test_data): Likewise.
59932         (yn_test_data): Likewise.
59934         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
59935         function contents.
59937         * math/libm-test.inc (struct test_ff_i_data): New type.
59938         (RUN_TEST_LOOP_ff_i_tg): New macro.
59939         (isgreater_test_data): New variable.
59940         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59941         (isgreaterequal_test_data): New variable.
59942         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59943         (isless_test_data): New variable.
59944         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59945         (islessequal_test_data): New variable.
59946         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59947         (islessgreater_test_data): New variable.
59948         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59949         (isunordered_test_data): New variable.
59950         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
59952 2013-05-14  David S. Miller  <davem@davemloft.net>
59954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59956 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
59958         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
59960         * math/libm-test.inc (struct test_fF_f1_data): Change type of
59961         extra_test to int.
59962         (struct test_f_i_data): Change type of max_ulp to int.
59964         * math/libm-test.inc (test_ffI_f1_data): New type.
59965         (RUN_TEST_LOOP_ffI_f1): New macro.
59966         (remquo_test_data): New variable.
59967         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
59969         * setjmp/tst-setjmp-fp.c: New file.
59970         * setjmp/Makefile (tests): Add tst-setjmp-fp.
59971         (link-libm): New variable.
59972         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
59974         * math/libm-test.inc (struct test_f_i_data): New type.
59975         (RUN_TEST_LOOP_f_i): New macro.
59976         (RUN_TEST_LOOP_f_i_tg): Likewise.
59977         (fpclassify_test_data): New variable.
59978         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
59979         (ilogb_test_data): New variable.
59980         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
59982         * math/libm-test.inc (scalbln_test): Correct function name in END
59983         call.
59985         * math/libm-test.inc (struct test_f_f1_data): Add comment.
59986         (RUN_TEST_LOOP_fI_f1): New macro.
59987         (frexp_test_data): New variable.
59988         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
59990         * math/libm-test.inc (struct test_fF_f1_data): New type.
59991         (RUN_TEST_LOOP_fF_f1): New macro.
59992         (modf_test_data): New variable.
59993         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
59995         * math/libm-test.inc (struct test_f_f1_data): New type.
59996         (RUN_TEST_LOOP_f_f1): New macro.
59997         (gamma_test_data): New variable.
59998         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
59999         (lgamma_test_data): New variable.
60000         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
60002 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
60004         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
60005         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
60006         (main): Comment "tls" pseudo-hwcap.
60008 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
60010         * math/libm-test.inc (struct test_fl_f_data): New type.
60011         (RUN_TEST_LOOP_fl_f): New variable.
60012         (scalbln_test_data): New variable.
60013         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
60015         * math/libm-test.inc (struct test_fi_f_data): New type.
60016         (RUN_TEST_LOOP_fi_f): New macro.
60017         (ldexp_test_data): New variable.
60018         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
60019         (scalbn_test_data): New variable.
60020         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
60022         * math/libm-test.inc (struct test_c_f_data): New type.
60023         (RUN_TEST_LOOP_c_f): New macro.
60024         (cabs_test_data): New variable.
60025         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
60026         (carg_test_data): New variable.
60027         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
60028         (cimag_test_data): New variable.
60029         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
60030         (creal_test_data): New variable.
60031         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
60033         * math/libm-test.inc (struct test_if_f_data): New type.
60034         (RUN_TEST_LOOP_if_f): New macro.
60035         (jn_test_data): New variable.
60036         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
60037         (yn_test_data): New variable.
60038         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
60040         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
60042 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60044         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
60045         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
60047 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60049         * benchtests/Makefile (CPPFLAGS-nonlib): Add
60050         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
60051         (bench-deps): Add bench-timing.h.
60052         * benchtests-bench-skeleton.c: Include bench-timing.h.
60053         (main): Use TIMING_* macros instead of clock_gettime.
60054         * benchtests/bench-timing.h: New file.
60056         [BZ #14582]
60057         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
60058         Renamed from _LIB_VERSION.
60059         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
60061 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
60063         * math/libm-test.inc (struct test_fff_f_data): New type.
60064         (RUN_TEST_LOOP_fff_f): New macro.
60065         (fma_test_data): New variable.
60066         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
60067         (fma_towardzero_test_data): New variable.
60068         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
60069         (fma_downward_test_data): New variable.
60070         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
60071         (fma_upward_test_data): New variable.
60072         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
60074         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
60075         (struct test_c_c_data): New type.
60076         (RUN_TEST_LOOP_c_c): New macro.
60077         (cacos_test_data): New variable.
60078         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
60079         (cacosh_test_data): New variable.
60080         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
60081         (casin_test_data): New variable.
60082         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
60083         (casinh_test_data): New variable.
60084         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
60085         (catan_test_data): New variable.
60086         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
60087         (catanh_test_data): New variable.
60088         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
60089         (ccos_test_data): New variable.
60090         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
60091         (ccosh_test_data): New variable.
60092         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
60093         (cexp_test_data): New variable.
60094         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
60095         (clog_test_data): New variable.
60096         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
60097         (clog10_test_data): New variable.
60098         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
60099         (conj_test_data): New variable.
60100         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
60101         (cproj_test_data): New variable.
60102         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
60103         (csin_test_data): New variable.
60104         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
60105         (csinh_test_data): New variable.
60106         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
60107         (csqrt_test_data): New variable.
60108         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
60109         (ctan_test_data): New variable.
60110         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
60111         (ctan_tonearest_test_data): New variable.
60112         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60113         (ctan_towardzero_test_data): New variable.
60114         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60115         (ctan_downward_test_data): New variable.
60116         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60117         (ctan_upward_test_data): New variable.
60118         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60119         (ctanh_test_data): New variable.
60120         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
60121         (ctanh_tonearest_test_data): New variable.
60122         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
60123         (ctanh_towardzero_test_data): New variable.
60124         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
60125         (ctanh_downward_test_data): New variable.
60126         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
60127         (ctanh_upward_test_data): New variable.
60128         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
60129         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
60130         of BUILD_COMPLEX.
60132         * math/libm-test.inc (struct test_ff_f_data): New type.
60133         (struct test_ff_f_data_nexttoward): Likewise.
60134         (RUN_TEST_LOOP_2_f): New macro.
60135         (RUN_TEST_LOOP_ff_f): Likewise.
60136         (atan2_test_data): New variable.
60137         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
60138         (copysign_test_data): New variable.
60139         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
60140         (fdim_test_data): New variable.
60141         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
60142         (fmax_test_data): New variable.
60143         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
60144         (fmin_test_data): New variable.
60145         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
60146         (fmod_test_data): New variable.
60147         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
60148         (hypot_test_data): New variable.
60149         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
60150         (nextafter_test_data): New variable.
60151         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
60152         (nexttoward_test_data): New variable.
60153         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
60154         (pow_test_data): New variable.
60155         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
60156         (pow_tonearest_test_data): New variable.
60157         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
60158         (pow_towardzero_test_data): New variable.
60159         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
60160         (pow_downward_test_data): New variable.
60161         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
60162         (pow_upward_test_data): New variable.
60163         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
60164         (remainder_test_data): New variable.
60165         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
60166         (scalb_test_data): New variable.
60167         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
60168         * sysdeps/i386/fpu/libm-test-ulps: Update.
60170 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
60172         * math/libm-test.inc (fma_test): Use max_value instead of local
60173         variable fltmax.
60174         (nextafter_test): Likewise.
60176         * math/libm-test.inc (acos_towardzero_test_data): New variable.
60177         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60178         (acos_downward_test_data): New variable.
60179         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60180         (acos_upward_test_data): New variable.
60181         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60182         (acosh_test_data): New variable.
60183         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
60184         (asin_test_data): New variable.
60185         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
60186         (asin_tonearest_test_data): New variable.
60187         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60188         (asin_towardzero_test_data): New variable.
60189         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60190         (asin_downward_test_data): New variable.
60191         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60192         (asin_upward_test_data): New variable.
60193         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60194         (asinh_test_data): New variable.
60195         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
60196         (atan_test_data): New variable.
60197         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
60198         (atanh_test_data): New variable.
60199         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
60200         (cbrt_test_data): New variable.
60201         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
60202         (ceil_test_data): New variable.
60203         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
60204         (cos_test_data): New variable.
60205         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
60206         (cos_tonearest_test_data): New variable.
60207         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60208         (cos_towardzero_test_data): New variable.
60209         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60210         (cos_downward_test_data): New variable.
60211         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60212         (cos_upward_test_data): New variable.
60213         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60214         (cosh_test_data): New variable.
60215         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
60216         (cosh_tonearest_test_data): New variable.
60217         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60218         (cosh_towardzero_test_data): New variable.
60219         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60220         (cosh_downward_test_data): New variable.
60221         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60222         (cosh_upward_test_data): New variable.
60223         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60224         (erf_test_data): New variable.
60225         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
60226         (erfc_test_data): New variable.
60227         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
60228         (exp_test_data): New variable.
60229         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
60230         (exp_tonearest_test_data): New variable.
60231         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60232         (exp_towardzero_test_data): New variable.
60233         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60234         (exp_downward_test_data): New variable.
60235         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60236         (exp_upward_test_data): New variable.
60237         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60238         (exp10_test_data): New variable.
60239         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
60240         (exp2_test_data): New variable.
60241         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
60242         (expm1_test_data): New variable.
60243         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
60244         (fabs_test_data): New variable.
60245         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
60246         (floor_test_data): New variable.
60247         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
60248         (j0_test_data): New variable.
60249         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
60250         (j1_test_data): New variable.
60251         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
60252         (log_test_data): New variable.
60253         (log_test): Run tests with RUN_TEST_LOOP_f_f.
60254         (log10_test_data): New variable.
60255         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
60256         (log1p_test_data): New variable.
60257         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
60258         (log2_test_data): New variable.
60259         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
60260         (logb_test_data): New variable.
60261         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
60262         (logb_downward_test_data): New variable.
60263         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60264         (nearbyint_test_data): New variable.
60265         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
60266         (rint_test_data): New variable.
60267         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
60268         (rint_tonearest_test_data): New variable.
60269         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60270         (rint_towardzero_test_data): New variable.
60271         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60272         (rint_downward_test_data): New variable.
60273         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60274         (rint_upward_test_data): New variable.
60275         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60276         (round_test_data): New variable.
60277         (round_test): Run tests with RUN_TEST_LOOP_f_f.
60278         (sin_test_data): New variable.
60279         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
60280         (sin_tonearest_test_data): New variable.
60281         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60282         (sin_towardzero_test_data): New variable.
60283         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60284         (sin_downward_test_data): New variable.
60285         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60286         (sin_upward_test_data): New variable.
60287         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60288         (sinh_test_data): New variable.
60289         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
60290         (sinh_tonearest_test_data): New variable.
60291         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60292         (sinh_towardzero_test_data): New variable.
60293         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60294         (sinh_downward_test_data): New variable.
60295         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60296         (sinh_upward_test_data): New variable.
60297         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60298         (sqrt_test_data): New variable.
60299         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
60300         (tan_test_data): New variable.
60301         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
60302         (tan_tonearest_test_data): New variable.
60303         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60304         (tan_towardzero_test_data): New variable.
60305         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
60306         (tan_downward_test_data): New variable.
60307         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
60308         (tan_upward_test_data): New variable.
60309         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
60310         (tanh_test_data): New variable.
60311         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
60312         (tgamma_test_data): New variable.
60313         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
60314         (trunc_test_data): New variable.
60315         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
60316         (y0_test_data): New variable.
60317         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
60318         (y1_test_data): New variable.
60319         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
60320         (significand_test_data): New variable.
60321         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
60323 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
60325         [BZ #12387]
60326         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
60328 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
60330         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
60332 2013-05-10  Andreas Jaeger  <aj@suse.de>
60334         [BZ #15448]
60335         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
60336         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
60338 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60340         * math/gen-libm-test.pl (adjust_arg): New function.
60341         (special_functions): Handle generating output in both functions
60342         and arrays.
60343         (parse_args): Likewise.
60344         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
60345         $in_func argument to parse_args.
60346         * math/libm-test.inc (struct test_f_f_data): New type.
60347         (IF_ROUND_INIT_): New macro.
60348         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
60349         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
60350         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
60351         (IF_ROUND_INIT_FE_UPWARD): Likewise.
60352         (ROUND_RESTORE_): Likewise.
60353         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
60354         (ROUND_RESTORE_FE_TONEAREST): Likewise.
60355         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
60356         (ROUND_RESTORE_FE_UPWARD): Likewise.
60357         (RUN_TEST_LOOP_f_f): New macro.
60358         (acos_test_data): New variable.
60359         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
60360         (acos_tonearest_test_data): New variable.
60361         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
60363 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
60365         * benchtests/bench-skeleton.c (startup): Fix coding style.
60367 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
60369         [BZ #6809]
60370         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
60371         negative infinity argument.
60372         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
60373         negative infinity argument.
60374         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
60375         negative infinity argument.
60376         * math/libm-test.inc (tgamma_test): Expect errno to be set for
60377         domain errors.
60379 2013-05-10  Florian Weimer  <fweimer@redhat.com>
60381         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
60382         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
60383         * iconv/iconv_prog.c (main): Likewise.
60384         * locale/programs/charmap-dir.c (charmap_readdir)
60385         (fopen_uncompressed): Likewise.
60386         * locale/programs/locfile.c (siblings_uncached)
60387         (write_locale_data): Use lstat64 instead of lstat.
60388         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
60389         stat.
60391 2013-05-10  Andreas Jaeger  <aj@suse.de>
60393         [BZ #15395]
60394         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
60395         localization.
60396         Include <locale.h>.
60398 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
60400         * elf/dl-close.c (_dl_close_worker): Add comments.
60402 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
60404         [BZ #15359]
60405         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
60406         high part of pi/2.
60407         (__ieee754_rem_pio2l): Update comments.
60409         [BZ #15429]
60410         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
60411         high part of pi/2.
60412         (__ieee754_rem_pio2l): Update comments.
60414         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
60415         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
60417         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
60418         M_PI_4l.
60420         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
60421         (M_PI_34_LOG10El): Likewise.
60422         (M_PI2_LOG10El): Likewise.
60423         (M_PI4_LOG10El): Likewise.
60424         (M_PI_LOG10El): Likewise.
60426 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60428         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60430 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
60432         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
60433         (MINUS_ZERO_INIT): Likewise.
60434         (PLUS_INFTY_INIT): Likewise.
60435         (MINUS_INFTY_INIT): Likewise.
60436         (QNAN_VALUE_INIT): Likewise.
60437         (MAX_VALUE_INIT): Likewise.
60438         (MIN_VALUE_INIT): Likewise.
60439         (MIN_SUBNORM_VALUE_INIT): Likewise.
60440         (plus_zero): Initialize with PLUS_ZERO_INIT.
60441         (minus_zero): Initialize with MINUS_ZERO_INIT.
60442         (plus_infty): Initialize with PLUS_INFTY_INIT.
60443         (minus_infty): Initialize with MINUS_INFTY_INIT.
60444         (qnan_value): Initialize with QNAN_VALUE_INIT.
60445         (max_value): Initialize with MAX_VALUE_INIT.
60446         (min_value): Initialize with MIN_VALUE_INIT.
60447         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
60449         * math/libm-test.inc (RUN_TEST_if_f): New macro.
60450         (jn_test): Use TEST_if_f instead of TEST_ff_f.
60451         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
60452         (yn_test): Use TEST_if_f instead of TEST_ff_f.
60454         * math/libm-test.inc (RUN_TEST_f_f): New macro.
60455         (RUN_TEST_2_f): Likewise.
60456         (RUN_TEST_ff_f): Likewise.
60457         (RUN_TEST_fi_f): Likewise.
60458         (RUN_TEST_fl_f): Likewise.
60459         (RUN_TEST_fff_f): Likewise.
60460         (RUN_TEST_c_f): Likewise.
60461         (RUN_TEST_f_f1): Likewise.
60462         (RUN_TEST_fF_f1): Likewise.
60463         (RUN_TEST_fI_f1): Likewise.
60464         (RUN_TEST_ffI_f1): Likewise.
60465         (RUN_TEST_c_c): Likewise.
60466         (RUN_TEST_cc_c): Likewise.
60467         (RUN_TEST_f_i): Likewise.
60468         (RUN_TEST_f_i_tg): Likewise.
60469         (RUN_TEST_ff_i_tg): Likewise.
60470         (RUN_TEST_f_b): Likewise.
60471         (RUN_TEST_f_b_tg): Likewise.
60472         (RUN_TEST_f_l): Likewise.
60473         (RUN_TEST_f_L): Likewise.
60474         (RUN_TEST_sincos): Likewise.
60475         * math/gen-libm-test.pl (new_test): Take new argument to indicate
60476         whether to show exceptions.  Do not include ");\n" in return
60477         value.
60478         (special_functions): Output call to RUN_TEST_sincos instead of
60479         check_float calls.  Update calls to new_test.
60480         (parse_args): Output call to single RUN_TEST_* macro instead of
60481         check_* calls and other assignments.  Update calls to new_test.
60483         [BZ #2546]
60484         [BZ #2560]
60485         [BZ #5159]
60486         [BZ #15426]
60487         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
60488         input to result for tgamma overflow.
60489         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
60490         (gamma_coeff): New variable.
60491         (NCOEFF): New macro.
60492         (gamma_positive): New function.
60493         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
60494         underflow here.  Use gamma_positive instead of exp (lgamma) for
60495         other arguments.
60496         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
60497         (gamma_coeff): New variable.
60498         (NCOEFF): New macro.
60499         (gammaf_positive): New function.
60500         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
60501         underflow here.  Use gamma_positive instead of exp (lgamma) for
60502         other arguments.
60503         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
60504         (gamma_coeff): New variable.
60505         (NCOEFF): New macro.
60506         (gammal_positive): New function.
60507         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
60508         underflow here.  Use gamma_positive instead of exp (lgamma) for
60509         other arguments.
60510         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
60511         (gamma_coeff): New variable.
60512         (NCOEFF): New macro.
60513         (gammal_positive): New function.
60514         (__ieee754_gammal_r): Handle positive infinity, overflow and
60515         underflow here.  Handle NaN the same as positive infinity.  Remove
60516         check x < 0xffffffff for negative integers.  Use gamma_positive
60517         instead of exp (lgamma) for other arguments.
60518         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
60519         (gamma_coeff): New variable.
60520         (NCOEFF): New macro.
60521         (gammal_positive): New function.
60522         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
60523         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
60524         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
60525         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
60526         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
60527         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
60528         * sysdeps/generic/math_private.h (__gamma_productf): New
60529         prototype.
60530         (__gamma_product): Likewise.
60531         (__gamma_productl): Likewise.
60532         * math/Makefile (libm-calls): Add gamma_product.
60533         * math/libm-test.inc (tgamma_test): Add more tests.
60534         * sysdeps/i386/fpu/libm-test-ulps: Update.
60535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60537 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
60539         * benchtests/bench-skeleton.c (main): Preheat CPU.
60541 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
60543         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
60545 2013-05-07  Roland McGrath  <roland@hack.frob.com>
60547         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
60548         and _dl_skip_args_internal.
60550 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
60552         * manual/message.texi (Message Translation): Talk about users.
60553         Message to key mapping impacts design.
60555 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60557         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
60559         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
60561         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
60562         * sysdeps/wordsize-64/glob64.c: ... here.
60564         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
60565         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
60566         New macros.
60568         * debug/getlogin_r_chk.c: Moved to ...
60569         * login/getlogin_r_chk.c: ... here.
60570         * debug/Makefile (routines): Move getlogin_r_chk to ...
60571         * login/Makefile (routines): ... here.
60572         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
60573         * login/Versions (libc: GLIBC_2.4): ... here.
60575         * io/poll.c (__poll): Renamed from poll.
60576         Add libc_hidden_def.
60577         (poll): Define as weak alias.
60579         * debug/ptsname_r_chk.c: Moved to ...
60580         * login/ptsname_r_chk.c: ... here.
60581         * debug/Makefile (routines): Move ptsname_r_chk to ...
60582         * login/Makefile (routines): ... here.
60583         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
60584         * login/Versions (libc: GLIBC_2.4): ... here.
60586         * posix/getlogin.c: Moved to ...
60587         * login/getlogin.c: ... here.
60588         * posix/getlogin_r.c: Moved to ...
60589         * login/getlogin_r.c: ... here.
60590         * posix/getlogin_r.c: Moved to ...
60591         * login/getlogin_r.c: ... here.
60592         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
60593         * login/Makefile (routines): ... here.
60594         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
60595         * login/Versions (libc: GLIBC_2.0): ... here.
60597         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
60598         (setrlimit): Define as weak alias.
60600         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
60601         Call __ names for open, ftruncate, and close.
60602         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
60603         (truncate): Define as weak alias.
60605 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
60607         * math/gen-libm-test.pl (parse_args): Initialize x before each
60608         test of frexp, modf and remquo.
60610         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
60611         test signgam value.
60613 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60615         [BZ #15418]
60616         [BZ #15419]
60617         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
60618         internal tests.
60619         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60621 2013-05-06  Roland McGrath  <roland@hack.frob.com>
60623         * elf/dl-writev.h: New file.
60624         * elf/dl-misc.c: Include it.
60625         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
60626         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
60628 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
60630         * math/libm-test.inc (noXFails): Remove variable.
60631         (noXPasses): Likewise.
60632         (BUILD_COMPLEX_INT): Remove macro.
60633         (print_screen): Remove xfail argument.
60634         (print_screen_max_error): Likewise.
60635         (update_stats): Likewise.
60636         (print_max_error): Likewise.  Update calls to other affected
60637         functions.
60638         (print_complex_max_error): Likewise.
60639         (test_single_exception): Update calls to print_screen.
60640         (test_single_errno): Likewise.
60641         (check_float_internal): Remove xfail argument.  Update calls to
60642         other affected functions.
60643         (check_float): Likewise.
60644         (check_complex): Likewise.
60645         (check_int): Likewise.
60646         (check_long): Likewise.
60647         (check_bool): Likewise.
60648         (check_longlong): Likewise.
60649         (main): Don't print noXFails and noXPasses.
60650         * math/gen-libm-test.pl (top level): Don't mention expected
60651         failure handling in comment.
60652         (new_test): Don't handle expected failures.
60653         (parse_args): Don't mention expected failure handling in comment.
60654         (generate_testfile): Don't handle expected failures.
60655         (parse_ulps): Likewise.
60656         (print_ulps_file): Likewise.
60657         (get_failure): Remove function.
60658         (output_test): Don't handle expected failures.
60659         * make/README.libm-test: Don't mention expected failure handling.
60661         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
60662         (minus_zero): Likewise.
60663         (plus_infty): Likewise.
60664         (minus_infty): Likewise.
60665         (qnan_value): Likewise.
60666         (max_value): Likewise.
60667         (min_value): Likewise.
60668         (min_subnorm_value): Likewise.
60669         (initialize): Do not initialize those variables dynamically.
60671 2013-05-03  Roland McGrath  <roland@hack.frob.com>
60673         * io/open.c (__open_2): Moved to ...
60674         * io/open_2.c: ... this new file.
60675         * io/open64.c (__open64_2): Moved to ...
60676         * io/open64_2.c: ... this new file.
60677         * io/openat.c (__openat_2): Moved to ...
60678         * io/openat_2.c: ... this new file.
60679         * io/openat64.c (__openat64_2): Moved to ...
60680         * io/openat64_2.c: ... this new file.
60681         * io/Makefile (routines): Add them.
60682         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
60683         * sysdeps/unix/sysv/linux/open_2.c: File removed.
60684         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
60685         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
60686         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
60687         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
60688         (__openat64): Add hidden_ver.
60689         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
60690         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
60692         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
60693         Separately conditionalize setting of GLRO(dl_sysinfo) so
60694         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
60695         as well, but the actual setting is only under [NEED_DL_SYSINFO].
60697 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60699         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
60700         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
60701         definition.
60702         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
60703         * sysdeps/unix/sysv/linux/powerpc/init-first.c
60704         (_libc_vdso_platform_setup): Add __vdso_time initialization.
60705         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
60706         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
60708 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
60710         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
60711         test signgam value.
60713         * math/libm-test.inc (hypot_test): Do not use
60714         IGNORE_ZERO_INF_SIGN.
60716 2013-05-03  Andreas Jaeger  <aj@suse.de>
60718         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
60719         Linux 3.9.
60720         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
60721         (PF_MAX): Adjust for VSOCK change.
60723 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60727 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
60729         [BZ #15264]
60730         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
60731         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
60732         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
60734 2013-05-02  David S. Miller  <davem@davemloft.net>
60736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60738 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
60740         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
60742 2013-05-01  Roland McGrath  <roland@hack.frob.com>
60744         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
60746 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
60748         [BZ #14952]
60749         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
60750         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60751         Use __attribute__ ((__gnu_inline__)).
60752         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
60753         Don't use __attribute__ ((__gnu_inline__)).
60755 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
60757         [BZ #15423]
60758         * math/s_catan.c (__catan): Handle small real or imaginary part of
60759         input specially to avoid spurious underflow.
60760         * math/s_catanf.c (__catanf): Likewise.
60761         * math/s_catanh.c (__catanh): Likewise.
60762         * math/s_catanhf.c (__catanhf): Likewise.
60763         * math/s_catanhl.c (__catanhl): Likewise.
60764         * math/s_catanl.c (__catanl): Likewise.
60765         * math/libm-test.inc (catan_test): Add more tests.
60766         (catanh_test): Likewise.
60767         * sysdeps/i386/fpu/libm-test-ulps: Update.
60768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60770 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60774 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
60776         [BZ #15416]
60777         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
60778         accurately for denominator in atan2.
60779         * math/s_catanf.c (__catanf): Likewise.
60780         * math/s_catanh.c (__catanh): Likewise.
60781         * math/s_catanhf.c (__catanhf): Likewise.
60782         * math/s_catanhl.c (__catanhl): Likewise.
60783         * math/s_catanl.c (__catanl): Likewise.
60784         * math/libm-test.inc (catan_test): Add more tests.
60785         (catanh_test): Likewise.
60786         * sysdeps/i386/fpu/libm-test-ulps: Update.
60787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60789 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60791         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
60793         * benchtests/Makefile (bench): Remove slow benchmarks.
60794         * benchtests/atan-inputs: Add slow benchmark inputs.
60795         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
60796         (BENCH_FUNC): Accept variant offset.
60797         (VARIANT): Define.
60798         * benchtests/bench-skeleton.c (main): Run benchmark for each
60799         variant.
60800         * benchtests/cos-inputs: Add slow benchmark inputs.
60801         * benchtests/exp-inputs: Likewise.
60802         * benchtests/pow-inputs: Likewise.
60803         * benchtests/sin-inputs: Likewise.
60804         * benchtests/slowatan-inputs: Remove.
60805         * benchtests/slowatan.c: Remove.
60806         * benchtests/slowcos-inputs: Remove.
60807         * benchtests/slowcos.c: Remove.
60808         * benchtests/slowexp-inputs: Remove.
60809         * benchtests/slowexp.c: Remove.
60810         * benchtests/slowpow-inputs: Remove.
60811         * benchtests/slowpow.c: Remove.
60812         * benchtests/slowsin-inputs: Remove.
60813         * benchtests/slowsin.c: Remove.
60814         * benchtests/slowtan-inputs: Remove.
60815         * benchtests/slowtan.c: Remove.
60816         * benchtests/tan-inputs: Add slow benchmark inputs.
60817         * scripts/bench.pl: Parse comments and directives.
60819         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
60820         in CPPFLAGS.
60821         ($(objpfx)bench-%.c): Remove *-ITER.
60822         * benchtests/bench-modf.c: Remove definition of ITER.
60823         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
60824         (main): Loop for DURATION seconds instead of fixed number of
60825         iterations.
60826         * scripts/bench.pl: Don't expect iterations in parameters.
60828 2013-04-29  Roland McGrath  <roland@hack.frob.com>
60830         * io/fchdir.c (__fchdir): Renamed from fchdir.
60831         (fchdir): Define as weak alias.
60833 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60835         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
60836         (ERRNO_EDOM): Likewise.
60837         (ERRNO_ERANGE): Likewise.
60838         (noErrnoTests): New variable.
60839         (init_max_error): Set errno to 0.
60840         (test_single_errno): New function.
60841         (test_errno): Likewise.
60842         (check_float_internal): Call test_errno.  Set errno to 0.
60843         (check_complex): Refer to errno tests in comment.
60844         (check_int): Call test_errno.  Set errno to 0.
60845         (check_long): Likewise.
60846         (check_bool): Likewise.
60847         (check_longlong): Likewise.
60848         (cos_test): Use ERRNO_* flags for errno tests instead of
60849         check_int.
60850         (expm1_test): Likewise.
60851         (fmod_test): Likewise.
60852         (ilogb_test): Likewise.
60853         (lgamma_test): Likewise.
60854         (pow_test): Likewise.
60855         (remainder_test): Likewise.
60856         (sin_test): Likewise.
60857         (tan_test): Likewise.
60858         (yn_test): Likewise.
60859         (initialize): Set errno to 0.
60860         (main): Print number of errno tests.
60861         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
60863 2013-04-29  Andreas Jaeger  <aj@suse.de>
60865         [BZ #15084]
60866         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
60867         and RES_USEVC.
60869         [BZ #15085]
60870         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
60871         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
60872         unimplemented.
60874         [BZ #15380]
60875         * stdlib/random.c (__initstate): Return NULL if
60876         __initstate fails.
60878         [BZ #15086]
60879         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
60880         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
60881         RES_SNGLKUPREOP.
60883 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60887 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
60889         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
60890         of individual tests.
60891         (casin_test): Likewise.
60892         (casinh_test): Likewise.
60894 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
60896         [BZ #15409]
60897         * math/s_catan.c (__catan): Handle arguments with large real or
60898         imaginary part separately without squaring.
60899         * math/s_catanf.c (__catanf): Likewise.
60900         * math/s_catanh.c (__catanh): Likewise.
60901         * math/s_catanhf.c (__catanhf): Likewise.
60902         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60903         and redefine.
60904         (__catanhl): Handle arguments with large real or imaginary part
60905         separately without squaring.
60906         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
60907         and redefine.
60908         (__catanl): Handle arguments with large real or imaginary part
60909         separately without squaring.
60910         * math/libm-test.inc (catan_test): Add more tests.
60911         (catanh_test): Likewise.
60912         * sysdeps/i386/fpu/libm-test-ulps: Update.
60913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60915 2013-04-27  Andreas Jaeger  <aj@suse.de>
60917         [BZ #15007]
60918         * stdlib/stdlib.h: Update guards for qecvt.
60919         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
60920         <stdlib.h>.
60922 2013-04-27  Allan McRae  <allan@archlinux.org>
60924         * sysdeps/i386/fpu/libm-test-ulps: Update.
60926 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
60928         [BZ #15406]
60929         * math/s_catan.c: Include <float.h>.
60930         (__catan): Ensure underflow exception occurs for underflowed
60931         result.
60932         * math/s_catanf.c: Include <float.h>.
60933         (__catanf): Ensure underflow exception occurs for underflowed
60934         result.
60935         * math/s_catanh.c: Include <float.h>.
60936         (__catanh): Ensure underflow exception occurs for underflowed
60937         result.
60938         * math/s_catanhf.c: Include <float.h>.
60939         (__catanhf): Ensure underflow exception occurs for underflowed
60940         result.
60941         * math/s_catanhl.c: Include <float.h>.
60942         (__catanhl): Ensure underflow exception occurs for underflowed
60943         result.
60944         * math/s_catanl.c: Include <float.h>.
60945         (__catanl): Ensure underflow exception occurs for underflowed
60946         result.
60947         * math/libm-test.inc (catan_test): Add more tests.
60948         (catanh_test): Likewise.
60950         [BZ #15405]
60951         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
60952         underflowed result.
60953         * math/s_ccoshf.c (__ccoshf): Likewise.
60954         * math/s_ccoshl.c (__ccoshl): Likewise.
60955         * math/s_csin.c (__csin): Likewise.
60956         * math/s_csinf.c (__csinf): Likewise.
60957         * math/s_csinh.c (__csinh): Likewise.
60958         * math/s_csinhf.c (__csinhf): Likewise.
60959         * math/s_csinhl.c (__csinhl): Likewise.
60960         * math/s_csinl.c (__csinl): Likewise.
60961         * math/libm-test.inc (ccos_test): Add more tests.
60962         (ccosh_test): Likewise.
60963         (csin_test): Likewise.
60964         (csinh_test): Likewise.
60966 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60968         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
60969         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
60970         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
60971         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
60972         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
60973         powerpc/power5+/fpu folders.
60974         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
60977 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
60979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60981 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
60983         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
60984         additions to variable.
60985         [$(config-machine) = x86_64] (modules-names): Likewise.
60986         ($(objpfx)tst-audit3): Remove dependency.
60987         ($(objpfx)tst-audit3.out): Likewise.
60988         ($(objpfx)tst-audit4): Likewise.
60989         ($(objpfx)tst-audit4.out): Likewise.
60990         ($(objpfx)tst-audit5): Likewise.
60991         ($(objpfx)tst-audit5.out): Likewise.
60992         ($(objpfx)tst-audit6): Likewise.
60993         ($(objpfx)tst-audit6.out): Likewise.
60994         ($(objpfx)tst-audit7): Likewise.
60995         ($(objpfx)tst-audit7.out): Likewise.
60996         (tst-audit3-ENV): Remove variable.
60997         (tst-audit4-ENV): Likewise.
60998         (tst-audit5-ENV): Likewise.
60999         (tst-audit6-ENV): Likewise.
61000         (tst-audit7-ENV): Likewise.
61001         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
61002         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
61003         addition to variable.
61004         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
61005         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
61006         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
61007         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
61008         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
61009         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
61010         tst-audit3, tst-audit4 and tst-audit5.
61011         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
61012         tst-audit6 and tst-audit7.
61013         [$(subdir) = elf] (modules-names): Add audit modules for those
61014         tests.
61015         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
61016         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
61017         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
61018         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
61019         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
61020         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
61021         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
61022         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
61023         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
61024         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
61025         [$(subdir) = elf] (tst-audit3-ENV): New variable.
61026         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
61027         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
61028         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
61029         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
61030         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
61031         Likewise.
61032         [$(subdir) = elf && $(config-cflags-avx) = yes]
61033         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
61034         [$(subdir) = elf && $(config-cflags-avx) = yes]
61035         (CFLAGS-tst-auditmod4a.c): Likewise.
61036         [$(subdir) = elf && $(config-cflags-avx) = yes]
61037         (CFLAGS-tst-auditmod4b.c): Likewise.
61038         [$(subdir) = elf && $(config-cflags-avx) = yes]
61039         (CFLAGS-tst-auditmod6b.c): Likewise.
61040         [$(subdir) = elf && $(config-cflags-avx) = yes]
61041         (CFLAGS-tst-auditmod6c.c): Likewise.
61042         [$(subdir) = elf && $(config-cflags-avx) = yes]
61043         (CFLAGS-tst-auditmod7b.c): Likewise.
61044         * elf/tst-audit3.c: Move to ...
61045         * sysdeps/x86_64/tst-audit3.c: ... here.
61046         * elf/tst-audit4.c: Move to ...
61047         * sysdeps/x86_64/tst-audit4.c: ... here.
61048         * elf/tst-audit5.c: Move to ...
61049         * sysdeps/x86_64/tst-audit5.c: ... here.
61050         * elf/tst-audit6.c: Move to ...
61051         * sysdeps/x86_64/tst-audit6.c: ... here.
61052         * elf/tst-audit7.c: Move to ...
61053         * sysdeps/x86_64/tst-audit7.c: ... here.
61054         * elf/tst-auditmod3a.c: Move to ...
61055         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
61056         * elf/tst-auditmod3b.c: Move to ...
61057         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
61058         * elf/tst-auditmod4a.c: Move to ...
61059         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
61060         * elf/tst-auditmod4b.c: Move to ...
61061         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
61062         * elf/tst-auditmod5a.c: Move to ...
61063         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
61064         * elf/tst-auditmod5b.c: Move to ...
61065         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
61066         * elf/tst-auditmod6a.c: Move to ...
61067         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
61068         * elf/tst-auditmod6b.c: Move to ...
61069         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
61070         * elf/tst-auditmod6c.c: Move to ...
61071         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
61072         * elf/tst-auditmod7a.c: Move to ...
61073         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
61074         * elf/tst-auditmod7b.c: Move to ...
61075         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
61077 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
61079         [BZ #15366]
61080         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
61081         define unconditionally.
61082         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
61083         define unconditionally.
61084         (INT8_C, INT16_C, etc.): Likewise.
61086 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
61088         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
61089         __ehdr_start with hidden visibility.
61091         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
61093 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
61095         * math/libm-test.inc (cos_test): Use accurate hex constants.
61096         (sincost_test): Likewise.
61098 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
61100         * math/libm-test.inc (catan_test): Add more tests.
61101         (catanh_test): Likewise.
61103         * math/s_catanf.c (__catanf): Use suffixed floating-point
61104         constants.
61105         * math/s_catanhf.c (__catanhf): Likewise.
61106         * math/s_catanhl.c (__catanhl): Likewise.
61107         * math/s_catanl.c (__catanl): Likewise.
61109         [BZ #15394]
61110         * math/s_catan.c (__catan): Calculate imaginary part of result
61111         with log1p not log unless computing log of number close to 0.
61112         * math/s_catanf.c (__catanf): Likewise.
61113         * math/s_catanl.c (__catanl): Likewise.
61114         * math/s_catanh.c (__catanh): Calculate real part of result with
61115         log1p not log unless computing log of number close to 0.
61116         * math/s_catanhf.c (__catanhf): Likewise.
61117         * math/s_catanhl.c (__catanhl): Likewise.
61118         * math/libm-test.inc (catan_test): Add more tests.
61119         (catanh_test): Likewise.
61120         * sysdeps/i386/fpu/libm-test-ulps: Update.
61121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61123 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61125         * benchtests/Makefile: Mention files in which fast and slow
61126         paths of math functions are implemented.
61128 2013-04-23  Roland McGrath  <roland@hack.frob.com>
61130         * sysdeps/posix/timespec_get.c: New file.
61132 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61134         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
61135         POWER.
61136         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
61137         for POWER.
61138         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
61139         powerpc/power5/fpu folders.
61140         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
61141         * benchtests/Makefile: Add modf testcase.
61142         * benchtests/bench-modf.c: New file: Benchmark test for mo
61144 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
61146         [BZ #14888]
61147         * time/Makefile (tests): Add tst-strptime-whitespace.
61148         * time/strptime_l.c (get_number): Use ISSPACE.
61149         (__strptime_internal): Likewise.
61150         * time/tst-strptime-whitespace.c: New test case.
61152 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
61154         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
61155         member.
61156         (_nss_files_init): Set it here.
61158 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
61160         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
61161         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
61162         unsigned.
61164 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
61166         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
61168 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
61170         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
61171         size just once.
61173 2013-04-21  David S. Miller  <davem@davemloft.net>
61175         * po/ru.po: Update Russion translation from translation project.
61177 2013-04-17  Adam Conrad  <adconrad@0c3.net>
61179         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
61180         and setfsgid.
61182 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
61184         * configure.in: Remove i386 configure warning. Remove i386 case.
61185         * configure: Regenerate.
61186         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
61187         Add example to error message.
61188         * sysdeps/i386/configure: Regenerate.
61190 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61192         * benchtests/Makefile (bench): Add cos, tan, slowcos and
61193         slowtan.
61194         * benchtests/cos-inputs: New file.
61195         * benchtests/slowcos-inputs: New file.
61196         * benchtests/slowcos.c: New file.
61197         * benchtests/slowtan-inputs: New file.
61198         * benchtests/slowtan.c: New file.
61199         * benchtests/tan-inputs: New file.
61201 2013-04-16  Roland McGrath  <roland@hack.frob.com>
61203         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
61204         considered kosher.
61206 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61208         * benchtests/Makefile: Include cppflags-iterator.mk to add
61209         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
61211         * Makefile.in (bench-clean): New target.
61212         * benchtests/Makefile (bench-clean): Likewise.
61214 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
61216         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
61218 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
61220         * stdio-common/tstdiomisc.c: Fix coding-style violation.
61222 2013-04-15  Andreas Schwab  <schwab@suse.de>
61224         * nscd/grpcache.c (cache_addgr): Properly check for short write.
61225         * nscd/initgrcache.c (addinitgroupsX): Likewise.
61226         * nscd/pwdcache.c (cache_addpw): Likewise.
61227         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
61228         more than recsize.
61230 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61232         * benchtests/Makefile (bench): Write all output to
61233         bench-out.tmp together.
61235 2013-04-15  Andreas Schwab  <schwab@suse.de>
61237         * nscd/nscd.c (main): Don't fork again after closing files.
61239 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61241         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
61243         * benchtests/Rules (bench-deps): Collect dependencies into a
61244         single variable.  Add Makefile to dependencies.
61245         ($(objpfx)bench-%.c): Depend on bench-deps.
61247 2013-04-12  Roland McGrath  <roland@hack.frob.com>
61248             Xavier Roche  <roche+kml2@exalead.com>
61250         [BZ #15361]
61251         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
61252         just that it's a file descriptor.
61253         * manual/llio.texi (Synchronizing AIO Operations): Update description
61254         for EBADF error from aio_fsync.
61256 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61258         * Rules (bench): Move target definition...
61259         * benchtests/Makefile: ... here.
61261 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
61263         * math/libm-test.inc (cos_test): Fix PI/2 test.
61264         (sincos_test): Likewise.
61265         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
61266         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
61268 2013-04-11  Andreas Schwab  <schwab@suse.de>
61270         [BZ #13988]
61271         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
61272         accept exponent character only when digits were seen.
61273         * stdio-common/Makefile (tests): Add bug26.
61274         * stdio-common/bug26.c: New file.
61276         [BZ #14293]
61277         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
61278         non-freeable.
61280 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61282         * Makeconfig (rtld-prefix): Define built linker prefix.
61283         * Rules (run-bench): Use it.
61284         * math/Makefile (run-regen-ulps): Likewise.
61286         * Rules (bench): Remove eval.
61288 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61289             Roland McGrath  <roland@hack.frob.com>
61290             Ondrej Bilka  <neleai@seznam.cz>
61292         [BZ #15346]
61293         * time/getdate.c: Include ctype.h and alloca.h.
61294         (__getdate_r): Trim leading and trailing spaces of input.
61295         * time/tst-getdate.c (tests): Add tests with leading and
61296         trailing spaces.
61298 2013-04-08  Roland McGrath  <roland@hack.frob.com>
61300         [BZ #14280]
61301         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
61302         when computing value.
61304 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61306         * math/README.libm-test (How can I generate "libm-test-ulps"?):
61307         Use testrun.sh to run libm tests.
61309         [BZ #15309]
61310         * elf/dl-open.c (dl_open_worker): memset all of seen array.
61312 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
61314         [BZ #15264]
61315         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
61317 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61319         * Makefile.in (regen-ulps): New target.
61320         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
61321         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
61322         [ifneq (no,$(PERL)] (regen-ulps): New target.
61323         [ifeq (no,$(PERL)] (regen-ulps): New target.
61324         * math/libm-test.inc (ulps_file_name): Define.
61325         (output_dir): New variable.
61326         (options): Add "output-dir" option.
61327         (parse_opt): Handle 'o' case.
61328         (main): If output_dir is non-NULL use it as a prefix
61329         otherwise use "".
61330         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
61332 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61334         [BZ #10060, #10062]
61335         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
61336         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
61337         fail configure if __sync_val_compare_and_swap is not inlined.
61338         * sysdeps/i386/configure: Regenerate.
61339         * configure.in: Build for i686 when configured for i386.
61340         * configure: Regenerate.
61341         * README: Remove i386 reference.
61343 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
61345         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
61346         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61348 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
61350         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
61351         (lmsnanval): New variables.
61352         (F): Add conversion tests.
61353         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
61354         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
61356         * stdio-common/tstdiomisc.c (F): Properly collect individual
61357         tests' results.
61359         [BZ #14686, #15336]
61360         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
61361         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
61362         Instead, use input NaN values or generate a qNaN by arithmetic
61363         operation.  Also fix bugs to comply with the standard.
61364         * math/libm-test.inc (remainder_test): Add more tests.
61366         [BZ #15335, #15342]
61367         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
61368         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
61369         input NaN values or generate a qNaN by arithmetic operation.
61371         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
61372         unreachable code.
61374         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
61375         definitions.
61377 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
61379         [BZ #14478]
61380         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
61381         underflowed result.
61382         * math/s_cexpf.c (__cexpf): Likewise.
61383         * math/s_cexpl.c (__cexpl): Likewise.
61384         * math/libm-test.inc (cexp_test): Add more tests.
61386 2013-04-03  Andreas Schwab  <schwab@suse.de>
61388         [BZ #15330]
61389         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
61390         order arrays from heap if bigger than alloca cutoff.
61392 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
61394         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
61395         (SNAN_TESTS_double): Refer to GCC PR56831.
61396         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
61397         GCC PR56828.
61399 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
61401         * Rules (bench): Move bench.out after the run is complete.
61403         * Rules (bench): Echo currently running benchmark.
61405         * benchtests/Makefile (bench): Add atan and slowatan.
61406         * benchtests/atan-inputs: New file.
61407         * benchtests/slowatan-inputs: New file.
61408         * benchtests/slowatan.c: New file.
61410         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
61411         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
61412         its value.
61414         [BZ #15305]
61415         * sysdeps/unix/sysv/linux/kernel-features.h
61416         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
61417         __ASSUME_XFS_RESTRICTED_CHOWN.
61418         * sysdeps/unix/sysv/linux/pathconf.c
61419         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
61420         Save and restore errno.
61422 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
61424         [BZ #15327]
61425         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
61426         arguments using __kernel_casinh.
61427         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
61428         arguments using __kernel_casinhf.
61429         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
61430         arguments using __kernel_casinhl.
61431         * math/libm-test.inc (cacosh_test): Add more tests.
61432         * sysdeps/i386/fpu/libm-test-ulps: Update.
61433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61435 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61437         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
61438         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
61440         * bench/Makefile (bench): Add sin and slowsin.
61441         * benchtests/sin-inputs: New file.
61442         * benchtests/slowsin-inputs: New file.
61443         * benchtests/slowsin.c: New file.
61445         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
61446         (bench): Add slowexp and slowpow.
61447         (exp-ITER): Increase iterations.
61448         (pow-ITER): Likewise.
61449         * benchtests/exp-inputs: Change input.
61450         * benchtests/pow-inputs: Likewise.
61451         * benchtests/slowexp-inputs: New file.
61452         * benchtests/slowexp.c: New file.
61453         * benchtests/slowpow-inputs: New file.
61454         * benchtests/slowpow.c: New file.
61456 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61458         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
61459         instructions.
61460         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
61461         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
61462         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
61463         * benchtests/Makefile: Add rint benchtest.
61464         * benchtests/rint-inputs: Input for rint benchtest.
61466 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
61468         * Versions.def (libm): Add GLIBC_2.18.
61469         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
61470         hidden libm prototypes.
61471         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
61472         * math/Makefile (libm-calls): Add s_issignaling.
61473         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
61474         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
61475         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
61476         declaration.
61477         * math/math.h [__USE_GNU] (issignaling): New macro.
61478         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
61479         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
61480         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
61481         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
61482         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
61483         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
61484         * manual/arith.texi (issignaling): New section.
61485         * manual/libm-err-tab.pl (@all_functions): Update comment.
61486         * math/gen-libm-test.pl (parse_args): Apply special handling for
61487         issignaling.
61488         * math/libm-test.inc (print_float, issignaling_test): New
61489         functions.
61490         (check_float_internal): Add issignaling checks.
61491         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
61492         default definition.
61493         * sysdeps/powerpc/math-tests.h: New file.
61494         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
61495         tests.
61496         * math/test-snan.c (TEST_FUNC): Likewise.
61498 2013-03-30  David S. Miller  <davem@davemloft.net>
61500         * po/de.po: Update from translation team.
61502 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
61504         [BZ #10357]
61505         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61506         imaginary part less than 1.0 and real part less than 0.5
61507         specially.
61508         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61509         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61510         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
61511         (cacos_test): Add more tests.
61512         (casin_test): Likewise.
61513         (casinh_test): Likewise.
61514         * sysdeps/i386/fpu/libm-test-ulps: Update.
61515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61517 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61519         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
61520         ONE with its value.
61522         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
61523         (__pow_mp): Replace ONE and MONE with their values.
61524         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61525         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
61526         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61527         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
61528         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61529         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61531         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
61533         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
61534         (__pow_mp): Replace ZERO and MZERO with their values.
61535         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61536         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61537         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
61538         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
61539         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61540         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
61541         (__sqr): Likewise.
61543         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
61545         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
61547 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61549         * include/stdlib.h [!SHARED] (__call_tls_dtors):
61550         Declare with __attribute__ ((weak)).
61551         * stdlib/exit.c (__libc_atexit) [!SHARED]:
61552         Call __call_tls_dtors only if it's not NULL.
61554 2013-03-28  Roland McGrath  <roland@hack.frob.com>
61556         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
61557         didn't do it already, then set _dl_phdr and _dl_phnum based on the
61558         magic __ehdr_start linker symbol if it's defined.
61559         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
61560         them up here if it was already done.
61562         * elf/dl-support.c (_dl_phdr): Make pointer to const.
61563         (_dl_aux_init): Use const in cast when setting it.
61564         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
61565         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
61566         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
61568         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
61569         Declare them here.
61570         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
61571         * csu/libc-tls.c: Nor here.
61572         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
61574         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
61575         (__libc_message): Never call vsyslog.
61577 2013-03-28  Alan Modra  <amodra@gmail.com>
61579         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
61580         Define as empty.
61581         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
61582         Likewise.
61584 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61586         [BZ #15214]
61587         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
61588         underflow.
61589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61591 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61593         [BZ #15304]
61594         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
61595         Don't add gid passed as argument.
61597         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
61599 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
61601         [BZ #15307]
61602         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61603         imaginary part between 1.0 and 1.5 and real part less than 0.5
61604         specially.
61605         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61606         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61607         * math/libm-test.inc (cacos_test): Add more tests.
61608         (casin_test): Likewise.
61609         (casinh_test): Likewise.
61610         * sysdeps/i386/fpu/libm-test-ulps: Update.
61611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61613 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61615         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
61616         constants.
61617         (norm): Likewise.
61618         (denorm): Likewise.
61619         (__dbl_mp): Likewise.
61620         (add_magnitudes): Likewise.
61621         (sub_magnitudes): Likewise.
61622         (__add): Likewise.
61623         (__sub): Likewise.
61624         (__mul): Likewise.
61625         (__sqr): Likewise.
61626         (__inv): Likewise.
61627         (__dvd): Likewise.
61629         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
61630         commented code.
61631         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61632         (__dubcos): Likewise.
61633         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
61634         (__ieee754_acos): Likewise.
61635         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
61636         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
61637         (__exp1): Likewise.
61638         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
61639         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
61640         (log1): Likewise.
61641         (my_log2): Likewise.
61642         (checkint): Likewise.
61643         * sysdeps/ieee754/dbl-64/e_remainder.c
61644         (__ieee754_remainder): Likewise.
61645         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
61646         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
61647         (bsloww): Likewise.
61648         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
61650         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
61651         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
61652         MANTISSA_STORE_T to store computations on mantissa.  Use
61653         macros for rounding and division.
61654         (denorm): Likewise.
61655         (__dbl_mp): Likewise.
61656         (add_magnitudes): Likewise.
61657         (sub_magnitudes): Likewise.
61658         (__mul): Likewise.
61659         (__sqr): Likewise.
61660         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
61661         powers of two in terms of TWOPOW macro.
61662         (mp_no): Make type of mantissa as MANTISSA_T.
61663         [!RADIXI]: Define RADIXI.
61664         [!TWO52]: Define TWO52.
61665         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
61667 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61669         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
61670         llroundl symbol when building for PPC32.
61672 2013-03-24  Mark H Weaver  <mhw@netris.org>
61674         * manual/arith.texi (Normalization Functions): Fix prototypes for
61675         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
61677 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61679         [BZ #13889]
61680         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
61681         high value to check if expl overflow.
61682         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
61683         to check for underflow and overflow.
61684         * math/libm-test.inc: Add exp test.
61686 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
61688         [BZ #11120]
61689         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
61690         with NOT_IN_libc.
61692 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61694         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
61695         symbol.
61697 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
61699         * math/gen-libm-test.pl (parse_args, special_functions): Properly
61700         wrap blocks consisting of several statements.
61702         * sysdeps/generic/math-tests.h: New file.
61703         * sysdeps/i386/fpu/math-tests.h: Likewise.
61704         * math/test-snan.c: Include it.
61705         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
61707 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61709         [BZ #15285]
61710         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
61711         (__ieee754_j0l): Do not improve calculations using cos of twice
61712         input for inputs above LDBL_MAX / 2.0L.
61713         (__ieee754_y0l): Likewise.
61714         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
61715         (__ieee754_j1l): Do not improve calculations using cos of twice
61716         input for inputs above LDBL_MAX / 2.0L.
61717         (__ieee754_y1l): Likewise.
61718         * math/libm-test.inc (j0_test): Add another test.
61719         (j1_test): Likewise.
61720         (y0_test): Likewise.
61721         (y1_test): Likewise.
61722         * sysdeps/i386/fpu/libm-test-ulps: Update.
61724 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61726         * Rules ($(objpfx)bench-%.c): Include code from a C source
61727         file.
61729 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
61731         [BZ #15287]
61732         * math/k_casinh.c (__kernel_casinh): Handle arguments with
61733         imaginary part 1.0 and real part less than 0.5 specially.
61734         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61735         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61736         * math/libm-test.inc (cacos_test): Add more tests.
61737         (casin_test): Likewise.
61738         (casinh_test): Likewise.
61739         * sysdeps/i386/fpu/libm-test-ulps: Update.
61740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61742 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61744         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
61745         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
61747 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
61749         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
61750         * config.make.in (config-cflags-sse4): Remove variable.
61751         (config-cflags-avx): Likewise.
61752         (config-cflags-sse2avx): Likewise.
61753         (config-cflags-novzeroupper): Likewise.
61754         (config-asflags-i686): Likewise.
61755         (have-mfma4): Likewise.
61756         (have-as-vis3): Likewise.
61757         (MIG): Likewise.
61758         * configure.in (MIG): Do not AC_SUBST.
61759         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
61760         (libc_cv_cc_sse4): Do not AC_SUBST.
61761         (libc_cv_cc_avx): Likewise.
61762         (libc_cv_cc_sse2avx): Likewise.
61763         (libc_cv_cc_novzeroupper): Likewise.
61764         (libc_cv_cc_fma4): Likewise.
61765         (libc_cv_as_i686): Likewise.
61766         (libc_cv_sparc_as_vis3): Likewise.
61767         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
61768         LIBC_CONFIG_VAR.
61769         (config-asflags-i686): Likewise.
61770         (config-cflags-avx): Likewise.
61771         (config-cflags-sse2avx): Likewise.
61772         (have-mfma4): Likewise.
61773         (config-cflags-novzeroupper): Likewise.
61774         * sysdeps/mach/configure.in (MIG): Likewise.
61775         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
61776         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
61777         LIBC_CONFIG_VAR.
61778         (config-cflags-avx): Likewise.
61779         (config-cflags-sse2avx): Likewise.
61780         (have-mfma4): Likewise.
61781         (config-cflags-novzeroupper): Likewise.
61782         * configure: Regenerated.
61783         * sysdeps/i386/configure: Likewise.
61784         * sysdeps/mach/configure: Likewise.
61785         * sysdeps/sparc/configure: Likewise.
61786         * sysdeps/x86_64/configure: Likewise.
61788 2013-03-20  Roland McGrath  <roland@hack.frob.com>
61790         [BZ #14812]
61791         * locale/programs/localedef.c (options): Put N_ translation marker
61792         on argument names, not just descriptions.
61794 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61796         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
61798 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
61800         [BZ #14176]
61801         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
61803 2013-03-19  Roland McGrath  <roland@hack.frob.com>
61805         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
61806         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
61807         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
61808         [!BEFORE_ABORT] (before_abort): New function.
61809         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
61810         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
61811         (writev_for_fatal): New function.
61812         (WRITEV_FOR_FATAL): New macro; call that.
61813         (backtrace_and_maps): New function.
61814         (BEFORE_ABORT): New macro; call that.
61815         (struct str_list): Type removed.
61816         (__libc_message, __libc_fatal): Functions removed.
61817         Include <sysdeps/posix/libc_fatal.c> instead.
61819 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
61821         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
61822         constants.
61823         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
61824         double constants.
61826 2013-03-19  Andreas Schwab  <schwab@suse.de>
61828         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
61829         * sysdeps/gnu/configure: Regenerate.
61831         * configure.in: Substitute libc_cv_rtlddir.
61832         * configure: Regenerate.
61833         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
61834         * Makeconfig (rtlddir, inst_rtlddir): New variables.
61835         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
61836         * elf/Makefile (install-others, CFLAGS-interp.c)
61837         (ldso_install, common-ldd-rewrite): Likewise.
61838         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
61839         $(inst_slibdir)/$(rtld-installed-name).
61840         * scripts/rellns-sh: Add -p option.
61841         * Makerules (make-shlib-link): Use rellns-sh to get relative name
61842         for source.
61844 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
61846         * manual/nptl.texi: Renamed to ...
61847         * manual/threads.texi: ... this.
61848         * manual/Makefile (chapters): Update.
61850 2013-03-18  Roland McGrath  <roland@hack.frob.com>
61852         [BZ #14812]
61853         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
61854         on argument names, not just descriptions.
61855         * malloc/memusagestat.c (options): Likewise.
61856         * nss/getent.c (options): Likewise.
61858 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
61860         [BZ #14812]
61861         * iconv/iconv_prog.c (options): Put N_ translation marker
61862         on argument names, not just descriptions.
61863         * iconv/iconvconfig.c (options): Likewise.
61865 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
61867         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
61868         implementation which is faster on all x86_64 architectures.
61869         Tested on AMD, Intel Nehalem, SNB, IVB.
61870         * sysdeps/x86_64/strnlen.S: Likewise.
61872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
61873         Remove all multiarch strlen and strnlen versions.
61874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
61875         Remove strlen and strnlen related parts.
61877         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
61878         Inline strlen part.
61879         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
61881         * sysdeps/x86_64/multiarch/strlen.S: Remove.
61882         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
61883         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
61884         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
61885         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61886         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
61888 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
61890         * manual/memory.texi (Malloc Tunable Parameters):
61891         Sort parameters alphabetically. Add comments for missing entries.
61893 2013-03-17  David S. Miller  <davem@davemloft.net>
61895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61897 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
61899         [BZ #15283]
61900         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
61901         for arguments at most half maximum finite value.
61902         * math/libm-test.inc (j0_test): Add more tests.
61903         (j1_test): Likewise.
61904         (y0_test): Likewise.
61905         (y1_test): Likewise.
61906         * sysdeps/i386/fpu/libm-test-ulps: Update.
61907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61909         [BZ #14155]
61910         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
61911         1 / x and functions P and Q for arguments above 0x1p256L.
61912         (__ieee754_y0l): Likewise.
61913         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
61914         (__ieee754_y1l): Likewise.
61915         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
61916         (j1_test): Likewise.
61917         (y0_test): Likewise.
61918         (y1_test): Likewise.
61920 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
61922         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
61923         variable.
61925 2013-03-15  Roland McGrath  <roland@hack.frob.com>
61927         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
61928         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
61929         zero since it's initialized to EXEC_PAGESIZE.
61931         * sysdeps/unix/sysv/linux/ldsodefs.h
61932         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
61933         * sysdeps/generic/ldsodefs.h: ... here.
61935 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
61937         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
61939         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
61940         math/test-snan.c.
61941         * math/test-snan.c: Renamed from
61942         sysdeps/powerpc/fpu/test-powerpc-snan.c.
61943         * math/Makefile (tests): Add test-snan.
61944         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
61945         test-powerpc-snan.
61947         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
61948         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
61949         functions.
61950         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
61951         __builtin_nan family of functions.
61952         * math/libm-test.inc (initialize): Initialize qnan_value with
61953         __builtin_nan family of functions.
61954         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
61955         Remove variables.
61956         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
61957         Remove functions.
61958         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
61959         storage class.  Initialize qNaN_var and sNaN_var with
61960         __builtin_nan and __builtin_nans families of functions,
61961         respectively.
61963         * math/libm-test.inc (acosh_test): Also test with qNaN input.
61964         (sqrt_test): Remove duplicate test with qNaN input.
61965         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
61966         (round_test, signbit_test, significand_test): Note missing +/-Inf
61967         as well as qNaN tests.
61969         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
61970         qNaN_var.  Fix a few strings, too.
61971         * math/libm-test.inc (nan_value): Rename to qnan_value.
61972         * math/gen-libm-test.pl (%beautify): Adjust to that.
61973         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
61974         * math/test-misc.c (main): Likewise.
61975         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
61976         to __qnan_bytes, and __qnan_union, respectively.
61977         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
61978         Likewise.
61979         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
61980         and lqnanval, respectively.
61981         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
61982         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
61983         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
61984         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
61986         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
61987         * math/test-misc.c (main) [__x86_64__]: Enable test for long
61988         doubles.
61990         * math/test-misc.c (main): Fix copy'n'pastos.
61991         * misc/tst-efgcvt.c (special): Likewise.
61993         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
61994         Remove declarations.
61996 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61998         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
61999         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
62000         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
62001         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
62003 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62005         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
62006         macro to return vdso values correctly in IFUNC implementations.
62007         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
62008         Optimization by using IFUNC.
62010 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62011             Richard Henderson  <rth@redhat.com>
62012             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62014         * Makefile.in (bench): New target.
62015         * NEWS: Mention the benchmark framework.
62016         * Rules (bench): Likewise.
62017         (binaries-bench): Generate binaries for functions to
62018         benchmark.
62019         * benchtests/Makefile: New makefile for benchmark tests.
62020         * benchtests/bench-skeleton.c: New skeleton file for benchmark
62021         programs.
62022         * benchtests/exp-inputs: New input file for EXP function.
62023         * benchtests/pow-inputs: New input file for POW function.
62024         * scripts/bench.pl: New script to generate source files for
62025         benchmark programs.
62027 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
62029         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
62030         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
62031         computations on mantissa.  Use macros for rounding and
62032         division.
62033         (denorm): Likewise.
62034         (__dbl_mp): Likewise.
62035         (add_magnitudes): Likewise.
62036         (sub_magnitudes): Likewise.
62037         (__mul): Likewise.
62038         (__sqr): Likewise.
62039         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
62040         powers of two in terms of TWOPOW macro.
62041         (mp_no): Make type of mantissa as MANTISSA_T.
62042         [!RADIXI]: Define RADIXI.
62043         [!TWO52]: Define TWO52.
62044         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
62046         * manual/nptl.texi (cindex): Modify threads to pthreads.
62048 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
62050         * sysdeps/x86_64/preconfigure: Regenerated.
62052 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
62054         [BZ #14155]
62055         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
62056         0x1p28 and above.
62057         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
62058         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
62059         0x1p28 and above.
62060         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
62061         * math/libm-test.inc (j0_test): Do not allow one spurious
62062         underflow exception.
62063         (y1_test): Likewise.
62065 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62067         * manual/Makefile (chapters): Add nptl.
62068         * manual/debug.texi (Debugging Support): Add link to Threads
62069         chapter.
62070         * manual/nptl.texi: New file.
62072         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
62074 2013-03-14  Petr Baudis  <pasky@ucw.cz>
62076         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
62077         for non-NULL pointer before the memory validity test. Pointed
62078         out by Holger Brunck <holger.brunck@keymile.com>.
62080 2013-03-13  Andreas Schwab  <schwab@suse.de>
62082         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
62083         instead of .os.
62085 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
62087         * timezone/zic.c: Update from tzcode 2013b.
62089 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
62091         * manual/install.texi (Configuring and compiling):
62092         Mention i686 and i586.
62093         * INSTALL: Regenerate.
62095 2013-03-12  Roland McGrath  <roland@hack.frob.com>
62097         * sysdeps/init_array/elf-init.c: New file.
62098         * csu/elf-init.c
62099         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
62100         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
62102         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
62103         __gmon_start__ as global, but as static with a .preinit_array pointer.
62104         * sysdeps/init_array/gmon-start.c: New file.  Use that.
62105         * sysdeps/init_array/crti.S: New file, empty except for comments.
62106         * sysdeps/init_array/crtn.S: Likewise.
62108 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
62110         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
62111         definining bcopy.
62112         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62113         Remove Prefer_SSE_for_memop.
62114         * sysdeps/x86_64/multiarch/init-arch.h: Remove
62115         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
62116         HAS_PREFER_SSE_FOR_MEMOP.
62117         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
62118         memset-x86-64.
62119         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
62120         Remove bzero, memset ifunc support.
62121         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
62122         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
62123         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62124         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62126 2013-03-11  Andreas Schwab  <schwab@suse.de>
62128         [BZ #15234]
62129         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
62130         by SHLIB_COMPAT.
62131         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
62132         (GLIBC_2.16): Remove pthread_atfork.
62134 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
62136         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
62137         (ptestcases.h): Likewise.
62139 2013-03-08  Roland McGrath  <roland@hack.frob.com>
62141         * Makeconfig ($(common-objpfx)config.status): Depend on
62142         sysdeps/*/preconfigure{,.in} too.
62144 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
62146         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
62147         (__free_hook): Use void * instead of __malloc_ptr_t.
62148         (__malloc_hook): Likewise.
62149         (__realloc_hook): Likewise.
62150         (__memalign_hook): Likewise.
62151         (__after_morecore_hook): Likewise.
62152         * malloc/arena.c (save_malloc_hook): Likewise.
62153         (save_free_hook): Likewise.
62154         * malloc/hooks.c (malloc_hook_ini): Likewise.
62155         (realloc_hook_ini): Likewise.
62156         (memalign_hook_ini): Likewise.
62157         * malloc/malloc.c (malloc_hook_ini): Likewise.
62158         (realloc_hook_ini): Likewise.
62159         (memalign_hook_ini): Likewise.
62160         (__free_hook): Likewise.
62161         (__malloc_hook): Likewise.
62162         (__realloc_hook): Likewise.
62163         (__memalign_hook): Likewise.
62164         (__libc_malloc): Likewise.
62165         (__libc_free): Likewise.
62166         (__libc_realloc): Likewise.
62167         (__libc_memalign): Likewise.
62168         (__libc_valloc): Likewise.
62169         (__libc_pvalloc): Likewise.
62170         (__libc_calloc): Likewise.
62171         (__posix_memalign): Likewise.
62172         * malloc/morecore.c (__sbrk): Likewise.
62173         (__default_morecore): Likewise.
62175         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
62177         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
62178         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
62179         __malloc_ptrdiff_t.
62181         * malloc/malloc.h (__malloc_size_t): Remove macro.
62182         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
62183         __malloc_size_t.
62184         (old_memalign_hook): Likewise.
62185         (old_realloc_hook): Likewise.
62186         (struct hdr): Likewise.
62187         (flood): Likewise.
62188         (mallochook): Likewise.
62189         (memalignhook): Likewise.
62190         (reallochook): Likewise.
62191         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
62192         (tr_old_realloc_hook): Likewise.
62193         (tr_old_memalign_hook): Likewise.
62194         (tr_mallochook): Likewise.
62195         (tr_reallochook): Likewise.
62196         (tr_memalignhook): Likewise.
62198 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62200         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
62201         default_ldbl_pack and using as default implementation.
62202         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
62203         implementation.
62204         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
62205         redundant definition.
62206         (ldbl_insert_mantissa): Likewise.
62207         (ldbl_canonicalize): Likewise.
62208         (ldbl_nearbyint): Likewise.
62209         (ldbl_pack): Rename to ldbl_pack_ppc.
62210         (ldbl_unpack): Rename to ldbl_unpack_ppc.
62211         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
62212         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
62214 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62216         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
62217         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
62218         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
62219         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
62220         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
62221         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
62222         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
62223         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
62225 2013-03-07  Andreas Jaeger  <aj@suse.de>
62227         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62228         bits/mman-linux.h.
62230 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62232         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
62233         Include mpa.h and declare __MPEXP.
62234         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
62235         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62236         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62237         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
62238         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62239         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
62240         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
62242         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
62243         (__slowpow): Use long double EXPL and LOGL functions to
62244         compute POW.
62245         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
62246         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62247         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
62248         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
62249         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
62250         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
62252         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
62253         intermediate variable to calculate exponent.
62254         (__sqr): Likewise.
62255         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
62256         Likewise.
62257         (__sqr): Likewise.
62259         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
62260         [!NO__SQR]: Define __sqr.
62261         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
62262         and NO__SQR.  Remove all code except __mul and __sqr.  Include
62263         sysdeps/ieee754/dbl-64/mpa.c.
62264         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62266         [BZ #12723]
62267         * posix/Makefile (tests): Add tst-pathconf.
62268         * posix/tst-pathconf.c: New test case.
62269         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
62270         _PC_PIPE_BUF.
62271         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
62273 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
62275         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
62277 2013-03-06  Andreas Jaeger  <aj@suse.de>
62279         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
62280         definition via __MAP_ANONYMOUS.
62282         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
62283         it's not part of Linux headers.
62285         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
62286         (MAP_HUGE_MASK): Define.
62288         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62289         Define.
62290         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62291         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62292         Define.
62293         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62294         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
62295         Define.
62296         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62297         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
62298         Define.
62299         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
62301         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
62302         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
62303         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
62304         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
62305         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
62306         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
62308         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
62309         Handle f2fs.
62311         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
62312         Handle f2fs and efivarfs.
62314         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
62315         f2fs.
62317         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
62318         (EFIVARFS_MAGIC): Add.
62319         (F2FS_LINK_MAX): Add.
62321 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62323         * stdio-common/vfprintf.c: Replace __builtin_expect with
62324         __glibc_unlikely.
62326 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
62328         [BZ #13550]
62329         * sysdeps/generic/bp-sym.h: Remove file.
62330         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
62331         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
62332         <bp-sym.h> and <bp-asm.h>.
62333         (__longjmp): Don't use BP_SYM.
62334         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
62335         and <bp-asm.h>.
62336         (memcpy): Don't use BP_SYM.
62337         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
62338         <bp-sym.h> and <bp-asm.h>.
62339         (memcpy): Don't use BP_SYM.
62340         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
62341         <bp-asm.h>.
62342         (memcpy): Don't use BP_SYM.
62343         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
62344         <bp-asm.h>.
62345         (memset): Don't use BP_SYM.
62346         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62347         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62348         (__bzero): Don't use BP_SYM.
62349         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62350         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62351         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
62352         <bp-sym.h> and <bp-asm.h>.
62353         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62354         pointers.
62355         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
62356         <bp-sym.h> and <bp-asm.h>.
62357         (memcpy): Don't use BP_SYM.
62358         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
62359         <bp-sym.h> and <bp-asm.h>.
62360         (memset): Don't use BP_SYM.
62361         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62362         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62363         (__bzero): Don't use BP_SYM.
62364         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62365         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62366         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
62367         <bp-sym.h> and <bp-asm.h>.
62368         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62369         pointers.
62370         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
62371         <bp-sym.h> and <bp-asm.h>.
62372         (memcpy): Don't use BP_SYM.
62373         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
62374         <bp-sym.h> and <bp-asm.h>.
62375         (memset): Don't use BP_SYM.
62376         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62377         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62378         (__bzero): Don't use BP_SYM.
62379         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62380         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62381         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
62382         <bp-sym.h> and <bp-asm.h>.
62383         (__memchr): Don't use BP_SYM.
62384         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
62385         <bp-sym.h> and <bp-asm.h>.
62386         (memcmp): Don't use BP_SYM.  Remove comment about bounded
62387         pointers.
62388         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
62389         <bp-sym.h> and <bp-asm.h>.
62390         (memcpy): Don't use BP_SYM.
62391         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
62392         <bp-sym.h> and <bp-asm.h>.
62393         (__mempcpy): Don't use BP_SYM.
62394         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
62395         <bp-sym.h> and <bp-asm.h>.
62396         (__memrchr): Don't use BP_SYM.
62397         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
62398         <bp-sym.h> and <bp-asm.h>.
62399         (memset): Don't use BP_SYM.
62400         (__bzero): Likewise.
62401         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
62402         <bp-sym.h> and <bp-asm.h>.
62403         (__rawmemchr): Don't use BP_SYM.
62404         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
62405         <bp-sym.h> and <bp-asm.h>.
62406         (__STRCMP): Don't use BP_SYM.
62407         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
62408         <bp-sym.h> and <bp-asm.h>.
62409         (strchr): Don't use BP_SYM.
62410         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
62411         <bp-sym.h> and <bp-asm.h>.
62412         (__strchrnul): Don't use BP_SYM.
62413         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
62414         <bp-sym.h> and <bp-asm.h>.
62415         (strlen): Don't use BP_SYM.
62416         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
62417         <bp-sym.h> and <bp-asm.h>.
62418         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62419         pointers.
62420         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
62421         <bp-sym.h> and <bp-asm.h>.
62422         (__strnlen): Don't use BP_SYM.
62423         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
62424         <bp-sym.h> and <bp-asm.h>.
62425         (__GI__setjmp): Don't use BP_SYM.
62426         (_setjmp): Likewise.
62427         (__sigsetjmp): Likewise.
62428         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
62429         (L(start_addresses)): Don't use BP_SYM.
62430         (_start): Likewise.
62431         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
62432         <bp-asm.h>.
62433         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
62434         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
62435         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62436         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62437         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
62438         <bp-asm.h>.
62439         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
62440         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
62441         about bounded pointers.
62442         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62443         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62444         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
62445         <bp-asm.h>.
62446         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62447         about bounded pointers.  Remove GKM FIXME comments.
62448         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62449         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
62450         <bp-asm.h>.
62451         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
62452         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
62453         Remove GKM FIXME comments.
62454         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62455         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62456         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
62457         <bp-asm.h>.
62458         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
62459         about bounded pointers.  Remove GKM FIXME comment.
62460         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
62461         and <bp-asm.h>.
62462         (strncmp): Don't use BP_SYM.  Remove comment about bounded
62463         pointers.
62464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
62465         <bp-sym.h> and <bp-asm.h>.
62466         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
62468         <bp-sym.h> and <bp-asm.h>.
62469         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62470         comment.
62472 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
62474         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
62475         call free(NULL).
62477 2013-03-05  David S. Miller  <davem@davemloft.net>
62479         * po/es.po: Update from translation team.
62481 2013-03-05  Andreas Jaeger  <aj@suse.de>
62483         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
62484         <bits/mman-linux.h>.
62485         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62486         is fine.
62487         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
62488         <bits/mman-linux.h> to end of file.
62489         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62490         is fine.
62491         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
62492         <bits/mman-linux.h> to end of file.
62493         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
62494         is fine.
62495         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
62496         <bits/mman-linux.h> to end of file.
62498         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
62499         (MCL_CURRENT, MCL_FUTURE): Define here.
62501 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62503         [BZ #15232]
62504         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
62505         attribute_hidden.
62506         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62508 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62510         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
62511         fourth parameter needed for rt_sigprocmask syscall.
62512         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
62513         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62514         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
62515         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62516         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62517         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
62519 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
62521         [BZ #13550]
62522         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
62523         comment about bounded pointers.
62524         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
62525         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
62527 2013-03-04  Andreas Jaeger  <aj@suse.de>
62529         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
62530         common definitions.
62532         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
62533         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
62534         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
62535         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62536         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
62537         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62539 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62541         [BZ #15055]
62542         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
62543         __ieee754_sqrl instead of __sqrl.
62545 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
62547         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
62548         * sysdeps/powerpc/fpu_control.h: ... here.
62549         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
62550         * sysdeps/powerpc/bits/fenvinline.h: ... here.
62551         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
62552         * sysdeps/powerpc/bits/mathinline.h: ... here.
62554 2013-03-01  Roland McGrath  <roland@hack.frob.com>
62556         * elf/dl-hwcaps.c (_dl_important_hwcaps):
62557         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
62558         to just [NEED_DL_SYSINFO_DSO].
62559         * elf/dl-support.c: Likewise.
62560         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
62561         * elf/rtld.c (dl_main): Likewise.
62562         * elf/setup-vdso.h (setup_vdso): Likewise.
62563         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
62564         * sysdeps/unix/sysv/linux/dl-sysdep.c
62565         (_dl_discover_osversion): Likewise.
62567 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
62569         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
62570         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62572 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
62574         * NEWS: Mention libm performance improvements and non-x86 PI
62575         futex support.
62577         * csu/libc-start.c (__pthread_initialize_minimal): Change
62578         function arguments.
62579         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
62581 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
62583         [BZ #13550]
62584         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
62585         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
62586         <bp-sym.h> and <bp-asm.h>.
62587         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62588         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
62589         and <bp-asm.h>.
62590         (memcpy): Don't use BP_SYM.
62591         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
62592         <bp-asm.h>.
62593         (__mpn_add_n): Don't use BP_SYM.
62594         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
62595         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
62596         and <bp-asm.h>.
62597         (__mpn_addmul_1): Don't use BP_SYM.
62598         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62599         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
62600         <bp-sym.h>.
62601         (_setjmp): Don't use BP_SYM.
62602         (__novmx_setjmp): Likewise.
62603         (__GI__setjmp): Likewise.
62604         (__vmx_setjmp): Likewise.
62605         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
62606         <bp-sym.h>.
62607         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
62608         (__bzero): Don't use BP_SYM.
62609         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
62610         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
62611         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
62612         <bp-sym.h> and <bp-asm.h>.
62613         (memcpy): Don't use BP_SYM.
62614         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
62615         <bp-sym.h> and <bp-asm.h>.
62616         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62617         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
62618         <bp-sym.h> and <bp-asm.h>.
62619         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
62620         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
62621         <bp-asm.h>.
62622         (__mpn_lshift): Don't use BP_SYM.
62623         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62624         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
62625         <bp-asm.h>.
62626         (memset): Don't use BP_SYM.
62627         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
62628         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
62629         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
62630         <bp-asm.h>.
62631         (__mpn_mul_1): Don't use BP_SYM.
62632         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62633         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
62634         <bp-sym.h> and <bp-asm.h>.
62635         (memcmp): Don't use BP_SYM.
62636         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
62637         <bp-sym.h> and <bp-asm.h>.
62638         (memcpy): Don't use BP_SYM.
62639         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
62640         <bp-sym.h> and <bp-asm.h>.
62641         (memset): Don't use BP_SYM.
62642         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
62643         <bp-sym.h> and <bp-asm.h>.
62644         (strncmp): Don't use BP_SYM.
62645         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
62646         <bp-sym.h> and <bp-asm.h>.
62647         (memcpy): Don't use BP_SYM.
62648         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
62649         <bp-sym.h> and <bp-asm.h>.
62650         (memset): Don't use BP_SYM.
62651         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
62652         <bp-sym.h> and <bp-asm.h>.
62653         (__memchr): Don't use BP_SYM.
62654         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
62655         <bp-sym.h> and <bp-asm.h>.
62656         (memcmp): Don't use BP_SYM.
62657         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
62658         <bp-sym.h> and <bp-asm.h>.
62659         (memcpy): Don't use BP_SYM.
62660         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
62661         <bp-sym.h> and <bp-asm.h>.
62662         (__mempcpy): Don't use BP_SYM.
62663         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
62664         <bp-sym.h> and <bp-asm.h>.
62665         (__memrchr): Don't use BP_SYM.
62666         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
62667         <bp-sym.h> and <bp-asm.h>.
62668         (memset): Don't use BP_SYM.
62669         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
62670         <bp-sym.h> and <bp-asm.h>.
62671         (__rawmemchr): Don't use BP_SYM.
62672         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
62673         <bp-sym.h> and <bp-asm.h>.
62674         (__STRCMP): Don't use BP_SYM.
62675         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
62676         <bp-sym.h> and <bp-asm.h>.
62677         (strchr): Don't use BP_SYM.
62678         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
62679         <bp-sym.h> and <bp-asm.h>.
62680         (__strchrnul): Don't use BP_SYM.
62681         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
62682         <bp-sym.h> and <bp-asm.h>.
62683         (strlen): Don't use BP_SYM.
62684         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
62685         <bp-sym.h> and <bp-asm.h>.
62686         (strncmp): Don't use BP_SYM.
62687         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
62688         <bp-sym.h> and <bp-asm.h>.
62689         (__strnlen): Don't use BP_SYM.
62690         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
62691         <bp-asm.h>.
62692         (__mpn_rshift): Don't use BP_SYM.
62693         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
62694         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
62695         <bp-sym.h> and <bp-asm.h>.
62696         (__sigsetjmp): Don't use BP_SYM.
62697         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
62698         (L(start_addresses)): Don't use BP_SYM.
62699         (_start): Likewise.
62700         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
62701         <bp-asm.h>.
62702         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
62703         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62704         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62705         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
62706         <bp-asm.h>.
62707         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
62708         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
62709         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
62710         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
62711         <bp-asm.h>.
62712         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62713         comments.
62714         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
62715         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
62716         <bp-asm.h>.
62717         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
62718         FIXME comments.
62719         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
62720         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
62721         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
62722         <bp-asm.h>.
62723         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
62724         comment.
62725         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
62726         and <bp-asm.h>.
62727         (strncmp): Don't use BP_SYM,
62728         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
62729         <bp-asm.h>.
62730         (__mpn_sub_n): Don't use BP_SYM.
62731         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
62732         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
62733         and <bp-asm.h>.
62734         (__mpn_submul_1): Don't use BP_SYM.
62735         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
62736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
62737         <bp-sym.h> and <bp-asm.h>.
62738         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
62739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
62740         <bp-sym.h> and <bp-asm.h>.
62741         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
62742         comment.
62744 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
62747         Use ZK to minimize writes to Z.
62748         (sub_magnitudes): Simplify code a bit.
62749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
62750         Use ZK to minimize writes to Z.
62751         (sub_magnitudes): Simplify code a bit.
62753 2013-02-27  Roland McGrath  <roland@hack.frob.com>
62755         * csu/gmon-start.c: Add special exception to license text.
62757 2013-02-27  Richard Henderson  <rth@redhat.com>
62759         * scripts/config.guess: Update from config.git.
62760         * scripts/config.sub: Likewise.
62762 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62764         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
62766         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
62768         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
62770         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
62772         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
62774 2013-02-26  Roland McGrath  <roland@hack.frob.com>
62776         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
62777         [$(build-shared = yes].
62779 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62781         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
62782         (__mul): Reduce iterations for calculating mantissa.
62784         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
62785         MPTWO.
62786         (__mpranred): Likewise.
62788         [BZ #15160]
62789         * malloc/memusagestat.c (main): Draw graphs for heap and stack
62790         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
62792 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
62794         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
62795         Define __attribute__.
62797 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62799         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
62800         unused.
62801         * posix/regex_internal.h (__attribute): Remove.
62802         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
62803         (re_string_context_at): Likewise.
62804         (bitset_not): Use __attribute__ and mark function as possibly
62805         unused.
62806         (bitset_merge): Likewise.
62807         (bitset_mask): Likewise.
62808         (re_string_char_size_at): Likewise.
62809         (re_string_wchar_at): Likewise.
62810         (re_string_elem_size_at): Likewise.
62812 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62814         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
62815         code.
62816         (cc32): Likewise.
62818         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
62819         (__acr): Likewise.
62820         (__cpy): Likewise.
62821         (norm): Likewise.
62822         (denorm): Likewise.
62823         (__dbl_mp): Likewise.
62824         (add_magnitudes): Likewise.
62825         (sub_magnitudes): Likewise.
62826         (__mul): Likewise.
62827         (__inv): Likewise.
62829         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
62830         style.
62832         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
62833         style.
62835         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
62836         code.
62838         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
62839         up changes with default code.
62840         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
62841         Likewise.
62843 2013-02-24  Allan McRae  <allan@archlinux.org>
62845         * manual/socket.texi (The Internet Namespace): Order menu items
62846         to match that in the file.
62848         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
62849         node listing of the info page menu.
62851 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
62853         [BZ #13550]
62854         * sysdeps/i386/bp-asm.h: Remove file.
62855         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
62856         (PARMS): Do not use macros from bp-asm.h.
62857         (S1): Likewise.
62858         (S2): Likewise.
62859         (SIZE): Likewise.
62860         (__mpn_add_n): Do not use BP_SYM
62861         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
62862         "bp-asm.h".
62863         (PARMS): Do not use macros from bp-asm.h.
62864         (S1): Likewise.
62865         (SIZE): Likewise.
62866         (__mpn_addmul_1): Do not use BP_SYM
62867         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
62868         "bp-asm.h".
62869         (PARMS): Do not use macros from bp-asm.h.
62870         (SIGMSK): Likewise.
62871         (_setjmp): Likewise.  Do not use BP_SYM.
62872         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
62873         "bp-asm.h".
62874         (PARMS): Do not use macros from bp-asm.h.
62875         (SIGMSK): Likewise.
62876         (setjmp): Likewise.  Do not use BP_SYM.
62877         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
62878         "bp-asm.h".
62879         (PARMS): Do not use macros from bp-asm.h.
62880         (__frexp): Do not use BP_SYM.
62881         (frexp): Likewise.
62882         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
62883         "bp-asm.h".
62884         (PARMS): Do not use macros from bp-asm.h.
62885         (__frexpf): Do not use BP_SYM.
62886         (frexpf): Likewise.
62887         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
62888         "bp-asm.h".
62889         (PARMS): Do not use macros from bp-asm.h.
62890         (__frexpl): Do not use BP_SYM.
62891         (frexpl): Likewise.
62892         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
62893         "bp-asm.h".
62894         (PARMS): Do not use macros from bp-asm.h.
62895         (__remquo): Do not use BP_SYM.
62896         (remquo): Likewise.
62897         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
62898         "bp-asm.h".
62899         (PARMS): Do not use macros from bp-asm.h.
62900         (__remquof): Do not use BP_SYM.
62901         (remquof): Likewise.
62902         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
62903         "bp-asm.h".
62904         (PARMS): Do not use macros from bp-asm.h.
62905         (__remquol): Do not use BP_SYM.
62906         (remquol): Likewise.
62907         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
62908         "bp-asm.h".
62909         (PARMS): Do not use macros from bp-asm.h.
62910         (DEST): Likewise.
62911         (SRC): Likewise.
62912         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
62913         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
62914         "bp-asm.h".
62915         (PARMS): Do not use macros from bp-asm.h.
62916         (strlen): Do not use BP_SYM.
62917         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
62918         "bp-asm.h".
62919         (PARMS): Do not use macros from bp-asm.h.
62920         (S1): Likewise.
62921         (S2): Likewise.
62922         (SIZE): Likewise.
62923         (__mpn_add_n): Do not use BP_SYM.
62924         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
62925         "bp-asm.h".
62926         (PARMS): Do not use macros from bp-asm.h.
62927         (S1): Likewise.
62928         (SIZE): Likewise.
62929         (__mpn_addmul_1): Do not use BP_SYM.
62930         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
62931         weak_alias.
62932         (bzero): Likewise.
62933         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
62934         "bp-asm.h".
62935         (PARMS): Do not use macros from bp-asm.h.
62936         (S): Likewise.
62937         (SIZE): Likewise.
62938         (__mpn_lshift): Do not use BP_SYM.
62939         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
62940         "bp-asm.h".
62941         (PARMS): Do not use macros from bp-asm.h.
62942         (DEST): Likewise.
62943         (SRC): Likewise.
62944         (LEN): Likewise.
62945         (memcpy): Likewise.  Do not use BP_SYM.
62946         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
62947         libc_hidden_def and weak_alias.
62948         (mempcpy): Do not use BP_SYM in weak_alias.
62949         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
62950         "bp-asm.h".
62951         (PARMS): Do not use macros from bp-asm.h.
62952         (DEST): Likewise.
62953         (LEN): Likewise.
62954         [!BZERO_P] (CHR): Likewise.
62955         (memset): Likewise.  Do not use BP_SYM.
62956         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
62957         "bp-asm.h".
62958         (PARMS): Do not use macros from bp-asm.h.
62959         (S1): Likewise.
62960         (SIZE): Likewise.
62961         (__mpn_mul_1): Do not use BP_SYM.
62962         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
62963         "bp-asm.h".
62964         (PARMS): Do not use macros from bp-asm.h.
62965         (S): Likewise.
62966         (SIZE): Likewise.
62967         (__mpn_rshift): Do not use BP_SYM.
62968         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
62969         "bp-asm.h".
62970         (PARMS): Do not use macros from bp-asm.h.
62971         (STR): Likewise.
62972         (CHR): Likewise.
62973         (strchr): Likewise.  Do not use BP_SYM.
62974         (index): Do not use BP_SYM in weak_alias.
62975         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
62976         "bp-asm.h".
62977         (PARMS): Do not use macros from bp-asm.h.
62978         (DEST): Likewise.
62979         (SRC): Likewise.
62980         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
62981         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
62982         "bp-asm.h".
62983         (PARMS): Do not use macros from bp-asm.h.
62984         (strlen): Do not use BP_SYM.
62985         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
62986         "bp-asm.h".
62987         (PARMS): Do not use macros from bp-asm.h.
62988         (S1): Likewise.
62989         (S2): Likewise.
62990         (SIZE): Likewise.
62991         (__mpn_sub_n): Do not use BP_SYM.
62992         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
62993         "bp-asm.h".
62994         (PARMS): Do not use macros from bp-asm.h.
62995         (S1): Likewise.
62996         (SIZE): Likewise.
62997         (__mpn_submul_1): Do not use BP_SYM.
62998         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
62999         "bp-asm.h".
63000         (PARMS): Do not use macros from bp-asm.h.
63001         (S1): Likewise.
63002         (S2): Likewise.
63003         (SIZE): Likewise.
63004         (__mpn_add_n): Do not use BP_SYM.
63005         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
63006         weak_alias.
63007         (bzero): Likewise.
63008         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
63009         "bp-asm.h".
63010         (PARMS): Do not use macros from bp-asm.h.
63011         (BLK2): Likewise.
63012         (LEN): Likewise.
63013         (memcmp): Do not use BP_SYM.
63014         (bcmp): Do not use BP_SYM in weak_alias.
63015         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
63016         "bp-asm.h".
63017         (PARMS): Do not use macros from bp-asm.h.
63018         (DEST): Likewise.
63019         (SRC): Likewise.
63020         (LEN): Likewise.
63021         (memcpy): Likewise.  Do not use BP_SYM.
63022         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
63023         "bp-asm.h".
63024         (PARMS): Do not use macros from bp-asm.h.
63025         (DEST): Likewise.
63026         (SRC): Likewise.
63027         (LEN): Likewise.
63028         (memmove): Likewise.  Do not use BP_SYM.
63029         * sysdeps/i386/i686/mempcpy.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         (LEN): Likewise.
63035         (__mempcpy): Likewise.  Do not use BP_SYM.
63036         (mempcpy): Do not use BP_SYM in weak_alias.
63037         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
63038         "bp-asm.h".
63039         (PARMS): Do not use macros from bp-asm.h.
63040         (DEST): Likewise.
63041         (LEN): Likewise.
63042         [!BZERO_P] (CHR): Likewise.
63043         (memset): Likewise.  Do not use BP_SYM.
63044         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
63045         "bp-asm.h".
63046         (PARMS): Do not use macros from bp-asm.h.
63047         (STR2): Likewise.
63048         (strcmp): Do not use BP_SYM.
63049         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
63050         "bp-asm.h".
63051         (PARMS): Do not use macros from bp-asm.h.
63052         (STR): Likewise.
63053         (DELIM): Likewise.
63054         [USE_AS_STRTOK_R] (SAVE): Likewise.
63055         (FUNCTION): Likewise.  Do not use BP_SYM.
63056         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
63057         aliases.
63058         (strtok_r): Likewise.
63059         (__GI___strtok_r): Likewise.
63060         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63061         (PARMS): Do not use macros from bp-asm.h.
63062         (S): Likewise.
63063         (SIZE): Likewise.
63064         (__mpn_lshift): Do not use BP_SYM.
63065         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63066         (PARMS): Do not use macros from bp-asm.h.
63067         (STR): Likewise.
63068         (CHR): Likewise.
63069         (__memchr): Do not use BP_SYM.
63070         (memchr): Do not use BP_SYM in weak_alias.
63071         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63072         (PARMS): Do not use macros from bp-asm.h.
63073         (BLK2): Likewise.
63074         (LEN): Likewise.
63075         (memcmp): Do not use BP_SYM.
63076         (bcmp): Do not use BP_SYM in weak_alias.
63077         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
63078         (PARMS): Do not use macros from bp-asm.h.
63079         (S1): Likewise.
63080         (SIZE): Likewise.
63081         (__mpn_mul_1): Do not use BP_SYM.
63082         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
63083         "bp-asm.h".
63084         (PARMS): Do not use macros from bp-asm.h.
63085         (STR): Likewise.
63086         (CHR): Likewise.
63087         (__rawmemchr): Do not use BP_SYM.
63088         (rawmemchr): Do not use BP_SYM in weak_alias.
63089         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
63090         (PARMS): Do not use macros from bp-asm.h.
63091         (S): Likewise.
63092         (SIZE): Likewise.
63093         (__mpn_rshift): Do not use BP_SYM.
63094         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
63095         (PARMS): Do not use macros from bp-asm.h.
63096         (SIGMSK): Likewise.
63097         (__sigsetjmp): Likewise.  Do not use BP_SYM.
63098         * sysdeps/i386/start.S: Do not include "bp-sym.h".
63099         (_start): Do not use BP_SYM.
63100         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
63101         (PARMS): Do not use macros from bp-asm.h.
63102         (DEST): Likewise.
63103         (SRC): Likewise.
63104         (__stpcpy): Likewise.  Do not use BP_SYM.
63105         (stpcpy): Do not use BP_SYM in weak_alias.
63106         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
63107         "bp-asm.h".
63108         (PARMS): Do not use macros from bp-asm.h.
63109         (DEST): Likewise.
63110         (SRC): Likewise.
63111         (LEN): Likewise.
63112         (__stpncpy): Likewise.  Do not use BP_SYM.
63113         (stpncpy): Do not use BP_SYM in weak_alias.
63114         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
63115         (PARMS): Do not use macros from bp-asm.h.
63116         (STR): Likewise.
63117         (CHR): Likewise.
63118         (strchr): Likewise.  Do not use BP_SYM.
63119         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
63120         "bp-asm.h".
63121         (PARMS): Do not use macros from bp-asm.h.
63122         (STR): Likewise.
63123         (CHR): Likewise.
63124         (__strchrnul): Likewise.  Do not use BP_SYM.
63125         (strchrnul): Do not use BP_SYM in weak_alias.
63126         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
63127         "bp-asm.h".
63128         (PARMS): Do not use macros from bp-asm.h.
63129         (STOP): Likewise.
63130         (strcspn): Do not use BP_SYM.
63131         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
63132         "bp-asm.h".
63133         (PARMS): Do not use macros from bp-asm.h.
63134         (STR): Likewise.
63135         (STOP): Likewise.
63136         (strpbrk): Likewise.  Do not use BP_SYM.
63137         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
63138         "bp-asm.h".
63139         (PARMS): Do not use macros from bp-asm.h.
63140         (STR): Likewise.
63141         (CHR): Likewise.
63142         (strrchr): Likewise.  Do not use BP_SYM.
63143         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
63144         (PARMS): Do not use macros from bp-asm.h.
63145         (SKIP): Likewise.
63146         (strspn): Do not use BP_SYM.
63147         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
63148         (PARMS): Do not use macros from bp-asm.h.
63149         (STR): Likewise.
63150         (DELIM): Likewise.
63151         (SAVE): Likewise.
63152         (FUNCTION): Likewise.  Do not use BP_SYM.
63153         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
63154         aliases.
63155         (strtok_r): Likewise.
63156         (__GI___strtok_r): Likewise.
63157         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
63158         (PARMS): Do not use macros from bp-asm.h.
63159         (S1): Likewise.
63160         (S2): Likewise.
63161         (SIZE): Likewise.
63162         (__mpn_sub_n): Do not use BP_SYM.
63163         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
63164         "bp-asm.h".
63165         (PARMS): Do not use macros from bp-asm.h.
63166         (S1): Likewise.
63167         (SIZE): Likewise.
63168         (__mpn_submul_1): Do not use BP_SYM.
63169         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
63170         <bp-sym.h>.
63171         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
63172         and <bp-asm.h>.
63173         (PARMS): Do not use macros from bp-asm.h.
63174         (FLAGS): Likewise.
63175         (PTID): Likewise.
63176         (TLS): Likewise.
63177         (CTID): Likewise.
63178         (__clone): Do not use BP_SYM.
63179         (clone): Do not use BP_SYM in weak_alias.
63180         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
63181         and <bp-asm.h>.
63182         (PARMS): Do not use macros from bp-asm.h.
63183         (LEN): Likewise.
63184         (__mmap64): Do not use BP_SYM.
63185         (mmap64): Do not use BP_SYM in weak_alias.
63186         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63187         <bp-sym.h> and <bp-asm.h>.
63188         (PARMS): Do not use macros from bp-asm.h.
63189         (__posix_fadvise64_l64): Do not use BP_SYM.
63190         * sysdeps/unix/sysv/linux/i386/semtimedop.S
63191         (PARMS): Do not use macros from bp-asm.h.
63192         (NSOPS): Likewise.
63193         (semtimedop): Do not use BP_SYM.
63194         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
63195         and <bp-asm.h>.
63197 2013-02-21  Allan McRae  <allan@archlinux.org>
63199         * manual/message.texi (Charset conversion in gettext):
63200         Move @end statement to beginning of line.
63202 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
63205         static.
63206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
63207         Likewise.
63209         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
63210         (denorm): Likewise.
63211         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
63212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
63214 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63216         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
63217         tail-call to the resolved function if pltexit isn't needed.
63219 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63221         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
63222         or Y being zero as being unlikely.
63223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
63224         Likewise.
63226 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
63228         * manual/nss.texi (System Databases and Name Service Switch):
63229         Remove frobnicate @pxref.
63231 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63233         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63234         __attribute__ ((unused)) to __attribute__ ((__unused__)).
63236 2013-02-20  Petr Machata  <pmachata@redhat.com>
63238         * elf/elf.h (R_ARM_TARGET1): New macro.
63239         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
63240         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
63241         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
63242         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
63243         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
63244         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
63245         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
63246         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
63247         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
63248         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
63249         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
63250         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
63251         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
63252         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
63253         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
63254         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
63255         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
63256         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
63257         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
63258         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
63259         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
63260         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
63261         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
63262         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
63263         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
63264         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
63265         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
63266         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
63267         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
63268         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
63269         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
63270         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
63271         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
63272         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
63273         (R_ARM_THM_GOT_BREL12): Likewise.
63274         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
63275         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
63276         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
63277         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
63278         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
63279         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
63280         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
63281         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
63282         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
63284 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
63286         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
63287         __attribute_used__ to __attribute__ ((unused)).
63289 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63291         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
63292         powerpc mpa.c.
63293         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
63294         comment formatting.
63295         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
63297 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
63299         [BZ #13550]
63300         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
63301         Remove macro.
63302         (ENTER): Remove both macro definitions.
63303         (LEAVE): Likewise.
63304         (CHECK_BOUNDS_LOW): Likewise.
63305         (CHECK_BOUNDS_HIGH): Likewise.
63306         (CHECK_BOUNDS_BOTH): Likewise.
63307         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
63308         (RETURN_BOUNDED_POINTER): Likewise.
63309         (RETURN_NULL_BOUNDED_POINTER): Likewise.
63310         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
63311         (POP_ERRNO_LOCATION_RETURN): Likewise.
63312         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
63313         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63314         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
63315         macros.
63316         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63317         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
63318         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
63319         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
63320         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
63321         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
63322         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
63323         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
63324         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
63325         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
63326         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
63327         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
63328         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63329         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
63330         removed macros.
63331         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63332         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
63333         macros.
63334         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63335         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
63336         * sysdeps/i386/i586/memset.S (memset): Likewise.
63337         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
63338         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63339         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
63340         macros.
63341         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63342         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
63343         Change uses of L(2) to L(out).
63344         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
63345         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
63346         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
63347         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63348         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
63349         removed macros.
63350         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63351         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
63352         macros.
63353         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63354         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
63355         (RETURN): Do not use macro LEAVE.
63356         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
63357         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
63358         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
63359         * sysdeps/i386/i686/memset.S (memset): Likewise.
63360         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
63361         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
63362         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
63363         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
63364         Likewise.
63365         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63366         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
63367         L(1_2) and L(1_3) into L(1).
63368         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63369         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
63370         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63371         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
63372         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
63373         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
63374         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
63375         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63376         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
63377         macros.
63378         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
63379         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
63380         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
63381         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
63382         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
63383         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
63384         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
63385         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
63386         * sysdeps/i386/strcspn.S (strcspn): Likewise.
63387         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
63388         * sysdeps/i386/strrchr.S (strrchr): Likewise.
63389         * sysdeps/i386/strspn.S (strspn): Likewise.
63390         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
63391         conditional code.
63392         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
63393         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
63394         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
63395         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
63396         L(1_3) into L(1_1).
63397         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
63398         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
63399         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
63400         macros.
63401         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
63403 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
63405         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
63406         macro.
63408 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63410         * math/atest-exp.c (exp_mpn): Remove ROUND.
63411         * math/atest-exp2.c (exp_mpn): Likewise.
63412         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
63414         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
63415         * stdlib/tst-tls-atexit-lib.c: Likewise.
63416         * stdlib/tst-tls-atexit.c: Likewise.
63418 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63420         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
63421         and __attribute_alloc_size__.
63423 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63425         * include/programs/xmalloc.h: Change __attribute_alloc_size to
63426         __attribute_alloc_size__.
63427         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
63428         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
63430 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
63432         * include/programs/xmalloc.h: New file.
63433         * catgets/gencat.c: Include it.
63434         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
63435         * elf/pldd.c: Likewise.
63436         * iconv/iconv_charmap.c: Likewise.
63437         * iconv/iconvconfig.c: Likewise.
63438         * iconv/strtab.c: Likewise.
63439         * locale/programs/locale.c: Likewise.
63440         * locale/programs/localedef.h: Likewise.
63441         * locale/programs/simple-hash.c: Likewise.
63442         * nscd/nscd.h: Likewise.
63443         * nss/makedb.c: Likewise.
63444         * sysdeps/generic/ldconfig.h: Likewise.
63446 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63448         * Versions.def: Add GLIBC_2.18.
63449         * include/link.h (struct link_map): New member l_tls_dtor_count.
63450         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
63451         (__call_tls_dtors): Likewise.
63452         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
63453         __cxa_thread_atexit_impl.
63454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63455         Likewise.
63456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63457         Likewise.
63458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
63459         Likewise.
63460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
63461         Likewise.
63462         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
63463         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
63464         Likewise.
63465         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
63466         Likewise.
63467         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
63468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63469         Likewise.
63470         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
63471         (tests): Add test case tst-tls-atexit.
63472         (modules-names): Add shared library for tst-tls-atexit.
63473         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
63474         (GLIBC_PRIVATE): Add __call_tls_dtors.
63475         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
63476         for libstdc++.
63477         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
63478         * stdlib/tst-tls-atexit.c: New test case.
63479         * stdlib/tst-tls-atexit-lib.c: New test case.
63481         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
63483         * elf/Versions (ld): Add _dl_find_dso_for_object.
63484         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
63485         * elf/dl-open.c (_dl_find_dso_for_object): New function.
63486         (dl_open_worker): Use _dl_find_dso_for_object.
63487         * elf/dl-sym.c (do_sym): Likewise.
63488         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
63490 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63492         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
63493         Syntactic changes only.
63494         (_dl_runtime_profile): Do a tail-call to the resolved function.
63496 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
63498         [BZ #13550]
63499         * sysdeps/x86_64/bp-asm.h: Remove file.
63500         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
63501         <bp-sym.h> and <bp-asm.h>.
63502         (__clone): Do not use BP_SYM.
63503         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
63504         <bp-sym.h> and <bp-asm.h>.
63505         * sysdeps/unix/x86_64/sysdep.S: Likewise.
63506         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
63507         "bp-asm.h".
63508         (_setjmp): Do not use BP_SYM.
63509         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
63510         "bp-asm.h".
63511         (setjmp): Do not use BP_SYM.
63512         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
63513         libc_hidden_def.
63514         (mempcpy): Do not use BP_SYM in weak_alias.
63515         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
63516         "bp-asm.h".
63517         (strchr): Do not use BP_SYM.
63518         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
63519         "bp-asm.h".
63520         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
63521         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
63522         (_start): Do not use BP_SYM.
63523         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
63524         "bp-asm.h".
63525         (strcat): Do not use BP_SYM.
63526         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
63527         "bp-asm.h".
63528         (STRCMP): Do not use BP_SYM.
63529         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
63530         "bp-asm.h".
63531         (STRCPY): Do not use BP_SYM.
63532         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
63533         "bp-asm.h".
63534         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
63535         "bp-asm.h".
63536         (FUNCTION): Do not use BP_SYM.
63537         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
63538         weak_alias.
63539         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
63541 2013-02-17  Andreas Jaeger  <aj@suse.de>
63543         * time/Versions: Sort entries.
63544         * string/Versions: Likewise.
63545         * resolv/Versions: Likewise.
63546         * posix/Versions: Likewise.
63547         * iconv/Versions: Likewise.
63548         * elf/Versions: Likewise.
63549         * wcsmbs/Versions: Likewise.
63551 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63553         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
63554         loop termination condition.
63556         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
63557         variable to calculate EZ.
63558         (__sqr): Likewise.
63560         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
63561         the lower precision input.
63563 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
63565         [BZ #13550]
63566         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
63567         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
63568         (run-via-rtld-prefix): Do not handle %-bp tests.
63569         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
63570         (all-object-suffixes): Remove .ob.
63571         (bppfx): Remove variable.
63572         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
63573         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
63574         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
63575         [$(build-bounded) = yes] (libtype.ob): Likewise.
63576         * Makerules (elide-routines.ob): Remove variable.
63577         (do-tests-clean): Do not handle *-bp.out.
63578         (common-mostlyclean): Do not handle *-bp and *-bp.out.
63579         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
63580         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
63581         (tests): Do not include $(tests-bp.out).
63582         (xtests): Do not include $(xtests-bp.out).
63583         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
63584         [$(build-bounded) = yes] ($(addprefix
63585         $(objpfx),$(binaries-bounded))): Remove rule.
63586         ($(objpfx)%-bp.out): Remove rule.
63587         * config.make.in (build-bounded): Remove variable.
63588         * crypt/Makefile [$(build-bounded) = yes]
63589         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
63590         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
63591         append to variable.
63592         [$(build-bounded) = yes] (install-lib): Likewise.
63593         [$(build-bounded) = yes] (generated): Likewise.
63594         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
63595         Remove rule.
63596         * intl/Makefile [$(build-bounded) = yes]
63597         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
63598         * math/Makefile [$(build-bounded) = yes]
63599         ($(tests:%=$(objpfx)%-bp): Likewise.
63600         * misc/Makefile [$(build-bounded) = yes]
63601         ($(objpfx)tst-tsearch-bp): Likewise.
63602         * nptl/Makeconfig (bounded-thread-library): Remove variable.
63603         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
63604         Remove dependency.
63605         * string/Makefile (o-objects.ob): Remove variable.
63606         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
63607         (CFLAGS-.ob): Remove variable.
63608         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
63609         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
63610         both definitions of variable.
63611         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
63612         (ASFLAGS-.ob): Remove variable.
63614 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
63616         [BZ #13550]
63617         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
63618         Remove __BOUNDED_POINTERS__ from condition.
63619         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
63620         * string/bits/string2.h [!__NO_STRING_INLINES &&
63621         !__BOUNDED_POINTERS__]: Likewise.
63622         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
63623         Likewise.
63624         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
63625         Remove conditional code.
63626         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
63627         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
63628         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
63629         condition.
63631         [BZ #13550]
63632         * csu/libc-start.c: Do not include <bp-sym.h>.
63633         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
63634         * elf/dl-open.c: Do not include <bp-sym.h>.
63635         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
63636         * math/fegetenv.c: Do not include <bp-sym.h>.
63637         (fegetenv): Do not use BP_SYM in versioned symbols.
63638         * nptl/sysdeps/pthread/bits/libc-lockP.h
63639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
63640         <bp-sym.h>.
63641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63642         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
63643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63644         (__pthread_mutex_destroy): Likewise.
63645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63646         (__pthread_mutex_lock): Likewise.
63647         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63648         (__pthread_mutex_trylock): Likewise.
63649         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63650         (__pthread_mutex_unlock): Likewise.
63651         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63652         (__pthread_mutexattr_init): Likewise.
63653         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63654         (__pthread_mutexattr_destroy): Likewise.
63655         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63656         (__pthread_mutexattr_settype): Likewise.
63657         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63658         (__pthread_rwlock_init): Likewise.
63659         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63660         (__pthread_rwlock_destroy): Likewise.
63661         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63662         (__pthread_rwlock_rdlock): Likewise.
63663         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63664         (__pthread_rwlock_tryrdlock): Likewise.
63665         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63666         (__pthread_rwlock_wrlock): Likewise.
63667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63668         (__pthread_rwlock_trywrlock): Likewise.
63669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63670         (__pthread_rwlock_unlock): Likewise.
63671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63672         (__pthread_key_create): Likewise.
63673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63674         (__pthread_setspecific): Likewise.
63675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63676         (__pthread_getspecific): Likewise.
63677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
63678         Likewise.
63679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63680         (_pthread_cleanup_push_defer): Likewise.
63681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63682         (_pthread_cleanup_pop_restore): Likewise.
63683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
63684         (pthread_setcancelstate): Likewise.
63685         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
63686         <bp-sym.h>.
63687         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
63688         (memchr): Do not use BP_SYM in weak_alias.
63689         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
63690         (fegetenv): Do not use BP_SYM in versioned symbols.
63691         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
63692         (fesetenv): Do not use BP_SYM in versioned symbols.
63693         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63694         (feupdateenv): Do not use BP_SYM in versioned symbols.
63695         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63696         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63697         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
63698         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
63699         (open64): Do not use BP_SYM in weak_alias.
63700         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
63701         (fegetenv): Do not use BP_SYM in versioned symbols.
63702         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
63703         (fesetenv): Do not use BP_SYM in versioned symbols.
63704         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
63705         (feupdateenv): Do not use BP_SYM in versioned symbols.
63706         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
63707         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
63708         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
63709         (feraiseexcept): Do not use BP_SYM in versioned symbols.
63710         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
63711         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
63712         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
63713         <bp-sym.h>.
63714         (__libc_start_main): Do not use BP_SYM.
63716 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63718         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
63719         redundant return line.
63720         (norm): Likewise.
63721         (denorm): Likewise.
63722         (dbl_mp): Likewise.
63723         (sub_magnitudes): Likewise.
63724         (__add): Likewise.
63725         (__sub): Likewise.
63726         (__mul): Likewise.
63727         (__inv): Likewise.
63728         (__dvd): Likewise.
63729         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
63730         (norm): Likewise.
63731         (denorm): Likewise.
63732         (dbl_mp): Likewise.
63733         (sub_magnitudes): Likewise.
63734         (__add): Likewise.
63735         (__sub): Likewise.
63736         (__mul): Likewise.
63737         (__inv): Likewise.
63738         (__dvd): Likewise.
63740         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
63741         instead of __mul.
63742         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
63743         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
63744         (cc32): Likewise.
63746         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
63747         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
63748         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
63749         of __mul for squares.
63750         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
63751         function
63752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
63753         Likewise.
63754         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
63755         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63757 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
63759         [BZ #13550]
63760         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
63761         code.
63762         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
63763         prototype or function definition.  Rename ubp_* variables and
63764         parameters.  Remove argv definitions conditional on
63765         [__BOUNDED_POINTERS__].
63766         * debug/backtrace.c (__backtrace): Do not use __unbounded.
63767         * elf/dl-runtime.c (_dl_fixup): Likewise.
63768         * include/set-hooks.h (RUN_HOOK): Likewise.
63769         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
63770         definition.
63771         * string/strcpy.c (strcpy): Do not use __unbounded.
63772         * sysdeps/generic/frame.h (struct layout): Likewise.
63773         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
63774         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
63775         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
63776         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
63777         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
63778         (__backtrace): Likewise.
63779         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
63780         use __ptrvalue.
63781         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
63782         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
63783         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
63784         Likewise.
63785         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
63786         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
63787         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
63788         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
63789         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
63790         Do not use __unbounded.
63791         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
63792         Rename __unboundedrlimits parameter to rlimits in prototype.
63793         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
63794         Do not use __unbounded.
63795         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
63796         not use __ptrvalue.
63797         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
63798         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
63799         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
63800         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
63801         __ptrvalue or __unbounded.
63802         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
63803         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
63804         use __unbounded.
63805         (__new_msgctl): Do not use __ptrvalue.
63806         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
63807         __unbounded.
63808         (__libc_msgrcv): Do not use __ptrvalue.
63809         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
63810         startup_info): Do not use __unbounded.
63811         (__libc_start_main): Likewise.  Rename ubp_* variables and
63812         parameters.  Remove argv definitions conditional on
63813         [__BOUNDED_POINTERS__].
63814         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
63815         __ptrvalue.
63816         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
63817         use __unbounded.
63818         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
63819         or __ptrvalue.
63820         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
63821         use __unbounded.
63822         (__new_shmctl): Do not use __ptrvalue.
63823         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
63824         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
63825         Likewise.
63826         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
63827         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
63828         (__libc_sigaction): Likewise.
63829         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
63830         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
63831         Likewise.
63832         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
63834 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
63836         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
63838         * string/mempcpy.c: Implement by calling memcpy.
63840 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
63842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
63844         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
63845         evaluation.
63847         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
63848         values in the mantissa.
63850         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
63851         minimize writes to Z.
63852         (sub_magnitudes): Simplify code a bit.
63854 2013-02-12  Roland McGrath  <roland@hack.frob.com>
63856         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
63857         from the message.  The linker prefixes all warnings with that already.
63859 2013-02-12  Andreas Schwab  <schwab@suse.de>
63861         [BZ #15078]
63862         * posix/regexec.c (extend_buffers): Add parameter min_len.
63863         (check_matching): Pass minimum needed length.
63864         (clean_state_log_if_needed): Likewise.
63865         (get_subexp): Likewise.
63866         * posix/Makefile (tests): Add bug-regex34.
63867         (bug-regex34-ENV): Define.
63868         * posix/bug-regex34.c: New file.
63870         [BZ #11561]
63871         * posix/regcomp.c (parse_bracket_exp): When looking up collating
63872         elements compare against the byte sequence of it, not its name.
63873         * posix/Makefile (tests): Add bug-regex35.
63874         (bug-regex35-ENV): Define.
63875         * posix/bug-regex35.c: New file.
63877 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63879         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
63880         comment.
63881         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
63882         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
63883         (CHECK_EOL): Add undef.
63885 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
63887         * bits/stdlib-bsearch.h: New file.
63888         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
63889         * stdlib/stdlib.h: Likewise.
63891 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63893         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
63894         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
63895         declaration.
63896         * manual/search.texi (Array Search Function): Add missing const in
63897         lfind prototype.
63898         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
63899         declaration to use rlim_t.
63900         (Basic Scheduling Functions): Remove erroneous const from
63901         sched_getparam prototype.  Remove erroneous * from
63902         sched_get_priority_max and sched_get_priority_min prototypes.
63903         (Resource Usage): Fix summary @comment on vtimes to refer to
63904         sys/vtimes.h rather than vtimes.h.
63905         Add missing *s in vtimes prototype.
63906         (Limits on Resources): Fix ulimit prototype to return long int.
63907         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
63908         prototypes to use long int rather than double.
63909         (BSD Random): Fix initstate and setstate to use char *, not void *.
63910         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
63911         prototype to make second argument 'struct aiocb64 *const[]'.
63912         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
63913         (Status of AIO Operations): Remove erroneous const in aio_return and
63914         aio_return64 prototypes.
63915         (Synchronizing I/O): Fix sync prototype to return void.
63916         * manual/startup.texi (Suboptions): Remove an erroneous const in
63917         getsubopt prototype.
63918         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
63919         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
63920         use size_t rather than int.
63921         (Scanning All Users): Likewise for getpwent_r.
63922         (Setting Groups): Add missing const to setgroups prototype.
63923         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
63924         * manual/socket.texi (Host Names): Fix gethostbyaddr and
63925         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
63926         'const void *' rather than 'const char *'.
63927         (Host Address Functions): Likewise for inet_ntop.
63928         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
63929         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
63930         ssize_t for return value.
63931         (Sending Data): Likewise for send, sendto, sendmsg.
63932         (Socket Option Functions): Add a missing const in setsockopt prototype.
63933         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
63934         use wchar_t for the argument.
63935         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
63936         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
63937         take no arguments.
63938         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
63939         double/float/long double for second argument.
63940         Fix return types of significand, significandf, significandl.
63941         * manual/filesys.texi (Setting Permissions): Use mode_t for second
63942         argument in fchmod prototype.
63943         (File Owner): Use uid_t and gid_t in fchown prototype.
63944         (File Times): Add const to utimes, futimes, and lutimes prototypes.
63945         (Making Special Files): Use mode_t and dev_t in mknod prototype.
63946         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
63947         use 'const struct dirent **' as argument types to CMP function pointer
63948         argument.
63949         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
63950         (File Times): Fix summary magic @comment for struct utimbuf and utime
63951         to refer to utime.h, not time.h.
63952         * manual/string.texi (Argz Functions): Add missing const in
63953         argz_extract and argz_next prototypes.
63954         (Finding Tokens in a String): Likewise for basename.
63955         (String/Array Comparison): Fix typo in wcscasecmp prototype.
63956         (Copying and Concatenation): Fix typo in wmemmove prototype.
63957         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
63958         (Signal Stack): Remove erroneous const in sigstack prototype.
63959         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
63960         prototype.
63961         (Simple Calendar Time): Likewise for stime.
63962         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
63963         prototype.
63964         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
63965         say sys/sysctl.h instead.
63966         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
63967         and vsyslog prototypes.
63969 2013-02-11  Tom de Vries  <tom@codesourcery.com>
63971         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
63972         Remove.
63974 2013-02-11  Roland McGrath  <roland@hack.frob.com>
63976         * misc/sys/mman.h: Fix typo in mremap comment.
63978 2013-02-08  Roland McGrath  <roland@hack.frob.com>
63980         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
63981         the '\0' terminator.
63983 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
63985         [BZ #13550]
63986         * debug/segfault.c: Don't include <bp-checks.h>.
63987         * sysdeps/generic/bp-checks.h: Remove file.
63988         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
63989         (__GETDENTS): Don't use CHECK_N.
63990         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
63991         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
63992         (__getgroups): Don't use CHECK_N.
63993         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
63994         (setgroups): Don't use CHECK_N.
63995         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
63996         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
63997         (__libc_msgrcv): Don't use CHECK_N.
63998         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
63999         (__libc_msgsnd): Don't use CHECK_N.
64000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
64001         <bp-checks.h>.
64002         (__libc_pread): Don't use CHECK_N.
64003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
64004         include <bp-checks.h>.
64005         (__libc_pread64): Don't use CHECK_N.
64006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
64007         include <bp-checks.h>.
64008         (__libc_pwrite): Don't use CHECK_N.
64009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
64010         include <bp-checks.h>.
64011         (__libc_pwrite64): Don't use CHECK_N.
64012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
64013         <bp-checks.h>.
64014         (__libc_pread): Don't use CHECK_N.
64015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
64016         include <bp-checks.h>.
64017         (__libc_pread64): Don't use CHECK_N.
64018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
64019         include <bp-checks.h>.
64020         (__libc_pwrite): Don't use CHECK_N.
64021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
64022         include <bp-checks.h>.
64023         (__libc_pwrite64): Don't use CHECK_N.
64024         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
64025         (do_pread): Don't use CHECK_N.
64026         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
64027         (do_pread64): Don't use CHECK_N.
64028         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
64029         (do_pwrite): Don't use CHECK_N.
64030         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
64031         (do_pwrite64): Don't use CHECK_N.
64032         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
64033         (__libc_readv): Don't use CHECK_N.
64034         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
64035         (semop): Don't use CHECK_N.
64036         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
64037         <bp-checks.h>.
64038         (semtimedop): Don't use CHECK_N.
64039         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
64040         (__libc_pread): Don't use CHECK_N.
64041         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
64042         <bp-checks.h>.
64043         (__libc_pread64): Don't use CHECK_N.
64044         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
64045         <bp-checks.h>.
64046         (__libc_pwrite): Don't use CHECK_N.
64047         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
64048         <bp-checks.h>.
64049         (__libc_pwrite64): Don't use CHECK_N.
64050         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
64051         <bp-checks.h>.
64052         (__libc_msgrcv): Don't use CHECK_N.
64053         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
64054         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
64055         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
64056         (__libc_writev): Don't use CHECK_N.
64058 2013-02-08  Roland McGrath  <roland@hack.frob.com>
64060         * string/strcpy.c: Removed unused variable.
64062         * Makeconfig (+sysdep-includes): Define with := rather than =.
64063         Use an existing include/ subdir of each sysdeps dir before it.
64065 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64067         * nscd/connection.c (register_traced_file): Comment function.
64068         [HAVE_INOTIFY] (union __inev): Define.
64069         [HAVE_INOTIFY] (inotify_check_files): New function.
64070         [HAVE_INOTIFY] (clear_db_cache): Likewise.
64071         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
64072         clear_db_cache.
64073         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
64075 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64077         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
64078         loaded if not already and that a failure is permanent.
64080 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
64082         [BZ #15006]
64083         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
64084         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
64086 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
64088         [BZ #13550]
64089         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
64090         (CHECK_1_NULL_OK): Likewise.
64091         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
64092         (__fxstat): Do not use CHECK_1.
64093         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
64094         <bp-checks.h>.
64095         (___fxstat64): Do not use CHECK_1.
64096         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
64097         <bp-checks.h>.
64098         (__fxstatat): Do not use CHECK_1.
64099         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
64100         <bp-checks.h>.
64101         (__fxstatat64): Do not use CHECK_1.
64102         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
64103         <bp-checks.h>.
64104         (__fxstat): Do not use CHECK_1.
64105         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
64106         <bp-checks.h>.
64107         (__fxstatat): Do not use CHECK_1.
64108         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
64109         <bp-checks.h>.
64110         (__getresgid): Do not use CHECK_1.
64111         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
64112         <bp-checks.h>.
64113         (__getresuid): Do not use CHECK_1.
64114         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
64115         <bp-checks.h>.
64116         (__lxstat): Do not use CHECK_1.
64117         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
64118         <bp-checks.h>.
64119         (__old_msgctl): Do not use CHECK_1.
64120         (__new_msgctl): Likewise.
64121         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
64122         <bp-checks.h>.
64123         (__new_setrlimit): Do not use CHECK_1.
64124         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
64125         <bp-checks.h>.
64126         (__old_shmctl): Do not use CHECK_1.
64127         (__new_shmctl): Likewise.
64128         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
64129         <bp-checks.h>.
64130         (__xstat): Do not use CHECK_1.
64131         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
64132         (__lxstat): Do not use CHECK_1.
64133         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
64134         <bp-checks.h>.
64135         (___lxstat64): Do not use CHECK_1.
64136         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
64137         (__old_msgctl): Do not use CHECK_1.
64138         (__new_msgctl): Likewise.
64139         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
64140         <bp-checks.h>.
64141         (__gettimeofday): Do not use CHECK_1.
64142         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
64143         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
64144         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
64145         <bp-checks.h>.
64146         (__gettimeofday): Do not use CHECK_1.
64147         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
64148         (__old_shmctl): Do not use CHECK_1_NULL_OK.
64149         (__new_shmctl): Do not use CHECK_1.
64150         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
64151         <bp-checks.h>.
64152         (do_sigtimedwait): Do not use CHECK_1.
64153         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
64154         <bp-checks.h>.
64155         (do_sigwaitinfo): Do not use CHECK_1.
64156         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
64157         <bp-checks.h>.
64158         (msgctl): Do not use CHECK_1.
64159         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
64160         <bp-checks.h>.
64161         (shmctl): Do not use CHECK_1.
64162         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
64163         (ustat): Do not use CHECK_1.
64164         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
64165         <bp-checks.h>.
64166         (__fxstat): Do not use CHECK_1.
64167         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
64168         <bp-checks.h>.
64169         (__fxstatat): Do not use CHECK_1.
64170         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
64171         <bp-checks.h>.
64172         (__lxstat): Do not use CHECK_1.
64173         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
64174         <bp-checks.h>.
64175         (__xstat): Do not use CHECK_1.
64176         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
64177         (__xstat): Do not use CHECK_1.
64178         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
64179         (___xstat64): Do not use CHECK_1.
64181         [BZ #13550]
64182         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
64183         definitions.
64184         (CHECK_BOUNDS_HIGH): Likewise.
64185         * string/strcpy.c: Do not include <bp-checks.h>.
64186         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
64188 2013-02-07  Roland McGrath  <roland@hack.frob.com>
64190         * nscd/nscd-client.h (__nscd_drop_map_ref):
64191         Add __attribute__ ((unused)).
64192         * nis/nss-nisplus.h (niserr2nss): Likewise.
64194         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
64195         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
64197         * csu/libc-tls.c (init_static_tls, init_slotinfo):
64198         Remove inline keyword.
64199         * include/rounding-mode.h (round_away): Likewise.
64200         * libio/wfileops.c (adjust_wide_data): Likewise.
64201         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
64202         (__m128i_strloadu_tolower): Likewise.
64203         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
64204         (__m128i_strloadu_tolower): Likewise.
64205         * time/mktime.c (ydhms_diff): Likewise.
64206         * locale/elem-hash.h (elem_hash): Likewise.
64207         * locale/setlocale.c (setdata): Likewise.
64208         * posix/regex_internal.h (re_string_char_size_at): Likewise.
64209         (re_string_wchar_at): Likewise.
64210         (bitset_not, bitset_merge, bitset_mask): Likewise.
64211         [!(__GNUC__ > 3)] (inline): Remove macro.
64212         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
64213         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
64214         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
64215         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
64216         * string/memcmp.c (memcmp_bytes): Likewise.
64217         * locale/programs/locarchive.c (compute_hashval): Likewise.
64218         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
64219         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
64220         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
64221         * nss/getent.c (print_rpc, print_protocols): Likewise.
64222         (print_passwd, print_group, print_aliases): Likewise.
64223         * nis/nss-nisplus.h (niserr2nss): Likewise.
64224         * nscd/connections.c (restart_p): Likewise.
64225         Change return type to bool.
64227 2013-02-05  Roland McGrath  <roland@hack.frob.com>
64229         * Makeconfig (all-Depend-files): Add existing
64230         $(sorted-subdirs:=/Depend) files.
64231         (all-subdirs): Remove nss.
64232         * sysdeps/unix/inet/Subdirs: Add it here instead.
64233         * hesiod/Depend: New file.
64235         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
64236         instead of calling alloca.
64238         * io/lseek.c (__lseek): Rename to __libc_lseek.
64239         Define __lseek as an alias.
64241         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
64243 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
64245         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
64246         else clause and remove check for non-standard endianness.
64248 2013-02-04  David S. Miller  <davem@davemloft.net>
64250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64252 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
64254         [BZ #13550]
64255         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
64256         (__ubp_memchr): Remove prototype.
64257         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
64258         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64259         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
64260         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
64261         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
64262         Remove alias.
64263         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
64264         (__ubp_memchr): Likewise.
64265         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
64266         (__ubp_memchr): Likewise.
64267         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
64268         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
64269         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
64270         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
64271         CHECK_STRING.
64272         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
64273         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
64274         (__getcwd): Do not use CHECK_STRING.
64275         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
64276         <bp-checks.h>.
64277         (__real_chown): Do not use CHECK_STRING.
64278         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
64279         <bp-checks.h>.
64280         (fchownat): Do not use CHECK_STRING.
64281         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
64282         CHECK_STRING.
64283         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
64284         <bp-checks.h>.
64285         (__lchown): Do not use CHECK_STRING.
64286         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
64287         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
64288         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
64289         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
64290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
64291         include <bp-checks.h>.
64292         (truncate64): Do not use CHECK_STRING.
64293         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
64294         <bp-checks.h>.
64295         (__real_chown): Do not use CHECK_STRING.
64296         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
64297         <bp-checks.h>.
64298         (__lchown): Do not use CHECK_STRING.
64299         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
64300         <bp-checks.h>.
64301         (__chown): Do not use CHECK_STRING.
64302         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
64303         <bp-checks.h>.
64304         (truncate64): Do not use CHECK_STRING.
64305         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
64306         Likewise.
64307         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
64308         (__xmknod): Do not use CHECK_STRING.
64309         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
64310         <bp-checks.h>.
64311         (__xmknodat): Do not use CHECK_STRING.
64312         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
64313         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
64315 2013-02-04  Andreas Schwab  <schwab@suse.de>
64317         [BZ #14142]
64318         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
64319         * include/netdb.h: Likewise for h_errno.
64320         * elf/tst-stackguard1.c: Include <tls.h>.
64322 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
64324         * elf/link.h (struct link_map): Extend the l_addr comment.
64325         * include/link.h (struct link_map): Likewise.
64327 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
64329         [BZ #13550]
64330         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
64331         (BOUNDED_1): Remove macro.
64332         * debug/backtrace.c: Don't include <bp-checks.h>.
64333         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
64334         (__backtrace): Likewise.
64335         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
64336         <bp-checks.h>.
64337         (__backtrace): Don't use BOUNDED_1.
64338         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
64339         <bp-checks.h>.
64340         (__backtrace): Don't use BOUNDED_1.
64341         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
64342         (__backtrace): Don't use BOUNDED_1.
64343         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
64344         (shmat): Don't use BOUNDED_N.
64346 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
64348         [BZ #13550]
64349         * sysdeps/generic/bp-start.h: Remove file.
64350         * csu/libc-start.c: Don't include <bp-start.h>.
64351         (LIBC_START_MAIN): Set up __environ directly instead of using
64352         INIT_ARGV_and_ENVIRON.
64353         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
64354         <bp-start.h>.
64356         [BZ #13550]
64357         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
64358         definitions.
64359         (CHECK_FCNTL): Likewise.
64360         (CHECK_N_PAGES): Likewise.
64362         [BZ #13550]
64363         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
64364         definitions.
64365         (CHECK_SIGSET_NULL_OK): Likewise.
64366         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
64367         <bp-checks.h>.
64368         (sigpending): Don't use CHECK_SIGSET.
64369         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
64370         <bp-checks.h>.
64371         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64372         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
64373         <bp-checks.h>.
64374         (do_sigsuspend): Don't use CHECK_SIGSET.
64375         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
64376         use CHECK_SIGSET.
64377         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
64378         (do_sigwait): Don't use CHECK_SIGSET.
64379         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
64380         use CHECK_SIGSET.
64381         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
64382         include <bp-checks.h>.
64383         (sigpending): Don't use CHECK_SIGSET.
64384         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
64385         include <bp-checks.h>.
64386         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64387         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
64388         <bp-checks.h>.
64389         (sigpending): Don't use CHECK_SIGSET.
64390         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
64391         <bp-checks.h>.
64392         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
64394         [BZ #13550]
64395         * sysdeps/generic/bp-semctl.h: Remove file.
64396         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
64397         <bp-checks.h> and <bp-semctl.h>.
64398         (__old_semctl): Don't use CHECK_SEMCTL.
64399         (__new_semctl): Likewise.
64400         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
64401         and <bp-semctl.h>.
64402         (__old_semctl): Don't use CHECK_SEMCTL.
64403         (__new_semctl): Likewise.
64404         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
64405         <bp-checks.h> and <bp-semctl.h>.
64406         (__old_semctl): Don't use CHECK_SEMCTL.
64407         (__new_semctl): Likewise.
64408         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
64409         <bp-checks.h> and <bp-semctl.h>.
64410         (semctl): Don't use CHECK_SEMCTL.
64412         [BZ #13550]
64413         * Makerules (elide-bp-thunks): Remove variable.
64414         (elide-routines.oS): Don't use $(elide-bp-thunks).
64415         (elide-routines.os): Likewise.
64416         (elide-routines.o): Likewise.
64417         (elide-routines.op): Likewise.
64418         (elide-routines.og): Likewise.
64419         (objects): Don't use $(bp-thunks).
64420         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
64421         include.
64422         (common-generated): Do not add s-proto-bp.d.
64423         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
64424         (int): Likewise.
64425         (typ): Likewise.
64426         Do not generate makefile rules for bounded-pointer thunks.
64427         * sysdeps/generic/bp-thunks.h: Remove file.
64428         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
64429         * sysdeps/unix/s-proto-bp.S: Likewise.
64431         [BZ #15062]
64432         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
64433         parts of result separately when argument is not close to line from
64434         -i to i and one part of argument is small.
64435         * math/k_casinhf.c (__kernel_casinhf): Likewise.
64436         * math/k_casinhl.c (__kernel_casinhl): Likewise.
64437         * math/libm-test.inc (cacos_test): Add more tests.
64438         (casin_test): Likewise.
64439         (casinh_test): Likewise.
64440         * sysdeps/i386/fpu/libm-test-ulps: Update.
64441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64443 2013-01-31  David S. Miller  <davem@davemloft.net>
64445         * po/de.po: Update from translation team.
64447 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
64449         * time/tzfile.c: Include stdint.h for SIZE_MAX.
64451 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
64453         * configure.in (_AC_PROG_CC_C89): New definition.
64454         * configure: Regenerate.
64456         * configure.in (AC_PROG_CPP): New definition.
64457         * configure: Regenerate.
64459 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64461         * debug/tst-backtrace.h: New file.
64462         * debug/tst-backtrace2.c: Include tst-backtrace.h.
64463         (ret): Remove variable.
64464         (x): Likewise.
64465         (FAIL): Remove macro.
64466         (NO_INLINE): Likewise.
64467         (fn1): Use match function instead of strstr.
64468         * debug/tst-backtrace3.c: Include tst-backtrace.h.
64469         (ret): Remove variable.
64470         (x): Likewise.
64471         (FAIL): Remove macro.
64472         (NO_INLINE): Likewise.
64473         (fn): Use match function instead of strstr.
64474         * debug/tst-backtrace4.c: Include tst-backtrace.h.
64475         (ret): Remove variable.
64476         (x): Likewise.
64477         (FAIL): Remove macro.
64478         (NO_INLINE): Likewise.
64479         (handle_signal): Use match function instead of strstr.
64480         * debug/tst-backtrace5.c: Include tst-backtrace.h.
64481         (ret): Remove variable.
64482         (x): Likewise.
64483         (FAIL): Remove macro.
64484         (NO_INLINE): Likewise.
64485         (handle_signal): Use match function instead of strstr.
64487 2013-01-23  Roland McGrath  <roland@hack.frob.com>
64489         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
64491 2013-01-23  David S. Miller  <davem@davemloft.net>
64493         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
64494         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
64495         argument of CAS if possible.
64496         * sysdeps/sparc/sparc64/bits/atomic.h
64497         (__arch_compare_and_exchange_val_32_acq): Likewise.
64498         (__arch_compare_and_exchange_val_64_acq): Likewise.
64500 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
64502         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
64503         * sysdeps/posix/ulimit.c: ... this.
64504         Include <limits.h>.
64505         * sysdeps/unix/bsd/ulimit.c: Remove file.
64507 2013-01-23  Adam Conrad  <adconrad@0c3.net>
64509         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
64510         (LDFLAGS-tst-array5): Likewise.
64512 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
64514         [BZ #15036]
64515         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
64516         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
64517         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
64518         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
64520 2013-01-21  David S. Miller  <davem@davemloft.net>
64522         * sysdeps/sparc/backtrace.c: New file.
64523         * sysdeps/sparc/sparc32/backtrace.h: New file.
64524         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
64525         * sysdeps/sparc/sparc64/backtrace.h: New file.
64526         * sysdeps/sparc/sparc64/backtrace.c: Delete.
64527         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
64528         -funwind-tables.
64530 2013-01-21  Andreas Schwab  <schwab@suse.de>
64532         [BZ #15020]
64533         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
64534         closed its stdout.
64536 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
64538         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
64539         "mpa2.h".
64540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64542 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
64543             Mark Mitchell  <mark@codesourcery.com>
64544             Tom de Vries  <tom@codesourcery.com>
64545             Paul Pluzhnikov  <ppluzhnikov@google.com>
64547         * debug/tst-backtrace2.c: New file.
64548         * debug/tst-backtrace3.c: Likewise.
64549         * debug/tst-backtrace4.c: Likewise.
64550         * debug/tst-backtrace5.c: Likewise.
64551         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
64552         (CFLAGS-tst-backtrace3.c): Likewise.
64553         (CFLAGS-tst-backtrace4.c): Likewise.
64554         (CFLAGS-tst-backtrace5.c): Likewise.
64555         (LDFLAGS-tst-backtrace2): Likewise.
64556         (LDFLAGS-tst-backtrace3): Likewise.
64557         (LDFLAGS-tst-backtrace4): Likewise.
64558         (LDFLAGS-tst-backtrace5): Likewise.
64559         (tests): Add new tests tst-backtrace2, tst-backtrace3,
64560         tst-backtrace4 and tst-backtrace5.
64562 2013-01-18  Anton Blanchard  <anton@samba.org>
64563             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64565         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
64566         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
64567         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
64568         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
64569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
64570         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
64571         "+r" and remove output regs list as redundant.  Add explicit inline
64572         asm to specify register of return val to work around compiler codegen
64573         bug.  Remove (int) cast on return value.  Add return type parameter to
64574         use in macro so that this macro does not truncate return value for
64575         64-bit values.
64576         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
64577         pass to INTERNAL_VSYSCALL_NCS.
64578         (INLINE_VSYSCALL): Add 'long int' as return type to
64579         INTERNAL_VSYSCALL_NCS macro invocation.
64580         (INTERNAL_VSYSCALL): Add 'long int' as return type to
64581         INTERNAL_VSYSCALL_NCS macro invocation.
64582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
64584 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
64586         [BZ #14496]
64587         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
64588         Fix application of SIMD FP exception mask.
64590         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
64591         mp_no from a power of two.
64592         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
64593         __mpexp_twomm1.  Use __pow_mp.
64595         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
64596         multiplication.
64598 2013-01-17  David S. Miller  <davem@davemloft.net>
64600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64602 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64604         [BZ #15023]
64605         * include/complex.h: Condition contents on [!_COMPLEX_H].
64606         (__kernel_casinhf): New prototype.
64607         (__kernel_casinh): Likewise.
64608         (__kernel_casinhl): Likewise.
64609         * math/Makefile (libm_calls): Add k_casinh.
64610         * math/k_casinh.c: New file.
64611         * math/k_casinhf.c: Likewise.
64612         * math/k_casinhl.c: Likewise.
64613         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
64614         finite nonzero arguments.
64615         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
64616         finite nonzero arguments.
64617         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
64618         finite nonzero arguments.
64619         * math/s_casinh.c: Do not include <float.h>.
64620         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
64621         * math/s_casinhf.c: Do not include <float.h>.
64622         (__casinhf): Move code for finite nonzero arguments to
64623         k_casinhf.c.
64624         * math/s_casinhl.c: Do not include <float.h>.
64625         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
64626         redefine.
64627         (__casinhl): Move code for finite nonzero arguments to
64628         k_casinhl.c.
64629         * math/libm-test.inc (cacos_test): Add more tests.
64630         * sysdeps/i386/fpu/libm-test-ulps: Update.
64631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64633 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
64635         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
64636         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
64637         [!HAVE_MREMAP]: Remove [defined linux] case.
64638         * malloc/arena.c: Do not include <malloc-sysdep.h>.
64640 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
64642         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
64644 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
64646         * elf/elf.h (R_386_SIZE32): New relocation.
64647         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
64648         R_386_SIZE32.
64649         (elf_machine_rela): Likewise.
64650         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64651         R_X86_64_SIZE64 and R_X86_64_SIZE32.
64653 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
64655         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
64656         (FP_FAST_FMA): Do not define.
64657         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
64658         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
64659         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
64660         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
64661         !_SOFT_FLOAT]: Likewise.
64662         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
64663         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
64664         value.
64665         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
64666         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
64667         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
64668         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
64669         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
64670         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
64671         file.
64673 2013-01-16  Andreas Schwab  <schwab@suse.de>
64675         [BZ #14327]
64676         * include/stdlib.h (__mktemp): Add declaration.
64677         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
64678         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
64680 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
64682         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
64683         definitions.
64684         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
64685         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
64686         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
64687         definitions here.
64688         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
64689         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
64690         definitions.
64691         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
64692         and ONE.
64693         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
64694         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
64695         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
64696         definitions.
64697         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
64698         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
64699         definitions.
64700         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
64702         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
64704 2013-01-15  David S. Miller  <davem@davemloft.net>
64706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64707         trunc{,f} to libm-sysdep_routes.
64708         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
64710         file.
64711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
64712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
64713         file.
64714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
64715         file.
64716         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
64717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
64718         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
64719         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
64720         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
64721         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
64722         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
64723         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
64725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64726         nearbyint{,f} to libm-sysdep_routes.
64727         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
64729         New file.
64730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
64731         file.
64732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
64733         New file.
64734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
64735         file.
64736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
64737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
64738         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
64739         file.
64740         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
64741         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
64742         file.
64743         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
64744         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
64745         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
64747         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
64748         libc_feholdexcept and libc_fesetenv.
64750 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
64752         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
64754 2013-01-14  David S. Miller  <davem@davemloft.net>
64756         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
64757         (SPARC_ASM_VIS2_IFUNC): Likewise.
64758         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
64759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
64760         use of 'siam' instruction.
64761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
64762         Likewise.
64763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
64764         Likewise.
64765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
64766         Likewise.
64767         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
64768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
64769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
64770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
64771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
64772         file.
64773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
64774         file.
64775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
64776         file.
64777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
64778         file.
64779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
64780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
64781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
64782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
64783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
64784         new VIS2 routines.
64785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
64786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
64787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
64788         Likewise.
64789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
64790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
64791         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
64792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
64793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
64794         routines to libm-sysdep_routines.
64795         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
64797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
64798         fdim/fdimf to libm-sysdep_routines.
64799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
64800         file.
64801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
64802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
64803         file.
64804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
64805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
64806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
64807         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
64808         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
64809         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
64810         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
64812 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64814         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
64815         to optimize copies.
64817         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
64818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
64819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64821         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
64822         local variable MPTWO.
64823         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64824         Likewise.
64826 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64828         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
64829         GLOB_NOESCAPE.
64831 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64833         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
64835 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
64837         * manual/pattern.texi (glob_t): Document gl_flags.
64838         (glob64_t): Likewise.
64840 2013-01-11  David S. Miller  <davem@davemloft.net>
64842         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
64843         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
64844         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
64845         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
64846         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
64847         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
64848         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
64849         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
64850         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
64851         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
64852         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
64853         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
64854         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
64856         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
64857         sparc V9 rather than using V8 code.
64858         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
64859         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
64861         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
64862         Move to...
64863         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
64864         Here.
64866 2013-01-11  Roland McGrath  <roland@hack.frob.com>
64868         [BZ #14941]
64869         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
64870         not in the main loop.
64871         * configure: Regenerated.
64873 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
64875         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
64876         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
64877         to just #else.
64878         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
64879         [!__GLIBC_HAVE_LONG_LONG] case.
64880         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
64881         condition to just #else.
64882         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
64883         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
64884         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
64885         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
64886         unconditional.
64887         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
64888         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64889         #elif condition to just #else.
64890         * sysdeps/unix/sysv/linux/sys/sysmacros.h
64891         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
64892         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
64893         #elif condition to just #else.
64895 2013-01-11  Steve Ellcey  <sellcey@mips.com>
64897         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
64898         (EF_MIPS_ARCH_64): Fix value.
64899         (EF_MIPS_ARCH_32R2): New.
64900         (EF_MIPS_ARCH_64R2): New.
64902 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
64904         * Makeconfig (+link-pie-before-libc): New.
64905         (+link-pie-after-libc): Likewise.
64906         (+link-pie-tests): Likewise.
64907         (+link-pie): Rewritten.
64908         (link-before-libc): Remove $(config-LDFLAGS).
64909         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
64910         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
64911         (config-LDFLAGS): Renamed to ...
64912         (rtld-LDFLAGS): This.
64913         (rtld-tests-LDFLAGS): New macro.
64914         (link-libc-rpath-link): Likewise.
64915         (link-libc-tests-rpath-link): Likewise.
64916         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
64917         (link-libc): Prepand $(link-libc-rpath-link).
64918         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
64919         (test-program-prefix): New macro.
64920         (test-via-rtld-prefix): Likewise.
64921         (test-program-cmd): Likewise.
64922         (host-test-program-cmd): Likewise.
64923         * Makefile ($(common-objpfx)testrun.sh): Replace
64924         $(run-program-prefix) with $(test-program-prefix).
64925         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
64926         $(rtld-LDFLAGS).
64927         ($(common-objpfx)shlib.lds): Likewise.
64928         (build-module-helper): Likewise.
64929         ($(common-objpfx)format.lds): Likewise.
64930         * Rules (binaries-pie-tests): New.
64931         (binaries-pie-notests): Likewise.
64932         (binaries-pie): Rewritten.
64933         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
64934         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
64935         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
64936         (make-test-out): Replace $(host-built-program-cmd) with
64937         $(host-test-program-cmd).
64938         * config.make.in (build-hardcoded-path-in-tests): New variable.
64939         * configure.in (--enable-hardcoded-path-in-tests): New configure
64940         option.
64941         (hardcoded_path_in_tests): New AC_SUBST.
64942         * configure: Regenerated.
64943         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
64944         $(built-program-cmd) with $(test-program-cmd).
64945         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
64946         (test_program_cmd): This.
64947         * elf/Makefile ($(objpfx)order.out): Run test with
64948         $(test-program-prefix).
64949         ($(objpfx)order2.out): Likewise.
64950         ($(objpfx)tst-initorder.out): Likewise.
64951         ($(objpfx)tst-initorder2.out): Likewise.
64952         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
64953         $(test-program-cmd).
64954         ($(objpfx)tst-array1-static.out): Likewise.
64955         ($(objpfx)tst-array2.out): Likewise.
64956         ($(objpfx)tst-array3.out): Likewise.
64957         ($(objpfx)tst-array4.out): Likewise.
64958         ($(objpfx)tst-array5.out): Likewise.
64959         ($(objpfx)tst-array5-static.out): Likewise.
64960         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
64961         $(test-program-cmd).
64962         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
64963         $(run-program-prefix) with $(test-program-prefix).
64964         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
64965         (test_program_prefix): This.
64966         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
64967         $(run-program-prefix) with $(test-program-prefix).
64968         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
64969         (test_program_prefix): This.
64970         * iconvdata/tst-tables.sh: Likewise.
64971         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
64972         $(run-program-prefix) with $(test-program-prefix).
64973         ($(objpfx)tst-translit.out): Likewise.
64974         ($(objpfx)tst-gettext2.out): Likewise.
64975         ($(objpfx)tst-gettext4.out): Likewise.
64976         ($(objpfx)tst-gettext6.out): Likewise.
64977         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
64978         (test_program_prefix): This.
64979         * intl/tst-gettext2.sh: Likewise.
64980         * intl/tst-gettext4.sh  Likewise.
64981         * intl/tst-gettext6.sh: Likewise.
64982         * intl/tst-translit.sh: Likewise.
64983         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
64984         with $(test-program-cmd).
64985         * libio/Makefile ($(objpfx)test-freopen.out): Replace
64986         $(run-program-prefix) with $(test-program-prefix).
64987         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
64988         (test_program_prefix): This.
64989         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
64990         $(run-program-prefix) with $(test-program-prefix).
64991         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
64992         (test_program_prefix): This.
64993         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
64994         * posix/Makefile ($(objpfx)globtest.out): Replace
64995         $(run-via-rtld-prefix) and $(test-wrapper) with
64996         $(test-program-prefix) and $(test-via-rtld-prefix).
64997         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
64998         $(test-program-prefix).
64999         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
65000         $(host-test-program-cmd).
65001         (tst-spawn-ARGS): Likewise.
65002         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
65003         $(test-program-prefix).
65004         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
65005         (test_via_rtld_prefix): This.
65006         (test_wrapper): Renamed to ...
65007         (test_program_prefix): This.
65008         (run_program_prefix): Replaced by test_program_prefix.
65009         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
65010         (test_program_prefix): This.
65011         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
65012         with $(host-test-program-cmd).
65013         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
65014         $(run-program-prefix) with $(test-program-prefix).
65015         ($(objpfx)tst-printf.out): Likewise.
65016         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
65017         $(test-program-cmd).
65018         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
65019         (test_program_prefix): This.
65020         * stdio-common/tst-unbputc.sh: Likewise.
65021         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
65022         $(run-program-prefix) with $(test-program-prefix).
65023         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
65024         (test_program_prefix): This.
65025         * string/Makefile ($(objpfx)tst-svc.out):  Replace
65026         $(built-program-cmd) with $(test-program-cmd).
65028 2013-01-11  Andreas Jaeger  <aj@suse.de>
65030         [BZ #15003]
65031         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
65032         value. Sync with Linux 3.7.
65034 2013-01-10  David S. Miller  <davem@davemloft.net>
65036         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
65037         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65038         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65040 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65042         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
65043         never set.
65044         * configure: Regenerated.
65046 2013-01-10  David S. Miller  <davem@davemloft.net>
65048         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
65049         sparc V9 rather than using V8 code.
65050         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
65051         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
65053 2013-01-10  Roland McGrath  <roland@hack.frob.com>
65055         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
65056         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
65057         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
65058         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
65059         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
65060         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
65061         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
65062         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
65063         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
65064         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
65065         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
65066         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
65067         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
65068         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
65069         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
65070         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
65071         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
65072         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
65073         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
65074         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
65075         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
65076         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
65077         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
65078         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
65079         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
65080         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
65081         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
65083 2013-01-10  David S. Miller  <davem@davemloft.net>
65085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65087 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65089         * posix/Makefile (tests-static): New variable.
65090         (tests): Add $(tests-static).
65091         (tst-exec-static-ARGS): New variable.
65092         (tst-spawn-static-ARGS): Likewise.
65093         * posix/tst-exec-static.c: New file.
65094         * posix/tst-spawn-static.c: Likewise.
65095         * posix/tst-exec.c: Support run directly.
65096         * posix/tst-spawn.c: Likewise.
65098 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
65100         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
65101         long.
65102         * math/bits/mathcalls.h (llrint): Likewise.
65103         (llround): Likewise.
65104         * stdlib/stdlib.h (struct drand48_data): Likewise.
65105         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
65106         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
65107         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
65108         Likewise.
65109         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
65110         Likewise.
65111         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
65112         (elf_greg_t): Likewise.
65113         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
65114         (__jmp_buf): Likewise.
65115         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
65116         definitions.
65117         (llrint): Likewise, for all definitions.
65118         (llrintl): Likewise.
65120         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
65121         Remove [__GNUC__] condition.
65122         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
65123         condition to just [__USE_ISOC99].
65124         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
65126 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
65128         [BZ #14200]
65129         * sysdeps/unix/sysv/linux/x86/bits/environments.h
65130         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
65131         defined.
65132         (_POSIX_V6_ILP32_OFF32): Likewise.
65133         (_XBS5_ILP32_OFF32): Likewise.
65134         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
65135         (__ILP32_OFFBIG_LDFLAGS): Likewise.
65137 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65139         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
65141         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
65142         doubles __mpexp_twomm1.  Adjust usage.
65143         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
65144         Remove.
65146 2013-01-10  Andreas Schwab  <schwab@suse.de>
65148         [BZ #14964]
65149         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
65150         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
65152 2013-01-09  David S. Miller  <davem@davemloft.net>
65154         [BZ #15003]
65155         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
65156         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
65157         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
65158         (TCP_FASTOPEN): Define.
65159         (tcp_repair_opt): New structure.
65160         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
65161         enum values.
65162         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
65163         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
65164         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
65165         (tcp_cookie_transactions): New structure.
65167 2013-01-09  Anton Blanchard  <anton@samba.org>
65169         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
65170         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
65171         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
65172         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
65174 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
65176         * include/features.h (__USE_ANSI): Remove.
65178 2013-01-09  Roland McGrath  <roland@hack.frob.com>
65180         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
65182         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
65184 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
65186         * sysdeps/s390/fpu/libm-test-ulps: Update.
65188         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65190         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
65191         (__acr): Likewise.
65192         (__cpy): Likewise.
65193         (norm): Likewise.
65194         (denorm): Likewise.
65195         (__mp_dbl): Likewise.
65196         (__dbl_mp): Likewise.
65197         (add_magnitudes): Likewise.
65198         (sub_magnitudes): Likewise.
65199         (__add): Likewise.
65200         (__sub): Likewise.
65201         (__mul): Likewise.
65202         (__inv): Likewise.
65203         (__dvd): Likewise.
65204         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
65205         (__acr): Likewise.
65206         (__cpy): Likewise.
65207         (norm): Likewise.
65208         (denorm): Likewise.
65209         (__mp_dbl): Likewise.
65210         (__dbl_mp): Likewise.
65211         (add_magnitudes): Likewise.
65212         (sub_magnitudes): Likewise.
65213         (__add): Likewise.
65214         (__sub): Likewise.
65215         (__mul): Likewise.
65216         (__inv): Likewise.
65217         (__dvd): Likewise.
65218         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
65219         (__acr): Likewise.
65220         (__cpy): Likewise.
65221         (norm): Likewise.
65222         (denorm): Likewise.
65223         (__mp_dbl): Likewise.
65224         (__dbl_mp): Likewise.
65225         (add_magnitudes): Likewise.
65226         (sub_magnitudes): Likewise.
65227         (__add): Likewise.
65228         (__sub): Likewise.
65229         (__mul): Likewise.
65230         (__inv): Likewise.
65231         (__dvd): Likewise.
65233 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
65235         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
65236         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
65237         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
65238         2 && __USE_EXTERN_INLINES]: Likewise.
65240 2013-01-08  Andreas Jaeger  <aj@suse.de>
65242         [BZ# 14985]
65243         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
65244         Remove.
65245         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65246         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
65248 2013-01-07  Anton Blanchard  <anton@samba.org>
65250         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
65251         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65252         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
65253         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65254         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
65255         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65256         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
65257         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65258         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65259         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65260         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65261         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65262         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65263         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65264         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
65265         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65266         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65267         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65268         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
65269         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
65270         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
65271         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
65272         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
65273         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
65274         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
65275         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
65276         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
65277         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65278         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
65279         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65280         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
65281         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65282         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65283         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65284         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65285         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
65286         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65287         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
65288         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
65289         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
65290         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
65291         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
65292         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65294 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
65296         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
65297         (__MALLOC_PMT): Likewise.
65298         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
65299         [__GNUC__], only on [_LIBC].
65300         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65301         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
65302         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
65303         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
65304         forward declaration.
65305         (realloc_hook_ini): Likewise.
65306         (memalign_hook_ini): Likewise.
65307         (__libc_memalign): Do not use __MALLOC_PMT in variable
65308         declaration.
65309         (__libc_valloc): Likewise.
65310         (__libc_pvalloc): Likewise.
65311         (__libc_calloc): Likewise.
65312         (__posix_memalign): Likewise.
65314         [BZ #14996]
65315         * math/s_casinh.c: Include <float.h>.
65316         (__casinh): Do not do computation with squaring and square root
65317         for large arguments.
65318         * math/s_casinhf.c: Include <float.h>.
65319         (__casinhf): Do not do computation with squaring and square root
65320         for large arguments.
65321         * math/s_casinhl.c: Include <float.h>.
65322         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
65323         (__casinhl): Do not do computation with squaring and square root
65324         for large arguments.
65325         * math/libm-test.inc (casin_test): Add more tests.
65326         (casinh_test): Likewise.
65327         * sysdeps/i386/fpu/libm-test-ulps: Update.
65328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65330 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
65332         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
65333         (__x86_64_raw_data_cache_size): Likewise.
65334         (__x86_64_data_cache_size_half): Likewise.
65335         (__x86_64_raw_data_cache_size_half): Likewise.
65336         (__x86_64_shared_cache_size): Likewise.
65337         (__x86_64_raw_shared_cache_size): Likewise.
65338         (__x86_64_shared_cache_size_half): Likewise.
65339         (__x86_64_raw_shared_cache_size_half): Likewise.
65340         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
65341         to ...
65342         (__x86_data_cache_size): This.
65343         (__x86_64_raw_data_cache_size): Renamed to ...
65344         (__x86_raw_data_cache_size): This.
65345         (__x86_64_data_cache_size_half): Renamed to ...
65346         (__x86_data_cache_size_half): This.
65347         (__x86_64_raw_data_cache_size_half): Renamed to ...
65348         (__x86_raw_data_cache_size_half): This.
65349         (__x86_64_shared_cache_size): Renamed to ...
65350         (__x86_shared_cache_size): This.
65351         (__x86_64_raw_shared_cache_size): Renamed to ...
65352         (__x86_raw_shared_cache_size): This.
65353         (__x86_64_shared_cache_size_half): Renamed to ...
65354         (__x86_shared_cache_size_half): This.
65355         (__x86_64_raw_shared_cache_size_half): Renamed to ...
65356         (__x86_raw_shared_cache_size_half): This.
65357         * sysdeps/x86_64/memcpy.S: Updated.
65358         * sysdeps/x86_64/memset.S: Likewise.
65359         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
65360         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
65361         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
65363 2013-01-04  David S. Miller  <davem@davemloft.net>
65365         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65367 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
65369         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
65370         1 to avoid redefinition warning.
65371         (__USE_GNU): Don't define.
65372         (init_signaling_nan): Protoize.
65374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65376 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65378         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
65379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
65380         (__cpymn): Likewise.
65381         (norm): Remove commented code.
65382         (denorm): Likewise.
65383         (__mp_dbl): Likewise.
65384         (__inv): Likewise.
65385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
65386         (__cpymn): Likewise.
65387         (norm): Remove commented code.
65388         (denorm): Likewise.
65389         (__mp_dbl): Likewise.
65390         (__inv): Likewise.
65392         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
65393         mp_no value for 1.0 and 2.0.
65394         (norm): Use RADIXI instead of radixi.d.
65395         (denorm): Likewise.
65396         (__mul): Use 0.0 instead of zero.d.
65397         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
65398         mp_no value for 1.0 and 2.0.
65399         (norm): Use RADIXI instead of radixi.d.
65400         (denorm): Likewise.
65401         (__mul): Use 0.0 instead of zero.d.
65403 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
65405         [BZ #14994]
65406         * math/s_casinh.c (__casinh): Reduce finite argument to first
65407         quadrant then set signs of results at the end.
65408         * math/s_casinhf.c (__casinhf): Likewise.
65409         * math/s_casinhl.c (__casinhl): Likewise.
65410         * math/libm-test.inc (casin_test): Add more tests.
65411         (casinh_test): Likewise.
65412         * sysdeps/i386/fpu/libm-test-ulps: Update.
65413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65415 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65417         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
65419         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
65421         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
65422         declarations.
65423         (denorm): Likewise.
65424         (__mp_dbl): Likewise.
65425         (__inv): Likewise.
65427         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
65428         and adjust the header comment.
65430         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
65431         variable name from declaration.
65433 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
65435         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65436         Initialize COMMON_CPUID_INDEX_7 element.
65437         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
65438         (CPUID_RTM): Likewise.
65439         (HAS_RTM): Likewise.
65440         (COMMON_CPUID_INDEX_7): New enum.
65442 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
65444         [BZ #14981]
65445         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
65446         size is zero, record memory as freed.
65448 2013-01-03  Andreas Jaeger  <aj@suse.de>
65450         * po/ia.po: Add new Interlingua translation.
65452 2012-01-03  Allan McRae  <allan@archlinux.org>
65454         * locale/programs/localedef.c: Fix description of '--posix' flag.
65456 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
65458         * NEWS: Update dates in second copyright notice.
65459         * README: Update copyright dates in example.
65460         * manual/libc.texinfo: Update copyright dates.
65461         * scripts/test-installation.pl: Update copyright date in --version
65462         output.
65464         * hurd/ctty-input.c: Fix copyright notice formatting.
65465         * hurd/ctty-output.c: Likewise.
65466         * hurd/dtable.c: Likewise.
65467         * hurd/hurd-raise.c: Likewise.
65468         * hurd/hurdprio.c: Likewise.
65469         * hurd/msgportdemux.c: Likewise.
65470         * misc/sys/file.h: Likewise.
65471         * misc/sys/ioctl.h: Likewise.
65472         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
65473         * sysdeps/mach/hurd/chdir.c: Likewise.
65474         * sysdeps/mach/hurd/fchdir.c: Likewise.
65475         * sysdeps/mach/hurd/rename.c: Likewise.
65476         * sysdeps/mach/hurd/rmdir.c: Likewise.
65477         * sysdeps/mach/hurd/seekdir.c: Likewise.
65478         * sysdeps/mach/hurd/setsid.c: Likewise.
65479         * sysdeps/posix/wait3.c: Likewise.
65481         * All files with FSF copyright notices: Update copyright dates
65482         using scripts/update-copyrights.
65483         * intl/plural.c: Regenerated.
65484         * locale/programs/charmap-kw.h: Likewise.
65485         * locale/programs/locfile-kw.h: Likewise.
65487 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65489         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
65490         four values.
65492         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
65493         calculation loop and add branch prediction.
65495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
65496         check access beyond bounds of m1np.
65498         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65499         MPTWO.
65500         (__inv): Remove local variable MPTWO to use the global
65501         constant.
65502         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
65503         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65504         variable MPTWO.
65505         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
65506         MP3HALFS static const.
65508 2013-01-01  David S. Miller  <davem@davemloft.net>
65510         * po/ca.po: Update from translation team.
65512 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
65514         * scripts/update-copyrights: New file.
65515         * Makeconfig: Reformat copyright notice.
65516         * ctype/ctype.h: Likewise.
65517         * debug/swprintf_chk.c: Likewise.
65518         * elf/dl-cache.c: Likewise.
65519         * elf/dl-debug.c: Likewise.
65520         * elf/dl-object.c: Likewise.
65521         * grp/initgroups.c: Likewise.
65522         * hurd/Makefile: Likewise.
65523         * hurd/hurd/signal.h: Likewise.
65524         * hurd/hurdfault.c: Likewise.
65525         * hurd/hurdioctl.c: Likewise.
65526         * hurd/hurdlookup.c: Likewise.
65527         * hurd/intr-msg.c: Likewise.
65528         * iconv/gconv_open.c: Likewise.
65529         * libio/swprintf.c: Likewise.
65530         * locale/lc-ctype.c: Likewise.
65531         * locale/nl_langinfo.c: Likewise.
65532         * mach/Machrules: Likewise.
65533         * mach/Makefile: Likewise.
65534         * malloc/obstack.h: Likewise.
65535         * manual/Makefile: Likewise.
65536         * manual/tsort.awk: Likewise.
65537         * misc/bits/stab.def: Likewise.
65538         * nis/nis_print_group_entry.c: Likewise.
65539         * nis/nis_table.c: Likewise.
65540         * nis/nss_compat/compat-pwd.c: Likewise.
65541         * nis/nss_compat/compat-spwd.c: Likewise.
65542         * po/Makefile: Likewise.
65543         * posix/fnmatch.c: Likewise.
65544         * posix/regex.h: Likewise.
65545         * resolv/Makefile: Likewise.
65546         * resolv/nss_dns/dns-network.c: Likewise.
65547         * resolv/res_hconf.c: Likewise.
65548         * scripts/gen-sorted.awk: Likewise.
65549         * soft-fp/soft-fp.h: Likewise.
65550         * stdio-common/printf.h: Likewise.
65551         * stdlib/monetary.h: Likewise.
65552         * stdlib/random.c: Likewise.
65553         * stdlib/random_r.c: Likewise.
65554         * sysdeps/generic/Makefile: Likewise.
65555         * sysdeps/gnu/Makefile: Likewise.
65556         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65557         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65558         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
65559         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
65560         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
65561         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
65562         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
65563         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
65564         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
65565         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
65566         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
65567         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
65568         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
65569         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
65570         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
65571         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
65572         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
65573         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
65574         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
65575         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
65576         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
65577         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
65578         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
65579         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65580         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
65581         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
65582         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
65583         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
65584         * sysdeps/mach/hurd/errnos.awk: Likewise.
65585         * sysdeps/mach/hurd/fork.c: Likewise.
65586         * sysdeps/mach/hurd/getcwd.c: Likewise.
65587         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
65588         * sysdeps/mach/hurd/mmap.c: Likewise.
65589         * sysdeps/mach/hurd/utimes.c: Likewise.
65590         * sysdeps/mach/hurd/xmknod.c: Likewise.
65591         * sysdeps/posix/profil.c: Likewise.
65592         * sysdeps/posix/readdir_r.c: Likewise.
65593         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65594         * sysdeps/powerpc/bits/setjmp.h: Likewise.
65595         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
65596         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
65597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
65598         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
65599         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
65600         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
65602         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
65603         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
65604         * sysdeps/pthread/lio_listio.c: Likewise.
65605         * sysdeps/sparc/dl-procinfo.h: Likewise.
65606         * sysdeps/unix/i386/sysdep.S: Likewise.
65607         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
65608         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
65609         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
65610         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
65611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65612         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
65613         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
65614         * sysdeps/unix/sysv/linux/speed.c: Likewise.
65615         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
65616         * sysdeps/wordsize-32/divdi3.c: Likewise.
65617         * time/sys/time.h: Likewise.
65618         * wcsmbs/Makefile: Likewise.
65620 2013-01-01  David S. Miller  <davem@davemloft.net>
65622         * po/fr.po: Update from translation team.
65624         * catgets/gencat.c: Update copyright year.
65625         * csu/version.c: Likewise.
65626         * debug/catchsegv.sh: Likewise.
65627         * debug/pcprofiledump.c: Likewise.
65628         * debug/xtrace.sh: Likewise.
65629         * elf/ldconfig.c: Likewise.
65630         * elf/ldd.bash.in: Likewise.
65631         * elf/pldd.c: Likewise.
65632         * elf/sotruss.ksh: Likewise.
65633         * elf/sprof.c: Likewise.
65634         * iconv/iconv_prog.c: Likewise.
65635         * iconv/iconvconfig.c: Likewise.
65636         * locale/programs/locale.c: Likewise.
65637         * locale/programs/localedef.c: Likewise.
65638         * login/programs/pt_chown.c: Likewise.
65639         * malloc/memusage.sh: Likewise.
65640         * malloc/memusagestat.c: Likewise.
65641         * malloc/mtrace.pl: Likewise.
65642         * nscd/nscd.c: Likewise.
65643         * nss/getent.c: Likewise.
65644         * nss/makedb.c: Likewise.
65645         * posix/getconf.c: Likewise.
65647 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
65649         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
65650         numbers.
65652 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
65654         * math/bits/mathcalls.h (modf): Use __nonnull.
65656 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65658         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
65659         (split): Use macro CN instead of the bare value.
65660         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
65661         could be used.
65662         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
65663         instead of the bare value.
65664         (power1): Likewise.
65666 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65668         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
65669         __ATAN_TWOM.
65670         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65672         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
65673         their values.
65674         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
65675         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65676         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
65677         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
65679 2012-12-28  Andreas Jaeger  <aj@suse.de>
65681         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
65682         values are from Linux 3.7.
65684         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
65685         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
65687 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
65689         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
65690         TRUE case.
65692         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
65693         (norm): Likewise.
65694         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
65695         variables with preprocessor constants.
65696         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
65697         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
65698         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
65700 2012-12-27  Bruno Haible  <bruno@clisp.org>
65702         [BZ #14317]
65703         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
65704         only if needed.
65706 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
65708         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
65709         and use variable directly.
65710         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
65712         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
65713         MPONE.
65714         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
65715         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
65716         variable MPONE.
65717         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65718         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65719         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
65720         include directive.  Remove local variable MPONE.
65721         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
65722         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
65723         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65725 2012-12-25  David S. Miller  <davem@davemloft.net>
65727         * version.h (RELEASE): Set to "development".
65728         (VERSION): Set to "2.17.90".
65729         * NEWS: Add 2.18 section.
65731 2012-12-21  David S. Miller  <davem@davemloft.net>
65733         * po/hr.po: Update from translation team.
65735 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65737         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
65739 2012-12-19  Steve Ellcey  <sellcey@mips.com>
65741         * NEWS:  Mention new memcpy for MIPS.
65743 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
65745         * manual/contrib.texi (Contributors): Spelling correction.
65747 2012-12-15  David S. Miller  <davem@davemloft.net>
65749         * po/ru.po: Update from translation team.
65751 2012-12-13  David S. Miller  <davem@davemloft.net>
65753         * NEWS: Mention IFUNC testsuite enhancements.
65755         * po/pl.po: Update from translation team.
65756         * po/bg.po: Likewise.
65758         * manual/contrib.texi (Contributors): Update entries for Hongjiu
65759         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
65761 2012-12-11  David S. Miller  <davem@davemloft.net>
65763         * po/sv.po: Update from translation team.
65765         * po/vi.po: Update from translation team.
65767         * po/cs.po: Update from translation team.
65769         * po/de.po: Update from translation team.
65770         * po/eo.po: Likewise.
65771         * po/nl.po: Likewise.
65773 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65775         [BZ #14246]
65776         * manual/argp.texi (Argp Helper Functions): Move node to follow
65777         Argp Parsing State.
65779         [BZ #14872]
65780         * manual/conf.texi (Limits on File System Capacity): Mention if
65781         terminating null is included in the max size.
65783 2012-12-10  Andreas Jaeger  <aj@suse.de>
65785         * po/cs.po: Update from translation team.
65787 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
65789         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
65790         void pointer and cast to uintptr_t.
65791         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
65792         path.
65793         * sysdeps/s390/s390-64/memcpy.S: Likewise.
65794         * sysdeps/s390/s390-64/memset.S: Likewise.
65796 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
65798         [BZ #14833]
65799         * menual/message.texi (Message Translation): Fix typos.
65800         (Helper programs for gettext): Likewise.
65802 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
65804         [BZ #14898]
65805         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
65806         Change to -1.
65808 2012-12-07  David S. Miller  <davem@davemloft.net>
65810         * po/libc.pot: Update.
65812 2012-12-07  Richard Henderson  <rth@redhat.com>
65814         [BZ #10114]
65815         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
65816         normal/normal case to before the switch.
65817         (_FP_DIV): Likewise.
65819 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
65820             Mike Frysinger  <vapier@gentoo.org>
65822         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
65823         check for __NR_fadvise64_64.
65825 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
65827         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
65828         0, not just to plain "0" as a statement.
65829         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
65830         with cw.
65832 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
65834         * NEWS: Use sourceware.org in Bugzilla URL.
65836 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
65839         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65841         * stdio-common/tst-put-error.c (do_test): Add newline to the
65842         padded test to ensure flush.
65844 2012-12-05  Jeff Law  <law@redhat.com>
65846         * sunrpc/etc.rpc (fedfs_admin): Add entry.
65848 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
65850         * README: Don't refer to ports add-on as distributed separately.
65851         Mention AArch64 in list of systems supported in the ports add-on.
65853         * LICENSES: Add more non-FSF copyright and license notices.
65855         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
65856         ((unused)).
65858         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
65860         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
65861         10000 as width of padded output.
65863 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65865         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
65867         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
65868         variable LX with __attribute__ ((unused)).
65869         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
65870         Likewise.
65871         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
65872         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65873         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
65874         with __attribute__ ((unused)).
65876 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
65878         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
65880 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
65882         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
65883         (CFLAGS-nldbl-acos.c): New variable.
65884         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
65885         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
65886         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
65887         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
65888         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
65889         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
65890         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
65891         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
65892         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
65893         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
65894         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
65895         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
65896         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
65897         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
65898         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
65899         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
65900         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
65901         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
65902         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
65903         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
65904         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
65905         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
65906         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
65907         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
65908         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
65909         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
65910         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
65911         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
65912         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
65913         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
65914         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
65915         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
65916         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
65917         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
65918         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
65919         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
65920         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
65921         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
65922         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
65923         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
65924         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
65925         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
65926         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
65927         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
65928         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
65929         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
65930         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
65931         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
65932         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
65933         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
65934         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
65935         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
65936         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
65937         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
65938         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
65939         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
65940         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
65941         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
65942         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
65943         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
65944         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
65945         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
65946         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
65947         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
65948         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
65949         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
65950         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
65951         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
65952         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
65953         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
65954         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
65955         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
65956         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
65957         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
65958         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
65959         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
65960         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
65961         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
65962         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
65963         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
65964         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
65965         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
65966         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
65967         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
65968         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
65969         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
65970         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
65971         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
65972         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
65973         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
65974         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
65975         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
65976         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
65977         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
65978         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
65979         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
65980         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
65982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
65983         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
65985         [BZ #14914]
65986         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
65987         whole low double instead of just low 47 bits when splitting values
65988         into two parts.
65990 2012-12-03  Allan McRae  <allan@archlinux.org>
65992         * manual/stdio.texi (Predefined Printf Handlers): Remove
65993         @hsep and @vsep usage.
65995 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
65997         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
65998         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
66000 2012-12-03  Jeff Law  <law@redhat.com>
66002         * time/sys/time.h (settimeofday): Do not mark TV argument
66003         as __nonnull.
66005 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
66007         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
66008         when currently writing and seek to current position when not.
66009         * libio/Makefile (tests): Remove bug-fclose1.
66010         * libio/bug-fclose1.c: Delete.
66012 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
66014         * manual/arith.texi (feenableexcept): Fix typo.
66015         (fedisableexcept): Likewise.
66017 2012-11-30  Roland McGrath  <roland@hack.frob.com>
66019         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
66020         second, differently-typed declaration, rather than a cast.
66022 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
66024         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
66025         * include/rpc/svc.h: ... here.
66027 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
66029         [BZ #13013]
66030         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
66031         depending n and resplen2 to catch cases where answer
66032         equals answerp2.
66034 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
66036         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
66037         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
66039 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
66041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
66043 2012-11-29  Roland McGrath  <roland@hack.frob.com>
66045         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
66047 2012-11-28  Jeff Law  <law@redhat.com>
66049         [BZ #13761]
66050         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
66051         dataset_temporary.  Track alloca usage into alloca_used.
66052         If dataset is large allocate and release it via malloc/free.
66054 2012-06-04  Florian Weimer  <fweimer@redhat.com>
66056         [BZ #14197]
66057         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
66059 2012-11-28  David S. Miller  <davem@davemloft.net>
66061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66063 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66065         [BZ #14803]
66066         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
66067         of pi/2 rounded to nearest to 64 bits.
66068         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
66069         nearest to 64 bits.
66070         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
66071         bits.
66073 2012-11-28  Jeff Law <law@redhat.com>
66074             Martin Osvald <mosvald@redhat.com>
66076         [BZ #14889]
66077         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
66078         * sunrpc/svc.c: Include time.h.
66079         (__svc_accept_failed): New function.
66080         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
66081         any reason other than EINTR, call __svc_accept_failed.
66082         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
66083         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
66085 2012-11-28  Andreas Schwab  <schwab@suse.de>
66087         * scripts/abilist.awk: Also handle indirect functions in .opd
66088         section.
66090 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
66092         [BZ #13881]
66093         * sysdeps/x86/fpu/powl_helper.c: New file.
66094         * sysdeps/x86/fpu/Makefile: Likewise.
66095         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
66096         (p3): New object.
66097         (__ieee754_powl): Use __powl_helper for finite arguments except
66098         integer exponents below 8.
66099         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
66100         (p3): New object.
66101         (__ieee754_powl): Use __powl_helper for finite arguments except
66102         integer exponents below 8.
66103         * math/libm-test.inc (pow_test): Add more tests and enable some
66104         previously disabled tests.
66105         * sysdeps/i386/fpu/libm-test-ulps: Update.
66106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66108 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66109             Carlos O'Donell  <carlos_odonell@mentor.com>
66111         * nss/makedb.c (is_prime): Assert that input is odd and greater
66112         than 4.  Note that fact in a comment too.
66113         (next_prime): Add 4 to input.
66115 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
66117         [BZ #11741]
66118         * libio/Makefile (tests): Add test case tst-fwrite-error.
66119         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
66120         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
66121         * libio/tst-fwrite-error.c: New test case.
66123 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
66125         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
66126         before casting to void *.
66127         * include/libc-internal.h (__pointer_type): New macro.
66128         (__integer_if_pointer_type_sub): Likewise.
66129         (__integer_if_pointer_type): Likewise.
66130         (cast_to_integer): Likewise.
66131         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
66132         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
66133         before casting to atomic64_t.
66134         (atomic_exchange_acq): Likewise.
66135         (__arch_exchange_and_add_body): Likewise.
66136         (__arch_add_body): Likewise.
66137         (atomic_add_negative): Likewise.
66138         (atomic_add_zero): Likewise.
66140 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
66142         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
66143         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
66144         (add_fdes): Likewise.
66145         (linear_search_fdes): Likewise.
66146         (binary_search_unencoded_fdes): Likewise.
66148 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
66150         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
66152 2012-11-24  Adam Conrad  <adconrad@0c3.net>
66154         * configure.in: Autodetect C++ header directories.
66155         * configure: Regenerated.
66157 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
66159         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
66161 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
66163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66165 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
66167         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
66168         LDBL_MANT_DIG == 106]: Disable some tests.
66169         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66170         Likewise.
66171         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
66172         Likewise.
66174         [BZ #14871]
66175         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
66176         input for small inputs.  Return +/- pi/2 for large inputs.
66177         * math/libm-test.inc (atan_test): Add more tests.
66179         * sysdeps/generic/unwind-dw2-fde-glibc.c
66180         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
66181         __attribute__ ((unused)).
66183         [BZ #14645]
66184         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
66185         x * y if x and y are nonzero and z is zero.
66187         [BZ #14811]
66188         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
66189         nonzero exponents with absolute value below 0x1p-117 to +/-
66190         0x1p-117.
66192         [BZ #14869]
66193         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
66194         up arguments below 2**-450, not just those below 2**-500.
66195         * math/libm-test.inc (hypot_test): Add another test.
66197         [BZ #14868]
66198         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
66199         Return a+b for ratio over 2**120, not 2**60.
66200         * math/libm-test.inc (hypot_test): Add another test.
66202         * math/libm-test.inc (clog_test): Use
66203         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
66204         (clog10_test): Likewise.
66206         [BZ #6778]
66207         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
66209 2012-11-22  Andreas Schwab  <schwab@suse.de>
66211         * sysdeps/i386/fpu/libm-test-ulps: Update.
66213 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
66215         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
66216         printf output with newline.
66218 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
66220         [BZ #14865]
66221         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
66222         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
66223         -z nodlopen, -z initfirst and -z execstack support.
66224         * configure: Regenerated.
66226         * elf/elf.h (DF_1_NODIRECT): New macro.
66227         (DF_1_IGNMULDEF): Likewise.
66228         (DF_1_NOKSYMS): Likewise.
66229         (DF_1_NOHDR): Likewise.
66230         (DF_1_EDITED): Likewise.
66231         (DF_1_NORELOC): Likewise.
66232         (DF_1_SYMINTPOSE): Likewise.
66233         (DF_1_GLOBAUDIT): Likewise.
66234         (DF_1_SINGLETON): Likewise.
66235         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
66236         DT_1_SUPPORTED_MASK bits.
66237         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
66239 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
66241         * sysdeps/unix/make-syscalls.sh: Document prefixes.
66243 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
66245         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
66246         macro.
66248         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
66249         (sendmmsg): Move declarations...
66250         * socket/sys/socket.h: ... here.
66251         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
66252         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
66253         include it from...
66254         * socket/recvmmsg.c: ... this new file.
66255         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
66256         (sendmmsg): Rename to __sendmmsg, create weak alias and make
66257         definition of __sendmmsg hidden.
66258         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
66259         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
66260         Move ENOSYS stub into and include it from...
66261         * socket/sendmmsg.c: ... this new file.
66262         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
66263         (sysdep_routines): Move recvmmsg and sendmmsg...
66264         * socket/Makefile (routines): ... here.
66265         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
66266         (GLIBC_PRIVATE): Add __sendmmsg.
66267         * include/sys/socket.h (__sendmmsg): Add declarations.
66268         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
66269         sendmmsg.
66271 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
66273         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
66274         variable I1 with __attribute__ ((unused)).
66275         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
66277 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66279         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
66280         DUMMY variables with __attribute__ ((unused)).
66282         * bits/byteswap.h: Include <bits/types.h>.
66283         (__bswap_64): Use __uint64_t instead of unsigned long long int.
66285 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66287         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
66288         string_t.  Do not manually set errno.
66289         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
66290         length with __strnlen.  Make sure to both set errno and return it on
66291         failure.
66293 2012-11-19  David S. Miller  <davem@davemloft.net>
66295         With help from Joseph Myers.
66296         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
66297         very large arguments properly.
66298         * math/libm-test.inc (atan_test): New tests.
66299         (atan2_test): New tests.
66300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66303 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
66305         [BZ #14856]
66306         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
66307         Define to 3.
66309         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
66310         [POSIX] (EADDRNOTAVAIL): Likewise.
66311         [POSIX] (EAFNOSUPPORT): Likewise.
66312         [POSIX] (EALREADY): Likewise.
66313         [POSIX] (ECONNABORTED): Likewise.
66314         [POSIX] (ECONNREFUSED): Likewise.
66315         [POSIX] (ECONNRESET): Likewise.
66316         [POSIX] (EDESTADDRREQ): Likewise.
66317         [POSIX] (EDQUOT): Likewise.
66318         [POSIX] (EHOSTUNREACH): Likewise.
66319         [POSIX] (EIDRM): Likewise.
66320         [POSIX] (EISCONN): Likewise.
66321         [POSIX] (ELOOP): Likewise.
66322         [POSIX] (EMULTIHOP): Likewise.
66323         [POSIX] (ENETDOWN): Likewise.
66324         [POSIX] (ENETUNREACH): Likewise.
66325         [POSIX] (ENOBUFS): Likewise.
66326         [POSIX] (ENODATA): Likewise.
66327         [POSIX] (ENOLINK): Likewise.
66328         [POSIX] (ENOMSG): Likewise.
66329         [POSIX] (ENOPROTOOPT): Likewise.
66330         [POSIX] (ENOSR): Likewise.
66331         [POSIX] (ENOSTR): Likewise.
66332         [POSIX] (ENOTCONN): Likewise.
66333         [POSIX] (ENOTSOCK): Likewise.
66334         [POSIX] (EOPNOTSUPP): Likewise.
66335         [POSIX] (EOVERFLOW): Likewise.
66336         [POSIX] (EPROTO): Likewise.
66337         [POSIX] (EPROTONOSUPPORT): Likewise.
66338         [POSIX] (EPROTOTYPE): Likewise.
66339         [POSIX] (ESTALE): Likewise.
66340         [POSIX] (ETIME): Likewise.
66341         [POSIX] (ETXTBSY): Likewise.
66342         [POSIX] (EWOULDBLOCK): Likewise.
66343         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
66344         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
66345         [POSIX] (SEEK_CUR): Likewise.
66346         [POSIX] (SEEK_END): Likewise.
66347         [POSIX || UNIX98] (mode_t): Do not require.
66348         [POSIX] (off_t): Likewise.
66349         [POSIX] (pid_t): Likewise.
66350         [POSIX] (sys/stat.h): Do not allow header.
66351         [POSIX] (unistd.h): Likewise.
66352         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
66353         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
66354         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
66355         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
66356         require.
66357         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
66358         sigevent): Specify elements.
66359         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
66360         entry.
66361         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
66362         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
66364         * conform/data/cpio.h-data [POSIX]: Disable whole file.
66365         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
66366         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
66367         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
66368         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
66369         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
66370         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
66371         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
66372         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
66373         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
66374         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
66375         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
66376         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
66377         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
66378         Likewise.
66379         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
66380         Likewise.
66381         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
66382         Likewise.
66383         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
66384         Likewise.
66385         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
66386         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
66387         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
66388         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
66389         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
66390         Specify lower bound on value.
66391         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
66392         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
66393         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
66394         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
66395         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
66396         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
66397         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
66398         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
66399         value.
66400         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
66401         as optional.
66402         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
66403         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
66404         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
66405         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
66406         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
66407         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
66408         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
66409         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
66410         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
66411         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
66412         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
66413         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
66414         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
66415         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
66416         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
66417         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
66418         entry.
66419         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
66420         optional.
66421         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
66422         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
66423         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
66424         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
66425         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
66426         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
66427         Likewise.
66428         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
66429         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
66430         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
66431         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
66432         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
66433         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
66434         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
66435         as optional.
66436         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
66437         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
66438         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
66439         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
66440         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
66441         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
66442         specify as optional.
66443         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
66444         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
66445         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
66446         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
66447         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
66448         [XPG3] (NL_LANGMAX): Likewise.
66449         [POSIX || XPG3] (NL_MSGMAX): Likewise.
66450         [POSIX || XPG3] (NL_NMAX): Likewise.
66451         [POSIX || XPG3] (NL_SETMAX): Likewise.
66452         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
66453         [XPG3] (NZERO): Likewise.
66454         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
66455         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
66456         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
66457         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
66458         (REG_ERANGE): Expect.
66459         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
66460         optional-constant.
66461         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
66462         Use (void) in prototype.
66463         [POSIX] (*_t): Allow.
66464         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
66465         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
66466         (WRDE_BADVAL): Expect.
66468         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
66469         expect.
66470         [XPG3 || XPG4] (O_RSYNC): Likewise.
66471         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
66472         Likewise.
66473         [XPG3 || XPG4] (pthread_sigmask): Likewise.
66474         [XPG3 || XPG4] (sigqueue): Likewise.
66475         [XPG3 || XPG4] (sigtimedwait): Likewise.
66476         [XPG3 || XPG4] (sigwaitinfo): Likewise.
66477         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
66478         [XPG3 || XPG4] (vsnprintf): Likewise.
66479         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
66480         Likewise.
66481         [XPG3 || XPG4] (blksize_t): Likewise.
66482         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
66483         Likewise.
66484         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
66485         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
66486         [XPG3 || XPG4] (struct itimerspec): Likewise.
66487         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
66488         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
66489         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
66490         [XPG3 || XPG4] (clockid_t): Likewise.
66491         [XPG3 || XPG4] (timer_t): Likewise.
66492         [XPG3 || XPG4] (clock_getres): Likewise.
66493         [XPG3 || XPG4] (clock_gettime): Likewise.
66494         [XPG3 || XPG4] (clock_settime): Likewise.
66495         [XPG3 || XPG4] (nanosleep): Likewise.
66496         [XPG3 || XPG4] (timer_create): Likewise.
66497         [XPG3 || XPG4] (timer_delete): Likewise.
66498         [XPG3 || XPG4] (timer_gettime): Likewise.
66499         [XPG3 || XPG4] (timer_getoverrun): Likewise.
66500         [XPG3 || XPG4] (timer_settime): Likewise.
66501         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
66502         [XPG3 || XPG4] (getlogin_r): Likewise.
66503         [XPG3 || XPG4] (pread): Likewise.
66504         [XPG3 || XPG4] (pthread_atfork): Likewise.
66505         [XPG3 || XPG4] (pwrite): Likewise.
66507         [BZ #14835]
66508         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
66509         <bits/siginfo.h>.
66511 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
66513         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
66514         finalizing MALLSTREAM.
66516         * sysdeps/mach/hurd/syncfs.c: New file.
66518 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66520         [BZ #14719]
66521         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
66522         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
66523         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
66524         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
66525         (_nss_dns_gethostbyname4_r): Likewise.
66526         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
66527         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
66529 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
66531         [BZ #13763]
66532         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
66534 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
66536         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
66537         * elf/cache.c (print_entry): Print ",AArch64" for
66538         FLAG_AARCH64_LIB64
66540         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
66541         * elf/cache.c (print_entry): Print ",hard-float" for
66542         FLAG_ARM_LIBHF.
66544 2012-11-18  David S. Miller  <davem@davemloft.net>
66546         With help from Joseph Myers.
66547         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
66548         cutoff to 2**-13.
66549         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
66550         cutoff to 2**-25.
66551         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
66552         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
66553         small.
66554         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
66555         * math/libm-test.inc (y0_test): New tests.
66556         (y1_test): New tests.
66557         * sysdeps/i386/fpu/libm-test-ulps: Update.
66558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66561 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
66563         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
66564         64-bit targets.
66565         * configure: Regenerated.
66567 2012-11-17  David S. Miller  <davem@davemloft.net>
66569         [BZ #14811]
66570         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
66571         nonzero exponents with absolute value below 0x1p-128 to +/-
66572         0x1p-128.
66574 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
66576         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
66578         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
66580         * posix/getconf-speclist.c: New file.
66581         * posix/posix-envs.def: Likewise.
66582         * posix/confstr.c (START_ENV_GROUP): New macro.
66583         (END_ENV_GROUP): Likewise.
66584         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66585         (KNOWN_PRESENT_ENV_STRING): Likewise.
66586         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66587         (UNKNOWN_ENVIRONMENT): Likewise.
66588         (confstr): Include posix-envs.def instead of handling
66589         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
66590         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
66591         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
66592         (END_ENV_GROUP): Likewise.
66593         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
66594         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
66595         (UNKNOWN_ENVIRONMENT): Likewise.
66596         (__sysconf): Include posix-envs.def instead of handling associated
66597         cases directly here.
66598         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
66599         preprocessing getconf-speclist.c rather than running getconf or
66600         generating empty file.
66602 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
66604         * scripts/check-local-headers.sh: Ignore 'mach' headers.
66606 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
66608         [BZ #14672]
66609         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
66611 2012-11-16  David S. Miller  <davem@davemloft.net>
66613         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
66614         smaller than LDBL_EPSILON/2.0L, just return xm1.
66616 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
66618         * elf/tst-array1.c (init): Set constructor priority to 1000.
66619         (fini): Set destructor priority to 1000.
66620         * elf/tst-array2dep.c: Likewise.
66622 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66624         [BZ #11741]
66625         * libio/fileops.c (_IO_new_file_write): Correctly return error.
66626         (_IO_new_file_xsputn): Also return EOF if none of the input
66627         data was written when overflow failed.
66628         * libio/iopadn.c (_IO_padn): Likewise.
66629         * libio/iowpadn.c (_IO_wpadn): Likewise.
66630         * stdio-common/tst-put-error.c: Add copyright notice.
66631         (do_test): Add case for printing padded string.
66632         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
66633         _IO_padn returned error.
66634         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
66635         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
66636         return EOF.
66638 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66640         * libio/libioP.h: Add comment note that the references to C++
66641         bits are now obsolete.
66643 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66645         * math/libm-test.inc (check_complex): Use asprintf.
66647 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
66649         * debug/pcprofiledump.c (print_version): Update copyright year.
66650         * malloc/memusagestat.c (print_version): Likewise.
66652 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
66654         [BZ #14831]
66655         * elf/Makefile (tests): Add tst-audit8.
66656         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
66657         ($(objpfx)tst-audit8.out): New target.
66658         (tst-audit8-ENV): New variable.
66659         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
66660         audit if l_reloc_result is NULL.
66661         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
66662         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
66663         * elf/tst-audit8.c: New file.
66665 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66667         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
66668         * misc/Makefile (CFLAGS-select.c): Define.
66669         * posix/Makefile (CFLAGS-pause.c): Define.
66671 2012-11-13  David S. Miller  <davem@davemloft.net>
66673         * crypt/Makefile: Move test targets after toplevel Rules
66674         inclusion.  Grab any necessary sysdep routines when linking.
66675         * crypt/md5.c (md5_process_block): Remove define, we will always
66676         name it __md5_process_block.
66677         (md5_finish_ctx): Update md5_process_block call.
66678         (md5_stream): Likewise.
66679         (md5_process_bytes): Likewise.
66680         (md5_process_block): Rename to __md5_process_block and move to ...
66681         * crypt/md5-block.c: ... here.
66682         * crypt/sha256.c (sha256_process_block): Move to ...
66683         * crypt/sha256-block.c: ... here.
66684         * crypt/sha512.c (sha512_process_block): Move to ...
66685         * crypt/sha512-block.c: ... here.
66686         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
66687         path.
66688         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
66689         * sysdeps/sparc/sparc64/multiarch/Makefile
66690         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
66691         crypt subdir.
66692         (localedef-aux): Add md5 crypto assembler when in locale subdir.
66693         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
66694         multiarch changes.
66695         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
66696         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
66697         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
66698         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
66699         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
66700         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
66701         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
66702         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
66703         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
66704         file.
66705         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
66706         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
66707         file.
66708         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
66710 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
66712         * timezone/tzselect.ksh: Update from tzcode git revision
66713         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
66714         * timezone/zdump.c: Likewise.
66715         * timezone/zic.c: Likewise.
66716         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
66717         in TZVERSION setting, not $(PKGVERSION).
66718         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
66719         REPORT_BUGS_TO settings.
66721         [BZ #14838]
66722         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
66723         macro.
66725 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66727         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
66728         detection to immediately after _FP_ROUND().
66729         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
66730         bits are 0.
66732 2012-11-11  David S. Miller  <davem@davemloft.net>
66734         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
66735         inttypes.h
66736         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
66737         __close rather than their public counterparts.
66739 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
66741         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
66742         file.
66743         [UNIX98] (sem_timedwait): Do not expect.
66744         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
66745         [XPG4 || UNIX98] (sockatmark): Do not expect.
66746         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
66747         (clock_getcpuclockid): Do not expect.
66748         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
66749         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
66750         Do not expect.
66751         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
66752         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
66753         [UNIX98] (vwscanf): Likewise.
66754         [UNIX98] (vswscanf): Likewise.
66756 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
66758         * timezone/version.h: Remove file.
66759         * timezone/README: Do not refer to version.h.
66760         * timezone/Makefile ($(objpfx)zic.o): New dependency on
66761         $(objpfx)version.h.
66762         ($(objpfx)zdump.o): Likewise.
66763         ($(objpfx)version.h): New target.
66765         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
66766         2012i.
66767         * timezone/README: Don't mention modification to tzselect.ksh.
66768         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
66769         work on unmodified tzselect.ksh.  Substitute version numbers in
66770         tzselect.ksh.
66772         * Makefile (format-me): Remove.
66773         (INSTALL): Adjust indentation.  Use commands directly instead of
66774         using $(format-me).
66776         * aclocal.m4 (ACX_PKGVERSION): New macro.
66777         (ACX_BUGURL): Likewise.
66778         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
66779         (PKGVERSION): New AC_DEFINE_UNQUOTED.
66780         (REPORT_BUGS_TO): Likewise.
66781         * configure: Regenerated.
66782         * config.h.in (PKGVERSION): New macro.
66783         (REPORT_BUGS_TO): Likewise.
66784         * config.make.in (PKGVERSION): New variable.
66785         (PKGVERSION_TEXI): Likewise.
66786         (REPORT_BUGS_TO): Likewise.
66787         (REPORT_BUGS_TEXI): Likewise.
66788         * Makefile (format-me): Use -I$(common-objpfx)manual.
66789         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
66790         ($(common-objpfx)manual/%): New target.
66791         (manual/%): Remove target.
66792         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
66793         (print_version): Use PKGVERSION.
66794         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
66795         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
66796         and REPORT_BUGS_TO.
66797         ($(objpfx)xtrace): Likewise.
66798         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
66799         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
66800         (print_version): Use PKGVERSION.
66801         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
66802         (do_version): Use PKGVERSION.
66803         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
66804         REPORT_BUGS_TO.
66805         (common-ldd-rewrite): Likewise.
66806         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
66807         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
66808         (print_version): Use PKGVERSION.
66809         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
66810         * elf/pldd.c (argp_program_bug_address): Remove variable.
66811         (more_help): New function.
66812         (argp): Use more_help.
66813         (print_version): Use PKGVERSION.
66814         * elf/sln.c (main): Use PKGVERSION.
66815         (usage): Use REPORT_BUGS_TO.
66816         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
66817         (top level): Use PKGVERSION.
66818         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
66819         (print_version): Use PKGVERSION.
66820         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
66821         (print_version): Use PKGVERSION.
66822         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
66823         (print_version): Use PKGVERSION.
66824         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
66825         (print_version): Use PKGVERSION.
66826         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
66827         (print_version): Use PKGVERSION.
66828         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
66829         (print_version): Use PKGVERSION.
66830         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
66831         and BUGURL.
66832         ($(objpfx)memusage): Likewise.
66833         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
66834         (do_version): Use PKGVERSION.
66835         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
66836         (print_version): Use PKGVERSION.
66837         * malloc/mtrace.pl ($PACKAGE): Remove variable.
66838         ($PKGVERSION): New variable.
66839         ($REPORT_BUGS_TO): Likewise.
66840         (usage): Use $REPORT_BUGS_TO.
66841         (top level): Use $PKGVERSION.
66842         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
66843         ($(objpfx)pkgvers.texi): New rule.
66844         ($(objpfx)stamp-pkgvers): Likewise.
66845         * manual/install.texi: Include pkgvers.texi.
66846         (--with-pkgversion): Document new configure option.
66847         (--with-bugurl): Likewise.
66848         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
66849         than necessarily for this particular distribution.  Use
66850         REPORT_BUGS_TO for where to report bugs.
66851         * INSTALL: Regenerated.
66852         * manual/libc.texinfo: Include pkgvers.texi.
66853         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
66854         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
66855         (print_version): Use PKGVERSION.
66856         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
66857         (print_version): Use PKGVERSION.
66858         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
66859         (print_version): Use PKGVERSION.
66860         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
66861         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
66862         macro.
66863         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
66864         (print_version): Use PKGVERSION.
66865         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
66866         (print_version): Use PKGVERSION.
66867         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
66868         and PKGVERSION.
66870         * timezone/checktab.awk: Update from tzcode 2012i.
66871         * timezone/ialloc.c: Likewise.
66872         * timezone/private.h: Likewise.
66873         * timezone/scheck.c: Likewise.
66874         * timezone/tzfile.h: Likewise.
66875         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
66876         (TZVERSION): Hardcode tzcode version number.
66877         * timezone/zdump.c: Update from tzcode 2012i.
66878         * timezone/zic.c: Likewise.
66879         * timezone/version.h: New file.
66880         * timezone/README: Describe version.h.  Update upstream location.
66882         [BZ #14824]
66883         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
66884         (mktemp): Enable declaration.
66885         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
66886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
66887         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
66888         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
66889         Likewise.
66890         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
66891         Likewise.
66892         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
66893         Likewise.
66894         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
66895         Likewise.
66896         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
66897         Likewise.
66898         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
66899         Likewise.
66901         [BZ #14821]
66902         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
66903         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
66904         for copies of such integer values.
66905         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
66906         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
66908 2012-11-09  Andreas Jaeger  <aj@suse.de>
66910         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
66911         definitions and declarations that are provided by
66912         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
66914 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66916         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
66917         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
66918         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
66919         definition.
66921 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66923         * elf/elf.h: Update comment before AArch64 relocations.
66925 2012-11-07  David S. Miller  <davem@davemloft.net>
66927         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
66928         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
66929         (__start_context): Declare.
66930         (__makecontext_ret): Delete.
66931         (__makecontext): Hook up __start_context instead of
66932         __makecontext_ret.
66933         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
66934         (sysdep_routines): Add __start_context when in stdlib.
66936 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66938         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
66939         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
66940         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
66941         hardcoded "nm".
66942         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
66943         (READELF): New variable.  Use it instead of hardcoded "readelf".
66945 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
66947         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
66948         * sysdeps/x86/Makefile: Here.
66949         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
66950         * sysdeps/x86/tst-xmmymm.sh: This.
66952 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
66954         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
66955         expectations.
66956         [UNIX98] (pthread_barrier_t): Do not expect.
66957         [UNIX98] (pthread_barrierattr_t): Likewise.
66958         [UNIX98] (pthread_spinlock_t): Likewise.
66959         [UNIX98] (pthread_barrier_destroy): Likewise.
66960         [UNIX98] (pthread_barrier_init): Likewise.
66961         [UNIX98] (pthread_barrier_wait): Likewise.
66962         [UNIX98] (pthread_barrierattr_destroy): Likewise.
66963         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
66964         [UNIX98] (pthread_barrierattr_init): Likewise.
66965         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
66966         [UNIX98] (pthread_getcpuclockid): Likewise.
66967         [UNIX98] (pthread_mutex_timedlock): Likewise.
66968         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
66969         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
66970         [UNIX98] (pthread_sigmask): Likewise.
66971         [UNIX98] (pthread_spin_destroy): Likewise.
66972         [UNIX98] (pthread_spin_init): Likewise.
66973         [UNIX98] (pthread_spin_lock): Likewise.
66974         [UNIX98] (pthread_spin_trylock): Likewise.
66975         [UNIX98] (pthread_spin_unlock): Likewise.
66976         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
66977         Do not expect.
66978         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
66979         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
66980         [XPG3 || XPG4] (pthread_cond_t): Likewise.
66981         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
66982         [XPG3 || XPG4] (pthread_key_t): Likewise.
66983         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
66984         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
66985         [XPG3 || XPG4] (pthread_once_t): Likewise.
66986         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
66987         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
66988         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
66989         [XPG3 || XPG4] (pthread_t): Likewise.
66991         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
66992         not expect.
66993         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
66995         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
66996         Change function return type to int.
66998         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
66999         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
67000         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
67001         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
67002         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
67003         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
67004         [!POSIX] (posix_madvise): Likewise.
67005         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
67006         && !UNIX98].
67007         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
67008         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
67009         (mode_t): Likewise.
67010         (posix_mem_offset): Likewise.
67011         (posix_typed_mem_get_info): Likewise.
67012         (posix_typed_mem_open): Likewise.
67014         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
67015         Change condition to [XOPEN2K8].
67017         * conform/conformtest.pl: Preprocess allow-header data with -x c
67018         instead of from stdin.
67019         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
67020         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
67021         [C99-based standards] (cerfc): Likewise.
67022         [C99-based standards] (cexp2): Likewise.
67023         [C99-based standards] (cexpm1): Likewise.
67024         [C99-based standards] (clog10): Likewise.
67025         [C99-based standards] (clog1p): Likewise.
67026         [C99-based standards] (clog2): Likewise.
67027         [C99-based standards] (clgamma): Likewise.
67028         [C99-based standards] (ctgamma): Likewise.
67029         [C99-based standards] (cerff): Likewise.
67030         [C99-based standards] (cerfcf): Likewise.
67031         [C99-based standards] (cexp2f): Likewise.
67032         [C99-based standards] (cexpm1f): Likewise.
67033         [C99-based standards] (clog10f): Likewise.
67034         [C99-based standards] (clog1pf): Likewise.
67035         [C99-based standards] (clog2f): Likewise.
67036         [C99-based standards] (clgammaf): Likewise.
67037         [C99-based standards] (ctgammaf): Likewise.
67038         [C99-based standards] (cerfl): Likewise.
67039         [C99-based standards] (cerfcl): Likewise.
67040         [C99-based standards] (cexp2l): Likewise.
67041         [C99-based standards] (cexpm1l): Likewise.
67042         [C99-based standards] (clog10l): Likewise.
67043         [C99-based standards] (clog1pl): Likewise.
67044         [C99-based standards] (clog2l): Likewise.
67045         [C99-based standards] (clgammal): Likewise.
67046         [C99-based standards] (ctgammal): Likewise.
67047         * conform/data/inttypes.h-data [C99-based standards]: Include
67048         stdint.h-data.  Remove all expectations for stdint.h contents.
67049         [C99-based standards] (PRI*): Do not allow.
67050         [C99-based standards] (SCN*): Likewise.
67051         [C99-based standards] (*_t): Likewise.
67052         [C99-based-standards] (PRId8): Expect macro.
67053         [C99-based-standards] (PRIi8): Likewise.
67054         [C99-based-standards] (PRIo8): Likewise.
67055         [C99-based-standards] (PRIu8): Likewise.
67056         [C99-based-standards] (PRIx8): Likewise.
67057         [C99-based-standards] (PRIX8): Likewise.
67058         [C99-based-standards] (SCNd8): Likewise.
67059         [C99-based-standards] (SCNi8): Likewise.
67060         [C99-based-standards] (SCNo8): Likewise.
67061         [C99-based-standards] (SCNu8): Likewise.
67062         [C99-based-standards] (SCNx8): Likewise.
67063         [C99-based-standards] (PRIdLEAST8): Likewise.
67064         [C99-based-standards] (PRIiLEAST8): Likewise.
67065         [C99-based-standards] (PRIoLEAST8): Likewise.
67066         [C99-based-standards] (PRIuLEAST8): Likewise.
67067         [C99-based-standards] (PRIxLEAST8): Likewise.
67068         [C99-based-standards] (PRIXLEAST8): Likewise.
67069         [C99-based-standards] (SCNdLEAST8): Likewise.
67070         [C99-based-standards] (SCNiLEAST8): Likewise.
67071         [C99-based-standards] (SCNoLEAST8): Likewise.
67072         [C99-based-standards] (SCNuLEAST8): Likewise.
67073         [C99-based-standards] (SCNxLEAST8): Likewise.
67074         [C99-based-standards] (PRIdFAST8): Likewise.
67075         [C99-based-standards] (PRIiFAST8): Likewise.
67076         [C99-based-standards] (PRIoFAST8): Likewise.
67077         [C99-based-standards] (PRIuFAST8): Likewise.
67078         [C99-based-standards] (PRIxFAST8): Likewise.
67079         [C99-based-standards] (PRIXFAST8): Likewise.
67080         [C99-based-standards] (SCNdFAST8): Likewise.
67081         [C99-based-standards] (SCNiFAST8): Likewise.
67082         [C99-based-standards] (SCNoFAST8): Likewise.
67083         [C99-based-standards] (SCNuFAST8): Likewise.
67084         [C99-based-standards] (SCNxFAST8): Likewise.
67085         [C99-based-standards] (PRId16): Likewise.
67086         [C99-based-standards] (PRIi16): Likewise.
67087         [C99-based-standards] (PRIo16): Likewise.
67088         [C99-based-standards] (PRIu16): Likewise.
67089         [C99-based-standards] (PRIx16): Likewise.
67090         [C99-based-standards] (PRIX16): Likewise.
67091         [C99-based-standards] (SCNd16): Likewise.
67092         [C99-based-standards] (SCNi16): Likewise.
67093         [C99-based-standards] (SCNo16): Likewise.
67094         [C99-based-standards] (SCNu16): Likewise.
67095         [C99-based-standards] (SCNx16): Likewise.
67096         [C99-based-standards] (PRIdLEAST16): Likewise.
67097         [C99-based-standards] (PRIiLEAST16): Likewise.
67098         [C99-based-standards] (PRIoLEAST16): Likewise.
67099         [C99-based-standards] (PRIuLEAST16): Likewise.
67100         [C99-based-standards] (PRIxLEAST16): Likewise.
67101         [C99-based-standards] (PRIXLEAST16): Likewise.
67102         [C99-based-standards] (SCNdLEAST16): Likewise.
67103         [C99-based-standards] (SCNiLEAST16): Likewise.
67104         [C99-based-standards] (SCNoLEAST16): Likewise.
67105         [C99-based-standards] (SCNuLEAST16): Likewise.
67106         [C99-based-standards] (SCNxLEAST16): Likewise.
67107         [C99-based-standards] (PRIdFAST16): Likewise.
67108         [C99-based-standards] (PRIiFAST16): Likewise.
67109         [C99-based-standards] (PRIoFAST16): Likewise.
67110         [C99-based-standards] (PRIuFAST16): Likewise.
67111         [C99-based-standards] (PRIxFAST16): Likewise.
67112         [C99-based-standards] (PRIXFAST16): Likewise.
67113         [C99-based-standards] (SCNdFAST16): Likewise.
67114         [C99-based-standards] (SCNiFAST16): Likewise.
67115         [C99-based-standards] (SCNoFAST16): Likewise.
67116         [C99-based-standards] (SCNuFAST16): Likewise.
67117         [C99-based-standards] (SCNxFAST16): Likewise.
67118         [C99-based-standards] (PRId32): Likewise.
67119         [C99-based-standards] (PRIi32): Likewise.
67120         [C99-based-standards] (PRIo32): Likewise.
67121         [C99-based-standards] (PRIu32): Likewise.
67122         [C99-based-standards] (PRIx32): Likewise.
67123         [C99-based-standards] (PRIX32): Likewise.
67124         [C99-based-standards] (SCNd32): Likewise.
67125         [C99-based-standards] (SCNi32): Likewise.
67126         [C99-based-standards] (SCNo32): Likewise.
67127         [C99-based-standards] (SCNu32): Likewise.
67128         [C99-based-standards] (SCNx32): Likewise.
67129         [C99-based-standards] (PRIdLEAST32): Likewise.
67130         [C99-based-standards] (PRIiLEAST32): Likewise.
67131         [C99-based-standards] (PRIoLEAST32): Likewise.
67132         [C99-based-standards] (PRIuLEAST32): Likewise.
67133         [C99-based-standards] (PRIxLEAST32): Likewise.
67134         [C99-based-standards] (PRIXLEAST32): Likewise.
67135         [C99-based-standards] (SCNdLEAST32): Likewise.
67136         [C99-based-standards] (SCNiLEAST32): Likewise.
67137         [C99-based-standards] (SCNoLEAST32): Likewise.
67138         [C99-based-standards] (SCNuLEAST32): Likewise.
67139         [C99-based-standards] (SCNxLEAST32): Likewise.
67140         [C99-based-standards] (PRIdFAST32): Likewise.
67141         [C99-based-standards] (PRIiFAST32): Likewise.
67142         [C99-based-standards] (PRIoFAST32): Likewise.
67143         [C99-based-standards] (PRIuFAST32): Likewise.
67144         [C99-based-standards] (PRIxFAST32): Likewise.
67145         [C99-based-standards] (PRIXFAST32): Likewise.
67146         [C99-based-standards] (SCNdFAST32): Likewise.
67147         [C99-based-standards] (SCNiFAST32): Likewise.
67148         [C99-based-standards] (SCNoFAST32): Likewise.
67149         [C99-based-standards] (SCNuFAST32): Likewise.
67150         [C99-based-standards] (SCNxFAST32): Likewise.
67151         [C99-based-standards] (PRId64): Likewise.
67152         [C99-based-standards] (PRIi64): Likewise.
67153         [C99-based-standards] (PRIo64): Likewise.
67154         [C99-based-standards] (PRIu64): Likewise.
67155         [C99-based-standards] (PRIx64): Likewise.
67156         [C99-based-standards] (PRIX64): Likewise.
67157         [C99-based-standards] (SCNd64): Likewise.
67158         [C99-based-standards] (SCNi64): Likewise.
67159         [C99-based-standards] (SCNo64): Likewise.
67160         [C99-based-standards] (SCNu64): Likewise.
67161         [C99-based-standards] (SCNx64): Likewise.
67162         [C99-based-standards] (PRIdLEAST64): Likewise.
67163         [C99-based-standards] (PRIiLEAST64): Likewise.
67164         [C99-based-standards] (PRIoLEAST64): Likewise.
67165         [C99-based-standards] (PRIuLEAST64): Likewise.
67166         [C99-based-standards] (PRIxLEAST64): Likewise.
67167         [C99-based-standards] (PRIXLEAST64): Likewise.
67168         [C99-based-standards] (SCNdLEAST64): Likewise.
67169         [C99-based-standards] (SCNiLEAST64): Likewise.
67170         [C99-based-standards] (SCNoLEAST64): Likewise.
67171         [C99-based-standards] (SCNuLEAST64): Likewise.
67172         [C99-based-standards] (SCNxLEAST64): Likewise.
67173         [C99-based-standards] (PRIdFAST64): Likewise.
67174         [C99-based-standards] (PRIiFAST64): Likewise.
67175         [C99-based-standards] (PRIoFAST64): Likewise.
67176         [C99-based-standards] (PRIuFAST64): Likewise.
67177         [C99-based-standards] (PRIxFAST64): Likewise.
67178         [C99-based-standards] (PRIXFAST64): Likewise.
67179         [C99-based-standards] (SCNdFAST64): Likewise.
67180         [C99-based-standards] (SCNiFAST64): Likewise.
67181         [C99-based-standards] (SCNoFAST64): Likewise.
67182         [C99-based-standards] (SCNuFAST64): Likewise.
67183         [C99-based-standards] (SCNxFAST64): Likewise.
67184         [C99-based-standards] (PRIdMAX): Likewise.
67185         [C99-based-standards] (PRIiMAX): Likewise.
67186         [C99-based-standards] (PRIoMAX): Likewise.
67187         [C99-based-standards] (PRIuMAX): Likewise.
67188         [C99-based-standards] (PRIxMAX): Likewise.
67189         [C99-based-standards] (PRIXMAX): Likewise.
67190         [C99-based-standards] (SCNdMAX): Likewise.
67191         [C99-based-standards] (SCNiMAX): Likewise.
67192         [C99-based-standards] (SCNoMAX): Likewise.
67193         [C99-based-standards] (SCNuMAX): Likewise.
67194         [C99-based-standards] (SCNxMAX): Likewise.
67195         [C99-based-standards] (PRIdPTR): Likewise.
67196         [C99-based-standards] (PRIiPTR): Likewise.
67197         [C99-based-standards] (PRIoPTR): Likewise.
67198         [C99-based-standards] (PRIuPTR): Likewise.
67199         [C99-based-standards] (PRIxPTR): Likewise.
67200         [C99-based-standards] (PRIXPTR): Likewise.
67201         [C99-based-standards] (SCNdPTR): Likewise.
67202         [C99-based-standards] (SCNiPTR): Likewise.
67203         [C99-based-standards] (SCNoPTR): Likewise.
67204         [C99-based-standards] (SCNuPTR): Likewise.
67205         [C99-based-standards] (SCNxPTR): Likewise.
67206         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
67207         allow.
67208         * conform/data/stdint.h-data: Update comments to clarify
67209         requirements.
67210         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
67211         type.
67212         [C99-based standards] (INT8_MAX): Likewise.
67213         [C99-based standards] (INT16_MIN): Likewise.
67214         [C99-based standards] (INT16_MAX): Likewise.
67215         [C99-based standards] (INT32_MIN): Likewise.
67216         [C99-based standards] (INT32_MAX): Likewise.
67217         [C99-based standards] (INT64_MIN): Likewise.
67218         [C99-based standards] (INT64_MAX): Likewise.
67219         [C99-based standards] (UINT8_MAX): Likewise.
67220         [C99-based standards] (UINT16_MAX): Likewise.
67221         [C99-based standards] (UINT32_MAX): Likewise.
67222         [C99-based standards] (UINT64_MAX): Likewise.
67223         [C99-based standards] (INT_LEAST8_MIN): Likewise.
67224         [C99-based standards] (INT_LEAST8_MAX): Likewise.
67225         [C99-based standards] (INT_LEAST16_MIN): Likewise.
67226         [C99-based standards] (INT_LEAST16_MAX): Likewise.
67227         [C99-based standards] (INT_LEAST32_MIN): Likewise.
67228         [C99-based standards] (INT_LEAST32_MAX): Likewise.
67229         [C99-based standards] (INT_LEAST64_MIN): Likewise.
67230         [C99-based standards] (INT_LEAST64_MAX): Likewise.
67231         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
67232         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
67233         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
67234         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
67235         [C99-based standards] (INT_FAST8_MIN): Likewise.
67236         [C99-based standards] (INT_FAST8_MAX): Likewise.
67237         [C99-based standards] (INT_FAST16_MIN): Likewise.
67238         [C99-based standards] (INT_FAST16_MAX): Likewise.
67239         [C99-based standards] (INT_FAST32_MIN): Likewise.
67240         [C99-based standards] (INT_FAST32_MAX): Likewise.
67241         [C99-based standards] (INT_FAST64_MIN): Likewise.
67242         [C99-based standards] (INT_FAST64_MAX): Likewise.
67243         [C99-based standards] (UINT_FAST8_MAX): Likewise.
67244         [C99-based standards] (UINT_FAST16_MAX): Likewise.
67245         [C99-based standards] (UINT_FAST32_MAX): Likewise.
67246         [C99-based standards] (UINT_FAST64_MAX): Likewise.
67247         [C99-based standards] (INTPTR_MIN): Likewise.
67248         [C99-based standards] (INTPTR_MAX): Likewise.
67249         [C99-based standards] (UINTPTR_MAX): Likewise.
67250         [C99-based standards] (INTMAX_MIN): Likewise.
67251         [C99-based standards] (INTMAX_MAX): Likewise.
67252         [C99-based standards] (UINTMAX_MAX): Likewise.
67253         [C99-based standards] (PTRDIFF_MIN): Likewise.
67254         [C99-based standards] (PTRDIFF_MAX): Likewise.
67255         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
67256         [C99-based standards] (SIZE_MAX): Likewise.
67257         [C99-based standards] (WCHAR_MAX): Likewise.
67258         [C99-based standards] (WINT_MAX): Likewise.
67259         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
67260         constraint on value.
67261         [C99-based standards] (WCHAR_MIN): Likewise.
67262         [C99-based standards] (WINT_MIN): Likewise.
67263         [C99-based standards] (*_t): Allow.
67264         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
67265         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
67266         Include math.h-data and complex.h-data.  Remove all expectations
67267         of math.h and complex.h contents.
67268         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
67269         at end of line.
67270         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
67271         (struct tm): Expect tag.
67272         [C99-based-standards] (wcstof): Expect function.
67273         [C99-based-standards] (wcstold): Likewise.
67274         [C99-based-standards] (wcstoll): Likewise.
67275         [C99-based-standards] (wcstoull): Likewise.
67276         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
67277         macro-int-constant.  Specify type.
67278         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
67279         constraint on value.
67280         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67281         Specify type.
67282         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
67283         Specify value.
67284         [ISO C standards]: Do not allow headers.
67285         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
67286         wcs[abcdefghijklmnopqrstuvwxyz]*.
67287         [ISO C standards] (*_t): Do not allow.
67288         * conform/data/wctype.h-data [C99-based standards] (iswblank):
67289         Expect function.
67290         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
67291         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
67292         Specify type.
67293         [ISO C standards]: Do not allow headers.
67294         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
67295         is[abcdefghijklmnopqrstuvwxyz]*.
67296         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
67297         to[abcdefghijklmnopqrstuvwxyz]*.
67298         [ISO C standards] (*_t): Do not allow.
67299         * conform/data/stdalign.h-data: New file.
67300         * conform/data/stdbool.h-data: Likewise.
67301         * conform/data/stdnoreturn.h-data: Likewise.
67303 2012-11-07  Roland McGrath  <roland@hack.frob.com>
67305         [BZ #14815]
67306         * manual/filesys.texi (Directory Entries): Typo fix.
67307         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
67309 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67311         * elf/elf.h (EM_AARCH64): New macro.
67312         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
67313         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
67314         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
67315         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
67316         (R_AARCH64_TLSDESC): Likewise.
67317         (NT_ARM_TLS): Likewise.
67318         (NT_ARM_HW_BREAK): Likewise.
67319         (NT_ARM_HW_WATCH): Likewise.
67321 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67323         [BZ #14811]
67324         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
67325         (__ieee754_powl): Saturate nonzero exponents with absolute value
67326         below 0x1p-79 to +/- 0x1p-79.
67327         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
67328         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
67329         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
67330         nonzero exponents with absolute value below 0x1p-32 to +/-
67331         0x1p-32.
67332         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
67333         (__ieee754_powl): Saturate nonzero exponents with absolute value
67334         below 0x1p-79 to +/- 0x1p-79.
67335         * math/libm-test.inc (pow_test): Add more tests.
67337 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67339         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
67340         _dl_s390_cap_flags with kernel. Increase string length.
67341         (_dl_s390_platforms): Add z196 and zEC12.
67343 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
67345         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
67346         Change XOPEN21K to XOPEN2K.
67348 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
67350         * string/memmove.c: Use memcpy when possible.
67352 2012-11-06  Andreas Jaeger  <aj@suse.de>
67354         * po/eo.po: Update from translation team.
67356 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
67358         [BZ #14793]
67359         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
67360         exponent and small x and y exponents, scale x or y up.  Increase
67361         by 2 the exponent used in scaling up.
67362         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67363         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67364         * math/libm-test.inc (fma_test): Add more tests.
67365         (fma_test_towardzero): Likewise.
67366         (fma_test_downward): Likewise.
67367         (fma_test_upward): Likewise.
67369 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
67371         [BZ #14805]
67372         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
67373         fenv_t *.
67375         [BZ #14801]
67376         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
67377         namespace for names of struct fields.
67378         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
67379         fenv_t fields.
67380         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
67381         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
67383 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67385         [BZ #3665]
67386         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
67388 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67390         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
67391         PTR_DEMANGLE.
67393         [BZ #5246]
67394         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
67395         PTR_DEMANGLE.
67397 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
67399         [BZ #14797]
67400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
67401         definitely overflow as x * y not x * y + z.
67402         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67403         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67404         * math/libm-test.inc (fma_test): Add more tests.
67405         (fma_test_towardzero): Likewise.
67406         (fma_test_downward): Likewise.
67407         (fma_test_upward): Likewise.
67409 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
67411         [BZ #157]
67413         * include/stub-tag.h: Remove file.
67414         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
67415         '#include' of it.
67416         * manual/maint.texi (Porting): Don't reference it.
67417         * Makerules ($(objpfx)stubs): Likewise.
67418         * dirent/closedir.c: Don't include <stub-tag.h>.
67419         * dirent/dirfd.c: Likewise.
67420         * dirent/fdopendir.c: Likewise.
67421         * dirent/getdents.c: Likewise.
67422         * dirent/getdents64.c: Likewise.
67423         * dirent/opendir.c: Likewise.
67424         * dirent/readdir.c: Likewise.
67425         * dirent/readdir64.c: Likewise.
67426         * dirent/readdir64_r.c: Likewise.
67427         * dirent/readdir_r.c: Likewise.
67428         * dirent/rewinddir.c: Likewise.
67429         * dirent/seekdir.c: Likewise.
67430         * dirent/telldir.c: Likewise.
67431         * gmon/profil.c: Likewise.
67432         * grp/setgroups.c: Likewise.
67433         * inet/if_index.c: Likewise.
67434         * io/access.c: Likewise.
67435         * io/chdir.c: Likewise.
67436         * io/chmod.c: Likewise.
67437         * io/chown.c: Likewise.
67438         * io/close.c: Likewise.
67439         * io/dup.c: Likewise.
67440         * io/dup2.c: Likewise.
67441         * io/dup3.c: Likewise.
67442         * io/euidaccess.c: Likewise.
67443         * io/faccessat.c: Likewise.
67444         * io/fchdir.c: Likewise.
67445         * io/fchmod.c: Likewise.
67446         * io/fchmodat.c: Likewise.
67447         * io/fchown.c: Likewise.
67448         * io/fchownat.c: Likewise.
67449         * io/fcntl.c: Likewise.
67450         * io/flock.c: Likewise.
67451         * io/fstatfs.c: Likewise.
67452         * io/fstatfs64.c: Likewise.
67453         * io/fstatvfs.c: Likewise.
67454         * io/fstatvfs64.c: Likewise.
67455         * io/futimens.c: Likewise.
67456         * io/fxstat.c: Likewise.
67457         * io/fxstat64.c: Likewise.
67458         * io/fxstatat.c: Likewise.
67459         * io/fxstatat64.c: Likewise.
67460         * io/getcwd.c: Likewise.
67461         * io/isatty.c: Likewise.
67462         * io/lchmod.c: Likewise.
67463         * io/lchown.c: Likewise.
67464         * io/link.c: Likewise.
67465         * io/linkat.c: Likewise.
67466         * io/lseek.c: Likewise.
67467         * io/lseek64.c: Likewise.
67468         * io/lxstat64.c: Likewise.
67469         * io/mkdir.c: Likewise.
67470         * io/mkdirat.c: Likewise.
67471         * io/mkfifo.c: Likewise.
67472         * io/mkfifoat.c: Likewise.
67473         * io/open.c: Likewise.
67474         * io/open64.c: Likewise.
67475         * io/openat.c: Likewise.
67476         * io/openat64.c: Likewise.
67477         * io/pipe.c: Likewise.
67478         * io/pipe2.c: Likewise.
67479         * io/poll.c: Likewise.
67480         * io/posix_fadvise.c: Likewise.
67481         * io/posix_fadvise64.c: Likewise.
67482         * io/posix_fallocate.c: Likewise.
67483         * io/posix_fallocate64.c: Likewise.
67484         * io/read.c: Likewise.
67485         * io/readlink.c: Likewise.
67486         * io/readlinkat.c: Likewise.
67487         * io/rmdir.c: Likewise.
67488         * io/sendfile.c: Likewise.
67489         * io/sendfile64.c: Likewise.
67490         * io/statfs.c: Likewise.
67491         * io/statfs64.c: Likewise.
67492         * io/statvfs.c: Likewise.
67493         * io/statvfs64.c: Likewise.
67494         * io/symlink.c: Likewise.
67495         * io/symlinkat.c: Likewise.
67496         * io/ttyname.c: Likewise.
67497         * io/ttyname_r.c: Likewise.
67498         * io/umask.c: Likewise.
67499         * io/unlink.c: Likewise.
67500         * io/unlinkat.c: Likewise.
67501         * io/utime.c: Likewise.
67502         * io/utimensat.c: Likewise.
67503         * io/write.c: Likewise.
67504         * io/xmknod.c: Likewise.
67505         * io/xmknodat.c: Likewise.
67506         * io/xstat.c: Likewise.
67507         * io/xstat64.c: Likewise.
67508         * login/getpt.c: Likewise.
67509         * login/grantpt.c: Likewise.
67510         * login/unlockpt.c: Likewise.
67511         * math/e_acoshl.c: Likewise.
67512         * math/e_acosl.c: Likewise.
67513         * math/e_asinl.c: Likewise.
67514         * math/e_atan2l.c: Likewise.
67515         * math/e_atanhl.c: Likewise.
67516         * math/e_coshl.c: Likewise.
67517         * math/e_expl.c: Likewise.
67518         * math/e_fmodl.c: Likewise.
67519         * math/e_gammal_r.c: Likewise.
67520         * math/e_hypotl.c: Likewise.
67521         * math/e_j0l.c: Likewise.
67522         * math/e_j1l.c: Likewise.
67523         * math/e_jnl.c: Likewise.
67524         * math/e_lgammal_r.c: Likewise.
67525         * math/e_log10l.c: Likewise.
67526         * math/e_log2l.c: Likewise.
67527         * math/e_logl.c: Likewise.
67528         * math/e_powl.c: Likewise.
67529         * math/e_rem_pio2l.c: Likewise.
67530         * math/e_sinhl.c: Likewise.
67531         * math/e_sqrtl.c: Likewise.
67532         * math/fclrexcpt.c: Likewise.
67533         * math/fedisblxcpt.c: Likewise.
67534         * math/feenablxcpt.c: Likewise.
67535         * math/fegetenv.c: Likewise.
67536         * math/fegetexcept.c: Likewise.
67537         * math/fegetround.c: Likewise.
67538         * math/feholdexcpt.c: Likewise.
67539         * math/fesetenv.c: Likewise.
67540         * math/fesetround.c: Likewise.
67541         * math/feupdateenv.c: Likewise.
67542         * math/fgetexcptflg.c: Likewise.
67543         * math/fraiseexcpt.c: Likewise.
67544         * math/fsetexcptflg.c: Likewise.
67545         * math/ftestexcept.c: Likewise.
67546         * math/k_cosl.c: Likewise.
67547         * math/k_rem_pio2l.c: Likewise.
67548         * math/k_sinl.c: Likewise.
67549         * math/k_tanl.c: Likewise.
67550         * math/s_asinhl.c: Likewise.
67551         * math/s_atanl.c: Likewise.
67552         * math/s_cbrtl.c: Likewise.
67553         * math/s_erfl.c: Likewise.
67554         * math/s_expm1l.c: Likewise.
67555         * math/s_log1pl.c: Likewise.
67556         * math/s_tanhl.c: Likewise.
67557         * misc/acct.c: Likewise.
67558         * misc/brk.c: Likewise.
67559         * misc/chflags.c: Likewise.
67560         * misc/chroot.c: Likewise.
67561         * misc/fchflags.c: Likewise.
67562         * misc/fgetxattr.c: Likewise.
67563         * misc/flistxattr.c: Likewise.
67564         * misc/fremovexattr.c: Likewise.
67565         * misc/fsetxattr.c: Likewise.
67566         * misc/fsync.c: Likewise.
67567         * misc/ftruncate.c: Likewise.
67568         * misc/futimes.c: Likewise.
67569         * misc/futimesat.c: Likewise.
67570         * misc/getdomain.c: Likewise.
67571         * misc/getdtsz.c: Likewise.
67572         * misc/gethostid.c: Likewise.
67573         * misc/gethostname.c: Likewise.
67574         * misc/getloadavg.c: Likewise.
67575         * misc/getpagesize.c: Likewise.
67576         * misc/getsysstats.c: Likewise.
67577         * misc/getxattr.c: Likewise.
67578         * misc/gtty.c: Likewise.
67579         * misc/ioctl.c: Likewise.
67580         * misc/lgetxattr.c: Likewise.
67581         * misc/listxattr.c: Likewise.
67582         * misc/llistxattr.c: Likewise.
67583         * misc/lremovexattr.c: Likewise.
67584         * misc/lsetxattr.c: Likewise.
67585         * misc/lutimes.c: Likewise.
67586         * misc/madvise.c: Likewise.
67587         * misc/mincore.c: Likewise.
67588         * misc/mlock.c: Likewise.
67589         * misc/mlockall.c: Likewise.
67590         * misc/mmap.c: Likewise.
67591         * misc/mprotect.c: Likewise.
67592         * misc/msync.c: Likewise.
67593         * misc/munlock.c: Likewise.
67594         * misc/munlockall.c: Likewise.
67595         * misc/munmap.c: Likewise.
67596         * misc/preadv.c: Likewise.
67597         * misc/preadv64.c: Likewise.
67598         * misc/ptrace.c: Likewise.
67599         * misc/pwritev.c: Likewise.
67600         * misc/pwritev64.c: Likewise.
67601         * misc/readv.c: Likewise.
67602         * misc/reboot.c: Likewise.
67603         * misc/remap_file_pages.c: Likewise.
67604         * misc/removexattr.c: Likewise.
67605         * misc/revoke.c: Likewise.
67606         * misc/select.c: Likewise.
67607         * misc/setdomain.c: Likewise.
67608         * misc/setegid.c: Likewise.
67609         * misc/seteuid.c: Likewise.
67610         * misc/sethostid.c: Likewise.
67611         * misc/sethostname.c: Likewise.
67612         * misc/setregid.c: Likewise.
67613         * misc/setreuid.c: Likewise.
67614         * misc/setxattr.c: Likewise.
67615         * misc/sstk.c: Likewise.
67616         * misc/stty.c: Likewise.
67617         * misc/swapoff.c: Likewise.
67618         * misc/swapon.c: Likewise.
67619         * misc/sync.c: Likewise.
67620         * misc/syncfs.c: Likewise.
67621         * misc/syscall.c: Likewise.
67622         * misc/truncate.c: Likewise.
67623         * misc/ualarm.c: Likewise.
67624         * misc/usleep.c: Likewise.
67625         * misc/ustat.c: Likewise.
67626         * misc/utimes.c: Likewise.
67627         * misc/vhangup.c: Likewise.
67628         * misc/writev.c: Likewise.
67629         * posix/_exit.c: Likewise.
67630         * posix/alarm.c: Likewise.
67631         * posix/execve.c: Likewise.
67632         * posix/fexecve.c: Likewise.
67633         * posix/fork.c: Likewise.
67634         * posix/fpathconf.c: Likewise.
67635         * posix/getaddrinfo.c: Likewise.
67636         * posix/getegid.c: Likewise.
67637         * posix/geteuid.c: Likewise.
67638         * posix/getgid.c: Likewise.
67639         * posix/getgroups.c: Likewise.
67640         * posix/getlogin.c: Likewise.
67641         * posix/getlogin_r.c: Likewise.
67642         * posix/getpgid.c: Likewise.
67643         * posix/getpid.c: Likewise.
67644         * posix/getppid.c: Likewise.
67645         * posix/getresgid.c: Likewise.
67646         * posix/getresuid.c: Likewise.
67647         * posix/getsid.c: Likewise.
67648         * posix/getuid.c: Likewise.
67649         * posix/glob64.c: Likewise.
67650         * posix/nanosleep.c: Likewise.
67651         * posix/pathconf.c: Likewise.
67652         * posix/pause.c: Likewise.
67653         * posix/posix_madvise.c: Likewise.
67654         * posix/pread.c: Likewise.
67655         * posix/pread64.c: Likewise.
67656         * posix/pwrite.c: Likewise.
67657         * posix/pwrite64.c: Likewise.
67658         * posix/sched_getaffinity.c: Likewise.
67659         * posix/sched_getp.c: Likewise.
67660         * posix/sched_gets.c: Likewise.
67661         * posix/sched_primax.c: Likewise.
67662         * posix/sched_primin.c: Likewise.
67663         * posix/sched_rr_gi.c: Likewise.
67664         * posix/sched_setaffinity.c: Likewise.
67665         * posix/sched_setp.c: Likewise.
67666         * posix/sched_sets.c: Likewise.
67667         * posix/sched_yield.c: Likewise.
67668         * posix/setgid.c: Likewise.
67669         * posix/setlogin.c: Likewise.
67670         * posix/setpgid.c: Likewise.
67671         * posix/setresgid.c: Likewise.
67672         * posix/setresuid.c: Likewise.
67673         * posix/setsid.c: Likewise.
67674         * posix/setuid.c: Likewise.
67675         * posix/sleep.c: Likewise.
67676         * posix/spawni.c: Likewise.
67677         * posix/sysconf.c: Likewise.
67678         * posix/times.c: Likewise.
67679         * posix/wait.c: Likewise.
67680         * posix/wait3.c: Likewise.
67681         * posix/wait4.c: Likewise.
67682         * posix/waitpid.c: Likewise.
67683         * resolv/gai_sigqueue.c: Likewise.
67684         * resource/getpriority.c: Likewise.
67685         * resource/getrlimit.c: Likewise.
67686         * resource/getrusage.c: Likewise.
67687         * resource/nice.c: Likewise.
67688         * resource/setpriority.c: Likewise.
67689         * resource/setrlimit.c: Likewise.
67690         * resource/ulimit.c: Likewise.
67691         * rt/aio_cancel.c: Likewise.
67692         * rt/aio_fsync.c: Likewise.
67693         * rt/aio_read.c: Likewise.
67694         * rt/aio_sigqueue.c: Likewise.
67695         * rt/aio_suspend.c: Likewise.
67696         * rt/aio_write.c: Likewise.
67697         * rt/clock_getres.c: Likewise.
67698         * rt/clock_gettime.c: Likewise.
67699         * rt/clock_nanosleep.c: Likewise.
67700         * rt/clock_settime.c: Likewise.
67701         * rt/lio_listio.c: Likewise.
67702         * rt/mq_close.c: Likewise.
67703         * rt/mq_getattr.c: Likewise.
67704         * rt/mq_notify.c: Likewise.
67705         * rt/mq_open.c: Likewise.
67706         * rt/mq_receive.c: Likewise.
67707         * rt/mq_send.c: Likewise.
67708         * rt/mq_setattr.c: Likewise.
67709         * rt/mq_timedreceive.c: Likewise.
67710         * rt/mq_timedsend.c: Likewise.
67711         * rt/mq_unlink.c: Likewise.
67712         * rt/shm_open.c: Likewise.
67713         * rt/shm_unlink.c: Likewise.
67714         * rt/timer_create.c: Likewise.
67715         * rt/timer_delete.c: Likewise.
67716         * rt/timer_getoverr.c: Likewise.
67717         * rt/timer_gettime.c: Likewise.
67718         * rt/timer_settime.c: Likewise.
67719         * setjmp/__longjmp.c: Likewise.
67720         * setjmp/setjmp.c: Likewise.
67721         * signal/kill.c: Likewise.
67722         * signal/killpg.c: Likewise.
67723         * signal/raise.c: Likewise.
67724         * signal/sigaction.c: Likewise.
67725         * signal/sigaltstack.c: Likewise.
67726         * signal/sigblock.c: Likewise.
67727         * signal/sigignore.c: Likewise.
67728         * signal/sigintr.c: Likewise.
67729         * signal/signal.c: Likewise.
67730         * signal/sigpause.c: Likewise.
67731         * signal/sigpending.c: Likewise.
67732         * signal/sigqueue.c: Likewise.
67733         * signal/sigreturn.c: Likewise.
67734         * signal/sigset.c: Likewise.
67735         * signal/sigsetmask.c: Likewise.
67736         * signal/sigstack.c: Likewise.
67737         * signal/sigsuspend.c: Likewise.
67738         * signal/sigtimedwait.c: Likewise.
67739         * signal/sigvec.c: Likewise.
67740         * signal/sigwait.c: Likewise.
67741         * signal/sigwaitinfo.c: Likewise.
67742         * signal/sysv_signal.c: Likewise.
67743         * socket/accept.c: Likewise.
67744         * socket/accept4.c: Likewise.
67745         * socket/bind.c: Likewise.
67746         * socket/connect.c: Likewise.
67747         * socket/getpeername.c: Likewise.
67748         * socket/getsockname.c: Likewise.
67749         * socket/getsockopt.c: Likewise.
67750         * socket/isfdtype.c: Likewise.
67751         * socket/listen.c: Likewise.
67752         * socket/recv.c: Likewise.
67753         * socket/recvfrom.c: Likewise.
67754         * socket/recvmsg.c: Likewise.
67755         * socket/send.c: Likewise.
67756         * socket/sendmsg.c: Likewise.
67757         * socket/sendto.c: Likewise.
67758         * socket/setsockopt.c: Likewise.
67759         * socket/shutdown.c: Likewise.
67760         * socket/sockatmark.c: Likewise.
67761         * socket/socket.c: Likewise.
67762         * socket/socketpair.c: Likewise.
67763         * stdio-common/ctermid.c: Likewise.
67764         * stdio-common/cuserid.c: Likewise.
67765         * stdio-common/remove.c: Likewise.
67766         * stdio-common/rename.c: Likewise.
67767         * stdio-common/renameat.c: Likewise.
67768         * stdio-common/tempname.c: Likewise.
67769         * stdlib/getcontext.c: Likewise.
67770         * stdlib/makecontext.c: Likewise.
67771         * stdlib/setcontext.c: Likewise.
67772         * stdlib/swapcontext.c: Likewise.
67773         * stdlib/system.c: Likewise.
67774         * streams/fattach.c: Likewise.
67775         * streams/fdetach.c: Likewise.
67776         * streams/getmsg.c: Likewise.
67777         * streams/getpmsg.c: Likewise.
67778         * streams/putmsg.c: Likewise.
67779         * streams/putpmsg.c: Likewise.
67780         * sysdeps/unix/bsd/getpt.c: Likewise.
67781         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
67782         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
67783         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
67784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
67785         Likewise.
67786         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
67787         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
67788         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
67789         * sysvipc/msgctl.c: Likewise.
67790         * sysvipc/msgget.c: Likewise.
67791         * sysvipc/msgrcv.c: Likewise.
67792         * sysvipc/msgsnd.c: Likewise.
67793         * sysvipc/semctl.c: Likewise.
67794         * sysvipc/semget.c: Likewise.
67795         * sysvipc/semop.c: Likewise.
67796         * sysvipc/semtimedop.c: Likewise.
67797         * sysvipc/shmat.c: Likewise.
67798         * sysvipc/shmctl.c: Likewise.
67799         * sysvipc/shmdt.c: Likewise.
67800         * sysvipc/shmget.c: Likewise.
67801         * termios/tcdrain.c: Likewise.
67802         * termios/tcflow.c: Likewise.
67803         * termios/tcflush.c: Likewise.
67804         * termios/tcgetattr.c: Likewise.
67805         * termios/tcgetpgrp.c: Likewise.
67806         * termios/tcsendbrk.c: Likewise.
67807         * termios/tcsetattr.c: Likewise.
67808         * termios/tcsetpgrp.c: Likewise.
67809         * time/adjtime.c: Likewise.
67810         * time/clock.c: Likewise.
67811         * time/getitimer.c: Likewise.
67812         * time/gettimeofday.c: Likewise.
67813         * time/setitimer.c: Likewise.
67814         * time/settimeofday.c: Likewise.
67815         * time/stime.c: Likewise.
67816         * time/time.c: Likewise.
67818 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
67820         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
67821         /usr/old/bin.
67823         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
67824         instead of spaces.
67825         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
67827 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
67829         [BZ #14796]
67830         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
67831         FE_TONEAREST before applying Dekker multiplication and Knuth
67832         addition.  Clear inexact exceptions and check for exact zero
67833         results afterwards.
67834         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
67835         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
67836         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
67837         * math/libm-test.inc (fma_test): Add more tests.
67838         (fma_test_towardzero): Likewise.
67839         (fma_test_downward): Likewise.
67840         (fma_test_upward): Likewise.
67841         * sysdeps/generic/math_private.h (default_libc_fesetround): New
67842         function.
67843         (libc_fesetround): New macro.
67844         (libc_fesetroundf): Likewise.
67845         (libc_fesetroundl): Likewise.
67846         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
67847         function.
67848         (libc_fesetround_387): Likewise.
67849         (libc_fesetroundf): New macro.
67850         (libc_fesetround): Likewise.
67851         (libc_fesetroundl): Likewise.
67852         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
67853         function.
67854         (libc_fesetroundf): New macro.
67855         (libc_fesetround): Likewise.
67856         (libc_fesetroundl): Likewise.
67857         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
67858         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
67859         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
67860         libm_hidden_ver.
67861         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
67862         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
67863         libm_hidden_def.
67864         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
67865         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
67866         libm_hidden_ver.
67867         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
67868         libm_hidden_def.
67870         [BZ #3439]
67871         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
67872         integer constant usable in #if and use that to give value to enum
67873         constant.
67874         (FE_DIVBYZERO): Likewise.
67875         (FE_UNDERFLOW): Likewise.
67876         (FE_OVERFLOW): Likewise.
67877         (FE_INVALID): Likewise.
67878         (FE_INVALID_SNAN): Likewise.
67879         (FE_INVALID_ISI): Likewise.
67880         (FE_INVALID_IDI): Likewise.
67881         (FE_INVALID_ZDZ): Likewise.
67882         (FE_INVALID_IMZ): Likewise.
67883         (FE_INVALID_COMPARE): Likewise.
67884         (FE_INVALID_SOFTWARE): Likewise.
67885         (FE_INVALID_SQRT): Likewise.
67886         (FE_INVALID_INTEGER_CONVERSION): Likewise.
67887         (FE_TONEAREST): Likewise.
67888         (FE_TOWARDZERO): Likewise.
67889         (FE_UPWARD): Likewise.
67890         (FE_DOWNWARD): Likewise.
67891         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
67892         (FE_DIVBYZERO): Likewise.
67893         (FE_OVERFLOW): Likewise.
67894         (FE_UNDERFLOW): Likewise.
67895         (FE_INEXACT): Likewise.
67896         (FE_TONEAREST): Likewise.
67897         (FE_DOWNWARD): Likewise.
67898         (FE_UPWARD): Likewise.
67899         (FE_TOWARDZERO): Likewise.
67900         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
67901         (FE_UNDERFLOW): Likewise.
67902         (FE_OVERFLOW): Likewise.
67903         (FE_DIVBYZERO): Likewise.
67904         (FE_INVALID): Likewise.
67905         (FE_TONEAREST): Likewise.
67906         (FE_TOWARDZERO): Likewise.
67907         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
67908         (FE_OVERFLOW): Likewise.
67909         (FE_UNDERFLOW): Likewise.
67910         (FE_DIVBYZERO): Likewise.
67911         (FE_INEXACT): Likewise.
67912         (FE_TONEAREST): Likewise.
67913         (FE_TOWARDZERO): Likewise.
67914         (FE_UPWARD): Likewise.
67915         (FE_DOWNWARD): Likewise.
67916         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
67917         (FE_DIVBYZERO): Likewise.
67918         (FE_OVERFLOW): Likewise.
67919         (FE_UNDERFLOW): Likewise.
67920         (FE_INEXACT): Likewise.
67921         (FE_TONEAREST): Likewise.
67922         (FE_DOWNWARD): Likewise.
67923         (FE_UPWARD): Likewise.
67924         (FE_TOWARDZERO): Likewise.
67926 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
67928         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
67930 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
67932         * scripts/cross-test-ssh.sh (command): Use newlines to separate
67933         commands.  Quote $PWD.
67934         (blacklist_exports): Don't use remove_newlines.  Replace "declare
67935         -x" by "export".
67936         (remove_newlines): Remove.
67938 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
67940         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
67941         * stdlib/stdlib.h (atof): Moved to ...
67942         * include/bits/stdlib-float.h: Here.  New file.
67943         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
67944         * stdlib/bits/stdlib-float.h: New file.
67945         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
67946         -mno-sse -mno-mmx.
67947         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
67948         <xmmintrin.h>.
67950 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67952         * conform/conformtest.pl (@headers): Add fenv.h.
67953         * conform/data/fenv.h-data: New file.
67954         * include/fenv.h [_ISOMAC]: Disable all contents of file except
67955         include of <math/fenv.h>.
67957         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
67958         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
67959         && !UNIX98].  Enables tests for XOPEN2K8.
67960         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
67961         POSIX2008]: Likewise.
67963         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
67964         (struct rusage): Do not expect type or its members.
67966         [BZ #3439]
67967         * math/math.h (FP_NAN): Define macro to integer constant usable in
67968         #if and use that to give value to enum constant.
67969         (FP_INFINITE): Likewise.
67970         (FP_ZERO): Likewise.
67971         (FP_SUBNORMAL): Likewise.
67972         (FP_NORMAL): Likewise.
67974 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
67976         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
67977         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
67978         arguments.
67980 2012-11-02  Roland McGrath  <roland@hack.frob.com>
67982         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
67983         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
67984         autoconf-time if not.
67985         * configure.in: Remove AC_PREREQ.
67987 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67989         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
67990         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
67991         of the internal implementation.
67993 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
67995         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
67996         except include of <misc/sys/syslog.h>.
67998 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
68001         function returns with a NULL context exit with zero.
68003 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68005         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
68007 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
68009         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
68010         (run_program_cmd): This.
68011         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
68012         (tst_langinfo): New variable.  Use it.
68014 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
68016         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
68017         floating point opcodes.
68019 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68021         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
68022         variable.
68024         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
68026         * sysdeps/mach/hurd/powerpc: Remove directory.
68027         * sysdeps/mach/powerpc: Likewise.
68029 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
68031         * scripts/check-local-headers.sh: Ignore c++ headers.
68033 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68035         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
68036         __libc_cleanup_region_start argument.
68038 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
68040         [BZ #14784]
68041         [BZ #14785]
68042         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
68043         x * y using scaling, not as x * y + z.
68044         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68045         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68046         * math/libm-test.inc (fma_test): Add more tests.
68047         (fma_test_towardzero): Likewise.
68048         (fma_test_downward): Likewise.
68049         (fma_test_upward): Likewise.
68051 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
68053         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
68055 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68057         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
68058         New variable.
68060 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
68062         * rt/tst-shm.c (worker): Correct checking for mmap failure.
68064 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68067         Fix sort order.
68068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68069         Likewise.
68071 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68074         Fix the order of the list for glibc 2.17.
68075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68076         Likewise.
68078 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
68080         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68082 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
68084         [BZ #14610]
68085         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
68086         for low part of x being zero before using __atanl (y).
68087         * math/libm-test.inc (atan2_test): Add another test.
68089         * manual/install.texi (Configuring and compiling): Document
68090         general use of test-wrapper and test-wrapper-env.
68091         * INSTALL: Regenerated.
68093         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
68094         (__fma): Do not extract and scale down low bits on after-rounding
68095         systems when result rounded to normal precision would have normal
68096         exponent.
68097         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
68098         (__fmal): Do not extract and scale down low bits on after-rounding
68099         systems when result rounded to normal precision would have normal
68100         exponent.
68101         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
68102         (__fmal): Do not extract and scale down low bits on after-rounding
68103         systems when result rounded to normal precision would have normal
68104         exponent.
68105         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
68106         macro.
68107         (fma_test): Add more tests.
68108         (fma_test_towardzero): Likewise.
68109         (fma_test_downward): Likewise.
68110         (fma_test_upward): Likewise.
68112 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
68114         * sysdeps/i386/tininess.h: Renamed to ...
68115         * sysdeps/x86/tininess.h: This.
68116         * sysdeps/x86_64/tininess.h: Removed.
68118 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68120         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
68121         input.  Use $(build-program-cmd).
68122         ($(objpfx)tst-array1-static.out): Likewise.
68123         ($(objpfx)tst-array2.out): Likewise.
68124         ($(objpfx)tst-array3.out): Likewise.
68125         ($(objpfx)tst-array4.out): Likewise.
68126         ($(objpfx)tst-array5.out): Likewise.
68127         ($(objpfx)tst-array5-static.out): Likewise.
68129 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
68131         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
68132         if defined.
68134         * nss/nsswitch.h (nss_interface_function): Provide new
68135         macro for use with NSS functions.
68136         * grp/initgroups.c: Use new macro.
68137         * nss/getXXbyYY.c: Likewise.
68138         * nss/getXXbyYY_r.c: Likewise.
68139         * nss/getXXent.c: Likewise.
68140         * nss/getXXent_r.c: Likewise.
68141         * sysdeps/posix/getaddrinfo.c: Likewise.
68143 2012-10-30  Andreas Jaeger  <aj@suse.de>
68145         * po/ru.po: Update Russion translation from translation project.
68147 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
68149         [BZ #14152]
68150         [BZ #14783]
68151         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
68152         result and shift together with sticky bit instead of replicating
68153         round-to-nearest rounding.
68154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
68155         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
68156         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
68157         missing underflow exceptions.
68158         (fma_test_towardzero): Add more tests.
68159         (fma_test_downward): Likewise.
68160         (fma_test_upward): Likewise.
68162         [BZ #14047]
68163         * sysdeps/generic/tininess.h: New file.
68164         * sysdeps/i386/tininess.h: Likewise.
68165         * sysdeps/sh/tininess.h: Likewise.
68166         * sysdeps/x86_64/tininess.h: Likewise.
68167         * stdlib/tst-strtod-underflow.c: Likewise.
68168         * stdlib/tst-tininess.c: Likewise.
68169         * stdlib/strtod_l.c: Include <tininess.h>.
68170         (round_and_return): Do not set errno for exact underflow cases.
68171         Force an underflow exception when setting errno for underflow.
68172         Determine underflow based on rounding to normal precision if
68173         TININESS_AFTER_ROUNDING.
68174         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
68175         ERANGE for exact underflow cases.
68176         * stdlib/Makefile (tests): Add tst-tininess and
68177         tst-strtod-underflow.
68178         ($(objpfx)tst-tininess): Use $(link-libm).
68179         ($(objpfx)tst-strtod-underflow): Likewise.
68181 2012-10-30  Andreas Jaeger  <aj@suse.de>
68183         [BZ#14767]
68184         * elf/Makefile (tests): Remove conditional for have-initfini-array
68185         since this is now always required and the variable does not exist
68186         anymore.
68187         (tests-static): Likewise.
68188         (modules-names): Likewise.
68190         * po/eo.po: Add Esperanto translation from translation project.
68192         * elf/tst-array1.c (fini_array): Make writeable so that it can be
68193         merged with constructor/destructor.
68194         (init_array): Likewise.
68195         * elf/tst-array2dep.c (fini_array): Likewise.
68196         (init_array): Likewise.
68198 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
68200         * manual/message.texi: Delete @cartouche tags.
68202 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
68204         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
68205         EOPNOTSUPP.
68206         * sysdeps/mach/hurd/fsync.c: Likewise.
68208         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
68209         [_POSIX_REALTIME_SIGNALS]: Change condition to
68210         [_POSIX_REALTIME_SIGNALS > 0].
68212 2012-10-27  Andreas Jaeger  <aj@suse.de>
68214         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
68215         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
68216         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
68217         [__WORDSIZE != 64]: Likewise.
68219 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
68221         *  iconvdata/tst-table.sh: Remove ${SHELL}.
68222         *  iconvdata/tst-tables.sh: Likewise.
68224 2012-10-25  David S. Miller  <davem@davemloft.net>
68226         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68227         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
68228         of strtoull.
68230         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
68231         ifunc-impl-list.c
68232         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68233         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
68234         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
68235         file.
68237 2012-10-25  Roland McGrath  <roland@hack.frob.com>
68239         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68240         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
68241         __getdirentries.
68243 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68244             Jim Blandy  <jimb@codesourcery.com>
68246         * scripts/cross-test-ssh.sh: New file.
68247         * manual/install.texi (Configuring and compiling): Document use of
68248         cross-test-ssh.sh.
68249         * INSTALL: Regenerated.
68251 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
68253         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
68254         EOPNOTSUPP.
68256 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
68258         * Makeconfig (run-program-prefix): Fix comment.
68260 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68261             Jim Blandy  <jimb@codesourcery.com>
68263         * Makeconfig (test-wrapper): New variable,
68264         (test-wrapper-env): Likewise.
68265         [$(cross-compiling) = yes && $(test-wrapper) != ""]
68266         (run-built-tests): Define to yes.
68267         (run-program-prefix): Use $(test-wrapper).
68268         (built-program-cmd): Likewise.
68269         * Rules (make-test-out): Use $(test-wrapper-env) and
68270         $(host-built-program-cmd).
68271         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
68272         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
68273         tst-pathopt.sh.
68274         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
68275         $(test-wrapper-env) to tst-rtld-load-self.sh.
68276         ($(objpfx)order2.out): Use $(test-wrapper).
68277         ($(objpfx)tst-initorder.out): Likewise.
68278         ($(objpfx)tst-initorder2.out): Likewise.
68279         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
68280         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
68281         (test_wrapper_env): New variable.  Use it to run ld.so.
68282         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
68283         Use it to run ld.so.
68284         (test_wrapper_env): Likewise.
68285         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
68286         $(test-wrapper) to run-iconv-test.sh.
68287         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
68288         (ICONV): Use $test_wrapper.
68289         * posix/Makefile ($(objpfx)globtest.out): Pass
68290         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
68291         globtest.sh, not $(run-program-prefix).
68292         * posix/globtest.sh (run_via_rtld_prefix): New variable.
68293         (test_wrapper): Likewise.
68294         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
68295         set together with run_via_rtld_prefix.
68296         (run_program_prefix): Define in terms of test_wrapper and
68297         run_via_rtld_prefix.
68299 2012-10-24  Roland McGrath  <roland@hack.frob.com>
68301         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
68302         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
68303         Targets removed.
68305         [BZ #14743]
68306         * include/time.h: Remove librt_hidden_proto (clock_gettime).
68307         Declare __clock_getres, __clock_gettime, __clock_settime,
68308         __clock_nanosleep, and __clock_getcpuclockid.
68309         * rt/clock_gettime.c: Define __clock_gettime as an alias.
68310         Remove librt_hidden_def (clock_gettime).
68311         * sysdeps/unix/clock_gettime.c: Likewise.
68312         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
68313         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
68314         * rt/clock_getres.c: Define __clock_getres as an alias.
68315         * sysdeps/posix/clock_getres.c: Likewise.
68316         * rt/clock_settime.c: Define __clock_settime as an alias.
68317         * sysdeps/unix/clock_settime.c: Likewise.
68318         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
68319         * sysdeps/unix/clock_nanosleep.c: Likewise.
68320         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
68321         * rt/clock-compat.c: New file.
68322         * rt/Makefile (librt-routines): Add clock-compat and move
68323         $(clock-routines) to ...
68324         (routines): ... here, new variable.
68325         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
68326         Don't add get_clockfreq here.
68327         * rt/Versions (libc: GLIBC_2.17): New version set.
68328         Add clock_* symbols here.
68329         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
68330         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
68331         (GLIBC_2.17): Add clock_* symbols.
68332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68334         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68336         Likewise.
68337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68338         Likewise.
68339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68341         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68342         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68343         * NEWS: Mention the move.
68345         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
68346         Use __open, __read, __close rather than their public counterparts.
68347         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68348         (__get_clockfreq_via_cpuinfo): Likewise.
68349         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
68350         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
68352         * config.h.in (HAVE_IFUNC): New #undef.
68353         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
68354         was successful.
68355         * configure: Regenerated.
68357 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68359         * configure.in: Move READELF check to start of file.
68360         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
68361         libc_cv_asm_gnu_indirect_function in the process.
68362         * configure: Regenerated.
68364 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
68366         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
68367         send the output to /dev/null.
68368         (libc_cv_cc_with_libunwind): Likewise.
68369         (libc_cv_as_noexecstack): Likewise.
68370         * configure: Regenerate.
68372 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
68374         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
68376         * posix/globtest.sh (TMPDIR): Do not set.
68377         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
68378         (testout): Likewise.
68380 2012-10-24  Andreas Jaeger  <aj@suse.de>
68382         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
68383         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
68384         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
68385         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
68386         posix_fadvise64, posix_fallocate64.
68388         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
68389         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
68390         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
68391         Likewise.
68392         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
68393         Likewise.
68394         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
68396         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
68397         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
68398         <bits/fcntl-linux.h>.
68399         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
68401         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
68402         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
68403         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
68404         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
68405         [__WORDSIZE != 64]: Likewise.
68407 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68409         * Makeconfig (run-built-tests): New variable.
68410         * Rules [$(cross-compiling) = yes]: Change condition to
68411         [$(run-built-tests) = no].
68412         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
68413         to [$(run-built-tests) = yes].
68414         * elf/Makefile [$(cross-compiling) = no]: Likewise.
68415         * grp/Makefile [$(cross-compiling) = no]: Likewise.
68416         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
68417         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
68418         * intl/Makefile [$(cross-compiling) = no]: Likewise.
68419         * io/Makefile [$(cross-compiling) = no]: Likewise.
68420         * libio/Makefile [$(cross-compiling) = no]: Likewise.
68421         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
68422         * misc/Makefile [$(cross-compiling) = no]: Likewise.
68423         * posix/Makefile [$(cross-compiling) = no]: Likewise.
68424         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
68425         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
68426         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
68427         * string/Makefile [$(cross-compiling) = no]: Likewise.
68429         * posix/Makefile ($(objpfx)globtest.out): Pass
68430         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
68431         $(rtld-installed-name).
68432         * posix/globtest.sh (elf_objpfx): Remove variable.
68433         (rtld_installed_name): Likewise.
68434         (library_path): Likewise.
68435         (run_program_prefix): New variable.  Use for running globtest
68436         binary.
68438 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
68439             Joseph Myers  <joseph@codesourcery.com>
68441         * Makeconfig (host-built-program-cmd): New variable.
68442         * elf/Makefile (tst-stackguard1-ARGS): Use
68443         $(host-built-program-cmd).
68444         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
68445         (tst-spawn-ARGS): Likewise.
68446         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
68448 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
68449             Jim Blandy  <jimb@codesourcery.com>
68451         * Makeconfig (run-via-rtld-prefix): New variable.
68452         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
68453         (built-program-cmd): Likewise.
68455 2012-10-22  Andreas Jaeger  <aj@suse.de>
68457         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
68458         __O_RSYNC if it exists, otherwise to O_SYNC.
68460 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
68461             Joseph Myers  <joseph@codesourcery.com>
68463         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
68464         /dev/null.
68465         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
68466         from /dev/null
68467         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
68468         /dev/null.
68470 2012-10-22  Andreas Jaeger  <aj@suse.de>
68472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
68473         Define always.
68474         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
68476         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68477         bits/fcntl-linux.h.
68479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
68480         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
68482         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
68483         to __O_LARGEFILE.
68484         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
68485         to __O_LARGEFILE.
68487 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
68488             Joseph Myers  <joseph@codesourcery.com>
68490         * config.make.in (NM): New variable.
68492 2012-10-21  Andreas Jaeger  <aj@suse.de>
68494         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
68495         definitions and declarations that are provided by
68496         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68498 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68500         [BZ #14683]
68501         * elf/Makefile (tests-static): Add tst-leaks1-static.
68502         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
68503         ($(objpfx)tst-leaks1-static): New rule.
68504         ($(objpfx)tst-leaks1-static-mem): Likewise.
68505         (tst-leaks1-static-ENV): New macro.
68506         * elf/dl-open.c (dl_open_worker): Check the main application
68507         only if SHARED is defined.
68508         * elf/tst-leaks1-static.c: New file.
68510 2012-10-20  Andreas Jaeger  <aj@suse.de>
68512         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
68513         generic values for Linux.
68514         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
68515         and declarations that are provided by <bits/fcntl-linux.h> and
68516         include <bits/fcntl-linux.h>.
68517         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
68518         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
68520 2012-10-20  Roland McGrath  <roland@hack.frob.com>
68522         * io/fcntl.h: Move include of <bits/types.h> to the top and
68523         include it unconditionally.
68525 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
68527         * wcsmbs/Makefile (tests-ifunc): New variable.
68528         (tests): Add $(tests-ifunc).
68529         * wcsmbs/test-wcschr-ifunc.c: New file.
68530         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
68531         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
68532         * wcsmbs/test-wcslen-ifunc.c: Likewise.
68533         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
68534         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
68536         * string/Makefile (tests-ifunc): New variable.
68537         (tests): Add $(tests-ifunc).
68538         * string/test-memccpy.c (TEST_NAME): New macro.
68539         * string/test-memchr.c (TEST_NAME): Likewise.
68540         * string/test-memcmp.c (TEST_NAME): Likewise.
68541         * string/test-memcpy.c (TEST_NAME): Likewise.
68542         * string/test-memmem.c (TEST_NAME): Likewise.
68543         * string/test-memmove.c (TEST_NAME): Likewise.
68544         * string/test-memset.c (TEST_NAME): Likewise.
68545         * string/test-rawmemchr.c (TEST_NAME): Likewise.
68546         * string/test-stpcpy.c (TEST_NAME): Likewise.
68547         * string/test-stpncpy.c (TEST_NAME): Likewise.
68548         * string/test-strcasecmp.c (TEST_NAME): Likewise.
68549         * string/test-strcasestr.c (TEST_NAME): Likewise.
68550         * string/test-strcat.c (TEST_NAME): Likewise.
68551         * string/test-strchr.c (TEST_NAME): Likewise.
68552         * string/test-strcmp.c(TEST_NAME): Likewise.
68553         * string/test-strcpy.c (TEST_NAME): Likewise.
68554         * string/test-strcspn.c (TEST_NAME): Likewise.
68555         * string/test-strlen.c (TEST_NAME): Likewise.
68556         * string/test-strncasecmp.c (TEST_NAME): Likewise.
68557         * string/test-strncmp.c (TEST_NAME): Likewise.
68558         * string/test-strncpy.c (TEST_NAME): Likewise.
68559         * string/test-strnlen.c (TEST_NAME): Likewise.
68560         * string/test-strpbrk.c (TEST_NAME): Likewise.
68561         * string/test-strrchr.c (TEST_NAME): Likewise.
68562         * string/test-strspn.c (TEST_NAME): Likewise.
68563         * string/test-strstr.c (TEST_NAME): Likewise.
68564         * string/test-bcopy-ifunc.c: New file.
68565         * string/test-bzero-ifunc.c: Likewise.
68566         * string/test-memccpy-ifunc.c: Likewise.
68567         * string/test-memchr-ifunc.c: Likewise.
68568         * string/test-memcmp-ifunc.c: Likewise.
68569         * string/test-memcpy-ifunc.c: Likewise.
68570         * string/test-memmem-ifunc.c: Likewise.
68571         * string/test-memmove-ifunc.c: Likewise.
68572         * string/test-mempcpy-ifunc.c: Likewise.
68573         * string/test-memset-ifunc.c: Likewise.
68574         * string/test-rawmemchr-ifunc.c: Likewise.
68575         * string/test-stpcpy-ifunc.c: Likewise.
68576         * string/test-stpncpy-ifunc.c: Likewise.
68577         * string/test-strcasecmp-ifunc.c: Likewise.
68578         * string/test-strcasestr-ifunc.c: Likewise.
68579         * string/test-strcat-ifunc.c: Likewise.
68580         * string/test-strchr-ifunc.c: Likewise.
68581         * string/test-strchrnul-ifunc.c: Likewise.
68582         * string/test-strcmp-ifunc.c: Likewise.
68583         * string/test-strcpy-ifunc.c: Likewise.
68584         * string/test-strcspn-ifunc.c: Likewise.
68585         * string/test-strlen-ifunc.c: Likewise.
68586         * string/test-strncasecmp-ifunc.c: Likewise.
68587         * string/test-strncat-ifunc.c: Likewise.
68588         * string/test-strncmp-ifunc.c: Likewise.
68589         * string/test-strncpy-ifunc.c: Likewise.
68590         * string/test-strnlen-ifunc.c: Likewise.
68591         * string/test-strpbrk-ifunc.c: Likewise.
68592         * string/test-strrchr-ifunc.c: Likewise.
68593         * string/test-strspn-ifunc.c: Likewise.
68594         * string/test-strstr-ifunc.c: Likewise.
68596         * debug/Makefile (tests-ifunc): New variable.
68597         (tests): Add $(tests-ifunc).
68598         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
68599         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
68600         * debug/test-stpcpy_chk-ifunc.c: New file.
68601         * debug/test-strcpy_chk-ifunc.c: Likewise.
68603 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
68605         [BZ #13601]
68606         * elf/dl-load.c (open_verify): Retry read if the entire ELF
68607         header is not read in.
68609 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
68611         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
68612         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
68613         directly.  Pass built executable to script as
68614         $(built-program-cmd).
68615         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
68616         $testprogram without using LD_LIBRARY_PATH and $ldso.
68618         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
68619         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
68620         $(rtld-installed-name).
68621         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
68622         (rtld_installed_name): Likewise.
68623         (library_path): Likewise.
68624         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
68625         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
68626         $(run-program-prefix) to tst-tables.sh.
68627         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
68628         it to run tst-table-from and tst-table-to.
68629         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
68630         Pass it to tst-table.sh.
68631         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
68632         $(run-program-prefix) to tst-gettext.sh.
68633         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
68634         tst-translit.sh.
68635         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
68636         tst-gettext2.sh.
68637         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
68638         to run tst-gettext.
68639         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
68640         to run tst-gettext2.
68641         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
68642         to run tst-translit.
68643         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
68644         $(run-program-prefix) to tst-mtrace.sh.
68645         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
68646         to run tst-mtrace.
68647         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
68648         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
68649         $(rtld-installed-name).
68650         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
68651         (rtld_installed_name): Likewise.
68652         (run_program_prefix): New variable.  Use it to run wordexp-test.
68654         * Makeconfig (ARCH): Remove all definitions.
68655         (machine): Likewise.
68656         [ARCH]: Remove conditional code.
68657         [!objdir]: Give error.
68658         [!objdir] (objpfx): Remove.
68659         [!objdir] (common-objpfx): Likewise.
68660         [!objdir] (common-objdir): Likewise.
68661         * configure.in (config_makefile): Remove.  Hardcode Makefile in
68662         AC_CONFIG_FILES call.
68663         * configure: Regenerated.
68665         [BZ #13888]
68666         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
68667         or TMPDIR.
68668         (testout): Likewise.
68670         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
68671         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
68672         $(rtld-installed-name).
68673         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
68674         (rtld_installed_name): Likewise.
68675         (runit): Remove function.
68676         (run_getconf): New variable,  Use it for running getconf binary.
68678 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
68680         [BZ #14716]
68681         * string/test-memmem.c (check_result): New function.
68682         (do_one_test): Use it.
68683         (check1): New function.
68684         (test_main): Use it.
68686 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
68688         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
68690 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
68692         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
68693         (_G_LSEEK64): Likewise.
68694         (_G_MMAP64): Likewise.
68695         (_G_FSTAT64): Likewise.
68696         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
68697         (_G_LSEEK64): Likewise.
68698         (_G_MMAP64): Likewise.
68699         (_G_FSTAT64): Likewise.
68700         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
68701         unconditional.  Call __mmap64 directly.
68702         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
68703         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
68704         __lseek64 directly.
68705         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
68706         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
68707         __mmap64 directly.
68708         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
68709         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68710         __lseek64 directly.
68711         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
68712         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
68713         __lseek64 directly.
68714         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
68715         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
68716         __lseek64 directly.
68717         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
68718         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
68719         __fxstat64 directly.
68720         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
68721         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
68722         unconditional.
68723         (freopen64) [!_G_OPEN64]: Remove conditional code.
68724         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
68725         unconditional.
68726         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
68727         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
68728         unconditional.
68729         (ftello64) [!_G_LSEEK64]: Remove conditional code.
68730         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
68731         unconditional.
68732         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68733         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
68734         unconditional.
68735         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
68736         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
68737         unconditional.
68738         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68739         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
68740         unconditional.
68741         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
68742         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
68743         unconditional.
68744         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
68746 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
68748         [BZ #12140]
68749         * manual/memory.texi (Malloc Tunable Parameters): Add note
68750         about free list pointers overwriting some perturb bytes.
68751         Wording suggested by Roland McGrath.
68753 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
68755         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
68756         (lgamma_test): Likewise.
68757         (tgamma_test): Likewise.
68759 2012-10-16  Florian Weimer  <fweimer@redhat.com>
68761         [BZ #14700]
68762         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
68763         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
68765 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
68767         * NEWS: Mention BZ #14716.
68768         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
68769         when removing AVAILABLE1_USES_J macro.
68771 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
68773         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
68774         (__bswap_64): __uint64_t for unsigned 64-bit int.
68776 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
68778         * include/string.h (memmem): Declare libc hidden alias.
68779         * string/memmem.c (memmem): Define libc hidden alias.
68780         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
68781         __read, __close instead of open, read, close.
68783 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
68785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
68786         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
68787         global and hidden.
68788         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
68789         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
68790         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
68791         Likewise.
68792         (__rawmemchr_sse2): Likewise.
68793         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
68794         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
68795         (__strchr_sse2): Likewise.
68796         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
68797         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
68798         (__strcasecmp_sse2): Likewise.
68799         (__strncasecmp_sse2): Likewise.
68800         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
68801         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
68802         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
68803         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
68804         (__strrchr_sse2): Likewise.
68805         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
68806         ifunc-impl-list.c.
68807         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
68808         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
68809         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
68810         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
68811         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
68812         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
68813         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68814         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68815         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
68816         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
68817         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
68818         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
68819         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
68820         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
68821         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
68822         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
68823         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
68824         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
68825         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
68826         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
68827         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
68828         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
68829         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
68830         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68831         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
68832         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
68833         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
68834         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68835         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
68836         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
68838         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
68839         global and hidden.
68840         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
68841         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
68842         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
68843         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
68844         Likewise.
68845         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
68846         Likewise.
68847         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
68848         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
68849         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
68850         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
68851         ifunc-impl-list.c.
68852         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
68853         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
68854         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
68855         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
68856         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
68857         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
68858         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
68859         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
68860         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
68861         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
68862         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
68863         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
68864         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
68865         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
68866         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
68867         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
68868         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
68869         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
68870         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
68871         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
68872         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
68873         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
68874         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
68875         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
68876         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
68877         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
68878         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
68879         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
68880         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
68881         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
68882         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
68883         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
68884         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
68885         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
68886         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
68887         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
68888         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
68889         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
68890         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68891         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68892         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
68894         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
68895         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
68896         * include/ifunc-impl-list.h: New file.
68897         * misc/ifunc-impl-list.c: Likewise.
68898         * misc/Makefile (routines): Add ifunc-impl-list.
68899         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
68900         * string/test-string.h: Include <ifunc-impl-list.h>.
68901         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
68902         TEST_NAME]: New variables.
68903         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
68904         are defined.
68905         (test_init): Call __libc_ifunc_impl_list to initialize
68906         func_list if TEST_IFUNC and TEST_NAME are defined.
68908         * string/Makefile (strop-tests): Add bcopy and bzero.
68909         * string/test-bcopy.c: New file.
68910         * string/test-bzero.c: Likewise.
68911         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
68912         defined.
68913         * string/test-memset.c: Support bzero test if TEST_BZERO is
68914         defined.
68915         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
68916         __libc_memmove.
68917         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
68918         __libc_memset.
68919         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
68920         of memset.
68922 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
68924         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
68925         * configure: Regenerated.
68927         * Makeconfig (+link-static-before-libc): Don't include
68928         $(link-static-libc).
68930         * libio/libio.h (_IO_pos_t): Remove.
68932 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68934         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
68935         McGrath.
68937 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68939         * crypt/crypt-entry.c: Include fips-private.h.
68940         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
68941         * crypt/md5c-test.c (main): Tolerate disabled MD5.
68942         * sysdeps/unix/sysv/linux/fips-private.h: New file.
68943         * sysdeps/generic/fips-private.h: New file, dummy fallback.
68945 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
68947         * crypt/crypt-private.h: Include stdbool.h.
68948         (_ufc_setup_salt_r): Return bool.
68949         * crypt/crypt-entry.c: Include errno.h.
68950         (__crypt_r): Return NULL with EINVAL for bad salt.
68951         * crypt/crypt_util.c (bad_for_salt): New.
68952         (_ufc_setup_salt_r): Check that salt is long enough and within
68953         the specified alphabet.
68954         * crypt/badsalttest.c: New file.
68955         * crypt/Makefile (tests): Add it.
68956         ($(objpfx)badsalttest): New.
68958 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
68960         * NEWS: Add entry for BZ #14602.
68962 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
68964         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
68965         type-generic.
68966         * math/libm-test.inc: Update comment listing what functions and
68967         macros are tested.
68968         (isgreater_test): New function.
68969         (isgreaterequal_test): Likewise.
68970         (isless_test): Likewise.
68971         (islessequal_test): Likewise.
68972         (islessgreater_test): Likewise.
68973         (isunordered_test): Likewise.
68974         (main): Call the new functions.
68976 2012-10-09  Roland McGrath  <roland@hack.frob.com>
68978         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
68979         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
68980         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
68981         * sysdeps/i386/configure: Regenerated.
68982         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
68983         * sysdeps/mach/configure: Regenerated.
68984         * sysdeps/mach/hurd/configure: Regenerated.
68985         * sysdeps/powerpc/configure: Regenerated.
68986         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68987         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68988         * sysdeps/s390/s390-32/configure: Regenerated.
68989         * sysdeps/s390/s390-64/configure: Regenerated.
68990         * sysdeps/sh/configure: Regenerated.
68991         * sysdeps/sparc/configure: Regenerated.
68992         * sysdeps/unix/sysv/linux/configure: Regenerated.
68993         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
68994         * sysdeps/x86_64/configure: Regenerated.
68996         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
68997         defined.  Don't check if MAP is NULL.
68999 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
69001         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
69002         (_G_stat64): Likewise.
69003         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
69004         (_G_stat64): Likewise.
69005         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
69006         instead of struct _G_stat64.
69007         * libio/fileops.c (mmap_remap_check): Likewise.
69008         (decide_maybe_mmap): Likewise.
69009         (_IO_new_file_seekoff): Likewise.
69010         (_IO_file_stat): Likewise.
69011         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
69012         _G_off64_t.
69013         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
69014         instead of struct _G_stat64.
69015         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69017 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
69019         [BZ #14602]
69020         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69021         Replace with ...
69022         (CHECK_EOL): New macro.
69023         (two_way_short_needle): Check beginning of haystack for EOL.  Use
69024         CHECK_EOL.
69025         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69026         Replace with CHECK_EOL.
69027         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
69028         Replace with CHECK_EOL.
69030 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
69032         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
69033         type-generic.
69034         * math/libm-test.inc: Update comment listing what functions and
69035         macros are tested.
69036         (finite_test): New function.
69037         (isinf_test): Likewise.
69038         (isnan_test): Likewise.
69039         (fpclassify_test): Test subnormal input.
69040         (isfinite_test): Likewise.
69041         (isnormal_test): Likewise.
69042         (main): Call the new functions.
69044 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
69046         [BZ #14660]
69047         * Makerules (%.dynsym): Force C locale when running
69048         $(OBJDUMP) --dynamic-syms.
69050 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
69052         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
69053         <stdint.h>.
69055 2012-10-06  David S. Miller  <davem@davemloft.net>
69057         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
69058         upper 32-bits of the length value in %o2 since we use branch-on-register
69059         tests which consider the entire 64-bit register.
69061 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
69063         * string/test-strstr.c (check2): Add a test for page boundary.
69065 2012-10-05  David S. Miller  <davem@davemloft.net>
69067         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
69068         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
69069         file.
69070         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69071         sysdep_routines.
69072         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69073         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
69074         and bzero when HWCAP_SPARC_CRYPTO is present.
69076 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
69078         [BZ #14602]
69079         * string/test-strstr.c (check2): New function.
69080         (test_main): Call check2.
69082         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
69083         and bug-strchr1.
69084         * string/bug-strcasestr1.c (do_test): Moved to ...
69085         * string/test-strcasestr.c (check1): Here.  New function.
69086         (do_one_test): Break out result checking code into ...
69087         (check_result): This.  New function.
69088         (do_one_test): Call check_result.
69089         (test_main): Call check1.
69090         * string/bug-strchr1.c (do_test): Moved to ...
69091         * string/test-strchr.c (check1): Here.  New function.
69092         (do_one_test): Break out result checking code into ...
69093         (check_result): This.  New function.
69094         (do_one_test): Call check_result.
69095         (test_main): Call check1.
69096         * string/bug-strstr1.c (main): Moved to ...
69097         * string/test-strstr.c (check1): Here.  New function.
69098         (do_one_test): Break out result checking code into ...
69099         (check_result): This.  New function.
69100         (do_one_test): Call check_result.
69101         (test_main): Call check1.
69102         * string/bug-strcasestr1.c: Removed.
69103         * string/bug-strchr1.c: Likewise.
69104         * string/bug-strstr1.c: Likewise.
69106         * elf/Makefile (dl-routines): Add hwcaps.
69107         * elf/dl-support.c (_dl_important_hwcaps): Removed.
69108         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
69109         (_dl_important_hwcaps): Moved to ...
69110         * elf/dl-hwcaps.c: Here.  New file.
69111         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
69113         [BZ #14557]
69114         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
69115         if IS_IN_rtld isn't defined.
69117         * elf/dl-support.c (_dl_sysinfo_map): New.
69118         Include "get-dynamic-info.h" and "setup-vdso.h".
69119         (_dl_non_dynamic_init): Call setup_vdso.
69120         * elf/dynamic-link.h: Don't include <assert.h>.
69121         (elf_get_dynamic_info): Moved to ...
69122         * elf/get-dynamic-info.h: Here.  New file.
69123         * elf/dynamic-link.h: Include "get-dynamic-info.h".
69124         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
69125         * elf/setup-vdso.h: Here.  New file.
69126         * elf/rtld.c: Include "setup-vdso.h".
69127         (dl_main): Call setup_vdso.
69129 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
69131         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
69132         creal in comment listing functions tested.  List finite, isinf,
69133         isnan, isless, islessequal, isgreater, isgreaterequal,
69134         islessgreater, isunordered, lgamma_r and pow10 as functions and
69135         macros not tested.  Mention which functions not tested are aliases
69136         for other functions.  Fix typo.  Note that signs of NaNs are not
69137         tested.
69139         * scripts/config.guess: Update from config.git.
69140         * scripts/config.sub: Likewise.
69142 2012-10-04  Roland McGrath  <roland@hack.frob.com>
69144         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
69145         * misc/madvise.c (madvise): Renamed to __madvise.
69146         Make madvise a weak alias.
69147         * include/sys/mman.h: Declare __madvise.
69148         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
69149         * sysdeps/unix/syscalls.list
69150         (madvise): Make __madvise the strong name, and madvise a weak alias.
69151         * sysdeps/unix/sysv/linux/syscalls.list
69152         (madvise, mmap): Remove redundant entries.
69153         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
69154         * malloc/malloc.c (mtrim): Likewise.
69155         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
69157 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69159         * sysdeps/mach/hurd/dl-cache.c: File removed.
69160         * config.h.in (USE_LDCONFIG): New #undef.
69161         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
69162         * configure: Regenerated.
69163         * elf/Makefile (dl-routines): Add dl-cache only under
69164         [$(use-ldconfig) = yes].
69165         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
69166         cache on [USE_LDCONFIG].
69167         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
69168         [USE_LDCONFIG].
69169         * elf/rtld.c (dl_main): Likewise.
69171 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
69173         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
69174         _SC_LEVEL4_CACHE_LINESIZE.
69176 2012-10-03  Roland McGrath  <roland@hack.frob.com>
69178         * sysdeps/unix/bsd/confstr.h: File removed.
69180 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
69182         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
69183         sys/sdt-config.h.
69185 2012-10-02  Roland McGrath  <roland@hack.frob.com>
69187         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
69188         Make 'mapoff' field ElfW(Off) rather than off_t.
69190 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
69192         * nscd/Makefile: Remove nscd-cflags and all its users.
69193         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
69194         (CFLAGS-nonlib): Add compiler flags for nscd modules.
69196         [BZ #10631]
69197         * malloc.c (malloc_printerr): Clarify error message.
69199 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
69201         [BZ #14648]
69202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69203         Set bit_FMA_Usable if FMA is supported.
69204         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
69205         macro.
69206         (bit_FMA4_Usable): Updated.
69207         (index_FMA_Usable): New macro.
69208         (CPUID_FMA): Likewise.
69209         (HAS_FMA): Defined with bit_FMA_Usable.
69211 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69213         * bits/types.h (__swblk_t): Type removed.
69214         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
69215         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
69216         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
69217         (__SWBLK_T_TYPE): Likewise.
69218         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
69219         (__SWBLK_T_TYPE): Likewise.
69220         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
69221         (__SWBLK_T_TYPE): Likewise.
69222         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
69223         (__SWBLK_T_TYPE): Likewise.
69225 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
69226             Honza Horak <hhorak@redhat.com>
69228         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
69229         (xdr_mapname): Use YPMAXMAP as maxsize.
69230         (xdr_peername): Use YPMAXPEER as maxsize.
69231         (xdr_keydat): Use YPAXRECORD as maxsize.
69232         (xdr_valdat): Use YPMAXRECORD as maxsize.
69234 2012-10-01  Roland McGrath  <roland@hack.frob.com>
69236         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
69238         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
69239         * csu/init-first.c: ... here.
69240         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
69241         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
69242         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
69243         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
69244         * sysdeps/i386/init-first.c: File removed.
69245         * sysdeps/sh/init-first.c: File removed.
69247 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
69249         [BZ #14645]
69250         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
69251         if x * y might underflow to zero and z is zero.
69252         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69253         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69254         * math/libm-test.inc (min_subnorm_value): New variable.
69255         (fma_test): Add more tests.
69256         (fma_test_towardzero): Likewise.
69257         (fma_test_downward): Likewise.
69258         (fma_test_upward): Likewise.
69259         (initialize): Set min_subnorm_value.
69261 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
69263         [BZ #14638]
69264         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
69265         0 + 0.
69266         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
69267         mode for addition resulting in exact zero.
69268         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
69269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
69270         exact 0 + 0.
69271         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69272         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69273         * math/libm-test.inc (fma_test): Add more tests.
69274         (fma_test_towardzero): New function.
69275         (fma_test_downward): Likewise.
69276         (fma_test_upward): Likewise.
69277         (main): Call the new functions.
69279 2012-09-28  David S. Miller  <davem@davemloft.net>
69281         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
69283 2012-09-28  Roland McGrath  <roland@hack.frob.com>
69285         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
69286         instead of SIGALRM.
69288         * sysdeps/gnu/_G_config.h: Moved to ...
69289         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
69290         * sysdeps/mach/hurd/_G_config.h: Moved to ...
69291         * sysdeps/generic/_G_config.h: ... here.
69293         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
69295         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
69297         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
69298         Conditionalize target on [libnss_test1.so-version].
69300         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
69302         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
69303         (elfobjdir): Move out of conditionals.
69305         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
69306         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
69307         (__nss_lookup_function): Conditionalize label remove_from_tree on
69308         [!DO_STATIC_NSS || SHARED], matching its only use.
69310 2012-09-28  David S. Miller  <davem@davemloft.net>
69312         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
69313         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
69314         file.
69315         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
69316         sysdep_routines.
69317         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
69318         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
69319         when HWCAP_SPARC_CRYPTO is present.
69321 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69323         * io/tst-mknodat.c: Create a FIFO instead of a socket.
69325 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
69327         [BZ #6530]
69328         * stdio-common/vfprintf.c (process_string_arg): Revert
69329         2000-07-22 change.
69331 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
69333         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
69334         for testcase.
69335         * stdio-common/tst-sprintf.c: Include <locale.h>
69336         (main): Test sprintf's handling of incomplete multibyte
69337         characters.
69339 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
69341         * elf/dl-runtime.c (VERSYMIDX): Removed.
69342         * elf/dl-version.c (VERSYMIDX): Likewise.
69343         * elf/do-rel.h (VERSYMIDX): Likewise.
69344         (VALIDX): Likewise.
69345         * elf/dynamic-link.h (VERSYMIDX): Likewise.
69346         * elf/rtld.c (VALIDX): Likewise.
69347         (ADDRIDX): Likewise.
69348         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
69349         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
69350         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
69351         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
69352         (VALIDX): Likewise.
69353         (ADDRIDX): Likewise.
69355 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69357         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
69359 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
69361         [BZ #11438]
69362         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
69363         to global scope.
69364         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
69365         addresses are in the same scope as 192.0.2/24.
69366         * posix/gai.conf: Document new scope table defaults.
69368 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69370         [BZ #5298]
69371         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
69372         for ftell.  Compute offsets from write pointers instead.
69373         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
69375 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69377         [BZ #14543]
69378         * libio/Makefile (tests): New test case tst-fseek.
69379         * libio/tst-fseek.c: New test case to verify that fseek/ftell
69380         combination works in wide mode.
69381         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
69382         state when the external buffer state changes.
69384 2012-09-27  David S. Miller  <davem@davemloft.net>
69386         [BZ #14376]
69387         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
69388         pass reloc->r_addend in as the 'high' argument to
69389         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
69391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69393 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
69395         * rt/tst-aio2.c: Include <pthread.h>.
69396         * rt/tst-aio3.c: Likewise.
69398 2012-09-27  Steve Ellcey  <sellcey@mips.com>
69400         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
69402 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
69404         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
69405         contents on [SHARED].
69407 2012-09-26  Marek Polacek  <polacek@redhat.com>
69409         [BZ #14530]
69410         [BZ #13741]
69411         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
69412         for C++ and GCC <4.3 as well as for non GCC compilers.
69414 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
69416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69418 2012-09-25  Roland McGrath  <roland@hack.frob.com>
69420         * Makefile.in (all, install): Declare with .PHONY.
69421         Reported by Michael Hope <michael.hope@linaro.org>.
69423 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69425         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
69426         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
69427         system header.
69428         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
69429         Likewise.
69430         (sydep_routines): Add the new and the internal functions.
69431         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
69432         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
69433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
69434         (GLIBC_2.17): Add the new function.
69435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69436         (GLIBC_2.17): Likewise.
69437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
69438         (GLIBC_2.17): Likewise.
69439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
69440         (GLIBC_2.17): Likewise.
69441         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
69443 2012-09-25  Alan Modra  <amodra@gmail.com>
69445         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
69446         Add release barrier before setting once_control to say
69447         initialisation is done.  Add hints on lwarx.  Use macro in
69448         place of isync.
69449         (clear_once_control): Add release barrier.
69451 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69453         [BZ #13629]
69454         * math/s_clog.c (__clog): Handle more values close to |z| = 1
69455         specially.
69456         * math/s_clog10.c (__clog10): Likewise.
69457         * math/s_clog10f.c (__clog10f): Likewise.
69458         * math/s_clog10l.c (__clog10l): Likewise.
69459         * math/s_clogf.c (__clogf): Likewise.
69460         * math/s_clogl.c (__clogl): Likewise.
69461         * math/Makefile (libm-calls): Add x2y2m1.
69462         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
69463         (__x2y2m1): Likewise.
69464         (__x2y2m1l): Likewise.
69465         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
69466         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
69467         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
69468         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
69469         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
69470         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
69471         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
69472         * sysdeps/i386/fpu/libm-test-ulps: Update.
69473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69475         [BZ #14621]
69476         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
69477         int as type of variable DEPTH.
69478         (glob): Use size_t instead of int as type of variables NEWCOUNT
69479         and OLD_PATHC.
69481 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69483         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
69484         Add s_sincosf-sse2.
69485         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
69486         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
69487         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
69488         macros for using routine as __sincosf_ia32.
69489         Use macro for function declaration and weak_alias.
69490         * sysdeps/i386/fpu/libm-test-ulps: Update.
69492         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
69493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69495         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
69496         subnormal argument.
69497         * math/s_cexpf.c (__cexpf): Likewise.
69498         * math/s_csinf.c (__csinf): Likewise.
69499         * math/s_csinhf.c (__csinhf): Likewise.
69500         * math/s_ctanf.c (__ctanf): Likewise.
69501         * math/s_ctanhf.c (__ctanhf): Likewise.
69502         * math/s_ccosh.c (__ccoshf): Likewise.
69503         * math/s_cexp.c (__cexpl): Likewise.
69504         * math/s_csin.c (__csin): Likewise.
69505         * math/s_csinh.c (__csinh): Likewise.
69506         * math/s_ctan.c (__ctan): Likewise.
69507         * math/s_ctanh.c (ctanh): Likewise.
69508         * math/s_ccoshl.c (__ccoshl): Likewise.
69509         * math/s_cexpl.c (__cexpl): Likewise.
69510         * math/s_csinl.c (__csinl): Likewise.
69511         * math/s_csinhl.c (__csinhl): Likewise.
69512         * math/s_ctanl.c (__ctanl): Likewise.
69513         * math/s_ctanhl.c (__ctanhl): Likewise.
69515 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
69517         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
69518         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
69519         (_IO_off_t): Define to __off_t, not _G_off_t.
69520         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
69521         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
69522         (_IO_wint_t): Define to wint_t, not _G_wint_t.
69523         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
69524         type of __dummy and __dummy2 fields.
69525         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
69526         (_G_ssize_t): Likewise.
69527         (_G_off_t): Likewise.
69528         (_G_pid_t): Likewise.
69529         (_G_uid_t): Likewise.
69530         (_G_wchar_t): Likewise.
69531         (_G_wint_t): Likewise.
69532         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
69533         (_G_ssize_t): Likewise.
69534         (_G_off_t): Likewise.
69535         (_G_pid_t): Likewise.
69536         (_G_uid_t): Likewise.
69537         (_G_wchar_t): Likewise.
69538         (_G_wint_t): Likewise.
69539         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
69540         (_G_ssize_t): Likewise.
69541         (_G_off_t): Likewise.
69542         (_G_pid_t): Likewise.
69543         (_G_uid_t): Likewise.
69544         (_G_wchar_t): Likewise.
69545         (_G_wint_t): Likewise.
69547 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69549         * malloc/arena.c: Include malloc-sysdep.h.
69550         (shrink_heap): Use check_may_shrink_heap to decide if madvise
69551         is sufficient to shrink the heap or an unmap is needed.
69552         * sysdeps/generic/malloc-sysdep.h: New file.  Define
69553         new function check_may_shrink_heap.
69554         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
69555         new function check_may_shrink_heap.
69557 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69559         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
69560         comments.
69562 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
69564         * catgets/test-gencat.sh: Add "set -e".
69565         * elf/tst-pathopt.sh: Likewise.
69566         * grp/tst_fgetgrent.sh: Likewise.
69567         * iconvdata/run-iconv-test.sh: Likewise.
69568         * intl/tst-gettext.sh: Likewise.
69569         * intl/tst-gettext2.sh: Likewise.
69570         * intl/tst-gettext4.sh: Likewise.
69571         * intl/tst-gettext6.sh: Likewise.
69572         * intl/tst-translit.sh: Likewise.
69573         * io/ftwtest-sh: Likewise.
69574         * libio/test-freopen.sh: Likewise.
69575         * malloc/tst-mtrace.sh: Likewise.
69576         * posix/globtest.sh: Likewise.
69577         * posix/tst-getconf.sh: Likewise.
69578         * posix/wordexp-tst.sh: Likewise.
69579         * stdio-common/tst-printf.sh: Likewise.
69580         * stdio-common/tst-unbputc.sh: Likewise.
69581         * stdlib/tst-fmtmsg.sh: Likewise.
69582         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69583         * catgets/Makefile: Do not specify -e option when running
69584         testsuite shell scripts.
69585         * elf/Makefile: Likewise.
69586         * grp/Makefile: Likewise.
69587         * iconvdata/Makefile: Likewise.
69588         * intl/Makefile: Likewise.
69589         * io/Makefile: Likewise.
69590         * libio/Makefile: Likewise.
69591         * malloc/Makefile: Likewise.
69592         * posix/Makefile: Likewise.
69593         * stdio-common/Makefile: Likewise.
69594         * stdlib/Makefile: Likewise.
69595         * sysdeps/x86_64/Makefile: Likewise.
69597         * io/ftwtest-sh: Add copyright header.
69598         * posix/globtest.sh: Likewise.
69599         * posix/tst-getconf.sh: Likewise.
69600         * posix/wordexp-tst.sh: Likewise.
69601         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
69603 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
69605         [BZ #13679]
69606         * Makeconfig (+link): Defined as $(+link-static) if
69607         $(build-shared) isn't yes.
69608         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
69609         isn't yes.
69610         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
69612         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
69614         [BZ #14562]
69615         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
69616         new chunk size with MALLOC_ALIGN_MASK.
69618 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
69620         [BZ #5044]
69621         * stdio-common/printf_fphex.c: Include <stdbool.h> and
69622         <rounding-mode.h>.
69623         (__printf_fphex): Determine rounding using get_rounding_mode and
69624         round_away.
69625         * stdio-common/tst-printf-round.c (struct hex_test): New
69626         structure.
69627         (hex_tests): New variable.
69628         (test_hex_in_one_mode): New function.
69629         (do_test): Also run tests for hex float output.
69631 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
69633         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69634         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69635         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
69636         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
69637         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
69638         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
69639         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69640         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
69642 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
69644         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
69645         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
69646         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
69647         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
69649 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
69651         [BZ #14579]
69652         * elf/rtld.c (dl_main): Limit the check for self loading to normal
69653         mode only.
69654         * elf/tst-rtld-load-self.sh: New test.
69655         * elf/Makefile: Run it.
69657 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
69659         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
69660         (tst-writev-ENV): Remove.
69661         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
69663 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
69665         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
69667 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
69669         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
69670         unconditional.
69671         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
69672         Likewise.
69673         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
69674         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
69675         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
69676         Likewise.
69678 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
69680         [BZ #14587]
69681         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
69682         * config.make.in (have-cpp-asm-debuginfo): Removed.
69683         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
69684         * configure: Regenerated.
69686 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
69688         [BZ #5044]
69689         * stdio-common/printf_fp.c: Include <stdbool.h> and
69690         <rounding-mode.h>.
69691         (___printf_fp): Determine rounding using get_rounding_mode and
69692         round_away.
69693         * stdio-common/tst-printf-round.c: New file.
69694         * stdio-common/Makefile (tests): Add tst-printf-round.
69695         (link-libm): New variable.
69696         ($(objpfx)tst-printf-round): Depend in $(link-libm).
69698 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
69700         [BZ #14576]
69701         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
69702         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
69703         Likewise.
69704         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
69705         Likewise.
69707 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
69709         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
69710         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69711         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69712         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
69714 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
69716         [BZ #14518]
69717         * include/rounding-mode.h: New file.
69718         * sysdeps/generic/get-rounding-mode.h: Likewise.
69719         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
69720         * stdlib/strtod_l.c: Include <rounding-mode.h>.
69721         (MAX_VALUE): New macro.
69722         (MIN_VALUE): Likewise.
69723         (overflow_value): New function.
69724         (underflow_value): Likewise.
69725         (round_and_return): Use overflow_value and underflow_value to
69726         determine return values in overflow and underflow cases.  Use
69727         round_away to determine rounding depending on rounding mode.
69728         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
69729         determine return values in overflow and underflow cases.
69730         * stdlib/tst-strtod-round.c: Include <fenv.h>.
69731         (struct test_results): New structure.
69732         (struct test): Use struct test_results to store expected results
69733         for all rounding modes.
69734         (TEST): Include expected results for all rounding modes.
69735         (test_in_one_mode): New function.
69736         (do_test): Use test_in_one_mode to compute and check results.
69737         Check results for all rounding modes.
69738         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
69739         $(link-libm).
69741 2012-12-09  Allan McRae  <allan@archlinux.org>
69743         * sysdeps/i386/fpu/libm-test-ulps: Update
69745 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
69747         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
69748         (_G_int32_t): Likewise.
69749         (_G_uint16_t): Likewise.
69750         (_G_uint32_t): Likewise.
69751         (_G_HAVE_BOOL): Likewise.
69752         (_G_HAVE_ATEXIT): Likewise.
69753         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69754         (_G_HAVE_IO_FILE_OPEN): Likewise.
69755         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
69756         (_G_int32_t): Likewise.
69757         (_G_uint16_t): Likewise.
69758         (_G_uint32_t): Likewise.
69759         (_G_HAVE_BOOL): Likewise.
69760         (_G_HAVE_ATEXIT): Likewise.
69761         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69762         (_G_HAVE_IO_FILE_OPEN): Likewise.
69763         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
69764         (_G_int32_t): Likewise.
69765         (_G_uint16_t): Likewise.
69766         (_G_uint32_t): Likewise.
69767         (_G_HAVE_BOOL): Likewise.
69768         (_G_HAVE_ATEXIT): Likewise.
69769         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
69770         (_G_HAVE_IO_FILE_OPEN): Likewise.
69772 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
69774         * csu/libc-tls.c: Update copyright years.
69776 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
69778         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
69779         [!_G_USING_THUNKS]: Remove conditional code.
69780         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
69781         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
69783         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
69784         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
69785         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69786         (_G_VTABLE_LABEL_PREFIX): Likewise.
69787         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69788         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69789         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69790         (_G_VTABLE_LABEL_PREFIX): Likewise.
69791         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69792         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
69793         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
69794         (_G_VTABLE_LABEL_PREFIX): Likewise.
69795         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
69797 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
69799         * libio/Makefile: Include ../Makeconfig before tests.
69800         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
69801         only if $(build-shared) is yes.
69803         * iconv/gconv_db.c: Update copyright years.
69805 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69807         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
69808         unwind info if defined PIC. Fix special cases description.
69809         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
69811         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
69812         DP_HI_MASK entry.
69813         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
69815 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
69817         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
69819         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
69820         is NULL.
69822         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
69823         (LDLIBS-tst-chk4): This.
69824         (LDFLAGS-tst-chk5): Renamed to ...
69825         (LDLIBS-tst-chk5): This.
69826         (LDFLAGS-tst-chk6): Renamed to ...
69827         (LDLIBS-tst-chk6): This.
69828         (LDFLAGS-tst-lfschk4): Renamed to ...
69829         (LDLIBS-tst-lfschk4): This.
69830         (LDFLAGS-tst-lfschk5): Renamed to ...
69831         (LDLIBS-tst-lfschk5): This.
69832         (LDFLAGS-tst-lfschk6): Renamed to ...
69833         (LDLIBS-tst-lfschk6): This.
69835         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
69836         on $(common-objpfx)soversions.mk.
69838 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
69840         [BZ #10014]
69841         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
69842         example host name.
69844 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69846         * malloc/arena.c (arena_get_retry): New function that gets
69847         another arena for the caller to try its request on.
69848         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
69849         current arena cannot fulfill the request.
69850         (__libc_memalign): Likewise.
69851         (__libc_memalign): Likewise.
69852         (__libc_pvalloc): Likewise.
69853         (__libc_calloc): Likewise.
69855 2012-09-05  John Tobey  <john.tobey@gmail.com>
69857         [BZ #13542]
69858         * manual/arith.texi (Operations on Complex): Fix description
69859         of carg branch cut.
69861 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69863         [BZ #10014]
69864         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
69865         host name.
69867         [BZ #10038]
69868         * manual/memory.texi (Memory): Make order of menu items match
69869         order of sections.
69871 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69873         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
69874         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
69875         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
69877 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69879         * csu/libc-tls.c (static_dtv): Renamed to ...
69880         (_dl_static_dtv): This.  Make it global.
69881         (_dl_initial_dtv): Removed.
69882         (__libc_setup_tls): Updated.
69883         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
69884         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
69885         DL_INITIAL_DTV.
69887 2012-09-06  Petr Machata  <pmachata@redhat.com>
69889         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
69890         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
69891         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
69892         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
69894 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69896         [BZ #14545]
69897         * csu/libc-tls.c (_dl_initial_dtv): New variable.
69898         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
69899         freeing dtv[-1].
69901 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
69903         [BZ #14544]
69904         * Makeconfig (link-static-before-libc): Replace $(+prector)
69905         with $(+prectorT).
69906         (link-static-after-libc): Replace $(+postctor) with
69907         $(+postctorT).
69908         (link-bounded): Replace $(+prector)/$(+postctor) with
69909         $(+prectorT)/$(+postctorT).
69910         (+prectorT): New macro.
69911         (+postctorT): Likewise.
69913 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
69915         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
69916         (round_str): Handle values above the maximum for IBM long double
69917         as inexact.
69918         * stdlib/tst-strtod-round.c (tests): Regenerated.
69920 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69922         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
69923         assembler flag.
69924         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
69925         zarch_nohighgprs around the zarch optimized routines.
69926         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
69927         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
69928         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
69929         for zarch.
69931 2012-09-05  David S. Miller  <davem@davemloft.net>
69933         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69935         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
69936         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
69937         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
69938         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69939         entries.
69941 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69943         * malloc/arena.c: Fold copyright years.
69944         * malloc/mcheck.c, malloc/memusage.c: Likewise.
69946 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69948         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
69950 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69952         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
69954 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69956         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
69957         change internal state upon failure.
69959 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
69961         * malloc/mcheck.c (mcheck_check_all): Fix typo.
69962         * malloc/memusage.c (mmap): Likewise.
69963         (mmap64, mremap): Likewise.  Adjust name in comment.
69965 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69967         * libio/fileops.c: Fix typos in comments.
69968         * libio/oldfileops.c: Likewise.
69969         * libio/wfileops.c: Likewise.
69971 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
69973         [BZ #1349]
69974         * malloc/Makefile (tests): Add tst-malloc-usable test case.
69975         (tst-malloc-usable-ENV): Set environment for test case.
69976         * malloc/hooks.c (malloc_check_get_size): New function to get
69977         requested size.
69978         * malloc/malloc.c (musable): Use malloc_check_get_size.
69979         * malloc/tst-malloc-usable.c: New test case.
69981 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69983         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
69985 2012-09-05  Allan McRae  <allan@archlinux.org>
69987         [BZ #13966]
69988         * configure.in (CXX_SYSINCLUDES): Use compiler output to
69989         determine header location.
69990         * configure: Regenerated.
69992 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
69994         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
69995         float format.
69996         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
69997         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
69998         format.
69999         (test): Regenerate.
70001 2012-09-04  David S. Miller  <davem@davemloft.net>
70003         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
70004         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
70005         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
70007 2012-09-04  Florian Weimer  <fweimer@redhat.com>
70009         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
70010         failures.
70012         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
70014 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
70016         [BZ #9914]
70017         * libio/iogetdelim.c: Include <limits.h>.
70018         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
70019         + len + 1 would overflow.
70021 2012-09-03  Andreas Jaeger  <aj@suse.de>
70023         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70024         * sysdeps/i386/fpu/libm-test-ulps: Update.
70026 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70028         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
70029         Add s_sinf-sse2, s_conf-sse2.
70031         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
70032         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
70033         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
70034         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
70036         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
70037         for using routine as __sinf_ia32.
70038         Use macro for function declaration and weak_alias.
70039         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
70040         for using routine as __cosf_ia32.
70041         Use macro for function declaration and weak_alias.
70043         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
70044         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
70046         * sysdeps/x86_64/fpu/s_sinf.S: New file.
70047         * sysdeps/x86_64/fpu/s_cosf.S: New file.
70048         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70050         * math/libm-test.inc (cos_test): Add more test cases.
70051         (sin_test): Likewise.
70052         (sincos_test): Likewise.
70054 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70056         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
70057         (IFUNC_RESOLVE): Make pointers to the specialized implementations
70058         hidden.
70059         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70061 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
70063         [BZ #14538]
70064         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
70065         first element of the GOT.
70066         (elf_machine_load_address): Return the difference between
70067         the runtime address of _DYNAMIC and elf_machine_dynamic ().
70069 2012-09-01  Allan McRae  <allan@archlinux.org>
70071         [BZ #13412]
70072         * configure.in (AWK): Require gawk version 3.0 or later.
70073         * configure: Regenerated.
70075 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
70077         * sysdeps/unix/sysv/linux/kernel-features.h
70078         (__ASSUME_POSIX_CPU_TIMERS): Remove.
70079         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70080         [__NR_clock_getres]: Make code unconditional.
70081         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
70082         (clock_getcpuclockid): Remove code left unreachable by removal of
70083         conditionals.
70084         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
70085         code unconditional.
70086         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70087         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70088         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
70089         Make code unconditional.
70090         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
70091         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70092         * sysdeps/unix/sysv/linux/clock_settime.c
70093         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
70094         conditional code.
70095         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
70096         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
70098 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
70100         [BZ #14476]
70101         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
70102         scripts/test-installation.pl.
70104         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
70105         and $ld_so_version if it is set.
70107 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70109         [BZ #14516]
70110         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
70111         failure if reading from procfs failed.
70112         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
70114 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70116         * sysdeps/unix/sysv/linux/kernel-features.h
70117         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
70118         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70119         Remove conditional code.
70120         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70121         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
70122         Remove conditional code.
70123         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70124         * sysdeps/unix/sysv/linux/i386/fxstat.c
70125         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70126         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70127         * sysdeps/unix/sysv/linux/i386/fxstatat.c
70128         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70129         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70130         * sysdeps/unix/sysv/linux/i386/lxstat.c
70131         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
70132         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70133         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
70134         Remove conditional code.
70135         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70136         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
70137         Remove conditional code.
70138         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70139         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
70140         <kernel-features.h>.
70141         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
70142         Remove.
70143         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
70144         Remove conditional code.
70145         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
70146         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
70147         Remove conditional.
70149 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
70151         [BZ #5400]
70152         * NEWS: Add fixed bug number.
70154 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
70156         [BZ #14519]
70157         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
70158         underflowing exponent in case of negative sign.
70159         * stdlib/tst-strtod-round-data: Add more tests.
70160         * stdlib/tst-strtod-round.c (tests): Regenerated.
70162         [BZ #3479]
70163         * stdlib/strtod_l.c (NDIG): Remove.
70164         (HEXNDIG): Likewise.
70165         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
70166         smallest representable value.
70167         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
70168         lie within an exact representation of 1/2 ulp of the result.
70169         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
70170         unconditionally.
70171         (TENS_P9_IDX): Define unconditionally.
70172         (TENS_P9_SIZE): Likewise.
70173         (TENS_P10_IDX): Likewise.
70174         (TENS_P10_SIZE): Likewise.
70175         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
70176         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
70177         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
70178         entries for 10^2^13 and 10^2^14.
70179         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
70180         (TENS_P13_IDX): Define.
70181         (TENS_P13_SIZE): Likewise.
70182         (TENS_P14_IDX): Likewise.
70183         (TENS_P14_SIZE): Likewise.
70184         (_fpioconst_pow10): Change array size to
70185         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
70186         unconditional.
70187         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
70188         1024]: Add entries for 10^2^13 and 10^2^14.
70189         [LAST_POW10 > _LAST_POW10]: Remove #error.
70190         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
70191         (_fpioconst_pow10): Change array size to
70192         FPIOCONST_POW10_ARRAY_SIZE.
70193         * stdlib/gen-fpioconst.c: New file.
70194         * stdlib/gen-tst-strtod-round.c: Likewise.
70195         * stdlib/tst-strtod-round-data: Likewise.
70196         * stdlib/tst-strtod-round.c: Likewise.
70197         * stdlib/Makefile (tests): Add tst-strtod-round.
70199         [BZ #14459]
70200         * stdlib/strtod_l.c: Include <stdint.h>.
70201         (NDEBUG): Do not define.
70202         (round_and_return): Change EXPONENT parameter to type intmax_t.
70203         Rearrange calculations to avoid internal overflow possibilities.
70204         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
70205         Rearrange calculations to avoid internal overflow possibilities.
70206         Assert that number fits inside MPNSIZE limbs.
70207         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
70208         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
70209         calculations and add assertions to avoid internal overflow
70210         possibilities.  Add casts to avoid signed/unsigned operations.
70211         * stdlib/tst-strtod-overflow.c: New file.
70212         * stdlib/Makefile (tests): Add tst-strtod-overflow.
70214 2012-08-25  Marek Polacek  <polacek@redhat.com>
70216         * time/time.h: Fix some typos in comments.
70218 2012-08-23  Roland McGrath  <roland@hack.frob.com>
70220         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
70221         * posix/tst-rfc3484-2.c: Likewise.
70222         * posix/tst-rfc3484-3.c: Likewise.
70224 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
70226         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
70227         (EF_ARM_ABI_FLOAT_HARD): Likewise.
70229 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
70231         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
70232         #include of fxstatat64.c.
70234 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70236         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
70237         * shadow/getspent_r.c: Likewise.
70238         * shadow/getspnam.c: Likewise.
70239         * shadow/getspnam_r.c: Likewise.
70240         * gshadow/getsgent.c: Likewise.
70241         * gshadow/getsgent_r.c: Likewise.
70242         * gshadow/getsgnam.c: Likewise.
70243         * gshadow/getsgnam_r.c: Likewise.
70244         * inet/getnetbyad.c: Likewise.
70245         * inet/getnetbyad_r.c: Likewise.
70246         * inet/getnetbynm.c: Likewise.
70247         * inet/getnetbynm_r.c: Likewise.
70248         * inet/getnetent.c: Likewise.
70249         * inet/getnetent_r.c: Likewise.
70250         * inet/getproto.c: Likewise.
70251         * inet/getproto_r.c: Likewise.
70252         * inet/getprtent.c: Likewise.
70253         * inet/getprtent_r.c: Likewise.
70254         * inet/getprtname.c: Likewise.
70255         * inet/getprtname_r.c: Likewise.
70256         * inet/getrpcbyname.c: Likewise.
70257         * inet/getrpcbyname_r.c: Likewise.
70258         * inet/getrpcbynumber.c: Likewise.
70259         * inet/getrpcbynumber_r.c: Likewise.
70260         * inet/getrpcent.c: Likewise.
70261         * inet/getrpcent_r.c: Likewise.
70262         * inet/getaliasent.c: Likewise.
70263         * inet/getaliasent_r.c: Likewise.
70264         * inet/getaliasname.c: Likewise.
70265         * inet/getaliasname_r.c: Likewise.
70266         * nscd/getgrgid_r.c: Likewise.
70267         * nscd/getgrnam_r.c: Likewise.
70268         * nscd/gethstbyad_r.c: Likewise.
70269         * nscd/gethstbynm3_r.c: Likewise.
70270         * nscd/getpwnam_r.c: Likewise.
70271         * nscd/getpwuid_r.c: Likewise.
70272         * nscd/getsrvbynm_r.c: Likewise.
70273         * nscd/getsrvbypt_r.c: Likewise.
70274         * nscd/gai.c: Likewise.
70276         * configure.in (build_nscd): New substituted variable, set
70277         by --disable-build-nscd and defaults to $use_nscd.
70278         * configure: Regenerated.
70279         * config.make.in (build-nscd): New substituted variable.
70280         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
70281         Change conditional to require [$(build-nscd) = yes] as well.
70282         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
70284         [BZ# 13696]
70285         * configure.in (use_nscd): New substituted variable, set by
70286         --disable-nscd.  If enabled, define USE_NSCD.
70287         * configure: Regenerated.
70288         * config.h.in: Add USE_NSCD.
70289         * config.make.in (use-nscd): New substituted variable.
70290         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
70291         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
70292         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
70293         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
70294         (CFLAGS-getgrnam_r.c): Likewise.
70295         (CFLAGS-initgroups.c): Likewise.
70296         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
70297         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
70298         Variables removed.
70299         * inet/getnetgrent_r.c
70300         (nscd_setnetgrent): New function, broken out of ...
70301         (setnetgrent): ... here.  Call it.
70302         (innetgr): Conditionalize nscd bits on [USE_NSCD].
70303         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
70304         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
70305         * nscd/Makefile (routines, aux): Move definitions after include of
70306         Makeconfig.  Conditionalize on [$(use-nscd) != no].
70307         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
70308         Conditionalize on [USE_NSCD].
70309         (is_nscd, nscd_init_cb): Likewise.
70310         (nss_load_library): Conditionalize init callback on [USE_NSCD].
70311         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
70312         * nss/nss_db/db-init.c: Likewise.
70313         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
70314         [USE_NSCD].
70315         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
70316         (make_request): Use it.
70317         (cache_valid_p): New function.
70318         (__check_pf): Use it.
70319         * NEWS: Add item for --disable-nscd.
70321 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
70323         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
70324         to support sed >= 4.2.1-20-ga9bf076.
70325         * configure: Regenerated.
70327 2012-08-22  Roland McGrath  <roland@hack.frob.com>
70329         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
70330         Conditionalize whole body on [IREL].
70332 2012-08-22  Jeff Law <law@redhat.com>
70334         [BZ #14505]
70335         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
70336         if the family is PF_UNSPEC.
70338 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
70340         * Makerules (lib-version): Rename from V.
70341         (install-lib-nosubdir): Change V to lib-version.
70343 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
70345         [BZ #14252]
70346         * powerpc32/power6/wcschr.c: New file.
70347         * powerpc32/power6/wcscpy.c: New file.
70348         * powerpc32/power6/wcsrchr.c: New file.
70349         * powerpc64/power6/wcschr.c: New file.
70350         * powerpc64/power6/wcscpy.c: New file.
70351         * powerpc64/power6/wcsrchr.c: New file.
70353 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70355         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
70356         (two_way_short_needle): Use it.
70357         * string/strstr.c (AVAILABLE1_USES_J): Define.
70358         * string/strcasestr.c: Likewise.
70360         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
70361         array references.
70362         * string/strcasestr.c (TOLOWER): Make side-effect safe.
70364         [BZ #11607]
70365         * NEWS: Add an entry.
70366         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
70367         define their defaults.
70368         (two_way_short_needle): Detect end-of-string on-the-fly.
70369         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
70370         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
70371         * string/bug-strcasestr1.c: New test.
70372         * string/Makefile: Run it.
70374 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
70376         [BZ #11607]
70377         * string/str-two-way.h (two_way_short_needle): Optimize matching of
70378         the first character.
70380 2012-08-21  Roland McGrath  <roland@hack.frob.com>
70382         * csu/elf-init.c (__libc_csu_irel): Function removed.
70383         * csu/libc-start.c (apply_irel): New function.
70384         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
70386 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
70388         * sysdeps/unix/sysv/linux/kernel-features.h
70389         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
70390         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70391         <kernel-features.h>.
70392         [__NR_fadvise64_64]: Make code unconditional.
70393         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
70394         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70395         !__NR_fadvise64_64)]: Likewise.
70396         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
70397         !__NR_fadvise64_64))]: Likewise.
70398         [__NR_fadvise64]: Make code unconditional.
70399         [!__NR_fadvise64]: Remove conditional code.
70400         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
70401         <kernel-features.h>.
70402         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70403         unconditional.
70404         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70405         conditional code.
70406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
70407         not include <kernel-features.h>.
70408         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70409         unconditional.
70410         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70411         conditional code.
70412         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
70413         include <kernel-features.h>.
70414         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
70415         unconditional.
70416         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
70417         conditional code.
70419 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
70421         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
70422         slight instruction rearrangements per scrollpipe analysis.
70423         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
70425 2012-08-20  Roland McGrath  <roland@hack.frob.com>
70427         * manual/syslog.texi (syslog; vsyslog, closelog):
70428         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
70429         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
70431         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
70432         DSOCAPS to match condition on defining it.
70434 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
70436         * sysdeps/unix/sysv/linux/kernel-features.h
70437         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
70438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
70439         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70440         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
70442         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70443         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
70445         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
70446         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
70448         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
70449         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
70451         * sysdeps/unix/sysv/linux/kernel-features.h
70452         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
70453         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
70454         unconditional.
70455         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70456         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
70457         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70458         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70459         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
70460         Make code unconditional.
70461         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70462         (__mmap64) [!__NR_mmap2]: Likewise.
70463         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
70464         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
70465         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70466         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
70467         [__NR_mmap2]: Make code unconditional.
70468         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
70469         (__mmap64) [!__NR_mmap2]: Likewise.
70471 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70473         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
70475 2012-08-18  Andreas Jaeger  <aj@suse.de>
70477         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
70479 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70481         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
70482         * include/unistd.h (__have_sock_cloexec): Likewise.
70483         (__have_pipe2): Likewise.
70484         (__have_dup3): Likewise.
70486 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
70488         [BZ #9685]
70489         * include/unistd.h (__have_pipe2): Change define into an extern int.
70490         (__have_dup3): Likewise.
70491         * socket/have_sock_cloexec.c: Include fcntl.h.
70492         (__have_pipe2): New variable.
70493         (__have_dup3): Likewise.
70495 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
70497         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
70499 2012-08-17  Marek Polacek  <polacek@redhat.com>
70501         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
70502         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
70504 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70506         * configure.in: Add AC_SUBST for sysheaders.
70507         * configure: Regenerated.
70508         * config.make.in (sysheaders): New substituted variable.
70510         * sysdeps/unix/mkfifo.c: Moved ...
70511         * sysdeps/posix/mkfifo.c: ... here.
70512         * sysdeps/unix/mkfifoat.c: Moved ...
70513         * sysdeps/posix/mkfifoat.c: ... here.
70515         * sysdeps/unix/utime.c: Moved ...
70516         * sysdeps/posix/utime.c: ... here.
70518         * sysdeps/unix/time.c: Moved ...
70519         * sysdeps/posix/time.c: ... here.
70520         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
70521         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
70523         * sysdeps/unix/nice.c: Moved ...
70524         * sysdeps/posix/nice.c: ... here.
70526         * sysdeps/unix/alarm.c: Moved ...
70527         * sysdeps/posix/alarm.c: ... here.
70529         * intl/Makefile ($(codeset_mo)): Depend on the input file.
70531 2012-08-17  Jeff Law <law@redhat.com>
70533         * intl/Makefile (codeset_mo): New variable.
70534         ($(codeset_mo)): New target.
70535         (tst-codeset.out): Depend on that.  Remove explicit rule.
70536         (tst-gettext3.out, tst-gettext5.out): Likewise.
70537         (LOCPATH-ENV, tst-codeset-ENV): New variables.
70538         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
70539         * intl/tst-codeset.sh: Remove.
70540         * intl/tst-gettext3.sh: Likewise.
70541         * intl/tst-gettext5.sh: Likewise.
70543 2012-08-17  Roland McGrath  <roland@hack.frob.com>
70545         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
70546         * sysdeps/unix/syscalls.list: ... here.
70548         * sysdeps/posix/getaddrinfo.c
70549         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
70550         (gaiconf_init, gaiconf_reload): Use them.
70551         [!_STATBUF_ST_NSEC]
70552         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
70553         Define using time_t rather than struct timespec.
70555         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
70556         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
70557         Macros removed.
70558         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
70559         [!NO_THREADS].
70560         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
70561         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
70562         Likewise.
70564         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
70565         __libc_cleanup_push argument.
70567         * bits/param.h: New file.
70568         * misc/sys/param.h: New file.
70569         * include/sys/param.h: New file.
70570         * misc/Makefile (headers): Add bits/param.h.
70571         * sysdeps/generic/sys/param.h: File removed.
70572         * sysdeps/unix/sysv/linux/bits/param.h: New file.
70573         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
70574         * sysdeps/mach/hurd/bits/param.h: New file.
70575         * sysdeps/mach/hurd/sys/param.h: File removed.
70577         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
70578         last change.
70580         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
70581         [_IO_MTSAFE_IO].
70582         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
70583         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
70584         New macros.
70586         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
70587         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
70588         rather than -D_IO_MTSAFE_IO conditionally.
70589         * stdio-common/Makefile (CPPFLAGS): Likewise.
70590         * wcsmbs/Makefile (CPPFLAGS): Likewise.
70591         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
70592         Use $(libio-mtsafe).
70593         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
70594         of -D_IO_MTSAFE_IO.
70595         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
70596         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
70597         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
70598         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
70599         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
70600         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
70601         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
70602         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
70603         (CFLAGS-fread_u_chk.c): Likewise.
70604         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
70605         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
70606         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
70607         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
70608         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
70609         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
70610         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
70611         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
70612         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
70614         * libio/Makefile: Test [$(libc-reentrant) = yes]
70615         instead of [$(filter %REENTRANT, $(defines)) nonempty].
70617         * Makeconfig
70618         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
70619         * sysdeps/pthread/configure: File removed.
70620         * sysdeps/pthread/Makeconfig: New file.
70621         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
70622         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
70624 2012-08-16  Gary Benson  <gbenson@redhat.com>
70626         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
70627         unmapping the first object in a namespace.
70629 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70631         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
70632         (__internal_setnetgrent): ... this.  Add internal_function to
70633         definition.  Add libc_hidden_def.
70634         (setnetgrent): Update caller.
70635         (internal_endnetgrent): Renamed to ...
70636         (__internal_endnetgrent): ... this.  Add internal_function to
70637         definition.  Add libc_hidden_def.
70638         (endnetgrent): Update caller.
70639         (internal_getnetgrent_r): Renamed to ...
70640         (__internal_getnetgrent_r): ... this.  Add internal_function to
70641         definition.  Add libc_hidden_def.
70642         (__getnetgrent_r): Update caller.
70643         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
70645 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70647         * stdlib/longlong.h: Update from GCC.
70649 2012-08-16  Roland McGrath  <roland@hack.frob.com>
70651         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
70652         on _QL, which is set by umul_ppmm but never used.
70653         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
70654         variables, which are set by GMP macros but never used.
70655         * stdio-common/_itowa.c (_itowa): Likewise.
70656         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
70657         * stdlib/mod_1.c (mpn_mod_1): Likewise.
70659 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
70661         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
70662         struct La_sh_regs is not constant.
70663         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
70664         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
70665         and struct La_sparc64_regs are not constant.
70667 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
70669         * sysdeps/unix/sysv/linux/kernel-features.h
70670         (__ASSUME_POSIX_TIMERS): Remove.
70671         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
70672         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70673         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
70674         Make code unconditional.
70675         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70676         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
70677         Make code unconditional.
70678         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70679         * sysdeps/unix/sysv/linux/clock_nanosleep.c
70680         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
70681         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70682         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
70683         Make code unconditional.
70684         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
70685         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
70686         (__libc_missing_posix_timers): Remove.
70688 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70690         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
70691         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
70693         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
70695         * elf/dl-sym.c: Include <stdlib.h>.
70697         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
70698         constants, which avoids warnings in 32-bit builds.
70700         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
70701         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
70703         * misc/lseek.c: File moved to ...
70704         * io/lseek.c: ... here.
70706         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
70708         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
70709         shifting LEN more than 31 bits at once.
70711 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70713         [BZ #14195]
70714         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
70715         segmentation fault for a case of two empty input strings.
70716         * string/test-strncasecmp.c (check1): Renamed to...
70717         (bz12205): ...this.
70718         (bz14195): Add new testcase for two empty input strings and N > 0.
70719         (test_main): Call new testcase, adapt for renamed function.
70721 2012-08-15  Andreas Jaeger  <aj@suse.de>
70723         [BZ #14090]
70724         * crypt/md5test2.c: New test, based on test supplied by Serge
70725         Belyshev <belyshev@depni.sinp.msu.ru>.
70726         * crypt/Makefile (xtests): Add md5test-giant..
70727         * crypt/Makefile ($(objpfx)md5test-giant): Add.
70729 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
70731         [BZ #14090]
70732         * crypt/md5.c (md5_process_block): Don't assume the buffer
70733         length is less than 2**32.
70734         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
70735         length is less than 2**64.
70737 2012-08-15  Roland McGrath  <roland@hack.frob.com>
70739         * string/str-two-way.h: Include <sys/param.h>.
70740         (MAX): Macro removed.
70742         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
70743         Move #define and #undef of memmove to just before and after
70744         including <string.h>.
70746         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
70747         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
70748         and after including <string.h>.  Move declarations of
70749         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
70750         to before #include "string/memmove.c".
70752         * include/dirent.h: Declare __getdirentries.
70754         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
70755         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
70757 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
70759         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
70760         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
70761         * sysdeps/i386/configure: Regenerated.
70762         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
70763         STABS_CURRENT_FILE, and STABS_FUN.
70764         (END): Remove call to STABS_FUN_END.
70765         (STABS_CURRENT_FILE1): Delete.
70766         (STABS_CURRENT_FILE): Likewise.
70767         (STABS_FUN): Likewise.
70768         (STABS_FUN_END): Likewise.
70769         (STABS_FUN2): Likewise.
70770         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
70771         * sysdeps/x86_64/configure: Regenerated.
70773 2012-08-14  Roland McGrath  <roland@hack.frob.com>
70775         * elf/dl-open.c: Include <atomic.h>.
70776         * elf/dl-lookup.c: Likewise.
70778 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
70780         * sysdeps/unix/sysv/linux/kernel-features.h
70781         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
70782         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
70783         unconditionally.
70784         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
70785         unconditionally.
70786         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
70787         condition on __ASSUME_CLONE_THREAD_FLAGS.
70789 2012-08-14  Andreas Jaeger  <aj@suse.de>
70791         * sysdeps/i386/fpu/libm-test-ulps: Update.
70793 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
70795         * include/atomic.h (atomic_exchange_and_add): Split into ...
70796         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
70797         New atomic macros.
70799 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
70801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70803 2012-08-13  Jeff Law <law@redhat.com>
70805         * manual/stdio.texi (snprintf): Clarify handling of the trailing
70806         null byte in the output string.
70808 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
70810         * sysdeps/unix/sysv/linux/kernel-features.h
70811         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
70812         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
70813         (__ASSUME_ARG_MAX_STACK_BASED): Define.
70814         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
70815         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
70816         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
70817         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
70819 2012-08-09  Jeff Law <law@redhat.com>
70821         [BZ #13939]
70822         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
70823         When avoid_arena is set, don't retry in the that arena.  Pick the
70824         next one, whatever it might be.
70825         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
70826         (arena_lock): Pass in new parameter to arena_get2.
70827         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
70828         arena_get2.
70829         (__libc_malloc): Unify retrying after main arena failure with
70830         __libc_memalign version.
70831         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
70833 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
70835         [BZ #14166]
70836         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
70837         to __redirect_strstr.
70838         (__strstr_sse42): Use typeof __redirect_strstr.
70839         (__strstr_ia32): Likewise.
70840         (__libc_strstr): New prototype.
70841         (strstr): Renamed to ...
70842         (__libc_strstr): This.
70843         (strstr): New strong alias of __libc_strstr.
70844         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70845         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
70846         __redirect_time.
70847         Include <time.h>.
70848         (__libc_time): New prototype.
70849         (time_ifunc): Replace time with __libc_time.
70850         (time): New strong alias and hidden definition of __libc_time.
70851         (__GI_time): Remove strong alias.
70852         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
70853         Include <stddef.h>.
70854         (memmove): Redefined to __redirect_memmove.
70855         (__memmove_sse2): Use typeof __redirect_memmove.
70856         (__memmove_ssse3): Likewise.
70857         (__memmove_ssse3_back): Likewise.
70858         (__libc_memmove): New prototype.
70859         (memmove): Renamed to ...
70860         (__libc_memmove): This.
70861         (memmove): New strong alias of __libc_memmove.
70863 2012-08-08  Mark Salter  <msalter@redhat.com>
70865         * elf/elf.h
70866         (R_MN10300_TLS_GD): Define.
70867         (R_MN10300_TLS_LD): Likewise.
70868         (R_MN10300_TLS_LDO): Likewise.
70869         (R_MN10300_TLS_GOTIE): Likewise.
70870         (R_MN10300_TLS_IE): Likewise.
70871         (R_MN10300_TLS_LE): Likewise.
70872         (R_MN10300_TLS_DTPMOD): Likewise.
70873         (R_MN10300_TLS_DTPOFF): Likewise.
70874         (R_MN10300_TLS_TPOFF): Likewise.
70875         (R_MN10300_SYM_DIFF): Likewise.
70876         (R_MN10300_ALIGN): Likewise.
70877         (R_MN10300_NUM): Update.
70879 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
70881         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
70882         Remove.
70884 2012-08-08  Roland McGrath  <roland@hack.frob.com>
70886         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
70888         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
70889         sysdeps/unix -> sysdeps/posix move.
70890         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
70892 2012-08-07      Allan McRae     <allan@archlinux.org>
70894         [BZ #14303]
70895         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
70896         (SUNOS_CPP): Likewise.
70897         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
70898         not found.
70899         (open_input): Call CPP using execvp.
70901 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70903         * sysdeps/unix/sysv/linux/kernel-features.h
70904         (__ASSUME_PROT_GROWSUPDOWN): Remove.
70905         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70906         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70907         (__ASSUME_WAITID_SYSCALL): Likewise.
70908         * sysdeps/unix/sysv/linux/dl-execstack.c
70909         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
70910         code unconditional.
70911         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
70912         conditional code.
70913         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
70914         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
70915         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
70916         code.
70917         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
70918         unconditional.
70919         [__ASSUME_WAITID_SYSCALL]: Likewise.
70920         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
70922 2012-08-07  Roland McGrath  <roland@hack.frob.com>
70924         * sysdeps/unix/closedir.c: Renamed to ...
70925         * sysdeps/posix/closedir.c: ... here.
70926         * sysdeps/unix/dirfd.c: Renamed to ...
70927         * sysdeps/posix/dirfd.c: ... here.
70928         * sysdeps/unix/dirstream.h: Renamed to ...
70929         * sysdeps/posix/dirstream.h: ... here.
70930         * sysdeps/unix/fdopendir.c: Renamed to ...
70931         * sysdeps/posix/fdopendir.c: ... here.
70932         * sysdeps/unix/opendir.c: Renamed to ...
70933         * sysdeps/posix/opendir.c: ... here.
70934         * sysdeps/unix/readdir.c: Renamed to ...
70935         * sysdeps/posix/readdir.c: ... here.
70936         * sysdeps/unix/readdir_r.c: Renamed to ...
70937         * sysdeps/posix/readdir_r.c: ... here.
70938         * sysdeps/unix/rewinddir.c: Renamed to ...
70939         * sysdeps/posix/rewinddir.c: ... here.
70940         * sysdeps/unix/seekdir.c: Renamed to ...
70941         * sysdeps/posix/seekdir.c: ... here.
70942         * sysdeps/unix/telldir.c: Renamed to ...
70943         * sysdeps/posix/telldir.c: ... here.
70944         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
70945         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
70946         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
70947         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
70949         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
70950         * bits/fcntl.h: ... here.
70952         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
70953         not 0.
70954         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
70955         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
70956         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
70957         (struct flock): Move l_start, l_len to the beginning.
70958         Use __pid_t for l_pid.
70959         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
70960         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
70961         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
70962         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
70963         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
70964         [__USE_LARGEFILE64] (struct flock64): New type.
70965         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
70967         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
70968         * bits/dirent.h: ... here.
70970         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
70971         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
70973 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
70975         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
70976         Change from 2.6.0 to 2.6.16.
70977         * sysdeps/unix/sysv/linux/configure: Regenerated.
70978         * sysdeps/unix/sysv/linux/kernel-features.h
70979         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
70980         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
70981         version.
70982         (__ASSUME_UTIMES): Likewise.
70983         (__ASSUME_CLONE_STOPPED): Remove.
70984         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
70985         architectures, not kernel version.
70986         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
70987         (__ASSUME_NO_CLONE_DETACHED): Likewise.
70988         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
70989         (__ASSUME_WAITID_SYSCALL): Likewise.
70990         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
70991         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
70992         * README: State 2.6.16 as minimum Linux kernel version.  Do not
70993         refer to older versions.
70995 2012-08-06  Roland McGrath  <roland@hack.frob.com>
70997         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
70998         Define alphasort64 as an alias.
70999         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
71000         Define versionsort64 as an alias.
71001         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
71002         Define scandir64 as an alias.
71003         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
71004         Define scandirat64 as an alias.
71005         * dirent/alphasort64.c (alphasort64):
71006         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
71007         * dirent/versionsort64.c: Likewise.
71008         * dirent/scandir64.c: Likewise.
71009         * dirent/scandirat64.c: Likewise.
71010         * sysdeps/wordsize-64/alphasort.c: File removed.
71011         * sysdeps/wordsize-64/alphasort64.c: File removed.
71012         * sysdeps/wordsize-64/scandir.c: File removed.
71013         * sysdeps/wordsize-64/scandir64.c: File removed.
71014         * sysdeps/wordsize-64/scandirat.c: File removed.
71015         * sysdeps/wordsize-64/scandirat64.c: File removed.
71016         * sysdeps/wordsize-64/versionsort.c: File removed.
71017         * sysdeps/wordsize-64/versionsort64.c: File removed.
71018         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
71019         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
71020         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
71021         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
71022         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
71023         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
71024         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
71025         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
71027         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
71028         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71029         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
71030         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71031         [defined __arch64__ || defined __sparcv9]
71032         (__INO_T_MATCHES_INO64_T): New macro.
71033         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71034         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
71035         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
71036         * sysdeps/unix/sysv/linux/bits/dirent.h
71037         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
71038         (_DIRENT_MATCHES_DIRENT64): New macro.
71040         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
71041         Define lockf64 as an alias.
71042         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
71043         Define fseeko64 as an alias.
71044         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
71045         Define ftello64 as an alias.
71046         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
71047         Define _IO_fgetpos64 and fgetpos64 as aliases.
71048         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
71049         Define _IO_fsetpos64 and fsetpos64 as aliases.
71050         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
71051         Conditionalize body on this.
71052         * libio/fseeko64.c: Likewise.
71053         * libio/ftello64.c: Likewise.
71054         * libio/iofgetpos64.c: Likewise.
71055         * libio/iofsetpos64.c: Likewise.
71056         * sysdeps/wordsize-64/lockf.c: File removed.
71057         * sysdeps/wordsize-64/lockf64.c: File removed.
71058         * sysdeps/wordsize-64/fseeko.c: File removed.
71059         * sysdeps/wordsize-64/fseeko64.c: File removed.
71060         * sysdeps/wordsize-64/ftello.c: File removed.
71061         * sysdeps/wordsize-64/ftello64.c: File removed.
71062         * sysdeps/wordsize-64/iofgetpos.c: File removed.
71063         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
71064         * sysdeps/wordsize-64/iofsetpos.c: File removed.
71065         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
71066         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
71067         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
71068         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
71069         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
71070         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
71071         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
71072         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
71073         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
71074         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
71075         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
71077         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71078         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
71079         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
71080         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71081         [defined __arch64__ || defined __sparcv9]
71082         (__OFF_T_MATCHES_OFF64_T): New macro.
71083         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
71084         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
71085         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71086         (__OFF_T_MATCHES_OFF64_T): New macro.
71088 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71090         * stdlib/secure-getenv.c (__secure_getenv): Replace
71091         GLIBC_2_16 with GLIBC_2_17.
71093 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
71095         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
71096         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71098 2012-08-03  David S. Miller  <davem@davemloft.net>
71100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71102 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71104         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
71105         Remove.
71106         (__ASSUME_CORRECT_SI_PID): Likewise.
71107         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
71108         (__ASSUME_TMPFS_NAME): Likewise.
71109         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
71110         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
71111         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
71112         (HAVE_AUX_SECURE): Make definition unconditional.
71113         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
71114         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
71116 2012-08-03  Roland McGrath  <roland@hack.frob.com>
71118         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
71119         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
71120         * sysdeps/mach/hurd/eloop-threshold.h: New file.
71121         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
71122         __eloop_threshold instead of SYMLOOP_MAX.
71124         * sysdeps/generic/eloop-threshold.h: New file.
71125         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
71126         of MAXSYMLINKS.
71127         * elf/chroot_canon.c (chroot_canon): Likewise.
71129 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
71131         [BZ #13717]
71132         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71133         Change to 2.6.0 everywhere.
71134         * sysdeps/unix/sysv/linux/configure: Regenerated.
71135         * sysdeps/unix/sysv/linux/kernel-features.h
71136         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
71137         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
71138         kernel versions.
71139         (__ASSUME_POSIX_TIMERS): Define unconditionally.
71140         (__ASSUME_FUTEX_REQUEUE): Remove.
71141         (__ASSUME_STATFS64): Define unconditionally.
71142         (__ASSUME_AT_SECURE): Likewise.
71143         (__ASSUME_CORRECT_SI_PID): Likewise.
71144         (__ASSUME_TGKILL): Define without depending on kernel version for
71145         i386.
71146         (__ASSUME_UTIMES): Likewise.
71147         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
71148         kernel version.
71149         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
71150         (__ASSUME_TMPFS_NAME): Likewise.
71151         * README: Update reference to Linux kernel versions.
71153 2012-08-02  Marek Polacek  <polacek@redhat.com>
71155         [BZ# 14150]
71156         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
71157         libc_cv_asm_type_prefix with %.
71158         * configure: Regenerated.
71159         * include/libc-symbols.h: Remove comment about
71160         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71161         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
71162         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
71163         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
71164         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
71165         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
71166         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
71167         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
71168         * elf/tst-unique2mod1.c: Likewise.
71169         * elf/tst-unique1mod2.c: Likewise.
71170         * elf/tst-unique1mod1.c: Likewise.
71171         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
71172         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
71173         Replace ASM_TYPE_DIRECTIVE with .type.
71174         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71175         * sysdeps/i386/sysdep.h: Likewise.
71176         * sysdeps/x86_64/sysdep.h: Likewise.
71177         * sysdeps/sh/sysdep.h: Likewise.
71178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71179         Do not define ASM_TYPE_DIRECTIVE.
71180         * sysdeps/powerpc/sysdep.h: Likewise.
71181         * sysdeps/powerpc/powerpc32/sysdep.h:
71182         Replace ASM_TYPE_DIRECTIVE with .type.
71183         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
71184         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
71185         * sysdeps/i386/fpu/e_powf.S: Likewise.
71186         * sysdeps/i386/fpu/e_expl.S: Likewise.
71187         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71188         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71189         * sysdeps/i386/fpu/e_pow.S: Likewise.
71190         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71191         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71192         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71193         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71194         * sysdeps/i386/fpu/e_log2.S: Likewise.
71195         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71196         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71197         * sysdeps/i386/fpu/e_powl.S: Likewise.
71198         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71199         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71200         * sysdeps/i386/fpu/e_logl.S: Likewise.
71201         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71202         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71203         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71204         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71205         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71206         * sysdeps/i386/fpu/e_log.S: Likewise.
71207         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71208         * sysdeps/i386/fpu/e_logf.S: Likewise.
71209         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71210         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71211         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71212         * sysdeps/i386/fpu/e_log10.S: Likewise.
71213         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71214         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71215         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71216         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71217         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71218         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
71219         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71220         * sysdeps/i386/i686/strtok.S: Likewise.
71221         * sysdeps/i386/i386-mcount.S: Likewise.
71222         * sysdeps/i386/strtok.S: Likewise.
71223         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
71224         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71225         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71226         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71227         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71228         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71229         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71230         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71231         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71232         * sysdeps/x86_64/_mcount.S: Likewise.
71233         * sysdeps/x86_64/strtok.S: Likewise.
71234         * sysdeps/sh/_mcount.S: Likewise.
71236 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71238         * libio/iofopen.c: Include <fcntl.h>.
71239         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
71240         (_IO_fopen64, fopen64): Define as aliases.
71241         * libio/iofopen64.c: Include <fcntl.h>.
71242         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
71243         Conditionalize body on this.
71244         * sysdeps/wordsize-64/iofopen.c: File removed.
71245         * sysdeps/wordsize-64/iofopen64.c: File removed.
71247 2012-08-01  Marek Polacek  <polacek@redhat.com>
71249         * libc/Makeconfig: Use elf in place of binfmt-subdir.
71250         Use dlfcn directly instead of a variable.
71251         (binfmt-subdir): Do not define.
71252         (dlfcn): Likewise.
71254 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
71256         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
71257         Remove all definitions.
71258         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
71259         <kernel-features.h>.
71260         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71261         (miss_F_GETOWN_EX): Remove all definitions.
71262         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
71263         macro definition.
71264         [!__ASSUME_FCNTL64]: Remove conditional code.
71265         [__ASSUME_FCNTL64]: Make code unconditional.
71266         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
71267         <kernel-features.h>.
71268         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
71269         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
71270         (lockf64) [__NR_fcntl64]: Make code unconditional.
71271         (lockf64) [__ASSUME_FCNTL64]: Likewise.
71273         * sysdeps/unix/sysv/linux/kernel-features.h
71274         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
71275         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
71276         Make code unconditional.
71277         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71278         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
71280         [__NR_vfork]: Make code unconditional.
71281         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71282         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
71284         [__NR_vfork]: Make code unconditional.
71285         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
71286         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
71288 2012-08-01  Roland McGrath  <roland@hack.frob.com>
71290         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
71291         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
71293         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71294         Define mkstemp64 as an alias.
71295         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71296         Define mkstemps64 as an alias.
71297         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71298         Define mkostemp64 as an alias.
71299         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
71300         Define mkostemps64 as an alias.
71301         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
71302         Conditionalize body on this.
71303         * misc/mkostemp64.c: Likewise.
71304         * misc/mkostemps64.c: Likewise.
71305         * misc/mkstemps64.c: Likewise.
71306         * sysdeps/wordsize-64/mkstemp64.c: File removed.
71307         * sysdeps/wordsize-64/mkostemp64.c: File removed.
71308         * sysdeps/wordsize-64/mkostemp.c: File removed.
71309         * sysdeps/wordsize-64/mkstemp.c: File removed.
71310         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
71311         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
71312         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
71313         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
71315         [BZ #14138]
71316         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
71317         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
71318         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
71319         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
71321         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
71322         compat_symbol macros from <shlib-compat.h> rather than the underlying
71323         default_symbol_version and symbol_version macros, so that DEFAULT
71324         lines in shlib-versions are respected.
71325         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
71327 2012-08-01  Florian Weimer  <fweimer@redhat.com>
71329         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
71330         Declare with warn_unused_result.
71331         (setgid, setregid, setegid, setresgid): Likewise.
71332         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
71333         Likewise.
71334         * WUR-REPORT: Remove set*id functions.
71336 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
71338         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
71340 2012-07-31  Roland McGrath  <roland@hack.frob.com>
71342         [BZ #10191]
71343         * include/sys/socket.h (__libc_accept, __libc_accept4):
71344         Add attribute_hidden.
71345         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
71347         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
71348         use of PTR_MANGLE.
71349         * inet/getnetgrent_r.c (setup): Likewise.
71351         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
71353 2012-07-31  David S. Miller  <davem@davemloft.net>
71355         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71357 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
71359         [BZ #13629]
71360         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
71361         value between 1.0 and 2.0 and smaller part has absolute value less
71362         than 1.0.
71363         * math/s_clog10.c (__clog10): Likewise.
71364         * math/s_clog10f.c (__clog10f): Likewise.
71365         * math/s_clog10l.c (__clog10l): Likewise.
71366         * math/s_clogf.c (__clogf): Likewise.
71367         * math/s_clogl.c (__clogl): Likewise.
71368         * math/libm-test.inc (clog_test): Add more tests.
71369         (clog10_test): Likewise.
71370         * sysdeps/i386/fpu/libm-test-ulps: Update.
71371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71373 2012-07-31  Florian Weimer  <fweimer@redhat.com>
71375         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
71376         Exit with zero in case no suitable GID is found, and write a
71377         message to standard error.
71379 2012-07-30  Roland McGrath  <roland@hack.frob.com>
71381         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
71382         rather than to 1.
71383         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
71384         (MAXPATHLEN): Removed.
71385         (NOGROUP, NODEV): New macros.
71386         (setbit, clrbit, isset, isclr): New macros.
71387         (howmany, roundup, powerof2): New macros.
71388         (DEV_BSIZE): New macro.
71390         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
71391         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
71393         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
71394         definition on [!__NO_LONG_DOUBLE_MATH].
71396         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
71397         PTR_MANGLE and PTR_DEMANGLE.
71399         * socket/accept4.c (accept4): Rename to __libc_accept4.
71400         Define accept4 as a weak alias.
71402         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
71403         on [_DIRENT_HAVE_D_TYPE].
71404         * io/ftw.c (ftw_dir): Likewise.
71406         * io/xmknod.c (__xmknod): Don't check PATH for being null.
71408         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
71410         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
71411         Use the BSD numbers rather than the arbitrary ones we had.
71412         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
71413         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
71414         (SIGXCPU, SIGXFSZ): New macros.
71415         (_NSIG): Now 32.
71417         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
71418         initializer on [_LIBC_REENTRANT].
71420         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
71421         definitions inside [_POSIX_MAPPED_FILES].
71423         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
71425         * dirent/opendir.c: Include <fcntl.h>.
71427         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
71428         (__libc_getspecific): Likewise.
71429         (__libc_key_create): Likewise.
71431         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
71432         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
71433         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
71434         (tmpfile64): Define as alias.
71435         * sysdeps/wordsize-64/tmpfile.c: File removed.
71436         * sysdeps/wordsize-64/tmpfile64.c: File removed.
71437         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
71438         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
71440         * stdio-common/vfscanf.c: Include <stdbool.h>.
71441         * nss/makedb.c: Likewise.
71442         * stdio-common/_i18n_number.h: Likewise.
71443         * argp/argp-help.c: Likewise.
71444         * posix/wordexp.c: Likewise.
71445         * sysdeps/posix/spawni.c: Likewise.
71446         * nss/nss_files/files-initgroups.c: Likewise.
71447         * stdio-common/reg-modifier.c: Include <stdlib.h>.
71448         * nss/nss_files/files-initgroups.c: Likewise.
71449         * nss/nss_db/db-netgrp.c: Likewise.
71450         * nss/nss_db/db-initgroups.c: Likewise.
71451         * io/fchmodat.c: Include <sys/stat.h>.
71453         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
71454         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
71456         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
71457         [HAVE_MMAP].
71459         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
71460         Add multiple inclusion protection.
71462 2012-07-27  David S. Miller  <davem@davemloft.net>
71464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71466 2012-07-27  Gary Benson  <gbenson@redhat.com>
71468         [BZ #14298]
71469         * elf/rtld.c: Include <stap-probe.h>.
71470         (dl_main): Added static probes "init_start" and "init_complete".
71471         * elf/dl-load.c: Include <stap-probe.h>.
71472         (lose): Take new parameter "nsid".
71473         Added static probe "map_failed".
71474         (_dl_map_object_from_fd): Pass namespace id to lose.
71475         Added static probe "map_start".
71476         (open_verify): Pass namespace id to lose.
71477         * elf/dl-open.c: Include <stap-probe.h>.
71478         (dl_open_worker) Added static probes "map_complete", "reloc_start"
71479         and "reloc_complete".
71480         * elf/dl-close.c: Include <stap-probe.h>.
71481         (_dl_close_worker): Added static probes "unmap_start" and
71482         "unmap_complete".
71483         * elf/rtld-debugger-interface.txt: New file documenting the above.
71485 2012-07-26  Roland McGrath  <roland@hack.frob.com>
71487         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
71488         rather than a string variable.
71489         * sunrpc/rpc_main.c (h_output): Likewise.
71490         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
71492 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
71494         * inet/check_native.c: New file.
71496 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
71498         [BZ #13629]
71499         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
71500         if larger part has absolute value 1.0.
71501         * math/s_clog10.c (__clog10): Likewise.
71502         * math/s_clog10f.c (__clog10f): Likewise.
71503         * math/s_clog10l.c (__clog10l): Likewise.
71504         * math/s_clogf.c (__clogf): Likewise.
71505         * math/s_clogl.c (__clogl): Likewise.
71506         * math/libm-test.inc (clog_test): Add more tests.
71507         (clog10_test): Likewise.
71508         * sysdeps/i386/fpu/libm-test-ulps: Update.
71509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71511         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
71512         (pltexit): Likewise.
71513         (La_regs): Likewise.
71514         (La_retval): Likewise.
71515         (int_retval): Likewise.
71516         Update #error for removed macros to refer only to definitions in
71517         tst-audit.h.
71518         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
71519         macro.
71520         (pltexit): Likewise.
71521         (La_regs): Likewise.
71522         (La_retval): Likewise.
71523         (int_retval): Likewise.
71524         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
71525         macro.
71526         (pltexit): Likewise.
71527         (La_regs): Likewise.
71528         (La_retval): Likewise.
71529         (int_retval): Likewise.
71530         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
71531         macro.
71532         (pltexit): Likewise.
71533         (La_regs): Likewise.
71534         (La_retval): Likewise.
71535         (int_retval): Likewise.
71536         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
71537         macro.
71538         (pltexit): Likewise.
71539         (La_regs): Likewise.
71540         (La_retval): Likewise.
71541         (int_retval): Likewise.
71542         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
71543         macro.
71544         (pltexit): Likewise.
71545         (La_regs): Likewise.
71546         (La_retval): Likewise.
71547         (int_retval): Likewise.
71548         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
71549         macro.
71550         (pltexit): Likewise.
71551         (La_regs): Likewise.
71552         (La_retval): Likewise.
71553         (int_retval): Likewise.
71554         * sysdeps/generic/tst-audit.h: Update comment to refer only to
71555         macro definitions in tst-audit.h.
71556         * sysdeps/i386/tst-audit.h: New file.
71557         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
71558         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
71559         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
71560         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
71561         * sysdeps/sh/tst-audit.h: Likewise.
71562         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
71563         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
71564         * sysdeps/x86_64/tst-audit.h: Likewise.
71566 2012-07-26  Andreas Jaeger  <aj@suse.de>
71568         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
71569         ptrace.
71571         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
71572         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
71573         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
71574         PTRACE_O_MASK.
71575         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
71576         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
71577         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
71579         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
71580         value.
71582         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
71583         _sigsys.
71584         (si_call_addr, si_syscall, si_arch): Define new macro.
71585         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
71586         _sigsys.
71587         (si_call_addr, si_syscall, si_arch): Define new marcro.
71588         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
71589         _sigsys.
71590         (si_call_addr, si_syscall, si_arch): Define new macro.
71591         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
71592         _sigsys.
71593         (si_call_addr, si_syscall, si_arch): Define new macro.
71595 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71597         [BZ #13717]
71598         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
71599         Change to 2.4.21 where previously 2.4.1.
71600         * sysdeps/unix/sysv/linux/configure: Regenerated.
71601         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
71602         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
71603         Linux kernel version.
71604         (__ASSUME_STD_AUXV): Remove.
71605         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
71606         kernel version.
71607         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
71608         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
71609         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
71610         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
71611         (__ASSUME_NETLINK_SUPPORT): Likewise.
71612         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
71613         (__no_netlink_support): Remove conditional definition.
71614         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
71615         Remove.
71616         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71617         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
71618         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
71619         (if_nameindex_ioctl): Remove.
71620         (if_nameindex_netlink): Do not handle __no_netlink_support.
71621         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71622         code.
71623         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
71624         Remove conditional code.
71625         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
71626         code.
71627         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
71628         unconditional.
71629         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
71630         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
71631         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
71632         Remove.
71633         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
71634         [!__ASSUME_STD_AUXV]: Remove conditional code.
71635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
71636         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
71637         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
71638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
71639         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
71640         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71641         code.
71642         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
71644         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
71645         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71646         conditional code.
71647         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
71648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
71649         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
71650         code.
71651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
71652         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
71653         conditional code.
71654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
71655         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71656         code unconditional.
71657         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71658         conditional code.
71659         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71660         unconditional.
71661         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71662         conditional code.
71663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
71664         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71665         unconditional.
71666         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71667         conditional code.
71668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
71669         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71670         code unconditional.
71671         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71672         conditional code.
71673         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71674         unconditional.
71675         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71676         conditional code.
71677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
71678         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
71679         code unconditional.
71680         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71681         conditional code.
71682         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
71683         unconditional.
71684         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
71685         conditional code.
71687 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
71689         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
71690         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
71691         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
71692         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
71693         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
71694         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
71695         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
71696         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
71697         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
71698         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
71699         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
71700         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
71701         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
71702         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
71703         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
71704         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
71705         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
71706         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
71707         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
71708         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
71709         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
71710         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
71711         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71713 2012-07-25  Florian Weimer  <fweimer@redhat.com>
71715         * Versions.def: Add GLIBC_2.17.
71716         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
71717         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
71718         Introduce __libc_secure_getenv.
71719         * stdlib/Versions (2.17): Add secure_getenv
71720         (GLIBC_PRIVATE): Add __libc_secure_getenv.
71721         * stdlib/secure-getenv.c: Rename __secure_getenv to
71722         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
71723         symbol __secure_getenv for GLIBC_2.0.
71724         * stdlib/tst-secure-getenv.c: New.
71725         * stdlib/Makefile (tests): Add testcase.
71726         * manual/startup.texi (Environment Access): Document
71727         secure_getenv.
71728         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
71729         __libc_secure_getenv.
71730         * inet/ruserpass.c (ruserpass): Likewise.
71731         * malloc/mtrace.c (mtrace): Likewise.
71732         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
71733         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
71734         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
71735         * sysdeps/posix/tempname.c: Likewise.  Evaluate
71736         HAVE_SECURE_GETENV.
71737         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
71738         __secure_getenv to __libc_secure_getenv.
71739         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
71740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71741         Likewise.
71742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71743         Likewise.
71744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
71745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
71746         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71747         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
71748         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
71749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
71752 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
71754         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
71755         (struct La_i86_retval): Likewise.
71756         (struct La_x86_64_regs): Likewise.
71757         (struct La_x86_64_retval): Likewise.
71758         (struct La_x32_regs): Likewise.
71759         (struct La_x32_retval): Likewise.
71760         (struct La_ppc32_regs): Likewise.
71761         (struct La_ppc32_retval): Likewise.
71762         (struct La_ppc64_regs): Likewise.
71763         (struct La_ppc64_retval): Likewise.
71764         (struct La_sh_regs): Likewise.
71765         (struct La_sh_retval): Likewise.
71766         (struct La_s390_32_regs): Likewise.
71767         (struct La_s390_32_retval): Likewise.
71768         (struct La_s390_64_regs): Likewise.
71769         (struct La_s390_64_retval): Likewise.
71770         (struct La_sparc32_regs): Likewise.
71771         (struct La_sparc32_retval): Likewise.
71772         (struct La_sparc64_regs): Likewise.
71773         (struct La_sparc64_retval): Likewise.
71774         (struct audit_ifaces): Remove architecture-specific pltenter and
71775         pltexit members.
71776         * sysdeps/i386/ldsodefs.h: New file.
71777         * sysdeps/powerpc/ldsodefs.h: Likewise.
71778         * sysdeps/s390/ldsodefs.h: Likewise.
71779         * sysdeps/sh/ldsodefs.h: Likewise.
71780         * sysdeps/sparc/ldsodefs.h: Likewise.
71781         * sysdeps/x86_64/ldsodefs.h: Likewise.
71783 2012-07-25  Marek Polacek  <polacek@redhat.com>
71785         [BZ #6808]
71786         * math/libm-test.inc (yn_test): Add another test.
71787         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
71788         to ERANGE when the result is +-Inf.
71789         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
71790         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
71791         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
71792         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
71794 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
71796         * conform/data/time.h-data (NULL): Use macro-constant.  Require
71797         equal to 0.
71798         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
71799         clock_t.
71800         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
71802 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
71804         * configure.in <sysdeps resolving>: Correct printing
71805         Implies_before.
71806         * configure: Regenerate.
71808 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
71810         * math/w_ilogb.c: Include <limits.h>.
71811         * math/w_ilogbl.c: Likewise.
71813 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71815         * manual/lang.texi (__va_copy): Document primarily as ISO C99
71816         va_copy.  Document allowing for unavailable va_copy only as
71817         pre-C99 compatibility.
71818         * manual/string.texi (Copying and Concatenation): Use va_copy
71819         instead of __va_copy in concat example.
71821 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
71823         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
71824         (__sendto): Use create_address_port.  Initialize APORT and deallocate
71825         it if not null.
71827         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
71828         with O_NOLINK passed to __file_name_lookup.
71830         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
71831         with O_NOLINK passed to __file_name_lookup.
71833         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
71834         negative N or less than NGIDS.
71836         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
71837         type to string_t.  Set ERANGE as errno and return it if NAME is not big
71838         enough.  Use memcpy instead of strncpy.
71840 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
71842         * elf/Makefile (check-data): Remove.
71843         (localplt.data): New vpath directive.
71844         ($(objpfx)check-localplt.out): Use localplt.data from vpath
71845         instead of $(check-data).
71846         * scripts/data/localplt-generic.data: Move to ...
71847         * sysdeps/generic/localplt.data: ... here.
71848         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
71849         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
71850         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
71851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
71852         ... here.
71853         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
71854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
71855         ... here.
71856         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
71857         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
71858         ... here.
71859         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
71860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
71861         ... here.
71862         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
71863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
71864         ... here.
71865         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
71866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
71867         ... here.
71869 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71871         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
71872         PPC32 and PPC64 files.
71873         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
71874         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
71876 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71878         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
71879         __makecontext_ret to ...
71880         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
71881         ... here and call exit if uc_link is NULL.  New file.
71882         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
71883         __makecontext_ret.S.
71884         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
71885         __makecontext_ret to ...
71886         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
71887         ... here and call exit if uc_link is NULL.  New file.
71888         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
71889         __makecontext_ret.S.
71891 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71893         * elf/elf.h (R_390_IRELATIVE): New definition.
71894         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
71895         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
71896         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
71897         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
71898         (elf_machine_lazy_rel): Likewise.
71899         * sysdeps/s390/dl-irel.h: New file.
71900         * sysdeps/s390/s390-64/memcpy.S: New asm code.
71901         * sysdeps/s390/s390-64/memset.S: New asm code.
71902         * sysdeps/s390/s390-64/memcmp.S: New asm code.
71903         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
71904         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
71905         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
71906         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
71907         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
71908         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
71909         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
71910         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
71911         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
71912         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
71913         * sysdeps/s390/s390-32/memcpy.S: New asm code.
71914         * sysdeps/s390/s390-32/memset.S: New asm code.
71915         * sysdeps/s390/s390-32/memcmp.S: New asm code.
71917 2012-07-17  Marek Polacek  <polacek@redhat.com>
71919         [BZ #14349]
71920         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
71921         * sysdeps/s390/s390-64/configure.in: Likewise.
71922         * sysdeps/sparc/configure.in: Likewise.
71923         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
71924         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
71925         * sysdeps/i386/configure.in: Likewise.
71926         * sysdeps/x86_64/configure.in: Likewise.
71927         * sysdeps/sh/configure.in: Likewise.
71928         * sysdeps/s390/s390-32/configure: Regenerated.
71929         * sysdeps/s390/s390-64/configure: Likewise.
71930         * sysdeps/x86_64/configure: Likewise.
71931         * sysdeps/sh/configure: Likewise.
71932         * sysdeps/powerpc/powerpc64/configure: Likewise.
71933         * sysdeps/powerpc/powerpc32/configure: Likewise.
71934         * sysdeps/sparc/configure: Likewise.
71935         * sysdeps/i386/configure: Likewise.
71937         * elf/dl-open.c: Comment fixes.
71939 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
71941         * Makefile [CXX] (check-data): Remove.
71942         [CXX] (c++-types.data): New vpath directive.
71943         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
71944         vpath.  Do not allow for C++ type data being missing.
71945         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
71946         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
71947         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
71948         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
71949         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
71950         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
71951         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
71952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
71953         ... here.
71954         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
71955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
71956         ... here.
71957         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
71958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
71959         ... here.
71960         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
71961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
71962         ... here.
71963         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
71964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
71965         ... here.
71966         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
71967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
71968         ... here.
71969         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
71970         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
71971         ... here.
71972         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
71973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
71975         * elf/tls-macros.h (TLS_LE): Move architecture-specific
71976         definitions to architecture-specific files.
71977         (TLS_IE): Likewise.
71978         (TLS_LD): Likewise.
71979         (TLS_GD): Likewise.
71980         * sysdeps/i386/tls-macros.h: New file.
71981         * sysdeps/powerpc/tls-macros.h: Likewise.
71982         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
71983         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
71984         * sysdeps/sh/tls-macros.h: Likewise.
71985         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
71986         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
71987         * sysdeps/x86_64/tls-macros.h: Likewise.
71989 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71991         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
71992         zero value for regular exit case.
71994         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
71995         (__start_context): Preserve zero value for regular exit case.
71997 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
71998             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72000         * manual/setjmp.texi (setcontext): Clarify normal process
72001         termination when uc_link is the null pointer.
72002         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
72003         exit call.
72005 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
72007         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
72008         preprocessor.  Test for each exception mask separately.
72010 2012-07-16  Andreas Jaeger  <aj@suse.de>
72012         * po/ru.po: Update from translation team.
72014 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
72016         * conform/data/string.h-data (NULL): Use macro-constant.  Require
72017         equal to 0.
72018         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
72019         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
72020         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
72021         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
72022         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72024 2012-07-13  Andreas Jaeger  <aj@suse.de>
72026         * po/fr.po: Update from translation team.
72028 2012-07-12  Marek Polacek  <polacek@redhat.com>
72030         [BZ #14173]
72031         * math/libm-test.inc (yn_test): Add test for BZ #14173.
72032         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
72033         loop condition.
72035 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
72037         [BZ #13717]
72038         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72039         Change to 2.4.1 where previously 2.4.0.
72040         * sysdeps/unix/sysv/linux/configure: Regenerated.
72041         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
72042         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
72043         version.
72044         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
72045         (__ASSUME_AT_CLKTCK): Remove.
72046         (__ASSUME_AT_PAGESIZE): Likewise.
72047         (__ASSUME_AT_XID): Likewise.
72048         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
72049         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
72050         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
72051         unconditionally.
72052         (HAVE_AUX_PAGESIZE): Likewise.
72053         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
72054         [__ASSUME_AT_CLKTCK]: Make code unconditional.
72055         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
72057 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
72059         [BZ #14307]
72060         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
72061         the temporary buffer used to invoke __gethostbyname2_r,
72062         __gethostbyaddr_r and gethostbyname4_r to make room for struct
72063         host_data / struct gaih_addrtuple.
72064         * resolv/nss_dns/dns-host.c (global scope): Move definition of
72065         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
72066         header file nss/nsswitch.h.
72067         * nss/nsswitch.h (global scope): Add definition of implementation
72068         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
72069         resolv/nss_dns/dns-host.c).
72071 2012-07-11  Andreas Jaeger  <aj@suse.de>
72073         * po/fr.po: Update from translation team.
72075         * po/sv.po: Update from translation team
72076         * po/fr.po: Another update from translation team.
72078 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72080         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
72081         for subnormals or multiply small sinh result by itself.
72082         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72085 2012-07-11  David S. Miller  <davem@davemloft.net>
72087         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72089 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
72091         [BZ #14347]
72092         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
72093         (INTERNAL_MARK): Shift it here.
72095 2012-07-10  Marek Polacek  <polacek@redhat.com>
72097         [BZ #14151]
72098         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
72099         libc_cv_asm_global_directive with .globl.
72100         * configure: Regenerated.
72101         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
72102         with .globl.
72103         * sysdeps/i386/configure: Regenerated.
72104         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
72105         with .globl.
72106         * sysdeps/x86_64/configure: Regenerated.
72107         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
72108         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
72109         * elf/tst-unique2mod2.c: Likewise.
72110         * elf/tst-unique2mod1.c: Likewise.
72111         * elf/tst-unique1mod2.c: Likewise.
72112         * elf/tst-unique1mod1.c: Likewise.
72113         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72114         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72115         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72116         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72117         * sysdeps/mach/sysdep.h: Likewise.
72118         * sysdeps/i386/sysdep.h: Likewise.
72119         * sysdeps/i386/i386-mcount.S: Likewise.
72120         * sysdeps/x86_64/_mcount.S: Likewise.
72121         * sysdeps/x86_64/sysdep.h: Likewise.
72122         * sysdeps/sh/_mcount.S: Likewise.
72123         * sysdeps/sh/sysdep.h: Likewise.
72124         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
72125         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
72126         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
72127         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72128         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
72129         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
72130         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
72131         * locale/localeinfo.h: Likewise.
72132         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
72133         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
72135 2012-07-09  Roland McGrath  <roland@hack.frob.com>
72137         [BZ #14336]
72138         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
72139         system".
72140         * manual/message.texi (The Uniforum approach): Likewise.
72141         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
72142         (glibc iconv Implementation): Likewise.
72144 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
72146         [BZ #14337]
72147         * math/s_clog.c (__clog): Avoid scaling a value down where that
72148         could result in underflow.
72149         * math/s_clog10.c (__clog10): Likewise.
72150         * math/s_clog10f.c (__clog10f): Likewise.
72151         * math/s_clog10l.c (__clog10l): Likewise.
72152         * math/s_clogf.c (__clogf): Likewise.
72153         * math/s_clogl.c (__clogl): Likewise.
72154         * math/libm-test.inc (clog_test): Add more tests.
72155         (clog10_test): Likewise.
72156         * sysdeps/i386/fpu/libm-test-ulps: Update.
72157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72159 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
72161         [BZ #14283]
72162         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
72163         by 7 not 8 to examine high bit of fractional part.
72165         [BZ #14042]
72166         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
72167         for call to __mcount_internal.
72168         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
72169         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
72170         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
72172 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
72174         [BZ #14154]
72175         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
72176         approximation for values within 0x1p-13f of an odd multiple of
72177         pi/4.
72178         * math/libm-test.inc (tan_test): Do not allow spurious underflow
72179         exception.  Add more tests.
72180         * sysdeps/i386/fpu/libm-test-ulps: Update.
72182         [BZ #6778]
72183         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
72184         inputs and return -1 for them.  Do not check for +Inf in case not
72185         reachable for +Inf.
72186         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
72187         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
72188         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72189         and return -1 for them.  Do not check for +Inf in case not
72190         reachable for +Inf.
72191         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
72192         define.
72193         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
72194         and return -1 for them.  Do not check for +Inf in case not
72195         reachable for +Inf.
72196         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
72197         spurious underflow.
72198         * sysdeps/i386/fpu/libm-test-ulps: Update.
72199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72201 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
72203         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
72205 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
72207         [BZ #14157]
72208         [BZ #14331]
72209         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
72210         could result in spurious underflow.  Scale down values above
72211         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
72212         * math/s_csqrtf.c (__csqrtf): Likewise.
72213         * math/s_csqrtl.c (__csqrtl): Likewise.
72214         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
72215         spurious underflow.
72216         * sysdeps/i386/fpu/libm-test-ulps: Update.
72217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72219 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
72221         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
72222         xopen-msg.sed.
72223         * catgets/xopen-msg.awk: New file.
72224         * catgets/xopen-msg.sed: Removed.
72226         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
72227         po2text.sed.
72228         * intl/po2test.awk: New file.
72229         * intl/po2test.sed: Removed.
72231 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
72233         [BZ #14328]
72234         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
72235         or multiply small sinh result by itself.
72236         * math/s_ctanf.c (__ctanf): Likewise.
72237         * math/s_ctanh.c (__ctanh): Likewise.
72238         * math/s_ctanhf.c (__ctanhf): Likewise.
72239         * math/s_ctanhl.c (__ctanhl): Likewise.
72240         * math/s_ctanl.c (__ctanl): Likewise.
72241         * math/libm-test.inc (ctan_test_tonearest): New function.
72242         (ctan_test_towardzero): Likewise.
72243         (ctan_test_downward): Likewise.
72244         (ctan_test_upward): Likewise.
72245         (ctanh_test_tonearest): Likewise.
72246         (ctanh_test_towardzero): Likewise.
72247         (ctanh_test_downward): Likewise.
72248         (ctanh_test_upward): Likewise.
72249         (main): Call these new functions.
72250         * sysdeps/i386/fpu/libm-test-ulps: Update.
72251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72253 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
72255         * .gitignore: Delete /ports entry.
72257 2012-07-03  Andreas Jaeger  <aj@suse.de>
72259         * po/bg.po: Update from translation team.
72260         * po/cs.po: Likewise.
72261         * po/de.po: Likewise.
72262         * po/hr.po: Likewise.
72263         * po/nl.pl: Likewise.
72264         * po/pl.po: Likewise.
72265         * po/vi.po: Likewise.
72267 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
72269         * Makeconfig [!+link] (+link-before-libc): New variable.
72270         [!+link] (+link-after-libc): Likewise.
72271         [!+link] (+link-tests): Likewise.
72272         [!+link] (+link): Define in terms of $(+link-before-libc) and
72273         $(+link-after-libc).
72274         [!+link-static] (+link-static-before-libc): New variable.
72275         [!+link-static] (+link-static-after-libc): Likewise.
72276         [!+link-static] (+link-static-tests): Likewise.
72277         [!+link-static] (+link-static): Define in terms of
72278         $(+link-static-before-libc) and $(+link-static-after-libc).
72279         [build-shared] (link-libc-before-gnulib): New variable.
72280         [build-shared] (link-libc-tests): Likewise.
72281         [build-shared] (link-libc): Define in terms of
72282         $(link-libc-before-gnulib).
72283         [!build-shared] (link-libc-tests): New variable.
72284         (link-libc-static-tests): New variable.
72285         [!gnulib] (gnulib-arch): New variable.
72286         [!gnulib] (gnulib-tests): Likewise.
72287         [!gnulib] (static-gnulib-arch): Likewise.
72288         [!gnulib] (static-gnulib-tests): Likewise.
72289         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
72290         Define with "=" instead of ":=".
72291         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
72292         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
72293         * Rules (binaries-all-notests): New variable.
72294         (binaries-all-tests): Likewise.
72295         (binaries-static-notests): Likewise.
72296         (binaries-static-tests): Likewise.
72297         (binaries-all): Define using $(binaries-all-notests) and
72298         $(binaries-all-tests).
72299         (binaries-static): Define using $(binaries-static-notests) and
72300         $(binaries-static-tests).
72301         (binaries-shared-tests): New variable.
72302         (binaries-shared-notests): Likewise.
72303         (binaries-shared): Remove variable.
72304         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
72305         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
72306         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
72307         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
72308         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
72309         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
72310         * elf/Makefile (sln-modules): New variable.
72311         (extra-objs): Add $(sln-modules:=.o).
72312         (ldconfig-modules): Add static-stubs.
72313         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
72314         * elf/static-stubs.c: New file.
72316         [BZ #14283]
72317         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
72318         by 7 not 8 to examine high bit of fractional part.  Use volatile
72319         variables when splitting into final array of floats if
72320         __FLT_EVAL_METHOD__ != 0.
72321         * math/libm-test.inc (cos_test): Add another test.
72322         (sin_test): Likewise.
72323         * sysdeps/i386/fpu/libm-test-ulps: Update.
72325         [BZ #14273]
72326         * math/libm-test.inc (cosh_test): Add more tests.
72328         * version.h (RELEASE): Set to "development".
72329         (VERSION): Set to "2.16.90".
72331 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
72333         * NEWS: Update copyright. Remove last-updated date.
72334         Mention math library bug fixes and timezone data changes.
72335         * README: Mention GNU/Hurd, x32, and HPPA support status.
72337 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
72339         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
72341 2012-06-27  Andreas Jaeger  <aj@suse.de>
72343         * manual/contrib.texi (Contributors): Add Samuel Thibault.
72345 2012-06-25  Andreas Jaeger  <aj@suse.de>
72347         * sysdeps/s390/fpu/libm-test-ulps: Update.
72349 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
72350             Thomas Schwinge  <thomas@codesourcery.com>
72352         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
72353         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
72354         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
72355         fanotify_mark.
72357 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
72359         * sysdeps/mach/start.c: Remove file.
72360         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
72361         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
72362         * sysdeps/sh/init-first.c: Likewise.
72364         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
72365         registers for frame unwinding purposes, add CFI directives.
72366         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72367         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
72368         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
72369         Likewise.
72371         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
72372         __fortify_fail returning.
72373         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
72375         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
72376         sysdeps/sh/____longjmp_chk.S.
72377         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
72378         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
72379         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
72380         (gen-as-const-headers): Append sigaltstack-offsets.sym.
72382         * sysdeps/sh/abort-instr.h: New file.
72383         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
72384         process in case exit returns.
72386         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
72387         initialize the GOT register before use.
72389         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
72390         calculation of ARGC > 4.
72392         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
72393         meaningful names to some local labels.
72395 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72396             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72398         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
72399         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
72400         (__arch_compare_and_exchange_val_16_acq): Likewise.
72401         (__arch_compare_and_exchange_val_32_acq): Likewise.
72402         (atomic_exchange_and_add): Fix gUSA sequence.
72403         (atomic_add): Likewise.
72404         (atomic_add_negative): Likewise.
72405         (atomic_add_zero): Likewise.
72406         (atomic_bit_test_set): Likewise.
72408 2012-06-22  Andreas Schwab  <schwab@redhat.com>
72410         [BZ #13579]
72411         * include/link.h (struct link_map): Add l_free_initfini.
72412         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
72413         l_initfini.
72414         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
72415         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
72416         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
72417         set.
72419 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
72421         * configure.in: Use AC_LANG_SOURCE.
72422         * configure: Regenerate.
72424 2012-06-22  Roland McGrath  <roland@hack.frob.com>
72426         * configure.in (libc_cv_localstatedir): New substituted variable.
72427         * configure: Regenerated.
72428         * config.make.in (localstatedir): New variable, substituted from
72429         libc_cv_localstatedir.
72430         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
72431         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
72432         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
72433         * sysdeps/gnu/configure: Regenerated.
72435 2012-06-21  Jeff Law  <law@redhat.com>
72437         [BZ #14277]
72438         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
72439         free.  Simplify list management for _LIBC case.
72441 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
72443         [BZ #14273]
72444         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
72445         Clear sign bit of 64-bit integer value before comparing against
72446         overflow value.
72448         * sysdeps/mach/configure: Regenerated.
72450 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
72452         [BZ #14278]
72453         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
72455 2012-06-21  Jeff Law  <law@redhat.com>
72457         [BZ #13882]
72458         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
72459         uint16_t for elements in the "seen" array to avoid char overflows.
72460         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72461         * elf/dl-open.c (dl_open_worker): Likewise.
72463 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
72465         * scripts/list-sources.sh: Scan PORTS for translations.
72466         * po/libc.pot: Regenerated.
72468 2012-06-21  Andreas Jaeger  <aj@suse.de>
72470         [BZ #12194]
72471         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
72472         warning.
72473         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
72474         * bits/byteswap-16.h (__bswap_16): Likewise.
72475         * bits/byteswap.h (__bswap_constant_16): Likewise.
72477 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
72479         [BZ #14117]
72480         * sysdeps/i386/fpu_control.h: Removed.
72481         * sysdeps/x86_64/fpu_control.h: Moved to ...
72482         * sysdeps/x86/fpu_control.h: Here.
72484         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
72485         (_FPU_SETCW): Likewise.
72487 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
72489         [BZ #14117]
72490         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
72491         * sysdeps/x86/fpu/bits/mathinline.h: This.
72492         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
72494         [BZ #14050]
72495         [BZ #14117]
72496         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
72497         functions if __x86_64__ is defined.
72499 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
72501         * string/endian.h: Add !__ASSEMBLER__ condition for including
72502         conversion interfaces.
72504 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
72506         [BZ #14241]
72507         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
72508         of ABS(x) in calculating zero to negative powers other than odd
72509         integers.
72510         * math/libm-test.inc (pow_test): Add more tests.
72512 2012-06-15  Andreas Jaeger  <aj@suse.de>
72514         * manual/contrib.texi (Contributors): Update entry of Liubov
72515         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
72516         Machado Filho.
72518 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
72520         * string/string.h: Add __wur to GNU version of strerror_r.
72522 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
72524         [BZ #14229]
72525         * string/Makefile (tests): Add tst-strtok_r.
72526         * string/tst-strtok_r.c: New file.
72527         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
72528         RAX_LP/RDX_LP on SAVE_PTR.
72530 2012-06-14  Roland McGrath  <roland@hack.frob.com>
72532         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
72534 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
72536         * libm_test.inc (csqrt_test): Allow more spurious underflow
72537         exceptions.
72538         (j0_test): Likewise.
72539         (j1_test): Likewise.
72540         (y0_test): Likewise.
72541         (y1_test): Likewise.
72543 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
72545         * po/Makefile (libc.pot): Use UTF-8 charset.
72547 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
72549         [BZ #14210]
72550         Suppress sign-conversion warning from FD_SET.
72551         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
72552         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
72553         not unsigned long int.
72554         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
72556 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
72558         [BZ #14050]
72559         [BZ #14117]
72560         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
72561         __extern_always_inline instead of __extern_inline.
72562         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
72563         (__signbit): Likewise.
72564         (__signbitl): Support C++ namespace.
72565         (lrintf): New inline function.
72566         (lrint): Likewise.
72567         (llrintf): Likewise.
72568         (llrint): Likewise.
72569         (fmaxf): Likewise.
72570         (fmax): Likewise.
72571         (fminf): Likewise.
72572         (fmin): Likewise.
72573         (rint): Likewise.
72574         (rintf): Likewise.
72575         (ceil): Likewise.
72576         (ceilf): Likewise.
72577         (floor): Likewise.
72578         (floorf): Likewise.
72579         (nearbyint): Likewise.
72580         (nearbyintf): Likewise.
72582 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
72584         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
72585         non-default versions.
72587 2012-06-11  Roland McGrath  <roland@hack.frob.com>
72589         [BZ #14218]
72590         * manual/argp.texi (Argp): Reword argp_parse description slightly.
72592 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
72594         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
72595         (FE_UPWARD, FE_DOWNWARD): Don't define.
72596         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
72597         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
72599         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
72600         reading it.
72601         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
72602         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72604 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
72606         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
72607         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
72608         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
72609         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
72611 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
72613         [BZ #14117]
72614         * sysdeps/i386/fpu/bits/fenv.h: Removed.
72615         * sysdeps/i386/fpu/Implies: New file.
72616         * sysdeps/x86_64/fpu/Implies: Likewise.
72617         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
72618         * sysdeps/x86/fpu/bits/fenv.h: This.
72620         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
72621         __SSE_MATH__.
72623 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72625         [BZ #14134]
72626         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
72627         character 0xffff that matches the last element of the
72628         conversion table.
72630 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72632         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
72633         fmodl commit.
72635 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72637         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
72638         values higher than 25.6283.
72640 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72642         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
72643         subnormal exponent extraction and add some __builtin_expect.
72644         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
72645         Fix for subnormal mantissa calculation.
72647 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
72649         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
72650         cpu2 is -1 and errno is not ENOSYS.
72652 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
72654         [BZ #14117]
72655         * sysdeps/i386/i486/bits/string.h: Renamed to ...
72656         * sysdeps/x86/bits/string.h: This.
72657         * sysdeps/x86_64/bits/string.h: Removed.
72659         * sysdeps/i386/i486/bits/string.h: Define inline functions only
72660         if not compiling for x86-64, but compiling for >= i486.
72662         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
72663         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
72665         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
72666         New macro from Linux kernel 3.4.0.
72667         (FP_XSTATE_MAGIC2): Likewise.
72668         (FP_XSTATE_MAGIC2_SIZE): Likewise.
72669         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
72670         (struct _fpx_sw_bytes): New struct.
72671         (struct _xsave_hdr): Likewise.
72672         (struct _ymmh_state): Likewise.
72673         (struct _xstate): Likewise.
72675         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
72676         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
72677         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
72678         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
72679         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
72680         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
72682         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
72683         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
72684         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
72685         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
72686         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
72687         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
72689 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72691         [BZ #13743]
72692         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
72693         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
72694         (sysdep_headers): Include sys/platform/ppc.h.
72695         * sysdeps/powerpc/test-gettimebase.c: Test for
72696         __ppc_get_timebase() to catch future ISA opcode/insn changes.
72697         * manual/Makefile (appendices): Include platform.texi.
72698         * manual/contrib.texi (Contributors): Update @node pointers.
72699         * manual/maint.texi (Maintenance): Likewise.
72700         (Platform): New node.
72701         * manual/platform.texi: New file.  Document the new features.
72703 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72704             Jakub Jelinek  <jakub@redhat.com>
72706         [BZ #14188]
72707         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
72708         where __builtin_expect is unavailable.
72710 2012-06-03  David S. Miller  <davem@davemloft.net>
72712         * stdlib/longlong.h: Updated from GCC.
72714 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
72716         [BZ #14042]
72717         * sysdeps/powerpc/powerpc32/mcount.c: New file.
72718         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
72719         __mcount_internal.
72720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
72721         (GLIBC_2.16): Likewise.
72723 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72725         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
72727 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
72730         (default-abi): New variable.
72731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
72732         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
72733         variable.
72734         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
72735         Likewise.
72736         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
72737         Likewise.
72738         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
72739         Likewise.
72741         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
72742         definition.  Document in comment.
72744 2012-06-01  David S. Miller  <davem@davemloft.net>
72746         * stdlib/longlong.h: Updated from GCC.
72748 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72750         [BZ #14117]
72751         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
72752         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
72753         sys/debugreg.h sys/io.h here.
72754         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
72755         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
72756         sys/io.h.
72757         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
72758         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
72759         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
72760         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
72761         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
72762         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
72764         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
72765         Define only if __x86_64__ is defined.
72767 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
72769         [BZ #14048]
72770         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
72771         Use int64_t for variable i.
72772         * math/libm-test.inc (fmod_test): Add more tests.
72774         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
72775         z computation is not scheduled after fetestexcept.
72776         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
72777         Use math_force_eval instead of asm to ensure calculation scheduled
72778         before exception test.
72779         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
72780         Ensure a1 + u.d computation is not scheduled after fetestexcept.
72782 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
72784         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
72785         computation is not scheduled after fetestexcept.
72787 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
72789         [BZ #14117]
72790         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
72791         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
72793 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72795         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
72796         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72798 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72800         [BZ #14117]
72801         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
72802         <bits/wordsize.h>.
72803         (__WCHAR_MIN): Support __WORDSIZE == 64.
72804         (__WCHAR_MAX): Likewise.
72806         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
72807         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
72809         [BZ #14183]
72810         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
72811         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
72813         [BZ #14117]
72814         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
72815         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
72817         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
72818         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
72820         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
72821         Defined to 1 if __x86_64__ isn't defined.
72822         (_STAT_VER_LINUX_OLD): New.
72823         (st_atime): Remove duplicate.
72824         (st_mtime): Likewise.
72825         (st_ctime): Likewise.
72827 2012-05-31  David S. Miller  <davem@davemloft.net>
72829         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
72830         entries.
72832 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
72834         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
72835         gen-libm-test.pl.
72837         [BZ #14132]
72838         * elf/dl-reloc.c: Include <_itoa.h>.
72839         (_dl_reloc_bad_type): Remove use of INTUSE.
72840         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
72841         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
72842         * stdio-common/psiginfo.c (psiginfo): Likewise.
72843         * stdio-common/psignal.c (psignal): Likewise.
72844         * string/strsignal.c (strsignal): Likewise.
72845         * include/signal.h (_sys_siglist): Declare hidden proto.
72846         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
72847         INTVARDEF with libc_hidden_data_def.
72848         * stdio-common/itoa-udigits.c: Likewise.
72849         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
72850         (_itoa_lower_digits_internal): Remove declaration.
72851         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
72852         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
72853         (_sys_sigabbrev_internal): Remove aliases.
72854         (_sys_siglist): Define hidden alias.
72856 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
72858         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72859         bits/sysctl.h.
72861 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
72863         [BZ #14117]
72864         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
72865         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
72867         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
72868         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
72869         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
72870         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
72871         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
72872         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
72874         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
72875         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
72876         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
72878         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
72879         with __addr.
72880         (insw): Likewise.
72881         (insl): Likewise.
72882         (outsb): Likewise.
72883         (outsw): Likewise.
72884         (outsl): Likewise.
72886         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
72887         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
72888         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
72890         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
72891         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
72892         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
72893         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
72894         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
72895         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
72897         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
72898         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
72900         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
72901         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
72903         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
72904         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
72905         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
72907         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
72908         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
72909         to ...
72910         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
72912         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
72913         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
72914         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
72916         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
72917         for x86-64.
72918         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
72920 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
72922         * math/math.h (M_El): Use two more decimal places.
72923         (M_LOG2El): Likewise.
72924         (M_LOG10El): Likewise.
72925         (M_LN2l): Likewise.
72926         (M_LN10l): Likewise.
72927         (M_PIl): Likewise.
72928         (M_PI_2l): Likewise.
72929         (M_PI_4l): Likewise.
72930         (M_1_PIl): Likewise.
72931         (M_2_PIl): Likewise.
72932         (M_2_SQRTPIl): Likewise.
72933         (M_SQRT2l): Likewise.
72934         (M_SQRT1_2l): Likewise.
72936 2012-05-31  David S. Miller  <davem@davemloft.net>
72938         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
72939         values between float registers.
72940         * sysdeps/sparc/sparc64/memset.S: Likewise.
72941         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72943 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
72945         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
72946         -D_FORTIFY_SOURCE=1.
72947         (CPPFLAGS-tst-longjmp_chk.c): Define.
72948         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
72949         (CPPFLAGS-tst-longjmp_chk2.c): Define.
72950         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
72951         CFLAGS-tst-wchar-h.c.
72953 2012-05-31  Marek Polacek  <polacek@redhat.com>
72955         [BZ #14132]
72956         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
72957         __endmntent_internal): Remove declaration.
72958         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
72959         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
72960         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
72962 2012-05-30  David S. Miller  <davem@davemloft.net>
72964         * sysdeps/sparc/sparc32/soft-fp/q_util.c
72965         (___Q_simulate_exceptions): Use real FP ops rather than writing
72966         into the %fsr.
72967         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
72968         Likewise.
72970 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
72972         [BZ #14117]
72973         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
72974         * sysdeps/x86/bits/xtitypes.h: This.
72976         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
72977         * sysdeps/x86/bits/wordsize.h: This.
72979         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
72980         * sysdeps/x86/bits/huge_vall.h: This.
72982         * sysdeps/i386/bits/select.h: Removed.
72983         * sysdeps/x86_64/bits/select.h: Renamed to ...
72984         * sysdeps/x86/bits/select.h: This.
72986         * sysdeps/i386/bits/setjmp.h: Removed.
72987         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
72988         * sysdeps/x86/bits/setjmp.h: This.
72990         * sysdeps/i386/bits/mathdef.h: Removed.
72991         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
72992         * sysdeps/x86/bits/mathdef.h: This.
72994 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
72996         [BZ #14132]
72997         * include/sys/socket.h (__connect_internal)
72998         (__libc_sa_len_internal): Remove declaration.
72999         (__connect, __libc_sa_len): Declare hidden_proto.
73000         (SA_LEN): Remove use of INTUSE.
73001         * socket/connect.c: Add libc_hidden_def.
73002         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
73003         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
73004         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
73005         alias.
73006         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
73007         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
73008         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
73009         of adding _internal alias.
73011 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73013         [BZ #14117]
73014         * sysdeps/i386/bits/link.h: Removed.
73015         * sysdeps/i386/bits/linkmap.h: Likewise.
73016         * sysdeps/x86_64/bits/link.h: Renamed to ...
73017         * sysdeps/x86/bits/link.h: This.
73018         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
73019         * sysdeps/x86/bits/linkmap.h: This.
73021         * sysdeps/i386/bits/endian.h: Removed.
73022         * sysdeps/x86_64/bits/endian.h: Renamed to ...
73023         * sysdeps/x86/bits/endian.h: This.
73025         * sysdeps/i386/bits/byteswap.h: Removed.
73026         * sysdeps/i386/bits/byteswap-16.h: Likewise.
73027         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
73028         * sysdeps/x86/bits/byteswap.h: This.
73029         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
73030         * sysdeps/x86/bits/byteswap-16.h: This.
73031         * sysdeps/i386/Implies: Add x86.
73032         * sysdeps/x86_64/Implies: Likewise.
73034 2012-05-30  David S. Miller  <davem@davemloft.net>
73036         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
73037         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
73038         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
73039         (FP_TRAPPING_EXCEPTIONS): Define.
73040         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
73041         (FP_TRAPPING_EXCEPTIONS): Define.
73042         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
73043         subnormals only when inexact has been signalled or underflow
73044         exceptions are enabled.
73045         (_FP_PACK_CANONICAL): Likewise.
73047 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73049         [BZ #14183]
73050         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
73051         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
73053 2012-05-30  Richard Henderson  <rth@twiddle.net>
73055         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
73056         with #ifndef NOT_IN_libc.
73058         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
73059         marked to avoid plt entry.
73061 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
73063         [BZ #14112]
73064         * Makeconfig (default-abi): New macro.
73065         (abi-includes): Likewise.
73066         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
73067         $(abi-$(default-abi)-lib-soname) for soname if defined.
73068         ($(common-objpfx)gnu/lib-names.stmp): Generate from
73069         abi-variants.
73070         * Makefile (installed-stubs): Likewise.
73071         * include/stubs-biarch.h: Removed.
73072         * scripts/lib-names.awk: Only handle one library at a time.
73073         * scripts/soversions.awk: Remove WORDSIZE support.
73074         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
73075         entries.
73076         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
73077         Removed.
73078         (syscall-list-default-condition): Likewise.
73079         (syscall-list-default-condition): Likewise.
73080         (syscall-list-includes): Likewise.
73081         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
73082         syscall-list-* with abi-*.  Handle undefined abi-variants.
73083         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
73084         * sysdeps/unix/sysv/linux/i386/Implies: New file.
73085         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
73086         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
73087         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
73088         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
73089         Removed.
73090         (syscall-list-32-options): Likewise.
73091         (syscall-list-32-condition): Likewise.
73092         (syscall-list-64-options): Likewise.
73093         (syscall-list-64-condition): Likewise.
73094         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
73095         macro.
73096         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
73097         Renamed to ...
73098         (abi-*): This.
73099         (abi-64-ld-soname): New macro.
73100         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
73101         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
73102         Renamed to ...
73103         (abi-*): This.
73104         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
73105         * sysdeps/x86_64/x32/shlib-versions: Likewise.
73107 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
73109         * sysdeps/unix/sysv/linux/kernel-features.h
73110         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
73111         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
73112         include <kernel-features.h>.
73113         [!__NR_ftruncate64]: Remove conditional code.
73114         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73115         [__NR_ftruncate64]: Make code unconditional.
73116         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73117         * sysdeps/unix/sysv/linux/truncate64.c: Do not
73118         include <kernel-features.h>.
73119         [!__NR_ftruncate64]: Remove conditional code.
73120         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73121         [__NR_ftruncate64]: Make code unconditional.
73122         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
73124         include <kernel-features.h>.
73125         [!__NR_ftruncate64]: Remove conditional code.
73126         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73127         [__NR_ftruncate64]: Make code unconditional.
73128         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
73130         include <kernel-features.h>.
73131         [!__NR_ftruncate64]: Remove conditional code.
73132         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73133         [__NR_ftruncate64]: Make code unconditional.
73134         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
73136         * configure.in (libc_cv_fpie): Weaken to a compile test using
73137         LIBC_TRY_CC_OPTION.
73138         * configure: Regenerated.
73140 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
73143         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
73144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
73145         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73146         Refreshed.
73147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
73148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
73149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
73150         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
73151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
73152         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73153         Refreshed.
73155 2012-05-27  David S. Miller  <davem@davemloft.net>
73157         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
73158         (___Q_zero): New.
73159         (__Q_simulate_exceptions): Return void.  Change to simulate
73160         exceptions by writing into the %fsr.
73161         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
73162         (__Qp_handle_exceptions): Likewise.
73163         (numbers): Delete.
73164         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
73165         __Qp_handle_exceptions.
73166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
73167         __Qp_handle_exceptions.
73168         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73169         as unused and give dummy FP_RND_NEAREST initializer.
73170         (FP_INHIBIT_RESULTS): Define.
73171         (___Q_simulate_exceptions): Update declaration.
73172         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
73173         formatting.
73174         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
73175         as unused and give dummy FP_RND_NEAREST initializer.
73176         (__Qp_handle_exceptions): Update declaration.
73177         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
73178         formatting.
73180 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
73182         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
73183         the temporary FPU control word.
73184         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
73185         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
73186         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
73187         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
73188         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
73189         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
73190         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
73191         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
73192         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
73193         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
73194         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
73196 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73198         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
73199         fields.
73201 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
73203         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
73204         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
73205         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
73206         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
73207         Likewise.
73208         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
73209         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
73210         Likewise.
73212 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
73214         * po/h.po: Update from translation team.
73216 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
73218         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
73220         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
73221         handling of denormals.
73222         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
73223         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
73224         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
73225         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
73226         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73227         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
73228         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
73229         Likewise.
73231 2012-05-26  Marek Polacek  <polacek@redhat.com>
73233         [BZ #14152]
73234         * math/libm-test.inc (fma_test): Don't always expect underflow
73235         exception.
73237 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
73239         [BZ #12416]
73240         * elf/tst-execstack.c: Include stackinfo.h.
73241         (do_test): Adjust test case to ensure that pthread_getattr_np
73242         behaviour remains the same after marking stack executable.
73244 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73246         * sysdeps/unix/sysv/linux/kernel-features.h
73247         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
73248         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
73249         kernel-features.h.
73250         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73251         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73252         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
73253         kernel-features.h.
73254         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
73255         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
73257 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
73259         * configure.in: Define the default includes to being none.
73260         * configure: Regenerated.
73262 2012-05-25  Roland McGrath  <roland@hack.frob.com>
73264         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
73265         * sysdeps/x86_64/setjmp.S: Likewise.
73266         * sysdeps/i386/bsd-setjmp.S: Likewise.
73267         * sysdeps/i386/bsd-_setjmp.S: Likewise.
73268         * sysdeps/i386/setjmp.S: Likewise.
73269         * sysdeps/i386/__longjmp.S: Likewise.
73270         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
73271         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
73273         * include/stap-probe.h: New file.
73274         * configure.in: Handle --enable-systemtap.
73275         * configure: Regenerated.
73276         * config.h.in (USE_STAP_PROBE): New #undef.
73277         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
73278         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
73279         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
73281 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
73283         [BZ #13717]
73284         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
73285         to 2.4.0 where earlier.
73286         * sysdeps/unix/sysv/linux/configure: Regenerated.
73287         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
73288         <kernel-features.h>.
73289         [__ASSUME_32BITUIDS]: Make code unconditional.
73290         [!__ASSUME_32BITUIDS]: Remove conditional code.
73291         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
73292         <kernel-features.h>.
73293         [__ASSUME_32BITUIDS]: Make code unconditional.
73294         [!__ASSUME_32BITUIDS]: Remove conditional code.
73295         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
73296         [__ASSUME_32BITUIDS]: Make code unconditional.
73297         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
73298         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
73299         <kernel-features.h>.
73300         [__ASSUME_32BITUIDS]: Make code unconditional.
73301         [!__ASSUME_32BITUIDS]: Remove conditional code.
73302         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
73303         <kernel-features.h>.
73304         [__ASSUME_32BITUIDS]: Make code unconditional.
73305         [!__ASSUME_32BITUIDS]: Remove conditional code.
73306         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
73307         <kernel-features.h>.
73308         [__ASSUME_32BITUIDS]: Make code unconditional.
73309         [!__ASSUME_32BITUIDS]: Remove conditional code.
73310         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
73311         <kernel-features.h>.
73312         [__ASSUME_32BITUIDS]: Make code unconditional.
73313         [!__ASSUME_32BITUIDS]: Remove conditional code.
73314         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
73315         <kernel-features.h>.
73316         [__ASSUME_32BITUIDS]: Make code unconditional.
73317         [!__ASSUME_32BITUIDS]: Remove conditional code.
73318         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
73319         <kernel-features.h>.
73320         [__ASSUME_32BITUIDS]: Make code unconditional.
73321         [!__ASSUME_32BITUIDS]: Remove conditional code.
73322         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
73323         <kernel-features.h>.
73324         [__ASSUME_32BITUIDS]: Make code unconditional.
73325         [!__ASSUME_32BITUIDS]: Remove conditional code.
73326         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
73327         <kernel-features.h>.
73328         [__ASSUME_32BITUIDS]: Make code unconditional.
73329         [!__ASSUME_32BITUIDS]: Remove conditional code.
73330         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
73331         <kernel-features.h>.
73332         [__ASSUME_32BITUIDS]: Make code unconditional.
73333         [!__ASSUME_32BITUIDS]: Remove conditional code.
73334         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
73335         <kernel-features.h>.
73336         [__ASSUME_32BITUIDS]: Make code unconditional.
73337         [!__ASSUME_32BITUIDS]: Remove conditional code.
73338         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
73339         <kernel-features.h>.
73340         [__NR_setresgid] (__setresgid): Do not declare.
73341         [__ASSUME_32BITUIDS]: Make code unconditional.
73342         [!__ASSUME_32BITUIDS]: Remove conditional code.
73343         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
73344         <kernel-features.h>.
73345         [__NR_setresuid] (__setresuid): Do not declare.
73346         [__ASSUME_32BITUIDS]: Make code unconditional.
73347         [!__ASSUME_32BITUIDS]: Remove conditional code.
73348         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
73349         <kernel-features.h>.
73350         [__ASSUME_32BITUIDS]: Make code unconditional.
73351         [!__ASSUME_32BITUIDS]: Remove conditional code.
73352         * sysdeps/unix/sysv/linux/i386/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
73389         (__ASSUME_SETRESUID_SYSCALL): Remove.
73390         (__ASSUME_SETRESGID_SYSCALL): Likewise.
73391         (__ASSUME_32BITUIDS): Likewise.
73392         (__ASSUME_LDT_WORKS): Likewise.
73393         (__ASSUME_O_DIRECTORY): Likewise.
73394         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
73395         architecture but not kernel version.
73396         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
73397         (__ASSUME_MMAP2_SYSCALL): Likewise.
73398         (__ASSUME_STAT64_SYSCALL): Likewise.
73399         (__ASSUME_IPC64): Likewise.
73400         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
73401         <kernel-features.h>.
73402         [__ASSUME_32BITUIDS]: Make code unconditional.
73403         [!__ASSUME_32BITUIDS]: Remove conditional code.
73404         * sysdeps/unix/sysv/linux/opendir.c: Do not include
73405         <kernel-features.h>.
73406         [__ASSUME_O_DIRECTORY]: Make code unconditional.
73407         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
73408         132096]: Remove conditional code.
73409         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
73410         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
73419         <kernel-features.h>.
73420         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
73421         unconditional.
73422         (__setresgid): Do not declare.
73423         [__ASSUME_32BITUIDS]: Make code unconditional.
73424         [!__ASSUME_32BITUIDS]: Remove conditional code.
73425         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
73426         <kernel-features.h>.
73427         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
73428         unconditional.
73429         (__setresuid): Do not declare.
73430         [__ASSUME_32BITUIDS]: Make code unconditional.
73431         [!__ASSUME_32BITUIDS]: Remove conditional code.
73432         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
73433         <kernel-features.h>.
73434         [__ASSUME_32BITUIDS]: Make code unconditional.
73435         [!__ASSUME_32BITUIDS]: Remove conditional code.
73436         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
73437         <kernel-features.h>.
73438         [__ASSUME_32BITUIDS]: Make code unconditional.
73439         [!__ASSUME_32BITUIDS]: Remove conditional code.
73441 2012-05-25  Richard Henderson  <rth@twiddle.net>
73443         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
73444         dl_hwcap to ifunc resolver.
73445         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
73446         elf_ifunc_invoke.
73447         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
73448         dl_hwcap to ifunc resolver.
73449         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
73451 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73453         [BZ #14153]
73454         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
73455         for |x| <= 2**-26, not 2**-57.
73456         * math/libm-test.inc (acos_test): Do not allow spurious underflow
73457         exception.
73459 2012-05-24  Jeff Law  <law@redhat.com>
73461         * stdio-common/Makefile (tests): Add bug25.
73462         * stdio-common/bug25.c: New test.
73464 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73466         [BZ #13576]
73467         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
73468         multiple of MALLOC_ALIGNMENT in size.
73469         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
73471 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73473         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
73474         Require >= 256.
73475         (FILENAME_MAX): Use macro-int-constant.
73476         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
73477         (_IOFBF): Use macro-int-constant.
73478         (_IOLBF): Likewise.
73479         (_IONBF): Likewise.
73480         (SEEK_CUR): Likewise.
73481         (SEEK_END): Likewise.
73482         (SEEK_SET): Likewise.
73483         (TMP_MAX): Likewise.
73484         (EOF): Use macro-int-constant.  Require < 0.
73485         (NULL): Use macro-constant.  Require == 0.
73486         (stdin): Require type to be FILE *.
73487         (stdout): Likewise.
73488         (stderr): Likewise.
73489         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
73490         macro-int-constant.
73491         (EXIT_SUCCESS): Likewise.
73492         (NULL): Use macro-constant.  Require == 0.
73493         (RAND_MAX): Use macro-int-constant.
73494         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
73495         [C99-based standards] (strtof): Require function.
73496         [C99-based standards] (strtold): Likewise.
73497         [C99-based standards] (strtoll): Likewise.
73498         [C99-based standards] (strtoull): Likewise.
73499         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73500         [ISO || ISO99 || ISO11] (limits.h): Likewise.
73501         [ISO || ISO99 || ISO11] (math.h): Likewise.
73502         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
73503         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73504         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73506 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
73508         [BZ #14132]
73509         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
73510         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
73511         * intl/dgettext.c (DCGETTEXT): Likewise.
73512         * intl/gettext.c (DCGETTEXT): Likewise.
73513         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
73514         * posix/regex_internal.h (gettext): Likewise.
73515         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
73516         Remove declaration.
73517         * include/argz.h (__argz_count_internal)
73518         (__argz_stringify_internal): Remove declaration.
73519         (__argz_count, __argz_stringify): Declare hidden proto.
73520         * intl/dcgettext.c: Remove use of INTDEF.
73521         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
73522         * string/argz-stringify.c: Likewise.
73523         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73524         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73525         Declare hidden proto.
73526         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
73527         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
73528         Declare hidden proto.
73529         * include/stdio.h (__asprintf_internal): Don't declare.
73530         (__asprintf): Don't define as macro.  Declare hidden proto.
73531         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
73532         (__fsetlocking): Declare hidden proto.
73533         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
73534         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
73535         hidden proto.
73536         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
73537         (_IO_setlinebuf): Remove use of INTUSE.
73538         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
73539         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
73540         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
73541         Remove declaration.
73542         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
73543         (_IO_do_flush): Remove use of INTUSE.
73544         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
73545         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
73546         (_IO_adjust_column, _IO_least_wmarker)
73547         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
73548         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
73549         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
73550         (_IO_default_doallocate, _IO_wdefault_doallocate)
73551         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
73552         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
73553         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
73554         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
73555         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
73556         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
73557         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
73558         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
73559         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
73560         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
73561         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
73562         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
73563         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
73564         proto.
73565         (_IO_flush_all_internal, _IO_adjust_column_internal)
73566         (_IO_default_uflow_internal, _IO_default_finish_internal)
73567         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
73568         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
73569         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
73570         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
73571         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
73572         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
73573         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
73574         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
73575         (_IO_file_close_internal, _IO_file_close_it_internal)
73576         (_IO_file_underflow_internal, _IO_file_overflow_internal)
73577         (_IO_file_init_internal, _IO_file_attach_internal)
73578         (_IO_file_fopen_internal, _IO_file_read_internal)
73579         (_IO_file_sync_internal, _IO_file_seek_internal)
73580         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
73581         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
73582         (_IO_str_underflow_internal, _IO_str_overflow_internal)
73583         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
73584         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
73585         (_IO_list_all_internal, _IO_link_in_internal)
73586         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
73587         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
73588         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
73589         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
73590         (_IO_do_write_internal, _IO_padn_internal)
73591         (_IO_getline_info_internal, _IO_getline_internal)
73592         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
73593         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
73594         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
73595         (_IO_vfscanf_internal, _IO_vfprintf_internal)
73596         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
73597         (_IO_init_internal, _IO_un_link_internal): Don't declare.
73598         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
73599         with libc_hidden_ver, remove use of INTUSE.
73600         * libio/genops.c: Likewise.
73601         * libio/freopen.c: Likewise.
73602         * libio/freopen64.c: Likewise.
73603         * libio/iofclose.c: Likewise.
73604         * libio/iofdopen.c: Likewise.
73605         * libio/iofflush.c: Likewise.
73606         * libio/iofflush_u.c: Likewise.
73607         * libio/iofgets.c: Likewise.
73608         * libio/iofgets_u.c: Likewise.
73609         * libio/iofopen.c: Likewise.
73610         * libio/iofopncook.c: Likewise.
73611         * libio/iofread.c: Likewise.
73612         * libio/iofread_u.c: Likewise.
73613         * libio/ioftell.c: Likewise.
73614         * libio/iofwrite.c: Likewise.
73615         * libio/iogetline.c: Likewise.
73616         * libio/iogets.c: Likewise.
73617         * libio/iogetwline.c: Likewise.
73618         * libio/iopadn.c: Likewise.
73619         * libio/iopopen.c: Likewise.
73620         * libio/ioseekoff.c: Likewise.
73621         * libio/ioseekpos.c: Likewise.
73622         * libio/iosetbuffer.c: Likewise.
73623         * libio/iosetvbuf.c: Likewise.
73624         * libio/ioungetc.c: Likewise.
73625         * libio/ioungetwc.c: Likewise.
73626         * libio/iovdprintf.c: Likewise.
73627         * libio/iovsprintf.c: Likewise.
73628         * libio/iovsscanf.c: Likewise.
73629         * libio/memstream.c: Likewise.
73630         * libio/obprintf.c: Likewise.
73631         * libio/oldfileops.c: Likewise.
73632         * libio/oldiofclose.c: Likewise.
73633         * libio/oldiofdopen.c: Likewise.
73634         * libio/oldiofopen.c: Likewise.
73635         * libio/oldiopopen.c: Likewise.
73636         * libio/oldstdfiles.c: Likewise.
73637         * libio/putc.c: Likewise.
73638         * libio/setbuf.c: Likewise.
73639         * libio/setlinebuf.c: Likewise.
73640         * libio/stdfiles.c: Likewise.
73641         * libio/strops.c: Likewise.
73642         * libio/vasprintf.c: Likewise.
73643         * libio/vscanf.c: Likewise.
73644         * libio/vsnprintf.c: Likewise.
73645         * libio/vswprintf.c: Likewise.
73646         * libio/wfiledoalloc.c: Likewise.
73647         * libio/wfileops.c: Likewise.
73648         * libio/wgenops.c: Likewise.
73649         * libio/wmemstream.c: Likewise.
73650         * libio/wstrops.c: Likewise.
73651         * libio/__fpurge.c: Likewise.
73652         * libio/__fsetlocking.c: Likewise.
73653         * assert/assert.c: Likewise.
73654         * debug/fgets_chk.c: Likewise.
73655         * debug/fgets_u_chk.c: Likewise.
73656         * debug/fread_chk.c: Likewise.
73657         * debug/fread_u_chk.c: Likewise.
73658         * debug/gets_chk.c: Likewise.
73659         * debug/obprintf_chk.c: Likewise.
73660         * debug/vasprintf_chk.c: Likewise.
73661         * debug/vdprintf_chk.c: Likewise.
73662         * debug/vsnprintf_chk.c: Likewise.
73663         * debug/vsprintf_chk.c: Likewise.
73664         * malloc/mtrace.c: Likewise.
73665         * misc/error.c: Likewise.
73666         * misc/syslog.c: Likewise.
73667         * stdio-common/asprintf.c: Likewise.
73668         * stdio-common/fxprintf.c: Likewise.
73669         * stdio-common/getw.c: Likewise.
73670         * stdio-common/isoc99_fscanf.c: Likewise.
73671         * stdio-common/isoc99_scanf.c: Likewise.
73672         * stdio-common/isoc99_vfscanf.c: Likewise.
73673         * stdio-common/isoc99_vscanf.c: Likewise.
73674         * stdio-common/isoc99_vsscanf.c: Likewise.
73675         * stdio-common/printf-prs.c: Likewise.
73676         * stdio-common/printf_fp.c: Likewise.
73677         * stdio-common/printf_fphex.c: Likewise.
73678         * stdio-common/printf_size.c: Likewise.
73679         * stdio-common/putw.c: Likewise.
73680         * stdio-common/scanf.c: Likewise.
73681         * stdio-common/sprintf.c: Likewise.
73682         * stdio-common/tmpfile.c: Likewise.
73683         * stdio-common/vfprintf.c: Likewise.
73684         * stdio-common/vfscanf.c: Likewise.
73685         * stdlib/strfmon_l.c: Likewise.
73686         * sunrpc/openchild.c: Likewise.
73687         * sunrpc/xdr_stdio.c: Likewise.
73688         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
73689         * sysdeps/mach/hurd/tmpfile.c: Likewise.
73691 2012-05-24  Roland McGrath  <roland@hack.frob.com>
73693         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
73695         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
73696         in the third column, to generate for the shared library an IFUNC
73697         that uses _dl_vdso_vsym.
73698         * Makerules (COMPILE.c, compile-stdin.c): New variables.
73699         * Makeconfig (object-suffixes-noshared): New variable.
73701         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
73702         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
73703         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
73704         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
73706         [BZ #14132]
73707         * include/sys/time.h (__gettimeofday): Remove macro.
73708         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
73709         * time/gettimeofday.c (__gettimeofday): Remove #undef.
73710         Remove INTDEF.
73711         (__gettimeofday): Add libc_hidden_def.
73712         (gettimeofday): Add libc_hidden_weak.
73713         * sysdeps/mach/gettimeofday.c: Likewise.
73714         * sysdeps/posix/gettimeofday.c: Likewise.
73715         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
73716         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
73717         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
73718         (__gettimeofday_internal): Remove strong_alias.
73719         (__gettimeofday): Add libc_hidden_def.
73720         (gettimeofday): Add libc_hidden_weak.
73721         * sysdeps/unix/syscalls.list (gettimeofday):
73722         Remove __gettimeofday_internal alias.
73724 2012-05-24  Daniel Jacobowitz  <drow@false.org>
73725             H.J. Lu  <hongjiu.lu@intel.com>
73727         [BZ #12495]
73728         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
73729         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
73730         (largebin_index_32_big): New.
73731         (largebin_index): Use it for 16-byte alignment.
73732         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
73733         correction with front_misalign.
73735 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
73737         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
73738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
73739         Likewise.
73740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
73741         Likewise.
73742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
73743         Likewise.
73744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
73745         Likewise.
73746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
73747         Likewise.
73748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
73749         Likewise.
73750         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
73751         Likewise.
73752         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
73753         Likewise.
73754         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
73755         Likewise.
73756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
73757         Likewise.
73758         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
73759         Likewise.
73760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
73761         Likewise.
73763         * scripts/data/c++-types-x32-linux-gnu.data: New file.
73764         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
73766 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
73768         [BZ #10846]
73769         [BZ #14036]
73770         * math/libm-test.inc (exp_test): Add test from bug 14036.
73771         (pow_test): Add test from bug 10846.
73773         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
73774         and other flags.
73775         (special_function): Do not include flags in test name.
73776         (parse_args): Likewise.
73777         * sysdeps/i386/fpu/libm-test-ulps: Update.
73778         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73779         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
73780         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
73781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73783         * math/gen-libm-test.pl (%beautify): Add entries for underflow
73784         exceptions.
73785         * math/libm-test.inc ("Philosophy"): Update comment about
73786         exception testing.
73787         (UNDERFLOW_EXCEPTION): New macro.
73788         (UNDERFLOW_EXCEPTION_OK): Likewise.
73789         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
73790         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
73791         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
73792         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
73793         (INVALID_EXCEPTION_OK): Update value.
73794         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
73795         (OVERFLOW_EXCEPTION_OK): Likewise.
73796         (IGNORE_ZERO_INF_SIGN): Likewise.
73797         (test_exceptions): Handle underflow exceptions.
73798         (acos_test): Update for underflow exception expectations.
73799         (cexp_test): Likewise.
73800         (clog_test): Likewise.
73801         (clog10_test): Likewise.
73802         (csqrt_test): Likewise.
73803         (ctan_test): Likewise.
73804         (ctanh_test): Likewise.
73805         (exp_test): Likewise.
73806         (exp10_test): Likewise.
73807         (exp2_test): Likewise.
73808         (expm1_test): Likewise.
73809         (fma_test): Likewise.
73810         (j0_test): Likewise.
73811         (jn_test): Likewise.
73812         (nexttoward_test): Likewise.
73813         (pow_test): Likewise.
73814         (scalbn_test): Likewise.
73815         (scalbln_test): Likewise.
73816         (tan_test): Likewise.
73817         (y1_test): Likewise.
73818         * sysdeps/i386/fpu/libm-test-ulps: Update.
73819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73821 2012-05-23  David S. Miller  <davem@davemloft.net>
73823         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
73824         (__libc_sigaction): Remove unused local variables.
73826 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73828         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
73830 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
73832         mktime: avoid signed integer overflow
73833         * time/mktime.c (__mktime_internal): Do not mishandle the case
73834         where diff == INT_MIN.
73836         mktime: simplify computation of average
73837         * time/mktime.c (ranged_convert): Use new time_t_avg function
73838         instead of rolling our own (probably-slower) code.
73840         mktime: do not assume signed right shift propagates sign bit
73841         * time/mktime.c (isdst_differ): New static function.
73842         (__mktime_internal): No need to normalize tm_isdst now.
73843         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
73844         tm_isdst values.
73846         mktime: merge another wrapv change from gnulib
73847         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
73848         from some compilers.
73850         mktime: remove incorrect attempt at unusual arithmetics
73851         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
73852         The code didn't really work on such machines anyway.
73853         (TYPE_MINIMUM): Assume two's complement.
73854         (twos_complement_arithmetic): Verify that long_int and time_t
73855         are two's complement (or unsigned, in the latter case).
73857         mktime: check signed shifts on long_int and time_t, too
73858         * time/mktime.c (SHR): Check that shifts work as desired
73859         on the types long_int and time_t too, as SHR is used on
73860         such types.
73862         mktime: do not assume 'long' is wide enough
73863         * time/mktime.c (verify): Move decl up.
73864         (long_int): New type.
73865         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
73866         to remove assumption in the code that 'long' is wide enough to
73867         store year values.  This assumption is not true on x32 and on
73868         some non-glibc platforms.
73870         mktime: merge wrapv change from gnulib
73871         * time/mktime.c (WRAPV): New macro.
73872         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
73873         (guess_time_tm, __mktime_internal): Do not assume that signed
73874         integer overflow wraps around; modern compilers generate code
73875         where this assumption is no longer valid.
73877 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73879         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
73880         Replace "jmp L(pseudo_end)" with "ret".
73881         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
73882         Likewise.
73884 2012-05-23  Andreas Jaeger  <aj@suse.de>
73886         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
73887         * sysdeps/unix/sysv/linux/poll.c: Remove file.
73889 2012-05-23  Andreas Jaeger  <aj@suse.de>
73890             Maximilian Attems  <max@stro.at>
73892         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
73893         New macros.
73895 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
73897         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
73898         code so that pseudo_end is just ret and the stack pointer is
73899         correct also for static library in error case.
73901 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
73903         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
73904         move to syscalls.list.
73905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
73906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
73907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
73908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
73910         * manual/install.texi (Running make install): Do not mention Linux
73911         kernel version for which pt_chown is not needed.
73912         (Linux): Do not mention problems with nscd with 2.0 kernels.
73913         * INSTALL: Regenerated.
73915 2012-05-23  Andreas Jaeger  <aj@suse.de>
73917         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
73918         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
73919         macro.
73920         * sysdeps/unix/sysv/linux/s390/bits/mman.h
73921         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73922         * sysdeps/unix/sysv/linux/sh/bits/mman.h
73923         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73924         * sysdeps/unix/sysv/linux/i386/bits/mman.h
73925         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73926         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
73927         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73928         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
73929         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
73930         * sysdeps/unix/sysv/linux/bits/in.h
73931         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
73933 2012-05-22  Roland McGrath  <roland@hack.frob.com>
73935         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
73936         (PREPARE_VERSION): Just use assert instead, it will be elided
73937         under [NDEBUG] anyway.
73939 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73941         * sysdeps/unix/sysv/linux/Makefile: Include
73942         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
73943         (sysdep_routines): Remove sysctl.
73944         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
73945         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
73946         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
73947         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
73948         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
73950 2012-05-22  Andreas Jaeger  <aj@suse.de>
73952         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
73953         that pseudo_end is just ret and the stack pointer is correct also
73954         for static library in error case.
73956 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
73958         [BZ #14122]
73959         * nss/nsswitch.c (defconfig_entries): New variable.
73960         (__nss_database_lookup): Don't leak defconfig entries.
73961         (nss_parse_service_list): Don't leak on error paths.
73962         (free_database_entries): New function.
73963         (free_defconfig): New function.
73964         (free_mem): Move common code to free_database_entries.
73966 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73968         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
73969         Add arch_prctl.
73970         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
73972         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
73973         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
73974         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
73975         New macro.
73976         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
73977         (INTERNAL_SYSCALL_TYPES): Likewise.
73978         (LOAD_ARGS_TYPES_[1-6]): Likewise.
73979         (LOAD_REGS_TYPES_[1-6]): Likewise.
73980         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
73981         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
73983 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73985         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
73986         copysignl for GLIBC_2_0.
73987         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
73988         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
73989         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
73990         logbl for GLIBC_2_0.
73991         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
73992         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
73994 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
73996         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
73997         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
73999         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
74000         Use "neg %eax".
74002         * time/mktime.c: Update copyright years.
74004 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
74006         mktime: merge comment-quoting-style change from gnulib
74007         * time/mktime.c: Quote 'like this' in comments.
74008         The GNU coding standards suggest that we no longer quote `like this',
74009         as "`" and "'" are typically rendered asymmetrically nowadays.
74010         The typical gnulib style is to quote 'like this' when quoting
74011         code, and "like this" when quoting English.
74013         * time/mktime.c (compile-command): Add "-I.".
74015         mktime: merge mktime-internal.h change from gnulib
74016         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
74018         mktime: merge time_r change from gnulib
74019         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
74021         mktime: merge DEBUG change from gnulib
74022         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
74023         case system <time.h> has a #define.
74025         mktime: merge <sys/types.h> change from gnulib
74026         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
74027         since <time.t> is now guaranteed to define time_t.
74029         mktime: merge HAVE_CONFIG_H change from gnulib
74030         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
74032 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
74034         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74035         Use "neg %eax".
74037         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
74038         __rlim_t cast.
74039         (struct rusage): Use anonymous union to pad each field to
74040         __syscall_slong_t.
74042 2012-05-21  David S. Miller  <davem@davemloft.net>
74044         * Makefules (o-iterator): Remove .s cases.
74045         (compile-command.s): Delete.
74046         (COMPILE.s): Delete.
74047         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
74049 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
74051         * configure.in (libc_cv_predef_stack_protector): Only consider
74052         "foobar" and "__stack_chk_fail" lines in libc_undefs.
74053         * configure: Regenerated.
74055 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74057         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
74058         New macro.  Use R*LP on int and pointer.
74059         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
74060         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
74061         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
74062         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
74064         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
74065         [__WORDSIZE_TIME64_COMPAT32] instead of
74066         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
74067         (struct utmp): Likewise.
74068         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
74069         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
74070         Renamed to ...
74071         (__WORDSIZE_TIME64_COMPAT32): This.
74072         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
74073         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
74074         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74075         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
74076         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
74077         (__WORDSIZE_TIME64_COMPAT32): New macro.
74079 2012-05-21  Andreas Jaeger  <aj@suse.de>
74081         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
74082         only if [SHARED]. Add prototype for __wcschr_ia32.
74084 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74086         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
74087         of %rbp unmolested in the jmp_buf while mangling the low bits.
74088         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
74089         unmolested high bits of %rbp while demangling the low bits.
74090         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
74092 2012-05-21  Andreas Jaeger  <aj@suse.de>
74094         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
74095         * sunrpc/svc_simple.c: Use it for registerrpc.
74096         * sunrpc/xcrypt.c: Use it for passwd2des.
74098         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
74100 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74102         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
74103         Don't define if [__SYSCALL_WORDSIZE != 32].
74104         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
74105         New macro.
74107 2012-05-21  Bruno Haible  <bruno@clisp.org>
74108             Andreas Jaeger  <aj@suse.de>
74110         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
74111         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
74112         inptr and inend for must_buffer_ch.
74113         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
74114         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
74115         * stdio-common/Makefile (tests): Remove bug15.
74116         (bug15-ENV): Remove macro.
74117         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
74118         anymore.
74120 2012-05-19  Andreas Jaeger  <aj@suse.de>
74121             Roland McGrath  <roland@hack.frob.com>
74123         * manual/contrib.texi: Completely rewritten. It contains now an
74124         alphabetical list of contributors and their contributions.
74126 2012-05-21  Richard Henderson  <rth@twiddle.net>
74128         * misc/getauxval.c (__getauxval): Use unsigned long int.
74129         * misc/sys/auxv.h: Include <sys/cdefs.h>.
74130         (getauxval): Use unsigned long int.
74132 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
74134         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
74136 2012-05-21  Roland McGrath  <roland@hack.frob.com>
74138         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
74139         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
74140         __alignof__ (long double).
74142 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74146 2012-05-20  Richard Henderson  <rth@twiddle.net>
74148         * misc/getauxval.c: New file.
74149         * misc/sys/auxv.h: New file.
74150         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
74151         (routines): Add getauxval.
74152         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
74153         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
74154         * elf/dl-sysdep.c (_dl_auxv): Remove.
74155         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
74156         * elf/dl-support.c (_dl_auxv): New variable.
74157         (_dl_aux_init): Initialize it.
74158         * manual/startup.texi (Auxiliary Vector): New node.
74159         * sysdeps/generic/bits/hwcap.h: New file.
74160         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
74161         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
74162         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
74163         * sysdeps/sparc/sysdep.h: ... here.  Include it.
74164         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
74165         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
74166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74167         Update.
74168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
74169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
74170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
74171         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
74172         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
74174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
74175         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
74177 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74181 2012-05-19  David S. Miller  <davem@davemloft.net>
74183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74185 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74187         [BZ #14123]
74188         * math/s_ccosh.c: Include <float.h>
74189         (__ccosh): Avoid internal overflow calculating sinh and cosh
74190         values before multiplying by sin and cos values.
74191         * math/s_ccoshf.c: Likewise.
74192         * math/s_ccoshl.c: Likewise.
74193         * math/s_csin.c: Likewise.
74194         * math/s_csinf.c: Likewise.
74195         * math/s_csinl.c: Likewise.
74196         * math/s_csinh.c: Likewise.
74197         * math/s_csinhf.c: Likewise.
74198         * math/s_csinhl.c: Likewise.
74199         * math/libm-test.inc (ccos_test): Add more tests.
74200         (ccosh_test): Likewise.
74201         (csin_test): Likewise.
74202         (csinh_test): Likewise.
74203         * sysdeps/i386/fpu/libm-test-ulps: Update.
74204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74206 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
74208         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
74209         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
74211         * sysdeps/x86_64/x32/_itoa.h: Add comment.
74213 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
74215         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
74216         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
74217         * sysdeps/powerpc/soft-fp/Versions: Likewise.
74218         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
74219         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
74220         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
74221         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
74222         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
74223         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
74224         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
74225         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
74226         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
74227         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
74228         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
74229         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
74230         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
74231         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
74232         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
74233         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
74234         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
74235         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
74236         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
74237         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
74238         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
74239         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
74240         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
74241         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
74242         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
74243         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
74244         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
74245         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
74247 2012-05-18  Andreas Jaeger  <aj@suse.de>
74249         * csu/.gitignore: Delete.
74251 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74253         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
74254         (timex): Use __syscall_slong_t.
74256 2012-05-18  Andreas Jaeger  <aj@suse.de>
74257             Carlos O'Donell  <carlos_odonell@mentor.com>
74259         * manual/install.texi (Configuring and compiling): Update
74260         description about files modified in the source directory.
74261         * INSTALL: Regenerated.
74263 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74265         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
74266         value.  Use "or" to set return value to -1.
74267         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
74268         negate return value.
74270 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74272         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
74273         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
74274         failure if the compiler has Graphite support disabled.
74275         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
74276         Likewise.
74277         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
74278         (CFLAGS-memmove.c): Likewise.
74279         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
74280         Likewise.
74282 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
74284         * sysdeps/x86_64/x32/_itoa.h: New file.
74286         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
74287         getdents system call only if kernel and user dirents have the
74288         same d_ino and d_off.
74290         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
74291         LLONG_MAX != LONG_MAX.
74292         (_itoa_word): Use _ITOA_WORD_TYPE on value.
74293         (_fitoa_word): Likewise.
74295         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
74296         years.
74297         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
74298         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
74299         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
74301         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
74302         include <bits/wordsize.h>.  Check __x86_64__ instead of
74303         __WORDSIZE.
74304         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
74305         if __x86_64__ is defined.  Use anonymous union on fpstate.
74307         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
74308         anonymous union.
74310 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
74312         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
74313         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
74314         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
74315         Refer to _rtld_local_ro instead of _rtld_global_ro.
74316         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
74317         Likewise.
74318         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
74319         Likewise.
74320         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
74321         Likewise.
74322         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
74323         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
74324         of _rtld_global, and rtld_progname instead of _dl_argv[0].
74326         [BZ #10882]
74327         * sysdeps/powerpc/powerpc32/dl-machine.c
74328         (__elf_machine_runtime_setup) [PROF]: Don't reference
74329         _dl_prof_resolve.
74331 2012-05-18  Andreas Jaeger  <aj@suse.de>
74333         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
74334         function only available for GCCs before 3.4 since GCC 3.4
74335         introduced a builtin.
74336         (lrint): Likewise.
74337         (llrintf): Likewise.
74338         (llrint): Likewise.
74339         (fmaxf): Likewise.
74340         (fmax): Likewise.
74341         (fminf): Likewise.
74342         (fmin): Likewise.
74343         (rint): Likewise.
74344         (rintf): Likewise.
74345         (nearbyint): Likewise.
74346         (nearbyintf): Likewise.
74347         (ceil): Likewise.
74348         (ceilf): Likewise.
74349         (floor): Likewise.
74350         (floorf): Likewise.
74352 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74354         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
74355         on both fields and cast pointer to __syscall_ulong_t.
74357         * bits/types.h (__fsword_t): New type.
74358         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
74359         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
74360         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74361         (__FSWORD_T_TYPE): Likewise.
74362         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74363         (__FSWORD_T_TYPE): Likewise.
74364         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74365         (__FSWORD_T_TYPE): Likewise.
74366         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
74367         (__FSWORD_T_TYPE): Likewise.
74368         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
74369         __SWORD_TYPE with __fsword_t.
74370         (statfs64): Likewise.
74372 2012-05-17  David S. Miller  <davem@davemloft.net>
74374         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
74376 2012-05-17  Andreas Jaeger  <aj@suse.de>
74378         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
74379         warning.
74381 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74383         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
74385 2012-05-17  Andreas Jaeger  <aj@suse.de>
74387         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
74388         when it is used.
74390 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74392         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
74394 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
74396         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
74397         * sysdeps/x86_64/tst-mallocalign1.c: New file.
74399 2012-05-17  Andreas Jaeger  <aj@suse.de>
74400             Carlos O'Donell  <carlos_odonell@mentor.com>
74402         [BZ #14059]
74403         * sysdeps/x86_64/multiarch/init-arch.h
74404         (bit_YMM_Usable): Rename to...
74405         (bit_AVX_Usable): ... this.
74406         (bit_FMA4_Usable): New macro.
74407         (bit_XMM_state): New macro.
74408         (bit_YMM_state): New macro.
74409         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
74410         [__ASSEMBLER__] (index_AVX_Usable): ... this.
74411         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
74412         (CPUID_OSXSAVE): New macro.
74413         (CPUID_AVX): New macro.
74414         (CPUID_FMA4): New macro.
74415         (index_YMM_Usable): Rename to...
74416         (index_AVX_Usable): ... this.
74417         (HAS_AVX): Use HAS_ARCH_FEATURE.
74418         (HAS_FMA4): Likewise.
74419         (HAS_YMM_USABLE): Remove.
74420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74421         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
74422         are present.
74423         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
74424         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
74425         * sysdeps/x86_64/multiarch/Makefile: Likewise.
74426         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
74427         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
74429 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
74431         * math/libm-test.c: Support platforms without multiple rounding modes.
74432         * math/bug-nextafter.c: Support platforms without FP exceptions.
74433         * math/bug-nexttoward.c: Likewise.
74434         * math/test-fenv.c: Likewise.
74435         * math/test-misc.c: Likewise.
74436         * stdlib/bug-getcontext.c: Likewise.
74438 2012-05-17  Andreas Jaeger  <aj@suse.de>
74440         * manual/examples/search.c (critter_cmp): Change signature to
74441         avoid warnings.
74442         * manual/string.texi (Collation Functions): Likewise.
74444 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74446         * bits/types.h: Fold copyright years.
74447         * bits/typesizes.h: Likewise.
74448         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
74449         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
74450         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
74451         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
74452         * time/time.h: Likewise.
74454 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
74456         [BZ #208]
74457         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
74458         in instead of returning them.  Return void.
74459         (__libc_mallinfo): Accumulate over all arenas.
74460         (__malloc_stats): Adjust for change in int_mallinfo interface.
74462 2012-05-16  Roland McGrath  <roland@hack.frob.com>
74464         [BZ #10375]
74465         * configure.in (NM): Add AC_CHECK_TOOL for it.
74466         (libc_extra_cflags): New substituted variable.
74467         Check for -fstack-protector being used implicitly.
74468         * configure: Regenerated.
74469         * config.make.in (config-extra-cflags): New variable,
74470         gets @libc_extra_cflags@.
74471         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
74473         [BZ #10375]
74474         * configure.in: Check for _FORTIFY_SOURCE being predefined.
74475         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
74476         * configure: Regenerated.
74477         * config.make.in (CPPUNDEFS): New substituted variable.
74478         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
74479         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
74480         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
74482 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74484         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
74485         (mq_attr): Use __syscall_slong_t.
74487 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74489         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
74490         Check __x86_64__ instead of __WORDSIZE.
74491         (_STAT_VER_LINUX): Likewise.
74492         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
74493         __syscall_ulong_t and __syscall_slong_t.
74494         (stat64): Likewise.
74496 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74498         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
74500 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74502         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
74504 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74506         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
74507         __syscall_ulong_t.
74509         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
74510         include <bits/wordsize.h>.  Check __x86_64__ instead of
74511         __WORDSIZE.
74512         (greg_t): Use "__extension__ long long int" if __x86_64__ is
74513         defined.
74514         (mcontext_t): Replace "unsigned long" with "unsigned long long".
74516         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
74517         include <bits/wordsize.h>.  Check __x86_64__ instead of
74518         __WORDSIZE.
74519         (user_regs_struct): Use "__extension__ unsigned long long"
74520         instead of "unsigned long" if __x86_64__ is defined.
74521         (user): Likewise.  Pad after pointer field if __ILP32__ is
74522         defined.
74524 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
74526         * configure.in (makeinfo): Require version 4.5 or later.  Allow
74527         versions 5 to 9.
74528         * configure: Regenerated.
74529         * manual/install.texi (texinfo): Increase version requirement to
74530         4.5 or later.
74531         * INSTALL: Regenerated.
74533         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
74535 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
74537         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
74539         * sysdeps/x86_64/x32/ffs.c: New file.
74541         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
74542         __syscall_ulong_t.
74543         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
74544         defined.  Use __syscall_ulong_t.
74545         (shminfo): Use __syscall_ulong_t.
74546         (shm_info): Likewise.
74548         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
74549         __syscall_ulong_t.
74551         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
74552         <bits/wordsize.h>.
74553         (msgqnum_t): Use __syscall_ulong_t.
74554         (msglen_t): Likewise.
74555         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
74556         __syscall_ulong_t.
74558         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
74559         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74561         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
74563         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
74564         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
74566         * sysvipc/sys/msg.h (msgbuf): Replace long int with
74567         __syscall_slong_t.
74569         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
74570         include <bits/wordsize.h>.  Check __x86_64__ instead of
74571         __WORDSIZE.
74573         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
74574         "unsigned long long int" if __x86_64__ is defined.
74575         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
74577         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
74578         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
74579         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
74581         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
74582         <stdint.h>.
74583         (GET_PC): Cast to uintptr_t first.
74584         (GET_FRAME): Likewise.
74585         (GET_STACK): Likewise.
74587         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
74588         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
74589         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
74590         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
74591         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
74592         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
74593         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
74594         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
74595         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
74596         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
74597         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
74598         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
74599         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
74600         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
74601         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
74602         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
74603         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
74604         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
74605         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
74606         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
74607         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
74608         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
74609         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
74610         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
74611         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
74612         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
74613         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
74614         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
74615         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
74617 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
74619         * Makerules (+depfiles): Also collect depfiles from .oS in
74620         $(extra-objs).
74621         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
74622         .oS, $(libnldbl-routines)).
74624         * Makerules (native-compile-mkdep-flags): Define.
74625         * sunrpc/Makefile (extra-objs): Add $(addprefix
74626         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
74627         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
74628         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
74629         calling $(make-target-directory).
74631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74633         * bits/types.h (__snseconds_t): Removed.
74634         * time/time.h (struct timespec): Replace __snseconds_t with
74635         __syscall_slong_t.
74636         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
74637         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
74638         Likewise.
74639         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74640         (__SNSECONDS_T_TYPE): Likewise.
74641         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74642         (__SNSECONDS_T_TYPE): Likewise.
74643         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74644         (__SNSECONDS_T_TYPE): Likewise.
74646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74648         * sysdeps/mach/hurd/bits/typesizes.h
74649         (__SYSCALL_SLONG_TYPE): New macro.
74650         (__SYSCALL_ULONG_TYPE): Likewise.
74652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74654         * bits/types.h (__syscall_slong_t): New type.
74655         (__syscall_ulong_t): Likewise.
74657         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
74658         (__SYSCALL_ULONG_TYPE): Likewise.
74659         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74660         (__SYSCALL_SLONG_TYPE): Likewise.
74661         (__SYSCALL_ULONG_TYPE): Likewise.
74662         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74663         (__SYSCALL_SLONG_TYPE): Likewise.
74664         (__SYSCALL_ULONG_TYPE): Likewise.
74665         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74666         (__SYSCALL_SLONG_TYPE): Likewise.
74667         (__SYSCALL_ULONG_TYPE): Likewise.
74669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74671         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
74672         Add sigaltstack-offsets.sym.
74673         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
74674         <sigaltstack-offsets.h>.
74675         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
74676         longjmp_msg pointer.
74677         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
74678         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
74679         signal stack.
74680         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
74682 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74684         * elf/stackguard-macros.h: Remove file.
74685         * sysdeps/generic/stackguard-macros.h: New file.
74686         * sysdeps/i386/stackguard-macros.h: Likewise.
74687         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
74688         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
74689         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
74690         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
74691         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
74692         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
74693         * sysdeps/x86_64/stackguard-macros.h: Likewise.
74694         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
74695         <elf/stackguard-macros.h>.
74697         [BZ #14109]
74698         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
74699         __aligned__ in attribute.
74700         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
74701         (gregset_t): Likewise.
74703 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74705         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
74706         * sysdeps/x86_64/64/Implies-after: Here.  New file.
74707         * sysdeps/x86_64/x32/Implies-after: New file.
74709 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74711         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
74712         and access return value for _dl_profile_fixup.  Use R10_LP to
74713         load frame size.
74715 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74717         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
74719 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74721         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
74722         * sysdeps/x86_64/x32/sysdep.h: New file.
74724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74726         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
74727         * sysdeps/x86_64/setjmp.S: Likewise.
74729 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74731         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
74732         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
74733         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
74734         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
74735         remove unused global constant.
74737 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
74739         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
74740         include of <not-cancel.h>.
74742 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74744         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
74746 2012-05-15  Jeff Law  <law@redhat.com>
74747             Andreas Jaeger  <aj@suse.de>
74749         [BZ #13594]
74750         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
74751         out from...
74752         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
74753         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
74754         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
74755         code changing __hst_map_handle.map.
74757 2012-05-15  Roland McGrath  <roland@hack.frob.com>
74759         * configure.in (sysnames): Look for Implies-before and Implies-after
74760         files.
74761         * configure: Regenerated.
74763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74765         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
74766         8-byte data alignment with LP_SIZE alignment.
74768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74770         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
74771         into R10_LP.
74773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74775         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
74777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74779         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
74780         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
74781         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
74782         Likewise.
74783         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
74785 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74787         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
74788         (stackinfo_sub_sp): Likewise.
74790 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74792         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
74793         RAX_LP.
74795 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74797         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
74798         into R*_LP.
74800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74802         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
74803         sizes into R*_LP.
74805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74807         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
74809 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74811         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
74812         into R11_LP and load __x86_64_shared_cache_size_half into
74813         R8_LP.
74815 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
74817         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
74818         R8_LP.
74820 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74822         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
74823         logb for POWER7.
74824         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
74825         logbf for POWER7.
74826         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
74827         logbl for POWER7.
74828         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
74829         powerpc32/power7/fpu/s_logb.c via #include.
74830         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
74831         powerpc32/power7/fpu/s_logbf.c via #include.
74832         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
74833         powerpc32/power7/fpu/s_logbl.c via #include.
74835 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
74837         * README.libm: Remove file.
74839 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74841         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
74842         count for x32.  Use R*_LP and omit operand-size suffix.
74844 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74846         * shlib-versions: Move x86_64-.*-linux.* entries to ...
74847         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
74848         * sysdeps/x86_64/x32/shlib-versions: New file.
74850 2012-05-14  Roland McGrath  <roland@hack.frob.com>
74852         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
74853         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
74854         Use _dl_fatal_printf instead.
74856 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74858         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
74859         set if not set by the user.  Do not allow for being unset.
74860         * sysdeps/unix/sysv/linux/configure: Regenerated.
74862 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74864         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
74865         the `q' suffix from lea and replace .quad with ASM_ADDR.
74867 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74869         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
74870         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
74871         instead of $17.
74872         (PTR_DEMANGLE): Likewise.
74874 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74876         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
74877         (LP_OP): Likewise.
74878         (ASM_ADDR): Likewise.
74879         (RAX_LP): Likewise.
74880         (RBP_LP): Likewise.
74881         (RBX_LP): Likewise.
74882         (RCX_LP): Likewise.
74883         (RDI_LP): Likewise.
74884         (RSI_LP): Likewise.
74885         (RSP_LP): Likewise.
74886         (R8_LP): Likewise.
74887         (R9_LP): Likewise.
74888         (R10_LP): Likewise.
74889         (R10_LP): Likewise.
74890         (R11_LP): Likewise.
74891         (R12_LP): Likewise.
74892         (R13_LP): Likewise.
74893         (R14_LP): Likewise.
74894         (R15_LP): Likewise.
74896 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
74898         * sysdeps/x86_64/x32/dl-machine.h: New file.
74900 2012-05-14  Andreas Jaeger  <aj@suse.de>
74902         * manual/Makefile (subdir): Remove export of subdir.
74903         (all): Remove target.
74904         (.PHONY): Remove all from list.
74905         (mkinstalldirs): Remove.
74906         (.PHONY): Remove installdirs from list.
74907         ($(inst_infodir)/libc.info): Use make-target-directory.
74908         (installdirs): Remove.
74909         (subdir_%): Remove.
74910         (glibc-targets): Remove.
74911         (lib): Remove.
74912         (stubs): Remove.
74913         ($(objpfx)stubs ../po/manual.pot): Remove.
74914         ($(objpfx)stamp%): Remove.
74915         (make-target-directory): Remove.
74916         (subdir_install): Remove.
74917         (routines): Remove.
74918         (aux): Remove.
74919         (sources): Remove.
74920         (objects): Remove.
74921         (headers): Remove.
74923         [BZ #13750]
74924         * manual/.gitignore: Remove, it's not needed anymore.
74925         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
74926         all files in it.
74927         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
74928         directory.
74929         (texis): Renamed to $(objpfx)texis.
74930         (texis-path): New, contains path to generated files.
74931         (chapters.%): Use texis-path for complete path, add extra argument
74932         libc-texinfo.sh.
74933         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
74934         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74935         (summary,texi, stamp-summary): Use complete path of
74936         files. Generate files in build dir.
74937         (dir-add.texi): Build in build dir.
74938         (libm-err.texi,stamp-libm-err): Likewise.
74939         (version.texi, stamp-version): Likewise.
74940         (.%c.texi): Likewise.
74941         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
74942         (mostlyclean): Remove target.
74943         (realclean): Remove target.
74944         (generated): Add new variable with contents from mostlyclean and
74945         realclean, remove entries duplicated in common-mostlyclean, add
74946         stamp-libm-err and stamp-version.
74947         (generated-dirs): Add libc directory.
74948         ($(inst_infodir)/libc.info): Install files from build dir.
74950         * manual/install.texi (Configuring and compiling): Adjust since
74951         the info files are not part of the tar ball anymore.
74953 2012-05-14  Andreas Jaeger  <aj@suse.de>
74955         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
74956         variable.
74958 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
74960         [BZ #13717]
74961         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
74962         to 2.2.0 where earlier.
74963         * sysdeps/unix/sysv/linux/configure: Regenerated.
74964         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
74965         Remove conditional code.
74966         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
74967         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
74968         Remove conditional code.
74969         [!__NR_lchown]: Likewise.
74970         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
74971         [__NR_lchown]: Likewise.
74972         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
74973         comment referencing __ASSUME_LCHOWN_SYSCALL.
74974         * sysdeps/unix/sysv/linux/i386/sigaction.c
74975         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
74976         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
74977         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
74978         Remove conditional code.
74979         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
74980         (__protocol_available): Remove #if 0 code.
74981         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
74982         conditional code.
74983         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
74984         * sysdeps/unix/sysv/linux/kernel-features.h
74985         (__ASSUME_GETCWD_SYSCALL): Don't define.
74986         (__ASSUME_REALTIME_SIGNALS): Likewise.
74987         (__ASSUME_PREAD_SYSCALL): Likewise.
74988         (__ASSUME_PWRITE_SYSCALL): Likewise.
74989         (__ASSUME_POLL_SYSCALL): Likewise.
74990         (__ASSUME_LCHOWN_SYSCALL): Likewise.
74991         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
74992         non-SPARC.
74993         (__ASSUME_SIOCGIFNAME): Don't define.
74994         (__ASSUME_MSG_NOSIGNAL): Likewise.
74995         (__ASSUME_SENDFILE): Define unconditionally.
74996         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
74997         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
74998         conditional code.
74999         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
75000         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
75001         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75002         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75003         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
75004         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
75005         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
75006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
75007         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75008         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
75010         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75011         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
75013         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75014         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
75016         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75017         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
75019         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75020         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
75022         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
75023         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
75025         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75026         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
75028         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75029         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75030         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
75031         Remove conditional code.
75032         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75033         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75034         Remove conditional code.
75035         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75036         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
75037         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
75038         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75039         Remove conditional code.
75040         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75041         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
75042         Remove conditional code.
75043         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75044         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
75045         Remove conditional code.
75046         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75047         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
75048         Remove conditional code.
75049         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
75050         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
75051         Remove conditional code.
75052         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75053         * sysdeps/unix/sysv/linux/sh/pwrite64.c
75054         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
75055         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
75056         * sysdeps/unix/sysv/linux/sigaction.c
75057         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75058         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75059         * sysdeps/unix/sysv/linux/sigpending.c
75060         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75061         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75062         * sysdeps/unix/sysv/linux/sigprocmask.c
75063         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75064         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75065         * sysdeps/unix/sysv/linux/sigsuspend.c
75066         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
75067         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
75068         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75069         (__libc_missing_rt_sigs): Remove.
75070         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
75071         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
75072         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
75073         Remove conditional code.
75074         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
75075         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
75076         return 1.
75077         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
75078         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
75079         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
75080         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
75082 2012-05-14  Andreas Jaeger  <aj@suse.de>
75084         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
75085         it's not used in glibc.
75086         (__coshm1): Likewise.
75087         (__acosh1p): Likewise.
75088         (__sgn): Likewise.
75090         * manual/string.texi (Copying and Concatenation): Add missing
75091         variable in concat example.
75092         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
75094 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75096         [BZ #14103]
75097         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
75098         __builtin_clzl with __builtin_clzll.
75100 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
75102         [BZ #14104]
75103         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
75104         libc_freeres_ptr.
75106 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75108         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
75109         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
75110         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
75111         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
75113 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
75115         * NEWS: Update ia64 info.
75117 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
75119         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
75120         used as bcopy.
75122 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
75124         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
75125         * sysdeps/unix/syscalls.list (dup3): Likewise.
75126         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
75127         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
75129 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75131         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
75132         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
75134 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
75136         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
75137         thread pointer.
75138         (TLS_IE): Use mov/add instead of movq/addq to load thread
75139         pointer.
75140         (TLS_GD_PREFIX): New.
75141         (TLS_GD): Use it.
75143 2012-05-11  David S. Miller  <davem@davemloft.net>
75145         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
75146         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
75147         (_FPU_SETCW): Likewise.
75149 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75151         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
75152         is 32-byte aligned.
75154 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
75156         [BZ #11837]
75157         * iconvdata/gb18030.c: Update tables.
75158         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
75159         characters specially.
75160         (BODY for TO_LOOP): Add encoding of missing ranges.
75162 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
75164         [BZ #13673]
75165         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
75166         * sysdeps/mach/hurd/dup3.c: Likewise.
75167         * sysdeps/mach/hurd/readlinkat.c: Likewise.
75168         * sysdeps/powerpc/memmove.c:: Likewise.
75170 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75172         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
75173         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
75175 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75177         * elf/elf.h (R_X86_64_RELATIVE64): New.
75178         (R_X86_64_NUM): Updated.
75179         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
75180         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
75181         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
75182         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
75183         tst-quad1pie tst-quad2pie
75184         (modules-names): Add tst-quadmod1 tst-quadmod2.
75185         ($(objpfx)tst-quad1): New dependency.
75186         ($(objpfx)tst-quad2): Likewise.
75187         ($(objpfx)tst-quad1pie): Likewise.
75188         ($(objpfx)tst-quad2pie): Likewise.
75189         * sysdeps/x86_64/tst-quad1.c: New file.
75190         * sysdeps/x86_64/tst-quad1pie.c: New file.
75191         * sysdeps/x86_64/tst-quad2.c: Likewise.
75192         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
75193         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
75194         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
75195         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
75196         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
75198 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75200         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
75201         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
75202         * streams/stropts.h (t_scalar_t): Define type.
75204         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
75205         (_PATH_PRESERVE): Set to "/var/lib".
75206         (_PATH_RWHODIR): Set to "/var/spool/rwho".
75208         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
75209         instead of int.
75211         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
75212         if __dir_mkfile succeeded.
75214         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
75215         checking for _hurd_dtablesize.  Unlock it right after having
75216         finished _hurd_dtable allocation.
75218 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75220         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
75221         * sysdeps/mach/hurd/configure: Regenerated.
75222         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
75223         special-casing to...
75224         * sysdeps/gnu/configure.in: ... this new file.
75225         * sysdeps/unix/sysv/linux/configure: Regenerated.
75226         * sysdeps/gnu/configure: New generated file.
75228         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
75229         for Linux: use nsec instead of usec, as well as:
75230         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
75231         members of type struct timespec.
75232         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
75233         New macros.
75234         (struct stat64): Likewise.
75235         (_STATBUF_ST_NSEC): New macro.
75236         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
75238         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75239         __strtoul_internal rather than strtoul.
75241 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75243         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
75244         and reject them.
75246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75248         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
75249         which preserves existing values.
75250         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
75252 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75254         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
75255         TIMEOUT values.  Return EINVAL for NFDS values either negative or
75256         greater than FD_SETSIZE.
75258 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75260         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
75261         allocated, call __vm_protect to finish enabling the existing space, and
75262         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
75263         allocate the remainder.
75265 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75267         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
75268         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
75270 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75272         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
75273         sysdeps/mach/hurd/readlink.c.
75275         * posix/tst-sysconf.c (posix_options): Only use
75276         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
75277         _POSIX_SYNCHRONIZED_IO when they are defined
75278         * sysdeps/mach/hurd/bits/posix_opt.h:
75279         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
75280         (_XOPEN_REALTIME): Undefine macro.
75281         (_XOPEN_REALTIME_THREADS): Undefine macro.
75282         (_XOPEN_SHM): Undefine macro.
75283         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
75284         macro to -1.
75285         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
75286         macro to -1.
75287         (_POSIX_ASYNC_IO): Undefine macro.
75288         (_POSIX_PRIORITIZED_IO): Undefine macro.
75289         (_POSIX_SPIN_LOCKS): Define macro to -1.
75291         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
75292         SA_NODEFER, SA_RESETHAND.
75293         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
75294         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
75295         F_DUPFD_CLOEXEC.
75297 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75299         * elf/Makefile (pldd-modules): Define unconditionally.
75301 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75303         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
75305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75307         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
75308         Return ENOENT when name is empty.
75309         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
75311 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75313         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
75315         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
75317 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75319         Fix mlock in all cases except non-readable pages.
75320         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
75321         instead of VM_PROT_ALL as parameter to __vm_wire function.
75323         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
75324         (__mkdir): When path is `/', just fail with EEXIST.
75325         * sysdeps/mach/hurd/mkdirat.c: Likewise.
75327 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75329         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
75330         <sys/uio.h> (for writev).
75331         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
75332         and <sys/param.h> (for MIN).
75334 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
75336         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
75337         REQUESTED_TIME.  Properly set the remaining time and return EINTR
75338         if interrupted.
75340 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75342         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
75343         Depend on against $(link-rpcuserlibs).
75345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75347         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
75348         (__libc_stack_end): Do not use attribute_relro.
75349         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
75350         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
75351         to libthread-provided value.
75352         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
75353         attribute_relro.
75355 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75357         [BZ #3748]
75358         * bits/libc-lock.h (__libc_once_get): New macro.
75359         * sysdeps/mach/bits/libc-lock.h: Likewise.
75360         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
75361         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
75362         instead of using implementation details.
75364         * libio/fileops.c: Unconditionally include <kernel-features.h>.
75365         * libio/freopen.c: Likewise.
75366         * libio/freopen64.c: Likewise.
75367         * misc/syslog.c: Likewise.
75368         * nscd/connections.c: Likewise.
75369         * nscd/netgroupcache.c: Likewise.
75370         * sysdeps/posix/getcwd.c: Likewise.
75372 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75374         * math/w_ilogbf.c: Add #include <limits.h>.
75376 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75378         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
75379         path instead of returning without unlocking.
75381         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
75382         immediate-write ioctls.
75383         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
75385 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75387         * sysdeps/mach/hurd/i386/init-first.c (init): Use
75388         __builtin_frame_address instead of making assumptions about the
75389         location of the return address relative to DATA.  Force early load of
75390         the return address.
75391         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
75392         __builtin_frame_address.
75394         dup3 for GNU Hurd.
75395         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
75396         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
75397         implement dup3 and do some further code clean-ups.
75398         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
75399         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
75401 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75403         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
75405         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
75406         HURD_CRITICAL_END around holding _hurd_dtable_lock.
75407         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
75408         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
75409         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
75410         d->port.lock.
75412         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
75413         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
75414         when handler == SIG_ERR, not when handler != SIG_ERR.
75416 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75418         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
75419         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
75420         definitions.
75422         accept4 for GNU Hurd.
75423         * include/sys/socket.h (__libc_accept4): New prototype.
75424         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
75425         to implement __libc_accept4.
75426         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
75427         __libc_accept4.
75428         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
75430         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
75431         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
75432         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
75433         signal-defines.sym.
75435 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75437         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
75439 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
75441         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
75442         assertion on O_CLOEXEC flag.
75443         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
75444         * hurd/intern-fd.c: Likewise.
75445         * hurd/port2fd.c: Likewise.
75447 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75449         [BZ #3906]
75450         * bits/in.h (IPV6_PKTINFO): Define new macro.
75451         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
75453 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75455         [BZ #13954]
75456         [BZ #13955]
75457         [BZ #13956]
75458         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
75459         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
75460         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
75461         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75462         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75463         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75464         * math/libm-test.inc (logb_test) : Additional logb tests.
75466 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
75467             Andreas Jaeger  <aj@suse.de>
75469         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
75470         * configure: Regenerated.
75471         * config.h.in (LINK_OBSOLETE_RPC): New macro.
75472         * config.make.in (link-obsolete-rpc): New substituted variable.
75473         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
75474         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
75475         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75476         (shared-only-routines): Don't set it under [link-obsolete-rpc],
75477         so that libc.a contains the symbols.
75478         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
75479         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
75480         * sunrpc/auth_none.c: Likewise.
75481         * sunrpc/auth_unix.c: Likewise.
75482         * sunrpc/authdes_prot.c: Likewise.
75483         * sunrpc/authuxprot.c: Likewise.
75484         * sunrpc/clnt_gen.c: Likewise.
75485         * sunrpc/clnt_perr.c: Likewise.
75486         * sunrpc/clnt_raw.c: Likewise.
75487         * sunrpc/clnt_simp.c: Likewise.
75488         * sunrpc/clnt_tcp.c: Likewise.
75489         * sunrpc/clnt_udp.c: Likewise.
75490         * sunrpc/clnt_unix.c: Likewise.
75491         * sunrpc/des_crypt.c: Likewise.
75492         * sunrpc/des_soft.c: Likewise.
75493         * sunrpc/get_myaddr.c: Likewise.
75494         * sunrpc/key_call.c: Likewise.
75495         * sunrpc/key_prot.c: Likewise.
75496         * sunrpc/netname.c: Likewise.
75497         * sunrpc/pm_getmaps.c: Likewise.
75498         * sunrpc/pm_getport.c: Likewise.
75499         * sunrpc/pmap_clnt.c: Likewise.
75500         * sunrpc/pmap_prot.c: Likewise.
75501         * sunrpc/pmap_prot2.c: Likewise.
75502         * sunrpc/pmap_rmt.c: Likewise.
75503         * sunrpc/publickey.c: Likewise.
75504         * sunrpc/rpc_cmsg.c: Likewise.
75505         * sunrpc/rpc_common.c: Likewise.
75506         * sunrpc/rpc_dtable.c: Likewise.
75507         * sunrpc/rpc_prot.c: Likewise.
75508         * sunrpc/rpc_thread.c: Likewise.
75509         * sunrpc/rtime.c: Likewise.
75510         * sunrpc/svc.c: Likewise.
75511         * sunrpc/svc_auth.c: Likewise.
75512         * sunrpc/svc_raw.c: Likewise.
75513         * sunrpc/svc_run.c: Likewise.
75514         * sunrpc/svc_tcp.c: Likewise.
75515         * sunrpc/svc_udp.c: Likewise.
75516         * sunrpc/svc_unix.c: Likewise.
75517         * sunrpc/svcauth_des.c: Likewise.
75518         * sunrpc/xcrypt.c: Likewise.
75519         * sunrpc/xdr.c: Likewise.
75520         * sunrpc/xdr_array.c: Likewise.
75521         * sunrpc/xdr_float.c: Likewise.
75522         * sunrpc/xdr_intXX_t.c: Likewise.
75523         * sunrpc/xdr_mem.c: Likewise.
75524         * sunrpc/xdr_rec.c: Likewise.
75525         * sunrpc/xdr_ref.c: Likewise.
75526         * sunrpc/xdr_sizeof.c: Likewise.
75527         * sunrpc/xdr_stdio.c: Likewise.
75529 2012-05-10  Roland McGrath  <roland@hack.frob.com>
75531         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
75532         change.  Update copyright years.
75534 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75536         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
75538 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
75539             Joseph Myers  <joseph@codesourcery.com>
75540             Paul Pluzhnikov  <ppluzhnikov@google.com>
75542         [BZ #14012]
75543         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
75544         requiring rpcgen.
75545         [cross-compiling] (extra-libs): Likewise.
75546         [cross-compiling] (extra-libs-others): Likewise.
75547         [cross-compiling] (librpcsvc-routines): Likewise.
75548         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
75549         [cross-compiling] (omit-deps): Likewise.
75550         (sunrpc-CPPFLAGS): New variable.
75551         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
75552         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
75553         (cross-rpcgen-objs): New variable.
75554         (extra-objs): Append $(cross-rpcgen-objs).
75555         ($(cross-rpcgen-objs)): New rule.
75556         ($(objpfx)cross-rpcgen): Likewise.
75557         (rpcgen-cmd): Define to use $(built-program-file).  Expand
75558         comment.
75559         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
75560         ($(objpfx)x%.stmp): Likewise.
75561         * sunrpc/proto.h [IS_IN_build] (_): Define.
75562         [IS_IN_build] (_libc_intl_domainname): Likewise.
75564 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
75566         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
75567         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
75568         and R_X86_64_TPOFF64.
75570 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
75572         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
75573         sysdeps/unix/sysv/syscalls.list.
75574         (stime): Likewise.
75575         (utime): Likewise.
75576         * sysdeps/unix/sysv/syscalls.list: Remove file.
75578 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
75580         [BZ #3440]
75581         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
75582         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
75583         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
75584         (__LC_IDENTIFICATION): Make these macros useful in #if
75585         expressions, as required by C99.
75587 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
75589         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
75590         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
75591         after this.
75593 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
75595         * stdlib/longlong.h: Updated from GCC.
75597 2012-05-09  Andreas Jaeger  <aj@suse.de>
75599         * nscd/nscd.c (run_modes): Make named enum, reorder so that
75600         default is first entry.
75601         (run_mode): Set type.
75602         (main): Remove informal message about syslog.
75603         (options): Fix typo.
75605         [BZ #14053]
75606         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
75607         to asm.
75608         (lrint): Likewise.
75609         (llrintf): Likewise.
75610         (llrint): Likewise.
75611         (rint): Likewise.
75612         (rintf): Likewise.
75613         (nearbyint): Likewise.
75614         (nearbyintf): Likewise.
75616 2012-05-09  Andreas Jaeger  <aj@suse.de>
75617             Pedro Alves  <palves@redhat.com>
75619         * nscd/nscd.c (run_mode): Use enum.
75620         (main): Cleanup coding style issue.
75622 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
75623             Andreas Jaeger  <aj@suse.de>
75625         * nscd/nscd.c (go_background): Replaced with...
75626         (run_mode): ... this.
75627         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
75628         (options): Add -F --foreground.
75629         (main): Implement it.
75630         (parse_opt): Parse it.
75632 2012-05-09  Andreas Jaeger  <aj@suse.de>
75634         [BZ #14083]
75635         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
75636         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
75637         -Wconversion warning.
75638         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
75639         Likewise.
75641 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
75643         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
75644         == 0.
75645         (LC_ALL): Use macro-int-constant.
75646         (LC_COLLATE): Likewise.
75647         (LC_CTYPE): Likewise.
75648         (LC_MESSAGES): Likewise.
75649         (LC_MONETARY): Likewise.
75650         (LC_NUMERIC): Likewise.
75651         (LC_TIME): Likewise.
75652         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
75653         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75654         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75655         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
75656         Specify type.
75657         [C99-based standards] (float_t): Expect type.
75658         [C99-based standards] (double_t): Expect type.
75659         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
75660         type.
75661         [C99-based standards] (HUGE_VALL): Likewise.
75662         [C99-based standards] (INFINITY): Likewise.
75663         [C99-based standards] (NAN): Likewise.
75664         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
75665         [C99-based standards] (FP_NAN): Likewise.
75666         [C99-based standards] (FP_NORMAL): Likewise.
75667         [C99-based standards] (FP_SUBNORMAL): Likewise.
75668         [C99-based standards] (FP_ZERO): Likewise.
75669         [C99-based standards] (FP_FAST_FMA): Use
75670         optional-macro-int-constant.  Specify type.  Require == 1.
75671         [C99-based standards] (FP_FAST_FMAF): Likewise.
75672         [C99-based standards] (FP_FAST_FMAL): Likewise.
75673         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
75674         [C99-based standards] (FP_ILOGBNAN): Likewise.
75675         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
75676         Specify type.
75677         [C99-based standards] (MATH_ERREXCEPT): Likewise.
75678         [C99-based standards] (math_errhandling): Specify type.
75679         [ISO99 || ISO11] (signgam): Do not allow.
75680         [non-C99-based standards] (copysignf): Do not allow.
75681         [non-C99-based standards] (exp2f): Likewise.
75682         [non-C99-based standards] (log2f): Likewise.
75683         [non-C99-based standards] (modff): Allow.
75684         [non-C99-based standards] (erff): Do not allow.
75685         [non-C99-based standards] (erfcf): Likewise.
75686         [non-C99-based standards] (gammaf): Likewise.
75687         [non-C99-based standards] (hypotf): Likewise.
75688         [non-C99-based standards] (j0f): Likewise.
75689         [non-C99-based standards] (j1f): Likewise.
75690         [non-C99-based standards] (jnf): Likewise.
75691         [non-C99-based standards] (lgammaf): Likewise.
75692         [non-C99-based standards] (tgammaf): Likewise.
75693         [non-C99-based standards] (y0f): Likewise.
75694         [non-C99-based standards] (y1f): Likewise.
75695         [non-C99-based standards] (ynf): Likewise.
75696         [non-C99-based standards] (isnanf): Likewise.
75697         [non-C99-based standards] (acoshf): Likewise.
75698         [non-C99-based standards] (asinhf): Likewise.
75699         [non-C99-based standards] (atanhf): Likewise.
75700         [non-C99-based standards] (cbrtf): Likewise.
75701         [non-C99-based standards] (expm1f): Likewise.
75702         [non-C99-based standards] (ilogbf): Likewise.
75703         [non-C99-based standards] (log1pf): Likewise.
75704         [non-C99-based standards] (logbf): Likewise.
75705         [non-C99-based standards] (nextafterf): Likewise.
75706         [non-C99-based standards] (remainderf): Likewise.
75707         [non-C99-based standards] (rintf): Likewise.
75708         [non-C99-based standards] (scalbf): Likewise.
75709         [non-C99-based standards] (copysignl): Likewise.
75710         [non-C99-based standards] (exp2l): Likewise.
75711         [non-C99-based standards] (log2l): Likewise.
75712         [non-C99-based standards] (modfl): Allow.
75713         [non-C99-based standards] (erfl): Do not allow.
75714         [non-C99-based standards] (erfcl): Likewise.
75715         [non-C99-based standards] (gammal): Likewise.
75716         [non-C99-based standards] (hypotl): Likewise.
75717         [non-C99-based standards] (j0l): Likewise.
75718         [non-C99-based standards] (j1l): Likewise.
75719         [non-C99-based standards] (jnl): Likewise.
75720         [non-C99-based standards] (lgammal): Likewise.
75721         [non-C99-based standards] (tgammal): Likewise.
75722         [non-C99-based standards] (y0l): Likewise.
75723         [non-C99-based standards] (y1l): Likewise.
75724         [non-C99-based standards] (ynl): Likewise.
75725         [non-C99-based standards] (isnanl): Likewise.
75726         [non-C99-based standards] (acoshl): Likewise.
75727         [non-C99-based standards] (asinhl): Likewise.
75728         [non-C99-based standards] (atanhl): Likewise.
75729         [non-C99-based standards] (cbrtl): Likewise.
75730         [non-C99-based standards] (expm1l): Likewise.
75731         [non-C99-based standards] (ilogbl): Likewise.
75732         [non-C99-based standards] (log1pl): Likewise.
75733         [non-C99-based standards] (logbl): Likewise.
75734         [non-C99-based standards] (nextafterl): Likewise.
75735         [non-C99-based standards] (remainderl): Likewise.
75736         [non-C99-based standards] (rintl): Likewise.
75737         [non-C99-based standards] (scalbl): Likewise.
75738         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75739         [non-C99-based standards] (FP_*): Do not allow.
75740         [C99-based standards] (FP_*): Change to
75741         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
75742         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75743         allow.
75744         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
75745         (SIG_ERR): Likewise.
75746         [X/Open-based standards] (SIG_HOLD): Likewise.
75747         (SIG_IGN): Likewise.
75748         (SIGABRT): Use macro-int-constant.  Specify type.  Require
75749         positive value.
75750         (SIGFPE): Likewise.
75751         (SIGILL): Likewise.
75752         (SIGINT): Likewise.
75753         (SIGSEGV): Likewise.
75754         (SIGTER): Likewise.
75755         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
75756         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
75757         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
75758         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
75759         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
75760         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
75761         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
75762         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
75763         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
75764         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
75765         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
75766         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
75767         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
75768         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
75769         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
75770         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
75771         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
75772         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
75773         [X/Open-based standards] (SIGTRAP): Likewise.
75774         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
75775         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
75776         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
75777         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
75778         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
75779         allow.
75781 2012-05-08  Ian Wienand  <ianw@vmware.com>
75783         [BZ #14080]
75784         * time/tzset.c (__tzset_parse_tz): Update default rules for
75785         daylight time changes in the Energy Policy Act of 2005.
75787 2012-05-09  Andreas Jaeger  <aj@suse.de>
75789         [BZ #13983]
75790         * elf/ldconfig.c (parse_conf): Change string to make clear that
75791         ldconfig only issued a warning if ld.so.conf does not exist.
75793 2012-05-08  David S. Miller  <davem@davemloft.net>
75795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
75796         movxtod instead of popping the value on the stack.
75798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75800 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
75802         * config.h.in: Add HAVE_ARM_PCS_VFP.
75804 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
75806         [BZ #13979]
75807         * include/features.h: Warn if user requests __FORTIFY_SOURCE
75808         checking but the checks are disabled for any reason.
75810 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
75812         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
75813         and ELF64_R_TYPE with ELFW(R_TYPE).
75815 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
75817         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
75818         (ulimit): Likewise.
75820         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
75821         (settimeofday): Likewise.
75823 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
75825         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
75826         a struct th_u2 inside the union, and move tu_block/tu_code into
75827         a new th_u3 union of tu_block/tu_code inside of that.  Move
75828         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
75829         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
75830         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
75831         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
75832         (th_stuff): Change to th_u1.tu_stuff.
75833         (th_data): Define.
75834         (th_msg): Change to th_u1.th_u2.tu_data.
75836 2012-05-07  David S. Miller  <davem@davemloft.net>
75838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75840         [BZ #14074]
75841         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
75842         (SETUP_PIC_REG): Use it.
75843         (SETUP_PIC_REG_LEAF): Use it.
75845 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
75847         [BZ #13885]
75848         [BZ #13923]
75849         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75850         USE_AS_EXPM1L.
75851         (EXPL_FINITE): Likewise.
75852         (FLDLOG): Likewise.
75853         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75854         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75855         e_expl.S.
75856         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75857         USE_AS_EXPM1L.
75858         (EXPL_FINITE): Likewise.
75859         (FLDLOG): Likewise.
75860         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
75861         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
75862         e_expl.S.
75863         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
75864         test of -max_value argument for long double.
75865         * sysdeps/i386/fpu/libm-test-ulps: Update.
75866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75868 2012-05-06  David S. Miller  <davem@davemloft.net>
75870         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
75871         quad soft-float symbols whose references which are compiler
75872         generated.
75873         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75875 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
75877         [BZ #13884]
75878         [BZ #13914]
75879         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75880         USE_AS_EXP10L.
75881         (EXPL_FINITE): Likewise.
75882         (FLDLOG): Likewise.
75883         (c0): Likewise.
75884         (c1): Likewise.
75885         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75886         Adjust comments for base varying.
75887         (__expl_finite): Change alias to EXPL_FINITE.
75888         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
75889         e_expl.S.
75890         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
75891         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
75892         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
75893         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
75894         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
75895         USE_AS_EXP10L.
75896         (EXPL_FINITE): Likewise.
75897         (FLDLOG): Likewise.
75898         (c0): Likewise.
75899         (c1): Likewise.
75900         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
75901         Adjust comments for base varying.
75902         (__expl_finite): Change alias to EXPL_FINITE.
75903         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
75904         tests for bugs.
75905         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75907         [BZ #14064]
75908         * math/libm-test.inc (check_float_internal): Correct ulp
75909         calculation for subnormal expected results.
75911 2012-05-06  Andreas Jaeger  <aj@suse.de>
75913         * Makeconfig (+math-flags): New, set to -frounding-math.
75914         (+cflags): Add +math-flags so that all of glibc gets compiled with
75915         it.
75917         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
75919 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
75921         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
75922         Disable one test.
75924         [BZ #13787]
75925         [BZ #13922]
75926         [BZ #14036]
75927         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
75928         (__ieee754_expl): Allow for and saturate large arguments.
75929         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
75930         (u_threshold): Likewise.
75931         (__exp): Call __ieee754_exp before checking for overflow and
75932         underflow.
75933         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
75934         (u_threshold): Likewise.
75935         (__expf): Call __ieee754_expf before checking for overflow and
75936         underflow.
75937         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
75938         (u_threshold): Likewise.
75939         (__expl): Call __ieee754_expl before checking for overflow and
75940         underflow.
75941         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
75942         (__ieee754_expl): Allow for and saturate large arguments.
75943         * math/libm-test.inc (exp_test): Add another test.  Do not allow
75944         missing overflow exception on overflow.
75945         (expm1_test): Do not allow missing overflow exception on overflow.
75947         * sysdeps/i386/fpu/e_expl.c: Move to ...
75948         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
75949         rather than using inline asm.
75950         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
75951         * sysdeps/x86_64/fpu/e_expl.S: Copy from
75952         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
75954         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
75955         (nice): Likewise.
75956         (poll): Likewise.
75957         (signal): Likewise.
75958         (time): Likewise.
75959         (times): Likewise.
75961 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
75963         * sysdeps/unix/syscalls.list (adjtime): Add entry from
75964         sysdeps/unix/common/syscalls.list.
75965         (fchmod): Likewise.
75966         (fchown): Likewise.
75967         (ftruncate): Likewise.
75968         (getrusage): Likewise.
75969         (gettimeofday): Likewise.
75970         (setpgid): Likewise.
75971         (setregid): Likewise.
75972         (setreuid): Likewise.
75973         (sigaction): Likewise.
75974         (truncate): Likewise.
75975         (vhangup): Likewise.
75976         * sysdeps/unix/common/syscalls.list: Remove file.
75977         * sysdeps/unix/bsd/Implies: Don't include unix/common.
75978         * sysdeps/unix/sysv/linux/Implies: Likewise.
75980 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
75982         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
75983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
75984         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
75985         Moved to ...
75986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
75987         Here.
75988         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
75989         to ...
75990         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
75991         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
75992         to ...
75993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
75994         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
75995         to ...
75996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
75997         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
75998         to ...
75999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
76000         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
76001         to ...
76002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
76003         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
76004         to ...
76005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
76006         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
76007         to ...
76008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
76009         Here.
76010         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
76011         to ...
76012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
76013         Here.
76014         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
76015         to ...
76016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
76017         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
76018         Moved to ...
76019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
76020         Here.
76021         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
76022         to ...
76023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
76025 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76027         * sysdeps/unix/common/bits/dirent.h: Remove file.
76028         * sysdeps/unix/common/bits/fcntl.h: Likewise.
76030         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
76031         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
76032         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
76033         * sysdeps/unix/bsd/isatty.c: Likewise.
76034         * sysdeps/unix/bsd/tcdrain.c: Likewise.
76035         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
76036         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
76038 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76040         [BZ #13563]
76041         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
76042         long double comparison inaccuracies.
76043         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
76044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76046 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
76048         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
76049         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
76051 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
76053         [BZ #14049]
76054         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
76055         nonzero digits before rounding a hex value.
76056         * stdlib/tst-strtod.c (tests): Add another test.
76058 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76060         * sysdeps/s390/fpu/libm-test-ulps: Update.
76062 2012-05-03  Andreas Jaeger  <aj@suse.de>
76064         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
76065         does not get optimized out.
76066         (malloc_opt_barrier): New.
76068 2012-05-03  Andreas Jaeger  <aj@suse.de>
76069             Roland McGrath  <roland@hack.frob.com>
76071         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
76072         intermediate file deletion.
76073         (generated): Add .symlist files.
76075 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
76077         [BZ #13775]
76078         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
76079         Redirect under this condition.
76080         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76081         [__USE_GNU] (__dprintf_chk): Not under this condition.
76082         [__USE_GNU] (__vdprintf_chk): Likewise.
76083         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
76084         under this condition.
76085         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
76086         [__USE_XOPEN2K8] (dprintf): Define under this condition.
76087         [__USE_XOPEN2K8] (vdprintf): Likewise.
76088         [__USE_GNU] (__dprintf_chk): Not under this condition.
76089         [__USE_GNU] (__vdprintf_chk): Likewise.
76090         [__USE_GNU] (dprintf): Likewise.
76091         [__USE_GNU] (vdprintf): Likewise.
76093 2012-05-03  Roland McGrath  <roland@hack.frob.com>
76095         * elf/Makefile (common-generated): Set this instead of generated for
76096         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
76097         $(all-built-dso)-derived lists.
76099 2012-05-03  Andreas Jaeger  <aj@suse.de>
76101         * sysdeps/i386/fpu/libm-test-ulps: Update.
76103         * FAQ: Removed.
76104         * FAQ.in: Likewise.
76105         * scripts/gen-FAQ.pl: Likewise.
76106         * manual/install.texi (Installation): Point to online location of
76107         FAQ.
76108         * Makefile (files-for-dist): Remove FAQ.
76109         (FAQ): Remove.
76111 2012-05-02  Allan McRae  <allan@archlinux.org>
76113         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
76114         (LDFLAGS-reldepmod5.so): Likewise.
76115         (LDFLAGS-reldep6mod1.so): Likewise.
76116         (LDFLAGS-reldep6mod4.so): Likewise.
76117         (LDFLAGS-reldep8mod3.so): Likewise.
76118         (LDFLAGS-unload4mod1.so): Likewise.
76119         (LDFLAGS-unload4mod2.so): Likewise.
76120         (LDFLAGS-tst-initorder): Likewise.
76121         (LDFLAGS-tst-initordera2.so): Likewise.
76122         (LDFLAGS-tst-initordera3.so): Likewise.
76123         (LDFLAGS-tst-initordera4.so): Likewise.
76124         (LDFLAGS-tst-initorderb2.so): Likewise.
76125         (LDFLAGS-noload): Likewise.
76126         (LDFLAGS-next): Likewise.
76127         (LDFLAGS-order2mod1.so): Likewise.
76128         (LDFLAGS-order2mod2.so): Likewise.
76129         (LDFLAGS-tst-initorder2): Likewise.
76130         (LDFLAGS-tst-initorder2a.so): Likewise.
76131         (LDFLAGS-tst-initorder2b.so): Likewise.
76132         (LDFLAGS-tst-initorder2c.so): Likewise.
76133         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
76135 2012-05-02  David S. Miller  <davem@davemloft.net>
76137         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76139 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
76141         [BZ #14055]
76142         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
76144 2012-05-02  Andreas Jaeger  <aj@suse.de>
76146         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
76147         since we manipulate rounding mode.
76148         (CPPFLAGS-test-idouble.c): Likewise.
76149         (CPPFLAGS-test-ifloat.c): Likewise.
76150         (CFLAGS-test-ldouble.c): Likewise.
76151         (CFLAGS-test-double.c): Likewise.
76152         (CFLAGS-test-float.c): Likewise.
76153         (CFLAGS-test-misc.c): Likewise.
76154         (CFLAGS-test-test-fenv.c): Likewise.
76156 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76158         [BZ #2550]
76159         [BZ #2570]
76160         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
76161         comparisons to determine direction to adjust input.
76163 2012-05-01  Roland McGrath  <roland@hack.frob.com>
76165         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
76166         output to the target.
76168         * scripts/localplt.awk: New file.
76169         * elf/Makefile ($(objpfx)check-localplt): Target removed.
76170         (check-localplt-CFLAGS): Variable removed.
76171         ($(all-built-dso:=.jmprel)): New static pattern rule.
76172         (generated): Add those targets.
76173         (localplt-built-dso): New variable.
76174         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
76176         * elf/check-localplt.c: File removed.
76178         * scripts/check-execstack.awk: New file.
76179         * elf/Makefile ($(objpfx)check-execstack): Target removed.
76180         (check-execstack-CFLAGS): Variable removed.
76181         ($(objpfx)check-execstack.h): Target removed.
76182         ($(objpfx)execstack-default): New target.
76183         (generated): Add that instead of check-execstack.h.
76184         ($(all-built-dso:=.phdr)): New static pattern rule.
76185         (generated): Add those targets.
76186         * elf/check-execstack.c: File removed.
76188         * scripts/check-textrel.awk: New file.
76189         * elf/Makefile ($(objpfx)check-textrel): Target removed.
76190         (check-textrel-CFLAGS): Variable removed.
76191         (all-built-dso): Use := to define.o
76192         ($(all-built-dso:=.dyn)): New static pattern rule.
76193         (generated): Add those targets.
76194         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
76195         * config.make.in (READELF): New substituted variable.
76196         * elf/check-textrel.c: File removed.
76198 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76200         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
76201         allow.
76202         * conform/data/ctype.h-data [C99-based standards] (isblank):
76203         Expect function.
76204         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
76205         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
76206         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76207         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
76208         Specify type.  Require positive value.
76209         (EILSEQ): Likewise.
76210         (ERANGE): Likewise.
76211         [ISO || POSIX] (EILSEQ): Do not expect.
76212         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
76213         Specify type.  Require positive value.
76214         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
76215         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
76216         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
76217         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
76218         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
76219         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
76220         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
76221         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
76222         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
76223         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
76224         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
76225         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
76226         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
76227         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
76228         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
76229         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
76230         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
76231         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
76232         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
76233         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
76234         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
76235         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
76236         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
76237         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
76238         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
76239         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
76240         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
76241         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
76242         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
76243         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
76244         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
76245         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
76246         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
76247         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
76248         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
76249         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
76250         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
76251         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
76252         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
76253         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
76254         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
76255         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
76256         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
76257         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
76258         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
76259         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
76260         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
76261         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
76262         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
76263         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
76264         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
76265         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
76266         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
76267         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
76268         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
76269         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
76270         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
76271         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
76272         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
76273         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
76274         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
76275         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
76276         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
76277         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
76278         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
76279         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
76280         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
76281         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
76282         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
76283         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
76284         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
76285         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
76286         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
76287         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
76288         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
76289         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
76290         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
76291         Require >= 2.
76292         (FLT_ROUNDS): Expect as macro, not constant.
76293         (FLT_MANT_DIG): Use macro-int-constant.
76294         (DBL_MANT_DIG): Likewise.
76295         (LDBL_MANT_DIG): Likewise.
76296         (FLT_DIG): Likewise.
76297         (DBL_DIG): Likewise.
76298         (LDBL_DIG): Likewise.
76299         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
76300         (DBL_MIN_EXP): Likewise.
76301         (LDBL_MIN_EXP): Likewise.
76302         (FLT_MAX_EXP): Use macro-int-constant.
76303         (DBL_MAX_EXP): Likewise.
76304         (LDBL_MAX_EXP): Likewise.
76305         (FLT_MAX_10_EXP): Likewise.
76306         (DBL_MAX_10_EXP): Likewise.
76307         (LDBL_MAX_10_EXP): Likewise.
76308         (FLT_MAX): Use macro-constant.
76309         (DBL_MAX): Likewise.
76310         (LDBL_MAX): Likewise.
76311         (FLT_EPSILON): Use macro-constant.  Give upper bound.
76312         (DBL_EPSILON): Likewise.
76313         (LDBL_EPSILON): Likewise.
76314         (FLT_MIN): Likewise.
76315         (DBL_MIN): Likewise.
76316         (LDBL_MIN): Likewise.
76317         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
76318         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
76319         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
76320         [ISO11] (FLT_HAS_SUBNORM): Likewise.
76321         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
76322         [ISO11] (DBL_DECIMAL_DIG): Likewise.
76323         [ISO11] (FLT_DECIMAL_DIG): Likewise.
76324         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
76325         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
76326         [ISO11] (FLT_TRUE_MIN): Likewise.
76327         [ISO11] (LDBL_TRUE_MIN): Likewise.
76328         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76329         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
76330         (SCHAR_MIN): Use macro-int-constant.  Specify type.
76331         (SCHAR_MAX): Likewise.
76332         (UCHAR_MAX): Likewise.
76333         (CHAR_MIN): Likewise.
76334         (CHAR_MAX): Likewise.
76335         (MB_LEN_MAX): Use macro-int-constant.
76336         (SHRT_MIN): Use macro-int-constant.  Specify type.
76337         (SHRT_MAX): Likewise.
76338         (USHRT_MAX): Likewise.
76339         (INT_MAX): Likewise.
76340         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
76341         bound negative.
76342         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76343         bound with "U".
76344         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76345         bound with "L".
76346         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
76347         bound negative.  Suffix upper bound with "L".
76348         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
76349         bound with "UL".
76350         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
76351         Specify type.
76352         [C99-based standards] (LLONG_MAX): Likewise.
76353         [C99-based standards] (ULLONG_MAX): Likewise.
76354         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
76355         == 0.
76356         [ISO11] (max_align_t): Require type.
76357         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76359         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
76360         from $CFLAGS, without defining away __attribute__ calls.
76361         (checknamespace): Use $CFLAGS_namespace.
76363         * conform/conformtest.pl (@keywords): Only include C99 keywords
76364         for standards based on C99 or C11.
76366         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
76367         Disable tests.
76368         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
76369         UNIX98]: Likewise.
76371         * conform/conformtest.pl: Handle "macro-int-constant" and test for
76372         usability of symbols in #if.
76374         * conform/conformtest.pl: If macro or constant types start
76375         "promoted:", expect the symbol to be of the following type
76376         promoted by the integer promotions.
76378         * conform/conformtest.pl: Parse all "constant" and "macro" lines
76379         in one place.  Also handle "macro-constant".
76381         * conform/conformtest.pl: Only accept expected macro values with
76382         "==".  Parse all "macro" lines in one place.
76383         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
76385         * conform/conformtest.pl: Handle braced types on "constant" lines
76386         instead of handling "typed-constant".
76387         * conform/data/signal.h-data: Use "constant" instead of
76388         "typed-constant".
76390         * conform/conformtest.pl: Handle "optional-" at start of lines in
76391         one place rather than duplicating several cases.  Handle each
76392         format of "macro" line with initial "optional-".
76394         * conform/conformtest.pl: Only accept expected constant or
76395         optional-constant values with "==".  Parse all "constant" lines in
76396         one place.  Parse all "optional-constant" lines in one place.
76397         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
76398         * conform/data/fmtmsg.h-data: Likewise.
76399         * conform/data/netinet/in.h-data: Likewise.
76400         * conform/data/tar.h-data: Likewise.
76401         * conform/data/limits.h-data: Use "==" form on "constant" and
76402         "optional-constant" lines.
76404         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
76405         Use -std=c99 for XOPEN2K.
76406         (@knownproblems): Remove.
76407         (newtoken): Don't check %isknown.
76409         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
76410         Do not expect macro.
76411         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
76412         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
76413         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
76414         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
76415         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
76416         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
76417         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
76418         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
76419         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
76420         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
76421         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
76422         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
76423         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
76424         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
76425         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
76426         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
76427         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
76428         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
76429         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
76430         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
76431         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
76432         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
76433         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
76434         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
76435         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
76436         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
76437         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
76438         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
76439         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
76440         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
76441         [XPG3] (acosh): Likewise.
76442         [XPG3] (asinh): Likewise.
76443         [XPG3] (atanh): Likewise.
76444         [XPG3] (cbrt): Likewise.
76445         [XPG3] (expm1): Likewise.
76446         [XPG3] (ilogb): Likewise.
76447         [XPG3] (log1p): Likewise.
76448         [XPG3] (logb): Likewise.
76449         [XPG3] (nextafter): Likewise.
76450         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
76451         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
76452         [XPG3] (remainder): Likewise.
76453         [XPG3] (rint): Likewise.
76454         [XPG3 || XPG4 || UNIX98] (round): Likewise.
76455         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
76456         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
76457         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
76458         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
76459         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
76460         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
76461         [UNIX98 || XOPEN2K] (scalb): Expect.
76462         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
76463         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
76464         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
76465         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
76466         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
76467         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
76468         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
76469         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
76470         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
76471         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
76472         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
76473         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
76474         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
76475         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
76476         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
76477         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
76478         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
76479         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
76480         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
76481         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
76482         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
76483         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
76484         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
76485         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
76486         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
76487         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
76488         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
76489         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
76490         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
76491         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
76492         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
76493         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
76494         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
76495         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
76496         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
76497         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
76498         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
76499         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
76500         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
76501         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
76502         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
76503         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
76504         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
76505         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
76506         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
76507         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
76508         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
76509         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
76510         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
76511         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
76512         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
76513         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
76514         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
76515         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
76516         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
76517         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
76518         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
76519         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
76520         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
76521         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
76522         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
76523         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
76524         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
76525         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
76526         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
76527         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
76528         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
76529         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
76530         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
76531         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
76532         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
76533         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
76534         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
76535         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
76536         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
76537         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
76538         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
76539         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
76540         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
76541         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
76542         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
76543         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
76544         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
76545         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
76546         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
76547         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
76548         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
76549         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
76550         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
76551         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
76552         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
76553         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
76554         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
76555         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
76556         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
76557         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
76558         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
76559         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
76560         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
76561         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
76562         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
76563         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
76564         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
76565         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
76566         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
76567         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
76568         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
76569         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
76570         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
76571         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
76572         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
76573         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
76574         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
76575         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
76576         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
76577         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
76578         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
76579         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
76580         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
76581         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
76582         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
76583         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
76584         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
76585         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
76586         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
76587         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
76588         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
76589         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
76590         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
76591         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
76592         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
76593         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
76594         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
76595         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
76596         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
76597         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
76598         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
76600         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
76601         _XOPEN_SOURCE_EXTENDED for XPG4.
76603         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
76605         * Makeconfig (localtime): Remove variable.
76606         (inst_localtime-file): Likewise.
76608 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
76611         Update.
76612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76613         Update.
76614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
76615         Update.
76616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
76617         Update.
76618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
76619         Update.
76620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
76621         Update.
76622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76623         Update.
76624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
76625         Update.
76626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76627         Update.
76629 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
76631         [BZ #2550]
76632         [BZ #2570]
76633         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
76634         comparisons to determine direction to adjust input.
76635         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
76636         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
76637         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
76638         Likewise.
76639         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
76640         Likewise.
76641         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
76642         Likewise.
76643         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
76644         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
76645         Likewise.
76646         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
76647         Likewise.
76648         * math/libm-test.inc (nexttoward_test): Add more tests.
76650 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
76652         [BZ #14040]
76653         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
76654         in version GLIBC_2.1, not GLIBC_2.0.
76655         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
76656         Likewise.
76658 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
76660         [BZ #13942]
76661         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
76662         (1 - x) * (1 + x).
76663         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76664         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
76665         * math/libm-test.inc (acos_test): Add more tests.
76666         (asin_test): Likewise.
76667         * sysdeps/i386/fpu/libm-test-ulps: Update.
76668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76670         [BZ #14034]
76671         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
76672         of square root.
76673         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
76674         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
76675         * math/libm-test.inc (acos_test_tonearest): New function.
76676         (acos_test_towardzero): Likewise.
76677         (acos_test_downward): Likewise.
76678         (acos_test_upward): Likewise.
76679         (asin_test_tonearest): Likewise.
76680         (asin_test_towardzero): Likewise.
76681         (asin_test_downward): Likewise.
76682         (asin_test_upward): Likewise.
76683         (main): Call the new functions.
76684         * sysdeps/i386/fpu/libm-test-ulps: Update.
76685         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76687         [BZ #13884]
76688         [BZ #13924]
76689         * math/e_exp10.c: Include <float.h>.
76690         (__ieee754_exp10): Handle underflow here rather than multiplying
76691         large negative argument by M_LN10.
76692         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
76693         of __ieee754_expf.
76694         * math/e_exp10l.c: Include <float.h>.
76695         (__ieee754_exp10l): Handle underflow here rather than multiplying
76696         large negative argument by M_LN10l.
76697         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
76698         spurious overflow exception on underflow.
76700 2012-04-29  Marek Polacek  <polacek@redhat.com>
76702         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
76703         (__fortify_function): New macro.
76704         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
76705         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
76706         __extern_always_inline.
76707         * libio/bits/stdio2.h: Likewise.
76708         * libio/bits/stdio.h: Likewise.
76709         * string/string.h: Likewise.
76710         * string/bits/string3.h: Likewise.
76711         * include/stdio.h: Likewise.
76712         * stdlib/bits/stdlib.h: Likewise.
76713         * stdlib/stdlib.h: Likewise.
76714         * rt/bits/mqueue2.h: Likewise.
76715         * rt/mqueue.h: Likewise.
76716         * posix/bits/unistd.h: Likewise.
76717         * posix/unistd.h: Likewise.
76718         * io/bits/poll2.h: Likewise.
76719         * io/bits/fcntl2.h: Likewise.
76720         * io/fcntl.h: Likewise.
76721         * io/sys/poll.h: Likewise.
76722         * misc/bits/syslog.h: Likewise.
76723         * misc/bits/syslog-ldbl.h: Likewise.
76724         * misc/sys/syslog.h: Likewise.
76725         * socket/bits/socket2.h: Likewise.
76726         * socket/sys/socket.h: Likewise.
76727         * debug/tst-chk1.c: Likewise.
76728         * wcsmbs/bits/wchar2.h: Likewise.
76729         * wcsmbs/bits/wchar-ldbl.h: Likewise.
76730         * wcsmbs/wchar.h: Likewise.
76732 2012-04-29  Andreas Jaeger  <aj@suse.de>
76734         * Makerules (tests): Remove enable-check-abi protection.
76735         (check-abi-warn): Remove.
76736         (check-abi-%): Remove check-abi-warn usage.
76738         * configure.in: Remove check-abi configure option.
76739         * configure: Regenerated.
76740         * config.make.in (enable-check-abi): Remove.
76742 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
76744         [BZ #14033]
76745         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
76746         double functions to double *_finite functions.
76748         [BZ #13941]
76749         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
76750         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
76751         LDBL_MIN_EXP.
76752         * stdio-common/Makefile (tests): Add tst-sprintf3.
76753         * stdio-common/tst-sprintf3.c: New file.
76755         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
76756         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
76758 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76760         * conform/conformtest.pl: Remove duplicate typed-constant
76761         handling.
76763 2012-04-28  David S. Miller  <davem@davemloft.net>
76765         * Makerules (%.abilist): Add vpath on sysdep_dirs.
76766         (check-abi-%): Remove AWK script prerequisite and explicit
76767         abilist directory.
76768         (check-abi): Rewrite to just diff the symlist with the abilist.
76769         (config-tls, config-abi-config): Delete, no longer used.
76770         (update-abi-%): Remove AWK script and explicit abilist directory.
76771         (update-abi): Rewrite to simply compare and conditionally copy the
76772         symlist and the sysdep abilist file.  Remove update-abi-config
76773         checks.
76774         * abilist/ld.abilist: Remove.
76775         * abilist/libBrokenLocale.abilist: Remove.
76776         * abilist/libanl.abilist: Remove.
76777         * abilist/libcrypt.abilist: Remove.
76778         * abilist/libdl.abilist: Remove.
76779         * abilist/librt.abilist: Remove.
76780         * abilist/libthread_db.abilist: Remove.
76781         * abilist/libutil.abilist: Remove.
76782         * scripts/extract-abilist.awk: Remove.
76783         * scripts/merge-abilist.awk: Remove.
76784         * sysdeps/generic/libcidn.abilist: New file.
76785         * sysdeps/generic/libnss_compat.abilist: New file.
76786         * sysdeps/generic/libnss_db.abilist: New file.
76787         * sysdeps/generic/libnss_dns.abilist: New file.
76788         * sysdeps/generic/libnss_files.abilist: New file.
76789         * sysdeps/generic/libnss_hesiod.abilist: New file.
76790         * sysdeps/generic/libnss_nis.abilist: New file.
76791         * sysdeps/generic/libnss_nisplus.abilist: New file.
76792         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
76793         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
76794         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
76795         file.
76796         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
76797         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
76798         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
76799         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
76800         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
76801         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
76802         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
76803         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
76804         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
76805         file.
76806         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
76807         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
76808         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
76809         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
76810         file.
76811         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
76812         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
76813         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
76814         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
76815         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
76816         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
76817         file.
76818         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
76819         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
76820         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
76821         file.
76822         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
76823         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
76824         New file.
76825         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
76826         New file.
76827         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
76828         New file.
76829         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
76830         New file.
76831         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
76832         New file.
76833         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
76834         New file.
76835         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
76836         New file.
76837         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
76838         New file.
76839         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
76840         New file.
76841         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
76842         New file.
76843         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
76844         New file.
76845         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
76846         New file.
76847         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
76848         New file.
76849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
76850         file.
76851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
76852         New file.
76853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
76854         New file.
76855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
76856         file.
76857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
76858         New file.
76859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
76860         New file.
76861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
76862         file.
76863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
76864         New file.
76865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
76866         New file.
76867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
76868         New file.
76869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
76870         New file.
76871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
76872         New file.
76873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
76874         New file.
76875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
76876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
76877         file.
76878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
76879         New file.
76880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
76881         file.
76882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
76883         file.
76884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
76885         file.
76886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
76887         file.
76888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
76889         file.
76890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
76891         New file.
76892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
76893         file.
76894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
76895         file.
76896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
76897         New file.
76898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
76899         file.
76900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
76901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
76902         file.
76903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
76904         New file.
76905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
76906         file.
76907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
76908         file.
76909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
76910         file.
76911         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
76912         file.
76913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
76914         file.
76915         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
76916         New file.
76917         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
76918         file.
76919         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
76920         file.
76921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
76922         New file.
76923         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
76924         file.
76925         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
76926         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
76927         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
76928         file.
76929         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
76930         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
76931         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
76932         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
76933         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
76934         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
76935         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
76936         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
76937         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
76938         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
76939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
76940         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
76941         file.
76942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
76943         New file.
76944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
76945         file.
76946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
76947         file.
76948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
76949         file.
76950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
76951         file.
76952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
76953         file.
76954         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
76955         New file.
76956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
76957         New file.
76958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
76959         file.
76960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
76961         New file.
76962         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
76963         file.
76964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
76965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
76966         file.
76967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
76968         New file.
76969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
76970         file.
76971         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
76972         file.
76973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
76974         file.
76975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
76976         file.
76977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
76978         file.
76979         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
76980         New file.
76981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
76982         New file.
76983         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
76984         file.
76985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
76986         New file.
76987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
76988         file.
76990 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
76992         * conform/conformtest.pl: Fix typo in handling typed-constant from
76993         allow-header.
76995 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
76997         * README: Cut down references to pre-2.6 Linux kernels and
76998         Linuxthreads.  Update lists of configurations in libc and ports
76999         and sort alphabetically.  Say "or newer" with Linux kernel version
77000         requirements.
77002         * config.h.in [IS_IN_build]: Allow compiling without optimization.
77004 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
77006         [BZ #887]
77007         * math/libm-test.inc (logb_test_downward): New test to expose
77008         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
77009         rounding mode.
77011 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
77013         [BZ #14027]
77014         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
77015         to be done.
77016         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
77017         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
77019 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
77021         * sysdeps/unix/i386/brk.S: Remove file.
77022         * sysdeps/unix/i386/dl-brk.S: Likewise.
77023         * sysdeps/unix/i386/pipe.S: Likewise.
77024         * sysdeps/unix/i386/sigreturn.S: Likewise.
77025         * sysdeps/unix/i386/syscall.S: Likewise.
77026         * sysdeps/unix/i386/vfork.S: Likewise.
77027         * sysdeps/unix/i386/wait.S: Likewise.
77029         * sysdeps/unix/common/tcsendbrk.c: Move to ...
77030         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
77032         * configure.in (arm*-none*): Do not allow without
77033         --enable-hacker-mode.
77034         (netbsd*): Remove case setting base_os.
77035         (386bsd*): Likewise.
77036         (freebsd*): Likewise.
77037         (bsdi*): Likewise.
77038         (osf*): Likewise.
77039         (sunos*): Likewise.
77040         (ultrix*): Likewise.
77041         (newsos*): Likewise.
77042         (dynix*): Likewise.
77043         (*bsd*): Likewise.
77044         (sysv*): Likewise.
77045         (isc*): Likewise.
77046         (esix*): Likewise.
77047         (sco*): Likewise.
77048         (minix*): Likewise.
77049         (irix4*): Likewise.
77050         (irix6*): Likewise.
77051         (solaris[2-9]*): Likewise.
77052         (none): Likewise.
77053         * configure: Regenerated.
77055 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77057         [BZ #11521]
77058         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
77059         overflow or cancellation in calculating denominator.
77060         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
77061         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
77062         down expression to avoid unexpected rounding in newer GCCs.
77063         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
77065 2012-04-26  David S. Miller  <davem@davemloft.net>
77067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
77068         long-double compat symbols.
77069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
77070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
77071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
77072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
77073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
77074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
77075         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
77076         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
77077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
77078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
77079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
77080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
77081         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77083 2012-04-25  David S. Miller  <davem@davemloft.net>
77085         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
77086         HWCAP_* values only after the memory barriers have been defined.
77087         (atomic_full_barrier): Define.
77088         (atomic_read_barrier): Define.
77089         (atomic_write_barrier): Define.
77091 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77093         * shlib-versions: Add libgcc_s version information.
77094         * sysdeps/generic/libgcc_s.h: Remove.
77095         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
77096         libgcc_s.h.
77097         * sysdeps/gnu/unwind-resume.c: Likewise.
77098         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
77100 2012-04-25  David S. Miller  <davem@davemloft.net>
77102         * sysdeps/unix/sparc/brk.S: Delete.
77103         * sysdeps/unix/sparc/dl-brk.S: Delete.
77104         * sysdeps/unix/sparc/pipe.S: Delete.
77105         * sysdeps/unix/sparc/sysdep.S: Delete.
77106         * sysdeps/unix/sparc/sysdep.h: Delete.
77107         * sysdeps/unix/sparc/vfork.S: Delete.
77108         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
77109         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
77110         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
77111         (ret_ERRVAL, r0, r1, MOVE): Define.
77112         (JUMPTARGET): Remove.
77113         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
77114         sysdeps/unix/sparc/sysdep.h
77115         (ENTRY, END): Remove.
77116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77118 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
77120         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
77121         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
77122         -DIS_IN_build.
77124         * timezone/README: Update upstream location and email address for
77125         tzcode and tzdata.
77126         * timezone/zdump.c: Update from tzcode 2012b.
77127         * timezone/zic.c: Likewise.
77129         * configure.in (libc_cv_as_needed): Remove test.
77130         * configure: Regenerated.
77131         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
77132         conditional definition.
77133         [$(have-as-needed) != yes] (no-as-needed): Likewise.
77134         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
77135         * config.make.in (have-as-needed): Remove variable.
77137 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77138             Paul Pluzhnikov  <ppluzhnikov@google.com>
77140         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
77141         strings correctly.
77143 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
77145         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
77146         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
77147         * sysdeps/sh/strlen.S: Likewise.
77149 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77151         * sysdeps/unix/fork.S: Remove file.
77152         * sysdeps/unix/i386/fork.S: Likewise.
77153         * sysdeps/unix/sparc/fork.S: Likewise.
77155         * sysdeps/unix/system.c: Remove file.
77156         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
77158         * sysdeps/unix/getegid.S: Remove file.
77159         * sysdeps/unix/geteuid.S: Likewise.
77161 2012-04-24  Roland McGrath  <roland@hack.frob.com>
77163         * scripts/check-localplt.awk: New file.
77164         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
77165         of diff.
77166         * scripts/data/localplt-generic.data: Add a comment.
77168         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
77169         NODE when __dir_mkfile failed.
77170         * sysdeps/mach/hurd/symlinkat.c: Likewise.
77171         Reported by Ludovic Courtès <ludo@gnu.org>.
77173 2012-04-24  Andreas Jaeger  <aj@suse.de>
77175         * Makerules (common-clean): Also remove gen-as-const-headers
77176         files.
77178 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77180         * Makerules (native-compile): Do not change working directory for
77181         build.  Use $(OUTPUT_OPTION) in command.
77182         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
77184 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77186         [BZ #13886]
77187         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
77188         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
77189         * math/libm-test.inc (floor_test): Add more tests.
77190         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
77192 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
77194         * sysdeps/unix/getdents.c: Remove file.
77195         * sysdeps/unix/sysv/getdents.c: Likewise.
77196         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
77198         * sysdeps/unix/syscalls.list (madvise): Add syscall from
77199         sysdeps/unix/mman/syscalls.list.
77200         (mmap): Likewise.
77201         (mprotect): Likewise.
77202         (msync): Likewise.
77203         (munmap): Likewise.
77204         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
77205         * sysdeps/unix/mman/syscalls.list: Remove.
77206         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
77208         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
77209         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
77210         * configure: Regenerated.
77211         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
77212         $(libgcc_s_suffix).
77213         * config.make.in (libgcc_s_suffix): Remove variable.
77215 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
77217         * sysdeps/unix/sysv/gethostname.c: Move to ...
77218         * sysdeps/posix/gethostname.c: ... here.
77220         * sysdeps/unix/execve.S: Remove file.
77222         * sysdeps/unix/_exit.S: Remove file.
77224 2012-04-23  Andreas Jaeger  <aj@suse.de>
77226         [BZ #13739]
77227         * manual/Makefile: Remove make dist support, there's no
77228         need for a stand-alone documentation tar ball.
77229         (TEXI2DVI): Define always, it's not in Makeconfig.
77230         (dist): Removed.
77231         (tar-it): Removed.
77232         (edition): Removed.
77233         (glibc-doc-$(edition).tar): Removed
77234         (%.Z): Removed.
77235         (%.gz): Removed.
77236         (%.uu): Removed.
77237         (ETAGS): Remove, it's in Makeconfig.
77238         (move-if-change): Remove, it's in Makeconfig.
77240 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
77242         [BZ #13970]
77243         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
77244         (strtod, strtof, strtold, strtol, strtoul, strtoq)
77245         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
77246         (strtod_l, strtof_l, strtold_l): Remove __wur.
77247         It is not necessarily an error to ignore strtol's return value.
77248         One can reliably look at the stored endptr to decide whether
77249         the number had valid syntax.
77251 2012-04-21  Andreas Jaeger  <aj@suse.de>
77253         [BZ #13739]
77254         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
77256 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
77258         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
77259         * sysdeps/unix/sysv/Versions: Remove file.
77261 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
77263         [BZ #13927]
77264         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77266 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
77268         [BZ #7064]
77269         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
77270         version from __vm86.
77272 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
77274         * sysdeps/unix/common/lxstat.c: Remove file.
77275         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
77277         * sysdeps/unix/sysv/Makefile: Remove file.
77279         * sysdeps/unix/sysv/direct.h: Remove file.
77281         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
77282         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
77283         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
77284         * sysdeps/unix/sysv/bits/signum.h: Likewise.
77285         * sysdeps/unix/sysv/bits/stat.h: Likewise.
77286         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
77287         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
77289         * sysdeps/unix/sysv/setrlimit.c: Remove file.
77291         * sysdeps/unix/xmknod.c: Remove file.
77292         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
77294         * sysdeps/unix/sysv/settimeofday.c: Remove file.
77296         * sysdeps/unix/sysv/i386/time.S: Remove file.
77298         * sysdeps/unix/fxstat.c: Remove file.
77299         * sysdeps/unix/xstat.c: Likewise.
77300         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
77302         * sysdeps/unix/sysv/sigaction.c: Remove file.
77304         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
77305         (sysdep_headers): Remove variable.
77306         [termio.h not in sysdep_headers] (generated): Likewise.
77307         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
77308         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
77309         * sysdeps/unix/sysv/tcdrain.c: Likewise.
77310         * sysdeps/unix/sysv/tcflow.c: Likewise.
77311         * sysdeps/unix/sysv/tcflush.c: Likewise.
77312         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
77313         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
77314         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
77315         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
77316         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
77318         * sysdeps/unix/siglist.c: Remove file.
77320         * sysdeps/unix/getppid.S: Remove file.
77322         * sysdeps/unix/mkdir.c: Remove file.
77323         * sysdeps/unix/rmdir.c: Likewise.
77325 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
77327         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
77328         ERR_MAX value.
77329         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
77330         errlist-compat value.
77332 2012-04-18  David S. Miller  <davem@davemloft.net>
77334         * sysdeps/generic/memcopy.h (reg_char): Delete.
77335         * debug/strcat_chk.c: Use char, not reg_char.
77336         * debug/strcpy_chk.c: Likewise.
77337         * debug/strncat_chk.c: Likewise.
77338         * debug/strncpy_chk.c: Likewise.
77339         * string/memchr.c: Likewise.
77340         * string/memrchr.c: Likewise.
77341         * string/rawmemchr.c: Likewise.
77342         * string/strcat.c: Likewise.
77343         * string/strchr.c: Likewise.
77344         * string/strchrnul.c: Likewise.
77345         * string/strcmp.c: Likewise.
77346         * string/strcpy.c: Likewise.
77347         * string/strncat.c: Likewise.
77348         * string/strncmp.c: Likewise.
77349         * string/strncpy.c: Likewise.
77351 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77353         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
77354         __builtin_memcopy is called when src and dest ranges are known to not
77355         overlap.
77357 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77359         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
77360         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
77361         fwd_align_merge macro call.
77362         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
77363         bwd_align_merge macro call.
77364         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77366 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
77368         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
77369         bwd_align_merge macros.
77370         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
77371         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
77372         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
77374 2012-04-18  David S. Miller  <davem@davemloft.net>
77376         * sysdeps/sparc/sparc64/memcopy.h: Delete.
77378 2012-04-18  Andreas Jaeger  <aj@suse.de>
77380         [BZ# 6794]
77381         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
77382         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
77383         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77385         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
77386         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
77387         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77389         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
77390         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
77391         Adjust for changed ldbl-128 files.
77393         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
77394         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
77395         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
77397 2012-04-17  David S. Miller  <davem@davemloft.net>
77399         * sysdeps/sparc/sparc32/memcopy.h: Delete.
77401 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
77403         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
77404         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
77405         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
77406         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
77407         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
77408         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
77410 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77412         [BZ #6794]
77413         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
77414         * math/libm-test.inc: Add ilogb errno and exception tests.
77415         * math/w_ilogb.c: New file: ilogb wrapper.
77416         * math/w_ilogbf.c: New file: ilogbf wrapper.
77417         * math/w_ilogbl.c: New file: ilogbl wrapper.
77418         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
77419         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
77420         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
77421         exception being thrown with 0.0 as argument.
77422         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
77423         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
77424         exception being thrown with 0.0 as argument.
77425         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
77426         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77427         exception being thrown with 0.0 as argument.
77428         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
77429         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
77430         exception being thrown with 0.0 as argument.
77431         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
77432         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
77433         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
77434         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
77435         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
77436         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
77437         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
77438         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
77439         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
77441 2012-04-17  Petr Baudis  <pasky@ucw.cz>
77443         * include/sys/uio.h: Change __vector to __iovec to avoid clash
77444         with altivec.
77446 2012-04-16  Marek Polacek  <polacek@redhat.com>
77448         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
77450 2012-04-16  Marek Polacek  <polacek@redhat.com>
77452         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
77453         operands of fdivp instruction.
77455 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77457         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
77458         * elf/tst-auditmod3b.c: Likewise.
77459         * elf/tst-auditmod4b.c: Likewise.
77460         * elf/tst-auditmod5b.c: Likewise.
77461         * elf/tst-auditmod6b.c: Likewise.
77462         * elf/tst-auditmod6c.c: Likewise.
77463         * elf/tst-auditmod7b.c: Likewise.
77464         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
77465         * sysdeps/x86_64/preconfigure.in: Likewise.
77466         * sysdeps/x86_64/preconfigure: Regenerated.
77468 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
77470         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
77471         __ILP32__.
77473 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
77475         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77476         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
77478 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
77480         [BZ #13973]
77481         * locale/iso-639.def: Fix gl language name. Spotted by
77482         Yaron Shahrabani.
77484 2012-04-12  Roland McGrath  <roland@hack.frob.com>
77486         [BZ #2074]
77487         * libio/libio.h (__io_write_fn): Update comment.
77489 2012-04-12  Petr Baudis  <pasky@ucw.cz>
77491         [BZ #2074]
77492         * stdio.texi (Hook Functions): The user provided writer function
77493         is not allowed to return -1.
77495 2012-04-11  David S. Miller  <davem@davemloft.net>
77497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77499 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
77501         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
77502         Add a leading slash to rtkaio.
77504 2012-04-11  Jim Meyering  <meyering@redhat.com>
77506         [BZ #11959]
77507         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
77508         It is not necessarily an error to ignore fwrite's return
77509         value.  One can reliably use ferror to test for errors after
77510         the fact.
77512 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77514         * bits/types.h (__snseconds_t): New type.
77515         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
77517         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
77518         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77519         (__SNSECONDS_T_TYPE): Likewise.
77520         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
77521         (__SNSECONDS_T_TYPE): Likewise.
77522         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77523         (__SNSECONDS_T_TYPE): Likewise.
77525 2012-04-10  Andreas Jaeger  <aj@suse.de>
77527         [BZ #2636]
77528         * manual/time.texi (Processor Time): Return type of times is
77529         elapsed real time since an arbitrary point in the past.
77530         (CPU Time): Move CLK_TCK from here...
77531         (Processor Time): ...to here.  Correct description.
77532         * manual/conf.texi (Constants for Sysconf): Correct description of
77533         _SC_CLK_TCK.
77535 2012-04-10  David S. Miller  <davem@davemloft.net>
77537         [BZ #13967]
77538         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
77539         where the is a gap between DT_REL(A) and DT_JMPREL.
77541 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
77543         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
77544         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77545         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77547 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
77549         * elf/dl-support.c (_dl_inhibit_cache): New variable.
77550         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
77551         (dl_main): Handle --inhibit-cache.
77552         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
77553         _dl_inhibit_cache.
77554         * elf/dl-load.c (_dl_map_object): Use it.
77555         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
77557 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77559         [BZ #13872]
77560         * sysdeps/i386/fpu/e_powl.S (p78): New object.
77561         (__ieee754_powl): Saturate large exponents rather than testing for
77562         overflow of y*log2(x).
77563         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
77564         * math/libm-test.inc (pow_test): Do not permit spurious overflow
77565         exceptions.
77567         [BZ #11521]
77568         * math/s_ctan.c: Include <float.h>.
77569         (__ctan): Avoid internal overflow or cancellation in calculating
77570         denominator.
77571         * math/s_ctanf.c: Likewise.
77572         * math/s_ctanl.c: Likewise.
77573         * math/s_ctanh.c: Likewise.
77574         * math/s_ctanhf.c: Likewise.
77575         * math/s_ctanhl.c: Likewise.
77576         * math/libm-test.inc (ctan_test): Add more tests.
77577         (ctanh_test): Likewise.
77578         * sysdeps/i386/fpu/libm-test-ulps: Update.
77579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77581 2012-04-09  Andreas Jaeger  <aj@suse.de>
77583         [BZ #6894]
77584         * manual/filesys.texi (Directory Entries): Mention that d_namlen
77585         is an optional BSD extension.
77587         [BZ #10254]
77588         * manual/stdio.texi (Opening Streams): Document additional fopen
77589         parameters.
77591 2012-04-09  Roland McGrath  <roland@hack.frob.com>
77593         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
77594         %eax without telling the compiler.
77596 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
77598         [BZ # 13963]
77599         * manual/install.texi: Use sourceware.org.
77601 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
77603         [BZ #13873]
77604         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
77605         (__ieee754_pow): Generate overflow and underflow using huge*huge
77606         and tiny*tiny rather than just returning constant infinity or zero
77607         for large exponents.
77608         * math/libm-test.inc (pow_test): Require overflow exceptions for
77609         applicable cases of large exponents.
77611         [BZ #706]
77612         * sysdeps/i386/fpu/e_pow.S (p10): New object.
77613         (__ieee754_pow): Use iterative multiplication algorithm only for
77614         integer exponents with absolute value below 1024.  Check for odd
77615         integer exponents when using algorithm for real exponents.
77616         * math/libm-test.inc (pow_test): Add more tests.
77617         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77619 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
77621         [BZ #13705]
77622         * math/libm-test.inc (exp_test): Do not allow overflow exception
77623         on underflow test.
77625 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
77627         [BZ #13705]
77628         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
77629         instead of __kernel_standard_f.
77631 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
77633         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
77634         * sysdeps/x86_64/memset_chk.S: Likewise.
77636 2012-04-08  Andreas Jaeger  <aj@suse.de>
77638         [BZ #10153]
77639         * manual/startup.texi (Environment Access): Describe return value
77640         for putenv and setenv.
77642         [BZ #6895]
77643         * manual/filesys.texi (Directory Entries): Add description for
77644         DT_LNK.
77646         [BZ #6890]
77647         * manual/filesys.texi (Directory Entries): Clarify that it's file
77648         system not operating system in the description of DT_UNKNOWN.
77650         [BZ #6578]
77651         * manual/syslog.texi (closelog): Fix reference, it's openlog.
77653 2012-04-08  Stephen Compall  <s11@member.fsf.org>
77655         [BZ #6649]
77656         * manual/llio.texi (Opening and Closing Files): Add cross
77657         reference to explain mode argument.
77659 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
77661         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
77662         * sysdeps/x86_64/memset_chk.S: Likewise.
77664 2012-04-07  David S. Miller  <davem@davemloft.net>
77666         * elf/elf.h (R_SPARC_WDISP10): Define.
77667         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
77668         R_SPARC_SIZE32.
77669         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
77670         R_SPARC_SIZE64 and R_SPARC_H34.
77672 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
77674         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
77675         conditions and remove no longer applicable assertion.
77677 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77679         * bits/byteswap.h: Include <features.h>.
77680         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
77681         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
77683 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
77685         * bits/byteswap.h (__bswap_16): Removed.
77686         Include <bits/byteswap-16.h> to get __bswap_16.
77687         * sysdeps/i386/bits/byteswap.h: Likewise.
77688         * sysdeps/s390/bits/byteswap.h: Likewise.
77689         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77690         * bits/byteswap-16.h: New file.
77691         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77692         * sysdeps/s390/bits/byteswap-16.h: Likewise.
77693         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
77694         * string/Makefile (headers): Add bits/byteswap-16.h.
77696 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77698         [BZ #13895]
77699         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
77700         extra indirection.
77701         * nss/Makefile (tests-static, tests): Add tst-nss-static.
77702         * nss/tst-nss-static.c: New.
77704 2012-04-06  Robert Millan  <rmh@gnu.org>
77706         [BZ #6486]
77707         * manual/llio.texi (File Position Primitive): lseek
77708         refers to WHENCE when it really means OFFSET.
77710 2012-04-06  Andreas Jaeger  <aj@suse.de>
77712         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
77713         strncmp declarations.
77715         * abilist/libc.abilist: Add __poll and __ppoll.
77717 2012-04-05  David S. Miller  <davem@davemloft.net>
77719         * scripts/check-local-headers.sh: Accept a host triplet in the
77720         path matched by the exclude regexp.
77722         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
77723         definition.
77724         * sysdeps/powerpc/powerpc32/dl-machine.h
77725         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
77726         * sysdeps/s390/s390-32/dl-machine.h
77727         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77728         * sysdeps/sparc/sparc32/dl-machine.h
77729         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77730         * sysdeps/sparc/sparc64/dl-machine.h
77731         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
77733         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
77734         lazy binding.
77735         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
77736         undefined symbol errors.
77738         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
77739         DT_NEEDED entries.
77741 2012-04-05  Michael Matz  <matz@suse.de>
77743         [BZ #13592]
77744         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
77746 2012-04-05  Andreas Jaeger  <aj@suse.de>
77748         [BZ #13908]
77749         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
77750         comment.
77752 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77754         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
77755         which ROUND is no valid rounding mode.
77757 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77759         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
77760         read again.
77761         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
77763 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77765         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
77766         an exception using FPU order intentionally.
77768 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77770         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
77771         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
77772         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
77773         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
77775 2012-04-05  Simon Josefsson  <simon@josefsson.org>
77777         [BZ #12340]
77778         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
77779         EINVAL when BUFLEN is too smal.
77781 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
77783         [BZ #13553]
77784         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
77785         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
77787 2012-04-03  Andreas Jaeger  <aj@suse.de>
77789         [BZ #13938]
77790         * manual/setjmp.texi (System V contexts): Fix sentence.
77792         [BZ #13926]
77793         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
77794         New macro for this case.
77795         [!__GNUC__] (__bswap_64): New inline function for this case.
77796         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77797         * bits/byteswap.h: Likewise.
77798         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
77799         ull, guard with __GLIBC_HAVE_LONG_LONG.
77801         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
77802         __GLIBC_HAVE_LONG_LONG.
77804         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
77805         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
77807 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
77809         [BZ #13691]
77810         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
77811         inptr and inend, rather than using last_ch.
77813 2012-04-02  David S. Miller  <davem@davemloft.net>
77815         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
77816         * stdio-common/printf-parse.h (read_int): Change return type to
77817         'int', return -1 on INT_MAX overflow.
77818         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
77819         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
77820         overflows INT_MAX.  Check for overflow of in-format-string precision
77821         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
77822         SIZE_MAX not INT_MAX for integer overflow test.
77823         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
77824         skip the construct in the format string but do not record anything.
77825         * stdio-common/bug22.c: Adjust to test both width/prevision
77826         INT_MAX overflow as well as total length INT_MAX overflow.  Check
77827         explicitly for proper errno values.
77829 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
77831         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
77832         CHAR_MAX.
77833         * string/test-strcmp.c [! WIDE]: Likewise.
77834         * time/tst-mktime2.c: Likewise for INT_MAX.
77835         * string/test-string.h: #include <sys/param.h> for MIN.
77837         * csu/init-first.c (__libc_init_first): Call __ctype_init.
77838         * sysdeps/i386/init-first.c (init): Likewise.
77839         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
77840         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
77841         * sysdeps/sh/init-first.c (init): Likewise.
77843 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
77845         * po/ru.po: Update from translation team.
77846         * po/vi.po: Likewise.
77848 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
77850         * resolv/nss_dns/dns-host.c: Merge copyright years.
77852 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77854         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77855         Optimize memcpy with prefetch if
77856         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
77857         src, dst pointers have unequal 16 byte alignments.
77859 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
77861         [BZ #13928]
77862         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
77863         from a CNAME entry and return the minimum ttl for the query.
77864         (gaih_getanswer_slice): Likewise.
77866 2012-03-30  Jeff Law  <law@redhat.com>
77868         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
77869         due to long keys.
77870         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
77871         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
77873         * resolv/nss_dns/dns-host.c: Update copyright year.
77875 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
77877         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
77878         requests to save a system call.  Fix check that all bytes are sent.
77880         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
77881         comments for sendmmsg.
77883 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77885         [BZ #13691]
77886         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
77887         with only 1 character between 0x0041 and 0x01b0.
77888         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77889         * wcsmbs/tst-mbsnrtowcs.c: New file.
77891 2012-03-29  David S. Miller  <davem@davemloft.net>
77893         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
77894         small copies by hand.
77896 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77898         [BZ #13761]
77899         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
77900         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
77901         group memberships.
77903 2012-03-28  David S. Miller  <davem@davemloft.net>
77905         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
77906         that branches into memcpy.
77907         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
77908         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
77909         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77910         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
77911         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
77912         bits.
77913         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
77914         implementation too.
77915         * sysdeps/sparc/mempcpy.S: New file.
77917         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
77918         the IFUNC routine in the libc case.
77919         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77921         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
77922         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
77923         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
77924         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
77925         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
77926         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
77927         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
77928         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
77930         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
77931         loop to 256 bytes instead of 64 bytes and fix test signedness.
77933         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
77934         * sysdeps/sparc/sparc32/Makefile: rather than here...
77935         * sysdeps/sparc/sparc64/Makefile: and here.
77937 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
77939         * malloc/mallocbug.c: Avoid warnings about unused variables.
77941 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
77943         [BZ #13760]
77944         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
77945         in the right place. Discard and retry query if response is
77946         larger than input buffer size.
77948 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
77950         [BZ #369]
77951         [BZ #2678]
77952         [BZ #3866]
77953         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
77954         x for large integer exponent.
77955         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
77956         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
77957         sign of result as needed afterwards.
77958         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
77959         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
77960         result for underflowing pow the same as for overflow.
77961         (__kernel_standard_l): Handle powl overflow and underflow here
77962         rather than calling __kernel_standard.
77963         * math/libm-test.inc (pow_test): Add more tests.
77965         [BZ #3868]
77966         [BZ #13879]
77967         [BZ #13910]
77968         [BZ #13911]
77969         [BZ #13912]
77970         [BZ #13913]
77971         [BZ #13915]
77972         [BZ #13916]
77973         [BZ #13917]
77974         [BZ #13918]
77975         [BZ #13919]
77976         [BZ #13920]
77977         [BZ #13921]
77978         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
77979         * sysdeps/ieee754/k_standard.c: Include <float.h>.
77980         (__kernel_standard_l): New function.
77981         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
77982         __kernel_standard.
77983         * math/w_acosl.c (__acosl): Likewise.
77984         * math/w_asinl.c (__asinl): Likewise.
77985         * math/w_atan2l.c (__atan2l): Likewise.
77986         * math/w_atanhl.c (__atanhl): Likewise.
77987         * math/w_coshl.c (__coshl): Likewise.
77988         * math/w_exp10l.c (__exp10l): Likewise.
77989         * math/w_exp2l.c (__exp2l): Likewise.
77990         * math/w_fmodl.c (__fmodl): Likewise.
77991         * math/w_hypotl.c (__hypotl): Likewise.
77992         * math/w_j0l.c (__j0l, __y0l): Likewise.
77993         * math/w_j1l.c (__j1l, __y1l): Likewise.
77994         * math/w_jnl.c (__jnl, __ynl): Likewise.
77995         * math/w_lgammal.c (__lgammal): Likewise.
77996         * math/w_log10l.c (__log10l): Likewise.
77997         * math/w_log2l.c (__log2l): Likewise.
77998         * math/w_logl.c (__logl): Likewise.
77999         * math/w_powl.c (__powl): Likewise.
78000         * math/w_remainderl.c (__remainderl): Likewise.
78001         * math/w_scalbl.c (sysv_scalbl): Likewise.
78002         * math/w_sinhl.c (__sinhl): Likewise.
78003         * math/w_sqrtl.c (__sqrtl): Likewise.
78004         * math/w_tgammal.c (__tgammal): Likewise.
78005         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
78006         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
78007         * math/libm-test.inc (acos_test): Add more tests.
78008         (acosh_test): Likewise.
78009         (asin_test): Likewise.
78010         (atanh_test): Likewise.
78011         (exp_test): Likewise.
78012         (exp10_test): Likewise.
78013         (exp2_test): Likewise.
78014         (expm1_test): Likewise.
78015         (lgamma_test): Likewise.
78016         (log_test): Likewise.
78017         (log10_test): Likewise.
78018         (log1p_test): Likewise.
78019         (log2_test): Likewise.
78020         (pow_test): Do not allow some spurious overflow exceptions.
78021         (sqrt_test): Add more tests.
78022         (tgamma_test): Likewise.
78023         (y0_test): Likewise.
78024         (y1_test): Likewise.
78025         (yn_test): Likewise.
78027 2012-03-27  Anton Blanchard  <anton@samba.org>
78029         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
78030         MAP_HUGETLB.
78031         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78032         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78033         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78035 2012-03-27  David S. Miller  <davem@davemloft.net>
78037         * conform/Makefile: Run run-conformtest.sh using $(BASH).
78039         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
78040         have-as-vis3 check.
78042 2012-03-27  Andreas Jaeger  <aj@suse.de>
78044         * sysdeps/x86_64/elf/configure.in: Moved to ...
78045         * sysdeps/x86_64/configure.in: ... here.
78046         * sysdeps/x86_64/elf/start.S: Moved to ...
78047         * sysdeps/x86_64/start.S: ... here.
78048         * sysdeps/x86_64/elf/configure: Delete.
78050         * sysdeps/x86_64/configure.in: Merge contents from
78051         sysdeps/i386/configure.in (without i686 check).
78053         * sysdeps/i386/elf/Versions: Merge into ...
78054         * sysdeps/i386/Versions: ... this.
78055         * sysdeps/i386/elf/Versions: Delete file.
78056         * sysdeps/i386/elf/start.S: Moved to ...
78057         * sysdeps/i386/start.S: ...here.
78058         * sysdeps/i386/elf/configure.in: Merge into...
78059         * sysdeps/i386/configure.in: ...here.
78060         * sysdeps/i386/elf/configure.in: Delete file.
78061         * sysdeps/i386/elf/configure: Delete file.
78063         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
78064         * debug/backtracesyms.c: ... here.
78065         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
78066         * debug/backtracesymsfd.c: ... here.
78067         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
78068         * sysdeps/generic/ifunc-sel.h: ... here.
78070         * sysdeps/unix/i386/start.c: Delete file.
78071         * sysdeps/unix/sparc/start.c: Delete file.
78072         * sysdeps/unix/start.c: Delete file.
78074         * sysdeps/sh/elf/configure.in: Moved to ...
78075         * sysdeps/sh/configure.in: ... here.
78076         * sysdeps/sh/elf/start.S: Moved to ...
78077         * sysdeps/sh/start.S: ... here.
78078         * sysdeps/sh/elf/configure: Delete file.
78080         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
78081         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
78082         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
78083         * sysdeps/powerpc/powerpc64/entry.h: ... here.
78084         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
78085         * sysdeps/powerpc/powerpc64/start.S: here.
78086         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
78087         * sysdeps/powerpc/powerpc64/Makefile: ... this.
78088         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
78089         * sysdeps/powerpc/powerpc64/configure.in: ... this.
78090         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
78092         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
78093         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
78094         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
78095         * sysdeps/powerpc/powerpc32/start.S: ... here.
78096         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
78097         * sysdeps/powerpc/powerpc32/configure.in: ... this.
78098         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
78100         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
78101         * sysdeps/powerpc/ifunc-sel.h: ... here.
78102         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
78103         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
78105         * sysdeps/sparc/elf/configure.in: Moved to ...
78106         * sysdeps/sparc/configure.in: ... here.
78107         * sysdeps/sparc/elf/configure: Delete file.
78108         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
78109         * sysdeps/sparc/sparc32/start.S: ... here.
78110         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
78111         * sysdeps/sparc/sparc64/start.S: ... here.
78112         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
78113         * sysdeps/sparc/sparc32/Makefile: ... this.
78114         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
78115         * sysdeps/sparc/sparc64/Makefile: ... this.
78117         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
78118         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
78119         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
78120         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
78121         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
78122         * sysdeps/s390/s390-32/setjmp.S: ... here.
78123         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
78124         * sysdeps/s390/s390-32/configure.in: ... here.
78125         * sysdeps/s390/s390-32/elf/configure: Delete file.
78126         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
78127         * sysdeps/s390/s390-32/start.S: ... here.
78129         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
78130         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
78131         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
78132         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
78133         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
78134         * sysdeps/s390/s390-64/setjmp.S: ... here.
78135         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
78136         * sysdeps/s390/s390-64/configure.in: ... here
78137         * sysdeps/s390/s390-64/elf/configure: Delete file.
78138         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
78139         * sysdeps/s390/s390-64/start.S: ... here.
78140         * sysdeps/s390/s390-64/elf/configure: Delete.
78142         * configure.in: Remove support for elf directories in sysdeps.
78144         * configure: Regenerated.
78145         * sysdeps/i386/configure: Regenerated.
78146         * sysdeps/powerpc/powerpc32/configure: Regenerated.
78147         * sysdeps/powerpc/powerpc64/configure: Regenerated.
78148         * sysdeps/s390/s390-32/configure: Regenerated.
78149         * sysdeps/s390/s390-64/configure: Regenerated.
78150         * sysdeps/sh/configure: Regenerated.
78151         * sysdeps/sparc/configure: Regenerated.
78152         * sysdeps/x86_64/configure: Regenerated.
78154 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
78156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78158         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
78159         denormal result into account.
78161 2012-03-25  Roland McGrath  <roland@hack.frob.com>
78163         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
78164         Reported by Allan McRae <allan@archlinux.org>.
78166 2012-03-23  Jeff Law  <law@redhat.com>
78168         * nss/getnssent.c (__nss_getent): Fix typo.
78170 2012-03-23  David S. Miller  <davem@davemloft.net>
78172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78174 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
78176         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
78177         to pad to uint64_t for each field.
78178         (dl_tls_index): Replace unsigned long with uint64_t.
78180 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
78181         Paul Pluzhnikov  <ppluzhnikov@google.com>
78183         [BZ #6528]
78184         * grp/Makefile (otherlibs): Don't set it.
78185         * inet/Makefile (otherlibs): Likewise.
78186         * login/Makefile (otherlibs): Likewise.
78187         * nscd/Makefile (otherlibs): Likewise.
78188         * posix/Makefile (otherlibs): Likewise.
78189         * pwd/Makefile (otherlibs): Likewise.
78190         * rt/Makefile (otherlibs): Likewise.
78191         * sunrpc/Makefile (otherlibs): Likewise.
78192         * nss/Makefile (otherlibs): Likewise.
78193         Add libnss_files to routines and static-only-routines.
78194         ($(objpfx)getent): Remove rule.
78195         * resolv/Makefile: Add libnss_dns and libresolv to routines and
78196         static-only-routines.
78198 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78200         [BZ #13892]
78201         * math/s_cexp.c: Include <float.h>.
78202         (__cexp): Handle exp result overflowing not necessarily
78203         overflowing both real and imaginary parts of result.
78204         * math/s_cexpf.c: Likewise.
78205         * math/s_cexpl.c: Likewise.
78206         * math/libm-test.inc (cexp_test): Add more tests.
78207         * sysdeps/i386/fpu/libm-test-ulps: Update.
78208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78210 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78212         * include/link.h (ELFW): New macro.
78213         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
78214         Replace ELF64_R_TYPE with ELFW(R_TYPE).
78216 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78218         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
78219         with uint64_t.
78221 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78223         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
78224         declaration.
78225         (struct La_x32_retval): Likewise.
78227 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
78229         * sysdeps/x86_64/preconfigure.in: New file.
78230         * sysdeps/x86_64/preconfigure: New generated file.
78232 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
78234         [BZ #13824]
78235         * math/e_exp2l.c: Include <float.h>.
78236         (__ieee754_exp2l): Handle overflow and underflow cases
78237         separately.  Only pass fractional part of argument to
78238         __ieee754_expl.
78239         * math/libm-test.inc (exp2_test): Add more tests.
78241         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
78242         negating x to take absolute value.
78243         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
78244         Likewise.
78245         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
78246         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
78247         Likewise.
78248         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
78249         computing low part if x was negated.
78250         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
78252 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78254         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
78255         la_x32_gnu_pltexit.
78256         (pltexit): Cast int_retval to ptrdiff_t.
78257         * elf/tst-auditmod3b.c: Likewise.
78258         * elf/tst-auditmod4b.c: Likewise.
78259         * elf/tst-auditmod5b.c: Likewise.
78260         * elf/tst-auditmod6b.c: Likewise.
78261         * elf/tst-auditmod6c.c: Likewise.
78262         * elf/tst-auditmod7b.c: Likewise.
78264         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
78265         and x32_gnu_pltexit.
78267         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
78268         __ELF_NATIVE_CLASS.
78269         (La_x32_regs): New macro.
78270         (La_x32_retval): Likewise.
78271         (la_x32_gnu_pltenter): New function prototype.
78272         (la_x32_gnu_pltexit): Likewise.
78274 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
78276         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
78277         exponent.
78279         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78281         * configure.in (libc_cv_cc_nofma): Check for option to disable
78282         generation of FMA instructions.
78283         * configure: Regenerate.
78284         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
78285         * sysdeps/ieee754/dbl-64/Makefile: New file.
78286         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
78287         Remove brandred-fma4.
78288         (CFLAGS-brandred-fma4.c): Remove.
78289         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
78290         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
78291         define.
78292         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
78293         define.
78295 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78297         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78298         LLONG_MAX != LONG_MAX.
78299         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78300         (_fitoa_word): Likewise.
78301         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
78302         LLONG_MAX != LONG_MAX.
78303         * stdio-common/_itowa.h: Include <_itoa.h>.
78304         (_itowa_word): Use _ITOA_WORD_TYPE on value.
78305         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
78306         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
78307         only if not defined.
78308         (_ITOA_WORD_TYPE): Likewise.
78309         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78310         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
78312 2012-03-21  David S. Miller  <davem@davemloft.net>
78314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78316 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
78318         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
78319         of x86_64 when setting libc_cv_slibdir, libdir and
78320         libc_cv_localedir.
78321         * sysdeps/unix/sysv/linux/configure: Regenerated.
78323 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78325         * manual/lang.texi (Old Varargs): Remove section.
78326         (How Variadic): Update menu.
78327         (va_start): Do not mention varargs.h.
78329 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78330             Joseph Myers  <joseph@codesourcery.com>
78332         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
78333         link test.
78334         * configure: Regenerated.
78336 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
78338         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
78339         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
78340         conformtest.pl
78342 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78344         * NOTES: Remove.
78345         * Makefile (files-for-dist): Remove NOTES.
78346         (NOTES): Remove rule.
78347         * README: Don't refer to NOTES.
78348         * manual/creature.texi: Don't include macros.texi.
78349         * manual/intro.texi (creature.texi): Remove comment referring to
78350         NOTES.
78352         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
78353         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
78354         * configure: Regenerated.
78355         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
78356         LIBC_TRY_CC_OPTION.
78357         (libc_cv_as_i686): Likewise.
78358         (libc_cv_cc_avx): Likewise.
78359         (libc_cv_cc_sse2avx): Likewise.
78360         (libc_cv_cc_fma4): Likewise.
78361         (libc_cv_cc_novzeroupper): Likewise.
78362         * sysdeps/i386/configure: Regenerated.
78364         [BZ #13883]
78365         * sysdeps/i386/fpu/s_cexp.S: Remove.
78366         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78367         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78368         * math/libm-test.inc (cexp_test): Add more tests.
78369         * sysdeps/i386/fpu/libm-test-ulps: Update.
78370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78372 2012-03-21  Allan McRae  <allan@archlinux.org>
78374         * timezone/Makefile: Do not install iso3166.tab and zone.tab
78376 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
78378         [BZ #13871]
78379         * math/w_exp2.c: Do not include <float.h>.
78380         (o_threshold, u_threshold): Remove.
78381         (__exp2): Calculate result before checking finiteness and calling
78382         __kernel_standard.
78383         * math/w_exp2f.c: Likewise.
78384         * math/w_exp2l.c: Likewise.
78385         * math/libm-test.inc (exp2_test): Require overflow exception for
78386         1e6 input.
78388         [BZ #3866]
78389         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
78390         range of signed 64-bit integers before using fistpll.  Remove
78391         checks for whether integers fit in mantissa bits.
78392         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
78393         the range of signed 32-bit integers before using fistpl.  Remove
78394         checks for whether integers fit in mantissa bits.
78395         * sysdeps/i386/fpu/e_powl.S (p64): New object.
78396         (__ieee754_powl): Test for y outside the range of signed 64-bit
78397         integers before using fistpll.  Reduce 64-bit values to 63-bit
78398         ones as needed.
78399         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
78400         divide-by-zero is raised for zero to large negative powers.
78401         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
78402         (__ieee754_powl): Test for y outside the range of signed 64-bit
78403         integers before using fistpll.  Reduce 64-bit values to 63-bit
78404         ones as needed.
78405         * math/libm-test.inc (pow_test): Add more tests.
78407 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78409         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
78410         <stdio-common/_itoa.h>.
78411         * debug/segfault.c: Likewise.
78412         * elf/dl-cache.c: Likewise.
78413         * elf/dl-minimal.c: Likewise.
78414         * elf/dl-misc.c: Likewise.
78415         * elf/dl-sysdep.c: Likewise.
78416         * elf/dl-version.c: Likewise.
78417         * elf/rtld.c: Likewise.
78418         * hurd/hurdsock.c: Likewise.
78419         * hurd/lookup-retry.c: Likewise.
78420         * malloc/malloc.c: Likewise.
78421         * malloc/mtrace.c: Likewise.
78422         * nscd/nscd_getgr_r.c: Likewise.
78423         * nscd/nscd_getpw_r.c: Likewise.
78424         * nscd/nscd_getserv_r.c: Likewise.
78425         * posix/getopt_init.c: Likewise.
78426         * posix/wordexp.c: Likewise.
78427         * stdio-common/_itoa.c: Likewise.
78428         * stdio-common/printf_fphex.c: Likewise.
78429         * stdio-common/vfprintf.c: Likewise.
78430         * string/_strerror.c: Likewise.
78431         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
78432         * sysdeps/i386/i686/hp-timing.h: Likewise.
78433         * sysdeps/mach/_strerror.c: Likewise.
78434         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
78435         * sysdeps/mach/hurd/sethostid.c: Likewise.
78436         * sysdeps/mach/hurd/xmknodat.c: Likewise.
78437         * sysdeps/mach/xpg-strerror.c: Likewise.
78438         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
78439         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
78440         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
78441         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
78442         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
78443         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
78444         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
78445         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
78446         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
78447         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
78448         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
78449         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
78450         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
78451         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
78452         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
78453         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
78454         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
78455         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
78456         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
78457         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
78458         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
78460         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
78462         * stdio-common/_itoa.h: Moved to ...
78463         * sysdeps/generic/_itoa.h: Here.
78465         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
78467         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
78468         instead of "_itoa.h" and "_itowa.h".
78469         * stdio-common/vfprintf.: Likewise.
78471 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78473         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
78474         <bits/wordsize.h>.
78475         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
78476         (__signbit): Likewise.
78477         (llrintf): Likewise.
78478         (llrint): Likewise.
78480 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
78482         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
78483         __WORDSIZE != 64.
78485 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
78487         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
78488         OVERFLOW_EXCEPTION_OK.
78489         * math/libm-test.inc ("Philosophy"): Update comment about
78490         exception testing.
78491         (OVERFLOW_EXCEPTION): Define.
78492         (OVERFLOW_EXCEPTION_OK): Likewise.
78493         (INVALID_EXCEPTION_OK): Renumber.
78494         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78495         (IGNORE_ZERO_INF_SIGN): Likewise.
78496         (test_exceptions): Handle FE_OVERFLOW.
78497         (exp10_test): Expect overflow exceptions.
78498         (exp2_test): Likewise.
78499         (expm1_test): Likewise.
78500         (nextafter_test): Likewise.
78501         (pow_test): Likewise.
78502         (scalbn_test): Likewise.
78503         (scalbln_test): Likewise.
78505 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78507         * sysdeps/x86_64/bits/atomic.h
78508         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
78509         64bit integer.
78510         (atomic_exchange_acq): Likewise.
78511         (__arch_exchange_and_add_body): Likewise.
78512         (__arch_add_body): Likewise.
78513         (atomic_add_negative): Likewise.
78514         (atomic_add_zero): Likewise.
78516 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78518         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
78519         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
78521 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78523         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
78524         Check __x86_64__ instead of __WORDSIZE.
78526 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78528         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
78530 2012-03-19  David S. Miller  <davem@davemloft.net>
78532         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78534         * sysdeps/sparc/fpu/fenv_private.h: New file.
78535         * sysdeps/sparc/fpu/math_private.h: Use it.
78536         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
78537         Remove.
78538         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
78539         (libc_feholdexcept_setroundl): Remove.
78540         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
78541         Remove.
78542         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
78543         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
78545 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78547         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
78548         int64_t instead of long int.
78549         (INSERT_WORDS64): Likewise.
78551 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
78553         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
78554         _Unwind_GetCFA return to _Unwind_Ptr first.
78556 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
78558         [BZ #13629]
78559         * math/s_clog.c: Include <float.h>.
78560         (__clog): Scale large or subnormal inputs.
78561         * math/s_clogf.c: Likewise.
78562         * math/s_clogl.c: Likewise.
78563         * math/s_clog10.c: Include <float.h>.
78564         (M_LOG10_2): Define.
78565         (__clog10): Scale large or subnormal inputs.
78566         * math/s_clog10f.c: Likewise.
78567         * math/s_clog10l.c: Likewise.
78568         * math/libm-test.inc (clog_test): Add more tests.
78569         (clog10_test): Likewise.
78570         * sysdeps/i386/fpu/libm-test-ulps: Update.
78571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78573         [BZ #11451]
78574         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
78575         x and y.
78576         * math/libm-test.inc (atan2_test): Add another test.
78578         * Makerules (common-objdir-compile): Remove.
78579         * sysdeps/unix/Makefile (config-generated): Do not add
78580         $(unix-generated) to variable.
78581         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
78582         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
78583         Remove rule.
78584         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
78585         Likewise.
78586         [generic bits/local_lim.h] (before-compile): Do not append to
78587         variable.
78588         [generic bits/local_lim.h] (common-generated): Likewise.
78589         [generic sys/param.h] (before-compile): Do not append to variable.
78590         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
78591         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
78592         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
78593         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
78594         include.
78595         [generic sys/param.h] (sys/param.h-includes): Remove variable.
78596         [generic sys/param.h] (sys/param.h-includes): Remove rule.
78597         [generic sys/param.h] ($(addprefix
78598         $(common-objpfx),$(sys/param.h-includes))): Likewise.
78599         [generic sys/param.h] (common-generated): Do not append to
78600         variable.
78601         [generic sys/param.h] (sysdep_headers): Likewise.
78602         [generic bits/errno.h] (before-compile): Do not append to
78603         variable.
78604         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
78605         rule.
78606         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
78607         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
78608         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
78609         [generic bits/errno.h] (common-generated): Do not append to
78610         variable.
78611         [generic bits/ioctls.h] (before-compile): Do not append to
78612         variable.
78613         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
78614         rule.
78615         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
78616         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
78617         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
78618         rule.
78619         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
78620         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
78621         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
78622         [generic bits/ioctls.h] (common-generated): Do not append to
78623         variable.
78624         [generic sys/syscall.h] (syscall.h): Remove variable.
78625         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
78626         rule.
78627         [generic sys/syscall.h] (before-compile): Do not append to
78628         variable.
78629         [generic sys/syscall.h] (common-generated): Likewise.
78630         * sysdeps/unix/errnos-tmpl.c: Remove file.
78631         * sysdeps/unix/errnos.awk: Likewise.
78632         * sysdeps/unix/ioctls-tmpl.c: Likewise.
78633         * sysdeps/unix/ioctls.awk: Likewise.
78634         * sysdeps/unix/mk-local_lim.c: Likewise.
78635         * sysdeps/unix/snarf-ioctls: Likewise.
78637 2012-03-19  Richard Henderson  <rth@twiddle.net>
78639         * sysdeps/i386/fpu/fenv_private.h: New file.
78640         * sysdeps/i386/fpu/math_private.h: Use it.
78641         (math_opt_barrier, math_force_eval): Remove.
78642         (libc_feholdexcept_setround_53bit): Remove.
78643         (libc_feupdateenv_53bit): Remove.
78644         * sysdeps/x86_64/fpu/math_private.h: Likewise.
78645         (math_opt_barrier, math_force_eval): Remove.
78646         (libc_feholdexcept): Remove.
78647         (libc_feholdexcept_setround): Remove.
78648         (libc_fetestexcept, libc_fesetenv): Remove.
78649         (libc_feupdateenv_test): Remove.
78650         (libc_feupdateenv, libc_feholdsetround): Remove.
78651         (libc_feresetround): Remove.
78653         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
78654         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
78656         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
78657         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
78658         (libc_feupdateenv_testl): New.
78659         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
78660         (libc_feupdateenv_testf): New.
78661         (libc_feupdateenv): Use libc_feupdateenv_test.
78662         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
78663         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
78665         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
78666         (libc_feholdsetroundf, libc_feholdsetroundl): New.
78667         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
78668         (libc_feresetround_noex): New.
78669         (libc_feresetround_noexf): New.
78670         (libc_feresetround_noexl): New.
78671         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
78672         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
78673         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
78674         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
78675         SET_RESTORE_ROUND.
78676         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
78677         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
78678         (__cos): Likewise.
78679         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
78680         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
78681         SET_RESTORE_ROUND_NOEX.
78682         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
78683         SET_RESTORE_ROUND_NOEXF.
78684         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
78685         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
78686         (libc_feholdsetroundf): New.
78687         (libc_feresetround, libc_feresetroundf): New.
78689         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
78690         (libc_feholdexcept_setround_53bit): Convert from macro to function.
78691         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
78693         * sysdeps/generic/math_private.h: Include <fenv.h>.
78694         (default_libc_feholdexcept): New.
78695         (default_libc_feholdexcept_setround): New.
78696         (default_libc_fesetenv, default_libc_feupdateenv): New.
78697         (libc_feholdexcept): Only define if undefined.
78698         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
78699         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
78700         (libc_feholdexcept_setroundl): Likewise.
78701         (libc_feholdexcept_setround_53bit): Likewise.
78702         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
78703         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
78704         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
78705         (libc_feupdateenv_53bit): Likewise.
78706         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
78707         (libc_feholdexcept): Convert from macro to inline function.
78708         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
78709         (libc_fesetenv, libc_feupdateenv): Likewise.
78711         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
78712         not previously defined.
78713         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
78714         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
78715         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
78716         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
78717         * sysdeps/ieee754/flt-32/math_private.h: New file.
78718         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
78719         math_private.h below SET_FLOAT_WORD.
78720         (__isnan, __isinf_ns, __finite): Remove.
78721         (__isnanf, __isinf_nsf, __finitef): Remove.
78723 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
78725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78727 2012-03-17  David S. Miller  <davem@davemloft.net>
78729         [BZ #6471]
78730         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
78731         for 2.16.
78733 2012-03-16  David S. Miller  <davem@davemloft.net>
78735         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
78736         warnings.
78738         [BZ #6471]
78739         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
78740         properly.
78741         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
78742         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
78743         sysdep_routines when subdir is sysvipc.
78744         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
78745         __getshmlba helper.
78747         * sysdeps/sparc/fpu/libm-test/ulps: Update.
78749 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78751         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
78752         [__LP64__].
78754 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78756         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
78757         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
78758         (__lround): Renamed to ...
78759         (__llround): This.  Replace long int with long long int.
78760         Define lround functions as aliases of llround functions.
78761         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
78763 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78765         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
78766         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
78767         adresses to uintptr_t.  Replace "long int" and "unsigned long
78768         int" with "greg_t" on va_arg.
78770 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78772         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
78773         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
78775         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
78776         Move e_machine check before EI_CLASS check.  Handle x32
78777         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
78778         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
78779         SKIP_EM_IA_64 and include
78780         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
78782         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
78783         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
78784         (add_system_dir): New macro.
78786         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
78787         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
78789 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78791         [BZ #2551]
78792         [BZ #2552]
78793         [BZ #2553]
78794         [BZ #2554]
78795         [BZ #2562]
78796         [BZ #2563]
78797         [BZ #2565]
78798         [BZ #2566]
78799         [BZ #2576]
78800         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
78801         (y0): Likewise.
78802         * math/w_j0f.c (j0f): Likewise.
78803         (y0f): Likewise.
78804         * math/w_j0l.c (__j0l): Likewise.
78805         (__y0l): Likewise.
78806         * math/w_j1.c (j1): Likewise.
78807         (y1): Likewise.
78808         * math/w_j1f.c (j1f): Likewise.
78809         (y1f): Likewise.
78810         * math/w_j1l.c (__j1l): Likewise.
78811         (__y1l): Likewise.
78812         * math/w_jn.c (jn): Likewise.
78813         (yn): Likewise.
78814         * math/w_jnf.c (jnf): Likewise.
78815         (ynf): Likewise.
78816         * math/w_jnl.c (__jnl): Likewise.
78817         (__ynl): Likewise.
78818         * math/libm-test.inc (j0_test): Add more tests.
78819         (j1_test): Likewise.
78820         (jn_test): Likewise.  Add trailing semicolon to existing test.
78821         (y0_test): Likewise.
78822         (y1_test): Likewise.
78823         * sysdeps/i386/fpu/libm-test-ulps: Update.
78824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78826         [BZ #13851]
78827         [BZ #13854]
78828         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
78829         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
78830         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
78831         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
78832         (__tanl): Set errno for infinite argument.
78833         * sysdeps/i386/fpu/mptan.c: Remove.
78834         * sysdeps/i386/fpu/s_tan.S: Likewise.
78835         * sysdeps/i386/fpu/s_tanl.S: Likewise.
78836         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
78837         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
78838         * math/libm-test.inc (tan_test): Add more tests and enable more
78839         tests for double and long double.
78840         * sysdeps/i386/fpu/libm-test-ulps: Update.
78841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78843 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
78845         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
78846         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
78848 2012-03-16  Roland McGrath  <roland@hack.frob.com>
78850         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
78851         * configure.in: Use it for both main tree and add-ons.
78852         * configure: Regenerated.
78854 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
78856         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
78858 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
78860         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
78861         in comment.
78863         [BZ #13851]
78864         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
78865         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
78866         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
78867         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
78868         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
78869         infinite argument.
78870         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
78871         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
78872         != 0 for prec == 2.
78873         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
78874         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
78875         * sysdeps/i386/fpu/s_cosl.S: Likewise.
78876         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
78877         * sysdeps/i386/fpu/s_sinl.S: Likewise.
78878         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
78879         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
78880         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
78881         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
78882         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
78883         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
78884         * math/libm-test.inc (cos_test): Add more tests and enable more
78885         tests for long double.
78886         (sin_test): Likewise.
78887         (sincos_test): Likewise.
78888         * sysdeps/i386/fpu/libm-test-ulps: Update.
78889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78891 2012-03-16  David S. Miller  <davem@davemloft.net>
78893         * sysdeps/sparc/fpu/math_private.h: New file.
78895 2012-03-15  David S. Miller  <davem@davemloft.net>
78897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
78898         file.
78899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
78900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
78901         file.
78902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
78903         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
78904         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
78905         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
78906         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
78907         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
78908         sysdep routines.
78909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
78911         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
78912         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
78914         * sysdeps/sparc/sparc-ifunc.h: New file.
78915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
78916         sparc-ifunc.h
78917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
78918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
78919         Likewise.
78920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
78921         Likewise.
78922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
78923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
78924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
78926         Likewise.
78927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
78929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
78931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
78932         Likewise.
78933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
78934         Likewise.
78935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
78937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
78938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
78939         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
78940         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
78941         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
78942         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
78943         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
78944         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
78945         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
78946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
78947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
78948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
78949         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
78950         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
78951         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
78952         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
78953         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
78954         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
78955         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
78956         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
78957         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
78958         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
78960 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
78962         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
78963         scaling.
78964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78966 2012-03-15  Andreas Jaeger  <aj@suse.de>
78968         [BZ #13852]
78969         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
78970         ieee754/flt-32 implementation for sin, cos and sincos.
78971         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
78972         * sysdeps/i386/fpu/s_cosf.S: Likewise.
78973         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
78974         * sysdeps/i386/fpu/s_sinf.S: Likewise.
78975         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
78976         ieee754/flt-32 implementation for tan.
78978         * math/libm-test.inc (cos_test): Enable some large input tests for
78979         float as well
78980         (sin_test): Likewise.
78981         (sincos_test): Likewise.
78982         (tan_test): Add tests for large input.
78984         * sysdeps/i386/fpu/libm-test-ulps: Update.
78986 2012-03-15  Andreas Jaeger  <aj@suse.de>
78988         [BZ #13658]
78989         * math/libm-test.inc (cos_test): Add more test cases.
78990         (sin_test): Likewise.
78991         (sincos_test): Likewise.
78993 2012-03-15  Andreas Jaeger  <aj@suse.de>
78995         [BZ #13837]
78996         * math/libm-test.inc (cos_test): Add a test case for large input
78997         value.
78998         (sin_test): Likewise.
78999         (sincos_test): Likewise.
79001 2012-03-15  Andreas Jaeger  <aj@suse.de>
79002             Joseph Myers  <joseph@codesourcery.com>
79004         [BZ #13658]
79005         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
79006         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
79007         * sysdeps/i386/fpu/branred.c: Likewise.
79008         * sysdeps/i386/fpu/dosincos.c: Likewise.
79009         * sysdeps/i386/fpu/mpa.c: Likewise.
79010         * sysdeps/i386/fpu/s_cos.S: Likewise.
79011         * sysdeps/i386/fpu/s_sin.S: Likewise.
79012         * sysdeps/i386/fpu/s_sincos.S: Likewise.
79013         * sysdeps/i386/fpu/sincos32.c: Likewise.
79015         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
79016         Define.
79017         (libc_feupdateenv_53bit): Define.
79018         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
79019         Define.
79020         (libc_feupdateenv_53bit): Define.
79022         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
79023         53 bit (without extend i386 double precision).
79025         * math/libm-test.inc (sincos_test): Add tests for large input.
79026         (sin): Likewise.
79027         (cos): Likewise.
79029         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
79031 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
79033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79035 2012-03-15  David S. Miller  <davem@davemloft.net>
79037         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
79038         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
79039         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
79040         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
79041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
79042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
79043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
79044         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
79045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
79046         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
79047         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
79048         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
79049         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
79050         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
79051         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
79052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
79053         file.
79054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
79055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
79056         file.
79057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
79058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
79059         file.
79060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
79061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
79062         file.
79063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
79064         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
79065         fmin/fmax sysdep routines.
79066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
79068 2012-03-14  David S. Miller  <davem@davemloft.net>
79070         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
79071         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
79072         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
79073         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
79074         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
79075         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
79076         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
79077         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
79078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
79079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
79080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
79081         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
79082         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
79083         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
79084         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
79085         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
79086         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
79087         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
79088         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
79089         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
79090         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
79091         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
79092         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
79093         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
79094         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
79095         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
79096         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
79097         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
79098         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
79099         routines.
79100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
79101         file.
79102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
79103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
79104         file.
79105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
79106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
79107         file.
79108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
79109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
79110         file.
79111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
79112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
79113         file.
79114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
79115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
79116         file.
79117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
79118         file.
79119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
79120         file.
79121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
79122         file.
79123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
79124         New file.
79125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
79126         file.
79127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
79128         file.
79129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
79130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
79131         file.
79132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
79133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
79134         file.
79135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
79136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
79137         file.
79138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
79139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
79140         VIS3 routines.
79142         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
79143         New file.
79145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79147         * sysdeps/sparc/configure.in: New file.
79148         * sysdeps/sparc/configure: Generate.
79149         * configure.in (libc_cv_sparc_as_vis3): Substitute.
79150         * configure: Regenerate.
79151         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
79152         * config.make.in (have-as-vis3): New.
79153         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
79154         available use -Av9d instead of -Av9a.
79155         * sysdeps/sparc/sparc64/Makefile: Likewise.
79156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
79157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
79158         New file.
79159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
79160         file.
79161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
79162         New file.
79163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
79164         file.
79165         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
79166         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
79167         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
79168         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
79169         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
79171         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
79172         fzeros/fnegs to load 0x80000000 into a float register instead of
79173         using the stack.
79174         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
79176 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79178         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79179         bits/syscall.h.
79180         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
79181         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
79182         ($(inst_includedir)/bits/syscall.h): Remove rule.
79183         ($(objpfx)bits/syscall.d): Include instead of
79184         $(objpfx)syscall-list.d.
79185         (generated): Change syscall-list.h and syscall-list.d to
79186         bits/syscall.h and bits/syscall.d.
79188 2012-03-14  Roland McGrath  <roland@hack.frob.com>
79190         [BZ #13846]
79191         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
79193 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
79195         [BZ #13841]
79196         * math/s_csqrt.c: Include <float.h>.
79197         (__csqrt): Scale large or subnormal inputs.
79198         * math/s_csqrtf.c: Likewise.
79199         * math/s_csqrtl.c: Likewise.
79200         * math/libm-test.inc (csqrt_test): Add more tests.
79201         * sysdeps/i386/fpu/libm-test-ulps: Update.
79202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79204         [BZ #13840]
79205         * math/libm-test.inc (hypot_test): Add more tests.
79207 2012-03-13  David S. Miller  <davem@davemloft.net>
79209         [BZ #13840]
79210         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
79211         double-precision for the calculation instead of scaling.
79213 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
79215         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
79216         manipulate bits before adding and subtracting TWO52[sx].
79217         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
79218         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
79219         Likewise.
79220         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
79222 2012-03-13  David S. Miller  <davem@davemloft.net>
79224         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
79225         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
79226         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
79227         rtld-global-offsets.h
79228         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79230         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
79231         large parameters.
79233         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
79235         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
79236         'err' in the ifdef scope in which it is actually used.
79238         * nss/nss_db/db-init.c: Include string.h
79240 2012-03-12  David S. Miller  <davem@davemloft.net>
79242         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
79243         masking out of the most significant byte of random value used.
79244         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79245         Fix coding style in previous change.
79247         * sysdeps/unix/sysv/linux/kernel-features.h
79248         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
79249         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
79250         expression.
79251         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
79252         later.
79254 2012-03-11  David S. Miller  <davem@davemloft.net>
79256         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
79257         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
79258         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
79259         for 'resultvar' otherwise things get truncated on 64-bit.
79261         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79262         Fix masking out of the most significant byte of random value used.
79264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79266 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
79268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79270 2012-03-09  David S. Miller  <davem@davemloft.net>
79272         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
79273         variables with appropriate CPP guards.
79274         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
79275         from the frame pointer, not the stack pointer.  Correct layout
79276         comments.  Fix test on resulting framesize and the management of
79277         the outregs buffer for pltexit.  Preserve floating point return
79278         values across _dl_call_pltexit call.
79279         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
79280         framesize and the management of the outregs buffer for pltexit.
79281         Preserve floating point return values across _dl_call_pltexit
79282         call.
79283         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
79284         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
79285         (la_sparc64_gnu_pltexit): New functions.
79286         (print_exit): Fix format string for return register value.
79288 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
79290         * sunrpc/Makefile (others): Add rpcgen.
79291         ($(objpfx)rpcgen): Remove special build rule and dependency on
79292         libc.
79293         * sunrpc/rpcgen.c: New file.
79295 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
79297         [BZ #13673]
79298         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
79299         * stdio-common/bug-vfprintf-nargs.c: Likewise.
79300         * sysdeps/i386/crti.S: Likewise.
79301         * sysdeps/i386/crtn.S: Likewise.
79302         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
79303         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
79304         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
79305         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
79306         * sysdeps/sh/crti.S: Likewise.
79307         * sysdeps/sh/crtn.S: Likewise.
79308         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
79310         [BZ #13673]
79311         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
79312         with URL.
79313         * locale/programs/locfile-kw.gperf: Likewise.
79314         * locale/programs/charmap-kw.h: Regenerated.
79315         * locale/programs/locfile-kw.h: Likewise.
79317         [BZ #13673]
79318         * intl/plural.y: Replace FSF snail mail address with URL.
79319         * intl/plural.c: Regenerated.
79321 2012-03-09  Richard Henderson  <rth@twiddle.net>
79323         * include/math_private.h: Remove file.
79324         * math/math_private.h: Move file ...
79325         * sysdeps/generic/math_private.h: ... here.
79327         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
79328         * sysdeps/powerpc/fpu/math_private.h: Likewise.
79329         * sysdeps/x86_64/fpu/math_private.h: Likewise.
79331         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
79332         and <math_private.h>.
79333         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
79334         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
79335         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
79336         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
79337         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
79338         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
79339         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
79340         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
79341         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
79342         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
79343         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
79344         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
79345         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
79346         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
79347         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
79348         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
79349         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
79350         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
79351         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
79352         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
79353         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
79354         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
79355         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
79356         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
79357         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
79358         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
79359         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
79360         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
79361         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
79362         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
79363         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
79364         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
79365         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
79366         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
79367         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
79368         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
79369         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
79370         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
79371         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
79372         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
79373         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
79374         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
79375         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
79376         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
79377         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
79378         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
79379         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
79380         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
79381         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
79382         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
79383         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
79384         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
79385         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
79386         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
79387         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
79388         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
79389         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
79390         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
79391         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
79392         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
79393         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
79394         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
79395         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
79396         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
79397         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
79398         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
79399         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
79400         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
79401         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
79402         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
79403         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
79404         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
79405         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
79406         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
79407         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
79408         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
79409         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
79410         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
79411         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
79412         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
79413         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
79414         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
79415         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
79416         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
79417         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
79418         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
79419         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
79420         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
79421         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
79422         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
79423         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
79424         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
79425         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
79426         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
79427         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
79428         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
79429         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
79430         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
79431         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
79432         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
79433         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
79434         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
79435         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
79436         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
79437         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
79438         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
79439         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
79440         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
79441         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
79442         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
79443         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
79444         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
79445         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
79446         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
79447         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
79448         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
79449         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
79450         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
79451         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
79452         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
79453         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
79454         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
79455         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
79456         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
79457         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
79458         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
79459         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
79460         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
79461         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
79462         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
79463         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
79464         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
79465         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
79466         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
79467         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
79468         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79469         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
79470         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
79471         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
79472         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
79473         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
79474         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79475         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79476         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
79477         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
79478         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
79479         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
79480         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
79481         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
79482         * sysdeps/ieee754/k_standard.c: Likewise.
79483         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
79484         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
79485         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
79486         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
79487         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
79488         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
79489         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
79490         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
79491         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
79492         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
79493         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
79494         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
79495         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
79496         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
79497         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
79498         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
79499         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
79500         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
79501         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
79502         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
79503         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
79504         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
79505         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
79506         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
79507         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
79508         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
79509         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
79510         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
79511         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
79512         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
79513         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
79514         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
79515         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
79516         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
79517         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
79518         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
79519         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
79520         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
79521         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
79522         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
79523         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
79524         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
79525         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
79526         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
79527         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
79528         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
79529         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
79530         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
79531         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
79532         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
79533         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
79534         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
79535         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
79536         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
79537         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
79538         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
79539         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
79540         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
79541         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
79542         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
79543         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
79544         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
79545         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
79546         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
79547         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
79548         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
79549         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
79550         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
79551         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
79552         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
79553         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
79554         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
79555         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
79556         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
79557         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
79558         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
79559         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
79560         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
79561         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79562         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
79563         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
79564         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
79565         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
79566         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
79567         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
79568         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
79569         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
79570         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
79571         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79572         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
79573         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
79574         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
79575         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
79576         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
79577         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
79578         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
79579         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
79580         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
79581         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
79582         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
79583         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
79584         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
79585         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
79586         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
79587         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
79588         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
79589         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
79590         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
79591         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
79592         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
79593         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
79594         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
79595         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
79596         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
79597         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
79598         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
79599         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
79600         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
79601         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
79602         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
79603         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
79604         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
79605         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
79606         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
79607         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
79608         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
79609         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
79610         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
79611         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
79612         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
79613         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
79614         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
79615         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
79616         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
79617         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
79618         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
79619         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
79620         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
79621         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
79622         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
79623         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
79624         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
79625         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
79626         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
79627         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79628         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
79629         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
79630         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
79631         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
79632         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
79633         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
79634         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
79635         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79636         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79637         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
79638         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
79639         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
79640         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
79641         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
79642         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
79643         * sysdeps/ieee754/s_lib_version.c: Likewise.
79644         * sysdeps/ieee754/s_matherr.c: Likewise.
79645         * sysdeps/ieee754/s_signgam.c: Likewise.
79646         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
79647         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
79648         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
79649         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
79650         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
79651         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79652         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
79653         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
79654         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
79655         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
79656         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
79657         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
79658         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
79659         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
79660         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
79661         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
79662         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
79663         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
79664         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
79665         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
79666         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
79668 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79670         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
79671         * sunrpc/rpc_main.c: Likewise.
79672         * sunrpc/rpc_svcout.c: Likewise.
79674 2012-03-09  David S. Miller  <davem@davemloft.net>
79676         * include/math_private.h: New file.
79678 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
79680         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
79681         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
79682         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
79683         from <bits/socket_type.h>.
79684         (enum __socket_type): Don't define here.
79685         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
79686         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79687         bits/socket_type.h.
79689         [BZ #13566]
79690         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
79691         checking __USE_GNU.
79693         * Makerules ($(inst_includedir)/%.h): New rule.
79694         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
79695         (install-others): Remove variable setting.
79696         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
79698 2012-03-08  Richard Henderson  <rth@twiddle.net>
79700         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
79701         from macro to inline function; merge with the
79702         !__LIBC_INTERNAL_MATH_INLINES version.
79703         (__ieee754_sqrtf): Likewise.
79705         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
79706         to inline function.
79707         (__rintf, __floor, __floorf): Likewise.
79709         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
79710         macro to inline function.
79711         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
79713         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
79714         not <math/math_private.h>.
79716 2012-03-08  David S. Miller  <davem@davemloft.net>
79718         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
79719         copyright year.
79720         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
79722 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
79724         * resolv/gai_misc.c (handle_requests): Fix struct timespec
79725         normalization.
79726         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
79727         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
79729 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
79731         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
79732         be defined individually, they must be defined as a block.  Define
79733         S for printing a string instead of hidint the different by using a
79734         macro for adding the 'l'.
79735         * stdio-common/tst-fphex-wide.c: Adjust.
79737 2012-03-07  Marek Polacek  <polacek@redhat.com>
79739         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
79741 2012-03-08  Marek Polacek  <polacek@redhat.com>
79743         [BZ #13806]
79744         * stdio-common/Makefile (tests): Add tst-fphex-wide.
79745         * stdio-common/tst-fphex.c: Define a few macros to make the
79746         test reusable.  Use them.
79747         * stdio-common/tst-fphex-wide.c: New file.
79749 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
79751         [BZ #6911]
79752         * manual/macros.texi (gnusystems): New macro.
79753         (nongnusystems): Likewise.
79754         (gnulinuxhurdsystems): Likewise.
79755         (gnuhurdsystems): Likewise..
79756         (gnulinuxsystems): Likewise.
79757         * manual/charset.texi: Use new macros or @theglibc{} to refer to
79758         variants of the GNU system, not "GNU system".
79759         * manual/conf.texi: Likewise.
79760         * manual/errno.texi: Likewise.  Update example of errno macro
79761         expansion.
79762         * manual/filesys.texi: Likewise.
79763         (getumask): Document as specific to GNU/Hurd.
79764         * manual/install.texi: Likewise.  Reword some references to
79765         GNU/Linux.
79766         * manual/intro.texi: Likewise.
79767         * manual/io.texi: Likewise.
79768         (File Name Portability): Detail which constraints are inapplicable
79769         to all GNU systems and which are only inapplicable to GNU/Hurd.
79770         * manual/job.texi: Likewise.
79771         * manual/llio.texi: Likewise.
79772         (O_NOCTTY): Document as present on GNU/Linux.
79773         * manual/maint.texi: Likewise.
79774         * manual/memory.texi: Likewise.
79775         * manual/pattern.texi: Likewise.
79776         * manual/pipe.texi: Likewise.
79777         * manual/process.texi: Likewise.
79778         * manual/resource.texi: Likewise.
79779         (RUSAGE_CHILDREN): Remove statement about specifying a particular
79780         child on GNU/Hurd.
79781         * manual/setjmp.texi: Likewise.
79782         * manual/signal.texi: Likewise.
79783         * manual/startup.texi: Likewise.
79784         * manual/stdio.texi: Likewise.
79785         * manual/terminal.texi: Likewise.
79786         (ONLCR): Document as POSIX.
79787         (OXTABS): Document availability on GNU/Linux as XTABS.
79788         (ONOEOT): Document availability separately from other bits.
79789         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
79790         * manual/time.texi: Likewise.
79791         * manual/users.texi: Likewise.
79792         * INSTALL: Regenerated.
79793         * sysdeps/gnu/errlist.c: Regenerated.
79795         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
79796         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
79797         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
79798         puts.
79799         * configure: Regenerated.
79801 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
79803         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
79804         default includes instead of AC_HEADER_CHECK.
79805         * sysdeps/i386/configure: Regenerated.
79807         [BZ #10716]
79808         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
79809         * math/s_cacoshf.c (__cacoshf): Likewise.
79810         * math/s_cacoshl.c (__cacoshl): Likewise.
79811         * math/s_casinh.c (__casinh): Set signs of result from argument.
79812         * math/s_casinhf.c (__casinhf): Likewise.
79813         * math/s_casinhl.c (__casinhl): Likewise.
79814         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
79815         (casinh_test): Add more tests.
79816         * sysdeps/i386/fpu/libm-test-ulps: Update.
79817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79819 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
79821         * po/zh_TW.po: Update from translation team.
79823         * login/Makefile (distribute): Remove variable.
79824         * catgets/Makefile: Likewise.
79825         * mach/Makefile: Likewise.
79826         * malloc/Makefile: Likewise.
79827         * misc/Makefile: Likewise.
79828         * iconv/Makefile: Likewise.
79829         * nscd/Makefile: Likewise.
79830         * hurd/Makefile: Likewise.
79831         * manual/Makefile: Likewise.
79832         * locale/Makefile: Likewise.
79833         * intl/Makefile: Likewise.
79834         * conform/Makefile: Likewise.
79835         * nss/Makefile: Likewise.
79836         * time/Makefile: Likewise.
79837         * soft-fp/Makefile: Likewise.
79838         * dirent/Makefile: Likewise.
79839         * gmon/Makefile: Likewise.
79840         * po/Makefile: Likewise.
79841         * rt/Makefile: Likewise.
79842         * socket/Makefile: Likewise.
79843         * math/Makefile: Likewise.
79844         * signal/Makefile: Likewise.
79845         * debug/Makefile: Likewise.
79846         * elf/Makefile: Likewise.
79847         * timezone/Makefile: Likewise.
79848         * stdlib/Makefile: Likewise.
79849         * iconvdata/Makefile: Likewise.
79850         * sunrpc/Makefile: Likewise.
79851         * io/Makefile: Likewise.
79852         * argp/Makefile: Likewise.
79853         * inet/Makefile: Likewise.
79854         * hesiod/Makefile: Likewise.
79855         * grp/Makefile: Likewise.
79856         * csu/Makefile: Likewise.
79857         * wctype/Makefile: Likewise.
79858         * crypt/Makefile: Likewise.
79859         * libio/Makefile: Likewise.
79860         * string/Makefile: Likewise.
79861         * nis/Makefile: Likewise.
79862         * resolv/Makefile: Likewise.
79863         * stdio-common/Makefile: Likewise.
79864         * wcsmbs/Makefile: Likewise.
79865         * dlfcn/Makefile: Likewise.
79866         * posix/Makefile: Likewise.
79868         [BZ #6959]
79869         * timezone/Makefile: Don't install timezone files, just the programs
79870         and scripts.
79872 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
79874         * nss/databases.def: Add missing gshadow entry.
79876         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
79878 2012-03-06  Marek Polacek  <polacek@redhat.com>
79880         [BZ #13726]
79881         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
79882         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
79883         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
79884         * stdio-common/tst-long-dbl-fphex.c: New file.
79886 2012-03-06  David S. Miller  <davem@davemloft.net>
79888         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79889         (set_obp_int): New function.
79890         (get_obp_int): New function.
79891         (__get_clockfreq_via_dev_openprom): Likewise.
79892         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
79893         Avoid unused variable warnings on 'val' and use builtin_expect.
79894         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
79895         __builtin_expect.
79896         (INLINE_CLONE_SYSCALL): Likewise.
79898 2012-03-05  David S. Miller  <davem@davemloft.net>
79900         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79902 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
79904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79906         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
79907         only for |x| >= 40.
79908         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
79910 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
79912         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
79913         Replace gettimeofday with __vdso_gettimeofday.
79915         * sysdeps/unix/sysv/linux/x86_64/init-first.c
79916         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
79917         __vdso_clock_gettime and __vdso_getcpu.
79919         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
79920         time with __vdso_time.
79922 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79924         * manual/lang.texi (size_t): Note types to which size_t may be
79925         equivalent with the GNU C Library, but do not describe when
79926         differences between them are significant.
79928 2012-03-05  Andreas Jaeger  <aj@suse.de>
79930         * sysdeps/i386/fpu/libm-test-ulps: Update.
79932 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
79934         [BZ #3976]
79935         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
79936         (__ieee754_pow): Save and restore rounding mode and use
79937         round-to-nearest for main computations.
79938         * math/libm-test.inc (pow_test_tonearest): New function.
79939         (pow_test_towardzero): Likewise.
79940         (pow_test_downward): Likewise.
79941         (pow_test_upward): Likewise.
79942         (main): Call the new functions.
79943         * sysdeps/i386/fpu/libm-test-ulps: Update.
79944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79946         [BZ #3976]
79947         * math/libm-test.inc (cosh_test_tonearest): New function.
79948         (cosh_test_towardzero): Likewise.
79949         (cosh_test_downward): Likewise.
79950         (cosh_test_upward): Likewise.
79951         (sinh_test_tonearest): Likewise.
79952         (sinh_test_towardzero): Likewise.
79953         (sinh_test_downward): Likewise.
79954         (sinh_test_upward): Likewise.
79955         (main): Call the new functions.
79956         * sysdeps/i386/fpu/libm-test-ulps: Update.
79957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79959 2012-03-05  Tom de Vries  <tom@codesourcery.com>
79961         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
79962         default stack guard is set in last bytes.
79963         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
79965 2012-03-05  Kees Cook  <keescook@chromium.org>
79967         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
79969         [BZ #13656]
79970         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
79971         possibly allocate from heap instead of stack.
79972         * stdio-common/bug-vfprintf-nargs.c: New file.
79973         * stdio-common/Makefile (tests): Add nargs overflow test.
79975 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
79977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79979 2012-03-03  Marek Polacek  <polacek@redhat.com>
79981         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
79982         * math/math_private.h: Likewise.
79983         * stdlib/tst-strtod.c: Likewise.
79984         * sysdeps/i386/i486/bits/atomic.h: Likewise.
79985         * sysdeps/x86_64/bits/atomic.h: Likewise.
79987 2012-03-02  David S. Miller  <davem@davemloft.net>
79989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
79990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
79991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
79992         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
79993         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
79994         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
79995         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
79996         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
79998 2012-03-02  Roland McGrath  <roland@hack.frob.com>
80000         [BZ #13792]
80001         * manual/examples/README: New file, says the example source files
80002         can be used under GPL>=2.
80003         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
80004         line containing just "*/".
80005         * manual/examples/add.c: Add copyright header (GPL>=2).
80006         * manual/examples/argp-ex1.c: Likewise.
80007         * manual/examples/argp-ex2.c: Likewise.
80008         * manual/examples/argp-ex3.c: Likewise.
80009         * manual/examples/argp-ex4.c: Likewise.
80010         * manual/examples/atexit.c: Likewise.
80011         * manual/examples/db.c: Likewise.
80012         * manual/examples/dir.c: Likewise.
80013         * manual/examples/dir2.c: Likewise.
80014         * manual/examples/execinfo.c: Likewise.
80015         * manual/examples/filecli.c: Likewise.
80016         * manual/examples/filesrv.c: Likewise.
80017         * manual/examples/fmtmsgexpl.c: Likewise.
80018         * manual/examples/genpass.c: Likewise.
80019         * manual/examples/inetcli.c: Likewise.
80020         * manual/examples/inetsrv.c: Likewise.
80021         * manual/examples/isockad.c: Likewise.
80022         * manual/examples/longopt.c: Likewise.
80023         * manual/examples/memopen.c: Likewise.
80024         * manual/examples/memstrm.c: Likewise.
80025         * manual/examples/mkfsock.c: Likewise.
80026         * manual/examples/mkisock.c: Likewise.
80027         * manual/examples/mygetpass.c: Likewise.
80028         * manual/examples/pipe.c: Likewise.
80029         * manual/examples/popen.c: Likewise.
80030         * manual/examples/rprintf.c: Likewise.
80031         * manual/examples/search.c: Likewise.
80032         * manual/examples/select.c: Likewise.
80033         * manual/examples/setjmp.c: Likewise.
80034         * manual/examples/sigh1.c: Likewise.
80035         * manual/examples/sigusr.c: Likewise.
80036         * manual/examples/stpcpy.c: Likewise.
80037         * manual/examples/strdupa.c: Likewise.
80038         * manual/examples/strftim.c: Likewise.
80039         * manual/examples/strncat.c: Likewise.
80040         * manual/examples/subopt.c: Likewise.
80041         * manual/examples/swapcontext.c: Likewise.
80042         * manual/examples/termios.c: Likewise.
80043         * manual/examples/testopt.c: Likewise.
80044         * manual/examples/testpass.c: Likewise.
80045         * manual/examples/timeval_subtract.c: Likewise.
80047         [BZ #13792]
80048         * manual/time.texi (Elapsed Time): Move timeval_subtract example
80049         function to ...
80050         * manual/timeval_subtract.c.texi: ... here, new file.
80052 2012-03-02  David S. Miller  <davem@davemloft.net>
80054         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
80056 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
80058         [BZ #3976]
80059         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
80060         (__sin): Save and restore rounding mode and use round-to-nearest
80061         for all computations.
80062         (__cos): Save and restore rounding mode and use round-to-nearest
80063         for all computations.
80064         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
80065         <fenv.h>.
80066         (tan): Save and restore rounding mode and use round-to-nearest for
80067         all computations.
80068         * math/libm-test.inc (cos_test_tonearest): New function.
80069         (cos_test_towardzero): Likewise.
80070         (cos_test_downward): Likewise.
80071         (cos_test_upward): Likewise.
80072         (sin_test_tonearest): Likewise.
80073         (sin_test_towardzero): Likewise.
80074         (sin_test_downward): Likewise.
80075         (sin_test_upward): Likewise.
80076         (tan_test_tonearest): Likewise.
80077         (tan_test_towardzero): Likewise.
80078         (tan_test_downward): Likewise.
80079         (tan_test_upward): Likewise.
80080         (main): Call the new functions.
80081         * sysdeps/i386/fpu/libm-test-ulps: Update.
80082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80084         [BZ #10135]
80085         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
80086         small n, then large n, before computing and testing k+n.
80087         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
80088         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
80089         Likewise.
80090         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
80091         Likewise.
80092         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
80093         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
80094         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
80095         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
80096         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
80097         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
80098         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
80099         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
80100         * math/libm-test.inc (scalbn_test): Add more tests.
80101         (scalbln_test): Likewise.
80103         * manual/filesys.texi (mode_t): Describe constraints on size and
80104         signedness, not exact equivalence to a particular type.
80105         (ino_t): Likewise.
80106         (ino64_t): Likewise.
80107         (dev_t): Likewise.
80108         (nlink_t): Likewise.
80109         (blkcnt_t): Likewise.
80110         (blkcnt64_t): Likewise.
80111         * manual/llio.texi (off_t): Likewise.
80113         [BZ #3976]
80114         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
80115         (__ieee754_exp): Save and restore rounding mode and use
80116         round-to-nearest for all computations.
80117         * math/libm-test.inc (exp_test_tonearest): New function.
80118         (exp_test_towardzero): Likewise.
80119         (exp_test_downward): Likewise.
80120         (exp_test_upward): Likewise.
80121         (main): Call the new functions.
80122         * sysdeps/i386/fpu/libm-test-ulps: Update.
80123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80125 2012-03-01  Chris Demetriou  <cgd@google.com>
80127         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
80128         have predictable order.
80130 2012-03-01  David S. Miller  <davem@davemloft.net>
80132         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
80134         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
80135         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
80136         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
80137         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
80139         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
80140         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
80141         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
80142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
80143         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
80144         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
80145         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
80146         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
80147         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
80149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80151         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
80152         * sysdeps/sparc/fpu/libm-test-ulps: to here.
80153         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
80155         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
80156         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
80157         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80158         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
80159         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
80160         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
80161         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
80162         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
80163         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80164         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
80165         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
80166         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
80168         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80169         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80170         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80171         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
80172         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
80173         * sysdeps/sparc/elf/configure: Regenerated.
80175 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
80177         * configure.in (AS, LD): Require binutils 2.20 or later.
80178         * configure: Regenerated.
80179         * manual/install.texi (Tools for Compilation): Give binutils 2.20
80180         as required minimum version.
80181         * INSTALL: Regenerated.
80183         [BZ #2541]
80184         [BZ #4108]
80185         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
80186         before squaring exponent.
80187         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
80188         bottom long double and 27 bits of top long double before squaring
80189         exponent.
80190         * math/libm-test.inc (erfc_test): Add more tests.
80191         * sysdeps/i386/fpu/libm-test-ulps: Update.
80192         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80195 2012-03-01  Kai Tietz  <ktietz@redhat.com>
80197         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
80198         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
80199         containing bit-fields.
80200         * soft-fp/extended.h (_FP_UNION_E): Likewise.
80201         * soft-fp/single.h (_FP_UNION_S): Likewise.
80202         * soft-fp/double.h (_FP_UNION_D): Likewise.
80204 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80206         [BZ #13786]
80207         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
80208         not include ../strcmp.S.
80209         [USE_AS_STRNCASECMP_L]: Likewise.
80210         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
80211         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
80212         * sysdeps/i386/i686/multiarch/strncase_l-c.c
80213         (__strncasecmp_l_ia32): Define as alias to
80214         __strncasecmp_l_nonascii.
80216         [BZ #5794]
80217         * math/libm-test.inc (expm1_test): Add test for bug 5794.
80218         * sysdeps/i386/fpu/libm-test-ulps: Update.
80219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80221         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
80222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80224 2012-02-29  Jeff Law  <law@redhat.com>
80226         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
80227         out of bounds read.
80229 2012-02-29  Marek Polacek  <polacek@redhat.com>
80231         [BZ #13706]
80232         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
80233         * elf/Makefile: Add rules to run tst-unused-dep.out.
80235 2012-02-28  David S. Miller  <davem@davemloft.net>
80237         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
80238         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
80239         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
80240         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
80241         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
80242         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
80244 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
80246         * math/libm-test.inc (llround_test): Move one test from
80247         lround_test.  Use TEST_f_L in moved test.
80248         (lround_test): Move misplaced test to llround_test.  Add testcase
80249         from bug 2561.
80251 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
80253         * sysdeps/x86_64/fpu/e_expf.S: New file.
80254         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
80256 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
80258         [BZ #13637]
80259         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
80260         of remain_len that may cause incomplete multi-byte character and
80261         false match.
80262         * posix/bug-regex33.c: New file.
80263         * posix/Makefile (tests): Add bug-regex33.
80265 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
80267         * manual/macros.texi: New file.
80268         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
80269         * manual/libc.texinfo: Include macros.texi.
80270         * manual/creatute.texi: Likewise.
80271         * manual/install.texi: Likewise.
80272         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
80273         @glibcadj{} in references to the GNU C Library.
80274         * manual/charset.texi: Likewise.
80275         * manual/conf.texi: Likewise.
80276         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
80277         when not using those macros.
80278         * manual/creature.texi: Likewise.
80279         * manual/crypt.texi: Likewise.
80280         * manual/errno.texi: Likewise.
80281         * manual/filesys.texi: Likewise.
80282         * manual/header.texi: Likewise.
80283         * manual/install.texi: Likewise.
80284         * manual/intro.texi: Likewise.
80285         * manual/io.texi: Likewise.
80286         * manual/job.texi: Likewise.
80287         * manual/lang.texi: Likewise.
80288         * manual/libc.texiinfo: Likewise.
80289         * manual/llio.texi: Likewise.
80290         * manual/locale.texi: Likewise.
80291         * manual/maint.texi: Likewise.
80292         * manual/math.texi: Likewise.
80293         * manual/memory.texi: Likewise.
80294         * manual/message.texi: Likewise.
80295         * manual/nss.texi: Likewise.
80296         * manual/pattern.texi: Likewise.
80297         * manual/process.texi: Likewise.
80298         * manual/resource.texi: Likewise.
80299         * manual/search.texi: Likewise.
80300         * manual/setjmp.texi: Likewise.
80301         * manual/signal.texi: Likewise.
80302         * manual/socket.texi: Likewise.
80303         * manual/startup.texi: Likewise.
80304         * manual/stdio.texi: Likewise.
80305         * manual/string.texi: Likewise.
80306         * manual/sysinfo.texi: Likewise.
80307         * manual/syslog.texi: Likewise.
80308         * manual/terminal.texi: Likewise.
80309         * manual/time.texi: Likewise.
80310         * manual/users.texi: Likewise.
80311         * INSTALL: Regenerated.
80312         * NOTES: Regenerated.
80313         * sysdeps/gnu/errlist.c: Regenerated.
80315 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
80317         * include/dirent.h: Include <dirstream.h> before
80318         <dirent/dirent.h>.
80320 2012-02-28  David S. Miller  <davem@davemloft.net>
80322         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
80323         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
80324         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
80325         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
80327 2012-02-27  David S. Miller  <davem@davemloft.net>
80329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
80330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
80331         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
80332         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
80334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
80335         frame pointer instead of stack pointer relative arg slot.
80336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80337         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80338         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80340 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
80342         [BZ #3992]
80343         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
80345 2012-02-27  David S. Miller  <davem@davemloft.net>
80347         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
80348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
80349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
80350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
80351         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
80352         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
80353         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
80354         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
80356 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80358         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
80359         later.  Allow versions 5-9.
80360         * configure: Regenerated.
80361         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
80362         required minimum version and 4.6 as recommended version.  Do not
80363         mention bugs in GCC 2.7 and 2.8.
80364         * INSTALL: Regenerated.
80366 2012-02-27  David S. Miller  <davem@davemloft.net>
80368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
80369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
80370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
80371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
80372         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
80373         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
80374         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
80375         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
80377         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
80378         manipulate bits before adding and subtracting TWO112[sx].
80379         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
80381 2012-02-27  Roland McGrath  <roland@hack.frob.com>
80383         [BZ #13775]
80384         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
80385         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
80386         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
80387         being in POSIX, because they are in 1003.1-2008.
80389         * rt/tst-aio.c: Include <fcntl.h>.
80390         * rt/tst-aio7.c: Likewise.
80391         * rt/tst-aio64.c: Likewise.
80393         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
80395 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
80397         * manual/install.texi (--with-headers): Describe headers as
80398         interface headers, not private headers.
80399         (Specific advice for GNU/Linux systems): Describe use of headers
80400         from "make headers_install", not private headers from older
80401         kernels.
80402         * INSTALL: Regenerated.
80403         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
80404         Change to 2.6.19.
80405         * sysdeps/unix/sysv/linux/configure: Regenerated.
80407         * manual/llio.texi (fclean): Remove documentation.
80409         * manual/Makefile (libc-texi-generated): New variable.  Include
80410         version.texi.
80411         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
80412         $(libc-texi-generated), not duplicated list of files.
80413         (version.texi, stamp-version): New rules.
80414         (realclean): Remove $(libc-texi-generated), not individual files
80415         from that list.  Do not remove dir-add.texinfo.
80416         * manual/libc.texinfo: Comment out uses of edition numbers and
80417         references to printed manual.  Remove last-updated dates.
80418         (EDITION): Comment out.
80419         (ISBN): Likewise.
80420         (VERSION, UPDATED): Remove.
80421         (version.texi): Include.
80423 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
80425         * sysdeps/posix/spawni.c: Include <signal.h>.
80426         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
80427         * sysdeps/pthread/aio_fsync.c: Likewise.
80429 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
80431         * conform/Makefile (tests): Run only when not cross-compiling and
80432         when fast-check is not defined.
80434         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
80435         * conform/data/limits.h-data: Fixes for POSIX2008.
80436         * conform/run-conformtest.sh: Run all tests.
80437         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
80438         headers.
80439         * include/bits/dlfcn.h: Likewise.
80440         * include/langinfo.h: Likewise.
80441         * include/monetary.h: Likewise.
80442         * include/sys/poll.h: Likewise.
80444         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
80445         for __USE_GNU.
80446         * posix/spawn.h: Define __need_sigset_t.
80447         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
80448         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
80449         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
80450         to get sigevent_t only.
80451         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
80452         only for __USE_GNU.
80453         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80454         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80455         process_vm_writev only for __USE_GNU.
80456         * termios/termios.h: Declare tcgetsid also for POSIX2008.
80458         * conform/Makefile: For now ignore errors from run-conformtest.
80459         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
80460         POSIX to avoid namespace pollution.  Don't prepend headers.
80461         * conform/data/aio.h-data: Fixes for POSIX testing.
80462         * conform/data/fcntl.h-data: Likewise.
80463         * conform/data/glob.h-data: Likewise.
80464         * conform/data/grp.h-data: Likewise.
80465         * conform/data/pthread.h-data: Likewise.
80466         * conform/data/pwd.h-data: Likewise.
80467         * conform/data/signal.h-data: Likewise.
80468         * conform/data/spawn.h-data: Likewise.
80469         * conform/data/stdio.h-data: Likewise.
80470         * conform/data/stdlib.h-data: Likewise.
80471         * conform/data/stropts.h-data: Likewise.
80472         * conform/data/sys/mman.h-data: Likewise.
80473         * conform/data/sys/stat.h-data: Likewise.
80474         * conform/data/sys/types.h-data: Likewise.
80475         * conform/data/sys/wait.h-data: Likewise.
80476         * conform/data/time.h-data: Likewise.
80477         * conform/data/unistd.h-data: Likewise.
80478         * conform/data/utime.h-data: Likewise.
80480         * io/sys/stat.h: fchmod was always in POSIX.
80481         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
80482         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
80483         * rt/aio.h: Define __need_timespec before including <time.h>.
80484         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
80485         struct.  Add forward declaration of pthread_attr_t and use it in
80486         sigevent.
80487         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80488         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80489         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
80490         always remove CLK_TCK definition.
80492 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
80494         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
80496 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
80498         * conform/run-conformtest.sh: New file.
80499         * conform/Makefile: Run run-conformtest for tests.
80500         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
80501         support.
80503         * conform/data/uchar.h-data: New file.
80504         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
80505         * conform/data/arpa/inet.h-data: Likewise.
80506         * conform/data/assert.h-data: Likewise.
80507         * conform/data/complex.h-data: Likewise.
80508         * conform/data/cpio.h-data: Likewise.
80509         * conform/data/ctype.h-data: Likewise.
80510         * conform/data/dirent.h-data: Likewise.
80511         * conform/data/dlfcn.h-data: Likewise.
80512         * conform/data/errno.h-data: Likewise.
80513         * conform/data/fcntl.h-data: Likewise.
80514         * conform/data/float.h-data: Likewise.
80515         * conform/data/fmtmsg.h-data: Likewise.
80516         * conform/data/fnmatch.h-data: Likewise.
80517         * conform/data/ftw.h-data: Likewise.
80518         * conform/data/glob.h-data: Likewise.
80519         * conform/data/grp.h-data: Likewise.
80520         * conform/data/iconv.h-data: Likewise.
80521         * conform/data/inttypes.h-data: Likewise.
80522         * conform/data/langinfo.h-data: Likewise.
80523         * conform/data/libgen.h-data: Likewise.
80524         * conform/data/limits.h-data: Likewise.
80525         * conform/data/locale.h-data: Likewise.
80526         * conform/data/math.h-data: Likewise.
80527         * conform/data/monetary.h-data: Likewise.
80528         * conform/data/mqueue.h-data: Likewise.
80529         * conform/data/ndbm.h-data: Likewise.
80530         * conform/data/net/if.h-data: Likewise.
80531         * conform/data/netdb.h-data: Likewise.
80532         * conform/data/netinet/in.h-data: Likewise.
80533         * conform/data/nl_types.h-data: Likewise.
80534         * conform/data/poll.h-data: Likewise.
80535         * conform/data/pthread.h-data: Likewise.
80536         * conform/data/pwd.h-data: Likewise.
80537         * conform/data/regex.h-data: Likewise.
80538         * conform/data/sched.h-data: Likewise.
80539         * conform/data/search.h-data: Likewise.
80540         * conform/data/semaphore.h-data: Likewise.
80541         * conform/data/setjmp.h-data: Likewise.
80542         * conform/data/signal.h-data: Likewise.
80543         * conform/data/spawn.h-data: Likewise.
80544         * conform/data/stdarg.h-data: Likewise.
80545         * conform/data/stdio.h-data: Likewise.
80546         * conform/data/stdlib.h-data: Likewise.
80547         * conform/data/string.h-data: Likewise.
80548         * conform/data/strings.h-data: Likewise.
80549         * conform/data/stropts.h-data: Likewise.
80550         * conform/data/sys/ipc.h-data: Likewise.
80551         * conform/data/sys/mman.h-data: Likewise.
80552         * conform/data/sys/msg.h-data: Likewise.
80553         * conform/data/sys/resource.h-data: Likewise.
80554         * conform/data/sys/select.h-data: Likewise.
80555         * conform/data/sys/sem.h-data: Likewise.
80556         * conform/data/sys/shm.h-data: Likewise.
80557         * conform/data/sys/socket.h-data: Likewise.
80558         * conform/data/sys/stat.h-data: Likewise.
80559         * conform/data/sys/statvfs.h-data: Likewise.
80560         * conform/data/sys/time.h-data: Likewise.
80561         * conform/data/sys/timeb.h-data: Likewise.
80562         * conform/data/sys/times.h-data: Likewise.
80563         * conform/data/sys/types.h-data: Likewise.
80564         * conform/data/sys/uio.h-data: Likewise.
80565         * conform/data/sys/un.h-data: Likewise.
80566         * conform/data/sys/utsname.h-data: Likewise.
80567         * conform/data/sys/wait.h-data: Likewise.
80568         * conform/data/syslog.h-data: Likewise.
80569         * conform/data/tar.h-data: Likewise.
80570         * conform/data/termios.h-data: Likewise.
80571         * conform/data/utime.h-data: Likewise.
80572         * conform/data/utmpx.h-data: Likewise.
80573         * conform/data/varargs.h-data: Likewise.
80574         * conform/data/wchar.h-data: Likewise.
80575         * conform/data/wctype.h-data: Likewise.
80576         * conform/data/wordexp.h-data: Likewise.
80578         * include/stropts.h: New file.
80579         * include/uchar.h: New file.
80580         * include/aio.h: Changes to allow conformtest.pl to use the headers.
80581         * include/assert.h: Likewise.
80582         * include/ctype.h: Likewise.
80583         * include/dirent.h: Likewise.
80584         * include/dlfcn.h: Likewise.
80585         * include/fcntl.h: Likewise.
80586         * include/fnmatch.h: Likewise.
80587         * include/glob.h: Likewise.
80588         * include/grp.h: Likewise.
80589         * include/libio.h: Likewise.
80590         * include/locale.h: Likewise.
80591         * include/math.h: Likewise.
80592         * include/net/if.h: Likewise.
80593         * include/netdb.h: Likewise.
80594         * include/netinet/in.h: Likewise.
80595         * include/pthread.h: Likewise.
80596         * include/pwd.h: Likewise.
80597         * include/regex.h: Likewise.
80598         * include/sched.h: Likewise.
80599         * include/search.h: Likewise.
80600         * include/setjmp.h: Likewise.
80601         * include/signal.h: Likewise.
80602         * include/stdio.h: Likewise.
80603         * include/stdlib.h: Likewise.
80604         * include/string.h: Likewise.
80605         * include/sys/cdefs.h: Likewise.
80606         * include/sys/mman.h: Likewise.
80607         * include/sys/msg.h: Likewise.
80608         * include/sys/resource.h: Likewise.
80609         * include/sys/select.h: Likewise.
80610         * include/sys/socket.h: Likewise.
80611         * include/sys/stat.h: Likewise.
80612         * include/sys/statvfs.h: Likewise.
80613         * include/sys/time.h: Likewise.
80614         * include/sys/times.h: Likewise.
80615         * include/sys/uio.h: Likewise.
80616         * include/sys/utsname.h: Likewise.
80617         * include/sys/wait.h: Likewise.
80618         * include/termios.h: Likewise.
80619         * include/time.h: Likewise.
80620         * include/ulimit.h: Likewise.
80621         * include/unistd.h: Likewise.
80622         * include/utime.h: Likewise.
80623         * include/wchar.h: Likewise.
80624         * include/wctype.h: Likewise.
80625         * include/wordexp.h: Likewise.
80627         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
80629         * time/time.h: TIME_UTC must be a macro.
80630         Make timespec_get available for ISO C11 only as well.
80632 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
80634         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
80635         Reported by Peng Haitao <penght@cn.fujitsu.com>.
80637 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80639         * configure.in: Use -o not -a in test for unsupported multi-arch.
80641 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80643         * manual/texinfo.tex: Update to version 2012-01-19.16.
80645 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
80647         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
80649 2012-02-24  Roland McGrath  <roland@hack.frob.com>
80651         [BZ #13738]
80652         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
80653         * manual/fdl-1.3.texi: New file.
80654         * manual/fdl-1.1.texi: File removed.
80656         [BZ #13738]
80657         * manual/libc.texinfo (FDL_VERSION): New @set.
80658         Use it for mention of FDL in cover text.
80659         (Documentation License): Use it in @include file name.
80661 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80662             Roland McGrath  <roland@hack.frob.com>
80664         [BZ #5461]
80665         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
80666         (not LONG_LONG_MAX and LONG_LONG_MIN.
80667         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
80668         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
80669         name.
80670         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
80672 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80674         [BZ #2547]
80675         [BZ #11365]
80676         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
80677         manipulate bits before adding and subtracting TWO23[sx].
80678         * math/libm-test.inc (nearbyint_test): Add more tests.
80680 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80682         [BZ #2548]
80683         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
80684         bits before adding and subtracting TWO23[sx].
80685         * math/libm-test.inc (rint_test): Add more tests.
80686         (rint_test_tonearest): Likewise.
80687         (rint_test_towardzero): Likewise.
80688         (rint_test_downward): Likewise.
80689         (rint_test_upward: Likewise.
80691 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80693         [BZ #10110]
80694         * include/stdc-predef.h: New file.  Extracted from features.h.
80695         * include/features.h: Include stdc-predef.h.
80696         * Makefile (headers): Add stdc-predef.h.
80697         * CONFORMANCE (Compiler limitations): Update.
80699 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
80701         * manual/libc.texinfo (VERSION, UPDATED): Revert.
80703 2012-02-21  David S. Miller  <davem@davemloft.net>
80705         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
80706         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80708 2012-02-20  David S. Miller  <davem@davemloft.net>
80710         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
80711         using a normal save/restore sequence, rather than allocating a
80712         dummy stack frame just to store a frame pointer and restore.
80713         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80715 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80717         * manual/install.texi: Fix stray word in line-wrapped comment.
80719 2012-02-20  David S. Miller  <davem@davemloft.net>
80721         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
80722         both binutils and gcc support GOTDATA.
80724         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
80725         "rd %pc" in the PIC register setup sequences.
80727         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
80728         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
80729         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
80730         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
80731         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
80732         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
80733         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
80734         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
80735         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
80736         (SYSCALL_ERROR_HANDLER): Likewise.
80737         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
80738         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
80739         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
80740         (SYSCALL_ERROR_HANDLER): Likewise.
80742         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
80743         (HAVE_GCC_GOTDATA): New.
80744         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
80745         relocation support in both binutils and gcc.
80746         * sysdeps/sparc/elf/configure: Regenerate.
80748         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
80749         * sysdeps/sparc/sparc32/elf/configure: Delete.
80750         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
80751         * sysdeps/sparc/sparc64/elf/configure: Delete.
80752         * sysdeps/sparc/elf/configure.in: New file.
80753         * sysdeps/sparc/elf/configure: Generate.
80755         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
80756         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
80757         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
80758         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
80759         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
80761 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80763         * manual/install.texi: Do not mention specific glibc version
80764         numbers.
80765         * manual/libc.texinfo (VERSION, UPDATED): Update.
80766         (@copying): Use @copyright{} and range of years.
80768 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
80770         [BZ #13695]
80771         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
80772         [crti.S not in sysdirs] (generated): Do not append.
80773         [crti.S not in sysdirs] (omit-deps): Likewise.
80774         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
80775         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
80776         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
80777         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
80778         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
80779         Likewise.
80780         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
80781         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
80782         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
80783         * csu/defs.awk: Remove file.
80784         * sysdeps/generic/initfini.c: Likewise.
80785         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
80786         variable.
80787         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
80788         Likewise.
80790 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80792         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
80793         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
80794         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
80795         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
80796         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
80797         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
80798         <bits/epoll.h>.
80799         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
80800         (__EPOLL_PACKED): Define to empty if not defined by
80801         <bits/epoll.h>.
80802         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
80803         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80804         bits/epoll.h.
80806 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80808         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
80809         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
80810         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
80811         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
80812         <bits/timerfd.h>.
80813         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
80814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80815         bits/timerfd.h.
80817 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
80819         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
80820         in C locale.
80821         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80822         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
80823         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
80824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80826 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
80828         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80829         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
80831 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
80833         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
80834         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
80835         defined.
80836         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
80837         Likewise.
80838         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
80839         entry for 2.16.
80841 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
80843         * math/w_acos.c: Use non-signaling floating-point comparisons.
80844         * math/w_acosf.c: Likewise.
80845         * math/w_acosh.c: Likewise.
80846         * math/w_acoshf.c: Likewise.
80847         * math/w_acoshl.c: Likewise.
80848         * math/w_acosl.c: Likewise.
80849         * math/w_asin.c: Likewise.
80850         * math/w_asinf.c: Likewise.
80851         * math/w_asinl.c: Likewise.
80852         * math/w_atanh.c: Likewise.
80853         * math/w_atanhf.c: Likewise.
80854         * math/w_atanhl.c: Likewise.
80855         * math/w_exp2.c: Likewise.
80856         * math/w_exp2f.c: Likewise.
80857         * math/w_exp2l.c: Likewise.
80858         * math/w_j0.c: Likewise.
80859         * math/w_j0f.c: Likewise.
80860         * math/w_j0l.c: Likewise.
80861         * math/w_j1.c: Likewise.
80862         * math/w_j1f.c: Likewise.
80863         * math/w_j1l.c: Likewise.
80864         * math/w_jn.c: Likewise.
80865         * math/w_jnf.c: Likewise.
80866         * math/w_log.c: Likewise.
80867         * math/w_log10.c: Likewise.
80868         * math/w_log10f.c: Likewise.
80869         * math/w_log10l.c: Likewise.
80870         * math/w_log2.c: Likewise.
80871         * math/w_log2f.c: Likewise.
80872         * math/w_log2l.c: Likewise.
80873         * math/w_logf.c: Likewise.
80874         * math/w_logl.c: Likewise.
80875         * math/w_sqrt.c: Likewise.
80876         * math/w_sqrtf.c: Likewise.
80877         * math/w_sqrtl.c: Likewise.
80878         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80879         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
80880         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80881         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80882         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80884 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80886         [BZ #9739]
80887         * manual/string.texi (strnlen): Use correct parameter name in
80888         equivalent expression.
80890 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80892         [BZ #11174]
80893         * manual/users.texi (seteuid): Consistently use neweuid for
80894         argument name.
80896 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
80898         [BZ #13704]
80899         * manual/nss.texi (Services in the NSS configuration): Correct
80900         list of services in example configuration file.
80902 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
80904         [BZ #11322]
80905         * manual/arith.texi: Remove statements about negative zero
80906         behaving identically to zero.
80908 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80910         [BZ #5993]
80911         * manual/install.texi: Do not document upgrading from libc5.
80913 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
80915         [BZ #4596]
80916         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
80918 2012-02-18  David S. Miller  <davem@davemloft.net>
80920         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
80921         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
80922         %o7 across the call.
80923         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
80924         instead.
80925         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
80926         SETUP_PIC_REG_LEAF.
80927         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
80928         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
80929         * sysdeps/sparc/crtn.S: Likewise.
80931 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
80933         * aout/Makefile: Remove.
80935 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
80937         [BZ #13058]
80938         * manual/examples/argp-ex1.c (main): Format definition in GNU
80939         style.
80940         * manual/examples/argp-ex2.c (main): Likewise.
80941         * manual/examples/argp-ex3.c (main): Likewise.
80942         * manual/examples/argp-ex4.c (main): Likewise.
80943         * manual/examples/longopt.c (main): Use new-style prototype
80944         definition.
80945         * manual/examples/strncat.c (main): Specify return type and use
80946         (void) for arguments.
80947         * manual/examples/subopt.c (main): Use char **argv argument.
80949 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80951         [BZ #5077]
80952         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
80953         rounding modes.
80955 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
80957         [BZ #6907]
80958         * manual/string.texi (strchr): Change when strchrnul is
80959         recommended.
80961 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
80963         [BZ #174]
80964         * manual/locale.texi (setlocale): Document LOCPATH.
80966 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
80968         [BZ #10210]
80969         * manual/process.texi (execle): Move @dots{} before last argument.
80971 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
80973         [BZ #12047]
80974         * manual/charset.texi (Generic Charset Conversion): Fix typo
80975         (LC_TYPE -> LC_CTYPE).
80977 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
80979         [BZ #5805]
80980         * manual/arith.texi (scalbn): Use @var{} on parameter names.
80981         (scalbnf): Likewise.
80982         (scalbnl): Likewise.
80983         (scalbln): Likewise.
80984         (scalblnf): Likewise.
80985         (scalblnl): Likewise.
80986         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
80987         (vwarnx): Likewise.
80988         (verr): Likewise.
80989         (verrx): Likewise.
80990         * manual/filesys.texi (telldir): Use braces around return type.
80991         * manual/llio.texi (mmap): Add space after comma.
80992         (mmap64): Likewise.
80993         * manual/math.texi (jn): Use @var{} on parameter names.
80994         (jnf): Likewise.
80995         (jnl): Likewise.
80996         (yn): Likewise.
80997         (ynf): Likewise.
80998         (ynl): Likewise.
80999         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
81000         line.
81001         * manual/resource.texi (ulimit): Use @dots{} instead of literal
81002         "...".
81003         (sched_get_priority_min): Remove semicolon on @deftypefun line.
81004         (sched_get_priority_max): Likewise.
81005         * manual/signal.texi (sigvec): Add space after comma.
81006         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
81007         names.
81008         (if_indextoname): Likewise.
81009         (if_freenameindex): Likewise.
81010         (sendto): Use ',' instead of '.' in prototype.
81011         * manual/startup.texi (syscall): Use @dots{} instead of literal
81012         "...".
81013         * manual/stdio.texi (__fpending): Separate initial words of
81014         paragraph from @deftypefun line.
81015         * manual/syslog.texi (syslog): Use @dots{} instead of literal
81016         "...".
81017         (vsyslog): Use @var{} on parameter names.
81018         * manual/terminal.texi (stty): Use @var{} on parameter names.
81019         * manual/users.texi (getutmp): Use @var{} on parameter names.
81020         (getutmpx): Likewise.
81022 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81024         [BZ #6884]
81025         * manual/stdio.texi (fopen): Fix typos in description of
81026         ",ccs=STRING".
81028 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
81030         [BZ #4026]
81031         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
81032         get clock_id definition.
81034 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
81036         [BZ #4822]
81037         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
81038         (madvise): Cast every argument to void on its own.
81040 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81042         [BZ #9902]
81043         * manual/startup.texi (Exit Status): Fix typo.
81045 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
81047         [BZ #10140]
81048         * manual/examples/argp-ex1.c: Include <stdlib.h>.
81049         * manual/examples/argp-ex2.c: Likewise.
81050         * manual/examples/argp-ex3.c: Likewise.
81052 2012-02-16  Richard Henderson  <rth@redhat.com>
81054         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
81055         * sysdeps/s390/s390-32/initfini.c: Remove.
81056         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
81057         * sysdeps/s390/s390-64/initfini.c: Remove.
81059 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
81061         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
81062         compiler output for sysdeps/generic/initfini.c.
81063         * sysdeps/sh/elf/initfini.c: Remove file.
81065 2012-02-16  David S. Miller  <davem@davemloft.net>
81067         [BZ #11494]
81068         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
81070         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
81071         * sysdeps/sparc/crti.S: New file.
81072         * sysdeps/sparc/crtn.S: New file.
81073         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
81074         * sysdeps/sparc/sparc64/Makefile: Likewise.
81076 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
81078         [BZ #3335]
81079         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
81081 2012-02-15  Roland McGrath  <roland@hack.frob.com>
81083         [BZ #4822]
81084         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
81086         * mach/devstream.c (cookie_io_functions_t): Macro removed.
81087         (write, read, close): Likewise.
81088         Patch by Aurelien Jarno <aurelien@aurel32.net>.
81090 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
81092         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
81093         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
81094         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
81095         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
81096         <bits/signalfd.h>.
81097         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
81098         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81099         bits/signalfd.h.
81101 2012-02-14  Marek Polacek  <polacek@redhat.com>
81103         * sysdeps/x86_64/crti.S: New file.
81104         * sysdeps/x86_64/crtn.S: New file.
81105         * sysdeps/x86_64/elf/initfini.c: Remove file.
81107 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81109         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
81110         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
81111         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
81112         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
81113         <bits/inotify.h>.
81114         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
81115         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81116         bits/inotify.h.
81118 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
81120         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
81121         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
81122         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
81123         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
81124         <bits/eventfd.h>.
81125         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
81126         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81127         bits/eventfd.h.
81129 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
81131         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
81132         __feraiseexcept instead of feraiseexcept.
81134         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
81135         nanosleep invocations.
81136         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
81137         strings, and add error checking for a nanosleep invocations.
81139 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
81141         Replace FSF snail mail address with URLs, as per GNU coding standards.
81142         Most of the snail mail addresses were wrong anyway, and omitting
81143         them makes the source code easier to maintain.  Almost all of the
81144         changes are to license notices and to locale LC_IDENTIFICATION
81145         addresses, except for this one:
81146         * manual/libc.texinfo: In "Published by", give the FSF's URL,
81147         not its snail mail address.
81149 2012-02-09  Richard Henderson  <rth@twiddle.net>
81151         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
81152         of kernel-features.h.
81154         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
81156 2012-02-08  Marek Polacek  <polacek@redhat.com>
81158         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
81159         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
81160         * sysdeps/gnu/_G_config.h: Likewise.
81161         * sysdeps/generic/_G_config.h: Likewise.
81163 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
81165         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
81166         tests.
81167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81169         * sysdeps/powerpc/powerpc32/crti.S: New file.
81170         * sysdeps/powerpc/powerpc32/crtn.S: New file.
81171         * sysdeps/powerpc/powerpc64/crti.S: New file.
81172         * sysdeps/powerpc/powerpc64/crtn.S: New file.
81174         * Makeconfig (have-initfini): Don't set.
81175         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
81176         * configure.in (nopic_initfini): Don't substitute.
81177         * config.h.in (HAVE_INITFINI): Don't #undef.
81178         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
81179         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
81181 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
81183         Support crti.S and crtn.S provided directly by architectures.
81184         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
81185         [crti.S in sysdirs] (omit-deps): Likewise.
81186         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
81187         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
81188         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
81189         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
81190         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
81191         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
81192         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
81193         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
81194         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
81195         compiler output for sysdeps/generic/initfini.c.
81196         * sysdeps/i386/elf/Makefile: Remove file.
81197         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
81199 2012-02-07  Marek Polacek  <polacek@redhat.com>
81201         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
81202         * sysdeps/gnu/_G_config.h: Likewise.
81203         * sysdeps/mach/hurd/_G_config.h: Likewise.
81205 2012-02-07  Marek Polacek  <polacek@redhat.com>
81207         * math/Makefile (tests): Add tst-CMPLX2.
81208         * math/tst-CMPLX2.c: New file.
81210 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
81212         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81214         * math/libm-test.inc (jn_test): Add missing L suffix.
81216 2012-02-06  Marek Polacek  <polacek@redhat.com>
81218         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
81219         * sysdeps/i386/fpu/e_powf.S: Likewise.
81220         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81221         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
81222         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81223         * sysdeps/i386/fpu/e_pow.S: Likewise.
81224         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
81225         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81226         * sysdeps/i386/fpu/s_expm1.S: Likewise.
81227         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
81228         * sysdeps/i386/fpu/e_log2.S: Likewise.
81229         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81230         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81231         * sysdeps/i386/fpu/e_powl.S: Likewise.
81232         * sysdeps/i386/fpu/s_log1p.S: Likewise.
81233         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81234         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
81235         * sysdeps/i386/fpu/e_logl.S: Likewise.
81236         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
81237         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
81238         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
81239         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
81240         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81241         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81242         * sysdeps/i386/fpu/e_log.S: Likewise.
81243         * sysdeps/i386/fpu/s_cexp.S: Likewise.
81244         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81245         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
81246         * sysdeps/i386/fpu/e_logf.S: Likewise.
81247         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81248         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81249         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
81250         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
81251         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
81252         * sysdeps/i386/fpu/e_log10.S: Likewise.
81253         * sysdeps/i386/fpu/s_frexp.S: Likewise.
81254         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81255         * sysdeps/i386/fpu/s_asinh.S: Likewise.
81256         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
81257         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81258         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
81259         * sysdeps/i386/asm-syntax.h: Likewise.
81260         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81261         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81262         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81263         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
81264         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
81265         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81266         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
81267         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
81268         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81269         * sysdeps/powerpc/sysdep.h: Likewise.
81270         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
81271         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
81273 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81275         [BZ #411]
81276         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
81278 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
81280         * sysdeps/i386/sysdep.h: Include <features.h>.
81281         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
81282         version.
81284 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
81286         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
81287         Define.
81288         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
81289         LOAD_PIC_REG_STR.
81291 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81293         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
81294         (SETUP_PIC_REG): Use GET_PC_THUNK.
81295         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
81296         macro.
81298 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81300         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
81301         for non-PIC compilation.
81302         (SETUP_PIC_REG): Add .p2align directive.
81303         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
81304         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
81305         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
81306         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
81307         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
81308         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
81309         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
81310         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
81311         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
81312         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
81313         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
81314         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
81315         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
81316         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
81317         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
81318         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
81319         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
81320         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
81321         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
81322         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
81323         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
81324         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
81325         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
81326         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
81327         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
81328         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
81329         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
81330         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
81331         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
81332         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
81333         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
81334         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
81335         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
81336         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
81337         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
81338         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
81339         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
81340         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
81341         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
81342         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
81343         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
81345 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
81347         * math/tst-CMPLX.c: Include <stdio.h>.
81349 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
81351         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
81352         float.
81353         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81354         * sysdeps/sparc/bits/mathdef.h: Likewise.
81356 2012-01-31  Marek Polacek  <polacek@redhat.com>
81358         * libio/libio.h: Don't define _PARAMS.
81359         * locale/programs/config.h: Don't define PARAMS.
81360         * stdlib/strtol_l.c: Likewise.
81361         (__strtol_l): Remove PARAMS from the prototype.
81363 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
81365         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
81366         names.  Just use the correct names.  Remove unnecessary wrapper
81367         functions.
81368         * malloc/arena.c: Likewise.
81369         * malloc/hooks.c: Likewise.
81371         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
81372         ARENA_TEST says not to.  Simplify test for creation of a new arena.
81373         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
81375 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
81377         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
81378         into tail calls.
81379         (update_get_addr): New function.
81380         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
81381         GET_ADDR_MODULE parameter.
81383 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81385         * crypt/cert.c: Remove __STDC__ conditionals.
81386         * crypt/crypt-entry.c: Likewise.
81387         * crypt/crypt_util.c: Likewise.
81388         * libio/filedoalloc.c: Likewise.
81389         * libio/fileops.c: Likewise.
81390         * libio/genops.c: Likewise.
81391         * libio/iofclose.c: Likewise.
81392         * libio/iofdopen.c: Likewise.
81393         * libio/iofopen.c: Likewise.
81394         * libio/iofopen64.c: Likewise.
81395         * libio/iogetdelim.c: Likewise.
81396         * libio/iopopen.c: Likewise.
81397         * libio/obprintf.c: Likewise.
81398         * libio/oldfileops.c: Likewise.
81399         * libio/oldiofclose.c: Likewise.
81400         * libio/oldiofdopen.c: Likewise.
81401         * libio/oldiofopen.c: Likewise.
81402         * libio/oldiopopen.c: Likewise.
81403         * libio/wfiledoalloc.c: Likewise.
81404         * libio/wgenops.c: Likewise.
81405         * locale/programs/xmalloc.c: Likewise.
81406         * misc/syslog.c: Likewise.
81407         * stdio-common/xbug.c: Likewise.
81408         * string/memchr.c: Likewise.
81409         * string/memcmp.c: Likewise.
81410         * string/memrchr.c: Likewise.
81411         * string/rawmemchr.c: Likewise.
81412         * sysdeps/posix/getcwd.c: Likewise.
81413         * time/strftime_l.c: Likewise.
81415 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
81417         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
81418         * config.make.in (config-cflags-sse2avx): Define.
81419         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
81420         Fix typo.
81422 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
81424         * scripts/config.guess: Update from upstream config git repository.
81425         * scripts/config.sub: Likewise.
81427 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
81429         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
81430         (EM_NUM): Update.
81431         (R_TILEPRO_*, R_TILEGX_*): New macros.
81433         * scripts/firstversions.awk: Fix bug in version range handling.
81435         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
81437         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
81439         * include/sys/epoll.h: New file.
81440         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
81441         libc_hidden_def.
81443 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
81445         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
81446         Avoid unnecessary __WORDSIZE == 64 test.
81447         (fmaxf): Use VEX format if possible.
81448         (fmax): Likewise.
81449         (fminf): Likewise.
81450         (fmin): Likewise.
81452         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
81453         * math/math_private.h: Remove libc_fegetround* and
81454         libc_fesetround*.
81455         * sysdeps/i386/configure.in: Check for -msse2avx.
81456         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
81457         also if SSE2AVX is defined.
81458         Remove libc_fegetround* and libc_fesetround*.
81459         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
81460         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
81461         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
81462         of HAS_YMM_USABLE.
81463         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81464         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81465         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81466         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81467         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81469         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
81471 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81473         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
81474         size is not set.
81475         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81477 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
81479         [BZ #13618]
81480         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
81481         relocation.
81482         * Makeconfig (libm): Define.
81483         * elf/Makefile: Add rules to build and run tst-relsort1.
81484         * elf/tst-relsort1.c: New file.
81485         * elf/tst-relsort1mod1.c: New file.
81486         * elf/tst-relsort1mod2.c: New file.
81488 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
81490         * math/s_ldexp.c: Remove __STDC__ conditionals.
81491         * math/s_ldexpf.c: Likewise.
81492         * math/s_ldexpl.c: Likewise.
81493         * math/s_nextafter.c: Likewise.
81494         * math/s_nexttowardf.c: Likewise.
81495         * math/s_significand.c: Likewise.
81496         * math/s_significandf.c: Likewise.
81497         * math/s_significandl.c: Likewise.
81498         * math/w_jnl.c: Likewise.
81499         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81500         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81501         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81502         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81503         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81504         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81505         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
81506         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81507         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81508         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81509         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81510         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81511         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81512         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81513         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81514         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81515         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81516         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81517         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81518         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81519         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81520         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81521         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81522         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81523         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81524         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81525         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81526         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81527         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81528         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81529         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81530         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81531         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81532         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81533         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81534         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81535         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81536         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81537         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81538         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81539         * sysdeps/ieee754/k_standard.c: Likewise.
81540         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81541         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81542         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81543         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81544         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81545         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81546         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81547         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81548         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81549         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81550         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81551         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81552         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81553         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81554         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81555         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81556         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81557         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81558         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81559         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81560         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81561         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81562         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81563         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81564         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81565         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81566         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81567         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81568         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81569         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81570         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81571         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
81572         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81573         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81574         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81575         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81576         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
81577         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81578         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81579         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
81580         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
81581         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81582         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
81583         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
81584         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81585         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
81586         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
81587         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81588         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81589         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
81590         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
81591         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81592         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81593         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81594         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81595         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81596         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
81597         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81598         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81599         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81600         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81601         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81602         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81603         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81604         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81605         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81606         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81607         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81608         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81609         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81610         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81611         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81612         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81613         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81614         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81615         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81616         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81617         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81618         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81619         * sysdeps/ieee754/s_matherr.c: Likewise.
81620         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81621         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81622         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81623         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81625 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81627         * crypt/md5.h: Remove __STDC__ conditionals.
81628         * libio/libioP.h: Likewise.
81629         * locale/programs/config.h: Likewise.
81630         * sysdeps/generic/sysdep.h: Likewise.
81631         * sysdeps/i386/asm-syntax.h: Likewise.
81632         * sysdeps/s390/asm-syntax.h: Likewise.
81633         * sysdeps/unix/sysdep.h: Likewise.
81634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
81635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
81637 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
81639         * libio/libio.h: Remove __STDC__ conditionals.
81640         * malloc/obstack.h: Likewise.
81641         * math/complex.h: Likewise.
81642         * math/math.h: Likewise.
81643         * sysdeps/generic/_G_config.h: Likewise.
81644         * sysdeps/gnu/_G_config.h: Likewise.
81645         * sysdeps/mach/hurd/_G_config.h: Likewise.
81646         * sysdeps/powerpc/bits/mathdef.h: Likewise.
81647         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
81648         * sysdeps/sparc/bits/mathdef.h: Likewise.
81650 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
81652         [BZ #13583]
81653         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
81654         Clean up HAS_* macros.
81655         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
81656         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
81657         possible.
81658         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
81659         HAS_AVX.
81660         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
81661         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
81662         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
81663         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
81664         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
81666 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
81668         * elf/tst-unique3.cc (gets): Remove declaration.
81669         * elf/tst-unique3lib.cc (gets): Likewise.
81670         * elf/tst-unique3lib2.cc (gets): Likewise.
81671         * elf/tst-unique4.cc (gets): Likewise.
81673 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
81675         * include/stdio.h: Add C++ protection.  Add gets declarations and
81676         definitions.
81677         * debug/tst-chk1.c: Don't declare gets here.
81678         * stdio-common/tst-gets.c: Likewise.
81680 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81682         * posix/glob: Remove directory.
81684 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
81686         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
81688 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
81690         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
81691         of the non-standard EPFNOSUPPORT.
81693 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81695         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
81696         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
81697         ANYWHERE set to 1 only on KERN_NO_SPACE error.
81699 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
81701         * wcsmbs/uchar.h: Test __STDC_VERSION__.
81703 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
81705         * nscd/aicache.c (addhstaiX): Do not cache negative results of
81706         transient errors.
81707         * nscd/grpcache.c (cache_addgr): Likewise.
81708         * nscd/hstcache.c (cache_addhst): Likewise.
81709         * nscd/initgrcache.c (addinitgroupsX): Likewise.
81710         * nscd/pwdcache.c (cache_addpw): Likewise.
81711         * nscd/servicescache.c (cache_addserv): Likewise.
81713 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
81715         * malloc/malloc.c: Various cleanups.
81716         * malloc/hooks.c: Likewise.
81718         * stdlib/Makefile (tests): Add bug-fmtmsg1.
81719         * stdlib/bug-fmtmsg1.c: New file.
81721         * stdlib/fmtmsg.c (init): Add missing unlock.
81722         Patch by Peng Haitao <penght@cn.fujitsu.com>.
81724 2012-01-12  Marek Polacek  <polacek@redhat.com>
81726         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
81727         and _GNU_SOURCE.
81729 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81731         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
81732         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
81733         macro to ensure uniqueness of label name.
81734         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
81735         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
81737 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
81739         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
81741         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
81742         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81743         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81744         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
81746 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
81748         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
81750         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
81751         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81752         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81754         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
81756         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
81757         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81758         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81759         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
81761         * math/bits/math-finite.h: Add ldexp support.
81763 2012-01-10  Marek Polacek  <polacek@redhat.com>
81765         * locale/programs/localedef.h (show_archive_content): Add noreturn
81766         attribute.
81768 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
81770         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
81772 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81774         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
81776         * io/Makefile (headers): Add bits/poll2.h.
81778 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
81780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
81781         typo #include statement.
81783 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81785         * include/sys/cdefs.h: Define __attribute_alloc_size.
81786         * catgets/gencat.c: Add alloc_size attribute and apply consistently
81787         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
81788         * elf/pldd.c: Likewise.
81789         * iconv/iconv_charmap.c: Likewise.
81790         * iconv/iconvconfig.c: Likewise.
81791         * iconv/strtab.c: Likewise.
81792         * locale/programs/locale.c: Likewise.
81793         * locale/programs/localedef.h: Likewise.
81794         * locale/programs/simple-hash.c: Likewise.
81795         * nscd/nscd.h: Likewise.
81796         * nss/makedb.c: Likewise.
81797         * sysdeps/generic/ldconfig.h: Likewise.
81798         * locale/programs/localedef.c: Remove xmalloc prototype.
81799         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
81801 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
81803         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
81804         appropriate.
81806 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
81808         * math/Makefile (tests): Add tst-CMPLX.
81809         * math/tst-CMPLX.c: New file.
81811         * math/complex.h (CMPLXL): Fix typo.
81813         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
81814         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
81815         GLIBC_2.16.
81816         * debug/tst-chk1.c: Add poll and ppoll tests.
81817         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
81818         * include/sys/poll.h: Add hidden proto for ppoll.
81819         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
81820         * sysdeps/mach/hurd/ppoll.c: Likewise.
81821         * io/ppoll.c: Likewise.
81822         * debug/poll_chk.c: New file.
81823         * debug/ppoll_chk.c: New file.
81824         * include/bits/poll2.h: New file.
81825         * io/bits/poll2.h: New file.
81827         [BZ #1350]
81828         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
81830         * configure.in: static is always set to yes.  Remove.
81831         * config.make.in: Don't set build-static.
81832         * Makeconfig: Remove use of build-static.
81833         * dlfcn/Makefile: Likewise.
81834         * elf/Makefile: Likewise.
81835         * math/Makefile: Likewise.
81836         * misc/Makefile: Likewise.
81837         * nptl/Makefile: Likewise.
81838         * sysdeps/mach/hurd/Makefile: Likewise.
81840         * configure.in: PWD_P is not used anymore.
81841         * config.make.in: Remove PWD_P entry.
81843         * configure.in: Remove last remnants of RANLIB.
81844         No need to check for signed size_t anymore.
81845         Don't set libc_commonpagesize and libc_relro_required here for Alpha
81846         and IA-64.
81847         Remove __builtin_expect test because we require at least gcc 3.4.
81848         * aclocal.m4: Likewise.
81850         * wcsmbs/mbrtoc16.c: Implement using towc function.
81851         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
81852         * wcsmbs/wcsmbsload.c: Likewise.
81853         * iconv/gconv_simple.c: Likewise.
81854         * iconv/gconv_int.h: Likewise.
81855         * iconv/gconv_builtin.h: Likewise.
81856         * iconv/iconv_prog.c: Remove CHAR16 handling.
81858         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
81860         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
81862         * configure.in: Remove --with-elf and --enable-bounded options.
81863         Dont set base_machine for ia64.  More non-ELF conditions removed.
81864         Remove testing and setting of leading underscore information.
81865         * config.make.in (build-bounded): Set to no.
81866         * config.h.in: Remove NO_UNDERSCORES entry.
81867         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
81868         them.
81869         * csu/start.c: Remove !NO_UNDERSCORE code.
81870         * locale/localeinfo.h: Likewise.
81871         * sysdeps/generic/machine-gmon.h: Likewise.
81872         * sysdeps/generic/sysdep.h: Likewise.
81873         * sysdeps/i386/sysdep.h: Likewise.
81874         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
81875         * sysdeps/mach/sysdep.h: Likewise.
81876         * sysdeps/s390/s390-32/sysdep.h: Likewise.
81877         * sysdeps/s390/s390-64/sysdep.h: Likewise.
81878         * sysdeps/sh/sysdep.h: Likewise.
81879         * sysdeps/sparc/sparc32/alloca.S: Likewise.
81880         * sysdeps/unix/i386/sysdep.S: Likewise.
81881         * sysdeps/unix/sparc/start.c: Likewise.
81882         * sysdeps/unix/sparc/sysdep.S: Likewise.
81883         * sysdeps/unix/sparc/sysdep.h: Likewise.
81884         * sysdeps/unix/start.c: Likewise.
81885         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81886         * sysdeps/x86_64/sysdep.h: Likewise.
81888 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
81890         [BZ #13553]
81891         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
81892         for non-gcc.
81893         * argp/argp-fmtstream.h: Use const instead __const.
81894         * argp/argp.h: Likewise.
81895         * assert/assert.h: Likewise.
81896         * bits/fenv.h: Likewise.
81897         * bits/sched.h: Likewise.
81898         * bits/sigset.h: Likewise.
81899         * bits/sigthread.h: Likewise.
81900         * catgets/nl_types.h: Likewise.
81901         * conform/data/pthread.h-data: Likewise.
81902         * crypt/crypt-private.h: Likewise.
81903         * crypt/crypt.h: Likewise.
81904         * crypt/crypt_util.c: Likewise.
81905         * ctype/ctype.h: Likewise.
81906         * debug/execinfo.h: Likewise.
81907         * debug/mbsnrtowcs_chk.c: Likewise.
81908         * debug/mbsrtowcs_chk.c: Likewise.
81909         * debug/wcsnrtombs_chk.c: Likewise.
81910         * debug/wcsrtombs_chk.c: Likewise.
81911         * debug/wcstombs_chk.c: Likewise.
81912         * dirent/dirent.h: Likewise.
81913         * dlfcn/dlfcn.h: Likewise.
81914         * elf/neededtest4.c: Likewise.
81915         * grp/grp.h: Likewise.
81916         * gshadow/gshadow.h: Likewise.
81917         * iconv/gconv.h: Likewise.
81918         * iconv/gconv_int.h: Likewise.
81919         * iconv/gconv_simple.c: Likewise.
81920         * iconv/iconv.h: Likewise.
81921         * iconv/loop.c: Likewise.
81922         * iconv/skeleton.c: Likewise.
81923         * include/aio.h: Likewise.
81924         * include/aliases.h: Likewise.
81925         * include/argz.h: Likewise.
81926         * include/arpa/inet.h: Likewise.
81927         * include/assert.h: Likewise.
81928         * include/dirent.h: Likewise.
81929         * include/dlfcn.h: Likewise.
81930         * include/execinfo.h: Likewise.
81931         * include/fcntl.h: Likewise.
81932         * include/fenv.h: Likewise.
81933         * include/glob.h: Likewise.
81934         * include/grp.h: Likewise.
81935         * include/libintl.h: Likewise.
81936         * include/mntent.h: Likewise.
81937         * include/netdb.h: Likewise.
81938         * include/pwd.h: Likewise.
81939         * include/rpc/netdb.h: Likewise.
81940         * include/sched.h: Likewise.
81941         * include/search.h: Likewise.
81942         * include/shadow.h: Likewise.
81943         * include/signal.h: Likewise.
81944         * include/stdio.h: Likewise.
81945         * include/stdlib.h: Likewise.
81946         * include/string.h: Likewise.
81947         * include/sys/socket.h: Likewise.
81948         * include/sys/stat.h: Likewise.
81949         * include/sys/statfs.h: Likewise.
81950         * include/sys/statvfs.h: Likewise.
81951         * include/sys/syslog.h: Likewise.
81952         * include/sys/time.h: Likewise.
81953         * include/sys/uio.h: Likewise.
81954         * include/time.h: Likewise.
81955         * include/unistd.h: Likewise.
81956         * include/utmp.h: Likewise.
81957         * include/wchar.h: Likewise.
81958         * include/wctype.h: Likewise.
81959         * inet/aliases.h: Likewise.
81960         * inet/arpa/inet.h: Likewise.
81961         * inet/netinet/ether.h: Likewise.
81962         * inet/netinet/in.h: Likewise.
81963         * intl/libintl.h: Likewise.
81964         * io/bits/fcntl2.h: Likewise.
81965         * io/fcntl.h: Likewise.
81966         * io/ftw.h: Likewise.
81967         * io/sys/poll.h: Likewise.
81968         * io/sys/stat.h: Likewise.
81969         * io/sys/statfs.h: Likewise.
81970         * io/sys/statvfs.h: Likewise.
81971         * io/utime.h: Likewise.
81972         * libio/bits/stdio.h: Likewise.
81973         * libio/bits/stdio2.h: Likewise.
81974         * libio/libio.h: Likewise.
81975         * libio/libioP.h: Likewise.
81976         * libio/stdio.h: Likewise.
81977         * locale/lc-ctype.c: Likewise.
81978         * locale/locale.h: Likewise.
81979         * login/utmp.h: Likewise.
81980         * malloc/arena.c: Likewise.
81981         * malloc/malloc.c: Likewise.
81982         * malloc/malloc.h: Likewise.
81983         * malloc/mcheck.c: Likewise.
81984         * malloc/mtrace.c: Likewise.
81985         * math/bits/mathcalls.h: Likewise.
81986         * math/fenv.h: Likewise.
81987         * math/math_private.h: Likewise.
81988         * misc/bits/error.h: Likewise.
81989         * misc/bits/syslog.h: Likewise.
81990         * misc/err.h: Likewise.
81991         * misc/error.h: Likewise.
81992         * misc/fstab.h: Likewise.
81993         * misc/mntent.h: Likewise.
81994         * misc/regexp.h: Likewise.
81995         * misc/search.h: Likewise.
81996         * misc/sgtty.h: Likewise.
81997         * misc/sys/mman.h: Likewise.
81998         * misc/sys/syslog.h: Likewise.
81999         * misc/sys/uio.h: Likewise.
82000         * misc/sys/xattr.h: Likewise.
82001         * misc/ttyent.h: Likewise.
82002         * nis/rpcsvc/ypclnt.h: Likewise.
82003         * nss/nss.h: Likewise.
82004         * posix/bits/unistd.h: Likewise.
82005         * posix/fnmatch.h: Likewise.
82006         * posix/glob.h: Likewise.
82007         * posix/sched.h: Likewise.
82008         * posix/spawn.h: Likewise.
82009         * posix/sys/wait.h: Likewise.
82010         * posix/unistd.h: Likewise.
82011         * posix/wordexp.h: Likewise.
82012         * pwd/pwd.h: Likewise.
82013         * resolv/netdb.h: Likewise.
82014         * resource/sys/resource.h: Likewise.
82015         * rt/aio.h: Likewise.
82016         * rt/bits/mqueue2.h: Likewise.
82017         * rt/mqueue.h: Likewise.
82018         * shadow/shadow.h: Likewise.
82019         * signal/signal.h: Likewise.
82020         * socket/send.c: Likewise.
82021         * socket/sendto.c: Likewise.
82022         * socket/sys/socket.h: Likewise.
82023         * stdio-common/printf.h: Likewise.
82024         * stdlib/bits/stdlib.h: Likewise.
82025         * stdlib/fmtmsg.h: Likewise.
82026         * stdlib/monetary.h: Likewise.
82027         * stdlib/stdlib.h: Likewise.
82028         * stdlib/ucontext.h: Likewise.
82029         * streams/stropts.h: Likewise.
82030         * string/argz.h: Likewise.
82031         * string/bits/string2.h: Likewise.
82032         * string/string.h: Likewise.
82033         * string/strings.h: Likewise.
82034         * sunrpc/rpc/auth.h: Likewise.
82035         * sunrpc/rpc/auth_des.h: Likewise.
82036         * sunrpc/rpc/clnt.h: Likewise.
82037         * sunrpc/rpc/netdb.h: Likewise.
82038         * sunrpc/rpc/pmap_clnt.h: Likewise.
82039         * sunrpc/rpc/xdr.h: Likewise.
82040         * sysdeps/generic/inttypes.h: Likewise.
82041         * sysdeps/generic/net/if.h: Likewise.
82042         * sysdeps/generic/sys/swap.h: Likewise.
82043         * sysdeps/gnu/net/if.h: Likewise.
82044         * sysdeps/gnu/utmpx.h: Likewise.
82045         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
82046         * sysdeps/i386/i486/bits/string.h: Likewise.
82047         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
82048         * sysdeps/s390/bits/string.h: Likewise.
82049         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
82050         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
82051         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
82052         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
82053         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
82054         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
82055         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
82056         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
82057         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
82058         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
82059         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
82060         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
82061         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
82062         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
82063         * sysdeps/unix/sysv/linux/readv.c: Likewise.
82064         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
82065         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
82066         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82067         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
82068         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
82069         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82070         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
82071         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
82072         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
82073         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
82074         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
82075         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
82076         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82077         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
82078         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
82079         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
82080         * sysvipc/sys/ipc.h: Likewise.
82081         * sysvipc/sys/msg.h: Likewise.
82082         * sysvipc/sys/sem.h: Likewise.
82083         * sysvipc/sys/shm.h: Likewise.
82084         * termios/termios.h: Likewise.
82085         * time/sys/time.h: Likewise.
82086         * time/time.h: Likewise.
82087         * wcsmbs/bits/wchar2.h: Likewise.
82088         * wcsmbs/uchar.h: Likewise.
82089         * wcsmbs/wchar.h: Likewise.
82090         * wctype/wctype.h: Likewise.
82092         [BZ #13551]
82093         * Makeconfig: Remove all but ELF support including AIX support.
82094         * Makerules: Likewise.
82095         * config.h.in: Likewise.
82096         * config.make.in: Likewise.
82097         * configure: Likewise.
82098         * configure.in: Likewise.
82099         * csu/Makefile: Likewise.
82100         * csu/version.c: Likewise.
82101         * debug/Makefile: Likewise.
82102         * dlfcn/Makefile: Likewise.
82103         * elf/Makefile: Likewise.
82104         * extra-lib.mk: Likewise.
82105         * iconv/Makefile: Likewise.
82106         * include/libc-symbols.h: Likewise.
82107         * include/shlib-compat.h: Likewise.
82108         * resolv/Makefile: Likewise.
82109         * resolv/res_libc.c: Likewise.
82110         * rt/Makefile: Likewise.
82111         * sysdeps/i386/asm-syntax.h: Likewise.
82112         * sysdeps/i386/sysdep.h: Likewise.
82113         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
82114         * sysdeps/mach/sysdep.h: Likewise.
82115         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
82116         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
82117         * sysdeps/s390/asm-syntax.h: Likewise.
82118         * sysdeps/s390/s390-32/sysdep.h: Likewise.
82119         * sysdeps/s390/s390-64/sysdep.h: Likewise.
82120         * sysdeps/sh/sysdep.h: Likewise.
82121         * sysdeps/unix/sparc/sysdep.h: Likewise.
82122         * sysdeps/wordsize-32/divdi3.c: Likewise.
82123         * sysdeps/x86_64/sysdep.h: Likewise.
82125         * argp/Versions: Remove _argp_unlock_xxx.
82127         [BZ #13559]
82128         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
82129         * abilist/libBrokenLocale.abilist: Likewise.
82130         * abilist/libanl.abilist: Likewise.
82131         * abilist/libc.abilist: Likewise.
82132         * abilist/libcrypt.abilist: Likewise.
82133         * abilist/libdl.abilist: Likewise.
82134         * abilist/libm.abilist: Likewise.
82135         * abilist/libnsl.abilist: Likewise.
82136         * abilist/libpthread.abilist: Likewise.
82137         * abilist/libresolv.abilist: Likewise.
82138         * abilist/librt.abilist: Likewise.
82139         * abilist/libthread_db.abilist: Likewise.
82140         * abilist/libutil.abilist: Likewise.
82141         * abilist/libnss_db.abilist: New file.
82143         * scripts/abilist.awk: Add support for indirect functions.
82145         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
82147         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
82149         * shlib-versions: Remove entries for ports architectures.
82151         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
82152         files in ports.
82153         * elf/stackguard-macros.h: Remove support for IA-64.
82154         * elf/tst-auditmod1.c: Likewise.
82155         * sysdeps/generic/ldsodefs.h: Likewise.
82157         * sysdeps/unix/sysv/linux/configure.in: Ports should define
82158         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
82159         configure files.
82161         [BZ #13552]
82162         * configure.in: Remove --enable-omitfp support.
82163         * FAQ.in: Adjust.
82164         * config.make.in: Likewise.
82165         * Makeconfig: Likewise.
82166         * manual/install.texi: Likewise.
82168         In case anyone cares, the IA-64 architecture could move to ports.
82169         * sysdeps/ia64/*: Removed.
82170         * sysdeps/unix/sysv/linux/ia64/*: Removed.
82171         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
82173         [BZ #13555]
82174         * configure.in: Remove entries for unsupported architectures.
82176         [BZ #13533]
82177         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
82178         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
82179         routines.
82180         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
82181         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
82182         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
82183         fall back to using wcrtomb.
82184         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
82185         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
82186         renaming.
82187         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
82188         * wcsmbs/tst-c16c32-1.c: New file.
82190         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
82191         local variable.
82193         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
82195         * elf/tst-unique3.cc: Add explicit declaration of gets.
82196         * elf/tst-unique3lib.cc: Likewise.
82197         * elf/tst-unique3lib2.cc: Likewise.
82198         * elf/tst-unique4.cc: Likewise.
82200         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
82202 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
82204         [BZ #13566]
82205         * assert/assert.h (static_assert): Don't define for C++.
82206         * libio/stdio.h (gets): Do declare for C++ <= C++11.
82207         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
82209 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
82211         * iconv/loop.c (single loop): Fix assertion in storing of
82212         remaining bytes.
82214         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
82216 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
82218         * posix/getconf.c: Update copyright year.
82219         * nss/getent.c: Likewise.
82220         * nss/makedb.c: Likewise.
82221         * iconv/iconvconfig.c: Likewise.
82222         * iconv/iconv_prog.c: Likewise.
82223         * elf/ldconfig.c: Likewise.
82224         * elf/pldd.c: Likewise.
82225         * elf/sotruss.ksh: Likewise.
82226         * catgets/gencat.c: Likewise.
82227         * csu/version.c: Likewise.
82228         * elf/ldd.bash.in: Likewise.
82229         * elf/sprof.c (print_version): Likewise.
82230         * locale/programs/locale.c: Likewise.
82231         * locale/programs/localedef.c: Likewise.
82232         * login/programs/pt_chown.c: Likewise.
82233         * nscd/nscd.c (print_version): Likewise.
82234         * debug/xtrace.sh: Likewise.
82235         * malloc/memusage.sh: Likewise.
82236         * malloc/mtrace.pl: Likewise.
82237         * debug/catchsegv.sh: Likewise.
82239 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
82241         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
82242         pure attribute.
82244 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
82246         [BZ #13533]
82247         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
82248         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
82249         transformations.
82250         * iconv/gconv_int.h: Likewise.
82251         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
82252         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
82253         from libc for GLIBC_2.16.
82254         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
82255         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
82256         * wcsmbs/uchar.h: Really define mbstate_t.
82257         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
82258         * wcsmbs/c16rtomb.c: New file.
82259         * wcsmbs/mbrtoc16.c: New file.
82260         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
82261         for C/POSIX locale.
82262         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
82263         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
82265         * wcsmbs/wchar.h: Add missing __restrict.
82267 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82269         [BZ #13532]
82270         * time/Makefile (routines): Add timespec_get.
82271         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
82272         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
82273         timespec for ISO C11.
82274         * time/timespec_get.c: New file.
82275         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
82276         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
82278         [BZ #13531]
82279         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
82280         * stdlib/stdlib.h: Declare aligned_alloc.
82281         * Versions.def: Add GLIBC_2.16 for libc.
82282         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
82284         [BZ 13527]
82285         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
82286         ISO C11.
82288         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
82289         code.
82291         [BZ #13528]
82292         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
82294         [BZ #13529]
82295         * assert/assert.h (static_assert): Define.
82297         * version.h: Update for 2.16 development version.
82299         [BZ #13526]
82300         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
82301         _ISOC11_SOURCE.
82303         * version.h (RELEASE): Bump for 2.15 release.
82304         * include/features.h (__GLIBC_MINOR__): Bump to 15.
82306         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
82307         Patch by Marek Polacek <mpolacek@redhat.com>.
82309         * bits/byteswap.h: Protect long long constants with __extension__.
82310         * sysdeps/i386/bits/byteswap.h: Likewise.
82311         * sysdeps/ia64/bits/byteswap.h: Likewise.
82312         * sysdeps/s390/bits/byteswap.h: Likewise.
82313         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82315 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82317         [BZ #13540]
82318         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
82319         destination buffer.
82320         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
82322 2011-12-23  Marek Polacek  <polacek@redhat.com>
82324         * elf/dl-addr.c (determine_info): Add inline keyword.
82325         * elf/tst-auditmod4b.c (check_avx): Likewise.
82326         * elf/tst-auditmod6b.c (check_avx): Likewise.
82327         * elf/tst-auditmod6c.c (check_avx): Likewise.
82328         * elf/tst-auditmod7b.c (check_avx): Likewise.
82330 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
82332         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
82333         !__SSE_MATH__.
82335 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82337         [BZ #13540]
82338         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
82339         processing for last bytes.
82341 2011-08-06  Bruno Haible  <bruno@clisp.org>
82343         [BZ #13061]
82344         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
82345         U+0385, not to U+1FEE.
82347         [BZ #13062]
82348         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
82349         entry for U+00A5 U+0301.
82351 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82353         [BZ #13166]
82354         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
82355         buffer for the output is too small.
82357         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
82358         optimization.
82360         [BZ #13185]
82361         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
82362         SSE flags if possible.
82364 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82366         [BZ #13540]
82367         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
82368         processing for last bytes.
82370 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
82372         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
82373         (syscall-list-default-options, syscall-list-default-condition)
82374         (syscall-list-includes): Define.
82375         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
82376         list of ABIs and options and #if conditions for each ABI.  Do not
82377         handle common syscalls between ABIs specially.
82378         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
82379         Remove.
82380         (syscall-list-variants, syscall-list-32bit-options)
82381         (syscall-list-32bit-condition, syscall-list-64bit-options)
82382         (syscall-list-64bit-condition): Define.
82383         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
82384         (syscall-list-variants, syscall-list-32bit-options)
82385         (syscall-list-32bit-condition, syscall-list-64bit-options)
82386         (syscall-list-64bit-condition): Define.
82387         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
82388         Remove.
82389         (syscall-list-variants, syscall-list-32bit-options)
82390         (syscall-list-32bit-condition, syscall-list-64bit-options)
82391         (syscall-list-64bit-condition): Define.
82392         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
82393         Remove.
82394         (syscall-list-variants, syscall-list-32bit-options)
82395         (syscall-list-32bit-condition, syscall-list-64bit-options)
82396         (syscall-list-64bit-condition): Define.
82398 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
82400         * locale/iso-639.def: Add brx entry.
82402         [BZ #13328]
82403         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
82404         Proposed by Mariusz_Cukr <marcukr@op.pl>.
82406         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
82407         __feraiseexcept_renamed.
82409 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82411         [BZ #13538]
82412         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
82413         EPOLLET with unsigned values.
82414         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82415         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
82417         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
82418         to large cancellation.
82419         * math/s_cacoshf.c: Likewise.
82420         * math/s_cacoshl.c: Likewise.
82422 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
82424         [BZ #13305]
82425         [BZ #12786]
82426         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
82427         * math/s_cacoshf.c: Likewise.
82428         * math/s_cacoshl.c: Likewise.
82430 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
82432         [BZ #13439]
82433         * iconv/gconv.h: Define __GCONV_SWAP.
82434         * iconvdata/unicode.c: The swap bit must be stored in __flags.
82435         * iconvdata/utf-16.c: Likewise.
82436         * iconvdata/utf-32.c: Likewise.
82438 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
82440         [BZ #13524]
82441         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
82442         numerator after shifting it by one limb.
82444 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
82446         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
82447         under [__USE_EXTERN_INLINES].
82449 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82451         [BZ #13446]
82452         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
82454 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82456         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
82457         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
82458         optimized code.
82459         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
82460         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
82461         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
82462         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
82463         for strncasecmp/strncasecmp_l compilation.
82464         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
82465         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
82467 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
82469         [BZ #13484]
82470         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
82471         of __asm__.
82473 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
82475         [BZ #13506]
82476         * time/tzfile.c (__tzfile_read): Check values from file header.
82478 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
82480         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
82481         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
82482         * powerpc/powerpc32/dl-start.S: Likewise.
82483         * powerpc/powerpc32/elf/start.S: Likewise.
82484         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
82485         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
82486         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
82487         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
82488         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
82489         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
82490         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
82491         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
82492         * powerpc/powerpc32/fpu/s_round.S: Likewise.
82493         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
82494         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
82495         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
82496         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
82497         * powerpc/powerpc32/memset.S: Likewise.
82498         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
82499         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
82500         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
82501         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
82502         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
82503         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
82504         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
82505         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
82506         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
82507         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
82508         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
82509         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
82510         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
82512 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82514         * math/libm-test.inc: Added more nearbyint tests.
82515         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
82516         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
82517         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
82518         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
82520 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
82522         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
82523         FD_CLOEXEC.
82525 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82527         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
82528         Add wcscpy-ssse3 wcscpy-c.
82529         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
82530         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
82531         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
82532         * sysdeps/x86_64/wcschr.S: New file.
82533         * sysdeps/x86_64/wcsrchr.S: New file.
82534         * string/test-strcmp.c: Remove checking of wcscmp function for
82535         wrong alignments.
82536         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
82537         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
82538         wcsrchr-sse2 wcsrchr-c.
82539         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
82540         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
82541         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
82542         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
82543         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
82544         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
82545         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
82546         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
82547         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
82548         * wcsmbc/wcschr.c (WCSCHR): New macro.
82550 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82552         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
82553         * wcsmbs/test-wcsrchr.c: New file.
82554         * string/test-strrchr.c: Add wcsrchr support.
82555         (WIDE): New macro.
82556         * wcsmbs/test-wcscpy.c: New file.
82557         * string/test-strcpy.c: Add wcscpy support.
82558         (WIDE): New macro.
82560 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
82562         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
82563         the inner loop.
82565 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
82567         [BZ #13472]
82568         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
82570 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
82572         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
82573         Minor optimizations.
82575         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
82576         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
82577         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
82579 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
82581         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
82582         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
82583         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
82584         for gcc to avoid warnings.
82585         * inet/Makefile (tests): Add tst-checks.
82586         * inet/tst-checks.c: New file.
82588         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
82589         warning.
82591         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
82592         __wmemcmp_sse2.
82594         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
82595         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
82597         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
82599 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
82601         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
82602         problem.
82604         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
82606 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
82608         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
82609         conditional on GCC version.
82610         (__arch_compare_and_exchange_val_8_acq)
82611         (__arch_compare_and_exchange_val_16_acq)
82612         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
82613         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
82614         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
82616 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
82618         * sysdeps/sh/backtrace.c: New file.
82620 2011-12-02  Andreas Schwab  <schwab@redhat.com>
82622         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
82623         parenthesis.
82625 2011-12-01  Andreas Schwab  <schwab@redhat.com>
82627         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
82628         falling back to utime.
82630 2011-11-30  Andreas Schwab  <schwab@redhat.com>
82632         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
82633         expectations for float.
82635 2011-11-29  Andreas Schwab  <schwab@redhat.com>
82637         * locale/weight.h (findidx): Add parameter len.
82638         * locale/weightwc.h (findidx): Likewise.
82639         * posix/fnmatch_loop.c (FCT): Adjust caller.
82640         * posix/regcomp.c (build_equiv_class): Likewise.
82641         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
82642         * posix/regexec.c (check_node_accept_bytes): Likewise.
82643         * string/strcoll_l.c (STRCOLL): Likewise.
82644         * string/strxfrm_l.c (STRXFRM): Likewise.
82646 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
82648         * Makefile.in: Remove CVSOPT handling.
82649         * configure.in: Remove use of AC_REVISION.
82650         * iconvdata/Makefile (distribute): No need to filter out CVS.
82651         * scripts/list-sources.sh: Remove CVS, subversion and monotone
82652         handling.
82654 2011-11-16  Andreas Schwab  <schwab@redhat.com>
82656         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
82657         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
82658         [USE_AS_STRNCASECMP_L]: Likewise.
82659         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
82660         NO_TLS_DIRECT_SEG_REFS.
82661         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
82662         Fix argument offsets for non-PIC.
82663         [USE_AS_STRNCASECMP_L]: Likewise.
82664         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
82665         NO_TLS_DIRECT_SEG_REFS.
82667 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82669         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
82670         O_CLOEXEC.
82671         * locale/loadlocale.c (_nl_load_locale): Likewise.
82673 2011-11-15  Andreas Schwab  <schwab@redhat.com>
82675         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
82676         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
82677         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
82678         (SYSCALL_GETTIME): Set errno on error.
82680         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
82681         count references to noai6ai_cached.
82683 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
82685         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
82687         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
82688         FD_CLOEXEC for /proc/self/maps.
82690         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
82691         FD_CLOEXEC for /proc/meminfo.
82693         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
82694         gai.conf.
82696         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
82697         FD_CLOEXEC for given file.
82699         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
82701         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
82702         FD_CLOEXEC for /etc/hosts.
82703         (_gethtent): Likewise.
82705         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
82707         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
82708         cancellation and set FD_CLOEXEC for /etc/netgroup.
82710         * nss/nss_files/files-key.c (search): Don't allow cancellation when
82711         reading /etc/publickey.
82713         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
82714         allow cancellation when reading /etc/group.
82716         * nss/nss_files/files-alias.c (internal_setent): Don't allow
82717         cancellation.
82718         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
82720         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
82721         when using data file.
82723         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
82725         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
82726         (write_nis_obj): Use "c" and "e" in fopen.
82728         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
82730         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
82732         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
82734         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
82736         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
82737         locale.alias.
82739         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
82741         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
82743         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
82745         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
82746         file parsing and set FD_CLOEXEC.
82748 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82750         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
82752 2011-11-14  Andreas Schwab  <schwab@redhat.com>
82754         * malloc/arena.c (arena_get2): Don't call reused_arena when
82755         _int_new_arena failed.
82757 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
82759         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
82760         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
82761         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
82762         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
82763         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
82764         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
82765         to compile strcasecmp and strncasecmp.
82766         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
82767         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
82769         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
82771 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
82773         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
82774         locale-defines.sym to gen-as-const-headers.
82775         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
82776         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
82777         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
82778         to compile strcasecmp and strncasecmp.
82779         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
82780         strcasecmp_l and strncasecmp_l.
82781         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
82782         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
82783         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
82784         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
82785         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
82786         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
82787         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
82788         * sysdeps/i386/i686/multiarch/strncase.S: New file.
82789         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
82790         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
82791         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
82793 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
82795         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
82796         result of SYSDEP_GETTIME_CPU to retval.
82797         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
82798         parameter list to macro.  Remove trailing semicolon.  Adjust users.
82800         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
82801         variable.
82803         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
82804         mantissa words.
82805         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
82807         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
82808         from unused variable.
82810         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
82811         DWARF definitions.
82812         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
82813         for assembling.
82815         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
82816         over namespaces.
82818         * sunrpc/rpc_prot.c (rejected): Fix case value.
82820         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
82821         unsigned long long int to avoid warnings in shift.
82823         * posix/regex_internal.c (re_string_reconstruct): Actually use result
82824         of use of trans.
82825         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
82826         variable tmp.
82828         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
82829         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
82830         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
82832         * nis/nis_table.c (nis_list): Use variable of correct type for
82833         result of __follow_path call.
82835 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82837         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
82838         of math functions ceil, trunc, floor, round, and sqrt, when
82839         avaliable on the platform.
82840         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
82841         name clash.
82842         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
82843         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
82844         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
82846 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
82848         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
82849         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
82851 2011-11-11  Roland McGrath  <roland@hack.frob.com>
82853         * include/unistd.h: Fix __readlink return type.
82854         Reported by Chris Metcalf <cmetcalf@tilera.com>.
82856 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
82858         * stdlib/ucontext.h: Undo last change for makecontext.
82860 2011-11-11  Andreas Schwab  <schwab@redhat.com>
82862         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
82864         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
82865         * setjmp/setjmp.h: Mark functions as non-leaf.
82866         * setjmp/bits/setjmp2.h: Likewise.
82867         * stdlib/ucontext.h: Likewise.
82869 2011-11-10  Andreas Schwab  <schwab@redhat.com>
82871         * malloc/arena.c (_int_new_arena): Don't increment narenas.
82872         (reused_arena): Don't check arena limit.
82873         (arena_get2): Atomically check arena limit.
82875 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
82877         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
82878         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
82880         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
82881         instructions.
82883 2011-11-07  Andreas Schwab  <schwab@redhat.com>
82885         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
82886         handler when locking.
82888         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
82889         Fix size of allocated buffer.
82891 2011-11-04  Andreas Schwab  <schwab@redhat.com>
82893         [BZ #10103]
82894         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
82895         declarations for long double functions.
82896         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
82898         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
82900 2011-11-03  Andreas Schwab  <schwab@redhat.com>
82902         * nscd/nscd.c (main): Don't start AVC thread until credentials are
82903         installed.
82905         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
82906         is disabled.
82908 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82910         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
82912 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
82914         * include/alloca.h (stackinfo_alloca_round): Define.
82915         (extend_alloca): Use it.
82916         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
82917         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
82918         here.
82920         * scripts/check-local-headers.sh: Ignore libaudit.h.
82922         * nscd/Makefile (extra-objs): Make recursively expanded.
82924 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
82926         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
82927         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
82929         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
82930         * posix/tst-rfc3484-2.c: Likewise.
82931         * posix/tst-rfc3484-3.c: Likewise.
82933         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82934         process_vm_writev.
82935         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
82936         process_vm_writev.
82937         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
82938         process_vm_writev from libc using GLIBC_2.15 version.
82940         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
82942 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
82944         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
82945         stack usage.
82947 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
82949         [BZ #13367]
82950         * nss/getent.c (initgroups_keys): Show error message in case no group
82951         names are given.
82953         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
82954         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
82955         __bump_nl_timestamp.
82956         * nscd/connections (nscd_init): When host database is served open
82957         netlink socket and request notification about configuration changes.
82958         (main_loop_poll): Track netlink file descriptor and bump timestamp
82959         in case data becomes available.
82960         (main_loop_epoll): Likewise.
82961         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
82962         (database_pers_head): Add extra_data fileds.
82963         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
82964         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
82965         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
82966         Adjust caller.
82967         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
82968         in6ai data, call __free_in6ai.
82969         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
82970         Add -DHAVE_NETLINK.
82971         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
82972         interface information.  Reuse previous data if netlink timestamp
82973         is not changed.
82974         (__bump_nl_timestamp): New function.
82975         (__free_in6ai): New function.
82977 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
82979         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
82980         close_not_cancel_no_status here.
82981         (__check_pf): Reorganize code a bit to not call close twice if OOM.
82983 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
82985         [BZ #13276]
82986         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
82987         return value.
82989         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
82990         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
82991         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
82993 2011-07-03  Andreas Jaeger  <aj@suse.de>
82995         [BZ #10709]
82996         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
82997         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
82998         * math/libm-test.inc (sin_test): Add test case.
83000 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
83002         [BZ #13337]
83003         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
83004         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83006         * elf/chroot_canon.c (chroot_canon): Cleanups.
83008         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
83010         [BZ #13335]
83011         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
83012         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
83014         * string/test-strchr.c: Make usable for strchrnul testing.
83015         * string/test-strchrnul.c: New file.
83016         * string/Makefile (strop-tests): Add strchrnul.
83018         * po/it.po: Update from translation team.
83019         * po/es.po: Likewise.
83021 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
83023         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
83024         the three constants needed as parameters.  Drop the others.
83025         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
83026         __m128i_strloadu_tolower.
83027         Create and initialize variable zero and use it in all the places
83028         where _mm_setzero_si128 was used.
83030         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
83031         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
83032         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
83033         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
83034         anymore.
83035         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
83036         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
83037         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
83038         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
83039         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
83040         __mpranred, __mptan.
83041         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
83042         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
83043         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
83044         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
83045         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
83046         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
83047         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
83048         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
83049         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
83051 2011-10-28  Andreas Schwab  <schwab@redhat.com>
83053         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
83054         redefine if SHARED.
83055         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
83057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
83058         wide char related routines to wcsmbs subdir.
83060 2011-10-27  Andreas Schwab  <schwab@redhat.com>
83062         [BZ #13344]
83063         * misc/sys/cdefs.h (__THROWNL): Define.
83064         * posix/unistd.h: Use __THREADNL instead of __THREAD
83065         for memory synchronization functions.
83067 2011-10-26  Roland McGrath  <roland@hack.frob.com>
83069         [BZ #13349]
83070         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
83071         doesn't exist.
83072         * manual/stdio.texi (Obstack Streams): Node removed.
83074 2011-10-26  Andreas Schwab  <schwab@redhat.com>
83076         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
83077         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83078         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83080         * math/math_private.h (math_force_eval): Allow non-addressable
83081         arguments.
83082         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
83084 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83086         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
83087         file is not needed.
83089         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
83090         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
83091         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83092         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83093         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83094         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83095         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83096         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
83097         Add AVX variants.
83098         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
83099         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
83100         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
83101         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
83102         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
83103         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
83104         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
83105         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
83106         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
83107         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
83108         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
83109         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
83110         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
83111         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
83112         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
83113         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
83114         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
83115         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
83116         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
83118         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
83119         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
83121         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
83122         place.  Use VEX encoding when compiling for AVX.
83124 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83126         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
83127         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
83129         * string/test-strchr.c (do_test): Don't generate NUL bytes.
83131 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83133         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
83134         useless if() expression.
83135         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83136         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83137         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83138         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83139         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83140         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83141         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83142         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83143         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83144         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83145         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83146         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83147         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83148         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83149         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83150         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83151         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
83152         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
83153         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
83155         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
83157 2011-10-25  Andreas Schwab  <schwab@redhat.com>
83159         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
83160         condition.
83161         * elf/dl-fini.c (_dl_sort_fini): Likewise.
83163 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
83165         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
83166         .text section.  Avoid duplicate constants.
83167         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83168         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83169         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83170         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83171         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83172         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83173         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83174         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83175         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
83176         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
83177         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
83178         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
83179         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
83180         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
83181         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
83182         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
83183         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
83184         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
83185         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83186         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83187         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83188         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83189         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83190         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
83191         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
83192         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
83193         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
83194         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
83195         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
83196         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
83197         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
83198         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
83199         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
83200         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
83201         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
83202         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
83203         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
83204         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
83205         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
83206         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
83207         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
83208         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
83209         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
83210         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
83211         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
83213 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
83215         * sysdeps/x86_64/dla.h: Move to ...
83216         * sysdeps/x86_64/fpu/dla.h: ...here.
83217         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
83218         situations.  Use __builtin_fma only for gcc 4.6 and up.
83220         * config.make.in: Add have-mfma4 entry.
83221         * configure.in: Substitute libc_cv_cc_fma4.
83222         * math/Makefile (dbl-only-routines): Add sincostab.
83223         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
83224         Use __sincostab not sincos.
83225         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
83226         name is a macro.
83227         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83228         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83229         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83230         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
83231         using __copysign.
83232         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
83233         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
83234         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
83235         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
83236         and __inv.
83237         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
83238         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
83239         __copysign.
83240         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
83241         define aliases when function name is a macro.
83242         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
83243         sysdeps/ieee754/dbl-64/sincos.tbl.
83244         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
83245         fma4-enabled routines.
83246         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
83247         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
83248         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
83249         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
83250         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
83251         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
83252         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
83253         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
83254         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
83255         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
83256         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
83257         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
83258         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
83259         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
83260         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
83261         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
83262         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
83263         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
83264         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
83265         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
83266         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
83267         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
83268         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
83269         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
83270         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
83271         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
83272         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
83273         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
83274         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
83275         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
83277         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
83278         rename.
83279         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83280         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83281         * sysdeps/ieee754/dbl-64/e_atan2.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/halfulp.c: Likewise.
83285         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83286         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83288 2011-10-24  Andreas Schwab  <schwab@redhat.com>
83290         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
83292 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83294         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
83296         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
83297         prediction.
83298         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
83300         * string/strnlen.c: Don't define STRNLEN, reverse logic.
83301         Remove unused variable magic_bits.
83302         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
83304         * string/strnlen.c: Define and use STRNLEN macro.
83305         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
83306         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
83307         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
83308         * wcsmbs/wcslen.c: Define and use WCSLEN.
83309         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
83310         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
83311         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
83312         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
83313         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
83314         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
83315         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
83317 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83320         strnlen-sse2-no-bsf.
83321         Rename strlen-no-bsf to strlen-sse2-no-bsf.
83322         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
83323         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
83324         Add strnlen support.
83325         (USE_AS_STRNLEN): New macro.
83326         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
83327         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
83328         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
83329         * sysdeps/x86_64/wcslen.S: New file.
83331 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
83333         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
83334         XMM-moves are used for copying on small sizes.
83336 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83338         * wcsmbs/Makefile (strop-tests): Add wcschr.
83339         * wcsmbs/test-wcschr.c: New file.
83340         * string/test-strchr.c: Update.
83341         Add wcschr support.
83342         (WIDE): New macro.
83344 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83346         * wcsmbs/Makefile (strop-tests): Add wcslen.
83347         * wcsmbs/test-wcslen.c: New file.
83348         * string/test-strlen.c: Update.
83349         Add wcslen support.
83350         (WIDE): New macro.
83352 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83354         * po/it.po: Update from translation team.
83356 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83358         * sysdeps/x86_64/wcscmp.S: Update.
83359         Fix wrong comparison semantics.
83360         wcscmp shall use signed comparison not unsigned.
83361         Don't use substraction to avoid overflow bug.
83362         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
83363         * wcsmbc/wcscmp.c: Likewise.
83364         * string/test-strcmp.c: Likewise.
83365         Add new tests to check cases with negative values.
83367 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
83369         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
83370         * sysdeps/x86_64/dla.h: ...here.  New file.
83371         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
83372         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83373         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83374         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83376         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83377         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83378         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83379         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83381 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
83383         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
83384         __ynl_finite aliases.
83386 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83388         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83390         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
83391         define DLA_FMA.
83392         [DLA_FMA] (EMULV): Use DLA_FMA.
83393         [DLA_FMA] (MUL12): Use EMULV.
83394         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
83395         that are not needed.
83396         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83397         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83398         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83399         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83400         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83401         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83402         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83404 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
83406         * math/s_nan.c: Undef __nan.
83407         * math/s_nanf.c: Undef __nanf.
83408         * math/s_nanl.c: Undef __nanl.
83409         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
83410         "math_private.h".
83412 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
83414         * math/s_catan.c: Add branch predictions.
83415         * math/s_catanf.c: Likewise.
83416         * math/s_catanh.c: Likewise.
83417         * math/s_catanhf.c: Likewise.
83418         * math/s_catanhl.c: Likewise.
83419         * math/s_catanl.c: Likewise.
83420         * math/s_cexp.c: Likewise.
83421         * math/s_cexpf.c: Likewise.
83422         * math/s_cexpl.c: Likewise.
83423         * math/s_clog.c: Likewise.
83424         * math/s_clog10.c: Likewise.
83425         * math/s_clog10f.c: Likewise.
83426         * math/s_clog10l.c: Likewise.
83427         * math/s_clogf.c: Likewise.
83428         * math/s_clogl.c: Likewise.
83429         * math/s_csqrt.c: Likewise.
83430         * math/s_csqrtf.c: Likewise.
83431         * math/s_csqrtl.c: Likewise.
83432         * math/s_ctanf.c: Likewise.
83433         * math/s_ctanh.c: Likewise.
83434         * math/s_ctanhf.c: Likewise.
83435         * math/s_ctanhl.c: Likewise.
83436         * math/s_ctanl.c: Likewise.
83438         * math/math_private.h: Define __nan, __nanf, __nanl.
83439         * math/s_cacosh.c: Include <math_private.h>.
83440         * math/s_cacoshl.c: Likewise.
83441         * math/s_casinh.c: Likewise.
83442         * math/s_casinhf.c: Likewise.
83443         * math/s_casinhl.c: Likewise.
83444         * math/s_ccos.c: Rely entire on ccosh.
83445         * math/s_ccosf.c: Rely entire on ccoshf.
83446         * math/s_ccosl.c: Rely entirely on ccoshl.
83447         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
83448         Remove tests for FE_INVALID.
83449         * math/s_ccoshf.c: Likewise.
83450         * math/s_ccoshl.c: Likewise.
83451         * math/s_csin.c: Likewise.
83452         * math/s_csinf.c: Likewise.
83453         * math/s_csinh.c Likewise.
83454         * math/s_csinhf.c: Likewise.
83455         * math/s_csinhl.c: Likewise.
83456         * math/s_csinl.c: Likewise.
83457         * math/s_ctan.c: Likewise.
83458         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
83459         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
83460         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
83462 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
83464         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
83465         compilation problems.
83467         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
83468         __builtin_expect.
83470 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
83472         * sysdeps/i386/configure.in: Test for -mfma4 option.
83473         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
83474         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
83475         COMMON_CPUID_INDEX_80000001.
83476         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
83477         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
83478         use it if FMA3 is not supported.
83479         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
83481         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
83482         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
83484 2011-10-20  Andreas Schwab  <schwab@redhat.com>
83486         [BZ #12892]
83487         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
83488         it would create a cycle with a link time dependency.
83490 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
83492         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
83493         instruction.
83494         * string/Makefile (strop-tests): Add rawmemchr.
83495         * string/test-rawmemchr.c: New file.
83497         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
83498         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
83499         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
83500         when compiling str{,n}casecmp and when AVX is available.  Hook up
83501         new optimized code in initializers.
83503 2011-10-19  Andreas Schwab  <schwab@redhat.com>
83505         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
83506         __feraiseexcept instead of feraiseexcept.
83508 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
83510         * math/math_private.h: Define defaults for libc_fetestexcept and
83511         libc_feupdateenv.
83512         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
83513         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
83514         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83515         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83516         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83517         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83518         libc_fetestexcept and libc_feupdateenv.
83520         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
83521         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
83522         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
83523         * sysdeps/x86_64/fpu/math_private.h: Define special version of
83524         libc_feholdexcept_setround.
83526         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
83527         Add s_nearbyint-c and s_nearbyintf-c.
83528         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
83529         nearbyintf inlines.
83530         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
83531         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
83532         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
83533         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
83535         * math/math_private.h: Define defaults for libc_fegetround,
83536         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
83537         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
83538         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
83539         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
83540         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
83541         standard functions.
83542         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83543         Remove comments and hacks for old compiler versions.
83544         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
83545         libc_fegetround, libc_fesetround, libc_feholdexcept, and
83546         libc_feholdexceptl.
83548 2011-10-18  Andreas Schwab  <schwab@redhat.com>
83550         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83551         (__feraiseexcept_renamed): Add __NTH.
83552         (feraiseexcept): Add __NTH.  Rename local variables to fix
83553         namespace violations.
83555 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
83557         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
83559         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
83561         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
83562         recently added interfaces.
83563         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
83565         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
83566         about macro parameter expansion.
83568         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
83569         __NO_MATH_INLINES is defined.  Cleanups.
83571         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
83572         and __floorf is target has SSE4.1.
83573         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
83574         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
83575         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
83576         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
83578         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
83579         name.
83580         (floorf): Likewise.
83582         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
83584 2011-10-17  Andreas Schwab  <schwab@redhat.com>
83586         * misc/sys/cdefs.h: Fix last change.
83588         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
83589         database lookup.
83591 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
83593         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
83595         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
83596         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83597         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83598         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83599         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83600         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83601         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83602         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83603         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83604         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
83605         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
83606         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
83607         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
83608         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
83609         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
83610         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
83611         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
83612         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
83613         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
83614         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
83615         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
83616         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
83618         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
83619         ceil, ceilf, floor, floorf.
83621         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
83622         Perform IRELATIVE relocations last.
83624         * elf/do-rel.h: Add another parameter nrelative, replacing the
83625         local variable with the same name.  Change name of the function
83626         to end in Rel or Rela (uppercase).
83627         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
83628         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
83629         elf_dynamic_do_##reloc function.
83631 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83633         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
83634         is sufficient, at least on modern CPUs.
83636         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
83638         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
83639         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
83641         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
83642         __expl_finite.
83643         * math/bits/math-finite.h: Add entries for exp.
83644         * math/e_expl.c: Add __*_finite alias.
83645         * sysdeps/i386/fpu/e_exp.S: Likewise.
83646         * sysdeps/i386/fpu/e_expf.S: Likewise.
83647         * sysdeps/i386/fpu/e_expl.c: Likewise.
83648         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83649         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
83650         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
83651         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
83652         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
83653         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
83654         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
83656         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
83657         is sufficient, at least on modern CPUs.
83659         * ctype/ctype-info.c (__ctype_init): Define.
83660         * include/ctype.h (__ctype_init): Declare.
83661         (__ctype_b_loc): The variable is always initialized.
83662         (__ctype_toupper_loc): Likewise.
83663         (__ctype_tolower_loc): Likewise.
83664         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
83665         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
83667 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
83669         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
83671         * configure.in: Also look in $cxxmachine/include for C++ system
83672         headers.
83674 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83676         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
83677         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
83678         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
83679         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
83680         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
83681         (USE_AS_WMEMCMP): New macro.
83682         Fixing indents.
83683         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
83684         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
83685         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
83686         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
83687         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83688         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
83689         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
83690         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
83691         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
83692         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
83693         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
83694         (USE_AS_WMEMCMP): New macro.
83695         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
83696         * sysdeps/string/test-memcmp.c: Update.
83697         Fix simple_wmemcmp.
83698         Add new tests.
83699         * wcsmbs/wmemcmp.c: Update.
83700         (WMEMCMP): New macro.
83701         Fix overflow bug.
83703 2011-10-12  Andreas Jaeger  <aj@suse.de>
83705         [BZ #13268]
83706         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
83708 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
83710         * libio/iofwide.c (do_length): Avoid warning.
83712         * ctype/ctype.h (__isctype_f): Add missing __THROW.
83714 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
83716         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
83718         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
83719         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
83720         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
83721         * sysdeps/i386/i686/fpu/e_log.S: New file.
83722         * sysdeps/i386/i686/fpu/e_logf.S: New file.
83723         * sysdeps/i386/i686/fpu/e_logl.S: New file.
83725         * ctype/ctype.h: Add support for inlined isXXX functions when
83726         compiling C++ code.
83728 2011-10-14  Andreas Schwab  <schwab@redhat.com>
83730         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
83732         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
83734 2011-10-13  Roland McGrath  <roland@hack.frob.com>
83736         [BZ #13291]
83737         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
83739 2011-10-13  Andreas Schwab  <schwab@redhat.com>
83741         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
83742         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
83743         feraiseexcept.
83745         * sysdeps/x86_64/memrchr.S: Check for zero size.
83747         * string/stratcliff.c: Add memrchr tests.
83749 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
83751         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83752         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
83753         rawmemchr-sse2 rawmemchr-sse2-bsf.
83754         * sysdeps/i386/i686/multiarch/memchr.S: New file.
83755         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
83756         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
83757         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
83758         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
83759         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
83760         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
83761         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
83762         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
83763         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
83764         * string/memrchr.c (MEMRCHR): New macro.
83766 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
83768         Add integration with gcc's -ffinite-math-only and optimize wrapper
83769         functions in libm.
83770         * Versions.def: Define GLIBC_2.15 version for libm.
83771         * math/Makefile (headers): Add bits/math-finite.h.
83772         * math/bits/math-finite.h: New file.
83773         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
83774         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
83775         * math/e_acoshl.c: Add __*_finite alias.
83776         * math/e_acosl.c: Likewise.
83777         * math/e_asinl.c: Likewise.
83778         * math/e_atan2l.c: Likewise.
83779         * math/e_atanhl.c: Likewise.
83780         * math/e_coshl.c: Likewise.
83781         * math/e_exp10.c: Likewise.
83782         * math/e_exp10f.c: Likewise.
83783         * math/e_exp10l.c: Likewise.
83784         * math/e_exp2l.c: Likewise.
83785         * math/e_fmodl.c: Likewise.
83786         * math/e_gammal_r.c: Likewise.
83787         * math/e_hypotl.c: Likewise.
83788         * math/e_j0l.c: Likewise.
83789         * math/e_j1l.c: Likewise.
83790         * math/e_jnl.c: Likewise.
83791         * math/e_lgammal_r.c: Likewise.
83792         * math/e_log10l.c: Likewise.
83793         * math/e_log2l.c: Likewise.
83794         * math/e_logl.c: Likewise.
83795         * math/e_powl.c: Likewise.
83796         * math/e_sinhl.c: Likewise.
83797         * math/e_sqrtl.c: Likewise.
83798         * math/e_scalb.c: Completely rewritten and optimized.
83799         * math/e_scalbf.c: Likewise.
83800         * math/e_scalbl.c: Likewise.
83801         * math/w_acos.c: Likewise.
83802         * math/w_acosf.c: Likewise.
83803         * math/w_acosl.c: Likewise.
83804         * math/w_acosh.c: Likewise.
83805         * math/w_acoshf.c: Likewise.
83806         * math/w_acoshl.c: Likewise.
83807         * math/w_asin.c: Likewise.
83808         * math/w_asinf.c: Likewise.
83809         * math/w_asinl.c: Likewise.
83810         * math/w_atan2.c: Likewise.
83811         * math/w_atan2f.c: Likewise.
83812         * math/w_atan2l.c: Likewise.
83813         * math/w_atanh.c: Likewise.
83814         * math/w_atanhf.c: Likewise.
83815         * math/w_atanhl.c: Likewise.
83816         * math/w_exp10.c: Likewise.
83817         * math/w_exp10f.c: Likewise.
83818         * math/w_exp10l.c: Likewise.
83819         * math/w_fmod.c: Likewise.
83820         * math/w_fmodf.c: Likewise.
83821         * math/w_fmodl.c: Likewise.
83822         * math/w_j0.c: Likewise.
83823         * math/w_j0f.c: Likewise.
83824         * math/w_j0l.c: Likewise.
83825         * math/w_j1.c: Likewise.
83826         * math/w_j1f.c: Likewise.
83827         * math/w_j1l.c: Likewise.
83828         * math/w_jn.c: Likewise.
83829         * math/w_jnf.c: Likewise.
83830         * math/w_log.c: Likewise.
83831         * math/w_logf.c: Likewise.
83832         * math/w_logl.c: Likewise.
83833         * math/w_log10.c: Likewise.
83834         * math/w_log10f.c: Likewise.
83835         * math/w_log10l.c: Likewise.
83836         * math/w_log2.c: Likewise.
83837         * math/w_log2f.c: Likewise.
83838         * math/w_log2l.c: Likewise.
83839         * math/w_pow.c: Likewise.
83840         * math/w_powf.c: Likewise.
83841         * math/w_powl.c: Likewise.
83842         * math/w_remainder.c: Likewise.
83843         * math/w_remainderf.c: Likewise.
83844         * math/w_remainderl.c: Likewise.
83845         * math/w_scalb.c: Likewise.
83846         * math/w_scalbf.c: Likewise.
83847         * math/w_scalbl.c: Likewise.
83848         * math/w_sqrt.c: Likewise.
83849         * math/w_sqrtf.c: Likewise.
83850         * math/w_sqrtl.c: Likewise.
83851         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
83852         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
83853         used.
83854         * math/math_private.h: Declare __kernel_standard_f.
83855         * math/w_cosh.c: Remove cruft and optimize a bit.
83856         * math/w_coshf.c: Likewise.
83857         * math/w_coshl.c: Likewise.
83858         * math/w_exp2.c: Likewise.
83859         * math/w_exp2f.c: Likewise.
83860         * math/w_exp2l.c: Likewise.
83861         * math/w_hypot.c: Likewise.
83862         * math/w_hypotf.c: Likewise.
83863         * math/w_hypotl.c: Likewise.
83864         * math/w_lgamma.c: Likewise.
83865         * math/w_lgamma_r.c: Likewise.
83866         * math/w_lgammaf.c: Likewise.
83867         * math/w_lgammaf_r.c: Likewise.
83868         * math/w_lgammal.c: Likewise.
83869         * math/w_lgammal_r.c: Likewise.
83870         * math/w_sinh.c: Likewise.
83871         * math/w_sinhf.c: Likewise.
83872         * math/w_sinhl.c: Likewise.
83873         * math/w_tgamma.c: Likewise.
83874         * math/w_tgammaf.c: Likewise.
83875         * math/w_tgammal.c: Likewise.
83876         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83877         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83878         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
83879         Minor optimizations.  Pretty printing.  Remove cruft.
83880         * sysdeps/i386/fpu/e_acosf.S: Likewise.
83881         * sysdeps/i386/fpu/e_acosh.S: Likewise.
83882         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83883         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83884         * sysdeps/i386/fpu/e_acosl.c: Likewise.
83885         * sysdeps/i386/fpu/e_asin.S: Likewise.
83886         * sysdeps/i386/fpu/e_asinf.S: Likewise.
83887         * sysdeps/i386/fpu/e_atan2.S: Likewise.
83888         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
83889         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
83890         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83891         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
83892         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83893         * sysdeps/i386/fpu/e_exp10.S: Likewise.
83894         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
83895         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
83896         * sysdeps/i386/fpu/e_exp2.S: Likewise.
83897         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
83898         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
83899         * sysdeps/i386/fpu/e_fmod.S: Likewise.
83900         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
83901         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
83902         * sysdeps/i386/fpu/e_hypot.S: Likewise.
83903         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
83904         * sysdeps/i386/fpu/e_log.S: Likewise.
83905         * sysdeps/i386/fpu/e_log10.S: Likewise.
83906         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83907         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83908         * sysdeps/i386/fpu/e_log2.S: Likewise.
83909         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83910         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83911         * sysdeps/i386/fpu/e_logf.S: Likewise.
83912         * sysdeps/i386/fpu/e_logl.S: Likewise.
83913         * sysdeps/i386/fpu/e_pow.S: Likewise.
83914         * sysdeps/i386/fpu/e_powf.S: Likewise.
83915         * sysdeps/i386/fpu/e_powl.S: Likewise.
83916         * sysdeps/i386/fpu/e_remainder.S: Likewise.
83917         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
83918         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
83919         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83920         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83921         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83922         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
83923         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
83924         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
83925         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83926         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83927         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83928         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83929         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
83930         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83931         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
83932         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83933         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83934         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83935         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83936         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83937         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83938         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83939         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83940         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83941         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83942         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83943         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83944         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83945         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83946         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83947         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83948         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83949         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83950         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83951         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
83952         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83953         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
83954         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83955         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83956         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83957         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83958         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83959         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83960         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83961         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83962         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83963         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83964         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83965         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83966         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83967         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83968         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83969         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83970         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83971         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83972         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83973         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83974         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
83975         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83976         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83977         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83978         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83979         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83980         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83981         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83982         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83983         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83984         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83985         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83986         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83987         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83988         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83989         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83990         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83991         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83992         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83993         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
83994         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83995         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83996         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83997         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83998         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83999         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84000         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84001         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
84002         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84003         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84004         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84005         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84006         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84007         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
84008         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84009         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84010         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84011         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84012         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84013         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84014         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84015         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84016         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84017         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84018         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
84019         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84020         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84021         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84022         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
84023         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
84024         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
84025         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
84026         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
84027         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
84028         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
84029         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
84030         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
84031         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
84032         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84033         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
84034         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
84035         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
84036         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
84037         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
84038         (__isnanf): Likewise.
84039         (__isinf_ns): Likewise.
84040         (__isinf_nsf): Likewise.
84041         (__finite): Likewise.
84042         (__finitef): Likewise.
84043         (__ieee754_sqrt): Define as macro.
84044         (__ieee754_sqrtf): Define as macro.
84045         (__ieee754_sqrtl): Define as macro.
84046         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
84047         inlined copy.
84048         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
84049         __FINITE_MATH_ONLY__ consistent.
84050         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
84052 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
84054         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
84055         of rawmemchr.
84057         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
84059 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
84061         * po/ja.po: Update from translation team.
84063 2011-10-08  Roland McGrath  <roland@hack.frob.com>
84065         * locale/programs/locarchive.c (prepare_address_space): New function.
84066         (create_archive, enlarge_archive, open_archive): Use it.
84068         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
84069         inside [SHARED], where it is used.
84071         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
84073         * nss/getent.c (netgroup_keys): Remove unused variable.
84074         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
84076 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
84078         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
84079         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
84080         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
84081         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
84082         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
84083         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
84084         * math/Makefile (libm-calls): Add s_isinf_ns.
84085         * math/divtc3.c: Use __isinf_nsl instead of isinf.
84086         * math/multc3.c: Likewise.
84087         * math/s_casin.c: Likewise.
84088         * math/s_casinf.c: Likewise.
84089         * math/s_casinl.c: Likewise.
84090         * math/s_ccos.c: Likewise.
84091         * math/s_ccosf.c: Likewise.
84092         * math/s_ccosl.c: Likewise.
84093         * math/s_ctan.c: Likewise.
84094         * math/s_ctanf.c: Likewise.
84095         * math/s_ctanh.c: Likewise.
84096         * math/s_ctanhf.c: Likewise.
84097         * math/s_ctanhl.c: Likewise.
84098         * math/s_ctanl.c: Likewise.
84099         * math/w_fmod.c: Likewise.
84100         * math/w_fmodf.c: Likewise.
84101         * math/w_fmodl.c: Likewise.
84102         * math/w_remainder.c: Likewise.
84103         * math/w_remainderf.c: Likewise.
84104         * math/w_remainderl.c: Likewise.
84105         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
84106         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
84107         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
84108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
84109         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
84110         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
84111         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
84112         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
84114         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
84115         of the number.
84116         * stdio-common/printf_fphex.c: Likewise.
84117         * stdio-common/printf_size.c: Likewise.
84119         * math/e_exp10.c: Include math_private.h using <...> not "...".
84120         * math/e_exp10f.c: Likewise.
84121         * math/e_exp10l.c: Likewise.
84122         * math/e_exp2l.c: Likewise.
84123         * math/e_j0l.c: Likewise.
84124         * math/e_j1l.c: Likewise.
84125         * math/e_jnl.c: Likewise.
84126         * math/e_lgammal_r.c: Likewise.
84127         * math/e_rem_pio2l.c: Likewise.
84128         * math/e_scalb.c: Likewise.
84129         * math/e_scalbf.c: Likewise.
84130         * math/e_scalbl.c: Likewise.
84131         * math/k_cosl.c: Likewise.
84132         * math/k_sinl.c: Likewise.
84133         * math/k_tanl.c: Likewise.
84134         * math/s_cacoshf.c: Likewise.
84135         * math/s_catan.c: Likewise.
84136         * math/s_catanf.c: Likewise.
84137         * math/s_catanh.c: Likewise.
84138         * math/s_catanhf.c: Likewise.
84139         * math/s_catanhl.c: Likewise.
84140         * math/s_catanl.c: Likewise.
84141         * math/s_ccosh.c: Likewise.
84142         * math/s_ccoshf.c: Likewise.
84143         * math/s_ccoshl.c: Likewise.
84144         * math/s_cexp.c: Likewise.
84145         * math/s_cexpf.c: Likewise.
84146         * math/s_cexpl.c: Likewise.
84147         * math/s_clog.c: Likewise.
84148         * math/s_clog10.c: Likewise.
84149         * math/s_clog10f.c: Likewise.
84150         * math/s_clog10l.c: Likewise.
84151         * math/s_clogf.c: Likewise.
84152         * math/s_clogl.c: Likewise.
84153         * math/s_csin.c: Likewise.
84154         * math/s_csinf.c: Likewise.
84155         * math/s_csinh.c: Likewise.
84156         * math/s_csinhf.c: Likewise.
84157         * math/s_csinhl.c: Likewise.
84158         * math/s_csinl.c: Likewise.
84159         * math/s_csqrt.c: Likewise.
84160         * math/s_csqrtf.c: Likewise.
84161         * math/s_csqrtl.c: Likewise.
84162         * math/s_ctan.c: Likewise.
84163         * math/s_ctanf.c: Likewise.
84164         * math/s_ctanh.c: Likewise.
84165         * math/s_ctanhf.c: Likewise.
84166         * math/s_ctanhl.c: Likewise.
84167         * math/s_ctanl.c: Likewise.
84168         * math/s_ldexp.c: Likewise.
84169         * math/s_ldexpf.c: Likewise.
84170         * math/s_ldexpl.c: Likewise.
84171         * math/s_significand.c: Likewise.
84172         * math/s_significandf.c: Likewise.
84173         * math/s_significandl.c: Likewise.
84174         * math/w_acos.c: Likewise.
84175         * math/w_acosf.c: Likewise.
84176         * math/w_acosh.c: Likewise.
84177         * math/w_acoshf.c: Likewise.
84178         * math/w_acoshl.c: Likewise.
84179         * math/w_acosl.c: Likewise.
84180         * math/w_asin.c: Likewise.
84181         * math/w_asinf.c: Likewise.
84182         * math/w_asinl.c: Likewise.
84183         * math/w_atan2.c: Likewise.
84184         * math/w_atan2f.c: Likewise.
84185         * math/w_atan2l.c: Likewise.
84186         * math/w_atanh.c: Likewise.
84187         * math/w_atanhf.c: Likewise.
84188         * math/w_atanhl.c: Likewise.
84189         * math/w_cosh.c: Likewise.
84190         * math/w_coshf.c: Likewise.
84191         * math/w_coshl.c: Likewise.
84192         * math/w_dremf.c: Likewise.
84193         * math/w_exp10.c: Likewise.
84194         * math/w_exp10f.c: Likewise.
84195         * math/w_exp10l.c: Likewise.
84196         * math/w_exp2.c: Likewise.
84197         * math/w_exp2f.c: Likewise.
84198         * math/w_fmod.c: Likewise.
84199         * math/w_fmodf.c: Likewise.
84200         * math/w_fmodl.c: Likewise.
84201         * math/w_hypot.c: Likewise.
84202         * math/w_hypotf.c: Likewise.
84203         * math/w_hypotl.c: Likewise.
84204         * math/w_j0.c: Likewise.
84205         * math/w_j0f.c: Likewise.
84206         * math/w_j0l.c: Likewise.
84207         * math/w_j1.c: Likewise.
84208         * math/w_j1f.c: Likewise.
84209         * math/w_j1l.c: Likewise.
84210         * math/w_jn.c: Likewise.
84211         * math/w_jnf.c: Likewise.
84212         * math/w_jnl.c: Likewise.
84213         * math/w_lgamma.c: Likewise.
84214         * math/w_lgamma_r.c: Likewise.
84215         * math/w_lgammaf.c: Likewise.
84216         * math/w_lgammaf_r.c: Likewise.
84217         * math/w_lgammal.c: Likewise.
84218         * math/w_lgammal_r.c: Likewise.
84219         * math/w_log.c: Likewise.
84220         * math/w_log10.c: Likewise.
84221         * math/w_log10f.c: Likewise.
84222         * math/w_log10l.c: Likewise.
84223         * math/w_log2.c: Likewise.
84224         * math/w_log2f.c: Likewise.
84225         * math/w_log2l.c: Likewise.
84226         * math/w_logf.c: Likewise.
84227         * math/w_logl.c: Likewise.
84228         * math/w_pow.c: Likewise.
84229         * math/w_powf.c: Likewise.
84230         * math/w_powl.c: Likewise.
84231         * math/w_remainder.c: Likewise.
84232         * math/w_remainderf.c: Likewise.
84233         * math/w_remainderl.c: Likewise.
84234         * math/w_scalb.c: Likewise.
84235         * math/w_scalbf.c: Likewise.
84236         * math/w_scalbl.c: Likewise.
84237         * math/w_sinh.c: Likewise.
84238         * math/w_sinhf.c: Likewise.
84239         * math/w_sinhl.c: Likewise.
84240         * math/w_sqrt.c: Likewise.
84241         * math/w_sqrtf.c: Likewise.
84242         * math/w_sqrtl.c: Likewise.
84243         * math/w_tgamma.c: Likewise.
84244         * math/w_tgammaf.c: Likewise.
84245         * math/w_tgammal.c: Likewise.
84247         * po/ja.po: Update from translation team.
84249 2011-09-29  Andreas Jaeger  <aj@suse.de>
84251         [BZ #13179]
84252         * sunrpc/netname.c (netname2host): Fix logic.
84254         [BZ #6779]
84255         [BZ #6783]
84256         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
84257         correctly.
84258         * math/w_remainder.c (__remainder): Likewise.
84259         * math/w_remainderf.c (__remainderf): Likewise.
84260         * math/libm-test.inc (remainder_test): Add test cases.
84262 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84264         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
84265         sdiv_qrnnd.
84267 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84269         * string/test-memcmp.c: Avoid unncessary #defines.
84270         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
84272 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84274         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
84275         Use new sse2 version for core i3 - i7 as it's faster
84276         than sse42 version.
84277         (bit_Prefer_PMINUB_for_stringop): New.
84278         * sysdeps/x86_64/rawmemchr.S: Update.
84279         Replace with faster SSE2 version.
84280         * sysdeps/x86_64/memrchr.S: New file.
84281         * sysdeps/x86_64/memchr.S: Update.
84282         Replace with faster SSE2 version.
84284 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
84286         * elf/dl-load.c (lose): Add cast to avoid warning.
84288 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
84290         * po/ca.po: Update from translation team.
84292         * inet/getnetgrent_r.c: Hook up nscd.
84293         * nscd/Makefile (routines): Add nscd_netgroup.
84294         (nscd-modules): Add netgroupcache.
84295         (CFLAGS-netgroupcache.c): Define.
84296         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
84297         (cache_search): Add const to second parameter.
84298         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
84299         INNETGR.
84300         (dbs): Add netgrdb entry.
84301         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
84302         (verify_persistent_db): Handle netgrdb.
84303         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
84304         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
84305         GETFDNETGR.
84306         (netgroup_response_header): Define.
84307         (innetgroup_response_header): Define.
84308         (datahead): Add netgroup_response_header and innetgroup_response_header
84309         elements.
84310         * nscd/nscd.conf: Add entries for netgroup cache.
84311         * nscd/nscd.h (dbtype): Add netgrdb.
84312         (_PATH_NSCD_NETGROUP_DB): Define.
84313         (netgroup_iov_disabled): Declare.
84314         (xmalloc, xcalloc, xrealloc): Move declarations here.
84315         (cache_search): Adjust prototype.
84316         Add netgroup-related prototypes.
84317         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
84318         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
84319         (__nscd_innetgr): Declare.
84320         * nscd/selinux.c (perms): Use access_vector_t as element type and
84321         add netgroup-related initializers.
84322         * nscd/netgroupcache.c: New file.
84323         * nscd/nscd_netgroup.c: New file.
84324         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
84325         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
84326         For four parameters use innetgr.
84327         * nss/nss_files/files-init.c: Add definition and callback for netgr.
84328         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
84329         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
84330         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
84332         * nscd/connections.c (register_traced_file): Don't register file
84333         for disabled databases.
84335 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
84337         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
84339         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
84340         from tree and freeing node.
84342 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
84344         * nss/nsswitch.c (__nss_database_lookup): Handle
84345         nss_parse_service_list out of memory case.
84347 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
84349         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
84350         out of memory case.
84352 2011-10-04  Andreas Schwab  <schwab@redhat.com>
84354         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
84355         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
84356         pass it down.
84357         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
84358         elf_machine_rela, elf_machine_lazy_rel.
84359         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
84360         (ELF_DYNAMIC_DO_REL): Likewise.
84361         (ELF_DYNAMIC_DO_RELA): Likewise.
84362         (ELF_DYNAMIC_RELOCATE): Likewise.
84363         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
84364         to ELF_DYNAMIC_DO_REL.
84365         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
84366         (dl_main): In trace mode always set __RTLD_NOIFUNC.
84367         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
84368         elf_machine_rela.
84369         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
84370         skip_ifunc, don't call ifunc function if non-zero.
84371         (elf_machine_rela): Likewise.
84372         (elf_machine_lazy_rel): Likewise.
84373         (elf_machine_lazy_rela): Likewise.
84374         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
84375         (elf_machine_lazy_rel): Likewise.
84376         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
84377         Likewise.
84378         (elf_machine_lazy_rel): Likewise.
84379         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84380         Likewise.
84381         (elf_machine_lazy_rel): Likewise.
84382         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
84383         (elf_machine_lazy_rel): Likewise.
84384         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
84385         (elf_machine_lazy_rel): Likewise.
84386         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
84387         (elf_machine_lazy_rel): Likewise.
84388         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
84389         (elf_machine_lazy_rel): Likewise.
84390         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
84391         (elf_machine_lazy_rel): Likewise.
84392         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
84393         (elf_machine_lazy_rel): Likewise.
84395 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
84397         * nss/nss_files/files-init.c (_nss_files_init): Use static
84398         initialization for all the *_traced_file variables.
84400 2011-09-28  Andreas Schwab  <schwab@redhat.com>
84402         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84404 2011-09-27  Roland McGrath  <roland@hack.frob.com>
84406         [BZ #13226]
84407         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
84409 2011-09-27  Andreas Schwab  <schwab@redhat.com>
84411         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84412         Reread the line before reparsing it.
84414 2011-09-26  Andreas Schwab  <schwab@redhat.com>
84416         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
84418 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
84419             Maxim Kuvyrkov  <maxim@codesourcery.com>
84420             Joseph Myers  <joseph@codesourcery.com>
84422         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
84423         if needed for __stack_chk_guard.
84425 2011-09-19  Roland McGrath  <roland@hack.frob.com>
84427         * sysdeps/posix/spawni.c (script_execute): Always define it.
84428         It will be optimized away if unused.
84429         (maybe_script_execute): New function.
84430         (__spawni): Call it.
84432         * Makerules: Don't include tls.make.
84433         (config-tls): Always set to thread.
84434         * tls.make.c: File removed.
84436 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
84438         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
84439         * config.make.in (CPPFLAGS-config): New substituted variable.
84441 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84443         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
84445         [BZ #13192]
84446         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
84447         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
84449 2011-09-15  Roland McGrath  <roland@hack.frob.com>
84451         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
84452         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
84453         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
84454         (CALL_FAIL): Likewise.
84455         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
84456         (CALL_FAIL): Macro removed.
84457         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
84459 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
84461         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
84462         for __FINITE_MATH_ONLY__ == 1.
84464 2011-09-15  Andreas Schwab  <schwab@redhat.com>
84466         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
84467         __ieee754_sqrt instead of sqrt.
84468         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
84469         __ieee754_sqrtf instead of sqrtf.
84470         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
84471         __floorf instead of floorf.
84472         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
84473         __floorf, __truncf instead of floorf, truncf.
84475 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
84477         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
84479         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
84480         __extern_always_inline.
84481         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
84482         32-bit.
84484 2011-09-14  Andreas Schwab  <schwab@redhat.com>
84486         * elf/rtld.c (dl_main): Also relocate in dependency order when
84487         doing symbol dependency testing.
84489 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
84491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
84492         Always define `refsym'.
84494 2011-09-13  Andreas Schwab  <schwab@redhat.com>
84496         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
84497         (__FD_ELT): Renamed from __FDELT.
84498         * misc/bits/select2.h (__FD_ELT): Likewise.
84499         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
84500         __FD_MASK instead of __FDELT, __FDMASK.
84501         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84502         Likewise.
84503         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
84504         Likewise.
84506         * elf/Makefile (gen-ldd): Fix pattern.
84508         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
84509         (init_tls): Likewise.
84511 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
84513         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
84515 2011-09-12  Andreas Schwab  <schwab@redhat.com>
84517         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
84518         `struct cmsghdr *' instead of `void *'.
84519         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
84520         Likewise.
84522 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
84524         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
84525         if non-absolute.
84526         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
84527         ldd_rewrite_script.
84529 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
84531         * configure.in: Remove --with-tls option.
84532         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
84533         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
84534         out in case it is missing.
84535         * sysdeps/ia64/elf/configure.in: Likewise.
84536         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
84537         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
84538         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
84539         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
84540         * sysdeps/sh/elf/configure.in: Likewise.
84541         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
84542         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
84543         * sysdeps/x86_64/elf/configure.in: Likewise.
84544         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
84545         * sysdeps/mach/hurd/tls.h: Likewise.
84547         [BZ #13067]
84548         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
84550         [BZ #13090]
84551         * configure.in: Fix use of AC_INIT.
84553         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
84555 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
84557         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
84558         __set_errno.
84559         * malloc/hooks.c: Likewise.
84561         [BZ #11929]
84562         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
84563         variables statically.
84564         (narenas): Initialize.
84565         (list_lock): Initialize.
84566         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
84567         initializtion of main_arena and list_lock.  Small cleanups.
84568         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
84569         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
84570         Add initializers to main_arena and mp_.
84571         (malloc_state): Remove pagesize member.  Change all users to use
84572         GLRO(dl_pagesize).
84574         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
84575         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
84576         is always initialized.
84578         * malloc/malloc.c: Removed unused configurations and dead code.
84579         * malloc/arena.c: Likewise.
84580         * malloc/hooks.c: Likewise.
84581         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
84583         * include/tls.h: Removed.  USE___THREAD must always be defined.
84584         * bits/libc-tsd.h: Don't handle !USE___THREAD.
84585         * elf/dl-libc.c: Likewise.
84586         * elf/dl-tsd.c: Likewise.
84587         * include/errno.h: Likewise.
84588         * include/netdb.h: Likewise.
84589         * include/resolv.h: Likewise.
84590         * inet/herrno-loc.c: Likewise.
84591         * inet/herrno.c: Likewise.
84592         * malloc/arena.c: Likewise.
84593         * malloc/hooks.c: Likewise.
84594         * malloc/malloc.c: Likewise.
84595         * resolv/res-state.c: Likewise.
84596         * resolv/res_libc.c: Likewise.
84597         * sysdeps/i386/dl-machine.h: Likewise.
84598         * sysdeps/ia64/dl-machine.h: Likewise.
84599         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
84600         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
84601         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
84602         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
84603         * sysdeps/sh/dl-machine.h: Likewise.
84604         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84605         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84606         * sysdeps/unix/i386/sysdep.S: Likewise.
84607         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
84608         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
84609         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
84610         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
84611         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
84612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
84613         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
84614         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84615         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84616         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
84617         * sysdeps/unix/x86_64/sysdep.S: Likewise.
84618         * sysdeps/x86_64/dl-machine.h: Likewise.
84619         * tls.make.c: Likewise.
84621         * configure.in: Remove --with-__thread option.  Make tests for
84622         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
84623         tls_model attribute fail if no support is available.  Remove
84624         USE_IN_LIBIO.
84625         * Makeconfig: Adjust for dropped configure option.  All features are
84626         now mandatory.
84627         * Makerules: Likewise.
84628         * Versions.def: Likewise.
84629         * argp/argp-fmtstream.c: Likewise.
84630         * argp/argp-fmtstream.h: Likewise.
84631         * argp/argp-help.c: Likewise.
84632         * assert/assert.c: Likewise.
84633         * config.h.in: Likewise.
84634         * config.make.in: Likewise.
84635         * configure: Likewise.
84636         * configure.in: Likewise.
84637         * csu/Versions: Likewise.
84638         * csu/init.c: Likewise.
84639         * elf/tst-audit2.c: Likewise.
84640         * elf/tst-tls10.c: Likewise.
84641         * elf/tst-tls10.h: Likewise.
84642         * elf/tst-tls11.c: Likewise.
84643         * elf/tst-tls12.c: Likewise.
84644         * elf/tst-tls14.c: Likewise.
84645         * elf/tst-tlsmod11.c: Likewise.
84646         * elf/tst-tlsmod12.c: Likewise.
84647         * elf/tst-tlsmod13.c: Likewise.
84648         * elf/tst-tlsmod13a.c: Likewise.
84649         * elf/tst-tlsmod14a.c: Likewise.
84650         * elf/tst-tlsmod15b.c: Likewise.
84651         * elf/tst-tlsmod16a.c: Likewise.
84652         * elf/tst-tlsmod16b.c: Likewise.
84653         * elf/tst-tlsmod7.c: Likewise.
84654         * elf/tst-tlsmod8.c: Likewise.
84655         * elf/tst-tlsmod9.c: Likewise.
84656         * gmon/gmon.c: Likewise.
84657         * grp/fgetgrent_r.c: Likewise.
84658         * grp/putgrent.c: Likewise.
84659         * hurd/fopenport.c: Likewise.
84660         * include/libc-symbols.h: Likewise.
84661         * include/tls.h: Likewise.
84662         * intl/gettextP.h: Likewise.
84663         * intl/loadinfo.h: Likewise.
84664         * locale/global-locale.c: Likewise.
84665         * locale/localeinfo.h: Likewise.
84666         * mach/devstream.c: Likewise.
84667         * malloc/arena.c: Likewise.
84668         * malloc/set-freeres.c: Likewise.
84669         * misc/err.c: Likewise.
84670         * misc/getttyent.c: Likewise.
84671         * misc/mntent_r.c: Likewise.
84672         * posix/getopt.c: Likewise.
84673         * posix/wordexp.c: Likewise.
84674         * pwd/fgetpwent_r.c: Likewise.
84675         * resolv/Versions: Likewise.
84676         * resolv/res_hconf.c: Likewise.
84677         * shadow/fgetspent_r.c: Likewise.
84678         * shadow/putspent.c: Likewise.
84679         * stdio-common/printf_fphex.c: Likewise.
84680         * stdio-common/tmpfile.c: Likewise.
84681         * stdlib/abort.c: Likewise.
84682         * stdlib/fmtmsg.c: Likewise.
84683         * sunrpc/auth_unix.c: Likewise.
84684         * sunrpc/clnt_perr.c: Likewise.
84685         * sunrpc/clnt_tcp.c: Likewise.
84686         * sunrpc/clnt_udp.c: Likewise.
84687         * sunrpc/clnt_unix.c: Likewise.
84688         * sunrpc/openchild.c: Likewise.
84689         * sunrpc/svc_simple.c: Likewise.
84690         * sunrpc/svc_tcp.c: Likewise.
84691         * sunrpc/svc_udp.c: Likewise.
84692         * sunrpc/svc_unix.c: Likewise.
84693         * sunrpc/xdr.c: Likewise.
84694         * sunrpc/xdr_array.c: Likewise.
84695         * sunrpc/xdr_rec.c: Likewise.
84696         * sunrpc/xdr_ref.c: Likewise.
84697         * sunrpc/xdr_stdio.c: Likewise.
84699 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84701         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
84703 2011-07-03  Andreas Jaeger  <aj@suse.de>
84705         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
84706         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
84707         regenerate with gen-libm-tests.pl.
84709 2010-05-12  Petr Baudis  <pasky@suse.cz>
84711         [BZ #11589]
84712         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
84713         around j0() zero points by switching to j1().
84714         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
84715         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
84716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
84717         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84719 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84721         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
84722         instead of 0.
84723         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
84724         instead of 0.
84725         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84726         Patch in part by Pavel Roskin <proski@gnu.org>.
84728         [BZ #13138]
84729         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
84730         realloc.
84731         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
84732         Free memory block if necessary.
84734         [BZ #12847]
84735         * libio/genops.c (INTDEF): For string streams the _lock pointer can
84736         be NULL.  Don't lock in this case.
84738 2011-09-09  Roland McGrath  <roland@hack.frob.com>
84740         * elf/elf.h (ELFOSABI_GNU): New macro.
84741         (ELFOSABI_LINUX): Define to that.
84743 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
84745         * string/strncat.c (strncat): Undef the symbol in case it has been
84746         defined in bits/string.h.
84748 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
84750         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
84752         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
84753         link map.
84755 2011-08-17  Andreas Jaeger  <aj@suse.de>
84757         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
84759 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
84760             Ian Lance Taylor  <iant@google.com>
84762         * math/libm-test.inc (lround_test): New testcase.
84763         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
84765 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
84767         * Makefile: Remove support for automatic cvs check-ins.
84768         * Makerules: Likewise.
84769         * config.make.in: Likewise.
84770         * configure.in: Likewise.
84771         * intl/Makefile: Likewise.
84772         * locale/Makefile: Likewise.
84773         * po/Makefile: Likewise.
84774         * posix/Makefile: Likewise.
84775         * sysdeps/gnu/Makefile: Likewise.
84776         * sysdeps/mach/hurd/Makefile: Likewise.
84777         * sysdeps/sparc/sparc32/Makefile: Likewise.
84779         [BZ #13118]
84780         * posix/Makefile (bug-regex32-ENV): Define.
84781         Patch by John Stanley <jpsinthemix@verizon.net>.
84783         * misc/Makefile (headers): Add bits/select2.h.
84784         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
84785         * misc/bits/select2.h: New file.
84786         * include/bits/select2.h: New file.
84787         * debug/Makefile (routines): Add fdelt_chk.
84788         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
84789         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
84790         FD_ISSET.
84791         * debug/fdelt_chk.c: New file.
84793         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
84794         * wcsmbs/test-wmemcmp.c: Likewise.
84795         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
84796         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
84798 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84800         * string/Makefile (strop-tests): Add memcmp.
84801         * string/test-wmemcmp.c: New file.
84802         * string/test-memcmp.c: Add wmemcmp support.
84804 2011-09-08  Roland McGrath  <roland@hack.frob.com>
84806         [BZ #13153]
84807         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
84808         2011-07-19 change.
84810         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
84811         garbage value in a __mach_port_mod_refs call in the cases of the
84812         task-self and thread-self ports.
84814 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84816         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
84818 2011-09-08  Andreas Schwab  <schwab@redhat.com>
84820         * elf/dl-load.c (lose): Check for non-null L.
84822 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84824         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
84826         * elf/dl-libc.c (dlerror_run): Pass back error code from
84827         dl_catch_error.
84829         [BZ #13123]
84830         * elf/dl-load.c (lose): Free l_origin if it is valid.
84832         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
84833         names.
84834         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
84835         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84836         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
84837         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84838         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
84839         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
84841 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84843         * sysdeps/powerpc/fpu/e_hypot.c: New file.
84844         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
84845         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
84846         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
84847         * sysdeps/powerpc/fpu/k_cosf.c: New file.
84848         * sysdeps/powerpc/fpu/k_sinf.c: New file.
84849         * sysdeps/powerpc/fpu/s_cosf.c: New file.
84850         * sysdeps/powerpc/fpu/s_sinf.c: New file.
84851         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
84852         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
84854 2011-08-15  Alan Modra  <amodra@gmail.com>
84856         [BZ #13092]
84857         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
84858         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
84859         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
84860         ppc_mcount to static-only-routines.
84861         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
84862         __mcount_internal.
84863         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
84864         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
84866 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
84868         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
84869         for finite and infinity parameters.
84871 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
84873         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
84874         and add nop instructions for throughput optimization.
84875         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84877 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
84879         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
84880         aligned copy for power7 with vector-scalar instructions.
84881         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
84883 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
84885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
84886         AVX check.
84888 2011-09-07  Andreas Schwab  <schwab@redhat.com>
84890         [BZ #13144]
84891         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
84892         last change.
84894 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
84896         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84897         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
84898         syscall wrapper around clock_gettime in __vdso_clock_gettime.
84899         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
84900         clock_gettime.
84902 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84904         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
84905         Forgot to demangle the pointer.
84907         * sysdeps/i386/sysdep.h: Define atom_text_section.
84908         * sysdeps/x86_64/sysdep.h: Likewise.
84909         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
84910         section with atom_text_section.
84911         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
84912         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
84913         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
84914         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
84915         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
84917         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
84918         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
84919         already be defined.  Change to take two parameters and don't assign
84920         result to variable.  Adjust all users.
84921         Define INTERNAL_GETTIME if not already defined.
84922         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
84923         call.
84924         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
84925         HAVE_CLOCK_GETTIME_VSYSCALL.
84926         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
84928         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
84929         gettimeofday vsyscall, just use time.
84931 2011-09-06  Andreas Schwab  <schwab@redhat.com>
84933         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
84934         <errno.h>.
84936 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
84938         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
84939         syscall on x86-64.
84940         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
84941         syscall.
84942         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
84943         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
84944         syscall if possible.
84946 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84948         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
84949         e_ident.  Don't pass to find_mapsXX.
84950         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
84952 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84954         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84955         strchr-sse2-no-bsf strrchr-sse2-no-bsf
84956         * sysdeps/x86_64/multiarch/strchr.S: Update.
84957         Check bit_slow_BSF bit.
84958         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
84959         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
84960         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
84962 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
84964         [BZ #13134]
84965         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
84966         before glibc 2.15.
84967         (tryshell): Define.
84968         (__spawni): Change last parameter to be flag.  Test
84969         SPAWN_XFLAGS_USE_PATH flag to use path or not.
84970         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
84971         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
84972         * posix/spawni.c: Likewise.
84973         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
84974         * posix/spawnp.c: Likewise.  Change normal version to use
84975         SPAWN_XFLAGS_USE_PATH.
84976         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
84977         SPAWN_XFLAGS_TRY_SHELL.
84979         [BZ #13150]
84980         * posix/glob.h: Remove gcc 1.x support.
84982         [BZ #13068]
84983         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
84985 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
84987         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
84988         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
84989         strrchr-sse2-bsf
84990         * sysdeps/i386/i686/multiarch/strchr.S: New file.
84991         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
84992         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
84993         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
84994         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
84995         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
84997 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84999         * sysdeps/x86_64/wcscmp.S: New file.
85001         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
85002         wcscmp-c wcscmp-sse2
85003         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
85004         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
85005         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
85006         * wcsmbs/wcscmp.c: Allow renaming.
85008 2011-09-05  David S. Miller  <davem@davemloft.net>
85010         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
85011         stack slot, rather than the struct return pointer slot.
85012         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
85013         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
85014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
85015         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
85017 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
85019         * po/ja.po: Update from translation team.
85021         [BZ #13144]
85022         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
85023         kernel in 64-bit binaries.
85025 2011-09-01  David S. Miller  <davem@davemloft.net>
85027         * elf/elf.h (HWCAP_SPARC_*): Move to..
85028         * sysdeps/sparc/sysdep.h: this new file and add new values.
85029         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
85030         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
85031         _DL_HWCAP_COUNT to 24.
85032         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
85033         entries.
85034         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
85035         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
85036         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
85037         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
85038         instead of magic constants.
85039         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85041 2011-08-31  David S. Miller  <davem@davemloft.net>
85043         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
85044         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
85045         Reimplement to do errno handling inline.
85046         (SYSCALL_ERROR_HANDLER): New macro.
85047         (__SYSCALL_STRING): Do not do errno handling in asm.
85048         (__CLONE_SYSCALL_STRING): Delete.
85049         (__INTERNAL_SYSCALL_STRING): Delete.
85050         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
85051         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
85052         (PSEUDO): Reimplement to do errno handling inline.
85053         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
85054         (SYSCALL_ERROR_HANDLER): New macro.
85055         (__SYSCALL_STRING): Do not do errno handling in asm.
85056         (__CLONE_SYSCALL_STRING): Delete.
85057         (__INTERNAL_SYSCALL_STRING): Delete.
85058         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
85059         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
85060         i386.
85061         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
85062         (inline_syscall*): Add 'err' argument.
85063         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
85064         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
85065         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
85066         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
85068         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
85069         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
85071 2011-08-30  Andreas Schwab  <schwab@redhat.com>
85073         * elf/rtld.c (dl_main): Relocate objects in dependency order.
85075 2011-08-29  Jiri Olsa <jolsa@redhat.com>
85077         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
85078         directive.
85080 2011-08-24  David S. Miller  <davem@davemloft.net>
85082         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
85084 2011-08-24  Andreas Schwab  <schwab@redhat.com>
85086         * elf/Makefile: Add rules to build and run unload8 test.
85087         * elf/unload8.c: New file.
85088         * elf/unload8mod1.c: New file.
85089         * elf/unload8mod1x.c: New file.
85090         * elf/unload8mod2.c: New file.
85091         * elf/unload8mod3.c: New file.
85093         * elf/dl-close.c (_dl_close_worker): Reset private search list if
85094         it wasn't used.
85096 2011-08-23  David S. Miller  <davem@davemloft.net>
85098         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
85099         subtract stack bias.
85100         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
85101         %sp not %fp in calculations.
85102         (_JMPBUF_UNWINDS_ADJ): Likewise.
85104         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
85105         (aio_suspend): Call it to force an exception region around the
85106         AIO_MISC_WAIT() invocation.
85108 2011-08-23  Andreas Schwab  <schwab@redhat.com>
85110         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
85111         backslash.
85113 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
85115         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
85116         protection macro.
85117         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
85118         and <dl-machine.h>.
85119         (Elf64_FuncDesc): Remove.
85121 2011-08-22  David S. Miller  <davem@davemloft.net>
85123         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
85124         sigaltstack check, add missing cfi directives.
85125         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
85126         missing cfi directives, and sigaltstack handling.
85128 2011-08-16  Andreas Schwab  <schwab@redhat.com>
85130         [BZ #11724]
85131         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
85132         object is seen twice.
85133         * elf/dl-fini.c (_dl_sort_fini): Likewise.
85135         * elf/Makefile (distribute): Add tst-initorder2.c.
85136         (tests): Add tst-initorder2.
85137         (modules-names): Add tst-initorder2a tst-initorder2b
85138         tst-initorder2c tst-initorder2d.  Add rules to build them.
85139         ($(objpfx)tst-initorder2.out): New rule.
85140         * elf/tst-initorder2.c: New file.
85141         * elf/tst-initorder2.exp: New file.
85143 2011-08-22  Andreas Schwab  <schwab@redhat.com>
85145         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
85147         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
85148         dependencies back to end of function.
85150         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85151         $(elfobjdir)/ld.so.
85153 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
85155         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
85156         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
85157         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
85158         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
85159         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
85160         of __vdso_gettimeofday.
85161         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
85162         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
85163         attribute_hidden.
85164         (_libc_vdso_platform_setup): Remove initialization of
85165         __vdso_gettimeofday and __vdso_time.
85167 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85169         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
85170         and fgetc_unlocked.
85171         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
85172         getc_unlocked.
85174         * elf/dl-open.c (add_to_global): Report additions to the global scope
85175         for LD_DEBUG=scopes.
85176         (dl_open_worker): Also print scope of newly loaded dependencies.
85177         (_dl_show_scope): Indicate if there is no scope.
85179         [BZ #13114]
85180         * stdio-common/Makefile (tests): Add bug24.
85181         * stdio-common/bug24.c: New file.
85183 2011-08-19  Andreas Jaeger  <aj@suse.de>
85185         [BZ #13114]
85186         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
85187         non-existant file when using close-on-exec mode.
85189 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
85191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
85192         the very first instruction.
85194         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
85195         the CFI state in the end.
85196         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
85197         inclusion of dl-trampoline.h.
85198         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
85200 2011-08-19  Andreas Schwab  <schwab@redhat.com>
85202         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
85203         expectations for long double.
85205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
85206         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
85208 2011-08-14  David S. Miller  <davem@davemloft.net>
85210         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
85211         artificual limit depends upon the system page size.
85213 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85215         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
85216         * resolv/Makefile: Define CFLAGS-libresolv.
85218 2011-08-17  Andreas Schwab  <schwab@redhat.com>
85220         * nss/makedb.c (compute_tables): Make variables used in nested
85221         function static.
85223 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
85225         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
85226         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
85227         if buffer was too small.
85229         * elf/pldd.c (main): Attach to all threads in the process.
85230         Rewrite /proc handling to use *at functions.
85232 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
85234         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
85235         specifies first scope to show.
85236         (dl_open_worker): Update callers.  Move printing scope of new
85237         object to before the relocation.
85238         * elf/rtld.c (dl_main): Update _dl_show_scope call.
85239         * sysdeps/generic/ldsodefs.h: Update declaration.
85241         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
85242         string for the scope number.
85244 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
85246         * nscd/servicescache.c (cache_addserv): Make sure written is always
85247         initialized.
85249 2011-08-14  Roland McGrath  <roland@hack.frob.com>
85251         * sysdeps/i386/i486/bits/atomic.h
85252         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
85253         statement expression, so as to suppress "set but not used" warning.
85254         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
85256         * string/strncat.c (STRNCAT): Use prototype definition.
85258         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
85259         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
85260         -Iprograms here.
85261         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
85262         (localedef-modules): Add localedef.
85263         (locale-modules): Add locale.
85265         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
85266         * elf/rtld.c (dl_main): Invert order of assignment in last change,
85267         to avoid a warning.
85269 2011-08-14  David S. Miller  <davem@davemloft.net>
85271         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
85272         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
85274 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
85276         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
85277         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
85278         * elf/rtld.c (dl_main): Set l_name of vDSO.
85279         Call _dl_show_scope when DL_DEBUG_SCOPES.
85280         (process_dl_debug): Recognize scopes flag and also set it for all.
85281         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
85282         Declare _dl_show_scope.
85284         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
85285         (do_dlopen): Pass caller_dlopen to dl_open.
85286         (__libc_dlopen_mode): Initialize caller_dlopen.
85288         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
85289         of libc.  Make tolower call locale-independent.  Optimize a bit by
85290         using isdigit instead of isalnum.
85291         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
85293 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
85295         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
85296         was a dependency or dynamically loaded.
85298 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
85300         * intl/l10nflist.c: Allow architecture-specific pop function.
85301         * sysdeps/x86_64/l10nflist.c: New file.
85303         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
85304         classification.
85306 2011-08-10  Andreas Schwab  <schwab@redhat.com>
85308         * include/dirent.h: Add libc_hidden_proto for scandirat and
85309         scandirat64.  Don't declare __scandirat64.
85310         * dirent/scandirat.c: Add libc_hidden_def.
85311         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
85312         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
85314 2011-08-10  David S. Miller  <davem@davemloft.net>
85316         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
85317         enum.
85318         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85319         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85320         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85322 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
85324         * Versions.def [libc]: Add GLIBC_2.15.
85325         * dirent/Makefile (routines): Add scandirat and scandirat64.
85326         * dirent/Versions [libc]: Export scandirat and scandirat64 for
85327         GLIBC_2.15.
85328         * dirent/dirent.h: Declare scandirat and scandirat64.
85329         * dirent/scandirat.c: New file.
85330         * dirent/scandirat64.c: New file.
85331         * sysdeps/wordsize-64/scandirat.c: New file.
85332         * sysdeps/wordsize-64/scandirat64.c: New file.
85333         * dirent/opendir.c: Define opendirat.
85334         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
85335         using scandirat.
85336         * dirent/scandir64.c: Adjust for scandir.c change.
85337         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
85338         __scandirat64, and __scandir_cancel_handler.
85339         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
85340         additional parameter and use openat instead of open (outside of ld.so).
85341         Add new __opendir as wrapper around __opendirat.
85342         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
85343         here without requiring old scandirat implementation.
85345 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
85347         * dirent/scandir.c (cancel_handler): Renamed to
85348         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
85349         defined.  Adjust users.
85350         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
85351         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
85353 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
85355         * string/test-string.h (IMPL): Use __STRING to expand name and then
85356         stringify it.
85358         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
85359         of cleanups.
85361 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85363         * string/Makefile: Update.
85364         (strop-tests): Append strncat.
85365         * string/test-wcscmp.c: New file.
85366         New comprehensive test for wcscmp.
85367         * string/test-strcmp.c: Update.
85368         (WIDE): New define.
85370 2011-07-22  Andreas Schwab  <schwab@redhat.com>
85372         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
85373         line.
85375 2011-07-26  Andreas Schwab  <schwab@redhat.com>
85377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
85378         encoding to ACE if AI_IDN.
85380 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
85382         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
85383         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
85385 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85387         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
85388         Fix overflow bug in strncat.
85389         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
85391         * string/test-strncat.c: Update.
85392         Add new tests for checking overflow bugs.
85394 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85396         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85397         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
85398         * sysdeps/i386/i686/multiarch/strcat.S: New file.
85399         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
85400         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
85401         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
85402         * sysdeps/i386/i686/multiarch/strncat.S: New file.
85403         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
85404         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
85406         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
85407         (USE_AS_STRCAT): Define.
85408         Add strcat and strncat support.
85409         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
85411 2011-07-25  Andreas Schwab  <schwab@redhat.com>
85413         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
85414         __n bigger than INT_MAX+1.
85415         (__strncmp_g): Likewise.
85417 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
85419         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
85420         * libio/stido.h: Likewise.
85422         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
85423         (AF_NFC): Define.
85424         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
85425         (AF_NFC): Define.
85427         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
85428         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
85429         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
85430         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
85431         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
85433         [BZ #13021]
85434         * scripts/test-installation.pl: Don't expect libnss_test1 to be
85435         installed.
85437         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
85438         typo.
85439         (_dl_x86_64_save_sse): Likewise.
85441 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
85443         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
85444         OSXSAVE.
85445         (_dl_x86_64_save_sse): Likewise.
85447         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
85449         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
85451 2011-07-21  Andreas Schwab  <schwab@redhat.com>
85453         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
85454         change.
85455         (_dl_x86_64_save_sse): Use correct AVX check.
85457 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85459         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
85460         bug in strncpy/strncat.
85461         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
85463 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
85465         * string/tester.c (test_strcat): Add tests for different alignments
85466         of source and destination.
85467         (test_strncat): Likewise.
85469 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85471         [BZ #12852]
85472         * posix/glob.c (glob): Check passed in values before using them in
85473         expressions to avoid some overflows.
85474         (glob_in_dir): Likewise.
85476         [BZ #13007]
85477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
85478         check for AVX enablement so that we don't crash with old kernels and
85479         new hardware.
85480         * elf/tst-audit4.c: Add same checks here.
85481         * elf/tst-audit6.c: Likewise.
85483         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
85485 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
85487         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
85489 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
85491         * po/cs.po: Update from translation team.
85492         * po/bg.po: Likewise.
85494 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
85496         * misc/sys/cdefs.h: Add support for const attribute.
85497         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
85498         to gnu_dev_{major,minor,makedev} functions.
85500 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
85502         * intl/dcigettext.c (get_output_charset): Add missing bracket.
85504 2011-07-20  Andreas Schwab  <schwab@redhat.com>
85506         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
85507         strlen results.
85509 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
85512         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
85513         register in order to avoid conflicts with the soft frame pointer
85514         being held in r11 when necessary.
85515         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
85516         (INTERNAL_VSYSCALL_NCS): Likewise.
85518 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
85520         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
85521         * elf/dl-fini.c (_dl_fini): Adjust caller.
85522         * elf/dl-close.c (_dl_close_worker): Likewise.
85523         * sysdeps/generic/ldsodefs.h: Adjust declaration.
85525 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85527         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
85528         "aux_cache->nlibs < 0".
85530         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
85531         in the reload-count case.
85533 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
85535         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85536         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
85537         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
85538         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
85539         * sysdeps/x86_64/multiarch/strcat.S: New file.
85540         * sysdeps/x86_64/multiarch/strncat.S: New file.
85541         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
85542         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
85543         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
85544         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
85545         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
85546         (USE_AS_STRCAT): Define.
85547         Add strcat and strncat support.
85548         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
85549         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
85550         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
85551         * string/strncat.c: Update.
85552         (USE_AS_STRNCAT): Define.
85553         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85554         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
85555         and i7.
85556         * sysdeps/x86_64/multiarch/init-arch.h
85557         (bit_Prefer_PMINUB_for_stringop): New.
85558         (index_Prefer_PMINUB_for_stringop): Likewise.
85559         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
85560         bit_Prefer_PMINUB_for_stringop.
85562 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85564         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
85565         buffer64.
85566         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
85567         of casting of buffer.
85568         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
85569         buffer32 and buffer64.
85570         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
85571         writes instead of casting of buffer.
85572         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
85573         buffer32.
85574         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
85575         casting of buffer.
85577 2011-07-19  Andreas Schwab  <schwab@redhat.com>
85579         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
85581 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
85583         * nscd/nscd.c (termination_handler): Don't do anything for a database
85584         if it has not yet been initialized.
85586 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85588         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85590 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
85592         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
85594 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
85596         * po/nl.po: Update from translation team.
85597         * po/sv.po: Likewise.
85599 2011-07-16  Roland McGrath  <roland@hack.frob.com>
85601         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
85602         now disallowed by GCC.
85604         * configure.in (use-default-link): Default to yes if a test -shared
85605         link meets our qualifications.
85606         * configure: Regenerated.
85608         * config.make.in (output-format): New variable.
85609         * configure.in: Check for ld --print-output-format support.
85610         * configure: Regenerated.
85611         * Makerules ($(common-objpfx)format.lds)
85612         [$(output-format) != unknown]: Just use $(output-format),
85613         instead of the linker-script munging.
85615 2011-07-14  Roland McGrath  <roland@hack.frob.com>
85617         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
85618         of $(common-objpfx)shlib.lds.
85619         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
85621         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
85622         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
85624         * configure.in (-z relro check): Adjust test code to add a large
85625         writable data section after it.
85626         * configure: Regenerated.
85628 2011-07-11  Roland McGrath  <roland@hack.frob.com>
85630         * configure.in (-z relro check): Fix test code to make the variable
85631         truly const.
85632         * configure: Regenerated.
85634 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
85636         * nscd/nscd.h (struct traced_file): Define.
85637         (struct database_dyn): Remove inotify_descr, reset_res, and filename
85638         elements.  Add traced_files.
85639         (inotify_fd): Declare.
85640         (register_traced_file): Declare.
85641         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
85642         (inotify_fd): Export.
85643         (resolv_conf_descr): Remove.
85644         (nscd_init): Move inotify descriptor creation to main.
85645         Don't register files for notification here.
85646         (register_traced_file): New function.
85647         (invalidate_cache): Don't use reset_res to determine whether to call
85648         res_init, go through the list of registered files.
85649         (main_loop_poll): The inotify descriptors are now stored in the
85650         structures for the traced files.
85651         (main_loop_epoll): Likewise.
85652         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
85653         to __nss_disable_nscd.
85654         * nscd/cache.c (prune_cache): There is no single inotify descriptor
85655         for a database anymore.  Check the records for all the registered
85656         files instead.
85657         * nss/Makefile (libnss_files-routines): Add files-init.
85658         (libnss_db-routines): Add db-init.
85659         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
85660         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
85661         * nss/nss_db/db-init.c: New file.
85662         * nss/nss_files/files-init.c: New file.
85663         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
85664         __nss_lookup_function.
85665         (__nss_lookup_function): Call nss_load_library.
85666         (nss_load_all_libraries): New function.
85667         (__nss_disable_nscd): Take parameter with callback function for files
85668         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
85669         used for the cached services.
85670         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
85671         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
85672         options for features to all the files in nscd.
85674         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
85676 2011-07-10  Roland McGrath  <roland@hack.frob.com>
85678         * csu/elf-init.c (__libc_csu_init): Comment typo.
85680 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
85682         * po/pl.po: Update from translation team.
85683         * po/ja.po: Likewise.
85684         * po/ru.po: Likewise.
85685         * po/ko.po: Likewise.
85686         * po/fr.po: Likewise.
85688 2011-07-09  Roland McGrath  <roland@hack.frob.com>
85690         * configure.in (.ctors/.dtors header and trailer check):
85691         Use an empirical test on a built program.
85692         * configure: Regenerated.
85694         * configure.in (-z relro check): Use an empirical test on a built DSO.
85695         Detect, but do not require, on ia64.
85696         * configure: Regenerated.
85698         * configure.in (READELF): Find it with AC_CHECK_TOOL.
85699         Update tests that use readelf to use $READELF instead.
85700         * configure: Regenerated.
85702 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
85704         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
85705         if the result is not used.
85707 2011-07-05  Andreas Jaeger  <aj@suse.de>
85709         [BZ#9696]
85710         * stdlib/tst-strtod.c: Add testcase.
85712 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
85714         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
85715         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
85716         The latter has a higher limit.  Take additional parameter to pass to
85717         the new function.
85718         (__pathconf): Pass file to __statfs_link_max.
85719         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
85720         __statfs_link_max.
85721         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
85722         __statfs_link_max.
85724         [BZ #12868]
85725         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
85726         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85727         Handle Lustre.
85728         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
85729         (__statfs_filesize_max): Likewise.
85730         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
85732 2011-07-05  Andreas Jaeger  <aj@suse.de>
85734         * resolv/res_comp.c (dn_skipname): Remove unused variable.
85736 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
85738         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
85739         `status' variable.
85740         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
85741         Likewise.
85743 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
85745         * Makefile (strop-tests): Add strncat.
85746         * string/test-strncat.c: New file.
85748 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
85750         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
85752 2011-06-21  Andreas Jaeger  <aj@suse.de>
85754         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
85755         Copy rule from iconvdata/Makefile.
85757 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85759         [BZ #12922]
85760         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
85761         but no long options are defined, just return 'W'.
85763 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
85765         [BZ #9696]
85766         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
85768 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
85770         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
85771         netgroups to read.
85772         (innetgr): Likewise.
85774 2011-07-05  Roland McGrath  <roland@hack.frob.com>
85776         * config.make.in (install_root): Default to $(DESTDIR).
85778 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
85780         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
85782 2011-07-02  Roland McGrath  <roland@hack.frob.com>
85784         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
85786         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
85787         containing directory rather than embedding absolute directory names.
85789         * scripts/check-local-headers.sh: Rewritten using awk.
85790         Match by word, not by line.  Print error messages for matches.
85791         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
85793         * Makerules [shlib-lds-flags empty]:
85794         ($(common-objpfx)libc_pic.opts): New target.
85795         ($(common-objpfx)libc_pic.os.clean): New target.
85796         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
85798         * config.make.in (OBJCOPY): New variable.
85799         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
85800         * configure: Regenerated.
85802         * config.make.in (use-default-link): New variable.
85803         * configure.in (use_default_link): Grok --with-default-link to set it.
85804         * configure: Regenerated.
85805         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
85806         (shlib-lds, shlib-lds-flags): Define to empty.
85808         * Makerules (shlib-lds): New variable.
85809         (shlib-lds-flags): New variable.
85810         (build-shlib, build-moduile, build-module-asneeded): Use it.
85811         ($(common-objpfx)libc.so): Use $(shlib-lds).
85812         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
85813         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
85815         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
85816         DT_FLAGS/DT_FLAGS_1 with zero flags.
85818         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
85819         linker script munging.
85821 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
85823         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
85824         as 128-bit value.
85825         * crypt/sha512.c (sha512_process_block): Perform total addition using
85826         128-bit if possible.
85827         (__sha512_finish_ctx): Likewise.
85828         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
85829         as 64-bit value.
85830         * crypt/sha256.c (SWAP64): Define.
85831         (sha256_process_block): Perform total addition using 64-bit if
85832         possible.
85833         (__sha256_finish_ctx): Likewise.
85835 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
85837         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
85838         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85839         * nscd/hstcache.c (cache_addhst): Likewise.
85840         * nscd/grpcache.c (cache_addgr): Likewise.
85841         * nscd/aicache.c (addhstaiX): Likewise.
85842         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
85844 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
85846         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
85847         * nscd/initgrcache.c (addinitgroupsX): Likewise.
85848         * nscd/hstcache.c (cache_addhst): Likewise.
85849         * nscd/grpcache.c (cache_addgr): Likewise.
85850         * nscd/aicache.c (addhstaiX): Likewise.
85852 2011-07-01  Andreas Schwab  <schwab@redhat.com>
85854         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
85855         domain only when needed.
85857 2011-06-30  Andreas Schwab  <schwab@redhat.com>
85859         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
85860         is always restored.
85862 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
85864         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
85865         are re-adding the entry.
85866         * nscd/servicescache.c (cache_addserv): Likewise.
85868 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
85870         * sysdeps/generic/dl-irel.h: fix protection against multiple
85871         inclusions.
85872         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
85874 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
85876         [BZ #12935]
85877         * malloc/memusage.sh: Fix quoting in message.
85878         * debug/xtrace.sh: Likewise.
85880         * configure.in: Remove support for --experimental-malloc option, make
85881         it the default.
85882         * config.make.in: Likewise.
85883         * malloc/Makefile: Likewise.
85885 2011-06-27  Andreas Schwab  <schwab@redhat.com>
85887         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
85888         two-byte characters.
85890 2011-06-27  Roland McGrath  <roland@hack.frob.com>
85892         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
85893         AC_CACHE_CHECK invocation.
85894         * configure: Regenerated.
85896         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
85898 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
85900         [BZ #12350]
85901         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
85902         bit from old_res_options.
85904         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
85906         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
85907         value type for setfct.
85909 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
85911         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85912         __gettimeofday instead of gettimeofday.
85914 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
85916         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
85918 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
85920         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
85922         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
85923         info.
85925 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85928         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85929         strcpy-sse2-unaligned strncpy-sse2-unaligned
85930         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
85931         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
85932         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
85933         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
85934         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
85935         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
85936         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
85937         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
85938         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
85939         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
85940         (STRCPY): Support SSE2 and SSSE3 versions.
85942 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
85944         [BZ #12874]
85945         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
85946         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
85947         kernels which artificially limit size of requests.
85949 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
85951         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85952         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
85953         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
85954         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
85955         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
85956         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
85957         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
85958         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
85959         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
85960         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
85961         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
85962         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
85963         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
85964         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
85965         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
85966         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85967         Enable unaligned load optimization for Intel Core i3, i5 and i7
85968         processors.
85969         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
85970         Define.
85971         (index_Fast_Unaligned_Load): Define.
85972         (HAS_FAST_UNALIGNED_LOAD): Define.
85974 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
85976         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
85978 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85980         [BZ #12907]
85981         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
85982         until it is clear that the information is realy needed.
85983         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
85985 2011-06-22  Andreas Schwab  <schwab@redhat.com>
85987         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
85989 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
85991         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
85992         /sys/devices/system/cpu/online if it is usable.
85994         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
85995         reading the information from the /proc filesystem to once a second.
85997 2011-06-21  Andreas Jaeger  <aj@suse.de>
85999         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
86000         NULL after inclusion of kernel headers.
86002 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
86004         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
86005         calls to internal_setent.
86007         [BZ #12885]
86008         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
86009         addresses using gethostbyname4_r ignore IPv4 addresses.
86011         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
86012         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
86014         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
86016 2011-06-20  David S. Miller  <davem@davemloft.net>
86018         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
86019         inclusions.
86020         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
86022         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
86023         (elf_irel): Use it.
86024         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
86025         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
86026         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
86027         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
86028         * sysdeps/x86_64/dl-irel.h: Likewise.
86030         * elf/dl-runtime.c: Use elf_ifunc_invoke.
86031         * elf/dl-sym.c: Likewise.
86033 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86035         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
86036         need to dereference resplen2.
86038 2011-06-14  Andreas Schwab  <schwab@redhat.com>
86040         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
86042 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
86044         * Makeconfig: Define vardbdir and inst_vardbdir.
86045         * nss/Makefile: Add rules to install db-Makefile.
86047         * nss/nss_db/db-XXX.c: Cleanup.
86049         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
86050         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
86051         GLIBC_PRIVATE.
86052         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
86053         * nss/makedb.c: Implement -g option to specify that value strings
86054         are generated and should not be added to table iterated over for
86055         get*ent calls.
86056         * nss/nss_db/db-initgroups.c: New file.
86058         * nss/getent.c: Add support for initgroups lookups through getgrouplist
86059         interface.
86061         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
86062         (internal_getgrouplist): Adjust to name change.
86063         Update use_initgroups_entry if this is not the first call.
86064         * nss/databases.def: Add initgroups entry.
86066         * nss/makedb.c (compute_tables): Check result of multiple hash table
86067         sizes to minimize maximum chain length.
86069 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
86071         * Versions.def: Add entry for libnss_db.
86072         * shlib-versions: Likewise.
86073         * nss/Makefile: Add rules to build libnss_db.
86074         * nss/Versions: Add libnss_db information.  Organize libnss_files
86075         entries better.
86076         * nss/db-Makefile: Add gshadow support.  Change rules for the new
86077         makedb progra.  Some minor improvements to generate smaller files.
86078         * nss/nss_db/nss_db.h: Move NSS database header data structures to
86079         here from...
86080         * nss/makedb.c: ...here.
86081         Improve database format to be smaller and require less memory at
86082         runtime.
86083         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
86084         db anymore.
86085         * nss/nss_db/db-netgrp.c: Likewise.
86086         * nss/nss_db/db-open.c: Likewise.
86087         * nss/nss_files/flies-XXX.x: Adjust comments.
86088         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
86089         * nss/nss_files/files-grp.c: Likewise.
86090         * nss/nss_files/files-hosts.c: Likewise.
86091         * nss/nss_files/files-network.c: Likewise.
86092         * nss/nss_files/files-proto.c: Likewise.
86093         * nss/nss_files/files-pwd.c: Likewise.
86094         * nss/nss_files/files-rpc.c: Likewise.
86095         * nss/nss_files/files-service.c: Likewise.
86096         * nss/nss_files/files-sgrp.c: Likewise.
86097         * nss/nss_files/files-spwd.c: Likewise.
86098         * nss/nss_db/db-alias.c: Removed.
86099         * nss/nss_db/dummy-db.h: Removed.
86101 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
86103         * nss/makedb.c: Rewritten to not use database library.
86104         * nss/Makefile: Update to build new makedb program.
86106 2011-06-14  Andreas Jaeger  <aj@suse.de>
86108         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
86109         memset declaration.
86111 2011-06-10  Andreas Schwab  <schwab@redhat.com>
86113         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
86114         tmpbuf.
86116 2011-06-10  Roland McGrath  <roland@hack.frob.com>
86118         * Makerules (shlib.lds): Fail if the linker script comes out empty.
86119         * elf/Makefile ($(objpfx)ld.so): Likewise.
86121         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
86122         Don't list ld.so twice in dependencies.
86124         * posix/bug-regex31.c: Include <stdlib.h>.
86126         * nscd/hstcache.c (cache_addhst): Remove unused variable.
86128         * nis/nss_compat/compat-spwd.c
86129         (getspent_next_nss_netgr): Remove unused variable.
86130         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
86132         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
86133         nonmembers" output to use the right array.
86135         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
86137         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
86139         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
86140         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
86141         * catgets/gencat.c (read_input_file): Likewise.
86142         * locale/programs/locarchive.c (enlarge_archive): Likewise.
86144         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
86145         variable definition inside #if's controlling its use.
86147         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
86149         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
86151         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
86153         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
86154         unreachable code.
86156         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
86158         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
86159         * configure: Regenerated.
86161         * Makerules: Revert last change.
86162         * elf/Makefile: Likewise.
86164 2011-06-09  Roland McGrath  <roland@hack.frob.com>
86166         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
86167         * elf/Makefile ($(objpfx)librtld.os): Likewise.
86168         (reloc-link): Likewise.
86170 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
86172         * elf/Makefile: Add rules to build pldd.
86173         * elf/pldd.c: New file.
86174         * elf/pldd-xx.c: New file.
86176 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
86178         * version.h: Update for 2.15 development version.
86180 2011-06-07  David S. Miller  <davem@davemloft.net>
86182         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
86183         ifuncs.
86184         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
86185         elf_machine_lazy_rel): Likewise.
86186         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
86187         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
86188         elf_machine_lazy_rel): Likewise.
86189         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
86190         dl_hwcap via passed in argument.
86191         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
86192         Likewise.
86194 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86196         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
86198 2011-06-06  Roland McGrath  <roland@hack.frob.com>
86200         [BZ #12849]
86201         * manual/fdl-1.1.texi: New file, verbatim from:
86202         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
86203         * manual/lgpl-2.1.texi: New file, verbatim from:
86204         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
86205         * manual/Makefile (licenses): New variable, list those new file names.
86206         (texis): Use it.
86207         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
86209         * manual/fdl.texi: File removed.
86210         * manual/lesser.texi: File removed.
86211         * manual/libc.texinfo (Copying, Documentation License):
86212         Use new @include file names, put @appendix directive before @include.
86214 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
86216         [BZ #12841]
86217         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
86218         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
86219         (mq_open): Add __NTH.
86221 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
86223         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86224         Assume Intel Core i3/i5/i7 processor if AVX is available.
86226 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86228         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86229         typo.
86231 2011-05-31  Andreas Schwab  <schwab@redhat.com>
86233         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
86234         memory.  Use alloca_account.  Fix memory leak when retrying.
86236 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
86238         * version.h (RELEASE): Bump for 2.14 release.
86239         * include/features.h (__GLIBC_MINOR__): Bump to 14.
86241         * config.make.in (RANLIB): Remove entry.
86243 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
86245         * po/Makefile (po-sed-cmd): Add ksh to extensions.
86246         (libc.pot): Work around missing support for .ksh extension in xgettext.
86248         [BZ #12684]
86249         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
86250         if both request failed.
86251         (send_dg): In case of server errors clear resplen or *resplen2.
86253         [BZ #12454]
86254         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
86255         when there are multiple maps.
86256         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
86257         (_dl_fini): Remove test here.
86259         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
86261 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
86263         [BZ #12350]
86264         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
86265         bit from old_res_options.
86266         (gaih_inet): Likewise.
86268         [BZ #11099]
86269         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
86270         as signed.
86272         * resolv/res_init.c (res_setoptions): Make the code more compact.
86274         [BZ #11558]
86275         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
86276         set RES_USEVC.
86278         [BZ #11634]
86279         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
86281         * malloc/malloc.h: Mark malloc hook variables as deprecated.
86283         [BZ #11781]
86284         * malloc/malloc.h: Declare malloc hook variables as volatile.
86286         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
86287         in last patch.
86289         [BZ #11799]
86290         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
86291         raise in the comment.
86292         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
86293         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
86294         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
86296 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
86298         [BZ #12811]
86299         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
86300         grow the buffers more if it already has to be sufficient.
86301         (build_wcs_upper_buffer): Likewise.
86302         * posix/regexec.c (check_matching): Likewise.
86303         (clean_state_log_if_needed): Likewise.
86304         (extend_buffers): Don't enlarge buffers beyond size of the input
86305         buffer.
86306         Patches mostly by Emil Wojak <emil@wojak.eu>.
86307         * posix/bug-regex32.c: New file.
86308         * posix/Makefile (tests): Add bug-regex32.
86310         * locale/findlocale.c (_nl_find_locale): Return right away if
86311         _nl_explode_name failed.
86312         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
86314         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
86316         * debug/xtrace.sh: Unify messages.
86317         * malloc/memusage.sh: Likewise.
86319         [BZ #12813]
86320         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
86321         time symbol from vDSO.  Substitute with vsyscall if not available.
86322         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
86323         __vdso_time.
86325         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
86326         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
86327         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
86328         Add sendmmsg and internal_sendmmsg.
86329         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
86330         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
86331         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
86333         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
86334         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
86335         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
86337 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
86339         [BZ #12813]
86340         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
86341         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
86342         available.
86343         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
86344         __vdso_getcpu.
86346         [BZ #12814]
86347         * iconvdata/Makefile (tests): Add bug-iconv9.
86348         * iconvdata/bug-iconv9.c: New file.
86350 2011-05-27  Andreas Schwab  <schwab@redhat.com>
86352         [BZ #12814]
86353         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
86355 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
86357         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86358         (struct user_regs_struct): Change intcs field back to cs.
86360 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
86362         * po/ja.po: Update from translation team.
86364 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
86366         [BZ #12795]
86367         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
86368         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
86370 2011-05-20  Andreas Schwab  <schwab@redhat.com>
86372         * stdlib/longlong.h: Update from GCC.
86374 2011-05-23  Andreas Schwab  <schwab@redhat.com>
86376         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
86377         parameter name.
86378         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
86379         Add parameter name.
86380         (__sysconf): Pass it down.
86382 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
86384         [BZ #12671]
86385         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
86386         some situations.
86387         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
86388         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
86389         add in in __libc_use_alloca calls.  Adjust callers.
86390         (glob): Use malloc in some situations.
86392         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
86393         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
86394         pltexit.
86396 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
86398         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
86399         and CLOCK_BOOTTIME_ALARM.
86401         [BZ #12782]
86402         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
86403         is returned.
86405         * string/_strerror.c (__strerror_r): Print negative errors as signed
86406         numbers.
86408         [BZ #12777]
86409         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
86410         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
86411         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
86413         * configure.in: Fix typo in redirection and correct removal of test
86414         files in two cases.
86416         [BZ #12788]
86417         * locale/setlocale.c (new_composite_name): Fix test to check for
86418         identical name of all categories.
86420         [BZ #12792]
86421         * libio/filedoalloc.c (local_isatty): New function.
86422         (_IO_file_doallocate): Use local_isatty.
86423         * stdio-common/perror.c (perror): In case a new stream is used
86424         forward the stream error.
86425         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
86426         error flag.
86428 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
86430         [BZ #11884]
86431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
86432         alloca.
86433         * include/alloca.h (extend_alloca_account): Define.
86435         [BZ #11857]
86436         * posix/regex.h: Fix comments with documentation of user-accessible
86437         fields after compilation and describe correct free'ing of pattern
86438         after re_compile_pattern.
86439         Patch by Reuben Thomas <rrt@sc3d.org>.
86441 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
86443         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
86444         and -mno-altivec to prevent the compiler from using Altivec and/or
86445         VSX instructions when the corresponding registers are not available.
86447 2011-05-19  Andreas Schwab  <schwab@redhat.com>
86449         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
86451 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
86453         * libio/freopen.c (freopen): Use __dup2, not dup2.
86454         * libio/freopen64.c (freopen64): Likewise.
86456 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
86458         [BZ #12775]
86459         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
86460         * math/Makefile (tests): Add test-powl.
86461         (CFLAGS-test-powl.c): Define.
86462         * math/test-powl.c: New file.
86464 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
86466         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
86468 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
86470         [BZ #11837]
86471         * iconvdata/gb18030.c: Update to GB18020-2005.
86473 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
86475         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
86476         RE_SYNTAX_POSIX_AWK): Update to match recent development.
86477         Patch by Aharon Robbins <arnold@skeeve.com>.
86479         [BZ #11892]
86480         * stdlib/putenv.c (putenv): Don't always create copy of the variable
86481         on the stack.
86483         [BZ #11895]
86484         * misc/pselect.c (__pselect): Handle timeout value errors hidden
86485         through underflows.
86487         [BZ #12766]
86488         * misc/error.c (error_at_line): Ensure file_name and old_file_name
86489         point to strings before performing equality test for error_one_per_line
86490         mode.
86492         [BZ #11697]
86493         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
86495         [BZ #11820]
86496         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
86497         (struct user_fpregs_struct): Avoid __uint*_t types.
86499         [BZ #6420]
86500         * malloc/mtrace.c (tr_where): Add additional parameter to point to
86501         symbol info.  Use it instead of calling _dl_addr locally.
86502         (lock_and_info): New function.
86503         (tr_freehook): Call lock_and_info and pass symbol info as additional
86504         parameter to tr_where.
86505         (tr_mallochook): Likewise.
86506         (tr_reallochook): Likewise.
86507         (tr_memalignhook): Likewise.
86509         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
86510         used and couldn't be at all thread-safe.
86512 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
86514         * libio/freopen.c (freopen): Don't close old file descriptor
86515         before the new one is opened.  Instead dup the new file descriptor
86516         to the old one after the new stream is created.
86517         * libio/freopen64.c (freopen64): Likewise.
86518         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
86519         * libio/fileops.c (_IO_new_file_close_it): Handle new
86520         _IO_FLAGS2_NOCLOSE flag.
86521         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
86522         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
86523         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
86524         _IO_FLAGS2_NOCLOSE flag.
86525         * include/unistd.h: Add hidden_proto for dup3.
86526         Define __have_dup3.
86527         * io/dup3.c: Define hidden symbol.
86528         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
86530         [BZ #7101]
86531         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
86532         when an incomplete long option is used.
86533         * posix/tst-getopt_long1.c: New file.
86534         * posix/Makefile (tests): Add tst-getopt_long1.
86536         [BZ #10138]
86537         * scripts/config.guess: Update from autoconf-2.68.
86538         * scripts/config.sub: Likewise.
86540         [BZ #10157]
86541         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
86542         tests into ...
86543         (has_cpuclock): ...this.  New function.
86544         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
86545         macro here based on has_cpuclock code.
86547         [BZ #10149]
86548         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86549         First byte (not low byte) is now always NUL.
86550         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
86552         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86553         Use non-cancelable interfaces.
86555         [BZ #9809]
86556         * locale/iso-639.def: Add entry for Sorani.
86558         [BZ #11901]
86559         * include/stdlib.h: Move include protection to the right place.
86560         Define abort_msg_s.  Declare __abort_msg with it.
86561         * stdlib/abort.c (__abort_msg): Adjust type.
86562         * assert/assert.c (__assert_fail_base): New function.  Majority
86563         of code from __assert_fail.  Allocate memory for __abort_msg with
86564         mmap.
86565         (__assert_fail): Now call __assert_fail_base.
86566         * assert/assert-perr.c: Remove bulk of implementation.  Use
86567         __assert_fail_base.
86568         * include/assert.hL Declare __assert_fail_base.
86569         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
86570         mmap.
86571         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
86573 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
86575         [BZ #11952]
86576         [BZ #12453]
86577         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
86578         until all modules are registered in the DTV.
86579         * elf/Makefile: Add rules to build and run tst-tls19.
86580         * elf/tst-tls19.c: New file.
86581         * elf/tst-tls19mod1.c: New file.
86582         * elf/tst-tls19mod2.c: New file.
86583         * elf/tst-tls19mod3.c: New file.
86584         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
86586         [BZ #12083]
86587         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
86588         correctly.
86590         [BZ #12601]
86591         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
86592         two-byte sequence errors.
86593         * iconvdata/Makefile (tests): Add bug-iconv8.
86594         * iconvdata/bug-iconv8.c: New file.
86596         [BZ #12626]
86597         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
86598         buf2 definition.
86600         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
86602         [BZ #12432]
86603         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
86604         (dummy_getcfa): New function.
86605         (init): Get _Unwind_GetCFA address, use dummy if not found.
86606         (backtrace_helper): In recursion check, also check whether CFA changes.
86607         (__backtrace): Completely initialize arg.
86609         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
86610         storing incomplete byte sequence in state object.  Avoid testing for
86611         guaranteed too small input if we know there is enough data available.
86613 2011-05-11  Andreas Schwab  <schwab@redhat.com>
86615         * Makeconfig (+link-pie): Indent.
86616         * Rules (binaries-pie): Define if $(have-fpie) and
86617         $(build-shared).
86618         (binaries-shared): Also filter out $(binaries-pie).
86619         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
86620         * nscd/Makefile (others-pie): Add nscd.
86621         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
86622         ($(objpfx)nscd): Remove command override.
86623         * login/Makefile (others-pie): Add pt_chown.
86624         ($(objpfx)pt_chown): Remove command override.
86625         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
86626         remove command overrides.
86628 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
86630         * libio/tst_putwc.c: Fix error messages.
86632         [BZ #12724]
86633         * libio/fileops.c (_IO_new_file_close_it): Always flush when
86634         currently writing and seek to current position when not.
86635         * libio/Makefile (tests): Add bug-fclose1.
86636         * libio/bug-fclose1.c: New file.
86638 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
86640         [BZ #12511]
86641         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
86642         don't set DF_1_NODELETE here.
86643         (do_lookup_x): When entering new entry test for copy relocation
86644         and if necessary set DF_1_NODELETE flag.
86645         * elf/tst-unique4.cc: New file.
86646         * elf/tst-unique4.h: New file.
86647         * elf/tst-unique4lib.cc: New file.
86648         * elf/Makefile: Add rules to build and run tst-unique4.
86649         Patch by Piotr Bury <pbury@goahead.com>.
86651 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
86653         [BZ #12052]
86654         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
86656         [BZ #12625]
86657         * misc/mntent_r.c (addmntent): Flush the stream after the output
86659         [BZ #12393]
86660         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
86661         (is_trusted_path_normalize): Skip initial colon.  Append slash
86662         to empty buffer.  Duplicate is_trusted_path code but allow
86663         constructed patch to be prefix.
86664         (is_dst): Allow $ORIGIN followed by /.
86665         (_dl_dst_substitute): Correct clearing of check_for_trusted.
86666         Correct testing of result of is_trusted_path_normalize
86667         (decompose_rpath): Fix warning.
86669 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
86671         [BZ #11257]
86672         * grp/initgroups.c (internal_getgrouplist): When we found the service
86673         list through the initgroups entry in nsswitch.conf do not always
86674         continue on a successful lookup.  Don't always use the
86675         __nss_group_database value if it is set.
86676         * nss/nsswitch.conf (initgroups): Change action for successful db
86677         lookup to continue for compatibility.
86679 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
86681         [BZ #11532]
86682         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
86683         and CP774 modules.
86684         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
86685         and CP774 modules.
86686         * iconvdata/tst-tables.sh: Likewise.
86687         * iconvdata/cp770.c: New file.
86688         * iconvdata/cp771.c: New file.
86689         * iconvdata/cp772.c: New file.
86690         * iconvdata/cp773.c: New file.
86691         * iconvdata/cp774.c: New file.
86692         * iconvdata/testdata/CP770: New file.
86693         * iconvdata/testdata/CP770..UTF8: New file.
86694         * iconvdata/testdata/CP771: New file.
86695         * iconvdata/testdata/CP771..UTF8: New file.
86696         * iconvdata/testdata/CP772: New file.
86697         * iconvdata/testdata/CP772..UTF8: New file.
86698         * iconvdata/testdata/CP773: New file.
86699         * iconvdata/testdata/CP773..UTF8: New file.
86700         * iconvdata/testdata/CP774: New file.
86701         * iconvdata/testdata/CP774..UTF8: New file.
86703         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
86704         END CHARMAP line.
86705         * iconvdata/gen-8bit-gap.sh: Likewise.
86706         * iconvdata/gen-8bit.sh: Likewise.
86708         * locale/iso-639.def: Add ary entry.
86710         [BZ #11258]
86711         * locale/C-translit.h.in: Add U20A1 transliteration.
86713         [BZ #12178]
86714         * locale/iso-639.def: Add wae entry.
86715         Patch by Kevin Bortis <bortis@translate-wae.ch>.
86717         [BZ #12545]
86718         * locale/programs/localedef.c (construct_output_path): Use ssize_t
86719         for n.
86721         [BZ #12711]
86722         * locale/C-translit.h.in: Add entry for U20B9.
86723         Patch by pravin.d.s@gmail.com.
86725 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
86727         [BZ #12713]
86728         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
86729         ENAMETOOLONG use generic getcwd.
86730         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
86731         in rtld.  Use *stat64.
86732         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
86733         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
86734         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
86735         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
86736         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
86737         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
86738         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
86739         __fstatat64 macros.
86740         * include/dirent.h: Add libc_hidden_proto for rewinddir.
86741         * dirent/rewinddir.c: Add libc_hidden_def.
86742         * sysdeps/mach/hurd/rewinddir.c: Likewise.
86743         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
86745         * include/dirent.h (__alloc_dir): Add flags parameter.
86746         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
86747         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
86748         __alloc_dir.
86749         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
86750         from fdopendir if O_CLOEXEC is already set.
86752 2011-03-15  Alan Modra  <amodra@gmail.com>
86754         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
86755         l_tls_firstbyte_offset non-zero.  Save padding offset in
86756         l_tls_firstbyte_offset for later use.
86757         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
86758         freeing static tls block.
86760 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
86762         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
86763         where #ifdef was intended.  The intent is to prevent ARG_MAX from
86764         being defined by the kernel headers.
86766 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
86768         [BZ #12734]
86769         * resolv/resolv.h: Define RES_NOTLDQUERY.
86770         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
86771         no-tld-query and set RES_NOTLDQUERY.
86772         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
86773         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
86774         modern BIND to search name as TLD unless forbidden.
86776 2011-05-07  Petr Baudis  <pasky@suse.cz>
86777             Ulrich Drepper  <drepper@gmail.com>
86779         [BZ #12393]
86780         * elf/dl-load.c (fillin_rpath): Move trusted path check...
86781         (is_trusted_path): ...to here.
86782         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
86783         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
86784         using is_trusted_path_normalize() in setuid scripts.
86786 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
86788         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
86789         __BEGIN/__END_DECLS.
86791 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
86793         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
86794         NSS_STATUS_NOTFOUND if no record was found.
86796 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86798         * sunrpc/Makefile (headers): Add rpc/netdb.h.
86799         (headers-not-in-tirpc): Remove rpc/netdb.h
86800         * resolv/netdb.h: Revert last change.
86802 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86804         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
86805         circular dependency between libgcc.a and libc.a.
86807 2011-05-05  Andreas Schwab  <schwab@redhat.com>
86809         * resolv/netdb.h: Don't include <rpc/netdb.h>.
86810         * nis/Makefile: Don't install rpcsvc/*.
86811         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
86812         instead of <rpc/types.h>.
86813         (MAXHOSTNAMELEN): Define.
86815 2011-05-03  Andreas Schwab  <schwab@redhat.com>
86817         * elf/ldconfig.c (add_dir): Don't crash on empty path.
86819 2011-04-28  Maciej Babinski  <mbabinski@google.com>
86821         [BZ #12714]
86822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
86823         gethostbyname4_r when IPv6 results are possible.
86825 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
86827         [BZ #12723]
86828         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
86829         _PC_PIPE_BUF handling.
86831 2011-04-30  Bruno Haible  <bruno@clisp.org>
86833         [BZ #12717]
86834         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
86835         * resolv/netdb.h (getnameinfo): Change type of flags parameter
86836         to 'int'.
86837         * inet/getnameinfo.c (getnameinfo): Likewise.
86839 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
86841         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
86842         to groups setting in database lookup.
86843         * nss/nsswitch.conf: Add initgroups entry.
86845 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
86847         [BZ #12685]
86848         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
86849         mode string.
86850         Patch by Eric Blake <eblake@redhat.com>.
86852 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
86854         * sunrpc/Makefile (need-export-routines): Add svc_run.
86855         (routines): Remove svc_run.
86856         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
86857         * sunrpc/clnt_perr.c (clnt_perrno): Export.
86858         * sunrpc/svc_run.c (svc_run): Likewise.
86859         * sunrpc/svc_udp.c (svcudp_create): Likewise.
86861 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
86863         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
86864         problem in reallocation in last patch.
86866 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
86868         * sunrpc/Makefile: Move inclusion of Rules.
86870 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86872         * nss/nss_files/files-initgroups.c: New file.
86873         * nss/Makefile (libnss_files-routines): Add files-initgroups.
86874         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
86875         _nss_files_initgroups_dyn.
86877 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
86879         * elf/elf.h (R_ARM_IRELATIVE): Define.
86881 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
86883         * po/ru.po: Update from translation team.
86885 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86887         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
86888         dependencies.
86890 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
86892         [BZ #12653]
86893         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
86894         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
86895         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
86896         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
86897         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
86899 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
86901         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
86902         differing bytes.
86903         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
86904         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
86905         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86907 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
86909         [BZ #12420]
86910         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
86911         storing it.
86912         * stdlib/bug-getcontext.c: New file.
86913         * stdlib/Makefile: Add rules to build and run bug-getcontext.
86915 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86917         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
86918         instructions into .machine "z9-109".
86919         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
86920         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
86922 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86924         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
86925         between environment variables and auxiliary vector.
86927 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
86929         * Makefile: Add rules to build linkobj/libc.so.
86930         * include/libc-symbols.h: Define libc_hidden_nolink.
86931         * include/rpc/auth.h: Mark functions which are to be hidden.
86932         * include/rpc/auth_des.h: Likewise.
86933         * include/rpc/auth_unix.h: Likewise.
86934         * include/rpc/clnt.h: Likewise.
86935         * include/rpc/des_crypt.h: Likewise.
86936         * include/rpc/key_prot.h: Likewise.
86937         * include/rpc/pmap_clnt.h: Likewise.
86938         * include/rpc/pmap_prot.h: Likewise.
86939         * include/rpc/pmap_rmt.h: Likewise.
86940         * include/rpc/rpc_msg.h: Likewise.
86941         * include/rpc/svc.h: Likewise.
86942         * include/rpc/svc_auth.h: Likewise.
86943         * include/rpc/xdr.h: Likewise.
86944         * nis/Makefile: Link all DSOs against linkobj/libc.so.
86945         * nss/Makefile: Likewise.
86946         * sunrpc/Makefile: Don't install headers.  Build library with normal
86947         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
86948         * sunrpc/auth_des.c: Hide exported symbols by default, export some
86949         for the compat linking library.  Remove use of INTDEF/INTUSE.
86950         * sunrpc/auth_none.c: Likewise.
86951         * sunrpc/auth_unix.c: Likewise.
86952         * sunrpc/authdes_prot.c: Likewise.
86953         * sunrpc/authuxprot.c: Likewise.
86954         * sunrpc/clnt_gen.c: Likewise.
86955         * sunrpc/clnt_perr.c: Likewise.
86956         * sunrpc/clnt_raw.c: Likewise.
86957         * sunrpc/clnt_simp.c: Likewise.
86958         * sunrpc/clnt_tcp.c: Likewise.
86959         * sunrpc/clnt_udp.c: Likewise.
86960         * sunrpc/clnt_unix.c: Likewise.
86961         * sunrpc/des_crypt.c: Likewise.
86962         * sunrpc/des_soft.c: Likewise.
86963         * sunrpc/get_myaddr.c: Likewise.
86964         * sunrpc/key_call.c: Likewise.
86965         * sunrpc/key_prot.c: Likewise.
86966         * sunrpc/netname.c: Likewise.
86967         * sunrpc/pm_getmaps.c: Likewise.
86968         * sunrpc/pm_getport.c: Likewise.
86969         * sunrpc/pmap_clnt.c: Likewise.
86970         * sunrpc/pmap_prot.c: Likewise.
86971         * sunrpc/pmap_prot2.c: Likewise.
86972         * sunrpc/pmap_rmt.c: Likewise.
86973         * sunrpc/publickey.c: Likewise.
86974         * sunrpc/rpc_cmsg.c: Likewise.
86975         * sunrpc/rpc_common.c: Likewise.
86976         * sunrpc/rpc_dtable.c: Likewise.
86977         * sunrpc/rpc_prot.c: Likewise.
86978         * sunrpc/rpc_thread.c: Likewise.
86979         * sunrpc/rtime.c: Likewise.
86980         * sunrpc/svc.c: Likewise.
86981         * sunrpc/svc_auth.c: Likewise.
86982         * sunrpc/svc_authux.c: Likewise.
86983         * sunrpc/svc_raw.c: Likewise.
86984         * sunrpc/svc_run.c: Likewise.
86985         * sunrpc/svc_simple.c: Likewise.
86986         * sunrpc/svc_tcp.c: Likewise.
86987         * sunrpc/svc_udp.c: Likewise.
86988         * sunrpc/svc_unix.c: Likewise.
86989         * sunrpc/svcauth_des.c: Likewise.
86990         * sunrpc/xcrypt.c: Likewise.
86991         * sunrpc/xdr.c: Likewise.
86992         * sunrpc/xdr_array.c: Likewise.
86993         * sunrpc/xdr_float.c: Likewise.
86994         * sunrpc/xdr_intXX_t.c: Likewise.
86995         * sunrpc/xdr_mem.c: Likewise.
86996         * sunrpc/xdr_rec.c: Likewise.
86997         * sunrpc/xdr_ref.c: Likewise.
86998         * sunrpc/xdr_sizeof.c: Likewise.
86999         * sunrpc/xdr_stdio.c: Likewise.
87001 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
87003         [BZ #12650]
87004         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
87005         * sysdeps/ia64/dl-tls.h: Likewise.
87006         * sysdeps/powerpc/dl-tls.h: Likewise.
87007         * sysdeps/s390/dl-tls.h: Likewise.
87008         * sysdeps/sh/dl-tls.h: Likewise.
87009         * sysdeps/sparc/dl-tls.h: Likewise.
87010         * sysdeps/x86_64/dl-tls.h: Likewise.
87011         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
87013 2011-03-14  Andreas Schwab  <schwab@redhat.com>
87015         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
87016         rpath element also skip the following colon.
87017         (expand_dynamic_string_token): Add is_path parameter and pass
87018         down to DL_DST_REQUIRED and _dl_dst_substitute.
87019         (decompose_rpath): Call expand_dynamic_string_token with
87020         non-zero is_path.  Ignore empty rpaths.
87021         (_dl_map_object_from_fd): Call expand_dynamic_string_token
87022         with zero is_path.
87024 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
87026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
87027         Make cancelable.
87029 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
87031         [BZ #12655]
87032         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
87033         Patch by Filipe David Manana <fdmanana@apache.org>.
87035 2011-04-07  Andreas Schwab  <schwab@redhat.com>
87037         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
87038         Maintain aligned stack.
87039         (CHECK_RSP): Remove unused macro.
87041 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
87043         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
87044         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
87046 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
87048         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
87050         * include/features.h: Mention __USE_XOPEN2K8 in comment.
87052 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
87054         [BZ #12518]
87055         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
87056         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
87057         * sysdeps/x86_64/memmove.c: New file.
87058         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
87059         (memcpy): Renamed to ...
87060         (__new_memcpy): This.
87061         (memcpy): Provide GLIBC_2_14 memcpy.
87062         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
87063         (memcpy): Provide GLIBC_2_2_5 memcpy.
87065 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87067         [BZ #12631]
87068         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
87070 2011-03-30  Andreas Schwab  <schwab@redhat.com>
87072         * misc/syncfs.c: New file.
87073         * misc/Makefile (routines): Add syncfs.
87074         * posix/unistd.h: Declare syncfs.
87075         * sysdeps/unix/syscalls.list: Add syncfs.
87077 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87079         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
87080         open_by_handle_at.
87081         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
87082         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87083         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87084         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87085         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87086         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
87087         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87089 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87091         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
87092         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87093         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
87094         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87095         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87097         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87099         * io/Makefile: Compile fallocate.c, fallocate64.c, and
87100         sync_file_range.c with -fexceptions.
87101         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
87102         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
87103         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
87104         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
87105         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
87106         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
87107         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
87108         sync_file_range as cancellation point
87109         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
87110         now a wrapper around __call_sync_file_range with cancellation handling.
87111         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
87112         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
87113         function name to __call_sync_file_range.
87114         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
87115         Add call_sync_file_range.
87117 2011-04-01  Andreas Schwab  <schwab@redhat.com>
87119         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87120         bits/timex.h.
87122 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
87124         * iconv/iconv.h: Fix typo in comment.
87125         * io/fcntl.h: Likewise.
87126         * libio/stdio.h: Likewise.
87127         * posix/spawn.h: Likewise.
87128         * posix/unistd.h: Likewise.
87129         * stdlib/stdlib.h: Likewise.
87130         * time/time.h: Likewise.
87131         * wcsmbs/wchar.h: Likewise.
87133         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
87134         open_by_handle): Add.
87135         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
87136         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
87137         Augment a few comments.
87138         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
87139         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
87140         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
87141         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
87142         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
87143         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
87144         open_by_handle.
87146         * io/fcntl.h (AT_EMPTY_PATH): Define.
87148 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
87150         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
87151         * sysdeps/unix/sysv/linux/bits/time.h: New file.
87152         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
87153         to...
87154         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
87155         * Versions.def: Add GLIBC_2.14.
87156         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
87157         Export.
87159 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
87161         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
87162         round counter.
87163         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87165 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
87167         [BZ #12597]
87168         * string/test-strncmp.c (do_page_test): New function.
87169         (check2): Likewise.
87170         (test_main): Call check2.
87171         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
87173 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
87175         [BZ #12587]
87176         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
87177         Handle cache information in CPU leaf 4.
87178         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
87180 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
87182         [BZ #12583]
87183         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
87184         character representation.
87185         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
87187 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
87189         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
87190         END(__isnan) to END(__isnanf) to match function entry point/label
87191         EALIGN(__isnanf,...).
87193 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
87195         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
87197 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
87199         [BZ #12510]
87200         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
87201         copy from the symbol referenced in the relocation to initialize the
87202         used variable.
87203         Patch by Piotr Bury <pbury@goahead.com>.
87204         * elf/Makefile: Add rules to build and tst-unique3.
87205         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
87206         * elf/tst-unique3.cc: New file.
87207         * elf/tst-unique3.h: New file.
87208         * elf/tst-unique3lib.cc: New file.
87209         * elf/tst-unique3lib2.cc: New file.
87211         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
87213 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
87215         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
87216         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
87217         to _start.
87219 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
87221         * elf/dl-load.c (_dl_map_object): If we are looking for the first
87222         to-be-loaded object along a path to loader is ld.so.
87224 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87225             Ulrich Drepper  <drepper@gmail.com>
87227         * sysdeps/x86_64/memset.S: After aligning destination, code
87228         branches to different locations depending on the value of
87229         misalignment, when multiarch is enabled. Fix this.
87231 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
87233         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
87234         Set _x86_64_preferred_memory_instruction for AMD processsors.
87235         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87236         Set bit_Prefer_SSE_for_memop for AMD processors.
87238 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
87240         * libio/fmemopen.c (fmemopen): Optimize a bit.
87242 2011-03-03  Andreas Schwab  <schwab@redhat.com>
87244         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
87246 2011-03-03  Roland McGrath  <roland@redhat.com>
87248         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
87250 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
87252         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
87253         __bzero_ultra1 instead of __memset_ultra1.
87255 2011-02-23  Andreas Schwab  <schwab@redhat.com>
87256             Ulrich Drepper  <drepper@gmail.com>
87258         [BZ #12509]
87259         * include/link.h (struct link_map): Add l_orig_initfini.
87260         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
87261         returning unsuccessfully.
87262         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
87263         close of a file loaded at startup, restore the original l_initfini
87264         list.
87265         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
87266         list, store the pointer.
87267         * elf/Makefile ($(objpfx)noload-mem): New rule.
87268         (noload-ENV): Define.
87269         (tests): Add $(objpfx)noload-mem.
87270         * elf/noload.c: Include <memcheck.h>.
87271         (main): Call mtrace.  Close all opened handles.
87273 2011-02-17  Andreas Schwab  <schwab@redhat.com>
87275         [BZ #12454]
87276         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
87277         dependencies are missing.
87279 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87281         Fix __if_freereq crash: Unlike the generic version which uses free,
87282         Hurd needs munmap.
87283         * sysdeps/mach/hurd/ifreq.h: New file.
87285 2011-01-27  Petr Baudis  <pasky@suse.cz>
87286             Ulrich Drepper  <drepper@gmail.com>
87288         [BZ 12445]#
87289         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
87290         to extend_alloca().
87291         * stdio-common/bug23.c: New file.
87292         * stdio-common/Makefile (tests): Add bug23.
87294 2010-09-28  Andreas Schwab  <schwab@redhat.com>
87295             Ulrich Drepper  <drepper@gmail.com>
87297         [BZ #12489]
87298         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
87299         before performing relro protection.  At old place add assertion
87300         to make sure nothing changed.
87302 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
87303             Glauber de Oliveira Costa  <glommer@gmail.com>
87305         * elf/elf.h: Add new ARM TLS relocs.
87307 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
87309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
87310         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
87311         cast from r3.
87312         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
87313         'tests' variable.
87314         * sysdeps/wordsize-64/tst-writev.c: New file.
87316 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
87318         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
87319         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
87320         insns in _dl_start to prevent a TOC reference before relocs are
87321         resolved.
87323 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
87325         [BZ #12469]
87326         * Makeconfig: Remove RANLIB definition.
87327         * Makerules: Don't use RANLIB.
87328         * aclocal.m4: Remove ranlib test.
87329         * configure.in: No need to check for ranlib.
87330         * elf/rtld-Rules: Don't use RANLIB.
87332 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87334         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
87335         protection macro.
87336         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
87337         inclusion protection macro.
87339         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
87340         SIGRTMIN and SIGRTMAX and print information in that case only when
87341         SIGRTMIN is defined.
87343 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
87345         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
87346         arginfo fn returning -1.
87348         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
87349         and thousands string is zero terminated.
87351 2011-02-03  Andreas Schwab  <schwab@redhat.com>
87353         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
87354         sysdeps/unix/sysv/linux/bits/socket.h.
87356 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87358         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
87359         (__CPU_COUNT): Remove old macros.
87360         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
87361         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
87362         (__CPU_ALLOC, __CPU_FREE): Add macros.
87363         (__sched_cpualloc, __sched_cpufree): Add declarations.
87365 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
87367         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
87368         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
87369         * nscd/aicache.c (addhstaiX): Return timeout of added value.
87370         (readdhstai): Return value of addhstaiX call.
87371         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
87372         (addgrbyX): Return value returned by cache_addgr.
87373         (readdgrbyname): Return value returned by addgrbyX.
87374         (readdgrbygid): Likewise.
87375         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
87376         (addpwbyX): Return value returned by cache_addpw.
87377         (readdpwbyname): Return value returned by addhstbyX.
87378         (readdpwbyuid): Likewise.
87379         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
87380         (addservbyX): Return value returned by cache_addserv.
87381         (readdservbyname): Return value returned by addservbyX:
87382         (readdservbyport): Likewise.
87383         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
87384         (addhstbyX): Return value returned by cache_addhst.
87385         (readdhstbyname): Return value returned by addhstbyX.
87386         (readdhstbyaddr): Likewise.
87387         (readdhstbynamev6): Likewise.
87388         (readdhstbyaddrv6): Likewise.
87389         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
87390         (readdinitgroups): Return value returned by addinitgroupsX.
87391         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
87392         (prune_cache): Keep track of timeout value of re-added entries.
87393         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
87394         * nscd/nscd.h: Adjust prototypes of readd* functions.
87396 2011-02-04  Roland McGrath  <roland@redhat.com>
87398         * nis/nis_server.c (nis_servstate): Use the right name for 0.
87399         (nis_stats): Likewise.
87400         * nis/nis_modify.c (nis_modify): Likewise.
87401         * nis/nis_remove.c (nis_remove): Likewise.
87402         * nis/nis_add.c (nis_add): Likewise.
87404         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
87406         * posix/fnmatch_loop.c: Add some consts.
87408         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
87410 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
87412         [BZ #12460]
87413         * config.make.in (config-cflags-novzeroupper): Define.
87414         * configure.in: Substitute libc_cv_cc_novzeroupper.
87415         * elf/Makefile (AVX-CFLAGS): Define.
87416         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
87417         (CFLAGS-tst-auditmod4a.c): Likewise.
87418         (CFLAGS-tst-auditmod4b.c): Likewise.
87419         (CFLAGS-tst-auditmod6b.c): Likewise.
87420         (CFLAGS-tst-auditmod6c.c): Likewise.
87421         (CFLAGS-tst-auditmod7b.c): Likewise.
87422         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
87424 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
87426         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
87427         function to the callback.
87428         Patch partly by Jiri Olsa <jolsa@redhat.com>.
87430 2011-02-02  Andreas Schwab  <schwab@redhat.com>
87432         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
87433         of errno.
87435 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
87437         [BZ #11724]
87438         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
87439         of constructors.
87440         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
87441         of destructors.
87442         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
87444         [BZ #11724]
87445         * elf/Makefile: Add rules to build and run new test.
87446         * elf/tst-initorder.c: New file.
87447         * elf/tst-initorder.exp: New file.
87448         * elf/tst-initordera1.c: New file.
87449         * elf/tst-initordera2.c: New file.
87450         * elf/tst-initordera3.c: New file.
87451         * elf/tst-initordera4.c: New file.
87452         * elf/tst-initorderb1.c: New file.
87453         * elf/tst-initorderb2.c: New file.
87454         * elf/tst-order-a1.c: New file.
87455         * elf/tst-order-a2.c: New file.
87456         * elf/tst-order-a3.c: New file.
87457         * elf/tst-order-a4.c: New file.
87458         * elf/tst-order-b1.c: New file.
87459         * elf/tst-order-b2.c: New file.
87460         * elf/tst-order-main.c: New file.
87461         New test case by George Gensure <werkt0@gmail.com>.
87463 2010-10-01  Andreas Schwab  <schwab@redhat.com>
87465         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87466         decoding ACE if AI_CANONIDN.
87468 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
87470         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
87472 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
87474         * version.h (RELEASE): Bump for 2.13 release.
87475         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
87477         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
87479         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
87480         MADV_NOHUGEPAGE.
87481         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
87482         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
87483         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
87484         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
87485         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
87486         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87488         * posix/getconf.c: Update copyright year.
87489         * catgets/gencat.c: Likewise.
87490         * csu/version.c: Likewise.
87491         * debug/catchsegv.sh: Likewise.
87492         * debug/xtrace.sh: Likewise.
87493         * elf/ldconfig.c: Likewise.
87494         * elf/ldd.bash.in: Likewise.
87495         * elf/sprof.c (print_version): Likewise.
87496         * iconv/iconv_prog.c: Likewise.
87497         * iconv/iconvconfig.c: Likewise.
87498         * locale/programs/locale.c: Likewise.
87499         * locale/programs/localedef.c: Likewise.
87500         * malloc/memusage.sh: Likewise.
87501         * malloc/mtrace.pl: Likewise.
87502         * nscd/nscd.c (print_version): Likewise.
87503         * nss/getent.c: Likewise.
87505         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
87506         PF_CAIF, and PF_ALG.
87507         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87509 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
87511         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
87512         (modules-names): Use them.
87513         (ifunc-test-modules, ifunc-pie-tests): Define.
87514         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
87515         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
87516         (test-extras): Likewise.
87517         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
87518         $(compile-command.c).
87519         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
87520         (all-built-dso): Define.
87521         (check-textrel.out, check-execstack.out): Depend on it.
87523         * configure.in: Don't override --enable-multi-arch.
87525 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
87527         [BZ #6812]
87528         * nscd/hstcache.c (tryagain): Define.
87529         (cache_addhst): Return tryagain not notfound for temporary errors.
87530         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
87531         failed.
87533 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
87535         [BZ #10563]
87536         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
87537         to make the syscall.
87538         * sysdeps/unix/sysv/linux/setgroups.c: New file.
87540         [BZ #12378]
87541         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
87542         and fall back to matching as normal character if the string ends before
87543         the matching ']' is found.  This is what POSIX requires.
87544         * posix/testfnm.c: Adjust test result.
87545         * posix/globtest.sh: Adjust test result.  Add new test.
87546         * posix/tst-fnmatch.input: Likewise.
87547         * posix/tst-fnmatch2.c: Add new test.
87549 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
87551         * elf/Makefile (check-execstack): Revert last change.  Depend on
87552         check-execstack.h.
87553         (check-execstack.h): New target.
87554         (generated): Add check-execstack.h.
87555         * elf/check-execstack.c: Include "check-execstack.h".
87556         (main): Revert last change.
87557         (handle_file): Return zero if GNU_STACK is absent and
87558         DEFAULT_STACK_PERMS doesn't include PF_X.
87560 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
87562         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
87563         in child fails because the descriptor is already closed.
87564         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
87565         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
87566         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
87568         [BZ #12397]
87569         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
87570         syscall.
87572         [BZ #10484]
87573         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
87574         temporary buffer used to handle multi lookups locally.
87575         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
87577 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87579         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
87580         loader is ld.so.
87582 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
87584         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
87585         alignment for SSE2.
87587 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
87589         [BZ #12394]
87590         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
87591         characters.  When rounding increased number of integer digits recompute
87592         number of groups.
87593         * stdio-common/tst-grouping.c: New file.
87594         * stdio-common/Makefile: Add rules to build and run tst-grouping.
87596 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
87598         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
87599         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
87601         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
87602         void.
87603         * bits/select.h: Likewise.
87605 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
87607         * po/ja.po: Update from translation team.
87609 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
87611         [BZ #11155]
87612         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
87613         implementation just like for lxstat, fxstatat, et al.
87615 2010-12-27  Jim Meyering  <meyering@redhat.com>
87617         [BZ #12348]
87618         * posix/regexec.c (build_trtable): Return failure indication upon
87619         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
87621 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
87623         [BZ #12201]
87624         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
87625         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
87626         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
87627         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
87629         [BZ #12207]
87630         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
87632         [BZ #12204]
87633         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
87634         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
87636 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
87638         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
87639         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
87640         script has SORT_BY_INIT_PRIORITY.
87641         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
87642         NO_CTORS_DTORS_SECTIONS is defined.
87643         * elf/soinit.c: Likewise.
87644         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
87645         NO_CTORS_DTORS_SECTIONS is defined.
87646         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
87647         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
87648         * sysdeps/sh/init-first.c: Likewise.
87649         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
87651 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
87653         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
87654         always use the slow path.
87656 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
87658         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
87659         similar rule which adds the sysdep directories to the header search in
87660         order to pick up the correct platform stackinfo.h.
87661         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
87662         perform test if it is, otherwise return successfully without testing.
87663         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
87664         DEFAULT_STACK_PERMS define in stackinfo.h.
87665         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
87666         defined in stackinfo.h.
87667         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
87668         DEFAULT_STACK_PERMS defined in stackinfo.h.
87669         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
87670         * sysdeps/ia64/stackinfo.h: Likewise.
87671         * sysdeps/s390/stackinfo.h: Likewise.
87672         * sysdeps/sh/stackinfo.h: Likewise.
87673         * sysdeps/sparc/stackinfo.h: Likewise.
87674         * sysdeps/x86_64/stackinfo.h: Likewise.
87675         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
87676         PF_X for powerpc64.  Retain PF_X for powerpc32.
87678 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
87680         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
87681         accurately.
87682         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
87683         GETDENTS_64BIT_ALIGNED.
87685 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
87687         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
87689 2010-12-10  Andreas Schwab  <schwab@redhat.com>
87691         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
87692         _GNU_SOURCE.
87694         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
87695         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
87696         Remove __restrict.
87697         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
87698         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
87700 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
87702         [BZ #11655]
87703         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
87704         are initialized.
87706 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
87708         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
87710 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
87712         * po/it.po: Update from translation team.
87714 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
87716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
87717         unused codes.
87719 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
87721         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
87723 2010-11-24  Andreas Schwab  <schwab@redhat.com>
87725         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
87726         specially.
87727         (gaih_getanswer_slice): Likewise.
87729 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
87731         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
87733 2010-05-31  Petr Baudis  <pasky@suse.cz>
87735         [BZ #11149]
87736         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
87737         silently even in the chroot mode.
87739 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
87741         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
87742         last patch a bit.  Pretty printing
87744 2010-05-31  Petr Baudis <pasky@suse.cz>
87746         [BZ #10085]
87747         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
87748         initialization of skip_initgroups_dyn.
87750 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
87752         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
87753         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
87755 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
87757         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
87759 2010-11-11  Andreas Schwab  <schwab@redhat.com>
87761         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
87762         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
87763         (tst-fnmatch-ENV): Set MALLOC_TRACE.
87764         ($(objpfx)tst-fnmatch-mem): New rule.
87765         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
87766         * posix/tst-fnmatch.c (main): Call mtrace.
87768 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
87770         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87771         Support Intel processor model 6 and model 0x2c.
87773 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
87775         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
87776           signed comparison.
87778 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
87780         [BZ #12205]
87781         * string/test-strncasecmp.c (check_result): New function.
87782         (do_one_test): Use it.
87783         (check1): New function.
87784         (test_main): Use it.
87785         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
87786         Support strcasecmp and strncasecmp.
87788 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
87790         [BZ #12194]
87791         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
87792         * sysdeps/x86_64/bits/byteswap.h: Likewise.
87794 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
87796         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
87797         IFUNC support.
87798         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87799         memset-x86-64.
87800         * sysdeps/x86_64/multiarch/bzero.S: New file.
87801         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
87802         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
87803         * sysdeps/x86_64/multiarch/memset.S: New file.
87804         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
87805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87806         Set bit_Prefer_SSE_for_memop for Intel processors.
87807         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
87808         Define.
87809         (index_Prefer_SSE_for_memop): Define.
87810         (HAS_PREFER_SSE_FOR_MEMOP): Define.
87812 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
87814         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
87815         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
87817 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
87819         [BZ #12191]
87820         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87821         (__x86_64_raw_data_cache_size_half): Likewise.
87822         (__x86_64_raw_shared_cache_size): Likewise.
87823         (__x86_64_raw_shared_cache_size_half): Likewise.
87825         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
87826         (__x86_64_raw_data_cache_size_half): Likewise.
87827         (__x86_64_raw_shared_cache_size): Likewise.
87828         (__x86_64_raw_shared_cache_size_half): Likewise.
87829         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
87830         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
87831         and __x86_64_raw_shared_cache_size_half.  Round
87832         __x86_64_data_cache_size_half, __x86_64_data_cache_size
87833         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
87834         to multiple of 256 bytes.
87836 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
87838         [BZ #12167]
87839         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
87840         of inacessible symlinks.  Verify result of symlink before returning it.
87841         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
87842         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
87844 2010-10-28  Erich Ritz  <erichritz@gmail.com>
87846         * math/math.h (isinf): Fix typo in comment.
87848 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
87850         * po/da.po: Update from translation team.
87852 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
87854         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
87855         is added to the list.
87857 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87858             Ulrich Drepper  <drepper@gmail.com>
87860         * elf/dl-object.c (_dl_new_object): Don't append the new object to
87861         the global list here.  Move code to...
87862         (_dl_add_to_namespace_list): ...here.  New function.
87863         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
87864         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
87865         * elf/dl-load.c (lose): Don't remove the element from the list.
87866         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
87867         (_dl_map_object): Likewise.
87869 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
87871         [BZ #12159]
87872         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
87873         into all bytes of SSE register.
87874         Patch by Richard Li <richardpku@gmail.com>.
87876 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
87878         [BZ #12140]
87879         * malloc/malloc.c (_int_free): Fill correct number of bytes when
87880         perturbing.
87882 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
87884         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
87885         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
87886         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
87887         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
87888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
87889         submachine.
87890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
87892 2010-10-22  Andreas Schwab  <schwab@redhat.com>
87894         * include/dlfcn.h (__RTLD_SECURE): Define.
87895         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
87896         mode & __RTLD_SECURE instead.
87897         (open_path): Rename preloaded parameter to secure.
87898         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
87899         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
87900         * elf/dl-deps.c (openaux): Likewise.
87901         * elf/rtld.c (struct map_args): Remove is_preloaded.
87902         (map_doit): Don't use it.
87903         (dl_main): Likewise.
87904         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
87905         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
87907 2010-09-09  Andreas Schwab  <schwab@redhat.com>
87909         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
87910         (sysd-rules-targets): Remove duplicates.
87911         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
87912         rtld-%.$o dependency.
87914 2010-10-18  Andreas Schwab  <schwab@redhat.com>
87916         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
87917         _dl_map_object do it.
87919 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
87921         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
87922         fast fma builtins, define the macros in the C99 standard.
87923         (FP_FAST_FMAF): Likewise.
87924         (FP_FAST_FMAL): Likewise.
87925         * sysdeps/x86_64/bits/mathdef.h: Likewise.
87927         * bits/mathdef.h: Update copyright year.
87928         * sysdeps/powerpc/bits/mathdef.h: Likewise.
87930 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
87932         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
87933         builtins, define the macros in the C99 standard.
87934         (FP_FAST_FMAF): Likewise.
87935         (FP_FAST_FMAL): Likewise.
87936         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
87937         multiply/add.
87938         (FP_FAST_FMAF): Likewise.
87940 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
87942         [BZ #3268]
87943         * math/libm-test.inc (fma_test): Some new testcases.
87944         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
87945         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
87946         y and infinite z.  Do multiplication by C already in long double.
87947         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
87948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
87949         y and infinite z.  Do bitwise or of inexact bit into u.d.
87950         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
87951         * sysdeps/i386/fpu/s_fmaf.S: Removed.
87952         * sysdeps/i386/fpu/s_fma.S: Removed.
87953         * sysdeps/i386/fpu/s_fmal.S: Removed.
87955 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
87957         [BZ #3268]
87958         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
87959         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
87960         computation is not scheduled after fetestexcept.  Fix value
87961         of minimum denormal long double.
87963 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
87965         [BZ #3268]
87966         * math/libm-test.inc (fma_test): Add some more tests.
87967         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
87968         correctly.
87970 2010-10-15  Andreas Schwab  <schwab@redhat.com>
87972         * scripts/data/localplt-s390-linux-gnu.data: New file.
87973         * scripts/data/localplt-s390x-linux-gnu.data: New file.
87975 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
87977         [BZ #3268]
87978         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
87979         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
87980         instead of dbl-64.
87981         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
87982         inlines.
87983         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
87984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
87985         if one of x and y is very large and the other is subnormal.
87986         * sysdeps/s390/fpu/s_fmaf.c: New file.
87987         * sysdeps/s390/fpu/s_fma.c: New file.
87988         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
87989         * sysdeps/powerpc/fpu/s_fma.S: New file.
87990         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
87991         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
87992         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
87994 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
87996         [BZ #3268]
87997         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
87998         fma tests.
87999         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
88000         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
88001         * sysdeps/i386/i686/multiarch/s_fma.c: Include
88002         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
88003         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
88004         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
88005         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
88007 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
88009         [BZ #12078]
88010         * posix/regcomp.c (parse_branch): One more memory leak plugged.
88011         * posix/bug-regex31.input: Add test case.
88013 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88015         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
88016         * posix/bug-regex31.input: New file.
88018         [BZ #12078]
88019         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
88020         (parse_sub_exp): Fix last change, use postorder.
88022         * posix/bug-regex31.c: New file.
88023         * posix/Makefile: Add rules to build and run bug-regex31.
88025         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
88027         [BZ #12078]
88028         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
88030         [BZ #12108]
88031         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
88032         to have entries in sys_siglist.
88034         [BZ #12093]
88035         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
88036         be NULL.
88038 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
88040         [BZ #3268]
88041         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
88042         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
88043         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
88044         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
88045         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
88046         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
88047         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
88048         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
88049         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
88050         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
88051         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
88052         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
88053         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
88054         * math/ftestexcept.c (fetestexcept): Likewise.
88055         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
88056         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
88057         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
88058         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
88059         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
88060         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
88061         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
88063 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
88065         [BZ #12107]
88066         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
88067         newline.
88069 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
88071         * string/bug-strstr1.c: New file.
88072         * string/Makefile: Add rules to build and run bug-strstr1.
88074 2010-10-05  Eric Blake  <eblake@redhat.com>
88076         [BZ #12092]
88077         * string/str-two-way.h (two_way_long_needle): Always clear memory
88078         when skipping input due to the shift table.
88080 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
88082         [BZ #12005]
88083         * malloc/mcheck.c: Handle large requests.
88085         [BZ #12077]
88086         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
88087         for strncmp and strncasecmp.
88088         * string/stratcliff.c: Add tests for strcmp and strncmp.
88089         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
88091 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
88093         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
88094         __set_fpscr.
88096 2010-09-30  Andreas Jaeger  <aj@suse.de>
88098         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
88099         (CGROUP_SUPER_MAGIC): Define.
88100         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88101         Handle btrfs and cgroup file systems.
88102         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
88103         Likewise.
88105 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
88107         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
88108         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
88110 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88112         [BZ #12067]
88113         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
88114         trying to locate the ELF header.
88116 2010-09-27  Andreas Schwab  <schwab@redhat.com>
88118         [BZ #11611]
88119         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
88120         Mask out sign-bit copies when constructing f_fsid.
88122 2010-09-24  Petr Baudis <pasky@suse.cz>
88124         * debug/stack_chk_fail_local.c: Add missing licence exception.
88125         * debug/warning-nop.c: Likewise.
88127 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
88129         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
88130         implementing getdents64 using getdents syscall, set d_type if
88131         __ASSUME_GETDENTS32_D_TYPE.
88133 2010-09-16  Andreas Schwab  <schwab@redhat.com>
88135         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
88136         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
88138 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
88140         [BZ #12037]
88141         * posix/unistd.h: Undo change of feature selection for ftruncate from
88142         2010-01-11.
88144 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
88146         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
88147         detection.
88149 2010-09-20  Andreas Schwab  <schwab@redhat.com>
88151         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
88152         fanotify_mark.
88153         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88155 2010-09-14  Andreas Schwab  <schwab@redhat.com>
88157         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
88158         variables after CHECK_SP call.
88159         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
88161 2010-09-13  Andreas Schwab  <schwab@redhat.com>
88162             Ulrich Drepper  <drepper@redhat.com>
88164         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
88165         re-relocationg ld.so.
88166         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
88167         _dl_init_paths call.
88168         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
88169         here anymore.
88171 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
88173         * resolv/res_init.c (__res_vinit): Count the default server we added.
88175 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
88176             Ulrich Drepper  <drepper@redhat.com>
88178         [BZ #11968]
88179         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88180         (____longjmp_chk): Use %ebx for saving value across system call.
88181         Add unwind info.
88183 2010-09-06  Andreas Schwab  <schwab@redhat.com>
88185         * manual/Makefile: Don't mix pattern rules with normal rules.
88187 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
88189         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
88190         operation.
88191         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
88192         * libio/iofopncook.c (_IO_cookie_init): Likewise.
88193         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
88194         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
88195         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88196         Likewise.
88198 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
88200         [BZ #11979]
88201         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
88202         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
88204 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
88206         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
88207         * sysdeps/x86_64/addmul_1.S: Likewise.
88208         * sysdeps/x86_64/lshift.S: Likewise.
88209         * sysdeps/x86_64/mul_1.S: Likewise.
88210         * sysdeps/x86_64/rshift.S: Likewise.
88211         * sysdeps/x86_64/sub_n.S: Likewise.
88212         * sysdeps/x86_64/submul_1.S: Likewise.
88214 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88216         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
88217         Define __sched_param instead of SCHED_* and sched_param when
88218         <bits/sched.h> is included with __need_schedparam defined.
88219         * bits/sched.h [__need_schedparam]
88220         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
88221         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
88222         (__defined_schedparam): Define to 1.
88223         (__sched_param): New structure, identical to sched_param.
88224         (__need_schedparam): Undefine.
88226 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
88228         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
88229         (epoll_create1): Declare.
88231         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
88233 2010-08-31  Andreas Schwab  <schwab@redhat.com>
88235         [BZ #7066]
88236         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
88237         shifting retval into place.
88239 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
88241         * nis/rpcsvc/nis.h: Update copyright notice.
88242         * nis/rpcsvc/nis.x: Likewise.
88243         * nis/rpcsvc/nis_callback.h: Likewise.
88244         * nis/rpcsvc/nis_callback.x: Likewise.
88245         * nis/rpcsvc/nis_object.x: Likewise.
88246         * nis/rpcsvc/nis_tags.h: Likewise.
88247         * nis/rpcsvc/yp.h: Likewise.
88248         * nis/rpcsvc/yp.x: Likewise.
88249         * nis/rpcsvc/ypupd.h: Likewise.
88250         * nis/yp_xdr.c: Likewise.
88251         * nis/ypupdate_xdr.c: Likewise.
88253         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
88254         mainly the body of pmap_getport.  Add parameters to specify timeouts.
88255         (pmap_getport): Use __libc_rpc_getport.
88256         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
88257         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
88258         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
88260 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
88262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
88263         fanotify_mark.
88265 2010-08-27  Roland McGrath  <roland@redhat.com>
88267         * sysdeps/i386/i686/multiarch/Makefile
88268         (CFLAGS-varshift.c): New variable.
88270 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
88272         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
88273         * sysdeps/i386/i686/multiarch/varshift.c: New file.
88275         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
88277         * sysdeps/x86_64/strlen.S: Minimal code improvement.
88279 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
88281         * sysdeps/x86_64/strlen.S: Unroll the loop.
88282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88283         strlen-sse2 strlen-sse2-bsf.
88284         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
88285         __strlen_no_bsf if bit_Slow_BSF is set.
88286         (__strlen_sse42): Removed.
88287         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
88288         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
88290 2010-08-25  Roland McGrath  <roland@redhat.com>
88292         * sysdeps/x86_64/multiarch/varshift.S: File removed.
88293         * sysdeps/x86_64/multiarch/varshift.c: New file.
88294         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
88295         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
88296         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
88297         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
88299 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
88301         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88302         strlen-sse2 strlen-sse2-bsf.
88303         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
88304         __strlen_sse2_bsf if bit_Slow_BSF is unset.
88305         (__strlen_sse2): Removed.
88306         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
88307         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
88308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
88309         bit_Slow_BSF for Atom.
88310         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
88311         (index_Slow_BSF): Define.
88312         (HAS_SLOW_BSF): Define.
88314 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
88316         [BZ #10851]
88317         * resolv/res_init.c (__res_vinit): When no server address at all
88318         is given default to loopback.
88320 2010-08-24  Roland McGrath  <roland@redhat.com>
88322         * configure.in: Remove config-name.h generation.
88323         * configure: Regenerated.
88324         * config-name.in: File removed.
88325         * scripts/config-uname.sh: New file.
88326         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
88327         ($(objdir)config-name.h): New target.
88329         * sunrpc/rpc_parse.h: Avoid nested comment.
88331 2010-08-24  Richard Henderson  <rth@redhat.com>
88332             Ulrich Drepper  <drepper@redhat.com>
88333             H.J. Lu  <hongjiu.lu@intel.com>
88335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
88336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
88337         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
88338         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
88339         _mm_alignr_epi8 with _mm_loadu_si128.
88340         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
88341         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
88342         (__m128i_shift_right): Removed.
88343         * sysdeps/i386/i686/multiarch/varshift.h: New file.
88344         * sysdeps/i386/i686/multiarch/varshift.S: New file.
88345         * sysdeps/x86_64/multiarch/varshift.h: New file.
88346         * sysdeps/x86_64/multiarch/varshift.S: New file.
88348 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
88350         * configure.in: Move assembler checks to before sysdep dir checking.
88352 2010-08-20  Petr Baudis  <pasky@suse.cz>
88354         * LICENSES: Sync the sunrpc license.
88356 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
88358         * sunrpc/auth_des.c: Update copyright notice once again.
88359         * sunrpc/auth_none.c: Likewise.
88360         * sunrpc/auth_unix.c: Likewise.
88361         * sunrpc/authdes_prot.c: Likewise.
88362         * sunrpc/authuxprot.c: Likewise.
88363         * sunrpc/bindrsvprt.c: Likewise.
88364         * sunrpc/clnt_gen.c: Likewise.
88365         * sunrpc/clnt_perr.c: Likewise.
88366         * sunrpc/clnt_raw.c: Likewise.
88367         * sunrpc/clnt_simp.c: Likewise.
88368         * sunrpc/clnt_tcp.c: Likewise.
88369         * sunrpc/clnt_udp.c: Likewise.
88370         * sunrpc/clnt_unix.c: Likewise.
88371         * sunrpc/des_crypt.c: Likewise.
88372         * sunrpc/des_soft.c: Likewise.
88373         * sunrpc/get_myaddr.c: Likewise.
88374         * sunrpc/getrpcport.c: Likewise.
88375         * sunrpc/key_call.c: Likewise.
88376         * sunrpc/key_prot.c: Likewise.
88377         * sunrpc/openchild.c: Likewise.
88378         * sunrpc/pm_getmaps.c: Likewise.
88379         * sunrpc/pm_getport.c: Likewise.
88380         * sunrpc/pmap_clnt.c: Likewise.
88381         * sunrpc/pmap_prot.c: Likewise.
88382         * sunrpc/pmap_prot2.c: Likewise.
88383         * sunrpc/pmap_rmt.c: Likewise.
88384         * sunrpc/rpc/auth.h: Likewise.
88385         * sunrpc/rpc/auth_unix.h: Likewise.
88386         * sunrpc/rpc/clnt.h: Likewise.
88387         * sunrpc/rpc/des_crypt.h: Likewise.
88388         * sunrpc/rpc/key_prot.h: Likewise.
88389         * sunrpc/rpc/netdb.h: Likewise.
88390         * sunrpc/rpc/pmap_clnt.h: Likewise.
88391         * sunrpc/rpc/pmap_prot.h: Likewise.
88392         * sunrpc/rpc/pmap_rmt.h: Likewise.
88393         * sunrpc/rpc/rpc.h: Likewise.
88394         * sunrpc/rpc/rpc_des.h: Likewise.
88395         * sunrpc/rpc/rpc_msg.h: Likewise.
88396         * sunrpc/rpc/svc.h: Likewise.
88397         * sunrpc/rpc/svc_auth.h: Likewise.
88398         * sunrpc/rpc/types.h: Likewise.
88399         * sunrpc/rpc/xdr.h: Likewise.
88400         * sunrpc/rpc_clntout.c: Likewise.
88401         * sunrpc/rpc_cmsg.c: Likewise.
88402         * sunrpc/rpc_common.c: Likewise.
88403         * sunrpc/rpc_cout.c: Likewise.
88404         * sunrpc/rpc_dtable.c: Likewise.
88405         * sunrpc/rpc_hout.c: Likewise.
88406         * sunrpc/rpc_main.c: Likewise.
88407         * sunrpc/rpc_parse.c: Likewise.
88408         * sunrpc/rpc_parse.h: Likewise.
88409         * sunrpc/rpc_prot.c: Likewise.
88410         * sunrpc/rpc_sample.c: Likewise.
88411         * sunrpc/rpc_scan.c: Likewise.
88412         * sunrpc/rpc_scan.h: Likewise.
88413         * sunrpc/rpc_svcout.c: Likewise.
88414         * sunrpc/rpc_tblout.c: Likewise.
88415         * sunrpc/rpc_util.c: Likewise.
88416         * sunrpc/rpc_util.h: Likewise.
88417         * sunrpc/rpcinfo.c: Likewise.
88418         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
88419         * sunrpc/rpcsvc/key_prot.x: Likewise.
88420         * sunrpc/rpcsvc/klm_prot.x: Likewise.
88421         * sunrpc/rpcsvc/mount.x: Likewise.
88422         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
88423         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
88424         * sunrpc/rpcsvc/rex.x: Likewise.
88425         * sunrpc/rpcsvc/rstat.x: Likewise.
88426         * sunrpc/rpcsvc/rusers.x: Likewise.
88427         * sunrpc/rpcsvc/sm_inter.x: Likewise.
88428         * sunrpc/rpcsvc/spray.x: Likewise.
88429         * sunrpc/rpcsvc/yppasswd.x: Likewise.
88430         * sunrpc/rtime.c: Likewise.
88431         * sunrpc/svc.c: Likewise.
88432         * sunrpc/svc_auth.c: Likewise.
88433         * sunrpc/svc_authux.c: Likewise.
88434         * sunrpc/svc_raw.c: Likewise.
88435         * sunrpc/svc_run.c: Likewise.
88436         * sunrpc/svc_simple.c: Likewise.
88437         * sunrpc/svc_tcp.c: Likewise.
88438         * sunrpc/svc_udp.c: Likewise.
88439         * sunrpc/svc_unix.c: Likewise.
88440         * sunrpc/svcauth_des.c: Likewise.
88441         * sunrpc/xcrypt.c: Likewise.
88442         * sunrpc/xdr.c: Likewise.
88443         * sunrpc/xdr_array.c: Likewise.
88444         * sunrpc/xdr_float.c: Likewise.
88445         * sunrpc/xdr_mem.c: Likewise.
88446         * sunrpc/xdr_rec.c: Likewise.
88447         * sunrpc/xdr_ref.c: Likewise.
88448         * sunrpc/xdr_sizeof.c: Likewise.
88449         * sunrpc/xdr_stdio.c: Likewise.
88451         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
88452         handling.
88454 2010-08-19  Andreas Schwab  <schwab@redhat.com>
88456         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
88458 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
88460         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
88461         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
88462         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
88463         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
88464         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
88465         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
88466         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
88467         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
88468         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
88469         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
88470         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
88471         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
88472         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
88473         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
88475 2010-07-26  Anton Blanchard  <anton@samba.org>
88477         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
88478         * malloc/arena.c (heap_trim): Likewise.
88480 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
88482         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
88483         here.  Not...
88484         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
88485         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
88487 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
88489         * sysdeps/i386/elf/Makefile: New file.
88491 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88493         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
88494         from fanotify_init.
88495         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
88496         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88498 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
88500         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
88501         of strncasecmp_l.
88502         * sysdeps/multiarch/strcmp.S: Likewise.
88504 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
88506         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88507         strncase_l-nonascii.
88508         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88509         Add strncase_l-ssse3.
88510         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
88511         * sysdeps/x86_64/strcmp.S: Likewise.
88512         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
88513         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
88514         * sysdeps/x86_64/strncase.S: New file.
88515         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
88516         * sysdeps/x86_64/strncase_l.S: New file.
88517         * string/Makefile (strop-tests): Add strncasecmp.
88518         * string/test-strncasecmp.c: New file.
88520         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
88521         warning.
88523         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
88524         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
88526 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
88528         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
88530 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
88532         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
88533         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
88534         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
88536 2010-05-01  Alan Modra  <amodra@gmail.com>
88538         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
88539         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
88540         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
88541         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
88542         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
88543         tidying.  Don't tail-call __sigjmp_save for static lib.
88544         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
88545         save location.
88546         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
88547         (CALL_MCOUNT): Add eh info, and nop after bl.
88548         (TAIL_CALL_SYSCALL_ERROR): New macro.
88549         (PSEUDO_RET): Use it.
88550         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
88551         Correct save location of integer regs and cr.
88552         (_dl_profile_resolve): Correct cr save location.  Delete nops
88553         after bl when SHARED.  Reduce cfi size a little by better
88554         placement of cfi directives.
88555         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
88556         make a stack frame.  Instead use parm save area as a temp.
88557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
88558         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
88559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
88560         Don't make a stack frame for parent, use parm save area.
88561         Increase child stack frame to 112 bytes.  Don't save unused reg,
88562         and adjust reg usage.  Set up cfi on error recovery and
88563         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
88564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
88565         (__makecontext): Add dummy nop after jump to exit.
88566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
88567         Use correct parm save area and cr save, reduce stack frame.
88568         Correct cfi for possible PSEUDO_RET frame setup.
88569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
88570         Branch to local label emitted by PSEUDO_RET rather than
88571         __syscall_error.
88573 2010-08-12  Andreas Schwab  <schwab@redhat.com>
88575         [BZ #11904]
88576         * locale/programs/locale.c (print_assignment): New function.
88577         (show_locale_vars): Use it.
88579 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
88581         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
88582         field.
88583         (struct statfs64): Likewise.
88584         (_STATFS_F_FLAGS): Define.
88585         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
88586         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
88587         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
88588         (ST_VALID): Define locally.
88589         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
88590         __statvfs_getflags, use the provided value.
88591         * sysdeps/unix/sysv/linux/kernel-features.h: Define
88592         __ASSUME_STATFS_F_FLAGS.
88594         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
88596         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
88597         Add sys/fanotify.h.
88598         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
88599         fanotify_mask for GLIBC_2.13.
88600         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
88601         fanotify_init and fanotify_mark.
88602         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
88603         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
88605         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
88606         Add prlimit.
88607         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
88608         prlimit64 for GLIBC_2.13.
88609         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
88610         prlimit64.
88611         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
88612         syscall.
88613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
88614         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
88615         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
88616         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
88617         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
88618         add prlimit alias.
88619         * sysdeps/unix/sysv/linux/prlimit.c: New file.
88621         [BZ #11903]
88622         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
88623         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
88625         * nss/Makefile: Add rules to build and run tst-nss-test1.
88626         * shlib-versions: Add entry for libnss_test1.
88627         * nss/nss_test1.c: New file.
88628         * nss/tst-nss-test1.c: New file.
88630         * nss/nsswitch.c (__nss_database_custom): Define new variable.
88631         (__nss_configure_lookup): Set appropriate entry in
88632         __nss_configure_lookup to true.
88633         * nss/nsswitch.h: Define enum with indeces of databases in
88634         databases and __nss_database_custom arrays.  Declare
88635         __nss_database_custom.
88636         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
88637         to avoid using nscd when custom rules are installed.
88638         * nss/getXXbyYY_r.c: Likewise.
88639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
88641         * nss/nss_files/files-parse.c: Whitespace fixes.
88643 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
88645         [BZ #11883]
88646         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
88647         * posix/fnmatch_loop.c: Likewise.
88649 2010-07-17  Andi Kleen  <ak@linux.intel.com>
88651         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
88652         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
88653         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
88654         * Versions.def [GLIBC_2.13]: Add.
88656 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
88658         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88659         Also fail if tpwd after pwuid call is NULL.
88661 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88663         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
88664         when converting to ms.
88666 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88668         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
88669         EOPNOTSUPP errors with ENOTTY.
88670         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
88671         EOPNOTSUPP errors with ENOTTY.
88673 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
88675         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
88676         Add strcasecmp_l-ssse3.
88677         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
88678         strcasecmp.
88679         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
88680         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
88681         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
88683 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
88685         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
88687         * string/Makefile (strop-tests): Add strcasecmp.
88688         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
88689         strcasecmp_l-nonascii.
88690         (gen-as-const-headers): Add locale-defines.sym.
88691         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
88692         * sysdeps/x86_64/strcasecmp.S: New file.
88693         * sysdeps/x86_64/strcasecmp_l.S: New file.
88694         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
88695         * sysdeps/x86_64/locale-defines.sym: New file.
88696         * string/test-strcasecmp.c: New file.
88698         * string/test-strcasestr.c: Test both ends of the range of characters.
88699         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
88701 2010-07-29  Roland McGrath  <roland@redhat.com>
88703         [BZ #11856]
88704         * manual/locale.texi (Yes-or-No Questions): Fix example code.
88706 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
88708         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
88709         for ld.so.
88711 2010-07-27  Andreas Schwab  <schwab@redhat.com>
88713         * manual/memory.texi (Malloc Tunable Parameters): Document
88714         M_PERTURB.
88716 2010-07-26  Roland McGrath  <roland@redhat.com>
88718         [BZ #11840]
88719         * configure.in (-fgnu89-inline check): Set and substitute
88720         gnu89_inline, not libc_cv_gnu89_inline.
88721         * configure: Regenerated.
88722         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
88724 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
88726         * string/test-strnlen.c: New file.
88727         * string/Makefile (strop-tests): Add strnlen.
88728         * string/tester.c (test_strnlen): Add a few more test cases.
88729         * string/tst-strlen.c: Better error reporting.
88731         * sysdeps/x86_64/strnlen.S: New file.
88733 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
88735         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
88736         lower-latency instructions.
88738 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
88740         * string/test-strcasestr.c: New file.
88741         * string/test-strstr.c: New file.
88742         * string/Makefile (strop-tests): Add strstr and strcasestr.
88743         * string/str-two-way.h: Don't undefine MAX.
88744         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
88746 2010-07-21  Andreas Schwab  <schwab@redhat.com>
88748         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88749         strcasestr-nonascii.
88750         (CFLAGS-strcasestr-nonascii.c): Define.
88751         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
88752         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
88753         Remove unused attribute.
88755 2010-07-20  Roland McGrath  <roland@redhat.com>
88757         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
88758         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
88759         ld.so.cache was broken.  With it, there is no way to disable dsocaps
88760         like LD_HWCAP_MASK can disable hwcaps.
88762 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88764         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
88766 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
88768         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
88769         call in strcasestr.
88770         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
88771         __strcasestr_sse42_nonascii.
88772         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
88773         strcasestr-nonascii.c.
88774         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
88776 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
88778         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
88779         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
88780         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
88781         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
88783 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
88785         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
88786         fcntl.
88788 2010-07-06  Andreas Schwab  <schwab@redhat.com>
88790         [BZ #11577]
88791         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
88792         dl_signal_cerror.
88794 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
88796         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
88797         _PC_PIPE_BUF using F_GETPIPE_SZ.
88799 2010-07-05  Roland McGrath  <roland@redhat.com>
88801         * manual/arith.texi (Rounding Functions): Fix rint description
88802         implicit in round description.
88804 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
88806         * elf/Makefile: Fix linking for a few tests to make recent linker
88807         happy.
88809 2010-06-30  Andreas Schwab  <schwab@redhat.com>
88811         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
88812         $(common-objpfx)libc_nonshared.a.
88814 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
88816         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
88817         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
88818         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88819         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88820         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
88821         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
88822         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88823         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
88825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
88826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
88827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
88828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
88829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
88830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
88831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
88832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
88833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
88834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
88835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
88836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
88837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
88838         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
88839         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
88840         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
88841         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
88842         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
88843         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
88844         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
88845         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
88846         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
88847         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
88848         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
88849         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
88850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
88851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
88852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
88853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
88854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
88855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
88856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
88857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
88858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
88859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
88860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
88861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
88862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
88863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
88865 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
88867         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
88868         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
88869         * string/memmove.c (memmove): Renamed to ...
88870         (MEMMOVE): ...this.  Default to memmove.
88871         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
88872         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
88873         (END_CHK): Define.
88874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
88875         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
88876         mempcpy-ssse3-back memmove-ssse3-back.
88877         * sysdeps/x86_64/multiarch/bcopy.S: New file .
88878         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
88879         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
88880         * sysdeps/x86_64/multiarch/memcpy.S: New file.
88881         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
88882         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
88883         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
88884         * sysdeps/x86_64/multiarch/memmove.c: New file.
88885         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
88886         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
88887         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
88888         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
88889         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
88890         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
88891         Define.
88892         (index_Fast_Copy_Backward): Define.
88893         (HAS_ARCH_FEATURE): Define.
88894         (HAS_FAST_REP_STRING): Define.
88895         (HAS_FAST_COPY_BACKWARD): Define.
88897 2010-06-21  Andreas Schwab  <schwab@redhat.com>
88899         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
88900         Restore proper fallback handling.
88902 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
88904         [BZ #11701]
88905         * posix/group_member.c (__group_member): Correct checking loop.
88907         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
88908         OOM in getpwuid_r correctly.  Return error number when the caller
88909         should return, otherwise -1.
88910         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
88911         call returning > 0 value.
88912         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
88914 2010-06-07  Andreas Schwab  <schwab@redhat.com>
88916         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
88917         libc_nonshared.a from targets in modules-names.
88919 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
88921         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
88922         requires it.
88924 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
88926         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
88927         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
88928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
88929         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
88931 2010-06-02  Andreas Schwab  <schwab@redhat.com>
88933         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
88935 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
88937         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
88938         and F_GETPIPE_SZ.
88939         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88940         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88941         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88942         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88943         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88944         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88946 2010-06-14  Roland McGrath  <roland@redhat.com>
88948         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
88950 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
88952         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
88953         __REDIRECT followed by __THROW.
88954         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
88955         * posix/getopt.h (getopt): Likewise.
88957 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
88959         * hurd/lookup-at.c (__file_name_lookup_at): Accept
88960         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
88961         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
88962         in AT_FLAGS.
88963         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
88964         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
88966 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
88968         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
88970 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
88972         [BZ #11640]
88973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88974         Properly check family and model.
88976 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
88978         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
88980 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
88982         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
88984 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
88986         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
88987         symbol reference.
88989 2010-05-19  Andreas Schwab  <schwab@redhat.com>
88991         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
88992         symbol reference.
88994 2010-05-21  Andreas Schwab  <schwab@redhat.com>
88996         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
88997         and internal_recvmmsg.
88998         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
88999         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
89000         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
89001         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
89003         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
89004         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
89005         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
89007 2010-05-20  Andreas Schwab  <schwab@redhat.com>
89009         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
89011 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
89013         POWER7 optimizations.
89014         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
89015         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
89017 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
89019         * version.h: Update for 2.13 development version.
89021 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
89023         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
89024         exceptions.  Return 0.
89026 2010-05-07  Roland McGrath  <roland@redhat.com>
89028         * elf/ldconfig.c (main): Add a const.
89030 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
89032         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
89033         (args_options): Add no-idn option.
89034         (ahosts_keys_int): Add idn_flags to ai_flags.
89035         (parse_option): Handle 'i' option to clear idn_flags.
89037         * malloc/malloc.c (_int_free): Possible race in the most recently
89038         added check.  Only act on the data if no current modification
89039         happened.
89041 See ChangeLog.17 for earlier changes.